Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Claude discovers a novel enzyme system with CRISPR-like repeats(anthropic.com)
    458comments
  2. Linux support is coming to Snapdragon X2 Series(qualcomm.com)
    12comments
  3. VSCode's SSH Agent Is Bananas (2025)(fly.io)
    60comments
  4. We just shipped support for the ugliest part of HTTP: Vary – Cloudflare Blog(cloudflare.com)
    3comments
  5. Fixing the Portobello Police Station Clock(pointinthecloud.com)
    84comments
  6. LensVLM: Compressing long context as images, expanding only relevant pages(huggingface.co)
    3comments
  7. Italian parliament votes for return to nuclear energy(apnews.com)
    329comments
  8. The mystery animal on an ancient god's head(signoregalilei.com)
    9comments
  9. A brief history of Windows scroll bar shortcuts(devblogs.microsoft.com/oldnewthing)
    41comments
  10. Mercury 2.5 LLM hits 770 tokens per second(artificialanalysis.ai)
    6comments
  11. Jev in 25 Lines of Python(nobodywho.ai)
    194comments
  12. The Curious Power of Punctuation(newyorker.com)
    2comments
  13. Gemini 3.8 text-to-speech(blog.google)
    118comments
  14. Radicle: Disclosure of Vulnerability in the Network Protocol(radicle.dev)
    43comments
  15. Tokens too cheap to meter(jyn.dev)
    175comments
  16. Making Tailscale Faster(tailscale.com)
    9comments
  17. I don't want the details(michaelheap.com)
    190comments
  18. Swap, ZRAM, Zswap and Hibernate on NixOS(matthewbrunelle.com)
    4comments
  19. Stripe's Knowledge AI Platform(stripe.dev)
    105comments
  20. Z80 REPL (2018)(abagames.github.io)
    18comments
  21. Claude Code reads AGENTS.md only when telemetry is on [fixed](szypowi.cz)
    243comments
  22. Show HN: I built a post-mortem debugger for native Windows x64/x86 crashes(forensicdbg.com)
    2comments
  23. Once Claude can measure something, it can make it faster(claude.dev)
    90comments
  24. Bwbach, My Guardian Goblin(robertmay.photography)
    5comments
  25. A refined phylochronology of the second plague pandemic in Western Eurasia(pnas.org)
    discuss
  26. QuestDB (YC S20) Is Hiring a Sales Engineer(questdb.com)
    discuss
  27. 28% of job postings on company career sites have been open over 90 days(unlisted.careers)
    277comments
  28. UK military jamming other nations' satellites to defend itself, BBC told(bbc.com)
    175comments
  29. Seattle City Council votes to ban surveillance pricing in sale of groceries(consumerreports.org)
    169comments
  30. White House Says Access Is a 'Privilege' in Court Filing Defending Media Ban(nytimes.com)
    5comments

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.