news
Programming Leftovers
-
Chris ☛ The geometric model of maintenance
James Shore posits that each person-month spent writing code results in 10 days of maintenance in the first year, then 5 days every year after that. Naïvely interpreted, this is a threshold-based model for induced maintenance, and its interesting because it’s so simple.
-
Steinar H Gunderson ☛ Steinar H. Gunderson: Decompilation patterns, part 10: return var_v0
The v0 register on MIPS is special in that it is the return register (like rax is on x86-64), so when you see code like this: [...]
-
Dirk Eddelbuettel ☛ Dirk Eddelbuettel: RQuantLib 0.4.29 on CRAN: New QuantLib, Plus Small Fixes
A new release 0.4.29 of RQuantLib had already been built for r2u as well as on r-universe and has just been uploaded to Debian.
been part of CRAN for brings two new calendars (Malaysia, Philippines), updates to a number of other calendars as well to other files, and two deprecations we are reflecting in this release. It also benefits from a number of careful and attentive pull requests by Maximilian Muecke cleaning up an (astonishing !!) number of likely rather old little bugs. Full details from the NEWS file follow as usual. -
Python
-
Daniel Lemire ☛ Parsing JSON at tens of gigabytes per second… in Python
Python used to have limited parallelism, due to its global interpreter lock (GIL). Only one thread could run Python code at a time. Python 3.14 comes in a free-threaded version (python3.14t), without the global interpreter lock. Several threads can now run Python code at the same time.
-
-
Shell/Bash/Zsh/Ksh
-
Sal ☛ Cool tmux trick: scratch popup
One thing I love about the i3 window manager is what’s called the scratchpad. The scratchpad lets me toggle the visibility of a floating window with a hotkey. It’s great for keeping notes or a terminal at the ready, available in any workspace.
It turns out that it’s easy to add a similar feature to tmux. Here’s my relevant config: [...]
-