miniblog.

Today I learnt that you can put emoji in domains, although support varies wildly:
Today I learnt that you can put emoji in domains, although support varies wildly:
After a few years of programming, I noticed it affected my outlook on other parts of life. I notice exceptions to patterns way more. In code, it's a bug or deserves a comment! I'm also much more aware of ambiguities in sentences, even minor ones. Have you experienced this?
Apparently sqlite does not enforce foreign key integrity by default! That's incentive to use something else even for prototypes/small apps. https://stackoverflow.com/q/15301643/509706
There's a tension between 'editing content' commands and 'change UI' commands when undoing. Usually you don't want to undo e.g. zooming, just edits. I've seen novices accidentally change UI and get stuck though. Perhaps UI customisation should be minimised?
I've come to see any database other than sqlite as premature optimisation. Running a separate DB process, securing it, backing it up: they're all more hassle with production DBs. I'm not sure what the key-value or document store equivalent is though.
Sometimes it's nice to have super ambitious side projects, but sometimes it's nice to tinker with simpler features. Today, I'm mostly writing CSS :)
"it’s safer to add or remove classes on a specific HTML node than to add or remove styles in a class that applies on many elements" A defence of utility-first CSS, and how semantic classes can convey less information:
GitHub is developing a mobile app for both iOS and Android: https://github.blog/2019-11-13-universe-day-one/#mobile Their site works well on mobile browsers, but this seems like a great move. There's a lot you can do from the desktop browser today that's hard from a phone.
Writing a fast lexer: many parts of a compiler toolchain (other than optimisation) are O(N), and the lexer has the largest values of N. A walkthrough showing different designs and performance considerations.
Another Intel speculative execution vulnerability:
Designing a GUI library for Rust, and an excellent overview of the many different approaches taken in GUI frameworks:
An amazing use case for wasm: deterministic, safe and fast macros in Rust, even though they're running arbitrary code!
"The phrase the Rust team members like to use is that they’re trying to make the best 90’s era programming language they can." Thoughtful comparison between Rust and Haskell. https://www.fpcomplete.com/blog/2018/11/haskell-and-rust
Excellent deep dive on how Rust has polished its compiler errors for async:
Showing 76-90 of 736 posts