3,253 karma · joined August 4, 2009
https://substack.scottyweeks.com — serial fiction
http://pfa.nyc — code blog/consulting site
@scottyweeks on twitter
Congrats on the release!
- Claude Code + worktrees (manual via small shell script)
- A root guardrails directory with a README to direct the agent where to look for applicable rule files (we have a monorepo of python etls and elixir applications)
- Graphite for stacked prs <3
- PR Reviews: Sourcery + Graphite's agent + Codex + Claude just sorta crank 'em, sourcery is chatty but it's gotten a lot better lately.
(editor-wise, most of us are nvim users)
Lots of iteration. Feature files (checked into the repo). Graphite stacks are amazing for unblocking the biggest bottleneck in ai assisted development which is validation/reviews. Solving the conflict hell of stacked branches has made things go much, much faster and it's acted as downward pressure on the ever increasing size of PRs.
It becomes farcical when not only are you missing the big thing but you're also proud of your ignorance and this guy is both.
I got back into web stuff when I moved to the states and have been up and down the stack many times since, but I have a ton of nostalgia for the stuff we did back then. Web 2 was an annoying new buzzword and we were still mostly writing software for kiosks, device drivers in C, bridging that with Lua, and using Flash for the interface b/c everybody else in the space was using shitty C++ Motif interfaces. . . . memory lane.
Imagine that Newtown and the Inner West are a lot different than when I lived there, but I do miss that time.
* https://en.wikipedia.org/wiki/The_Illuminatus!_Trilogy * https://en.wikipedia.org/wiki/Principia_Discordia
The project that I happen to be on now has a mid sized db (~70 ish) tables with quite a few custom functions and complex queries. I have been untangling a mess of slonik queries and there's an objective difference in the quality of the code and the maintainability between that and the kysely code that's replacing it.
The people I see drift toward things like slonik tend to be journeyman level developers and they often end up over their skis. Smart folks a lot of the time, but inexperienced.
There is also a big difference between an ORM and a query builder. Knex (and kysely, which is the only thing I'd use these days) allows you to write SQL that's just as complex as anything you'd write raw, complete with escape hatches if you need them. The criticisms of ORMs tend to be spot on, they are nice until they run into a wall, but that same thing simply does not apply to a robust query builder.
People talking about writing raw SQL have never maintained a large project. Once you start string concatting queries and trying to remember which table aliases are which you're halfway to writing a custom, buggy query builder without type safety. It's a trap for young players.
By all means use some formal language to describe LLM capabilities and so forth, but the most fantastic thing about using LLMs is that you can convey the why along with the what and get better results and the "why" does not lend itself to expression in formalized notation.
With Poor Things being made into a movie, maybe this book will get the attention it deserves.
One thing I find neat about this bot/convo format is that since it's so call-and-responsey, the bot doesn't tend to get lost.
The card gen was a bit last minute, I'll have to play with it some more and see if I can shake out the flakiness.