linux framebuffer palette switching
Just like graphical terminals such as urxvt, the Linux framebuffer has an
option to change the built-in palette. Distributions like Ubuntu use it to make
the palette look nicer during bootup.
Just like graphical terminals such as urxvt, the Linux framebuffer has an
option to change the built-in palette. Distributions like Ubuntu use it to make
the palette look nicer during bootup.
So, turns out, when you run a program that uses CUDA, either directly or
indirectly (my program runs on CUDA, but uses OpenCL instead), there are
issues preventing libasan
from working. More specifically, if you run a program with libasan, the CUDA
libraries will not work, and the OpenCL ones will not display an NVIDIA platform
as available in the first place.
From my experience, seems like there are similar issues preventing Valgrind from working, either.
Recently found myself using irssi on a setup that’s slightly unusual, so I’m recording the information I found useful for posterity.
To switch windows, use Alt + number keys for windows 1-10, or Alt + top
row (qwertyuiop) for windows 11-20.
Alt+Left / Ctrl+p and Alt+Right / Ctrl+n switches to the previous or
next window respectively. It loops around from first to last or vice versa.
The script revolve is useful, since it compresses consecutive joins/leaves
onto a single line. Useful for channels where there’s not a lot of activity.
As a kid, I didn’t have any 16-bit consoles, and at best, my experience with them was restricted to playing them for a short while when hanging out with my family’s old friends and their kids. Out of the games I got to experience that way, I played Sonic 1 and 2, Columns, Tom & Jerry: Frantic Antics and other games, but not any of the Streets of Rage games. Instead, the first time I discovered this games was when I discovered emulators.
These are some of the useful settings and functions I use when working with vim.
Trying to preserve an old page that I had a hard time finding online.
Note to self: if your distro’s repositories don’t have a Perl package, it’s best
to install them from CPAN instead. A tool called cpan minus (In Alpine, its
packaged as perl-app-cpanminus) can do it easily, either installing packages
into one’s home directory or globally.
One of my big interests is things relating to riichi mahjong (リーチ麻雀): a variant of the Chinese tabletop game “mahjong” invented in Japan. It’s a rather complicated, but fun game where the players take turns picking and discarding tiles (which function similar to cards in a game like poker) in order to build a winning hand.
Assorted key combinations that are useful in MC.
I have a bunch of FreeType settings that I prefer on my systems, and these differ from the defaults on basically every Linux distro these days.
2026 update: This is a rather old post, made back when the monitors I used were pretty low-resolution, and saving every pixel of space seemed like a good idea. These days, high-DPI monitors are more common, and the old settings I preferred look absolutely terrible on these.