Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. I Built Non-Autoregressive Decision Models with RL a Year Ago(convaiinnovations.com ↗)
    159comments
  2. AI-generated posters don’t have to be horrible(john.hartnup.uk ↗)
    522comments
  3. Human brain is two separate organs, Stanford Medicine-led research finds(stanford.edu ↗)
    194comments
  4. Tin: full-text search for Postgres(planetscale.com ↗)
    52comments
  5. A graphical desktop for the ZX Spectrum(github.com/mindbox77 ↗)
    79comments
  6. “The Secret Life of Circuits” is here(coredump.cx ↗)
    58comments
  7. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    571comments
  8. Supabase (YC S20) Is Hiring for OrioleDB(supabase.link ↗)
    discuss
  9. Black Holes or Black Hole Stars? Astronomers Spar over 'Little Red Dots'(quantamagazine.org ↗)
    20comments
  10. New evidence for hidden chambers beyond Tutankhamun's tomb(nature.com ↗)
    9comments
  11. GPT-6 Astra Solves a WWI German Radio Cipher(prinzai.com ↗)
    141comments
  12. San Francisco Onion Futures Company(onionfutures.com ↗)
    125comments
  13. Almost Never Use AI to Write Anything Substantive(erichgrunewald.substack.com ↗)
    21comments
  14. What Zig felt like, coming from Rust(besok.github.io ↗)
    134comments
  15. If math is more than proof, we need to better celebrate the rest of it(terrytao.wordpress.com ↗)
    203comments
  16. Cloudflare Quick Tunnels(cloudflare.com ↗)
    301comments
  17. How to Write with an LLM(sockpuppet.org ↗)
    364comments
  18. People who know the most often sound the least certain(vrash.substack.com ↗)
    1comments
  19. Asking Authors About Their Own Papers(medium.com/tmlrorg ↗)
    47comments
  20. Adventures in Microcontroller Circuit Debugging(bigmessowires.com ↗)
    1comments
  21. You can run Git on object storage if you re-make packfiles(tigrisdata.com ↗)
    28comments
  22. Saving another 100TB of RAM(cloudflare.com ↗)
    93comments
  23. Communication by means of modulated Johnson noise(pnas.org ↗)
    21comments
  24. SDCC – Small Device C Compiler(sourceforge.net ↗)
    25comments
  25. Science Is Open Software(jepedersen.dk ↗)
    51comments
  26. OpenJev(openjev.com ↗)
    283comments
  27. Why building a Rust LSP is hard(rust-glancer.github.io ↗)
    50comments
  28. Ray Ozzie and the Optimism of Being Early(reproof.app ↗)
    16comments
  29. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    128comments
  30. How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip(ieee.org ↗)
    123comments

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