Welcome to Salas Blog

Personal thoughts, projects, and discoveries

Recent Posts

How I code today

Over the last three months I have written thousands of lines of code and yet I didn't write any of them, claude.ai wrote them. The world of programming, software engineering, computer science, in my opinion has been turned upside down in a matter of months. How I code today I've created a process within the world of Claude Code which I use to design, plan and implement code. Many people have created similar ones and so instead of describing mine, in detail, let me explain the general idea. The heart of it is a series of feature specs (in individual numbered markdown files) and for each feature spec a task list (in a different markdown file as well) . It's analogous to a kanban or scrum metho...

Read more →

The Throw Keyword was a Mistake - By Chris Fox

programming design

Originally Posted on: https://hackernoon.com/the-throw-keyword-was-a-mistake-l9e532di I came across this provocative piece arguing that the throw keyword was a mistake in language design, and while I don't fully agree with the conclusion, it raises some genuinely worthwhile caveats about exception handling that are worth sitting with. It immediately reminded me of Dijkstra's classic "Go To Statement Considered Harmful" — that same energy of challenging an accepted construct that most developers never think twice about.

GPT in 60 Lines of NumPy - by Jay Mody

ai

Interesting article: GPT in 60 Lines of NumPy | Jay Mody. Implementing a GPT model from scratch in NumPy. This is a detailed article including python source code. Ive skimmed it and it does explain a lot. But even without my being a neural net, ai, machine learning, gpt, chatgpt expert, i think i would learn a lot. Also the article is very well written presented. Note: written a few years ago before we know how far the "AI thing" was going to go!

Using Codex to create a Dockerfile from a running system

I've been dreading this: My robot's rasberry pi 5 was built months ago. I have been using it a lot, installing, updating and changing code and config. All my code is separately in github repos. But there is a lot more state than the github repos. It is in config files, pip installs, and so on. I started to worry about the scenario where the MicroSD on the Pi just bites the dust. This does happen, randomly, and occasionally. alt text I could make a full and faithful copy of the MicroSD. It's a little time consuming but not hard. I could start over with a clean Ubun...

Read more →

Applying the Universal Scalability Law to organisations | the morning paper

law paper scalability

I came across this fascinating piece by Adrian Colyer — Applying the Universal Scalability Law to organisations — and it genuinely reframed how I think about both technical systems and leadership. The core idea is that the Universal Scalability Law, typically used to model the throughput and latency of distributed systems, maps surprisingly well onto the dynamics of growing organisations. Colyer draws out four practical lessons for leaders: delegate ruthlessly, minimise the number of stakeholders involved in any given decision, be brutal about limiting how many things you work on concurrently, and ...

Read more →