Исправление экстрактора yandex music для yt-dlp

Posted on Сб 27 июня 2026 in misc • Tagged with linux, программирование

Источник

https://github.com/DesSolo/yt-dlp/blob/master/yt_dlp/extractor/yandexmusic.py

Клод справился, PR к сожалению не будет.

Авторизацию переделали на oAuth. Токен можно получить тут

23cabbbdc6cd418abb4b39c32c41195d - это официальный client_id приложения Яндекс.Музыки (публично известный)

./yt-dlp.sh --extractor-args "yandexmusic:token=<TOKEN>"

/usr/lib/python3/dist-packages/yt_dlp/extractor/yandexmusic.py …


Continue reading

Eternal project - Readme

Posted on Вт 23 июня 2026 in misc • Tagged with программирование, eternal project, виртуальные машины

Источник

Introduction

This is the root repository for the Eternal Software Initiative.

The ESI defines a minimal machine architecture (based on a modification of the Subleq OISC) that is so simple that its complete specification can be written down on a napkin. We then provide an LLVM compiler backend for …


Continue reading

Eternal project - Virtual Machine source

Posted on Вт 23 июня 2026 in misc • Tagged with программирование, eternal project, виртуальные машины

Источник

// Eternal Computer Virtual Machine with Framebuffer Support
//
// This code is intended as a minimal implementation of a fully functional VM
// for the ESI architecture. It is not intended as a 'production grade' virtual
// machine (e.g. there is no memory bounds checking) to keep the implementation
// as simple as …

Continue reading

Eternal project - Linux Kernel Port

Posted on Вт 23 июня 2026 in misc • Tagged with программирование, eternal project, виртуальные машины

Источник

Eternal Software Initiative Linux Kernel Port

This document provides a complete, self-contained reference for the Linux kernel port to the ESI One Instruction Set Computer (OISC). It covers every architecture-specific subsystem: boot flow, register map, interrupt handling, syscall dispatch, context switching, signal delivery, timekeeping, console I/O, framebuffer graphics …


Continue reading

Eternal project - LLVM Backend Documentation

Posted on Вт 23 июня 2026 in misc • Tagged with программирование, eternal project, виртуальные машины

Источник

Eternal Software Initiative LLVM Backend Documentation

This document provides a complete, self-contained reference for the ESI LLVM backend-a custom LLVM target that compiles C (and C++) code to the ESI architecture, a One Instruction Set Computer based on the Subleq architecture where the only operation is subtract and branch …


Continue reading

Eternal project - Machine Architecture

Posted on Вт 23 июня 2026 in misc • Tagged with программирование, eternal project, виртуальные машины

Источник

Eternal Software Initiative Machine Architecture

This document provides a complete reference for the ESI OISC machine architecture, covering the instruction set, register file, addressing modes, calling convention, register allocation, code patterns, I/O model, interrupt mechanism, and compilation flow. All code examples use the .word A, B, C assembly …


Continue reading

Eternal project - The Napkin

Posted on Вт 23 июня 2026 in misc • Tagged with программирование, eternal project, виртуальные машины

Источник

The Napkin

If you are reading this, you have probably discovered a capsule from the early 21st century - a long list of numbers, maybe etched onto a titanium cylinder. These instructions explain how to bring those numbers to life. What follows is a complete description of a computing machine …


Continue reading

Что каждый программист должен знать о памяти

Posted on Пн 08 июня 2026 in misc • Tagged with linux, программирование

Источник

    Введение
    Часть 1. Современное массовое аппаратное обеспечение
        2.1 Типы RAM
        2.2 Технические детали доступа к DRAM
        2.3 Другие пользователи основной памяти 
    Часть 2. Кэш-память процессора
        3.1 Кэш процессора - общая картина
        3.2 Как работает кэш-память высокого уровня
        3.3 Подробности реализации кэш-памяти процессора
            3.3 …

Continue reading

Компилятор Си в виде shell-скрипта

Posted on Сб 04 апреля 2026 in misc • Tagged with программирование

Источник

c89cc.sh - standalone C89/ELF64 compiler in pure portable shell

#!/bin/sh
# ISC License

# Copyright (c) 2026 Alexandre Gomes Gaigalas <alganet@gmail.com>

# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice …

Continue reading

В чем отличие в создании статического массива через new и просто через квадратные скобки [] в C++?

Posted on Вс 11 января 2026 in misc • Tagged with cpp, программирование

Источник

Создать указатель на статический массив в языке C++ можно, как минимум, двумя способами: char a[10]; и char *a = new char[10];

В чем между ними разница? В обоих случаях создается создается массив из 10 элементов char. Да, язык C++ таков, что в первом случае звездочки в типе создаваемого …


Continue reading

Разработка сетевой библиотеки на C++20: интеграция асинхронности и алгоритма Raft

Posted on Пн 27 января 2025 in misc • Tagged with LOR, cpp, инфобез, программирование

Часть 1

Источник

cpp-raft-001.png

Введение

С годами работы в области распределённых систем, я понял, что мой опыт не будет полным без реализации алгоритма Raft. Это осознание побудило меня к действию: я решил создать свою реализацию, используя асинхронные возможности C++20.

Задача стояла не из лёгких: мне требовалось разработать сетевую библиотеку, обходясь …


Continue reading

Линукс, ассемблер и X11

Posted on Пн 27 января 2025 in misc • Tagged with LOR, linux, assembler, X11, программирование

Источник

Вступление

Скажу сразу: все что ниже -- это перевод вот этой замечательной статьи, у меня недостаточно навыков чтобы такое провернуть своими силами. Не получилось портировать для FreeBSD, даже доработать для поддержки юникода --- читайте и поймете почему все так сложно ;)

Поехали.

Большинство ~~быдлокодеров~~ разработчиков думают, что современный ассемблер может использоваться либо …


Continue reading