frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ask HN: Why doesn't Netflix add a “Theater Mode” that recreates the worst parts?

3•amichail•59m ago•1 comments

Ask HN: Opus 4.6 ignoring instructions, how to use 4.5 in Claude Code instead?

2•Chance-Device•3h ago•0 comments

Ask HN: Anyone Using a Mac Studio for Local AI/LLM?

49•UmYeahNo•1d ago•30 comments

Ask HN: Ideas for small ways to make the world a better place

21•jlmcgraw•1d ago•22 comments

Ask HN: Non AI-obsessed tech forums

34•nanocat•1d ago•28 comments

Ask HN: 10 months since the Llama-4 release: what happened to Meta AI?

45•Invictus0•1d ago•11 comments

Ask HN: Who wants to be hired? (February 2026)

139•whoishiring•5d ago•524 comments

LLMs are powerful, but enterprises are deterministic by nature

5•prateekdalal•13h ago•7 comments

Ask HN: Who is hiring? (February 2026)

313•whoishiring•5d ago•515 comments

AI Regex Scientist: A self-improving regex solver

7•PranoyP•1d ago•1 comments

Ask HN: Non-profit, volunteers run org needs CRM. Is Odoo Community a good sol.?

2•netfortius•21h ago•1 comments

Tell HN: Another round of Zendesk email spam

104•Philpax•3d ago•54 comments

Ask HN: Is Connecting via SSH Risky?

19•atrevbot•2d ago•37 comments

Ask HN: Has your whole engineering team gone big into AI coding? How's it going?

18•jchung•2d ago•14 comments

Ask HN: How does ChatGPT decide which websites to recommend?

5•nworley•1d ago•11 comments

Ask HN: Why LLM providers sell access instead of consulting services?

5•pera•1d ago•13 comments

Ask HN: Is there anyone here who still uses slide rules?

123•blenderob•4d ago•122 comments

Ask HN: Mem0 stores memories, but doesn't learn user patterns

9•fliellerjulian•3d ago•6 comments

Kernighan on Programming

170•chrisjj•5d ago•61 comments

Ask HN: Is it just me or are most businesses insane?

8•justenough•2d ago•7 comments

Ask HN: What is the most complicated Algorithm you came up with yourself?

3•meffmadd•1d ago•7 comments

Ask HN: Anyone Seeing YT ads related to chats on ChatGPT?

2•guhsnamih•1d ago•4 comments

Ask HN: Does global decoupling from the USA signal comeback of the desktop app?

5•wewewedxfgdf•1d ago•3 comments

We built a serverless GPU inference platform with predictable latency

5•QubridAI•2d ago•1 comments

Ask HN: Does a good "read it later" app exist?

8•buchanae•3d ago•18 comments

Ask HN: Have you been fired because of AI?

17•s-stude•4d ago•15 comments

Ask HN: Anyone have a "sovereign" solution for phone calls?

12•kldg•4d ago•1 comments

Ask HN: Cheap laptop for Linux without GUI (for writing)

15•locusofself•4d ago•16 comments

Ask HN: Any International Job Boards for International Workers?

2•15charslong•23h ago•2 comments

Ask HN: How Did You Validate?

4•haute_cuisine•2d ago•6 comments
Open in hackernews

Ask HN: How are you productively using Claude code?

24•nocobot•6mo ago
I tend to be sceptical when it comes to LLM based coding tools but many people seem to be raving about huge productivity gains which I wouldn’t mind as well.

However when trying cc it left me vey disappointed. For context I’m working on a relatively greenfield rust project and gave it tasks that I would consider appropriate for a junior level colleague like:

- change the return type of a trait and all it’s impls

- refactor duplicate code into a helper function

- replace some of our code with an external crate

it didn’t get any of them correct and took a very long time. Am I using the tool wrong?

How are you using cc or other agentic tools?

Comments

JaggerJo•6mo ago
Same, tried Claud code over the past month. Let it do different tasks.

It’s useful as an built-in quick docs / search that can spit out small code fragments.

Every time I gave it more space results were disappointing.

johnecheck•6mo ago
I've been using Claude Code to decent results. Its not 10xing my productivity but it can do tasks like that. I haven't done much to configure it, I just regularly clear the context and @reference the relevant files.

What language are you using?

