Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. OpenJev(openjev.com ↗)
    4comments
  2. Jemalloc 5.4.0(github.com/jemalloc ↗)
    39comments
  3. The scourge of x86 emulation(fex-emu.com ↗)
    25comments
  4. Astra for Law(openai.com ↗)
    553comments
  5. Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint(prismml.com ↗)
    133comments
  6. Bend – A language that blocks AI mistakes via proof, on CPU and GPU(bend-lang.com ↗)
    221comments
  7. Qwen 3.8 Omni Flash(qwen.ai ↗)
    81comments
  8. Hister: A private search engine for the pages you visit and the files you keep(github.com/asciimoo ↗)
    169comments
  9. Pre-Greek: The lost language hidden within Ancient Greek(linguisticdiscovery.com ↗)
    34comments
  10. Wax motor(wikipedia.org ↗)
    70comments
  11. When the fractional part of a float fixes your shader(crocidb.com ↗)
    1comments
  12. Fujitsu launches made-in-Japan next-generation CPU FUJITSU-MONAKA(global.fujitsu ↗)
    231comments
  13. A heap overflow and SSO misconfiguration to compromise OpenAI internal repos(hacktron.ai ↗)
    155comments
  14. Replacing Pull Requests with Delta(zed.dev ↗)
    2comments
  15. Shapelearn Qwen 3.8 27B (13.1 GB VRAM)(byteshape.com ↗)
    11comments
  16. How to Write with an LLM(sockpuppet.org ↗)
    98comments
  17. Microsoft exec called AI scraping 'the largest theft of labor in human history'(techcrunch.com ↗)
    2comments
  18. Ask A Monk – A digital wilderness for thoughts with no immediate answer(askamonk.online ↗)
    24comments
  19. Speeding up gearhash on ARM64(sam.dev ↗)
    discuss
  20. Why Does the Universe Expand?(cosmicave.org ↗)
    55comments
  21. Flet 1.0 – Build cross-platform apps in Python(flet.dev ↗)
    58comments
  22. Telstra outage: The night a network decided the year was 2006(netnod.se ↗)
    25comments
  23. Diplodocus, Long Thought Exclusively American, Turns Up in Spain(sci.news ↗)
    41comments
  24. Why I didn’t sign the Fields medallists’ letter(gowers.wordpress.com ↗)
    367comments
  25. How do we prevent mathemathics from devolving into the Medieval Era of secrecy?(mathoverflow.net ↗)
    106comments
  26. Apple detectives solved mystery of ancient tree and rewrote the history of fruit(scientificamerican.com ↗)
    10comments
  27. CrowdSec Source Code Leak(crowdsec.net ↗)
    49comments
  28. The most important product decision is what you don't build(liamnugent.me ↗)
    39comments
  29. Fixing an NZXT Signal 4K30 part 2: the green/pink video bug(downtowndougbrown.com ↗)
    10comments
  30. How Uber Protects Against Retry Storms(uber.com ↗)
    42comments

When the fractional part of a float fixes your shader

33 pointsby 1d agocrocidb.com
1 comments
1h agoHN ↗

Nice article. What a joy to read. Reminds me of what hacker news was until a few years ago!

I haven't worked with opengl/shaders in a while, but was thinking about some algorithm I wrote a few years ago, while in shower yesterday. It brought back the memories of how difficult it was for me to first understand the whole concept of shaders. There's basically no main function, no for loops etc. Your shader is called for each pixel, for every frame. I was wondering how easy it would have been in today's world. I spent like 2 months on something that is just a prompt now.