Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Laya the open source version of Jev(convaiinnovations.com ↗)
    51comments
  2. What Zig felt like, coming from Rust(besok.github.io ↗)
    3comments
  3. AI-generated posters don’t have to be horrible(john.hartnup.uk ↗)
    334comments
  4. Human brain is two separate organs, Stanford Medicine-led research finds(stanford.edu ↗)
    156comments
  5. Tin: full-text search for Postgres(planetscale.com ↗)
    3comments
  6. “The Secret Life of Circuits” is here(coredump.cx ↗)
    33comments
  7. A graphical desktop for the ZX Spectrum(github.com/mindbox77 ↗)
    2comments
  8. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    511comments
  9. San Francisco Onion Futures Company(onionfutures.com ↗)
    91comments
  10. Black Holes or Black Hole Stars? Astronomers Spar over 'Little Red Dots'(quantamagazine.org ↗)
    1comments
  11. GPT-6 Astra Solves a WWI German Radio Cipher(prinzai.com ↗)
    117comments
  12. If math is more than proof, we need to better celebrate the rest of it(terrytao.wordpress.com ↗)
    154comments
  13. Asking Authors About Their Own Papers(medium.com/tmlrorg ↗)
    discuss
  14. Communication by means of modulated Johnson noise(pnas.org ↗)
    17comments
  15. Cloudflare Quick Tunnels(cloudflare.com ↗)
    296comments
  16. From Stonemasons to Carpenters(thelastsoftwareengineer.substack.com ↗)
    4comments
  17. How to Write with an LLM(sockpuppet.org ↗)
    355comments
  18. You can run Git on object storage if you re-make packfiles(tigrisdata.com ↗)
    22comments
  19. SDCC – Small Device C Compiler(sourceforge.net ↗)
    21comments
  20. Saving another 100TB of RAM(cloudflare.com ↗)
    86comments
  21. Science Is Open Software(jepedersen.dk ↗)
    46comments
  22. Why building a Rust LSP is hard(rust-glancer.github.io ↗)
    42comments
  23. NASA-IBM Lunar Foundation open-Source Geospatial AI Model(usra.edu ↗)
    5comments
  24. Ctenophores: Wonders of Biology(quantamagazine.org ↗)
    6comments
  25. How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip(ieee.org ↗)
    111comments
  26. Ray Ozzie and the Optimism of Being Early(reproof.app ↗)
    4comments
  27. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    116comments
  28. OpenJev(openjev.com ↗)
    275comments
  29. Goroutine Leak Profiles(go.dev ↗)
    6comments
  30. Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash(cactuscompute.com ↗)
    89comments

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