runjake•6mo ago
The original post says Rust.

> I’m working on a relatively greenfield rust project

I haven't had good luck using LLMs with Rust, but it may just be me.

ktallett•6mo ago
It greatly depends on what I am doing. If I am using common libraries especially when using JS it is particularly handy, similar with Python. When you branch out into the more obscure it's accuracy and knowledge ends up being unsurprisingly limited.
perilunar•6mo ago
I used Cursor (with ChatGPT) for the first time last week to build two web apps and it worked well. Working results first go, then a few hours of tweaking and adding features. These were simple CRUD apps using PHP and SQLite on Apache. I had to clean up the front-end code a bit, but it all worked. I’m not strong on SQL, so it was neat to have all the database code working on the first pass, and helped me keep up the momentum and finish them, instead of getting bogged down and frustrated. Definitely plan to keep using Cursor, and try other AI tools.
bGl2YW5j•6mo ago
Also feeling let down by it.

Have been using it to build a DSL in JS. Greenfield. I’ve followed the commonly touted “plan, act, evaluate” approach; I’ve got it to generate a clear project vision, scope, and feature checklist. Then told it to refer to that for context. I’ve been descriptive and explicit in my prompting, way more so than previously.

It has gotten the broad strokes right, I’ve got an exceptionally barebones DSL, made up of 5 entities, working…just.

It has now started to spin its wheels on small issues and can’t fix them without breaking something else. The codebase isn’t even big (~8 main functions across a few files). Troubleshooting the code is difficult because it’s convoluted and I lack the same intuition for it I would have had I written it myself. I’ve decided to rewrite everything with less control ceded to the LLM.

When it works, it feels great. When it doesn’t, which is often, the spell is broken and I feel I’ve wasted a bunch of time and have not much to show for it.

whinvik•6mo ago
Maybe someone has better insights but what I have seen is that Claude Code is not amazing on greenfield. I mean it will generate something, which will probably work, but the solution can often be over-engineered, or hacky.

I think we have to build up enough code for it to start appearing like brownfield, before Claude knows how to engineer correctly. Which kind of makes sense if we view Claude Code as a junior engineer with infinite stamina.

I also actually like to spin up Claude Code and Gemini in parallel to see what each one comes up with. Gemini will often do the simpler approach, but not often fully featured, and my solution often ends up taking the 2 solutions and refining in Cursor to come up with the final solution.

Sevii•6mo ago
I recently used claude code and go to build a metric receiving service for a weather station project. I had it build all the code for this. It created the SQL statements, the handlers, the deployment scripts, the systemd service files, the tests, a utility to generate api keys.

I think you are using the wrong language to be honest. LLMs are best at languages like Python, Javascript and Go. Relatively simple structures and huge amounts of reference code. Rust is a less common language which is much harder to write.

Did you give claude code tests and the ability to compile in a loop? It's pretty good in go at least at debugging and fixing issues when allowed to loop.

richk449•6mo ago
How do you give cc the ability to compile in a loop?
sprobertson•6mo ago
simply tell it what command it should call to compile, or better yet add that info to Claude.md
OccamsMirror•6mo ago
I had a great experience with it refactoring a project to use more modern patterns. A Go project moving from a deprecated and unwieldy query builder to using SQLC and protobuf for UI types etc. It did a great job just working its way through the entire system.

Had less luck on generating new features. It's great for prototyping UI but I routinely end up writing it myself.

It's also quick to forget how I like to do things or what libraries and packages it should use. So I either have to keep reminding it or fix up the work myself. While I'm unsure whether it still ends up being quicker, that's really immaterial for me because it absolutely kills the enjoyment of the work.

rajkumarsekar•6mo ago
Totally get where you’re coming from. I had a similar first impression, it felt slow, and the output wasn’t great unless I hand-held it through every step.

What helped me was shifting how I use it. I don’t treat it like a junior dev anymore, I treat it more like a second brain. For example:

I use Claude Code to explore options before I commit to a design. I’ll ask it “what are 3 ways to abstract this logic?” and sometimes that alone gives me a better direction.

It’s pretty good at turning rough notes or comments into starter code or test cases. That saves time on boilerplate.

If I feed it a clean, self-contained chunk of code and ask for a targeted change (e.g., “convert this to async”), it often nails it. But yeah, across a codebase, not so much.

