Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Claude discovers a novel enzyme system with CRISPR-like repeats(anthropic.com)
    308comments
  2. Fixing the Portobello Police Station Clock(pointinthecloud.com)
    74comments
  3. A brief history of Windows scroll bar shortcuts(devblogs.microsoft.com/oldnewthing)
    35comments
  4. Italian parliament votes for return to nuclear energy(apnews.com)
    239comments
  5. LensVLM: Compressing long context as images, expanding only relevant pages(huggingface.co)
    discuss
  6. Gemini 3.8 text-to-speech(blog.google)
    105comments
  7. Jev in 25 Lines of Python(nobodywho.ai)
    190comments
  8. Radicle: Disclosure of Vulnerability in the Network Protocol(radicle.dev)
    36comments
  9. Tokens too cheap to meter(jyn.dev)
    160comments
  10. DoorDash Spent $1.4M Trying to Stop Mamdani from Becoming Mayor. Now We Know Why(theintercept.com)
    74comments
  11. Show HN: An atlas of system designs with interactive architecture diagrams(atlas-sysdes.vercel.app)
    5comments
  12. I don't want the details(michaelheap.com)
    176comments
  13. OpenAI Medicare Data Breach(smh.com.au)
    4comments
  14. Z80 REPL (2018)(abagames.github.io)
    18comments
  15. Claude Code reads AGENTS.md only when telemetry is on [fixed](szypowi.cz)
    238comments
  16. Stripe's Knowledge AI Platform(stripe.dev)
    99comments
  17. Once Claude can measure something, it can make it faster(claude.dev)
    70comments
  18. UK military jamming other nations' satellites to defend itself, BBC told(bbc.com)
    158comments
  19. Making Tailscale Faster(tailscale.com)
    discuss
  20. Swap, ZRAM, Zswap and Hibernate on NixOS(matthewbrunelle.com)
    3comments
  21. Show HN: I built a post-mortem debugger for native Windows x64/x86 crashes(forensicdbg.com)
    discuss
  22. Show HN: Conway's Game of Life in boot sector(github.com/0xax)
    3comments
  23. Seattle City Council votes to ban surveillance pricing in sale of groceries(consumerreports.org)
    137comments
  24. QuestDB (YC S20) Is Hiring a Sales Engineer(questdb.com)
    discuss
  25. Strands Harness(strandsagents.com)
    89comments
  26. Web-based IBM 1620 emulator and IPL-V from 1963(github.com/pkimpel)
    8comments
  27. Transit rewards(waymo.com)
    310comments
  28. GPT-6 Sol and Luna(openai.com)
    820comments
  29. 28% of job postings on company career sites have been open over 90 days(unlisted.careers)
    262comments
  30. What California is learning from solar panels built over irrigation canals(kqed.org)
    683comments

Show HN: Conway's Game of Life in boot sector

17 pointsby 2d agogithub.com
3 comments
Hello HN!

On these weekends, I was sitting and thinking about where our industry is going, and how fun it was earlier, when we wrote more code than chat messages. The thoughts quickly turned into a wish to build something like we did earlier. In my case, it ended up as something much "earlier" than I had in mind initially...

So, Conway's Game of Life running from a 512-byte x86 boot sector. Maybe you will find it interesting. I tried to comment the code as much as possible, which might be especially useful if you are learning assembly.

Have fun!

1h agoHN ↗

One of my favorite simulations! Thanks for sharing, hope the journey was enjoyable and you do more.

Love the use of VGA memory for the simulation grid. Were you able to double buffer, or how did you handle holding the previous state while processing the next one?

59m agoHN ↗

Yes, it was really fun!

Yes, doubled if you meant... To calculate the next generation I dumped the current (vga memory) after the grid is rendered to a buffer in memory and calculating the next one right to video memory back.

51m agoHN ↗

It's a great "DOOM" alternative, it requires a bit less raw resources, and it can be self coded. I managed to code one on an old Nokia phone (apps were Java applet things)