Weeknotes 92
2nd April, 2023
“Trillions of messages”
-
Vim will open the file if it’s not already open, or jump to the open buffer if it is.
This is useful for my new note taking config.
-
I’m trying to train myself to use
:AV
from Rails.vim.:AV
will open the “alternative” file for the current file in a vertical split – that usually means the matching test file.I realised that those new splits open to the left of the current one. I would prefer it on the right. I
set splitright
and hey presto! I already have splitbelow set, so I’m not sure why I didn’t already havesplitright
too. -
Playwright has a new “UI Mode” in version 1.32.0, which I’m assuming makes it much more attractive to people migrating from Cypress, which has had this for a long time.
I’ve only briefly used Playwright to compare it to an existing Cypress test suite and I liked it. The API seemed more straight forward and it was faster.
-
“How Discord stores trillions of messages”
In 2017, we ran 12 Cassandra nodes, storing billions of messages.
At the beginning of 2022, it had 177 nodes with trillions of messages.
Woah.
Most importantly, however, it lets us say we rewrote it in Rust (meme cred is very important).
🤣
Really interesting write-up.
-
Support for namespaces will be much improved in Rails 7.1 thanks to Zeitwerk. Auto-loading behaviour has been confusing me over the years, so this is great news.
-
Internal tools – who has time for them? Most places I’ve worked have been on the smaller side and building internal tools was never something that time could be spent on. The team I’m currently working with have clearly spent a lot of time working on tools for all parts of the business.
Giving developers the tools to easily investigate bugs is saving a lot of time and money in the long run, but they are a hard sell in most businesses due to their benefits being hard to quantify.
-
Tailscale Funnel now available in beta – A replacement for
ngrok
if you’re using Tailscale already. -
“Apple Passwords Deserve An App” – honestly, I kinda knew some of this was built-in, but I have literally no idea where to start. 1Password still works for me, but I share the same fears that others do about their VC money. As a result I’m still on 1Password 7.
(Bonus Panic UI Tip: people can’t/won’t read more than three (3) lines of static descriptive text.)
I’ve been saying this for years. No one is reading your text, sorry.
-
I’ve started using Noizio again to try and get me into a focus mode more quickly.
Try macOS Noizio app for better productivity. Ease of choosing and blending the ambient sounds into a mixture that will perfectly fit your mood.
The way you can mix and match sounds is great.