atleastoptimal•6mo ago
It's very good at refactoring, creating boilerplate, making big changes with moderate levels of precision.

Current LLM's at least a reasonable percentage of the time still get stuck on race conditions and bugs not obvious via static analysis. If you can explain the exact source of a bug to an LLM they can get it, but if there's a seemingly obvious solution that isn't the correct one, they will try to fix things the wrong way.

It's best to use AI in areas where a lack of specificity or precision isn't a major hinderance, and all abstraction is a closed loop that won't hurt you in the future due to not knowing how it works.

mdrzn•6mo ago
With Cursor for the last 6 months, and ClaudeCode for the last 2 weeks, I went from building one/two apps/websites a year for me and my friends, to launching a new MVP in a few days.

I now have 5-10 small services running, whatever "thing" I think I need I create it and self host it.

It's such a revolution.

bubblebeard•6mo ago
In my limited experience, it’s better to create a full plan for what you want first, then ask your agent to build pieces of it at a time. Larger plans tend to fail because of the complexity. I will ask it in some small detail to work on part a), while I create instructions for part b). I then review the result of a), before letting it continue with b), and so on. In my experience this has worked well, but you should always review the results very carefully of course.
lessurliu•6mo ago
I can't live without it now. I think its ability to develop a new project(I use it to build websites) from zero to one is very strong, but for refactoring old projects, it might need to get more familiar with the context first. You can open multiple treminal simultaneously to execute tasks in parallel. Also, I recommend using the ultrathink keyword - this is very useful when Claude Code needs to understand complex problems.
sometimes_all•6mo ago
The more open-source code the LLM has read (ie is in its training data), the better it will be. Rust is not a very popular language compared to others, so Claude might not be able to perform as well as it does with, say, Python or Javascript. Also, the more recent models might be better than the older ones.

I've been having fun with Claude Code and VSCode's agent. Any reasonably experienced engineer should be able to use it for a subset of languages without too many issues, but they definitely need to hydrate the context (eg. using Claude.md) and have a sensible set of system prompts set up. Good, well-written and broken-down-into-steps user prompts are non-negotiable.

jameshiew•6mo ago
I've barely tried Claude Code but looking to experiment with it as well after hearing a lot of good things about it. I've had good experiences with the GitHub Copilot agent in VS Code for working with Rust, specifically with Sonnet 4.

Refactoring duplicate code into a helper function should be achievable with current agents. To replace existing code with an external crate , you could try giving the agent access to a browser (e.g. playwright-mcp), and instructing it to browse the crate docs. For anything that involves using APIs that may be past the knowledge cutoff for the agent's model, it's definitely worthwhile to have some MCP tools on hand that'll let it browse for up-to-date info - the brave-search and context7 MCPs are good.

Atotalnoob•6mo ago
Could you share your mcp configuration? I am having trouble getting GitHub copilot to work with mcp.
jameshiew•6mo ago
This is my `mcp.json` in VS Code (requires `uvx` and `npx` to be available):

  {
   "servers": {
    "context7": {
     "command": "npx",
     "args": [
      "-y",
      "@upstash/context7-mcp"
     ],
     "type": "stdio"
    },
    "fetch": {
     "command": "uvx",
     "args": [
      "mcp-server-fetch"
     ],
     "type": "stdio"
    },
    "git": {
     "command": "uvx",
     "args": [
      "mcp-server-git"
     ],
     "type": "stdio"
    },
    "playwright": {
     "command": "npx",
     "args": [
      "@playwright/mcp@latest"
     ],
     "type": "stdio"
    },
    "brave-search": {
     "command": "npx",
     "args": [
      "-y",
      "@modelcontextprotocol/server-brave-search"
     ],
     "env": {
      "BRAVE_API_KEY": "${input:brave-api-key}"
     },
     "type": "stdio"
    }
   },
   "inputs": [
    {
     "type": "promptString",
     "id": "brave-api-key",
     "description": "Brave Data for AI API Key",
     "password": true
    }
   ]
  }
The Sonnet 4 agent usually defaults to using `fetch` for getting webpages, but I've seen it sometimes try playwright on it's own. It seems the brave-search MCP server is deprecated now, so actually it's probably not the best option as a search MCP (you also need to sign up for an API key), right now it works well though!