miniblog.

Compiling Linux so it can fit on a floppy and boot on a 486! I'm really impressed you can still make it small enough. https://www.insentricity.com/a.cl/283
`npm outdated` is a useful command that colour-codes output based on semantic versioning compatibility. I wonder if time information would help too? If I'm on 1.0.1 and 1.0.5 is the latest, but 1.0.1 came out in 2010, that's useful knowledge.
Photo
Using stack traces to explain type inference: https://sophiebits.com/2018/05/21/type-errors-with-inference-need-stacks.html
physical-cpu-count is a lovely example of small packages on npm doing one thing well. It's a cross-platform solution with clearly discussed limitations and design decisions regarding hyperthreading. https://www.npmjs.com/package/physical-cpu-count
I'm really enjoying using Parcel for my web build needs. Everything just works out of the box, without configuration.
Hardening Android, including a neat jemalloc alternative that can mitigate memory corruption bugs: https://security.googleblog.com/2020/06/system-hardening-in-android-11.html
@neko@radical.town Thanks for the pointer! I'd been sceptical of tools for single users (personal notes have a high write:read ratio), but wikidata does seem fairly nice to edit.
@bamfic Lisp Machines had hardware supported tagged pointers, but I'm not aware of other features. Nonetheless, the ability to add custom hardware for your programming model worked out really well for them :)
It's interesting that Twitter sets limits on content size, but not distribution. What if the number of retweets/comments on a tweet was rate limited, or had a cap for new users Would it promote slower or thoughtful conversation? C.f. Stack Overflow limiting new user abilities.
Compelling demonstration of parser combinators for date parsing: https://medium.com/mercury-bank/a-magic-date-input-using-parser-combinators-in-typescript-3c779741bf4c You build up a series of functions for parsing elements, which composes much more nicely than regexps.
jsx-info https://www.npmjs.com/package/jsx-info is a really neat project that will report how much a property is used on JSX components. It's a really nice generalisation of dead code analysis: which properties are used the most?
IPFS is a really nice distributed filesystem that is slowly growing in popularity. Netflix has found a good use case: container image distribution. https://containerjournal.com/topics/container-management/ipfs-emerges-as-tool-to-distribute-container-image I'm slightly reminded of Usenet: just download content from the nearest server!
The total amount of data from the first spacecraft to perform a Mars flyby was ~600KiB: https://en.wikipedia.org/wiki/Mariner_4#Results That's tiny, but for interplanetary data transfer in the 1960s it's really impressive.
Discord has a neat login technique I haven't seen before. If you open the native client, it checks to see if you've already logged in from the browser! If you have, you don't need to re-enter your password.
Trace which code paths in trunk are covered in each test, then only run relevant tests on pull requests! https://engineering.shopify.com/blogs/engineering/spark-joy-by-running-fewer-tests A neat approach from Spotify, and it does the right thing 99% of the time.
I feel like pagination is an unsolved problem on online stores. How many items per page should you show? Should you allow Show All? Should you implement infinite scroll? There doesn't seem to consensus around design best practices.
"Apple could [..] deeply integrate the operating system and the design of the chip itself to [..] bring new features and capabilities to market." https://stratechery.com/2020/apple-arm-and-intel/ Are there real benefits of a bespoke CPU+OS combo? I'm struggling to imagine concrete things it enables.
Impressive ML research building a coloured 3D model from a single photo of an outfit! https://shunsukesaito.github.io/PIFu/ ML still seems to be making major strides. I'm not sure if this means technique breakthroughs, or if we're just fine-tuning established techniques.
The vast majority of 'external brain' systems seem to based on hyperlinked text. This seems to be true for exocortex, memex or zettelcasten inspired designs. This is great for reading, but you can't do DB queries to answer questions. What would a 'semantic web' design look like?
Cute discussion of good and bad CLI naming schemes: https://smallstep.com/blog/the-poetics-of-cli-command-names/
Showing 201-220 of 378 posts