Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Training a 4B model to produce 81% faster query plans than Postgres(rohanbansal.com ↗)
    32comments
  2. Xiaomi Mimo 2.6 live post-training dashboard(xiaomi.com ↗)
    26comments
  3. macOS 27 Golden Gate – Review(arstechnica.com ↗)
    22comments
  4. Small programming tricks(will-keleher.com ↗)
    151comments
  5. Reversing Factorio's RNG(gegell.github.io ↗)
    5comments
  6. Accurate Models of AMD Matrix Cores(arxiv.org ↗)
    5comments
  7. Breaking the 1.58-bit Barrier for Ternary LLMs(arxiv.org ↗)
    discuss
  8. Vectorized and performance-portable Quicksort (2022)(googleblog.com ↗)
    24comments
  9. How good are frontier models at physics?(arxiv.org ↗)
    13comments
  10. Dream-RSI: Recursive Self-Improvement through Evolving Worlds(arxiv.org ↗)
    48comments
  11. WalShadow: Sub-second Postgres replication to ClickHouse from physical WAL(clickhouse.com ↗)
    2comments
  12. Anatomy of a Texture(agentlien.github.io ↗)
    9comments
  13. Performance Improvements in .NET 11(devblogs.microsoft.com/dotnet ↗)
    3comments
  14. Mistral X Mozilla: Private, Multilingual AI Browsing(mistral.ai ↗)
    176comments
  15. AWS says it can't restore some data from mideast facilities struck by Iran(wsj.com ↗)
    7comments
  16. The Siberian Ice Maiden and the Scythian World(patrickwyman.substack.com ↗)
    1comments
  17. Show HN: An e-ink frame that hears birds and draws them as 1800s illustrations(github.com/arnegiacomo ↗)
    234comments
  18. Training Text-to-Image Models 3.6× Faster(linum.ai ↗)
    1comments
  19. Japan's book scene is moving from bookstores to libraries(untranslatedjp.substack.com ↗)
    1comments
  20. Anecdotally, programmers dislike "reduce"(evanhahn.com ↗)
    72comments
  21. Tell the speakers that you liked their talks(ohhelloana.blog ↗)
    69comments
  22. Show HN: Restarted – a 2026 remake of the classic 2015 startup generator(restarted.io ↗)
    1comments
  23. Show HN: AttaLambda: a language where types and data are made of untyped lambdas(attalambda.com ↗)
    discuss
  24. A warning about 'model welfare'(mustafa-suleyman.ai ↗)
    394comments
  25. Kyber (YC W23) Is Hiring a Forward Deployed Engineer(ycombinator.com ↗)
    discuss
  26. The DeepMind Institute(deepmind.com ↗)
    33comments
  27. Claude Cowork and chat are now one Claude(claude.com ↗)
    183comments
  28. How big are factorials?(thegreenplace.net ↗)
    30comments
  29. Randomized query complexity can beat certificate complexity(arxiv.org ↗)
    discuss
  30. Douglas Adams and the exterminated Doctor Who adventure(bbc.co.uk ↗)
    61comments

Reversing Factorio's RNG

52 pointsby 4d agogegell.github.io
5 comments
57m agoHN ↗

Yeah, no notes. It's remarkable.

TL;DR: Wired up an in-game predictor of RNG output and used it to only craft legendary items when RNG would line up to roll legendary.

From base to legendary at a suprisingly high rate. Look very closely at the video at the top of the post - what I was seeing didn't sink in until I had finished the article. Amazing.

30m agoHN ↗

I did an easier version of this in my college intro class. There was a class competition that involved rock paper scissors as a subcomponent, and ties were broken with randomness. You could rig Java’s prng so you would win all ties.

The prng was seeded with usec time at first call. I called the rng a bunch of times to harvest entropy, and scanned the plausible usec times to find the seed. Then I primed the prng so I would win ties.

Frankly, I assume I implemented this wrong, but the theory was there lol.

6m agoHN ↗

That’s not at all what the article proposed. The author constructed and transpose to the linear shift register coefficients and built a circuit network based on this to predict the next state (in the sandbox) and direct recipes.