Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

Henrik Nyh

@henrik@ruby.social
mastodon 4.7.3
  • Open on ruby.social

Swedish web developer in #Yorkshire, #UK.

334 Followers
96 Following
10 Posts
Joined November 22, 2022
Home page:
https://henrik.nyh.se
Blog:
https://thepugautomatic.com
Open post
Henrik Nyh @henrik@ruby.social
· 7mo ago
Replying to
@jmb@mastodon.me.uk @1password@1password.social AI in 1Password itself aside, your social media posts leave a bad over-AI'd taste these days – unfollowing for that reason.
3
2
0
0
Open post
Henrik Nyh @henrik@ruby.social
· 4mo ago

Is there an established word for what I think of as edge-case-itis?

It’s when a common flow in some app is more complicated than it needs to be because the devs/designers presumably over-focus on edge cases. Or more generously, value edge-case consistency over common-case simplicity.

The one I see all the time is when most people have one of something (e.g. a cat flap) but the app has you navigate via a list-of-one every time to get at it.

1
2
0
0
Open post
Henrik Nyh @henrik@ruby.social
· 5mo ago

YOLO vibe coding gets a lot of attention, but AI is so good for helping you sweat the details, too. It's a choice.

I fixed something I've been bothered by, involving not-super-fun MJML templates and email CSS. It took hours to produce a small change because I was thinking and expressing intent throughout.

Did things like having AI make tables of the whitespace rhythm, to dial it in.

I barely wrote any code directly, but I thoroughly considered the end result, and considered the code enough.

1
0
0
0
Open post
Henrik Nyh @henrik@ruby.social
· 5mo ago

After trying rubyfmt I think it’s finally time for us to autoformat our Ruby code and leave most* style debates behind.

It ran incredibly fast (very small number of seconds) on our ancient monolith’s full codebase.

I’m rather proud that we stumbled over 2 bugs due to some exotic formatting choices (reported and fixed in a jiffy).

* It doesn’t enforce any one multiline block style 🙈

https://stripe.dev/blog/formatting-an-entire-25-million-line-codebase-overnight-the-rubyfmt-story

Formatting an entire 25 million line codebase overnight: the rubyfmt story
stripe.dev

Formatting an entire 25 million line codebase overnight: the rubyfmt story

This is the story of how our Developer Productivity team extended and rolled out rubyfmt, our Rust-based zero-config, ultra-fast autoformatter across the world's largest Ruby codebase.

1
2
0
0
Open post
Henrik Nyh @henrik@ruby.social
· 7mo ago
Replying to
@dec23k@mastodon.ie @jmb@mastodon.me.uk @1password@1password.social For me it’s the posts themselves feeling on the sloppy side. I wouldn’t necessarily mind good writing about AI content.
1
0
0
0
Open post
Henrik Nyh @henrik@ruby.social
· 44mo ago
Replying to
@vitobotta@ruby.social @tekin@ruby.social If I’ve used it, it was a long time ago. Noting in the docs (very end of https://ruby-doc.org/core-2.4.1/Kernel.html#method-i-sprintf) that it also supports I18n style %{} and that the %<> form lets you add formatting flags.
ruby-doc.org

Module: Kernel (Ruby 2.4.1)

Module : Kernel - Ruby 2.4.1

3
0
1
0
Open post
Henrik Nyh @henrik@ruby.social
· 4mo ago

Spent some time today reviewing a high-vibe PR for our ancient monolith.

Reminded me that code as communication over time is really important in a long-lived project. Both for humans and, I suspect, AI.

Via the right abstractions, the right DRY or duplication, commit messages that capture the "why" and not just the "what".

Even before AI, many tasks were much easier if you disregarded all those things and just patched on some more code, and did not stop to make room for it first.

0
0
0
0
Open post
Henrik Nyh @henrik@ruby.social
· 4mo ago

Our Criterion Closet Movie Club at work continues.

This week’s short is ”Hotel Monterey” (1973) which I saw described somewhere as *maybe* more fun than watching paint dry. A true tour-de-force-myself-to-watch.

Quite like what I’ve seen of the main movie so far, though! ”Cléo from 5 to 7” (1962). https://letterboxd.com/film/cleo-from-5-to-7/

I like having some social pressure to watch stuff I otherwise wouldn’t. Some is for me and the rest (*cough* Cassavetes *cough*) is at least fun to discuss.

Cléo from 5 to 7 (1962)
letterboxd.com

Cléo from 5 to 7 (1962)

Agnès Varda eloquently captures Paris in the sixties with this real-time portrait of a singer set adrift in the city as she awaits test results of a biopsy. A chronicle of the minutes of one woman’s life, Cléo from 5 to 7 is a spirited mix of vivid vérité and melodrama, featuring a score by Michel Legrand and cameos by Jean-Luc Godard and Anna Karina.

0
0
0
0
Open post
Henrik Nyh @henrik@ruby.social
· 4mo ago

This might be slightly crazy, but today I tried having Claudes amend unpushed commits as savepoints, as a poor man's worktree, letting me work closer to the speed of thought.

Instead of blocking on making change B because Claude is still churning away at change A, I instruct the A Claude to commit it with some given message. And I do the same for B. Then if I make further changes for A, I have it amend that commit.

If I want to change the commit message, I tell it what to change it to.

0
2
0
0
Open post
Henrik Nyh @henrik@ruby.social
· 5mo ago
Replying to
@mwichary@mastodon.online IIRC @tuple@mastodon.social has a big ”ship it” stamp… and confetti?
0
0
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 07:13:34 UTC