frontpage.
newsnewestaskshowjobs

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?

I Stored a Website in a Favicon

https://www.timwehrle.de/blog/i-stored-a-website-in-a-favicon/
121•theanonymousone•4h ago•38 comments

Where to Find the Colors Your Screen Can't Show You

https://moultano.wordpress.com/2026/06/19/where-to-find-the-colors-your-screen-cant-show-you/
100•moultano•5h ago•26 comments

Data Compression Explained (2012)

https://mattmahoney.net/dc/dce.html
118•mtdewcmu•3d ago•15 comments

There are no instances in ATProto

https://overreacted.io/there-are-no-instances-in-atproto/
439•danabramov•18h ago•226 comments

Can you see three trees?

https://www.not-ship.com/can-you-see-three-trees/
110•Pamar•2d ago•52 comments

The discovery that changed how scientists think about memory

https://www.ibm.com/think/news/discovery-changed-how-scientists-think-about-memory-kavli-prize
52•rbanffy•2d ago•11 comments

Surprising economics of load-balanced systems

https://brooker.co.za/blog/2020/08/06/erlang.html
108•KraftyOne•13h ago•27 comments

Hyundai buys Boston Dynamics

https://startupfortune.com/hyundai-takes-full-control-of-boston-dynamics-as-softbank-exits-for-32...
825•ck2•17h ago•362 comments

GPT-5.5 hallucinates 3x more than MIT-licensed GLM-5.2

https://arrowtsx.dev/bigger-models/
144•oshrimpton•17h ago•38 comments

How many of the 170k English words do you know?

https://vocabowl-870366514258.us-west1.run.app/
365•abnry•19h ago•448 comments

Norway imposes near ban on AI in elementary school

https://www.reuters.com/technology/norway-imposes-near-ban-ai-elementary-school-2026-06-19/
660•ilreb•17h ago•456 comments

Soccer Arcade Games Through the Years

https://arcadeheroes.com/2026/06/13/world-cup-2026-soccer-arcade/
17•speckx•3d ago•2 comments

Project Valhalla, Explained: How a Decade of Work Arrives in JDK 28

https://www.jvm-weekly.com/p/project-valhalla-explained-how-a
593•philonoist•1d ago•368 comments

Bobby Prince, composer for Doom, Wolfenstein 3D, and Duke Nukem 3D, has died

https://www.legacy.com/legacy/robert-bobby-prince-lll
371•pgrote•14h ago•40 comments

Satellite reveals immense scale of GPS signal tampering

https://www.space.com/space-exploration/satellites/its-quite-a-bit-more-than-we-expected-satellit...
75•y1n0•5h ago•26 comments

A 1969 camera operators' strike created Upstairs Downstairs multiverse

https://ironicsans.ghost.io/the-color-strike/
20•ohjeez•3d ago•4 comments

A Perceptron in Age of Empires II

https://adewynter.github.io/notes/aoe2-circuits
74•EvgeniyZh•2d ago•31 comments

Egyptian Fractions (2006)

https://blog.plover.com/math/egyptian-fractions.html
94•luu•4d ago•8 comments

AURpocalypse now: a look at the recent AUR attacks

https://lwn.net/SubscriberLink/1077619/f7b07c5489fdd43a/
81•jwilk•16h ago•52 comments

Ask HN: Will programmers write more efficient code during the memory shortage?

110•amichail•10h ago•178 comments

John Jumper to join Anthropic

https://twitter.com/JohnJumperSci/status/2068001285173834106
131•artninja1988•15h ago•96 comments

Digital Printing of Arabic: explaining the problem

https://digitalorientalist.com/2017/08/21/digital-printing-of-arabic-explaining-the-problem/
56•a_t48•3d ago•23 comments

Zen and the Art of Machine Learning Research

https://blog.jxmo.io/p/zen-and-the-art-of-machine-learning
257•jxmorris12•4d ago•92 comments

Court Records Should Be Free

https://www.eff.org/deeplinks/2026/06/court-records-should-be-free
363•hn_acker•16h ago•80 comments

Building a robotics research setup that lives next to my desk

https://dfdxlabs.com/research/2026/robotics-setup/
148•mplappert•1d ago•51 comments

Telescope Ranchers

https://kottke.org/26/06/telescope-ranchers
124•bookofjoe•3d ago•47 comments

Show HN: Metiq: a real time 3D globe for 100 public datasets

https://metiq.space
123•rakeda•3d ago•32 comments

Big Banana Car

https://bigbananacar.com/
151•Bender•15h ago•76 comments

Designing a backyard deck for my house

https://blog.cosmin.cloud/posts/diy-deck.html
15•spycraft•4h ago•4 comments

Ten years of ClickHouse in open source

https://clickhouse.com/blog/open-source-10
302•saisrirampur•4d ago•84 comments