miniblog.

My understanding of Rust Foundation and Rust Project has definitely improved following today's talk. Rust Foundation: Handles financial, legal and bureaucratic stuff. Requires a supermajority of votes from both sponsors and the Rust Project. Rust Project: Focuses on building.
I'll be at RustConf this week! Do say hello.
Seen in the wild: replace all the newlines with a literal $ in sed: sed -e 's/$/$/' It's always bugged me that regex replace syntax looks similar to regex, occurs close to the search syntax, but actually has a different meaning. It's harder to read.
I'm adding XML support for difftastic! Still needs some tweaking, but the initial results look promising. XML is particularly fun because early academic research on tree-diffing focus on XML.
TIL that Pong was originally a warm-up exercise for a new employee at Atari! https://en.wikipedia.org/wiki/Pong#Development_and_history
Ooh, I've just discovered that you can enable actions on GitHub pull requests by default! This is the actions settings page. My understanding is that GitHub introduced these limits to prevent people trying to run cryptominers on GitHub actions. Sounds like GitHub has largely fixed it.
Today I learnt that the Glamorous Toolkit has its own VM, implemented in Rust, which wraps the Pharo smalltalk environment! https://gtoolkit.com/
I've started highlighting constructors like Some and None consistently with type names in difftastic, and the results look so much more readable!
Distributing binaries built against musl is counter-intuitive to me. When I run them on my machine, they're dynamically linked to glibc! The main advantage AIUI is that you don't depend on new glibc features, so you get a more portable executable.
Rust is the only language I can think of with a first party version switcher. rustup is maintained by the core team, unlike rvm or nvm. Are there other languages like Rust in this respect?
OpenSSH will send packets at 20ms intervals to prevent network timings revealing what you're typing: https://undeadly.org/cgi?action=article;sid=20230829051257 Really elegant solution!
Woah, the median price of a .sexy domain is over $2,000! https://tld-list.com/tld/sexy I like the emacs.sexy website, but that's a big chunk of money. The tld-list link above suggests that it's possible to buy these domains for more conventional prices.
Just learnt that pacman, the Arch Linux package manager, has a colour option in /etc/pacman.conf!
Implementing interactive languages, and the tradeoffs of interpreters, JIT compilers, and AOT compilers: https://www.scattered-thoughts.net/writing/implementing-interactive-languages/
I've released difftastic 0.51! In this release: * Prebuilt binaries for ARM64 macOS (i.e. M1 and M2 macs), ARM64 Linux, and Linux on musl (for older distros)! * JSON output: an unstable feature allowing machine consumption of output! * Bash, Python and Rust parser improvements https://github.com/Wilfred/difftastic/releases/tag/0.51.1
You know a software project has achieved popularity when people are using it on platforms other than Windows/Mac/Linux! For example, I noticed that the cc crate recently had fixes for AIX.
I'm trying out Podman as an alternative to Docker, and it seems pretty nice. I like the separation of tools (e.g. running containers is separate from building images), and there's less hassle with user privileges. It even supports the same images! The Docker daemon is really convenient for deployment though. It's less work than writing a systemd configuration.
TIL about Giscus, an alternative to utterances for GitHub-based blog comments that supports reactions and GitHub discussions: https://shipit.dev/posts/from-utterances-to-giscus.html
Be careful evaluating code from LLM based tools, as there are several avenues for malicious users to inject output: https://github.com/greshake/llm-security
I've released difftastic 0.50! In this release: * Merge conflicts! Difftastic now understands <<<<<<< syntax and shows a syntactic diff of the underlying files. * Updated parsers for Elixir, Erlang, Go, Kotlin and Racket * Various styling quality-of-life improvements https://github.com/Wilfred/difftastic/releases/tag/0.50.0
Showing 281-300 of 7,506 posts