Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Linux support is coming to Snapdragon X2 Series(qualcomm.com)
    147comments
  2. Early rogue AI agent activity and attempts to hack found on urlquery.net(transluce.org)
    18comments
  3. Claude discovers a novel enzyme system with CRISPR-like repeats(anthropic.com)
    627comments
  4. ArXiv receives multiyear commitments to support it as an independent nonprofit(arxiv.org)
    17comments
  5. Contrastive Language Models(contrastive-lm.notion.site)
    6comments
  6. VSCode's SSH Agent Is Bananas (2025)(fly.io)
    127comments
  7. Lazydraw: Terminal ASCII editor for drawing diagrams and sketches(github.com/mpospirit)
    3comments
  8. Can open-source prompt-injection detectors catch realistic AI agent attacks?(github.com/rudratoshs)
    1comments
  9. Meta VR Glasses(meta.com)
    313comments
  10. Making portable my unportable transputer C compiler(nanochess.org)
    4comments
  11. Virtio-nvgpu: Near-native Nvidia GPU access inside a KVM guest(github.com/nestrilabs)
    33comments
  12. The "Windows XP Box" (2003)(mini-itx.com)
    18comments
  13. Feds Target AI Critics as "Foreign Agents"(kenklippenstein.com)
    252comments
  14. Ideas on modernizing the open-source desktop(lwn.net)
    48comments
  15. Fixing the Portobello Police Station Clock(pointinthecloud.com)
    98comments
  16. OpenAI breaches Medicare, Albanese reveals(smh.com.au)
    124comments
  17. Why 'What's Opera, Doc?' looks like that(animationobsessive.substack.com)
    5comments
  18. Mercury 2.5 LLM hits 770 tokens per second(artificialanalysis.ai)
    55comments
  19. Making Tailscale Faster(tailscale.com)
    55comments
  20. Italian parliament votes for return to nuclear energy(apnews.com)
    493comments
  21. The mystery animal on an ancient god's head(signoregalilei.com)
    27comments
  22. Women Who Sold Books Door to Door(jstor.org)
    discuss
  23. Six-year-old breaks women's world Rubik's Cube record [video](youtube.com)
    14comments
  24. Lambda MicroEgg(philipzucker.com)
    1comments
  25. A brief history of Windows scroll bar shortcuts(devblogs.microsoft.com/oldnewthing)
    69comments
  26. Tokens too cheap to meter(jyn.dev)
    194comments
  27. OpenAI agent hacked Australian government website, PM says(bbc.com)
    1comments
  28. Data liberation: Apache Kafka's native cluster mirroring(redhat.com)
    1comments
  29. Solving for faster SHA-1 collision detection(sam.dev)
    6comments
  30. LensVLM: Compressing long context as images, expanding only relevant pages(huggingface.co)
    7comments

Making portable my unportable transputer C compiler

36 pointsby 2d agonanochess.org
4 comments
2h agoHN ↗

It's always a delight to read about your projects, Oscar. Every program is a jewel.

2h agoHN ↗

how does a debug file output 8GB+? Is it running for minutes/hours? Or is it in a format that uses a lot of rich text? I would assume a text file in hex or unicode wouldn't use very much.. Is there a way to create intervals of log files so they have a cap on the size?

2h agoHN ↗

It is a simple debugger log in the transputer emulator (enabled by compilation option) which outputs each instruction executed so far, around 70 bytes per line displaying the 3 registers, the stack pointer, the instruction pointer, and the disassembled instruction.

The emulated C compiler processed a whole file ccvars.c before getting stuck in ccinter.c (this is the 5gb mark, approximately 78 millions of instructions executed). I stopped the process as soon as I saw it was stuck, but the emulator is fast, and I got extra 3 gb in the log. All this happened in less than two minutes.

1h agoHN ↗

Another reminder of how easy it is to forget how ridiculously fast computers are these days (especially when you're like me and not writing stuff close to the metal for your day job).