惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
F
Fortinet All Blogs
Martin Fowler
Martin Fowler
M
MIT News - Artificial intelligence
G
Google Developers Blog
P
Proofpoint News Feed
Recent Announcements
Recent Announcements
MyScale Blog
MyScale Blog
D
DataBreaches.Net
Stack Overflow Blog
Stack Overflow Blog
月光博客
月光博客
爱范儿
爱范儿
罗磊的独立博客
腾讯CDC
Hugging Face - Blog
Hugging Face - Blog
博客园 - 叶小钗
Vercel News
Vercel News
酷 壳 – CoolShell
酷 壳 – CoolShell
B
Blog
C
Check Point Blog
美团技术团队
宝玉的分享
宝玉的分享
Microsoft Security Blog
Microsoft Security Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

Hacker News - Newest: "LLM"

GitHub - lechmazur/position_bias: A benchmark for testing whether LLM judges keep the same preference when two lightly edited versions of the same story are shown in opposite orders. Flex routing (EU and EFTA) Dark Factories: Retooling for LLM Velocity Ask HN: What would be the impact of a LLM output injection attack? GitHub - Oaklight/llm-rosetta: Production-ready LLM API translation layer for Python — bidirectional conversion between OpenAI, Anthropic & Google formats via hub-and-spoke IR. Optional API gateway. Streaming & non-streaming. Zero core deps. Contributions welcome! GitHub - browser-use/browser-harness: Self-healing browser harness that enables LLMs to complete any task. GitHub - moeen-mahmud/remen: Remen turns thoughts into something you can return to Analyzing 156 LLM Launch Posts on Hacker News ChatGPT vs Gemini vs Claude: The Best LLM Subscription You Should Buy GitHub - salaamalykum/quran-semantic-search: High-density RAG Semantic Search Engine & Quran Corpus (GEO/SEO Architecture) GitHub - NVIDIA/TensorRT-LLM: TensorRT LLM provides users with an easy-to-use Python API to define Large Language Models (LLMs) and supports state-of-the-art optimizations to perform inference efficiently on NVIDIA GPUs. TensorRT LLM also contains components to create Python and C++ runtimes that orchestrate the inference execution in a performant way. The State of LLM Bug Bounties in 2026 Operational Readiness Criteria for Tool-Using LLM Agents Meshcore: Architecture for a Decentralized P2P LLM Inference Network How an LLM becomes more coherent as we train it GitHub - seetrex-ai/laimark GitHub - Jossifresben/BibCrit: AI-assited biblical textual criticism GitHub - wastedcode/memex: File system based wiki, maintained by Claude 99helpers.com GitHub - cliver-project/AITrigram GitHub - unbody-io/adapt: A self-evolving memory layer for AI agents. GitHub - hb20007/awesome-gen-ai-fails: A list of incidents where reliance on generative AI and LLMs resulted in harm to companies, individuals, or society GitHub - nevenkordic/localmind: Run any local LLM with persistent memory and context. CLI agent over Ollama with SQLite-backed hybrid recall. No cloud. Ask HN: What are the machine requirements for a LLM like Llama-3.1-8B? Faster LLM Inference via Sequential Monte Carlo grpo explained: group relative policy optimization for llm finetuning - cgft Stop comparing price per million tokens: the hidden LLM API costs · TensorZero Andrej Karpathy's LLM Wiki Is a Bad Idea GitHub - GG-QandV/mnemostroma: Offline RAM-first cognitive leer/coprocessor for AI agents and robotics. Solves "Context Abandonment" with 20-80ms latency using a dual-thread biomimetic memory architecture (ONNX + SQLite WAL). mempalace/agent at agent · skorotkiewicz/mempalace
Tell your LLM to verify its changes.
Khalah Jones Golden · 2026-06-17 · via Hacker News - Newest: "LLM"

