Sean

Weekly Brain Dump #26

- 510 words

At a Glance

FZap Gets Previews

This was easier to implement than I expected. The only gotcha I found was that you can’t do transform(preview(blah.sh)) more than once, you need to do transform(change-preview(blah.sh)) and it’ll work. This was a bit surprising to me. Normally FZF errors out or complains when you feed it bad arguments.

A terminal showing FZap being used to switch to a personal project.
community-hanami is highlighted and the README.md is shown along side it.

I’m pretty happy with how it’s going but do think it needs some more work to iron out the wrinkles. The most annoying thing I just realised is that I have ^P bound to show/hide the preview but that’s normally my buttons for moving back up the list. So I’ll need to move that.

The Write Clean Redesign

I got inspired to work on The Write Clean project again but was unhappy with the technology choices I made. Specifically the BeerCSS and ERB.

For BeerCSS I have decided to switch to Bulma as I think it’s pretty easy to work with and I wanted something actively maintained but didn’t come with a bunch of JavaScript.

Instead of ERB I am going with Phlex as it’s really proven to be a much nicer way to write HTML in Ruby. I’m constantly surprised at how good it feels to write and how easy it is to have sensibly designed helpers. I can strongly recommend this library to anyone who wants to do web development in Ruby.

A login screen showing. The login form is wrapped up in a card.
There is subtle shadowing around it.

What it actually costs to run a one-Rails-app SaaS per month: An insightful breakdown into starting to host an application in the modern day.

Breaking what a program is: A fun breakdown of what Linux looks at when executing a binary.

Cool down before you install: give new gems a few days to be vetted: Finally, cool downs arrive for ruby gems!

How many consecutive hyphens can you have in a domain name?: It's pretty crazy that 61 hyphens are valid.

Archive of interesting links


Comments