miniblog.

4
Today I learnt that C includes a hash table implementation! libc is bigger than I realised.
103
I recently bought a bangle.js and I'm really impressed. On the first day I had a JS REPL running with their hello world! The firmware is FOSS but you write JS apps on top. It's really hard to break. There's already an 'app store' too.
Photo
A cute AMD hardware bug (2019) where RDRAND always returned the same value! https://arstechnica.com/gadgets/2019/10/how-a-months-old-amd-microcode-bug-destroyed-my-weekend/
If software is trending towards small team/solo maintainers, what are the consequences? I imagine that it will be more common to switch between libraries with different designs. Maintainer idiosyncrasies will be more prominent too.
2
Open source is increasingly a collection of projects, each run by a single maintainer; https://nayafia.substack.com/p/22-working-in-public
1
Introducing a severity scale for code reviews, and pre-reviewing your own code:
Thinking more about software pricing trends: boxed software was often £30+ when I was a kid. Paying that amount for a smartphone app seems expensive today.
2014 article on how hard it is to make money from OSS, and how Red Hat is an outlier. Perhaps OSS has made software cheaper overall?
Finally got dynamic string allocation working in my toy compiler! https://github.com/Wilfred/proper-compiler-hat/commit/cd726f45eb0540eb54c2c3c7e0ab75a651c46a43 Implementing intrinsics made this way easier: writing a single large assembly function is a pain.
104
This is a really fun approach to mode based editing: a clutch! When it's depressed you're in insert mode, and release to go back to command mode.
Today I learnt that you can tell GitHub which files in a repo are generated, so they're not shown in the default pull request view!
Codecov has published a bunch of interesting statistics about CI! Ruby has the highest average coverage, GH Actions is already the biggest CI provider, and 13% of projects have 100% coverage.
PhotoPhotoPhoto
Moving all my elisp projects from Travis to GitHub actions has been a hassle, although it's getting easier with practice. I ported emacs-racer today: https://github.com/racer-rust/emacs-racer/blob/master/.github/workflows/test.yml I've learnt the hard way that it's worth testing your code both with and without byte-compilation too.
It's a little surprising how few programming languages have first-party/official LSP implementations. It's such a valuable part of the user's experience! (cf Smalltalk where the environment is often more important than the syntax or libraries.)
11
VS Code is mostly open source, but sadly there are some major exceptions. Open source forks can't access the official package repository apparently:
Showing 271-285 of 345 posts