miniblog.

I'm dusting off a Rust project from 2016, and it's striking how much the ecosystem has grown. For example, I used getopts then whereas clap is delightful and does so much now.
I really like languages that store their runtime stack on the heap, such as Smalltalk. You can write code as if you have tail call optimisation, but you still have normal stack traces for debugging.
Codeforces is a huge website with a wealth of well-defined programming problems: https://codeforces.com/help#q1 (Useful for program synthesis and other situations where you want a large problem set to play with.)
I don't have a favourite 'just an integer' type in Rust. I was writing a progress function for a Rust program that counts up to 20 input files. u64 is sometimes fiddly, usize makes me think about indexing, and u32/u16/u8 make me think that something is performance sensitive.
Are there any languages that display stack traces really well? Do you have a favourite?
The trend for package managers seems to be increasingly installing packages locally, in the directory of the current project. C: exclusively system packages Python: system or 'virtual' (local) packages JS, Rust: exclusively local packages
zsh is generally wonderful, and it's sufficiently like bash/POSIX sh that it works. However, it uses 1-indexed arrays, whereas bash uses 0-indexed arrays. This totally caught me out.
It's a tragedy that ; and : are often on the same key on the keyboard, are often both legal syntax, and are so visually similar. I wonder how much programmer time has been wasted.
I'm adding R support for difftastic, and it seems to work pretty well!
Photo
> Converting to hexl format discards undo info; ok? (y or n) I really admire how seriously Emacs looks after your undo state. Not enough software will warn you if you're about to discard undo information.
Do commas ever appear in idiomatic Clojure? It's syntactically legal but I don't think I've ever seen them in the wild.
The Indian supreme court has ruled that Google must allow third party app stores on the Google app store under antitrust laws:
Cases where it makes more sense to use concrete types rather than generics, even if you can be generic:
Rust's RFC 3191 will let libraries package debugger scripts so you get a better experience when using gdb or windbg:
Defining a separate tests module so rust tests compile faster:
Showing 196-210 of 240 posts