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?

Belgium stops decommissioning nuclear power plants

https://dpa-international.com/general-news/urn:newsml:dpa.com:20090101:260430-930-14717/
292•mpweiher•2h ago•229 comments

Meta in row after workers who saw smart glasses users having sex lose jobs

https://www.bbc.com/news/articles/c5y7yvgy0w6o
202•gorbachev•1h ago•134 comments

The FCC is about to ban 21% of its test labs today. I mapped them all

https://markready.io/blog/fcc-accredited-test-labs-complete-guide
62•chambertime•1h ago•18 comments

I aggregated 28 US Government auction sites into one search

https://bidprowl.com
98•scarsam•2h ago•26 comments

How an Oil Refinery Works

https://www.construction-physics.com/p/how-an-oil-refinery-works
45•chmaynard•1h ago•2 comments

You can beat the binary search

https://lemire.me/blog/2026/04/27/you-can-beat-the-binary-search/
38•vok•2d ago•10 comments

Granite 4.1: IBM's 8B Model Matching 32B MoE

https://firethering.com/granite-4-1-ibm-open-source-model-family/
192•steveharing1•4h ago•105 comments

Mozilla's Opposition to Chrome's Prompt API

https://github.com/mozilla/standards-positions/issues/1213
334•jaffathecake•7h ago•130 comments

Where the goblins came from

https://openai.com/index/where-the-goblins-came-from/
864•ilreb•11h ago•504 comments

The Zig project's rationale for their anti-AI contribution policy

https://simonwillison.net/2026/Apr/30/zig-anti-ai/
476•lumpa•12h ago•256 comments

Noctua releases official 3D CAD models for its cooling fans

https://www.noctua.at/en/3d-cad-models
388•embedding-shape•2d ago•85 comments

My Stratum-0 Atomic Clock

https://coverclock.blogspot.com/2017/05/my-stratum-0-atomic-clock_9.html
31•g0xA52A2A•2d ago•4 comments

Copy Fail

https://copy.fail/
1202•unsnap_biceps•20h ago•434 comments

A Primer on Bézier Curves – So What Makes a Bézier Curve?

https://pomax.github.io/bezierinfo/
56•mostlyk•2d ago•15 comments

GCC 16 has been released

https://gcc.gnu.org/gcc-16/changes.html
151•HeliumHydride•3h ago•20 comments

The Science Behind Honey's Eternal Shelf Life (2013)

https://www.smithsonianmag.com/science-nature/the-science-behind-honeys-eternal-shelf-life-1218690/
13•downbad_•1h ago•8 comments

Craig Venter has died

https://www.jcvi.org/media-center/j-craig-venter-genomics-pioneer-and-founder-jcvi-and-diploid-ge...
282•rdl•13h ago•65 comments

"Parse, don't validate" through the years with C++

https://derekrodriguez.dev/parse-dont-validate-through-the-years-with-c-/
58•dwrodri•2d ago•26 comments

DataCenter.FM – background noise app featuring the sound of the AI bubble

https://datacenter.fm/
88•louisbarclay•7h ago•17 comments

Cursor Camp

https://neal.fun/cursor-camp/
1085•bpierre•23h ago•173 comments

Biology is a Burrito: A text- and visual-based journey through a living cell

https://burrito.bio/essays/biology-is-a-burrito
161•the-mitr•11h ago•22 comments

Zed 1.0

https://zed.dev/blog/zed-1-0
1994•salkahfi•1d ago•642 comments

Claude Code refuses requests or charges extra if your commits mention "OpenClaw"

https://twitter.com/theo/status/2049645973350363168
6•elmean•17m ago•0 comments

London to Calcutta by Bus (2022)

https://www.amusingplanet.com/2022/08/london-to-calcutta-by-bus.html
101•CGMthrowaway•1d ago•31 comments

FastCGI: 30 years old and still the better protocol for reverse proxies

https://www.agwa.name/blog/post/fastcgi_is_the_better_protocol_for_reverse_proxies
388•agwa•22h ago•95 comments

Monad Tutorials Timeline

https://wiki.haskell.org/Monad_tutorials_timeline
73•brudgers•10h ago•34 comments

OpenTrafficMap

https://opentrafficmap.org/
334•moooo99•19h ago•90 comments

Mike: open-source legal AI

https://mikeoss.com/
160•noleary•13h ago•76 comments

Alignment whack-a-mole: Finetuning activates recall of copyrighted books in LLMs

https://github.com/cauchy221/Alignment-Whack-a-Mole-Code
177•reconnecting•11h ago•142 comments

Laws of UX

https://lawsofux.com/
318•bobbiechen•21h ago•54 comments