You can also also view the full archives of micro-posts. Longer blog posts are available in the Articles section.
What I’m working toward is a canonical definition of the dataframe. Petersohn et al. made the best attempt I’ve seen with their data model and algebra. Category theory adds structure on top: three migration functors for schema-changing operations, and topos structure for set-theoretic reasoning within a schema. Together, these cover the relational core. — What Category Theory Teaches Us About DataFrames
Haskell for Data Science. #haskell
Handy replacement for vaf from
treesitter-textobjects:
To select a whole Python function, including one or more blank line, you can use
a combination of builtin ]M (Jump forward to end of current scope) and [m
(Jump backward to begin of previous scope). #vim
git bayesect is a generalisation of git bisect that uses Bayesian inference to solve this problem.
Randomness on Apple Platforms. TL;DR “So, for simplicity, I’d suggest using CCRandomGenerateBytes on all platforms to seed random number generators which don’t have to be cryptographically secure.” #apple
Migrating to Neovim 0.12. Yes, I know. It took me
one hour to fix deprecations (few issues) and update to the “main” branch of
nvim-treesitter. No more nvim-treesitter-textobjects, I can implement most of it
in VimL, except incremental selection, but I will rely on % and visual
selection for Lisp dialects. #vim
At this point in history, AI sociopaths have purchased all the world’s RAM in order to run their copyright infringement factories at full blast. Thus the amount of memory in consumer computers and phones seems to be going down. After decades of not having to care about memory usage, reducing it has very much become a thing. — Everything old is new again: memory optimization
So much easier to use Neomutt with native IMAP support, without all the fuzz for local storage and I/O (mbsync and msmtp). Less than 300 Mo to cache all messages headers and thousand of message bodies since 2016.
~/.cache
» du -sh neomutt
267M neomutt
Lots of additional goodies compared to Apple Mail (diff highlight, better threading support and sorting options):