Better HN
topnewbestaskshowjobs
Log inSign up

murphman

3 karma · joined Jul 24, 2026 (4mo ago) · 6 submissions

Submissions

comment 3mo ago · link · parent

Author here. I flipped the fleet to 100% spot to cut the GPU bill ~60%. The ASG launched a second instance and almost 9s later began terminating the health box that had survived all night. The replacement lasted 20 mins. Then, nothing for 4h37m.

Users never saw an error and I slept through it. The post is how both of these can be true plus the roughly 200 line supervisor that has handled spot for me since.

Happy to answer any questions!

2.

4 hours and 37 minutes of serving nothing(koleslaw.ai ↗)

4 points · by murphman · 3mo ago · 1 comment

3.

My "4-bit" quant was 6.2 bits per weight(koleslaw.ai ↗)

3 points · by murphman · 4mo ago · discuss

comment 4mo ago · link · parent

Ah, yes. It's funny how processes, methodologies, architectures, etc. can come back around as the technology landscape changes. Spec-driven development (SDD) has its ties back to a process called waterfall (pre-dates Agile).

I like it with some caveats

- Make sure the first iteration of the spec is small, small, small. The biggest mistake on specs is thinking they have to be complete before the first line of code gets written. Gets something you can run and test as fast as possible. - Keep the number of layers small at first. Only re-factor when you have to. Splitting things up has its own costs and that comes in complexity, payloads, http requests, runtimes, etc.

- SDD forces the shift-left model where you're going to have to face design choices very quickly. Those are can be tough architectural/feature questions that can grind your writing of the spec to a dead-stop. Don't let that stop you. Make a choice and keep moving.

I'll stop there. SDD has its place providing it doesn't become the focus of what you're building. Remember, the thing your building is a piece of software that supposed to do something. No one pays or cares about a spec ;).

comment 4mo ago · link · parent

Claude Code for me. I live in the terminal every single day / all day. I'm concurrently running two (or more) complex sessions across multiple projects.

Key tips that work for me are:

1. Use the AI model to create/refine your prompts. Take that enhanced prompt and start a new session with that enhanced, longer prompt

2. If you're capable, stub the project you're developing against. For example, if the frontend is React/Vue, use the scaffolding tools to stub out the project footprint and that's it! No changes other than what the scaffolding gives you. Once you have that project footprint, start your AI session in that directory

3. Encourage your model to follow strict TDD/BDD practices. Tests for the requirements are written first, they'll fail, and production code to make those tests pass comes second. By doing this, you'll incrementally move towards a cleaner, testable, and verifiable codebase

4. Write your AI-driven step-by-step (literally use those words) development plan to cap each iteration (aka step in the plan) at 100k tokens. Trust me, it works. I don't care how big the context window is - 100k is where the models start dropping things

If there's any point you take away from above it's number 1. Why are we writing prompts?! Let the thing that's good at text generation and has read the entire internet write the prompts! You can always refine what it gives you.

Addressing Claude Code vs local models: Claude Code is worth it but you don't have to pay for the Max Pro Plan. Start small and see how much you use. The local models will give mixed results and I encourage using those where applicable. Think about using a local model to take frontier-generated requirements and write integration tests against those requirements (TDD). See where that gets you? Swap the models out and try again.

I really hope this helps!