Henrik Nyh

Swedish web developer in #Yorkshire, #UK.
I enjoy #Ruby (gasp!), #ElixirLang, #Vim, #Obsidian and #HomeAutomation.

2025-05-29

@benjamineskola Great read; thanks! I currently don’t do month-level stuff. Just a daily log, daily migration and a few one-off collections. Can see the point, though.

2025-05-29

@benjamineskola Nice :) The stationery enthusiasm led the way for me. Started with wanting to write more (but not too much…) by hand and then found a place for it in my life.

Is it straight to-do lists for you or something else? I’m reading the Bullet Journal book and stealing some ideas, though I haven’t done much of the actual journaling/reflection/goal setting parts. (Yet?)

2025-05-28

It’s an A6 soft-cover Leuchtturm notebook. I like the index, page numbers, having a page marker ribbon. Not entirely sure I like having TWO page markers, but I could cut one off. I think I like the dot grid.

The pen is an EnerGel Style body with a replacement 0.4 mm refill, because I’ve learnt I want a thin black gel ink that dries quickly. The pen body looks quite nice, and the weight is good for keeping the notebook open on a spread, but I don’t love the slightly mushy twist-action mechanism.

2025-05-28

I’ve experimented with pen and paper because I haven’t found a digital-only task management system that works for me, and because stationery is fun!

Started with a pad next to the bed and another on my desk for private vs work, but I didn’t like having it split and in fixed locations.

So now I lug this notebook and pen around, and I’m quite enjoying it! If I forget it in another room, I feel uncomfortable without my offboard memory.

If Obsidian is my second brain, I guess this is my third?

Vincent the tuxedo cat on a bed next to a small black notebook with a gold-colour pen attached.
2025-05-28

@m1foley @maxim Thanks for checking!

2025-05-28

@m1foley @maxim Ooo this looks very very nice! Does it handle changing from one line to multiple? Say replacing foo with foo\n.

2025-05-27

@m1foley @maxim Thanks! Got a video or example or similar? I use a :Qdo command sometimes, but it is a bit fiddly, and Vim’s quirky regex dialect still slows me down.

thepugautomatic.com/2012/07/pr

2025-05-25

@maxim Wondering now if I could come up with a flow where I have Claude put the relevant path(s) in some conventional file so I can then have shortcuts/automations to quickly get there in Vim. And something similar to open the corresponding page in my browser if relevant.

Even better ofc would be not needing myself as arbiter most of the time. Don’t have the trust and prompting skills to be there yet, though… might be different with code that’s tested more exhaustively.

2025-05-25

@maxim 👍 I could see myself using another editor (than Vim) for agentic renames/refactoring – I’ve considered it anyway for non-agentic global search-and-replace since it’s a Vim weak spot.

Depends a bit on the bigger workflow as well. This past week I had Claude do all the replaces and then I went through and validated each, which felt inefficient. Getting each in front of myself in an editor might speed things up. Though I could have Claude pause while I do so in a split.

2025-05-25

@maxim Yeah, this was Claude Code in a terminal! Don’t have much experience with other tools to compare it to, yet.

I briefly tried the Zed agent UI and rather liked how it visualised changes inside the actual editor, but in my very limited experiment with whatever model I picked (I think a ChatGPT one?), having it find the appropriate files itself didn’t work so well.

2025-05-24

Tried #Claude as spicy search-and-replace this week to extract ViewComponents in Rails, and it was pretty good!

At a guess my pair saved 0.5–1 day not doing manual text replacement, extracting 50-ish instances from inconsistent markup.

Learned e.g. that requesting side-quests offhand did not work well, and that it’s worth thinking through how it can verify correctness to further reduce manual effort.

2025-05-23

Enjoyable read whether you agree with the take or not: deplet.ing/the-copilot-delusio

So many good quotes, like

> Whispering half-formed solutions into the ears of juniors like a sick, twisted full-stack Rasputin.

and

> Vampires with SaaS dreams

2025-05-23

@obsidian Some things that I think would make working with slideshows easier:

- Command to start slideshow *at current slide* (based on where you’re editing), or *at last slide* if that’s easier. I quite often edit a slide and then want to see what it renders like.
- Even better: Open the slideshow in its own panel or a separate window – the closer to a live preview the better.

2025-05-22

Found ruby.social/@owais/11196014974 (@owais) which is rather similar.

That approach seems to predefine helpers that don’t hide the namespace. In this app, I prefer it hid. I think we might also want support for fallback namespaces, e.g. [Admin, AdminAndPublic].

We don’t nest components beyond an Admin/Public namespace, but it makes sense to support, of course!

Henrik Nyh boosted:
kepanokepano
2025-05-22

Obsidian Bases + Obsidian Web Clipper is the web archival tool I always wanted

replaces my read-it-later app and saves everything to local markdown files

2025-05-22

I’ve wanted more compact syntax for rendering #ViewComponent in #Rails and finally got around to making a proof-of-concept.

Before:
<%= render Admin::HeadingComponent.new(“Hi”) %>

After:
<%= c.heading “Hi” %>

Inspired by the `tag.strong “Hi”` Rails tag proxy.

Curious if others do anything similar!

gist.github.com/henrik/d053195

2025-05-22

@johnl My partner was asked at Tatton Park by a strange man if she was part of a strawberry society (presumably because she had a strawberry-shaped pouch dangling from her backpack).

2025-05-21

@olleolleolle I would enjoy a disambiguation note for Dōgen vs. Dregen!

2025-05-21

@kepano @obsidian Ooo consider me re-excited! Cheers.

2025-05-21

@obsidian Interesting! My first thought was ”finally I can stop considering Notion for DBs” but after skimming the help pages, it looks like this is a read-only view rather than something that would make it easier to add/edit a set of sibling pages? So more what Dataview does than what Notion DBs do?

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst