A really excellent article: On navigating a large codebase, about how to read software.
Caddy
Heard about Caddy today, looks kinda cool.
Types of AI
Mapping mouse buttons to keys or commands in KDE Plasma
So see here: How can I map keyboard buttons to my mouse buttons?.
Some notes: run the `xev` program to open up an X11 window which reports on its inputs (keypresses etc).
Reload xbindkeys with: `killall xbindkeys && xbindkeys -f ~/.xbindkeysrc`
Edit the ~/.xbindkeysrc file to program mouse button events. Get the mouse button number from the `xve` command above.
Send multiple keypress events with `xte` with for example `xte ‘keydown Alt_L’ ‘key Tab’ ‘keyup Alt_L’`
At the moment my .xbindkeysrc looks like this:
"dolphin ~/desktop"
b:9
"xte 'keydown Alt_L' 'key Tab' 'keyup Alt_L'"
b:8
"konsole --profile localhost"
b:10
"kstart5 --activate --window . firefox"
b:2
Note: b:10 above doesn’t actually work with my ROG Gladius II mouse, there doesn’t seem to be a button for buttons 10 and 11. The extra thumb button on the left at the bottom is the “DPI target button”, it’s handled on the mouse and changes mouse sensitivity, it’s not sent as a button to the workstation. You can read more about the ROG Gladius II.
github1s.com
So there’s this new domain github1s.com where you can load the web version of VS Code and open a github project all in one go, e.g.: https://github1s.com/jj5/apache-formula/.
Lee Sedol vs AlphaGo Move 37 reactions and analysis
Today I came across Lee Sedol vs AlphaGo Move 37 reactions and analysis, wherein AI made a weird move in Go. I ran across the link in The Why of technology which was interesting. It also referenced The Concept of Language (Noam Chomsky) and “Humanity 2.0” by Matt Taylor.
ARCHITECTURE.md
This on r/programming today: ARCHITECTURE.md. It referenced a good example.
Easiest guide to .bashrc
An intro to bash: Easiest guide to .bashrc. I particularly liked this one:
var() {
eval "export $1=\"$2\""
}
Dangerous, but cool.
Doom
# apt install doomsday doom-wad-shareware
Programming principles from id software
These are great: John Romero on Programming principles from id software
- Just do it (and do it well)
- Keep your code always runnable
- Keep it simple
- Invest time in building great tools
- Test your code thoroughly
- Fix bugs as soon as possible
- Use a superior development system
- Write code for this version of the product
- Use good component abstractions
- Seek feedback from peers while coding
- Give coders creative freedom
