miniblog.

21
The word "agent" is so overloaded in the AI space. Sometimes it means a sophisticated interaction system, but other times it just means API. I think it's partly a sign of how new the space is. We don't have consensus on the best way to use these systems yet.
61
I've seen "cons cells" and "cons pairs", but today I saw "conses", which is new to me. (Clearly Lisp has no downsides, only pros and cons! 🙃)
36
Is there any relationship between language adoption and the size of its standard library? These days it seems completely orthogonal, but early Java adopters spoke highly of the collections library compared with C++. Maybe it's the widespread availability of package managers?
5
Chekhov's repro: If a line of code is included in a bug report, it should contribute to the debugging somewhere.
Chekhov's repro: If a line of code is included in a bug report, it should contribute to the debugging somewhere.
64
I'm working on arity errors in Garden, my toy programming language. Rather than just saying "expected 3, got 4 arguments", I'm trying to report where the extra argument is, or what extra argument was expected.
PhotoPhoto
84
It's interesting to see the "why not Rust?" discussions around the TypeScript news that they're using Go. It shows that Rust has reached a level of maturity that it's a default for some users. Go does seem to be in a sweet spot for AOT languages with GC though.
82
The most common selling point I hear for Nix is having a list of all the packages you need. On a traditional Linux distro, I just install things and forget about them. A curated, commented list would certainly be handy when I have a new system.
22
Today I learnt that you can mix HTML inline in markdown! For example, the following is valid. Foo <hr/> I'd assumed that you needed HTML separately, like ``` blocks, but no: https://spec.commonmark.org/0.31.2/#raw-html Admittedly HTML is very restricted on most sites, but it's helpful for SSGs.
12
Spent a bunch of time learning about text diffing algorithms this evening. "Myers Algorithm" refers to a specific paper written by Eugene Myers, and he published faster algorithms later!
1
https://tigerbeetle.com/blog/2025-02-27-why-we-designed-tigerbeetles-docs-from-scratch/ has an interesting distinction between "physical" and "logical" hash of a tarball. By storing the hash of the decompressed tarball contents (i.e. the logical hash), they can verify the validity of files without needing to keep the tarball around.
61
One day I am going to reach the height of technological sophistication, and every clock in my house will handle daylight savings automatically. I'm not there yet. I think modern appliances are getting better though. (Does a microwave really need to know the current time?)
51
I really like base-2 prefixes in writing, e.g. 1 KiB, 2 MiB, 3 GiB and so on. It's way more explicit. However, SI units are k M G and so on. Switching between lowercase k and uppercase Ki keeps tripping me up.
2
@MekahimeAkari @lifning "C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off". -- Real Stroustrup quote, 1986
112
I've heard of a 'burger menu' when a button has three horizontal lines on it, but today I heard 'kebab button'. This is similar, a button with '···'. Clearly UI designers are hungry.
Showing 106-120 of 7,549 posts