Yes, I want to know if your project is written in Rust

tldr-tldr: If your project is written in Rust, it's probably easy to install, fast, and because Rust is here to stay, it's unlikely to die a premature death.


tldr: A post is titled "My cool new thing, written in Rust." The top comment asks, "Why should I care that it's written in Rust?"

Well, I care! I love knowing when something is written in Rust. The main thing is that it's probably easy to cargo install your_cool_new_thing. I can't say the same for anything asking me to interact with npm, pip, make, apt, flatpaks or appimages, etc.

This post starts with a diatribe about pip and npm, evangelizing the virtues of cargo. The other benefits listed are the performance benefits from Rust's memory safety, and reassurances that Rust won't die anything soon (meaning it won't drag other projects down with it.)

So, yes, I want to know your thing is written in Rust!

Over the past few years, line after line, project after project, I've become one of those annoying Rust evangelists. It's hard to go back to the old way of doing things, and a big reason is cargo.

On occasion, a new Rust project will be posted to a site like lobste.rs, with a title like "A $THING, written in Rust". Somone will invariable reply "Why should I care it's written in Rust?"

Well, I care, and this is why.

Read more  ↩︎

What I'm working on, December 2023

2023 has been my year of Rust. I've gotten 50% of the way on my fantasy assembly language Phantasm, the Rust implementation of Reso is nearing the 0.1.0 release. I'm also preparing a Commodore64 emulator Christmas gift for my mother in law.

I've also started publishing arbitration opt-out templates to make it easier for people to opt out of arbitration.

In projects not-even-near completion, I've been drafting up a puzzler with 5 space and 2 time dimensions, and I'm resurrecting drafts for a cryptographic hash primitive with a variable hamming weight digest.

For me, my biggest side project right now is definitely Reso. I'm super proud of it. The language implementation work is done, and I'm excited to build tooling to make it easy and fun to use.

Read more  ↩︎

2023: The year of high SSD failure rates

TLDR: In 2014, SSDs were unreliable but cool and new. They've become more reliable over the years, but going into 2024, they're showing a streak of unreliability again. I've had had an SSD fail, an enclosure fail, and an SSD+enclosure which seemed to break eachother.

The worst offenders are SanDisk, Western Digital, Samsung. Backblaze reports roughly confirm this. See their full stats page here.

I didn't even know Dell made SSDs, but BackBlaze reports Dell as the lowest failure rate.

Read more  ↩︎

sshaudit.com gave my Bastion an F, now it's an A

I maintain an SSH bastion server for all my beloved VPSes. The server I host this blog on only accepts SSH connections from the IP of that bastion, and I keep that bastion hardened. It's a minimal Alpine install with nothing but an SSH server.

So I felt some dismay when I found the server got a score of F on sshaudit.com. I got an F! My bastion failed 2 of 5 host key tests, 4 of 9 key-exchange tests, and 7 of 10 MAC tests.

These are the steps I took. Although I'm on Alpine, I was able to cherry pick commands from the Debian-focused server guides hardening guides on sshaudit.com.

TLDR provided below the cut, with some script script to do the work for you.

Read more  ↩︎

Software I recommend

TLDR: Here are things I like and can recommend.

  • Pop! OS for a Linux distribution.
  • Blender for 3D graphics.
  • Python or Javascript (when my friends ask for a programming language they should learn).
  • 1password for password managers.
  • Signal for messaging.
  • Obsidian for notetaking.
  • Wirecutter and Rtings for product reviews (to replace Reddit.)
  • OBS for screen recording and streaming.
  • DaVinci Resolve for video editing.
  • micro for an easy-to-use terminal editor... But also Helix, for those wanting a more powerful terminal editor.
  • Fastmail + Porkbun for personal email.

I've had friends ask me for recommendations for software. They ask me this because I am a hollow person who has spent too much of my life on the computer. I love when people ask me these questions, because my strong opinions on software are usually otherwise "offputting" and considered a "personality flaw".

All jokes aside, I wanted one place to chronicle recommendations I tend to make. In no particular order, here are some of my favorites.

Read more  ↩︎