Experimenting with syntax highlighting for difftastic.
I'm trying hard to stay within the limited terminal colours. It works everywhere and requires no detection of terminal capabilities or theme.
It's a very limited palette though. Using bold for keywords saves a colour.
miniblog.
Related Posts
GIMP is huge tool that I certainly haven't mastered, but it's so useful to have around.
I used it this week to convert images from obscure formats to common ones. It's a great swiss army knife and runs everywhere.
I keep getting surprised by .lines() semantics in Rust.
"" -> empty
"foo" -> one line
"foo\n" -> one line
"foo\nbar" -> two lines
I end up using .split('\n') everywhere instead, but .lines() is so convenient it feels like a footgun.
Write a single cross-platform app or do native development on each platform? The ability to ship the same features everywhere without team co-ordination is a major win:

