HNHacker News
TopNewBestAskShowJobs

weeksie

3,253 karma · joined August 4, 2009

https://www.scottyweeks.com — blog/writing

https://substack.scottyweeks.com — serial fiction

http://pfa.nyc — code blog/consulting site

@scottyweeks on twitter

submissionscomments
weeksie··on OpenAI reduces Codex Model Context Size from 372k to 272k
You just need good compaction and a memory system with decent project layout and documentation. If you don't have that 1M tokens won't really save you either.
weeksie··on Show HN: Jido 2.0, Elixir Agent Framework
Very eager to read through your code! I read the first version and incorporated several of its ideas into our own internal elixir agent framework. (We make use of your ReqLLM package, thanks much for that!)

Congrats on the release!

weeksie··on Anti-aging injection regrows knee cartilage and prevents arthritis
in mice
weeksie··on Ask HN: How are you LLM-coding in an established code base?
Most of the team uses:

- 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.

weeksie··on The current state of LLM-driven development
Yet another developer who is too full of themselves to admit that they have no idea how to use LLMs for development. There's an arrogance that can set in when you get to be more senior and unless you're capable of force feeding yourself a bit of humility you'll end up missing big, important changes in your field.

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.

weeksie··on CEOs say AI is just a tool to help workers, but our jobs are already on the line
Another way to look at this is that using LLMs and agents in your business function takes a while to master. It's a skill and it's a good move to push teams to incorporate AI into their workflows before immediately reaching for a new hire. There will be job functions that will be eaten away, I'm sure, but Jevons and his paradox are still undefeated.
weeksie··on Changes since congestion pricing started in New York
I live in Manhattan with a kid and I love not needing a car. I walk my daughter to school and I walk to work from there. It's great.
weeksie··on Creating Bluey: Tales from the Art Director
Funny. I lived in Seattle for 5 years before I moved to Sydney, where I lived for 5 years. That was a different era though, tech wasn't the industry it is now and the internet still felt new. I moved down in 2003 and my American accent helped me land a job I wasn't qualified for (having self taught myself some php and java in Seattle, mostly working as a bartender though). In 2005 I started a small software shop with some friends. Back then (2003) the Ruby user's group was too small to get a reservation at a pub so we'd have to partner up with the Smalltalk guys. Rails came out a year or so later and that changed.

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.

weeksie··on The Wright brothers invented the airplane, right? Not if you're in Brazil
The Kiwis too have their own "invented the airplane" guy (Pearse?) Seems a lot was happening at that point in history.
weeksie··on Introducing command And commandfor In HTML
This is beautiful.
weeksie··on The housing theory of everything (2021)
It's more expensive because the tax treatment is better. You really have no idea what you're talking about.
weeksie··on The housing theory of everything (2021)
If a city could grow economically by simply building more housing that would be quite the discovery. A perpetual motion machine!
weeksie··on The housing theory of everything (2021)
What a weird argument. There are many, many apartments in New York that people want to live in so badly that they'll pay millions upon millions of dollars to do so.
weeksie··on The Man in the Midnight-Blue Six-Ply Italian-Milled Wool Suit
If you've not read Absurdistan or Lake Success or any of Shteyngart's other novels, then you really should. He's one of our best living authors.
weeksie··on Show HN: I Created ErisForge, a Python Library for Abliteration of LLMs
Check out Robert Anton Wilson (The Illuminatus Trilogy), you're in for a treat -- the references above were to Discordianism

* https://en.wikipedia.org/wiki/The_Illuminatus!_Trilogy * https://en.wikipedia.org/wiki/Principia_Discordia

weeksie··on Writing Composable SQL Using Knex and Pipelines
1. You certainly need to know SQL 2. Composition is very different than concatenation and the differences become apparent as a project increases in complexity 3. I'd recommend checking out the current SOTA, especially with kysely (or Ecto if you ever get into Elixir projects)
weeksie··on Writing Composable SQL Using Knex and Pipelines
I've been at it for a bit over 25 years as well and have worked on everything from telco billing projects to complex consumer applications. Query builders and ORMs are not the same thing, and it's odd that you conflate them.

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.

weeksie··on Writing Composable SQL Using Knex and Pipelines
Slonik does _not_ make it possible (let alone trivial) to write composable queries. You're just doing string concatenation and string concatenation will bite you when things get complex enough.

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.

weeksie··on Writing Composable SQL Using Knex and Pipelines
I'm using kysely with a database that has quite a few complex functions, etc. Lots of queries that require CTEs and so on. It's fantastic. Type safety with the codegen is amazing and catches a tremendous amount of simple bugs and typos which are super easy to make in raw SQL strings.

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.

weeksie··on US weighs Google break-up in landmark antitrust case
By the time they break them up search will be less relevant than ever. Barn door/horse, etc.
weeksie··on Ruby Meetups
Had a flashback to twenty odd years ago in Sydney when there weren't enough Rubyists to get a reservation at the pub for a meetup so we had to team up with the Smalltalk guys. Ahhh, different times.
weeksie··on Declarative Programming with AI/LLMs
I am not convinced by the utility in this case. I'm well aware of low code and no code problems, but I am less convinced that the same principles apply to LLM code generation.

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.

weeksie··on Declarative Programming with AI/LLMs
Software specification documents will, as they say, rise in status. The kind of specification outlined in this article misses the mark–why would we use anything but actual natural language? That said, there will be real returns to structuring specifications so that they are actionable and easy to navigate to achieve context, both kinds.
weeksie··on Sleep deprivation disrupts memory
I have issues with that as well, started taking magnesium (both normal, elemental magnesium and magnesium l-threonate) and it's made a world of difference for me.
weeksie··on The case against caffeine
The sales pitch the manufacturers give is that L-Threonate is better at getting through the blood/brain barrier so it is more effective for stuff like sleep. I do notice a difference between that and when I just take Magnesium Chloride but I haven't tried citrate so I don't know.
weeksie··on The case against caffeine
Tangental but as someone who used to have sleep issues but has no intention of ditching coffee, taking Magnesium L-Threonate has utterly transformed the quality of my sleep. Used to wake up a ton in the night, take forever to get to sleep, etc. and now I sleep extremely well and if I'm up in the night it doesn't take me long to get back to sleep.
weeksie··on Amazon is chopping jobs at its One Medical and Pharmacy units
People are saying One Medical isn't great but it's by far the best experience I've had with health care. Good comms, easy to get visits, walk-ins for bloodwork etc etc. It's just super convenient. I'm in NYC and maybe it's different elsewhere but it's totally worth the subscription for me.
weeksie··on Parallelizing HNSW (Hierarchical Navigable Small World) graphs
Nice one, Gavin!
weeksie··on Lanark: A Life in Four Books
Such a fantastic book. One of the most interesting novels I've ever read, from a structural point of view, not to mention it's extremely entertaining. I've got a signed first edition which I'm pretty proud of.

With Poor Things being made into a movie, maybe this book will get the attention it deserves.

weeksie··on Show HN: A custom GPT conversational language tutor that generates Anki cards
Thanks for the feedback! Bummer about the DALL-E thing, it does seem to be hit and miss. It's always interesting to see where prompts start to fall apart.

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.

Page 1 of 27Next →