Live data from Hacker News

What makes Claude Code so damn good

minusx.ai

231–240 of 322 posts

Re: What makes Claude Code so damn good

#233
post #23
post #5

What do people think of Google's Gemini (Pro?) compared to Claude for code? I really like a lot of what Google produces, but they can't seem to keep a product that they don't shut down and they can be pretty ham-fisted, both with corporate control (Chrome and corrupt practices) and censorship

For the web ui (chat)? I actually really like gemini 2.5 pro. For the command line tool (claude code vs gemini code)? It isn't even close. Gemini code was useless. Claude code was mostly just slow.

Yeah, the main strength of gemini-cli is being open-sourced and it still needs much polishing. I ended up building my own web-based interactive agent based on gemini-cli [1] out of frustration.

[1] https://github.com/lifthrasiir/angel

Re: What makes Claude Code so damn good

#235
post #68

I’d be curious to know what MCPs you’ve found useful with CC. Thoughts?

One area of improvement is being able to plug the github issues.

I run into bugs which are not documented in documentation or anywhere except github issues.

Is it legal to search github issues using LLM? if yes how?

Re: What makes Claude Code so damn good

#236
post #63

Earlier quoted context omitted.

Overall I would agree with you, but I start feeling that this „iron law“ isn’t as simple as that. After all, humans have limited „context window“ too — we don’t remember every small detail on a large project we have been working on for several years. Loose coupling and modularity helps us and can help LLM to make the size of the task manageable if you don’t ask it to rebuild the whole thing. It’s not the size that ma…

Humans have a limited short-term memory. Humans do not literally forget everything they've ever learned after each Q&A cycle. (Though now that I think of it, I might start interrupting people with “SUMMARIZING CONVERSATION HISTORY!” whenever they begin to bore me. Then I can change the subject.)

the "context" is the short term memory equivalent of LLM.

Long term memory is its training data.

Re: What makes Claude Code so damn good

#237

Earlier quoted context omitted.

I've used Claude Code, Cursor, and Copilot is Vscode and I don't "know" that Claude Code is better apart from the fact that it runs in the terminal, which makes it a little faster but less ergonomic than tools running inside the editor. All of the context tricks can be done with Copilot instructions as well, so I simply can't see how Claude Code is superior.

For code generation, nothing so far beats Opus. More likely than not it generated working code and fixed bugs that Gemini 2.5 pro couldn't solve or even Gemini Code Assist. Gemini Code Assist is better than 2.5 pro, but has way more limits per prompt and often truncates output.

for me gemini 2.5 pro with thinking tokens enabled blows Opus out of the water for "difficult problems".

Re: What makes Claude Code so damn good

#238
post #232

So, what great new products or startups have these amazing coding agents helped create so far (and not on the AI supply side). Anywhere to check?

You really should not check that... I saw some dude on reddit saying that you can build your own saas in 20 days and launch and sell it. I checked out some of his; Claude Code can do that in a few hours. So can I without AI as I have a batteries included framework ready that has all the plumbing done. But Claude can do those from scratch in hours. So 1 day with me doing some testing and fixing. That is not a product or a startup: it's a grift. But glory to him for getting it done anyway. Not many people launch and then actually make a few bucks.

Re: What makes Claude Code so damn good

#239
What's the best current cli (with a non interactive option) that is on par with Claude code but can work with other llms like ollama, openrouter etc? I tried stuff like aider but it cannot discover files, the open source gemini one but it was terrible; what is a good one that maybe is the same as CC if you plug in Opus?

Re: What makes Claude Code so damn good

#240
I am curious if any good existing solution exist for this tool:

`Tool name: WebFetch Tool description: - Fetches content from a specified URL and processes it using an AI model - Takes a URL and a prompt as input - Fetches the URL content, converts HTML to markdown - Processes the content with the prompt using a small, fast model - Returns the model's response about the content - Use this tool when you need to retrieve and analyze web content`

I came up with this one:

`import asyncio from playwright.async_api import async_playwright from readability import Document from markdownify import markdownify as md

async def web_fetch_robust(url: str, prompt: str) -> str: """ Fetches content from a URL using a headless browser to handle JS-heavy sites, processes it, and returns a summary. """ try: async with async_playwright() as p: # Launch a headless browser (Chromium is a good default) browser = await p.chromium.launch() page = await browser.new_page()

            # --- Avoiding Blocks ---
            # Set a realistic User-Agent to mimic a real browser
            await page.set_extra_http_headers({
                'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36'
            })

            # Navigate to the URL
            await page.goto(url, wait_until='networkidle', timeout=15000) # wait_until='networkidle' is key

            # --- Extracting Content ---
            # Get the fully rendered HTML content
            html_content = await page.content()
            await browser.close()

            # --- Processing for Token Minimization ---
            # 1. Extract main content using Readability.js
            doc = Document(html_content)
            main_content_html = doc.summary()

            # 2. Convert to clean Markdown
            markdown_content = md(main_content_html, strip=['a', 'img']) # Strip links/images to save tokens

            # 3. Use the small, fast model to process the clean content
            # summary = small_model.process(prompt, markdown_content) # Placeholder for your model call

            # For demonstration, we'll just return a message
            summary = f"A summary of the JS-rendered content from {url} would be generated here."

            return summary

    except Exception as e:
        return f"Error fetching or processing URL with headless browser: {e}"
# To run this async function # result = asyncio.run(web_fetch_robust("https://example.com", "Summarize this.")) # print(result) `
Post reply on HN