frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

https://jfmengels.net/compiler-reminders/
38•jfmengels1•1y ago

Comments

JonChesterfield•1y ago
Exhaustive compile time checking of dispatch statements is a wonderful thing, sorely missing from the languages that decided "sum types" are a bit weird and niche.
fredrikholm•1y ago
They make it near impossible to extend from the outside.

I can pass a Reader interface to your function, but I cannot (easily) add a

> | UnusualProtocol(Socket)

as a third party consumer.

Other than that, sum types are the better abstraction. With exhaustive first class pattern matching (eg. with proper matching on destructuring), nothing comes close in terms of ergonomics.

hermanradtke•1y ago
That is a feature. Compose instead of extending.
Yoric•1y ago
OCaml has extensible sum types. They work very nicely for some ranges of problems.
swiftcoder•1y ago
Elm <-> Rust

Best buds on this front

gitroom•1y ago
Tbh, missing those checks in other languages bugs me so much - it's like why leave me hanging?

VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage

https://github.com/microsoft/vscode/pull/310226
671•indrora•4h ago•305 comments

Six Years Perfecting Maps on WatchOS

https://www.david-smith.org/blog/2026/04/29/maps-on-watchos/
142•valzevul•3h ago•31 comments

This Month in Ladybird - April 2026

https://ladybird.org/newsletter/2026-04-30/
120•richardboegli•4h ago•19 comments

Dav2d

https://code.videolan.org/videolan/dav2d
312•dabinat•7h ago•101 comments

A Couple Million Lines of Haskell: Production Engineering at Mercury

https://blog.haskell.org/a-couple-million-lines-of-haskell/
9•unignorant•46m ago•0 comments

Neanderthals ran 'fat factories' 125,000 years ago

https://www.universiteitleiden.nl/en/news/2025/07/neanderthals-ran-fat-factories-125000-years-ago
92•andsoitis•4h ago•20 comments

Do_not_track

https://donottrack.sh/
181•RubyGuy•7h ago•64 comments

Clojurists Together – Q2 2026 Open Source Funding Announcement

https://www.clojuriststogether.org/news/q2-2026-funding-announcement/
27•dragandj•3h ago•5 comments

Inventions for battery reuse and recycling increase seven-fold in last decade

https://www.epo.org/en/news-events/news/inventions-battery-reuse-and-recycling-increase-more-seve...
145•JeanKage•2d ago•6 comments

Tesla owner won $10k in court for Tesla's FSD lies. Tesla is still fighting him

https://electrek.co/2026/05/02/this-tesla-owner-won-10k-in-court-for-teslas-fsd-lies-tesla-is-sti...
89•breve•2h ago•19 comments

Show HN: State of the Art of Coding Models, According to Hacker News Commenters

https://hnup.date/hn-sota
32•yunusabd•3h ago•21 comments

When Dawkins met Claude – Could this AI be conscious?

https://unherd.com/2026/04/is-ai-the-next-phase-of-evolution/
7•pentestercrab•1d ago•3 comments

Little Magazines Are Back

https://wsjfreeexpression.substack.com/p/little-magazines-are-back
65•prismatic•2d ago•16 comments

The agent harness belongs outside the sandbox

https://www.mendral.com/blog/agent-harness-belongs-outside-sandbox
57•shad42•3h ago•44 comments

A Physics Engine with Incremental Rollback for Multiplayer Games

https://easel.games/blog/2026-rollback-physics
31•BSTRhino•1d ago•18 comments

Voice-AI-for-Beginners – A curated learning path for developers

https://github.com/mahimairaja/voiceai
12•mahimai•2h ago•0 comments

Why does it take so long to release black fan versions?

https://www.noctua.at/en/expertise/blog/how-can-it-take-so-long-to-release-black-fan-versions
701•buildbot•20h ago•282 comments

NetHack 5.0.0

https://nethack.org/v500/release.html
362•rsaarelm•6h ago•106 comments

Dabbling in Erlang, part 2: A minimal introduction (2013)

https://agis.io/post/dabbling-in-erlang-a-minimal-introduction/
6•pasxizeis•16h ago•0 comments

How fast is a macOS VM, and how small could it be?

https://eclecticlight.co/2026/05/02/how-fast-is-a-macos-vm-and-how-small-could-it-be/
217•moosia•15h ago•79 comments

Barman – Backup and Recovery Manager for PostgreSQL

https://github.com/EnterpriseDB/barman
133•nateb2022•3d ago•23 comments

California to begin ticketing driverless cars that violate traffic laws

https://www.bbc.com/news/articles/clypjx3rg2go
230•geox•6h ago•244 comments

Waymo Drives Off with South Bay Man's Luggage

https://sfist.com/2026/05/01/waymo-drives-off-with-south-bay-mans-luggage-after-trunk-fails-to-open/
38•toss1•1h ago•16 comments

Modern C++ Programming: Busato

https://github.com/federico-busato/Modern-CPP-Programming
57•KnuthIsGod•8h ago•6 comments

Roblox shares plummet 18% as child safety measures weigh on bookings

https://www.cnbc.com/2026/05/01/roblox-rblx-stock-child-safety-earnings.html
176•1vuio0pswjnm7•7h ago•117 comments

Refusal in Language Models Is Mediated by a Single Direction

https://arxiv.org/abs/2406.11717
88•fagnerbrack•11h ago•33 comments

The USB Situation

https://randsinrepose.com/archives/the-usb-situation/
85•herbertl•3d ago•96 comments

Welcome to Hell Developer

https://noahclements.com/Wahoo-Bolt-Hidden-Debug-Mode/
50•denysvitali•7h ago•23 comments

Flue is a TypeScript framework for building the next generation of agents

https://flueframework.com/
82•momentmaker•7h ago•45 comments

Uber wants to turn its drivers into a sensor grid for self-driving companies

https://techcrunch.com/2026/05/01/uber-wants-to-turn-its-millions-of-drivers-into-a-sensor-grid-f...
118•nickvec•9h ago•129 comments