News for hackers. Stuff that matters.

prats226

Ask HN: Best PR Review Experience?

With lot of code being pushed, how are you guys managing PR reviews?- Only review by some other agent - Ask devs to push plans and review those - Review critical code paths yourself - Rely on integrations tests - Rely on manual testingJust looking for what people are following and best practices

( Read More... | 1 comment | on HN )
A good experiment would be to also try giving it access to latency traces so it can identify issues? Wrt coding agents, giving access to observability tools often improve coding/debugging ability for me
Re:Ask HN: Alternatives to Reducto? on Tuesday March 03, 2026 @02:04AM (#47229106)
Try https://docstrange.nanonets.com/ once, 10k docs you can use for free. Strong table performance. Do give feedback if any. Powered by bigger model compared to our open source one which is quiet popular on HF.
Re:Large-Scale Online Deanonymization with LLM Agents on Wednesday February 25, 2026 @05:56PM (#47159234)
If with LLM's you can deanonymize at scale, on a personal level, you should also be able to figure out what posts are leading to this deanonymization and remove them or modify them.
Instead of markdown -> LLM to get JSON, you can just train a slightly bigger model which you can constrain decode to give JSON rightaway. https://huggingface.co/nanonets/Nanonets-OCR2-3B

We recently published a cookbook for constrained decoding here: https://nanonets.com/cookbooks/structured-llm-outputs/

Re:LLM Structured Outputs Handbook on Friday January 16, 2026 @06:49PM (#46653751)
Nice, it would be good idea to develop CFG for this as well so can embed it into all these constrained decoding libraries
Re:LLM Structured Outputs Handbook on Friday January 16, 2026 @05:38PM (#46653173)
One of the authors here, will checkout the diagram link.

Every commercial model provider is adding structured outputs so will keep updating the guide.

Re:DeepSeek OCR on Monday October 20, 2025 @04:09PM (#45648665)
Re:DeepSeek OCR on Monday October 20, 2025 @04:08PM (#45648640)
Then you can just download finetuned version of same multi-modal foundation model that's trained on documents?
Re:DeepSeek OCR on Monday October 20, 2025 @04:05PM (#45648608)
Top 3 models on huggingface are all OCR models. Most automation projects involve documents where you need a model finetuned to understand all elements inside documents and provide grounding and confidence scores etc which is why these subset of models are gaining popularity
Re:What do Americans die from vs. what the news report on on Tuesday October 14, 2025 @07:42PM (#45586317)
Would be intersting to see where funding goes to fix these issues. News would heavily impact public opinion and hence political influence and public funding.
Yes, and its not just OCR (Optical Character Recognition), it understands layouts, captures signatures, charts, watermarks etc so way beyond just characters
Re:Designing Agentic Loops on Tuesday September 30, 2025 @05:10PM (#45431300)
It boils down to information loss in compaction driven by LLM's. Either you could carefully design tools that only give compacted output with high information density so models have to auto-compact or organize information only once in a while which eventually is going to be lossy.

Or you just give loads of information without thinking much about it, assuming models will have to do frequent compaction and memory organization and hope its not super lossy.

Re:Designing Agentic Loops on Tuesday September 30, 2025 @05:07PM (#45431255)
Reason I felt like they are closely connected are because for designing tools for lets say coding agents, you have to be thoughful of context engineering.

Eg linear MCP is notorious for giving large JSONs which quickly fill up context and hard for model to understand. So tools need to be designed slightly differently for agents keeping context engineering in mind compared to how you design them for humans.

Context engineering feels like more central and first-principle approach of designing tools, agent loops.

Re:Designing Agentic Loops on Tuesday September 30, 2025 @03:43PM (#45430301)
Context engineering is another name people have given to same skill?
You can always put automation for your google home to blast music at full volume at right time. And if you don't wake up from sound of music yourself, your neighbour will knock on your door for sure!
With google serving AI overviews, now an average search query should cost more? Compute is getting cheaper but also algorithms getting more and more complex, increasing compute?
Read long time ago that even SFT for conversations vs base model for autocomplete reduces intelligence, increases perplexity
Re:An LLM does not need to understand MCP on Monday August 11, 2025 @04:56PM (#44869370)
> But here’s the important part: LLMs don’t know how to use tools. They don’t have native tool calling support. They just generate text that represents a function call.

Its not a completely true statement. Eg openAI uses libraries like llguidance to get LLM to produce structured output, its not completely unguided free form text that happens to mimic a function call with parameters, truly.

Re:Hyrum's Law on Friday August 01, 2025 @02:26PM (#44760538)
This is super interesting to think about in LLM world where lot of software is getting replaced with LLM calls.

In terms of output of an LLM, there is no clear promise in the contract, only observable behaviour. Also the observable behaviour is subject to change with every update in LLM. So all the downstream systems have to have evals to counter this.

One good example is claude code where now people have started complaining them switching models effecting their downstream coding workflows.

Ask HN: Is OpenAI charging me for free tokens?

Was doing a deep dive on structured generation and basically in json mode, since structure is fixed, most tokens like keys of json and grammer tokens don't even need to be predicted via LLM. Openai would still charge for these tokens basis their pricing?https://lmsys.org/blog/2024-02-05-compressed-fsm/?ref=aidancooper.co.uk

( Read More... | 1 comment | on HN )
Re:Study mode on Tuesday July 29, 2025 @04:47PM (#44728096)
Can you give a specific example where at certain depth it has stopped becoming useful?
Re:Principles for production AI agents on Monday July 28, 2025 @04:39PM (#44715326)
I see that in tool calling, we usually specify just the inputs to functions and not what typed output is expected from function.

In DSL style agents, giving LLMs info about what structured inputs are needed to call functions as well as what are outputs expected would probably result in better planning?

https://www.jonathansapps.com/ Someone recently suggesting this and first thought I came to my mind is prevailing advice is to not show kids screen as long as possible
Re:Stop Building AI Tools Backwards on Wednesday July 23, 2025 @06:50PM (#44664854)
Interestingly, deepseek paper mentions RL with process reward model. However they mentioned it failed to align model correctly due to subjectivity involved in defining if the intermediate step in process is right or wrong
Isn't it because there is a difference in your field and other fields?

1) Scope - Other fields like law, medicine atleast are impacting one unit at a time, vs software which is impacting large number of users through your work. I am sure research interviews will go through similar process?

2) Feedback - Just basis past work, you would get a good sense of their aptitude. Very hard to do it in programming without you spending a lot of time going through their work?

3) Subjectivity - Wrt coding, very good way to get objective output in interview by getting other person to write code, can't do that in medicine for example?

Older »