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?

Nobody ever gets credit for fixing problems that never happened (2002) [pdf]

https://web.mit.edu/nelsonr/www/Repenning=Sterman_CMR_su01_.pdf
70•sam_bristow•1h ago•12 comments

Show HN: FablePool – pool money behind a prompt, and Fable builds it in public

https://fablepool.com
247•matthewbarras•4h ago•145 comments

Show HN: Homebrew 6.0.0

https://brew.sh/2026/06/11/homebrew-6.0.0/
985•mikemcquaid•12h ago•237 comments

Claude Fable is relentlessly proactive

https://simonwillison.net/2026/Jun/11/fable-is-relentlessly-proactive/
19•lumpa•49m ago•4 comments

If you are asking for human attention, demonstrate human effort

https://tombedor.dev/human-attention-and-human-effort/
269•jjfoooo4•2h ago•74 comments

A greyscale iPhone setup that works in everyday life

https://www.fabianhemmert.com/opinions/a-greyscale-iphone-setup-that-works-in-everyday-life
38•hemmert•18h ago•15 comments

MiMo Code is now released and open-source

https://mimo.xiaomi.com/mimocode
426•apeters•11h ago•241 comments

Anthropic apologizes for invisible Claude Fable guardrails

https://www.theverge.com/ai-artificial-intelligence/948280/anthropic-claude-fable-invisible-disti...
320•rarisma•13h ago•306 comments

A jacket that harvests drinking water from the air

https://news.utexas.edu/2026/06/11/this-jacket-pulls-drinking-water-from-thin-air/
37•ilreb•2h ago•21 comments

Petition to Withdraw Canada's Bill C-22

https://www.ourcommons.ca/petitions/en/Petition/Sign/e-7416
362•hmokiguess•10h ago•123 comments

Emacs appearances in pop culture

https://ianyepan.github.io/posts/emacs-in-pop-culture/
260•ggcr•1d ago•70 comments

Software is made between commits

https://zed.dev/blog/introducing-deltadb
200•jeremy_k•9h ago•152 comments

Ear Training Practice

https://tonedear.com/
155•mattbit•3d ago•83 comments

The RCE that AMD wouldn't fix

https://mrbruh.com/amd2/
224•MrBruh•9h ago•99 comments

macOS 27 Beta breaks the ability to boot Asahi Linux

https://www.phoronix.com/news/macOS-27-Beta-Breaks-Asahi
242•josephcsible•2d ago•104 comments

Making a vintage LLM from scratch

https://crlf.link/log/entries/260525-1/
21•croqaz•17h ago•2 comments

Claude Fable 5: mid-tier results on coding tasks

https://www.endorlabs.com/learn/claude-fable-5-mythos-grade-hype
235•bugvader•9h ago•105 comments

How a new DSL may survive in the era of LLMs

https://www.williamcotton.com/articles/how-a-new-dsl-survives-in-the-era-of-llms
13•williamcotton•11h ago•4 comments

Lines of code got a better publicist

https://curlewis.co.nz/posts/lines-of-code-got-a-better-publicist/
357•RyeCombinator•13h ago•248 comments

Show HN: Boo – Screen-style terminal multiplexer built on libghostty

https://github.com/coder/boo
49•kylecarbs•5h ago•18 comments

Developer gets Half-Life running at 30 FPS on a Nokia N95

https://www.tomshardware.com/video-games/handheld-gaming/developer-gets-half-life-running-at-30-f...
220•ljf•3d ago•68 comments

MTG Bench: Testing how well LLMs can play Magic

https://mtgautodeck.com/articles/mtg-bench/
25•CallumFerg•9h ago•10 comments

Babel-USB: USB drive with every file

https://github.com/p2r3/babel-usb
26•LorenDB•1d ago•11 comments

Tailwind and slop apps

https://briandouglas.ie/llm-tailwind-template/
31•coneonthefloor•4h ago•18 comments

Reading for pleasure is sharply down among schoolkids, report shows

https://www.nbcnews.com/data-graphics/kids-reading-less-lower-levels-department-education-study-r...
75•freejoe76•1d ago•84 comments

Apple didn't revolutionize power supplies; new transistors did (2012)

https://www.righto.com/2012/02/apple-didnt-revolutionize-power.html
87•geerlingguy•8h ago•8 comments

FPS.cob: A first person shooter in COBOL

https://github.com/icitry/FPS.cob
102•MBCook•10h ago•60 comments

Waymo Premier

https://waymo.com/blog/2026/06/waymo-premier/
153•boulos•9h ago•400 comments

Deconstructing Datalog

https://www.rntz.net/post/my-thesis.html
7•rntz•1h ago•0 comments

Why removing 'um' from a recording is harder than it sounds

https://doug.sh/posts/erm-a-local-cli-that-strips-ums-uhs-and-erms-from-speech/
9•dougcalobrisi•1h ago•2 comments