Live data from Hacker News

1M context is now generally available for Opus 4.6 and Sonnet 4.6

claude.com

521–530 of 565 posts

Re: 1M context is now generally available for Opus 4.6 and Sonnet 4.6

#521

Earlier quoted context omitted.

Looking at this URL, typo or YouTube flip the si tracking parameter? youtu.be/rmvDxxNubIg?is=adMmmKdVxraYO2yQ

I just cut & pasted the share URL provided by YouTube. Strip out the query param if you like.

Ooh it’s always ?si=

So this…

  ?is=
…that’s new.

Think you got A/B tested. Flipping the parameter breaks a lot of RegEx. Interesting!

Re: 1M context is now generally available for Opus 4.6 and Sonnet 4.6

#522

Interesting, I’ve never needed 1M, or even 250k+ context. I’m usually under 100k per request. About 80% of my code is AI-generated, with a controlled workflow using dev-chat.md and spec.md. I use Flash for code maps and auto-context, and GPT-4.5 or Opus for coding, all via API with a custom tool. Gemini Pro and Flash have had 1M context for a long time, but even though I use Flash 3 a lot, and it’s awesome, I’ve neve…

This is interesting but don't you worry that you're competing with entire companies (e.g. Anthropic) and thus it's a losing battle? Since you're re-implementing a bunch of stuff they either do in their harness or have decided it was better not to do?

I think it's worth remembering that for any offering like that, it necessarily needs to be ~one-size-fits-all, while what you come up with.. doesn't.

They're solving a different problem than you. So I think it's very plausible that you could come up with something that, for your use case, performs considerably better than their "defaults".

Re: 1M context is now generally available for Opus 4.6 and Sonnet 4.6

#523
I've been using Claude Code directly on my production servers to debug complex I/O bottlenecks and database locks. The ability of the latest models to hold the entire project context while suggesting real-time fixes is a game changer for solo founders. It helped me stabilize a security tool I’m building when other agents kept hallucinating.

Re: 1M context is now generally available for Opus 4.6 and Sonnet 4.6

#525
post #192

Earlier quoted context omitted.

You probably just don't have the hang of it yet. It's very good but it's not a mind reader and if you have something specific you want, it's best to just articulate that exactly as best you can ("I want a test harness for , which you can find "). You need to explain that you want tests that assert on observable outcomes and state, not internal structure, use real objects not mocks, property based testing for invarian…

I absolutely have the hang of Claude and I still find that it can make those ridiculous mistakes, like replicating logic into a test rather than testing a function directly, talking to a local pg that was stale/ running, etc. I have a ton of skills and pre-written prompts for testing practices but, over longer contexts, it will forget and do these things, or get confused, etc. You can minimize these problems with TLC…

Don't know what to tell you. Sounds like you're holding it wrong. Based on the current state of things I would try to get better at holding it the right way.

Re: 1M context is now generally available for Opus 4.6 and Sonnet 4.6

#526

All while their usage limits are so excessively shitty that I paid them 50$ just two days back cause I ran out of usage and they still blocked from using it during a critical work week (and did not refund my 50$ despite my emails and requests and route me to s*ty AI bot.). Anyway, I am using Copilot and OpenCode a lot more these days which is much better.

What model(s) do you use with OpenCode? Can you use opus4.6 1m? Is it better in terms of usage if you use the same model?

Sonnet4.6/Haiku4.5 for simple stuff.

Re: 1M context is now generally available for Opus 4.6 and Sonnet 4.6

#527
post #509
post #196

Earlier quoted context omitted.

Slight tangent: you want to read the diff between your branch and the merge-base with origin/main. Otherwise you get lots of spurious spam in your diff, if main moved since you branched off.

In jj this is jj diff -f ‘fork_point(trunk() | @)’. I have an alias for it.

What's jj? In Git I also have an alias for diffing against the merge-base. (It's also what GitHub gives you by default in the webview.)

Re: 1M context is now generally available for Opus 4.6 and Sonnet 4.6

#528
post #192

Earlier quoted context omitted.

You probably just don't have the hang of it yet. It's very good but it's not a mind reader and if you have something specific you want, it's best to just articulate that exactly as best you can ("I want a test harness for , which you can find "). You need to explain that you want tests that assert on observable outcomes and state, not internal structure, use real objects not mocks, property based testing for invarian…

I mean I’ve been using AI close to 4 years now and I’ve been using agents off and on for over a year now. What you’re describing is exactly what I’m doing. I’m not seeing anyone at work either out of hundreds of devs who is regularly cranking out several thousand lines of pretty good working code in 30-45 minutes. What’s an example of something you built today like this?

Fair, that's optimistic, and it depends what you're doing. Looking at a personal project I had a PR from this week at +3000 -500 that I feel quite good about, took about 2 nights of about an hour each session to shape it into what I needed (a control plane for a polymarket trading engine). Though if I'm being fair, this was an outlier, only possible because I very carefully built the core of the engine to support this in advance - most of the 3K LoC was "boilerplate" in the sense I'm just manipulating existing data structures and not building entirely new abstractions. There are definitely some very hard-fought +175 -25 changes in this repo as well.

Definitely for my day job it's more like a few hundred LoC per task, and they take longer. That said, at work there are structural factors preventing larger changes, code review, needing to get design/product/coworker input for sweeping additions, etc. I fully believe it would be possible to go faster and maintain quality.

Re: 1M context is now generally available for Opus 4.6 and Sonnet 4.6

#529

Earlier quoted context omitted.

Well, out of all the workflows I have seen, this one is rather nice, might give it a try. I imagine if the context were being commited and kept up-to-date with CI would work for others to use as well. However, I'm a little confused on the autocontext/globs narrowing part. Do you, the developer, provide them? Or you feed the full code map to flash + your prompt so it returns the globs based on your prompt? Also, in ge…

- The ..-code-map.json files are per "developer folder," which would create too many conflicts if they were kept in Git. - I have two main globs, which are lists of globs: knowledge_globs and context_globs. Knowledge can be absolute and should be relatively static. context_globs have to be relative to the workspace, since they are the working files. - As a dev, you provide them in the top YAML section of the coder-pr…

Looking forward to some article/video

Re: 1M context is now generally available for Opus 4.6 and Sonnet 4.6

#530

Interesting, I’ve never needed 1M, or even 250k+ context. I’m usually under 100k per request. About 80% of my code is AI-generated, with a controlled workflow using dev-chat.md and spec.md. I use Flash for code maps and auto-context, and GPT-4.5 or Opus for coding, all via API with a custom tool. Gemini Pro and Flash have had 1M context for a long time, but even though I use Flash 3 a lot, and it’s awesome, I’ve neve…

My approach has been using static analysis to produce a Mermaid diagram of all Classes:Methods and their caller/callees.
Post reply on HN