frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

I've spent 4 months and $800/mo AI bill on Cursor, Claude Code. Later is better?

3•ianberdin•3h ago
Hi HN. There is a huge hype around Claude Code, and AI agents overall.

After four months with Cursor and one with Claude Code, I'm a super-user. I was paying up to $700/mo for Cursor on a usage basis before switching to their new subscription, and I've been on a paid Claude Code plan for the last month. I code every day with these tools, using Sonnet 4.0 and Gemini 2.5 Pro. This is a guide born from experience and frustration.

First, the verdict on Claude Code (the CLI agent). The idea is great—programming from the terminal, even on a server. But in practice, it's inferior. You can't easily track its changes, and within days, the codebase becomes a mess of hacks and crutches. Compared to Cursor, the quality and productivity are at least three times worse. It’s a step backward. But it is nice to make one-time prototypes without worrying about codebase.

Now, let's talk about LLMs. This is the most important lesson: models do not think. They are not your partner. They are hyper-sensitive calculators. The best analogy is time travel: change one tiny detail in the past, and the entire future is different. It’s the same with an LLM. One small change in your input context completely alters the output. Garbage in, garbage out. There is no room for laziness.

Understanding this changes everything. You stop hoping the AI will "figure it out" and start engineering the perfect input. After extensive work with LLMs both in my editor and via their APIs, here are the non-negotiable rules for getting senior-level code instead of junior-level spaghetti.

Absolute Context is Non-Negotiable. You must provide 99% of the relevant code in the context. If you miss even a little, the model will not know its boundaries; it will hallucinate to fill the gap. This is the primary source of errors.

