Notes on Programming
Thursday, 19 February 2026
Factor 1.75: I assume 430 ckal/h on long distance cycling. 760 ckal/h on long distance running.
So I need to cycle 1.75 times long than running. I want to have the equivalent of 100km running. I would plan 12h for this. So I need to cycle 21h or about 500km. Nice, 12 to 21 is easy to remember. I need to consume 9000 ckal.
Tuesday, 17 February 2026
Maing capslock useful
tap to esc, hold with hjkl for arrows
git clone https://github.com/rvaiya/keyd cd keyd make && sudo make install
sudo systemctl enable --now keyd
cat /etc/keyd/default.conf [ids] * [main] # Create a dedicated navigation layer called 'vim_nav' # Tap = Esc, Hold = Activate 'vim_nav' layer capslock = overload(vim_nav, esc) [vim_nav] # Map hjkl to arrow keys h = left j = down k = up l = right # --- Optional but recommended --- # Map other useful navigation keys to this layer for convenience # Example: Caps + u/i = PageUp/PageDown u = pageup i = pagedown # Example: Caps + n/m = Home/End n = home m = end
sudo keyd reload
Monday, 16 February 2026
Dont be the strongest ant
Move into another category. The strongest ant is not as strong as a human. Humans moved in another category when they formed groups and again when they formed societies. Terrorists are groups, nations are societies. The first can not cause real damage - compared to an army. Here is a funny example of category change: Epic final moments of Kung-Fu Panda 3
Sunday, 15 February 2026
democratizing sharing of insights
It would be nice if all insights travel into the right brains at the right time. Existing solutions are not there yet. On youtube, you have to do your videos about one area only. This is the same problem with other follower-based platform as well. It would be strange to get a video in your feed about 3blue1brown on insights about cheesecake backing in his specific oven type. Blogs are ok, but when you have RSS, it is the same problem. Tiktok goes in the right direction. Content is king, nothing else, followers dont count. But due to insentive problems tiktok is aweful. Google might be good, but where to publish. In a dream world of a decentralized web with a search engine on your side it could work. LLMs, maybe with sources, are a very promising candidate for such a database. But there are currently no insentives to share your insights.
Motivating EVERYONE to share EVERYTHING slightly useful for SOMEONE and then bringing that to the right person at the right time is an important unsolved problem.
Is everything exclusively relational / defined by its context?
I had a conversaion about where taste comes from. We concluded from associations. I constructed an example where you had to choose between 2 things that were clearly distinct, but had NO existing associations. We could not come up with a preference.
But if positive preferences diffuse through the association-web in our mind, where is the source? Maybe a more fundamental algorithm like evloution and the drive to survive are the sources, diffusing through associations to other objects building our preferences
For example I like a nice shirt, because I associate it with wealth, associating it with resource abundance, which evolution programmed into me since I was a single cell is a good thing
Anyway, just speculations, I did 0 seconds of research.
-
""" This module processes Wikipedia dump files by extracting individual articles and parsing them into a structured format, ...
-
2 Million renderings took 0.875s import java.io.IOException; import java.io.StringWriter; import java.io.Writer; import java.util.HashMap;...
-
docker pull quay.io/unstructured-io/unstructured-api 20gb image. After docker-pull: docker image inspect --format '{{json .}}' ...
