What makes Claude Code so damn good
231–240 of 322 posts
Re: What makes Claude Code so damn good
#232Anywhere to check?
Re: What makes Claude Code so damn good
#233What 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.
Re: What makes Claude Code so damn good
#234[flagged]
Re: What makes Claude Code so damn good
#235I’d be curious to know what MCPs you’ve found useful with CC. Thoughts?
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
#236Earlier 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.)
Long term memory is its training data.
Re: What makes Claude Code so damn good
#237Earlier 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.
Re: What makes Claude Code so damn good
#238So, 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?
Re: What makes Claude Code so damn good
#239Re: What makes Claude Code so damn good
#240`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)
`