Grailbox

I Got Hacked and That Made Me Move

Friday night, I was headed for bed. I brought up my RSS feeds in NewsBlur and noticed six new posts on this blog. About gambling. All six copypastas of an advertisement of some gambling site. These articles jolted me from near-sleep to wide awake, and I bolted …

Read more →

Using Raycast to Move My Mac

An AOC Ultrawide (49") dominates my desk. Stretching 47" from wingtip to wingtip, it serves as: The only display for the Linux tower that hides between my desk and the wall. A supplemental (primary) display for my MacBooks. The KVM switch to swap I have two …

Read more →

Compiling the Birthday Problem into Rust

The Birthday Problem demonstrates that, in a group of 23 people, the odds of two people sharing a birthday exceed 50%. You can read the linked article for an explanation, but the probability is about 50.73% that, for a 365-day year and a group of 23 people, …

Read more →

Editing Markdown in Zed

I’ve been cheating on Neovim lately. I’m playing around with Zed (in vim mode, naturally). Zed’s default settings allow Markdown editing just fine, of course. Markdown is just text, after all. I don’t want long lines to scroll off the right side of the screen, …

Read more →

Flipping a Rusty Coin

Recently, my boss asked me for a server capacity planning model. This was a new ask for me. I can launch Excel with the best of ‘em: fire up Alfred and type “ex<enter>”. I can format columns and enter data and create graphs that show trend lines. I know about …

Read more →

Autostart Zellij in Nushell

Cool kids multiplex with Zellij. Data engineers shred data with Nushell. Let’s make them work better together. Let’s autostart Zellij when our terminal and shell start. The Zellij documentation provides instructions for making Zellij autostart in bash, zsh, …

Read more →

asdf and Nushell: Functions to Install and Switch Versions

I use asdf to manage tool versions, fzf to save typing, and shell functions to bolster my memory. My recent switch to Nushell reminded me that I haven’t memorized the asdf command to install or switch tool versions. I could have created flash cards and learned …

Read more →

Date Parsing and Arithmetic on macOS

I recently wrote a shell script that required both date parsing and date arithmetic. The pertinent bits for this post are that the script: Accepted a date as a parameter Accepted a number of days as a parameter Iterated through the dates to generate specific …

Read more →

Fridge Door Part 3: Building a React Application

This article is part 3 in a multipart series that makes a message board using a Raspberry Pi and a Tidbyt. Here are the parts in the series: Describe what we’re building (Part 1) Create a ReST service using Rocket (Part 2). Create a React application to both …

Read more →