Zero Dereference – Telegram
Zero Dereference
127 subscribers
3 photos
3 files
372 links
Interesting links related to systems programming, hacking, and science.

Contact: @richiefreedom
Download Telegram
BASICO is a simple PASCAL-like imperative programming language implemented in less than 1000 lines of source code.

http://www.andreadrian.de/tbng/
I've found an eyes-pleasant light color scheme for Vim/NeoVim. There are also similar themes for other programs including tmux, st, etc (googling required).

https://github.com/morhetz/gruvbox
Wio is a new Wayland compositor that simulates the behaviour of Rio, the window manager of Plan 9.

https://wio-project.org
A compact and simple immediate GUI library written in C almost without external dependencies (needs qsort and some memory/string-related functions from libc, doesn't perform any memory allocation from heap).

https://github.com/rxi/microui
The author of the microui library also developed a wonderful atlas program that can create packed images with character sprites and icons. You run atlas and give it the path to the directory containing some ttf-font file and icons in the png format, in response, the program generates a png-picture containing letter sprites and icons, as well as a file describing the positions and sizes of the sprites.

Atlas depends only on stb libraries and libc, everything is available in the repository of the project.

https://github.com/rxi/atlas
I learned about another interesting hobby-operating system — Vanadium OS. This is a multitasking multiuser OS functioning in protected mode with a modular core and a GUI subsystem implemented at the kernel level.

https://github.com/p-durlej/newsys
SIGGRAPH2007_AlphaTestedMagnification.pdf
5 MB
A paper on the approach to implementation of high-quality resizable bitmap fonts using signed distance fields.
It turns out that there is a whole phenomenon in the world of computer games — fantasy game consoles. These are programs that simulate imaginary machines with the capabilities of retro consoles, and they usually have built-in game development tools: simple editors for code, sprites, game maps and sound effects. The most popular fantasy console, in my opinion, is PICO-8. It seems to be the most thoughtful and complete. There are many other similar programs, including open source ones.

Here is a link to a list of such consoles.

https://github.com/paladin-t/fantasy
Serenity is an on-going project of Andreas Kling who implements own Unix-like operating system with aestetic of late-1990s. It already supports multithreading, POSIX-signals, mmap, local sockets, TCP/IP networking, GUI, etc. There are many user space applications working well in the operating system, they include a text editor, an IRC client, even two games!

https://github.com/SerenityOS/serenity

#osdev #system #programming #lowlevel
Today I found an article that I saw a long time ago. This article is about various approaches to implement spin and read-write locks, it includes good examples of code written in C and inline assembly language.

https://locklessinc.com/articles/locks/
Even today there are companies and independent teams of hackers creating new applications and games for retro platforms. One of such teams is Morphcat Games. In the following video they describe how one can fit a modern platformer into the standard NES cartridge without any special mapper or hardware extension.

https://www.youtube.com/watch?v=ZWQ0591PAxM
Узнал, что в Москве есть ежегодная летняя школа биоинформатики. Занятия проводятся интенсивным шестидневным курсом. Участие в событии платное и студенты отбираются на конкурсной основе. Партнеры организаторов готовы предоставить гранты авторам самых лучших заявок на участие, гранты покрывают стоимость обучения, проживания на территории летней школы и питания. Насколько понял, занятия планируют проводить в МФТИ. К сожалению, прием заявок на участие был закрыт еще в начале мая, но ничего не мешает попробовать себя в новой области в будущем году.

Страничка летней школы: https://bioinf.me/education/summer
Sndio is a lightweight audio server originally developed for OpenBSD. Now it is a cross-platform solution available for Linux and other popular versions of *nix systems.

http://www.sndio.org/
Almost every old Linux user once played with the device file /dev/dsp which was associated with the sound card. You could cat some file containing data to be played and redirect the output to /dev/dsp, so this data were played by the sound card through the speakers. Such easy access to the sound card spawned a number of jokes like, for example, playing of the Linux kernel binary.

The following blog post is about little programs written in C which generate output playable via the sound card. And it sounds like music!

http://countercomplex.blogspot.com/2011/10/algorithmic-symphonies-from-one-line-of.html
I already wrote about Alexander Zolotov and his programs. Today I want to recommend you another one, PhonoPaper — an application to play sound represented in printed analog form.

http://www.warmplace.ru/soft/phonopaper/index.php