aliquote.org

Latest micro-posts

You can also also view the full archives of micro-posts. Longer blog posts are available in the Articles section.

2022-01-11 10:51 #

The real enemy addressed by inlining is unexpected dependency and mutation of state, which functional programming solves more directly and completely. However, if you are going to make a lot of state changes, having them all happen inline does have advantages; you should be made constantly aware of the full horror of what you are doing. When it gets to be too much to take, figure out how to factor blocks out into pure functions (and don.t let them slide back into impurity!). — John Carmack on Inlined Code

2022-01-11 10:11 #

While browsing GitHub, I noticed that the nvim-lua organization offers a “starter kit” init.lua file for Neovim users. It is a single Lua file, which is quite handy when you want to quickly bootstrap a sane config on external servers. I tested it in my own environment and it’s pretty good actually. If you are new to Neovim, and especially Lua config files, I recommend taking a look at how this file is organized. Except for a few packages (theme and snippets), and the default key mappings, you will likely find a working setup for your daily editing tasks. I like the idea of having a single file for the whole config, although I can understand why we may want to split our whole config in separate files, which is actually what I do.

2022-01-11 09:54 #

csview: A high performance csv viewer with cjk/emoji support.

2022-01-10 20:18 #

  Maxence Cyrin, As the Darkness Falls.

2022-01-10 14:59 #

  Eusebius, Water Lily.

2022-01-10 13:29 #

… there are thousands of reusable patterns I’ve picked up … Unfortunately, I’ve forgotten about 95% of them. … The point is to reflect on what actually stuck, so that others may save time by spending their time learning what is more likely to stick. — Practical Shell Patterns I Actually Use (via John D. Cook)

2022-01-10 09:58 #

xsv: A fast CSV command line toolkit written in Rust. Handy (and faster) alternative to csvkit.

2022-01-09 21:13 #