Earlier quoted context omitted.
How do you know that?
Here's a paper from MIT that covers how this could be resolved in an interesting fashion: https://hanlab.mit.edu/blog/streamingllm The AI field is reusing existing CS concepts for AI that we never had hardware for, and now these people are learning how applied Software Engineering can make their theoretical models more efficient. It's kind of funny, I've seen this in tech over and over. People discover new thing, the…
Claude Sonnet 4 now supports 1M tokens of context
211–220 of 706 posts
Re: Claude Sonnet 4 now supports 1M tokens of context
#212Earlier quoted context omitted.
Sorry -- I keep seeing this being used but I'm not entirely sure how it differs from most of human thinking. Most human 'reasoning' is probabilistic as well and we rely on 'associative' networks to ingest information. In a similar manner - LLMs use association as well -- and not only that, but they are capable of figuring out patterns based on examples (just like humans are) -- read this paper for context: https://ar…
I'm not sure if I would say human reasoning is 'probabilistic' unless you are taking a very far step back and saying based on how the person lived, they have ingrained biases (weights) that dictates how they reason. I don't know if LLMs have a built in scepticism like humans do, that plays a significant role in reasoning. Regardless if you believe LLMs are probabilistic or not, I think what we are both saying is cont…
Re: Claude Sonnet 4 now supports 1M tokens of context
#213Earlier quoted context omitted.
> This week, I used it to write ESP32 firmware and a Linux kernel driver. I'm not meaning to be negative at all, but was this for a toy/hobby or for a commercial project? I find that LLMs do very well on small greenfield toy/hobby projects but basically fall over when brought into commercial projects that often have bespoke requirements and standards (i.e. has to cross compile on qcc, comply with autosar, in-house bu…
This is my experience too. Also, their propensity to jump into code without necessarily understanding the requirement is annoying to say the least. As the project complexity grows, you find yourself writing longer and longer instructions just to guardrail. Another rather interesting thing is that they tend to gravitate towards sweep the errors under the rug kind of coding which is disastrous. e.g. "return X if we don…
Then don't let it, collaborate on the spec, ask Claude to make a plan. You'll get far better results
https://www.anthropic.com/engineering/claude-code-best-pract...
Re: Claude Sonnet 4 now supports 1M tokens of context
#214Re: Claude Sonnet 4 now supports 1M tokens of context
#2151M of input... at $6/1M input tokens. Better hope it can one-shot your answer.
Re: Claude Sonnet 4 now supports 1M tokens of context
#216Earlier quoted context omitted.
How do you keep the context.md updated as the code changes?
I tell Claude to update it generally but you can probably use a hook
Re: Claude Sonnet 4 now supports 1M tokens of context
#217Re: Claude Sonnet 4 now supports 1M tokens of context
#218Earlier quoted context omitted.
> This week, I used it to write ESP32 firmware and a Linux kernel driver. I'm not meaning to be negative at all, but was this for a toy/hobby or for a commercial project? I find that LLMs do very well on small greenfield toy/hobby projects but basically fall over when brought into commercial projects that often have bespoke requirements and standards (i.e. has to cross compile on qcc, comply with autosar, in-house bu…
I work in FAANG, have been for over a decade. These tools are creating a huge amount of value, starting with Copilot but now with tools like Claude Code and Cursor. The people doing so don’t have a lot of time to comment about it on HN since we’re busy building things.
Re: Claude Sonnet 4 now supports 1M tokens of context
#219Earlier quoted context omitted.
LLMs (current implementation) are probabilistic so it really needs the actual code to predict the most likely next tokens. Now loading the whole code base can be a problem in itself, since other files may negatively affect the next token.
No, it doesn’t, nor do we. It’s why abstractions and documentations exist. If you know what a function achieves, and you trust it to do that, you don’t need to see/hold its exact implementation in your head.