frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Learnings from 100K lines of Rust with AI (2025)

https://zfhuang99.github.io/rust/claude%20code/codex/contracts/spec-driven%20development/2025/12/01/rust-with-ai.html
15•pramodbiligiri•46m ago

Comments

staszewski•23m ago
It's almost guaranteed with agents you could do the same job with less than half of 100k lines. I don't know whats impressive in lines of code generated by agent.
ndr•19m ago
It just an anchor. If it were 50k would you say the same down to 25k? And if so how many more times would it apply?

The interesting thing is that it was manageable solo (in many ways it's _more_ manageable solo+AIs than with coworkers+(their)AIs), and in such a short amount of time.

torben-friis•18m ago
>Testing is the first layer of defense. My system now includes 1,300+ tests — from unit tests to minimal integration tests (e.g., proposer + acceptor only), all the way to multi-replica full integration tests with injected failures. See the project status.

I know LOC is a silly metric, but ~1300 tests for 130k lines averages out to a test per 100 lines - isn't this awfully low for a highly complex piece of code, even discounting the fact that it's vibecoded? 100 LOC can carry a lot of logic for a single test, even for just happy paths.

risyachka•10m ago
I may have missed it but are those tests written by person or generated? Otherwise how do you know they even test anything (like actually test, not appear to test)
kawogi•10m ago
IIUC only 50k LoC are non-test code, which improves the metric. Whether that's enough tests still depends on the code. If most are getters and setters, the coverage might be ok.
nilirl•18m ago
Is the idea of the runtime contracts similar to the idea of runtime validation? Or are they different in some way?
pramodbiligiri•3m ago
It is described in the "Code Contracts" section of the article: "Code contracts specify preconditions, postconditions, and invariants for critical functions. These contracts are converted into runtime asserts during testing but can be disabled in production builds for performance". The .NET framework article that he links to: https://learn.microsoft.com/en-us/dotnet/framework/debug-tra...

DMARC is now an IETF Proposed Standard: what's new in RFCs 9989–9991

https://dmarcwise.io/blog/new-dmarc-2026
1•matteocontrini•1m ago•0 comments

Map of Metal

https://mapofmetal.com/
1•robin_reala•3m ago•0 comments

Grokipedia selectively drawing on more right-leaning news sources, new study

https://www.tcd.ie/news_events/articles/2026/grokipedia-research/
1•giuliomagnifico•4m ago•0 comments

Guardian 100 best novels (stats and errors)

https://mpaldridge.github.io/blog/guardian-novels.html
2•dzdt•5m ago•0 comments

Casuarina Linux: A Glibc-Based Chimera Linux Derivative

https://casuarina.org/news/introducing-casuarina-linux/
2•goranmoomin•13m ago•0 comments

Qwen3.7-Max: The Agent Frontier

https://qwen.ai/blog?id=qwen3.7
2•kevinsimper•15m ago•0 comments

Real Signals or Artificial Stereotypes?

https://kucharski.substack.com/p/real-signals-or-artificial-stereotypes
1•edent•18m ago•0 comments

Chronify – extension+webapp that turns AI chats and files into dated timeline

https://chronify.life
1•bulyaki•19m ago•0 comments

Show HN: I fixed my AI goose tutor to stop punishing understanding

https://professorgoose.com/?version=2.0
3•zapseo•20m ago•2 comments

I wanted async/await but I got a concurrency model

https://blog.kulman.sk/i-wanted-async-await/
1•ig0r0•21m ago•0 comments

No way to parse integers in C

https://blog.habets.se/2022/10/No-way-to-parse-integers-in-C.html
1•konmok•22m ago•0 comments

Maps

https://fhoehl.com/maps
1•marukodo•23m ago•0 comments

48000 Samsung workers ready to strike

https://www.engadget.com/2177466/samsung-strike-union-workers-korea/
1•lccerina•27m ago•1 comments

Solar cells on vehicles can take the pressure off the grid in Europe

https://www.ise.fraunhofer.de/en/press-media/press-releases/2026/solar-cells-on-vehicles-can-take...
1•doener•28m ago•0 comments

Show HN: IResearch – C++ search that beat Lucene and Tantivy on their benchmark

https://github.com/serenedb/serenedb/tree/main/libs/iresearch
4•gnusi•29m ago•1 comments

The Cyber Reality States Don't Want to Admit

https://arunninghacker.substack.com/p/the-cyber-reality-states-dont-want
1•weeha•29m ago•1 comments

ConverterToMarkdown – Convert Docx/PDF/XLSX/HTML to Markdown In-Browser

https://convertertomarkdown.com
1•FValero•30m ago•0 comments

WordPress Migration in 2026 (from A to Z guide)

https://focusreactive.com/blog/wordpress-migration/
3•katyadrozd•31m ago•0 comments

Infrawise – Give Claude Code real infrastructure context via MCP

https://www.npmjs.com/package/infrawise
1•sidd-2704•33m ago•0 comments

"Stick" – A primitive/fun interactive demo of a tiny rig to animate layout

https://cosmiciron.github.io/layoutmaster/exclusion-assembly.html
1•zhxiaoliang•33m ago•1 comments

Tarotui – A tarot reading experience in the terminal

https://github.com/Tsukeruu/tarotui
1•bart__1•34m ago•0 comments

Love is to be invested in someone's continual expansion

https://www.henrikkarlsson.xyz/p/love-and-change
2•jger15•36m ago•1 comments

UniFi Network 10.4

https://blog.ui.com/article/introducing-unifi-network-10-4
1•janandonly•38m ago•0 comments

Open-source energy system model for the ENTSOE Ten-Year Network Development Plan

https://open-tyndp.openenergytransition.org/
1•lyoncy•44m ago•0 comments

Learnings from 100K lines of Rust with AI (2025)

https://zfhuang99.github.io/rust/claude%20code/codex/contracts/spec-driven%20development/2025/12/...
15•pramodbiligiri•46m ago•7 comments

Google Just Killed Search as We Know It

https://www.thestateofbrand.com/news/google-just-killed-search-as-we-know-it
3•taubek•47m ago•2 comments

Artist with no technical experience stumbles upon the next generation of LLMs

2•itakechops•50m ago•0 comments

Carbon: open-source DNA foundation models with training code and data pipeline

https://huggingface.co/spaces/HuggingFaceBio/carbon-demo
1•victormustar•52m ago•0 comments

Cities: Skylines Uses a Stock-Market Analogy to Influence Gameplay

http://jkm.dev/posts/cities-skylines-trading-market/
8•birdculture•55m ago•0 comments

How Big Tech is harnessing the data of Indian factory workers to train robots

https://scroll.in/article/1092960/how-big-tech-is-harnessing-the-data-of-indian-factory-workers-t...
1•theletterf•56m ago•0 comments