Mendhak / Code

Lessons learned in moving on from Lightroom

Returning to photography from a post-pandemic malaise has been an invaluable experience that forced me to re-evaluate my workflow and tools. The main reason for the break was the ease with which I slipped into staying at home, and the decreased prevalence of dedicated cameras and photography communities. There’s a…

Enhancing Kobo with text-to-image generation and simple explanations

I’ve modified my Kobo device to generate images from passages of text that I highlight. I select a passage of text, choose the “Visualize” option from the menu, and that text is passed to Stable Diffusion. The output is then displayed on the Kobo’s screen.

Use KeePassXC to sign your git commits

Git 2.34 introduced a new feature: the ability to sign commits using an SSH key instead of just a PGP key. This means you can now manage your SSH key with KeePassXC for both git operations and commit signing.

The userscript that kept me fed

When the lockdown was announced in March 2020, there was a surge of traffic to online grocery sites. Although I had been an early adopter and frequent user of several online supermarkets, I found myself unable to access many of my usual shops due to the way they decided to…

Automatically hyperlinking the selected text when pasting a URL

A really nice quality of life feature I’ve noticed in some applications is the ability to automatically hyperlink some selected text when pasting a URL over it. To be clear this isn’t about automatically converting URLs in text into hyperlinks, rather when you have some text selected and you paste…

GraphQL’s poor developer experience

GraphQL’s touted advantages are numerous, including data retrieval efficiency, and flexibility that it can enable. The Apollo GraphQL page even calls its developer experience its greatest benefit, but this is only true from the API owner’s perspective, not the API consumer’s. That might explain why it sells so well to…

Hands on introduction to LLM programming for developers