Stephen
banner
stephenlewis.me
Stephen
@stephenlewis.me
Full-stack developer who secretly thinks we should be using HTML over the wire for most things.
Fun story. I just spent ten minutes writing a post about some recent LiveView woes, seeking advice about best practices.

Then the Elixir forums LiveView crapped out, told me that the draft is being edited in another window, and lost everything.

LiveView is awesome.

#elixirlang #phoenix
August 14, 2025 at 9:57 PM
I love making stupid little (useful) things like this. I should really do it more.

github.com/monooso/chan...
GitHub - monooso/changes: Small changes for make better life.
Small changes for make better life. Contribute to monooso/changes development by creating an account on GitHub.
github.com
July 24, 2025 at 7:07 PM
AI really fills a gap in my life for a temperamental assistant that I have to cajole with carefully chosen words into doing what I need, all the while hoping it's not having an off day.

Humans just don't cut it.
July 24, 2025 at 5:46 PM
Working with Claude Code is like parenting a particularly hyperactive child. No matter how diligent I am it still makes a complete mess for me to clean up, and if my attention wavers for a moment it's easier to just move house.
July 23, 2025 at 2:10 PM
Wait, I thought we don't negotiate with terrorists.
April 4, 2025 at 2:13 PM
Accept user submitted content, they said. It'll be helpful, they said.
January 1, 2025 at 9:11 PM
In which I learn that there is an upcoming "dark reimagining" of Pac-Man.
December 16, 2024 at 12:00 AM
It took me a good 90 minutes to solve the GCHQ Christmas Challenge, which I suspect means I'm not smart enough to work at GCHQ.

www.gchq.gov.uk/news/gchq-ch...
www.gchq.gov.uk
December 12, 2024 at 4:28 PM
I don't like to bash on Royal Mail, but dear god they're bad at hitting a delivery window.

Ready access to 10,000 post offices, 130,000 full-time employees, a fleet of 50,000 vehicles, and they're less reliable than some random zero-hours Amazon contractor with a Ford Fiesta and a smartphone.
December 10, 2024 at 3:46 PM
In an entirely unexpected turn of events, I published a blog post. That's two entire blog posts this year.

I can't possibly maintain such a pace, so you might as well make the most of it.

www.stephenlewis.me/blog/eloquen...

#laravel
Using Eloquent subqueries to randomise grouped results
Selecting random records from grouped data isn't as simple as it seems. Here's how to do it in Laravel, using Eloquent subqueries.
www.stephenlewis.me
December 10, 2024 at 2:02 PM
TIL that Omnivore, my preferred read later / feed reader service, was bought by 11Labs on 31st October, and is shutting down *today*.

No notification email, nothing. I found out because the mobile app stopped working.

I understand the reasons for shutting down, but this was very poorly handled.
November 30, 2024 at 3:45 PM