Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Fujitsu launches made-in-Japan next-generation CPU FUJITSU-MONAKA(global.fujitsu ↗)
    63comments
  2. One Year of Sponsored Servo Development(servo.org ↗)
    111comments
  3. Nvidia announces native GPU programming in Rust(nvidia.com ↗)
    341comments
  4. CCC invites all model citizens to 40C3(ccc.de ↗)
    45comments
  5. My temporary PHP fix from 2014 has nearly 20M installs. Today I'm deprecating it(jakeasmith.com ↗)
    61comments
  6. I had Gemini train its own replacement for $9(petervijeh.com ↗)
    28comments
  7. Keys Not Included: recovering the signing keys for US driver's license barcodes(ryan.science ↗)
    102comments
  8. GLM Built Its Own Inference Infrastructure(z.ai ↗)
    168comments
  9. The Relation Between Mathematics and Physics by Paul Dirac (1939)(cam.ac.uk ↗)
    33comments
  10. Better Vector Search for Long Documents: Chunking Inside Manticore Search(manticoresearch.com ↗)
    10comments
  11. Xiaomi Mimo 2.6 live post-training dashboard(xiaomi.com ↗)
    141comments
  12. Lucasart's Afterlife(togameforlife.wordpress.com ↗)
    32comments
  13. Online Z3 Guide(microsoft.github.io ↗)
    12comments
  14. Show HN: Share your AI Setup, Learn from others(mysetup.ai ↗)
    11comments
  15. Cloudflare/Security-Audit-Skill(github.com/cloudflare ↗)
    30comments
  16. I Don't Like LLMs(martinfowler.com ↗)
    83comments
  17. Show HN: I built a new version of my fun spatial 3D online meeting app(flat.social ↗)
    41comments
  18. Mastering Layout Engines in Graphviz: Dot vs. Neato vs. Twopi vs. Circo(visual-paradigm.com ↗)
    discuss
  19. Show HN: An e-ink frame that hears birds and draws them as 1800s illustrations(github.com/arnegiacomo ↗)
    246comments
  20. Comparison of Malloc() Algorithms(egbert.net ↗)
    29comments
  21. Backups Aren't Simple(filipovski.net ↗)
    186comments
  22. Breaking the 1.58-bit Barrier for Ternary LLMs(arxiv.org ↗)
    36comments
  23. Developing provably correct Rust code with Verus(amazon.science ↗)
    37comments
  24. HarnessTax: How Much Does the Harness Matter for Coding Agents?(harnesstax.github.io ↗)
    73comments
  25. Iran school bombing: grounds to believe US was behind atrocity, UN finds(theguardian.com ↗)
    118comments
  26. Neovim have a ~$800k Bitcoin donation sitting untouched since 2023
    205comments
  27. The engineering behind the US Strategic Petroleum Reserve(johnjwang.com ↗)
    99comments
  28. Training a 4B model to produce 81% faster query plans than Postgres(rohanbansal.com ↗)
    129comments
  29. Performance Improvements in .NET 11(devblogs.microsoft.com/dotnet ↗)
    100comments
  30. OpenSpec – A lightweight and configurable AI spec framework(openspec.dev ↗)
    87comments

Sixteen Locks Ought to Be Enough for Anybody

13 pointsby 2d agothebuild.com
4 comments
42m agoHN ↗

This whole website appears to be Claude slop articles about Postgres.

23m agoHN ↗

Build a users table with a primary key and twenty single-column indexes

That's pretty bad

(I have seen worse in production, and so have you)

but yes, yes I have.

4m agoHN ↗

I have a hard time believing acquiring so many locks you don't need is particularly harmless. Won't every single one of those introduce a memory fence? Which will then stall out every CPU core on the server.