Nibbles, Bits & Bytes.

An uncurated collection of links & blurbs.
It's like a backlog, but for my attention span.

blurb 4 days ago #golang

Strangely sudden news today. Looks like “Go Report Card” has been completely sunset as of a couple weeks ago. I really dug that little service. At least it’s still available for self-hosting, but now I have to go on cross-repo badge cleanup duty.

update a week and change ago #wilhelm.codes #hugo

Having a play with a more dynamic menu drawer. Just working out the kinks on smaller screens.

update a couple of weeks ago #wilhelm.codes #hugo

Decided to introduce a new projects page to showcase some of the bigger things I’m working on. I’m still working out the kinks and I’m not 100% sold on the current design. Each card is powered by a .toml based datasource in Hugo, contains a kind of linear heatmap of activity related to the associated project’s tag as well as the 5 latest related posts. Good enough to publish, I guess.

I also can’t decide on which activity graph animation I like the most. 😅

update a couple of weeks ago #wilhelm.codes #github

I am very smart. I only just realised over the weekend that issues and discussions in the parent repo for this site were disabled. Meaning, article coments using Giscuss was functionally disabled here. WOOPS!

blurb a few weeks ago #glazier #hcl

Welp. I’ve convinced myself that Glazier needs Terraform-style variable declaration blocks to validate --var flags. I’m doing it and I will not be stopped. I’m thinking something as simple as the following session block-adjecent top-level spec:

variable "name" {
  description = optional(string)
  type        = required(string | bool | number)
  default     = optional(type)
}

Time to do what I do best: make things more complicated than they have any right to be.

blurb a few weeks ago #plantsm.art

I should update Plant Smart. Thinking it should get a similar treatment to this site. Maybe even exploring moving completely to Hugo instead of a haphazardly-assembled static Svelte site.

update a few weeks ago #wilhelm.codes

Some small incremental updates for the site today:

  • The addition of a new bit type for site updates like this one.
  • Proper RSS feeds for both long-form articles and bits. Check the footer!
  • A quick sweep of the site map to ensure everything maps out properly. There were a few dead links previously.
  • You can now filter bits by type! Have a play with it at the top of this page.
  • Some minor grammatical updates here and there for some recent content.

Something to note is that the bits filter is purely JS based and assumes all content will be displayed in a single page. This is fine for now, but there may be 100s or even 1,000s of entries on a long enough timeline. At that point, basic text search and filtering that supports pagination may be necessary. But, not today!

video a few weeks ago

Man, some of these router CVEs are laughably bad. Not saying rolling your own router with OpenWRT is a perfect solution… but compared to this it functionally is.

blurb a few weeks ago

Tempted to drop the custom fonts altogether. They account for well-over half the transfer on a hard refresh.

blurb a few weeks ago #woops #wilhelm.codes

I am not a smart man. I completely forgot I was using the “Pro” version of FontAwesome and had the entire library committed to this very public repository without any licensing coverage. I mean, the pro version shouldn’t be shared anyway. You may have noticed the associated Github repository has been temporarily set to private and that all commit history as been wiped. Sucks, but I felt this was much more pragmatic than removing multiple specific files from the tree. I am not an expert git surgeon, so that got a hard pass from me.

I’m currently experimenting with some alternative OPEN SOURCE web icons and updating the third-party licensing notice bundled with the repo to cover icons as well as web fonts.

Luckily, only I noticed this issue and immediately worked to address it.

edit: Good-bye, sweet git history!

quote a few weeks ago #wisdom

“Simplicity is a great virtue but it requires hard work to achieve it and education to appreciate it. And to make matters worse: complexity sells better.”

— Edsger Dijkstra
quote about a month ago #wisdom

“Talk is cheap. Show me the code.”

— Linus Torvalds
blurb about a month ago

I’m keeping these stupid test quotes around. I love them. Fight me.

quote about a month ago #wisdom

“There are only two hard things in Computer Science: cache invalidation and naming things.”

— Phil Karlton
quote about a month ago #wisdom

“Programs must be written for people to read, and only incidentally for machines to execute.”

— Harold Abelson
quote 2 months ago #wisdom

“Premature optimization is the root of all evil.”

— Donald Knuth
quote 3 months ago #wisdom #ux

“The best error message is the one that never shows up.”

— Thomas Fuchs
quote 3 months ago #wisdom #design

“Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.”

— Antoine de Saint-Exupéry