Weeknotes 204
25th May, 2025
“Randomly joined”
-
Still waiting on parcels. I live for parcels.
-
I was bored and retail therapy was the solution. Instead of doing something productive I spent the time trawling eBay and Vinted for the perfect Game Boy games. They will arrive, I’ll test them, and then never pick them up again.
-
TIL I learnt that you easily define a custom exception and have Phoenix automatically return a 404 for it.
Define the exception module.
defmodule Foo do defmodule BarError do defexception [:message] end end
And then implement
Plug.Exception
for it.defimpl Plug.Exception, for: Foo.BarError do def status(_exception), do: 404 def actions(_exception), do: [] end
Now when
Foo.BarError
is raised it will result in a 404 page being shown. -
If we want a different result, it seems like we need different leaders.
Siracusa on Apple.
-
fxn/namespaces.md, a nice write-up of the upcoming Ruby 3.5 feature, Namespaces. This sounds useful for Ruby.
-
Someone just randomly joined my Tailnet
I think I became an owner of an organisation I don’t own the domain of.
Tailscale is still awesome, but this is fairly worrying. Still the open and responsive comments from the Tailscale team are reassuring, and the defaults have been changed to stop this happening so easily.
-
Someone at the local Ruby meetup mentioned both LM Studio and Ollama this week, so I thought I would give them a go. This makes running large language models locally easy. Which models to run is another question.
-
Raycast added experimental support for interacting with local models via Ollama in their most recent update.
Local models allow you to run nearly any open source LLM locally, on your machine. Through our new integration with Ollama, you’ll now have access to more than 100 AI models from various providers ranging from small 135M to massive 671B parameter models.
I’m surprised they added support to run local models, but very please. Good timing.
-
I’m sad to report that despite my excitement for Season 4 of Love, Death & Robots so far it is quite disappointing compared to what came before 😢