Does usability research suffer from historical bias?
I've seen papers suggest that old-fashioned buttons with a bezel are better than the modern flat style. That seems reasonable, but I wonder if the effect would be smaller if early GUIs were flat.
miniblog.
Cute feature I hadn't previously noticed in node: it will evaluate pure expressions before you've even pressed enter!
Looks like this even works for functions that it can recognise as having no side effects.
I find mobile-first development easier. Every time I design a UI for a desktop first, it's slightly broken on mobile. It's easier to scale up than down.
Jest has this wonderful feature where it suggests other equality checks you might want to consider if your test fails. It's super helpful and a really nice touch.
Interesting discussion on globs vs regexps for package configuration: https://github.com/facebook/jest/issues/7185
Is it true that all globs can be expressed as regexps? I can imagine there might be some cute tricks that can't be converted.
(I definitely find globs easier to read though!)
Deep dive on the Fuchsia kernel, ots architecture, and how it is hardened against exploits: https://blog.quarkslab.com/playing-around-with-the-fuchsia-operating-system.html
Rust introducing a friendlier inline assembly syntax, and avoiding LLVM assumptions: https://blog.rust-lang.org/inside-rust/2020/06/08/new-inline-asm.html
I've seen computer games that give you gameplay tips on loading screens. Perhaps compilers could do same thing?
Whilst you're waiting for the compile to complete, you could say "now in version X, new syntax Y!"
Extending Gameboy emulators to sewing machine hardware addons! https://shonumi.github.io/articles/art22.html
Gitpod has an interesting model where you can bring up VSCode against an arbitrary GitHub repo and start coding. Are disposable IDEs a trend?
https://medium.com/gitpod/gitpod-gitpod-online-ide-for-github-6296b907a886
Elegant code search for literals in Cuis Smalltalk: https://www.youtube.com/watch?v=7mRwtRvw5Vo
You can search for e.g. the literal 1, a literal expression 5-1, or a datatype literal 1@2. Really nice demonstration of AST search.
Cybercrime is poorly-paid, tedious and unglamorous: https://krebsonsecurity.com/2020/05/career-choice-tip-cybercrime-is-mostly-boring/
TIL that root certificates are just self-signed certificates! https://support.sectigo.com/articles/Knowledge/Sectigo-AddTrust-External-CA-Root-Expiring-May-30-2020
Compiling the original Unreal Tournament to wasm so it all runs in the browser! https://www.icculus.org/ut99-emscripten/
I've been experimenting with multiple link colours on my notes website: https://notes.wilfred.me.uk/HomePage
I tried mediawiki-style red for nonexistent links, but it confused my test user.
I'm relatively happy with grey here, but I can't think of other sites with different colour links.
Magic login links are underrated. They're a great way of logging in to little-used services, and faster than the password reset process.
On the many problems that have improved due to better algorithms more than faster hardware: https://www.johndcook.com/blog/2015/12/08/algorithms-vs-moores-law/
Idris 2 is self-hosting, faster, compiles to Chez Scheme, and has a bunch of PL design lessons! https://www.type-driven.org.uk/edwinb/why-is-idris-2-so-much-faster-than-idris-1.html
Generating type-safe Go code from hand-written SQL: https://github.com/kyleconroy/sqlc
Really interesting approach, but I wonder if generated code is the right approach? It's certainly IDE friendly.
I keep implementing random choice features and discovering that users don't really want randomness.
'Show me a random page' really means 'show me a different page to this one, that I haven't seen before'.
Showing 221-240 of 378 posts