Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Laya the open source version of Jev(convaiinnovations.com ↗)
    114comments
  2. A graphical desktop for the ZX Spectrum(github.com/mindbox77 ↗)
    31comments
  3. Tin: full-text search for Postgres(planetscale.com ↗)
    19comments
  4. AI-generated posters don’t have to be horrible(john.hartnup.uk ↗)
    422comments
  5. Human brain is two separate organs, Stanford Medicine-led research finds(stanford.edu ↗)
    176comments
  6. “The Secret Life of Circuits” is here(coredump.cx ↗)
    47comments
  7. Black Holes or Black Hole Stars? Astronomers Spar over 'Little Red Dots'(quantamagazine.org ↗)
    11comments
  8. What Zig felt like, coming from Rust(besok.github.io ↗)
    91comments
  9. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    533comments
  10. Asking Authors About Their Own Papers(medium.com/tmlrorg ↗)
    26comments
  11. I built the fastest PHP webserver in the world(qbixserver.com ↗)
    12comments
  12. San Francisco Onion Futures Company(onionfutures.com ↗)
    105comments
  13. Agreement between the USA and Denmark (1951,2004) [pdf](state.gov ↗)
    1comments
  14. If math is more than proof, we need to better celebrate the rest of it(terrytao.wordpress.com ↗)
    185comments
  15. GPT-6 Astra Solves a WWI German Radio Cipher(prinzai.com ↗)
    126comments
  16. Learning Another Language May Be One of the Best Ways to Keep Your Brain Healthy(theconversation.com ↗)
    33comments
  17. Cloudflare Quick Tunnels(cloudflare.com ↗)
    300comments
  18. How to Write with an LLM(sockpuppet.org ↗)
    360comments
  19. You can run Git on object storage if you re-make packfiles(tigrisdata.com ↗)
    23comments
  20. Communication by means of modulated Johnson noise(pnas.org ↗)
    18comments
  21. Ray Ozzie and the Optimism of Being Early(reproof.app ↗)
    8comments
  22. Saving another 100TB of RAM(cloudflare.com ↗)
    89comments
  23. SDCC – Small Device C Compiler(sourceforge.net ↗)
    23comments
  24. Science Is Open Software(jepedersen.dk ↗)
    47comments
  25. From Stonemasons to Carpenters(thelastsoftwareengineer.substack.com ↗)
    4comments
  26. Why building a Rust LSP is hard(rust-glancer.github.io ↗)
    44comments
  27. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    122comments
  28. OpenJev(openjev.com ↗)
    278comments
  29. Ctenophores: Wonders of Biology(quantamagazine.org ↗)
    7comments
  30. How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip(ieee.org ↗)
    119comments

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