BASICO is a simple PASCAL-like imperative programming language implemented in less than 1000 lines of source code.
http://www.andreadrian.de/tbng/
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
https://github.com/morhetz/gruvbox
GitHub
GitHub - morhetz/gruvbox: Retro groove color scheme for Vim
Retro groove color scheme for Vim. Contribute to morhetz/gruvbox development by creating an account on GitHub.
Wio is a new Wayland compositor that simulates the behaviour of Rio, the window manager of Plan 9.
https://wio-project.org
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
https://github.com/rxi/microui
GitHub
GitHub - rxi/microui: A tiny immediate-mode UI library
A tiny immediate-mode UI library. Contribute to rxi/microui development by creating an account on GitHub.
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
Atlas depends only on stb libraries and libc, everything is available in the repository of the project.
https://github.com/rxi/atlas
GitHub
GitHub - rxi/atlas: A small utility for generating a texture atlas
A small utility for generating a texture atlas. Contribute to rxi/atlas development by creating an account on GitHub.
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
https://github.com/p-durlej/newsys
GitHub
GitHub - p-durlej/newsys: Vanadium OS
Vanadium OS. Contribute to p-durlej/newsys development by creating an account on GitHub.
A 3D-rasterizer written in C89 with clever design and compact implementation.
https://github.com/AgentD/swrast
https://github.com/AgentD/swrast
GitHub
GitHub - AgentD/swrast: A tiny, just-for-fun software rasterizer written in C
A tiny, just-for-fun software rasterizer written in C - GitHub - AgentD/swrast: A tiny, just-for-fun software rasterizer written in C
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
Here is a link to a list of such consoles.
https://github.com/paladin-t/fantasy
GitHub
GitHub - paladin-t/fantasy: A curated list of available fantasy consoles/computers.
A curated list of available fantasy consoles/computers. - paladin-t/fantasy
A short series of articles on how to write a simple X11 reparenting window manager.
https://jichu4n.com/posts/how-x-window-managers-work-and-how-to-write-one-part-i/
https://jichu4n.com/posts/how-x-window-managers-work-and-how-to-write-one-part-i/
Chuan Ji
How X Window Managers Work, And How To Write One (Part I)
Window managers are one of the core components of the modern Linux/BSD desktop.
It is not an exaggeration to say that they define to a large degree our
day-to-day user experience, as they are responsible for deciding how individual
windows look, move around…
It is not an exaggeration to say that they define to a large degree our
day-to-day user experience, as they are responsible for deciding how individual
windows look, move around…
Winnie is a tiny window system for Linux framebuffer written in C++.
https://github.com/hikiko/winnie
https://github.com/hikiko/winnie
GitHub
GitHub - hikiko/winnie: Winnie - An experimental window system (Last demo: https://www.youtube.com/watch?v=UyIRXdbtlkM http://…
Winnie - An experimental window system (Last demo: https://www.youtube.com/watch?v=UyIRXdbtlkM http://i.imgur.com/mX6BTnr.jpg) - GitHub - hikiko/winnie: Winnie - An experimental window system (Last...
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
https://github.com/SerenityOS/serenity
#osdev #system #programming #lowlevel
GitHub
GitHub - SerenityOS/serenity: The Serenity Operating System 🐞
The Serenity Operating System 🐞. Contribute to SerenityOS/serenity development by creating an account on GitHub.
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/
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://www.youtube.com/watch?v=ZWQ0591PAxM
YouTube
How we fit an NES game into 40 Kilobytes
Trailer/Gameplay: https://youtu.be/VFX401vvKTQ
NES CARTRIDGE NOW AVAILABLE: https://www.brokestudio.fr/en/shop/micro-mages-2/
DIGITAL VERSION: https://morphcatgames.itch.io/micromages
OR ON STEAM: https://store.steampowered.com/app/1065020/Micro_Mages/
Both…
NES CARTRIDGE NOW AVAILABLE: https://www.brokestudio.fr/en/shop/micro-mages-2/
DIGITAL VERSION: https://morphcatgames.itch.io/micromages
OR ON STEAM: https://store.steampowered.com/app/1065020/Micro_Mages/
Both…
Узнал, что в Москве есть ежегодная летняя школа биоинформатики. Занятия проводятся интенсивным шестидневным курсом. Участие в событии платное и студенты отбираются на конкурсной основе. Партнеры организаторов готовы предоставить гранты авторам самых лучших заявок на участие, гранты покрывают стоимость обучения, проживания на территории летней школы и питания. Насколько понял, занятия планируют проводить в МФТИ. К сожалению, прием заявок на участие был закрыт еще в начале мая, но ничего не мешает попробовать себя в новой области в будущем году.
Страничка летней школы: https://bioinf.me/education/summer
Страничка летней школы: https://bioinf.me/education/summer
bioinf.me
Летняя школа
Институт биоинформатики
Do you know where the name of the grep utility originates from? In the following video Brian Kernighan unveils the mystery.
https://www.youtube.com/watch?v=NTfOnGZUZDk
https://www.youtube.com/watch?v=NTfOnGZUZDk
YouTube
Where GREP Came From - Computerphile
Commonly used grep was written overnight, but why and how did it get its name? Professor Brian Kernighan explains.
EXTRA BITS: https://youtu.be/bSaBe6WiC2s
Inside an ALT Coin Mining Operation: COMING SOON
Unix Pipeline: https://youtu.be/bKzonnwoR2I
…
EXTRA BITS: https://youtu.be/bSaBe6WiC2s
Inside an ALT Coin Mining Operation: COMING SOON
Unix Pipeline: https://youtu.be/bKzonnwoR2I
…
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/
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
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
Blogspot
Algorithmic symphonies from one line of code -- how and why?
Lately, there has been a lot of experimentation with very short programs that synthesize something that sounds like music. I now want to sha...
One more post about algorithmic symphonies with deeper analysis of the programs.
http://countercomplex.blogspot.com/2011/10/some-deep-analysis-of-one-line-music.html
http://countercomplex.blogspot.com/2011/10/some-deep-analysis-of-one-line-music.html
Blogspot
Some deep analysis of one-line music programs.
It is now a month since I posted the YouTube video " Experimental music from very short C programs " and three weeks since I blogged about i...
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
http://www.warmplace.ru/soft/phonopaper/index.php