NetBSD 11 is out, so I couldn’t think of a reason of not making it my main OS (at least for the time being). Hardware I got dirt cheap random box with nice hardware inside it: ~ $ fastfetch -l none bsandro@ -------- OS: NetBSD 11.0 amd64 Kernel: NetBSD 11.0 Uptime: 6 days, 17 hours, 18 mins Packages: 343 (pkgsrc) Shell: bash 5.3.15 Display (LG ULTRAGEAR): 1920x1080 in 24', 120 Hz WM: ctwm…
What is it Where is it Versions Dependencies How to build Platforms Limitations History Plans What is it Small 1 utility program written in C99 that converts given animated .webp file into a spritesheet of given size. Size generally is set via either columns of tiles or maximum width in pixels. I mainly use it to use various .webp animations I find on the Web in the Godot for tryouts or joke games…
Source code Preparation Day 1 “Secret Entrance” Day 2 “Gift Shop” Day 3 “Lobby” Day 4 “Printing Department” Day 5 “Cafeteria” Day 6 “Trash Compactor” Day 7 “Laboratories” Day 8 “Playground” Day 9 “Movie Theater” Day 10 “Factory” Day 11 “Reactor” Day 12…
Rudimentary HOWTO about running the latest 9front on qemu and connecting to it with a drawterm running full rio wm from host linux system. I’m using Fedora 43 here on x86_64 host machine but anything will do. 9front version I’ve tried is the ‘release’ one, regular amd64 install ISO. This is not a full-fledged manual with detailed descriptions of anything, just a quick…
Folder where multiple files = single executable Folder where one file = one executable I have a giant pile of tiny stuff in my ~/src/test. Bash and ruby scripts of 3-10 lines long, quick random stuff in C or C++ or Go I want to try out if I don’t remember exactly how something works; it is chaotic to say the least. Most of that stuff builds and runs super straightforward: cc -std=c23 -o…
I’ve tried to make this post as a reminder to self for almost a year now. At some point my inner perfectionist tunes in and tells me it is not good enough to just write 1 line of the solution, there has to be some development and an interesting story to be told alongside the issue and the outcome; I finally give up and can only say there is none. The Problem: Every time I update the hosting…
After skipping the last year Old Computer Challenge I’m back at it with friends at IRC channel 1 with the idea of using low specs computer or setup for a whole week of July 13th to 19th. Operating system Hardware Software The Journey Day 1 (Sunday, setting up) Day 2 (Monday, easing in, peripherals) Day 3 (Tuesday, Desktop Environment) Day 4 (Wednesday, building my sources) Day 5 (Thursday,…
This year I’m following Solenes shenanigans and friends at https://occ.deadnet.se with the idea of using low specs computer or setup for a whole week of July 10th to 16th. Here I will try to log that week to the best of my abilities. Operating system Hardware Software The Journey Day 1 Day 2-3 Day 4 Day 7 and conclusions Operating system Debian 12 ‘Bookworm’ was released not long…
Installing OpenBSD on the ODROID-C4 single board computer - small guide to not forget it again. Hardware The CPU is decent 4-core 1.9GHz ARM Cortex-A55 that doesn’t run hot and the stock heatsink is being quite sufficient. 4 gigabytes of DDR4 RAM. xhci(4) ports work too so usb 3.0 hard drive performs well. Network card is a proper dwge(4) gigabit ethernet that works too. Caveats HDMI…
Small writeup about using a monochrome display in a modern environment. Rationale Hardware (Terminal) Software (GUI) software Full setup Rationale Several months ago I obtained my first e-ink device - Rakuten Kobo Libra 2. It is a small ebook reader with high resolution screen and and I immediately got enchanted by this crisp screen that can be used without any level of backlight whatsoever. It…
This is a small write-up about installing OpenBSD 7.1 on a PINE64 RockPro64 SBC. Update 2023-12-30 - OpenBSD 7.4 u-boot Preamble Prerequisites Storage choice Brief boot sequence theory Required downloads as of OpenBSD v7.1 Preparing the boot media Hooking up the serial console OS installation tips Update 2023-12-30 - OpenBSD 7.4 u-boot There is a small but important regression with OpenBSD…
Intro Hardware Programming Environment Version Control Quirks Result Intro This is a follow-up to the First Computer ‘Challenge’ post. At the end of December I thought it will be fun to program something small as a recreational activity on the computer of the period I had my first PC; inspired by jcs I waited for the Clamshell iBook and thought what would be something unusual to make.…
Early in the morning after quite a colorful night involving tripleshots of strong coffee and finishing the remaining Advent of Code puzzles I thought of computing performance and how far the industry got us since PC popularization of ’80s. And even though the main direction of thoughts wasn’t reminiscing I couldn’t help but remember my very first computer - shiny brand new…
Source code Day 21 Day 22 Day 23 Day 24 Day 25 - The End Source code Day 21 Dirac Dice A fairly enterntaining puzzle that has a lots of (seemingly unavoidable) nested processing cycles. Tricky part was figuring out that caching completed branches outcome is a tremendous speedup. Since lots of cycles are partially repeated the caching is very effective: hash storage would be noticeably faster than…
Source code Day 16 Day 17 Day 18 Day 19 Day 20 Source code This is a continuation of my Advent of Code journey: days 1-5 , days 6-10 , days 11-15 Day 16 Packet Decoder Easy on brain task for a change of pace; all I had to do is jut parse some data basically. It was easier to process raw string data, so I just put together couple of universal functions like “hex string” -> binary…
Source code Day 11 Day 12 Day 13 Day 14 Day 15 Source code This is a continuation of my Advent of Code journey. Part #1 with days 1-5 can be found here , part #2 of days 6-10 is here Day 11 Dumbo Octopus Todays puzzle reminded me some of the previous ones - some sort of cellular automata . It is probably possible to cull the number of loops in the solution but since it turned out to be quite fast…
Source code Day 06 Day 07 Day 08 Day 09 Day 10 Source code This is a continuation of my Advent of Code journey. Part #1 with days 1-5 can be found here , days after - 11-15 , 16-20 . Day 06 Lanternfish The most painful of the puzzles so far. Parsing and data structures were all primitive; the thing I’ve hit a wall with was the overall pattern of the fish multiplication progression. I spent…
Source code Preamble Day 01 Day 02 Day 03 Day 04 Day 05 Source code Preamble I’ve never participated in the Advent of Code contest before. Was stumbling upon solutions here and there and some writeups but for some reason never tried to solve puzzles provided myself. This year “journey” consists of 25 days with 2 puzzles every day. The premise is seemingly easy: each registered…
Twitchapon is a program to invoke events in OBS via Twitch channel points. For now it is only sound effects but functionality will be extended (probably). In retrospective the current setup scheme is amazingly not user-friendly and honestly barely usable :D I should implement some kind of web-interface for initial setting up and managing the internal state once I muster up the willpower to tinker…
Finally decided to move from managed git repos to self-hosting, since I’ve already have something to run tiny stuff on. Github is a centralized place for everything, it seems, and became a de-facto standard for releasing open-source stuff but the overall bloat there is not something I’m comfortable with. Sourcehut in comparison is quite neat and minimalistic; unfortunately it lacks…
I’ve stumbled across an article recently describing an implementation of the traceroute utility in Go. Interesting thing about it is that it is based on the raw sockets, allowing us to construct packets “by hand”. Running that freshly built traceroute utility on some 1 of Linux distributions will fail instantly on socket creation with an error “operation not…