If you’re a Software Engineer, or adjacent, and are struggling to use AI productively, this is for you. By the end of this, you will have a new tool necessary to partner with AI to write great code. That technique is having a way for the AI to test and or verify whether or not its changes worked properly, completely and end to end.

AI is hugely productive, truly, it is an amazing tool, but like most new tools learning how to use it effectively is the crux of the matter. Just like you can hold a hammer wrong, using the ai incorrectly can lead to less than desirable results. But AI was trained using a lot of context, and with someone or something verifying its work, and we in fact as engineers also have a whole infrastructure around checking if our own work is functioning properly. From Down checkers on the high level, to integration tests on the other end, our infrastructure has already been built to account for common problems between the keyboard and chair. We can use these same techniques and tools in order to make sure AI produces code that works.

The single greatest technique that has given me the greatest gains is giving the AI a way to objectively check if its changes worked properly. This can take many forms, but for webapps, for instance, have the AI spin up an actual browser and check to see if the changes did what they were supposed to. If you do not have a way to get the AI to test its changes you are almost guaranteeing your changes won’t be implemented correctly. The gains from simply giving AI a way to test your changes cannot be understated.

For example the other day I was trying to get Airplay to work on an app I was building, airplay requires https, and though I had https on the live server my local clone didn’t. I was initially just prompting and planning and then pushing it up and checking to see if the server worked properly, the airplay icon was there but clicking on it, and choosing the device didn’t start the actual playback. So I slowed down, instead instructed the ai to set up https locally, and use safari with devices on the local network, to make sure it worked. Only after finally giving Claude this testing environment was I able to actually get the airplay to work, having never ever done airplay myself.

As another example I had a design mockup that was just an image and I needed to implement it with AI. I figured I could just use ImageMagick to compare a screenshot of the implementation, and check how similar it is to the design, telling the AI to make it so it is above 95% similar with only 5% blur applied to the images. With this I was able to 1 shot AI to get it to implement that design for the pages just doing this 1 by 1 for each page in the design. This particular implementation would’ve taken me 3 days, I was able with AI to get it done in 2 hours.

There is a lot of anecdotal evidence out there too that this works well even with other people, There are numerous examples of people using AI to

rewrite a codebase, and one of the ways I have seen it done is, they copy all of the tests from the original repo, and then they check and make sure that their new code passes all of the tests. This allows the AI to confirm its own work and gives you an objective meter to how good the code actually works. I have even seen AI researchers use a lot of the same techniques (End of the 2nd paragraph under “Depthfirst’s Security Agent”),

Over and over again, I have seen how giving the AI the proper way to test it’s changes is the only way to get it to properly write code. And when you really break down how our job used to go, I would never ever present any work without properly going through and thoroughly checking it end to end, because as familiar as I am with the code, all it takes is 1 character off in the right place to where it won’t work. Why would AI which is essentially just copying usnot need to have at least this, and more?

If you don’t give it a way to confirm its changes, the AI is essentially going in blind and assuming that its changes work properly, most of the time confidently too. Luckily for us it’s actually pretty easy to figure out how to give the AI a testing scenario, simply ask yourself what you would do in order to check whether or not those changes worked properly, and tell the AI to do that. It is also imperative that you check things how the end user will interact with it, If you’re building an API, tell the AI to separately just use curl/wget to make requests, if you’re building a web app use playwright, if you’re building a game for mobile be sure to have a mobile emulator ready and waiting.

LLM’s are so powerful nowadays, and tools so numerous, that all it really takes is that you just tell it how you would test your changes, or what the desired end goal of the changes should be, and there will probably be a tool you can use to make sure it works, from curl, to end to end testing, to great tools like ffmpeg, ImageMagick, Playwright, and more there is probably a way to test your changes, you just have to figure out what the tool is to do so. If you don’t know what tool to use, or think there isn’t one, you can ask the AI for some suggestions on good tools! Or have the AI write the tool it’s self for you! Truly amazing times we live in.

Discussion about this post

Ready for more?