Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Meta VR Glasses(meta.com)
    32comments
  2. Linux support is coming to Snapdragon X2 Series(qualcomm.com)
    38comments
  3. Claude discovers a novel enzyme system with CRISPR-like repeats(anthropic.com)
    502comments
  4. VSCode's SSH Agent Is Bananas (2025)(fly.io)
    71comments
  5. The "Windows XP Box" (2003)(mini-itx.com)
    2comments
  6. We just shipped support for the ugliest part of HTTP: Vary(cloudflare.com)
    4comments
  7. Fixing the Portobello Police Station Clock(pointinthecloud.com)
    84comments
  8. Mercury 2.5 LLM hits 770 tokens per second(artificialanalysis.ai)
    9comments
  9. ArXiv receives multiyear commitments to support it as an independent nonprofit(arxiv.org)
    discuss
  10. LensVLM: Compressing long context as images, expanding only relevant pages(huggingface.co)
    5comments
  11. Italian parliament votes for return to nuclear energy(apnews.com)
    353comments
  12. We've Turned Starlink into a Planetary Barometer(spaceweather.com)
    2comments
  13. The mystery animal on an ancient god's head(signoregalilei.com)
    14comments
  14. A brief history of Windows scroll bar shortcuts(devblogs.microsoft.com/oldnewthing)
    44comments
  15. Gemini 3.8 text-to-speech(blog.google)
    118comments
  16. Radicle: Disclosure of Vulnerability in the Network Protocol(radicle.dev)
    45comments
  17. Making Tailscale Faster(tailscale.com)
    17comments
  18. The Curious Power of Punctuation(newyorker.com)
    2comments
  19. Tokens too cheap to meter(jyn.dev)
    178comments
  20. I don't want the details(michaelheap.com)
    193comments
  21. Swap, ZRAM, Zswap and Hibernate on NixOS(matthewbrunelle.com)
    5comments
  22. Z80 REPL (2018)(abagames.github.io)
    18comments
  23. Show HN: I built a post-mortem debugger for native Windows x64/x86 crashes(forensicdbg.com)
    4comments
  24. Claude Code reads AGENTS.md only when telemetry is on [fixed](szypowi.cz)
    250comments
  25. 28% of job postings on company career sites have been open over 90 days(unlisted.careers)
    286comments
  26. Once Claude can measure something, it can make it faster(claude.dev)
    91comments
  27. A refined phylochronology of the second plague pandemic in Western Eurasia(pnas.org)
    discuss
  28. Stripe's Knowledge AI Platform(stripe.dev)
    108comments
  29. Seattle City Council votes to ban surveillance pricing in sale of groceries(consumerreports.org)
    186comments
  30. UK military jamming other nations' satellites to defend itself, BBC told(bbc.com)
    177comments

Railway Oriented Programming

73 pointsby 11y agofsharpforfunandprofit.com
6 comments
11y agoHN ↗

Thinking in terms of railways just made every monad tutorial I've tried to puzzle my way through instantly click in my mind. I/O monads? They're just sugar to help you maintain a parallel railway track of accumulated I/O side effects, while still thinking in terms of your primary track and what it emits!

If you're confused at all about monads, you're a visual learner, and you're tired of Yet Another Monad Tutorial, the slide deck in this link should be absolutely mandatory viewing. It's one of those things that is just the perfect mix of conciseness and humor, and I'm probably going to look back on this as "How I Learned To Stop Worrying And Love Functional Programming."

11y agoHN ↗

Totally on track, but as a tiny nit: "do"-notation is syntax sugar, but the IO monad is the rail and the rail-building operations themselves!

11y agoHN ↗

"On track" - I see what you did there. Absolutely correct, "sugar" was the wrong word to use.

11y agoHN ↗

This is an excellent notation. I commend the author and will be using the metaphor myself.