frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

https://jfmengels.net/compiler-reminders/
38•jfmengels1•12mo ago

Comments

JonChesterfield•12mo 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•12mo 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•12mo ago
That is a feature. Compose instead of extending.
Yoric•12mo ago
OCaml has extensible sum types. They work very nicely for some ranges of problems.
swiftcoder•12mo ago
Elm <-> Rust

Best buds on this front

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

Amateur armed with ChatGPT solves an Erdős problem

https://www.scientificamerican.com/article/amateur-armed-with-chatgpt-vibe-maths-a-60-year-old-pr...
229•pr337h4m•12h ago•146 comments

Why has there been so little progress on Alzheimer's disease?

https://freakonomics.com/podcast/why-has-there-been-so-little-progress-on-alzheimers-disease/
159•chiefalchemist•5h ago•73 comments

USB Cheat Sheet (2022)

https://fabiensanglard.net/usbcheat/index.html
230•gwerbret•7h ago•49 comments

Tell HN: An app is silently installing itself on my iPhone every day

118•_-x-_•4h ago•65 comments

Mahjong: A Visual Guide

https://themahjong.guide/
32•iamwil•2d ago•6 comments

Flickr: The first and last great photo platform

https://petapixel.com/2026/04/22/flickr-the-first-and-last-great-photo-platform/
110•Nrbelex•3d ago•56 comments

EU Age Control: The trojan horse for digital IDs

https://juraj.bednar.io/en/blog-en/2026/04/17/eu-age-control-the-trojan-horse-for-digital-ids/
54•gasull•2h ago•10 comments

The Free Universal Construction Kit

https://fffff.at/free-universal-construction-kit/
298•robinhouston•3d ago•62 comments

OpenAI Privacy Filter

https://openai.com/index/introducing-openai-privacy-filter/
162•tanelpoder•3d ago•29 comments

Per-image PCA characterization of the Kodak image suite (PDF and JSON)

https://github.com/PearsonZero/kodak-pcd0992-statistical-characterization/tree/main/baseline
5•PearsonZero•4d ago•0 comments

1-Bit Hokusai's "The Great Wave" (2023)

https://www.hypertalking.com/2023/05/08/1-bit-pixel-art-of-hokusais-the-great-wave-off-kanagawa/
546•stephen-hill•3d ago•88 comments

Using coding assistance tools to revive projects you never were going to finish

https://blog.matthewbrunelle.com/its-ok-to-use-coding-assistance-tools-to-revive-the-projects-you...
244•speckx•13h ago•134 comments

The Joy of Folding Bikes

https://blog.korny.info/2026/04/19/the-joy-of-folding-bikes
135•pavel_lishin•3d ago•77 comments

My Homemade PBX (2002)

https://wandel.ca/homepage/pbx.html
11•rickcarlino•1h ago•0 comments

America's Geothermal Breakthrough

https://oilprice.com/Alternative-Energy/Geothermal-Energy/Americas-Geothermal-Breakthrough-Could-...
102•sleepyguy•10h ago•109 comments

DeepSeek-V4 on Day 0: From Fast Inference to Verified RL with SGLang and Miles

https://www.lmsys.org/blog/2026-04-25-deepseek-v4/
30•mji•6h ago•3 comments

Reviving BrowserID in 2026

https://wakamoleguy.com/p/reviving-browserid-in-2026
13•wakamoleguy•3h ago•3 comments

The Super Nintendo Cartridges (2024)

https://fabiensanglard.net/snes_carts/
28•offbyone42•5h ago•2 comments

AGPLv3§74 Empowers Users to Thwart Badgeware Like OnlyOffice

https://sfconservancy.org/blog/2026/apr/16/badgeware-onlyoffice-nextcloud-affero-gpl/
12•pabs3•39m ago•0 comments

Shall We Play a Game?

https://asteriskmag.com/issues/14/shall-we-play-a-game
5•jger15•2d ago•0 comments

New 10 GbE USB adapters are cooler, smaller, cheaper

https://www.jeffgeerling.com/blog/2026/new-10-gbe-usb-adapters-cooler-smaller-cheaper/
566•calcifer•23h ago•338 comments

Math Is Hard – OpenBSD Stories

http://miod.online.fr/software/openbsd/stories/vaxfp.html
74•signa11•2d ago•1 comments

Optimizing Datalog for the GPU

https://dl.acm.org/doi/10.1145/3669940.3707274
35•tosh•2d ago•3 comments

GnuPG – post-quantum crypto landing in mainline

https://lists.gnupg.org/pipermail/gnupg-announce/2026q2/000504.html
8•zdkaster•2h ago•1 comments

Hokusai and Tesselations

https://dl.ndl.go.jp/pid/1899550/1/11/
97•srean•12h ago•14 comments

The George Business, by Roger Zelazny (1980)

https://www.eternal-flame.org/library/oldlibrary/georgebusiness.html
19•xeonmc•2d ago•0 comments

The Long Reply

https://ironicsans.ghost.io/the-long-reply/
29•NaOH•2d ago•0 comments

Simulacrum of Knowledge Work

https://blog.happyfellow.dev/simulacrum-of-knowledge-work/
126•thehappyfellow•12h ago•49 comments

What async promised and what it delivered

https://causality.blog/essays/what-async-promised/
190•zdw•4d ago•210 comments

Mine, an IDE for Coalton and Common Lisp

https://coalton-lang.github.io/mine/
88•varjag•11h ago•39 comments