Refactor Your Code for the AI. If your code is too large to fit in the context window (Cursor's max is 200k tokens), the LLM is useless for complex tasks. You must write clean, modular code broken into small pieces that an AI can digest. The architecture must serve the AI.

Force-Feed the Context. Cursor tries to save money by limiting the context it sends. This is a fatal flaw. I built a simple CLI tool that uses regex to grab all relevant files, concatenates them into a single text block, and prints it to my terminal. I copy this entire 150k-200k token block and paste it directly into the chat. This is the single most important hack for good results.

Isolate the Task. Only give the LLM a small, isolated piece of work that you can track yourself. If you can't define the exact scope and boundaries of the task, the AI will run wild and you will be left with a mess you can't untangle.

"Shit! Redo." Never ask the AI to fix its own bad code. It will only dig a deeper hole. If the output is wrong, scrap it completely. Revert the changes, refine your context and prompt, and start from scratch.

Working with an LLM is like handling an aggressive, powerful pitbull. You need a spiked collar—strict rules and perfect context—to control it.

Reveal – Read Eval Visualize Loop for Clojure – Adds Graphviz Viewer

https://vlaaad.github.io/reveal/feature/graphviz
1•vlaaad•2m ago•0 comments

Show HN: App helps you plan without burnout

https://getprostir.app/
1•skreep•5m ago•0 comments

Entr(1) – Run arbitrary commands when files change

https://eradman.com/entrproject/
1•tambourine_man•9m ago•0 comments

Lightning on Earth is sparked by a powerful chain reaction from outer space

https://www.livescience.com/physics-mathematics/lightning-on-earth-is-sparked-by-a-powerful-chain-reaction-from-outer-space-simulations-show
2•Bluestein•10m ago•0 comments

Trump's rewriting of reality on jobs numbers is chilling, but it could backfire

https://www.cnn.com/2025/08/04/politics/trump-job-numbers-federal-reserve-analysis
2•methuselah_in•11m ago•1 comments

The Origin of Cisco Systems

https://www.tcracs.org/tcrwp/1origin-of-cisco/
1•thunderbong•11m ago•0 comments

A Newbie Author's Substack

https://brightmoonandgentlebreeze.substack.com/
2•kitgrace•15m ago•0 comments

A man read 3599 books over 60 years

https://www.openculture.com/2025/08/a-man-read-3599-books-over-60-years-and-now-his-family-has-shared-the-entire-list-online.html
1•SanjayMehta•21m ago•1 comments

AIClient-2-API, a Practical Solution to Reduce LLM Usage Costs

https://github.com/justlovemaki/AIClient-2-API
1•justlikemaki•23m ago•1 comments

From Rust to TypeScript: A New Chapter for Prisma ORM

https://www.prisma.io/blog/from-rust-to-typescript-a-new-chapter-for-prisma-orm
2•KolmogorovComp•24m ago•0 comments

Python AI SDK

https://github.com/python-ai-sdk/sdk
1•lgrammel•26m ago•0 comments

German restaurants are deleting bad reviews [video]

https://www.youtube.com/watch?v=6bM_pXQg7e8
1•dsego•26m ago•0 comments

Promoting a Job Board? Jobboardsearch.com

1•rrmdp•29m ago•0 comments

Mastercard deflects blame for NSFW games being taken down

https://www.pcgamer.com/games/mastercard-deflects-blame-for-nsfw-games-being-taken-down-but-valve-says-payment-processors-specifically-cited-a-mastercard-rule-about-damaging-the-brand/
2•croes•31m ago•0 comments

Ordinal Folding Index: A Computable Metric for Self-Referential Semantics

https://arxiv.org/abs/2508.00151
1•WASDAai•39m ago•0 comments

Laptops, millions of dollars: US woman jailed over North Korea remote-work scam

https://www.theguardian.com/us-news/2025/aug/03/ninety-laptops-millions-of-dollars-us-woman-jailed-for-role-in-north-korea-remote-work-scam
3•mafro•43m ago•1 comments

Humanity May Reach Singularity Within Just 5 Years, Trend Shows

https://www.popularmechanics.com/technology/robots/a65562621/when-the-singularity-will-happen-trend/
1•Bluestein•46m ago•0 comments

Koalas vs. Crows: An Evolutionary Theory of Software

https://ajmoon.com/posts/koalas-vs-crows-an-evolutionary-theory-of-software
2•alex-moon•56m ago•0 comments

Measuring the Impact of AI on Experienced Open-Source Developer Productivity

https://arxiv.org/abs/2507.09089
1•spapas82•56m ago•0 comments

How I Built CSS's light-dark() in TypeScript

https://blog.robhameetman.com/p/how-i-built-csss-light-dark-in-typescript
1•rham•58m ago•0 comments

AI Visibility 101: How Brands Can Build AI Trust

https://lauradecastro.substack.com/p/21-ai-visibility-101-how-brands-can
1•larub_•1h ago•1 comments

Practical Static Analysis for Privacy Bugs

https://blog.brownplt.org/2025/08/03/paralegal.html
2•todsacerdoti•1h ago•0 comments

Splatshop: Efficiently Editing Large Gaussian Splat Models

https://momentsingraphics.de/HPG2025.html
1•ibobev•1h ago•0 comments

Encapsulation Beyond Syntax: Do Access Modifiers Still Matter?

https://www.lihil.cc/blog/encapsulation-beyond-syntax-do-access-modifiers-still-matter/
1•ibobev•1h ago•1 comments

Writing a storage engine for Postgres: an in-memory Table Access Method

https://notes.eatonphil.com/2023-11-01-postgres-table-access-methods.html
1•ibobev•1h ago•0 comments

Benchmark for Embedding Models

https://huggingface.co/spaces/embedding-benchmark/RTEB
1•fzliu•1h ago•0 comments

How to Avoid Personalized Pricing

https://www.pbs.org/newshour/economy/personalized-pricing-has-spread-across-many-industries-heres-how-consumers-can-avoid-it
4•jbrins1•1h ago•0 comments

Ask HN: ADHD and focus during meetings: what works for you?

3•ainiriand•1h ago•0 comments

A Cold War Kit for Surviving a Nuclear Attack

https://spectrum.ieee.org/civil-defense-cold-war
1•schmudde•1h ago•0 comments

Rethinking the Lakehouse

https://altertable.ai/blog/2025-07-30-rethinking-the-lakehouse
2•altertable•1h ago•0 comments