bits 0x2f - Calender Week 47, 2023

Good Reads

Anatomy of the Linux file system By M. Tim Jones

Development tools for the kernel

Core Knowledge That Modern Linux Kernel Developer Should Have by Roman Storozhenko. Some introductory text to kernel development.


Linux kernel coding style my takeaways in:

GNU GCC RTL(Register Transfer Language)

ftrace to debug the kernel. Also with a GUI frontend kernelshark

What about a DnD style blog theme?

from my post

Despite the fact that the CoE[1] game has been pretty much a scam, I’m kinda tempted to make a (hugo) blog theme with this DnD / Middle-earth / fantasy aesthetic. (Image reading x86 assembly off a parchment scroll!)

Another web design inspiration is the heroworld [2] website, a fan wiki for the heroes of might and magic franchise. (well perhaps every single mmorpg’s website in the early 2010s looks like this.)

Also that I’ve been thinking about ricing my desktop env with the HoMM3 theme, for example a HoMM3 waybar theme. But I’m still in search for some HD materials. Now I’m using HoMM3’s sfx and theme songs as my system notification sound.


By “modern techs” I mean, intellisense, LSP, treesitters, “semantic” completion, or pretty much any single feature that someone wants to sell you an IDE/VSCode with.

On navigating a large codebase (Author name unknown)

Configurability is poison. (WIP)1

Another thought on my blog theme: how much Configurability is enough Configurability? And how much Configurability becomes bloat?

Vim modline

/* vim:set sw=8 noet */
# vim: .....


Some takes on vim config (and plugins)

Why I don’t use xyz
You may notice I’m not including some of the popular plugins in my setup, like treesitter and many other LSP related stuffs.

  1. Some of them have bad performance. And
  2. I ask myself: do I really need all these fancy stuff at all?

For example, treesitter builds a live AST (abstract syntax tree) for your buffer, and allows for cool stuffs like semantic highlighting, smart refactoring etc. But in bigger source code files TS is barely usable (at least on my old thinkpad).

Another example is the LSP. I have some useful lsp configs here, but I find myself using them less and less. And as it turns out, ctags and grep are more efficient for me. I can’t speak for other developers but to be honest I’m generally NOT SATISFIED with the LSP experience in the vim ecosystem. They are often slow, resource hungry, and broken at worse.

There are other fancy plugins that I don’t use.

Disclaimer: I’m not saying any of these programs is objectively bad. My respects to the devs who make them!

Highlighting everything is Highlighting nothing
How many different things could human brain simultaneously keep track of? Maybe 4?, or maybe 5?. What about using different colors for keywords, structs, statements, parameters, types, members, functions, pointers, operators, strings, and …. ? Trust me, it’s not gonna make it any productive.

(oh. btw, colorblind people exist, like myself)

  1. I’d like to go more into details, perhaps in its own blog post. But for know I’ll just bullet the ideas. ↩︎ ↩︎

[+] click to leave a comment [+]
the comment system on this blog works via email. The button
below will generate a mailto: link based on this page's url 
and invoke your email client - please edit the comment there!

[optional] even better, encrypt the email with my public key

- don't modify the subject field
- specify a nickname, otherwise your comment will be shown as   
- your email address will not be disclosed
- you agree that the comment is to be made public.
- to take down a comment, send the request via email.

[BITS] - the weekly archive -
bits 0x51 - Calender Week 16, 2024 (WIP)
bits 0x50 - Calender Week 16, 2024
bits 0x49 - Calender Week 15, 2024
bits 0x48 - Calender Week 14, 2024
bits 0x47 - Calender Week 13, 2024
bits 0x46 - Calender Week 12, 2024
bits 0x45 - Calender Week 11, 2024
bits 0x44 - Calender Week 10, 2024
bits 0x43 - Calender Week 09, 2024 [VOID]
bits 0x42 - Calender Week 08, 2024 [VA]
bits 0x41 - Calender Week 07, 2024 [VOID]
bits 0x40 - Calender Week 06, 2024 [VOID]
bits 0x39 - Calender Week 05, 2024
bits 0x38 - Calender Week 04, 2024
bits 0x37 - Calender Week 03, 2024
bits 0x36 - Calender Week 02, 2024 [VA]
bits 0x35 - Calender Week 01, 2024
bits 0x34 - Calender Week 52, 2023
bits 0x33 - Calender Week 51, 2023
bits 0x32 - Calender Week 50, 2023 [VOID]
bits 0x31 - Calender Week 49, 2023
bits 0x30 - Calender Week 48, 2023
bits 0x2f - Calender Week 47, 2023
bits 0x2e - Calender Week 46, 2023
bits 0x2d - Calender Week 45, 2023
bits 0x2c - Calender Week 44, 2023
bits 0x2b - Calender Week 43, 2023
bits 0x2a - Calender Week 42, 2023