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?

Google broke reCAPTCHA for de-googled Android users

https://reclaimthenet.org/google-broke-recaptcha-for-de-googled-android-users
287•anonymousiam•3h ago•83 comments

AI is breaking two vulnerability cultures

https://www.jefftk.com/p/ai-is-breaking-two-vulnerability-cultures
161•speckx•4h ago•70 comments

You gave me a u32. I gave you root. (io_uring ZCRX freelist LPE)

https://ze3tar.github.io/post-zcrx.html
82•MrBruh•2h ago•40 comments

Cartoon Network Flash Games

https://www.webdesignmuseum.org/flash-game-exhibitions/cartoon-network-flash-games
240•willmeyers•6h ago•74 comments

Non-determinism is an issue with patching CVEs

https://flox.dev/blog/achieving-rapid-cve-remediation-in-an-era-of-escalating-vulnerabilities/
21•mathewpregasen•1h ago•7 comments

Serving a website on a Raspberry Pi Zero running in RAM

https://btxx.org/posts/memory/
175•xngbuilds•7h ago•70 comments

David Attenborough's 100th Birthday

https://www.bbc.com/news/articles/cp3pww9g0p5o
342•defrost•10h ago•62 comments

Looking at the data behind prediction markets

https://asteriskmag.com/issues/14/are-prediction-markets-good-for-anything
23•kqr•1d ago•7 comments

Mux (YC W16) Is Hiring

https://www.mux.com/jobs
1•mmcclure•1h ago

All means are fair except solving the problem

https://yosefk.com/blog/all-means-are-fair-except-solving-the-problem.html
20•akkartik•2d ago•11 comments

An Introduction to Meshtastic

https://meshtastic.org/docs/introduction/
349•ColinWright•11h ago•135 comments

AWS says data center overheating in North Virginia disrupts services

https://www.reuters.com/business/retail-consumer/amazon-cloud-unit-says-data-center-overheating-n...
43•christhecaribou•19h ago•16 comments

My first in-prod corrupted hard drive problem

https://blog.pavementlink.ch/2026/05/07/my-first-corrupted-hard-drive-problem/
30•r1chk1t•3h ago•23 comments

Dirty Frag: Universal Linux LPE

https://github.com/V4bel/dirtyfrag
12•unbeli•2h ago•1 comments

Teaching Claude Why

https://www.anthropic.com/research/teaching-claude-why
36•pretext•4h ago•2 comments

Rumors of my death are slightly exaggerated

1413•CliffStoll•2d ago•219 comments

Mojo 1.0 Beta

https://mojolang.org/
248•sbt567•19h ago•164 comments

PC Engine CPU

https://jsgroth.dev/blog/posts/pc-engine-cpu/
111•ibobev•8h ago•49 comments

Roadside Attraction

https://theoffingmag.com/essay/roadside-attraction/
12•aways•2h ago•3 comments

US Government releases first batch of UAP documents and videos

https://www.war.gov/UFO/
195•david-gpu•10h ago•309 comments

Man finds $1M worth of Yu-Gi-Oh cards in a dumpster

https://www.404media.co/man-finds-1-million-worth-of-yu-gi-oh-cards-in-a-dumpster/
82•danso•2d ago•23 comments

Poland is now among the 20 largest economies

https://apnews.com/article/poland-economy-growth-g20-gdp-26fe06e120398410f8d773ba5661e7aa
850•surprisetalk•10h ago•712 comments

Meta Shuts Down End-to-End Encryption for Instagram Messaging

https://www.pcmag.com/news/meta-shuts-down-end-to-end-encryption-for-instagram-dms-messaging
22•tcp_handshaker•49m ago•8 comments

Show HN: GETadb.com – every GET request creates a DB

https://www.getadb.com/
20•nezaj•6h ago•26 comments

Maybe you shouldn't install new software for a bit

https://xeiaso.net/blog/2026/abstain-from-install/
804•psxuaw•23h ago•425 comments

AWS data center outage hits trading on Fanduel, Coinbase

https://www.cnbc.com/2026/05/08/aws-outage-data-center-fanduel-coinbase.html
5•bigflern•59m ago•0 comments

Apple, Intel have reached preliminary chip-making deal

https://www.reuters.com/business/apple-intel-have-reached-preliminary-chip-making-deal-wsj-report...
174•scrlk•5h ago•121 comments

Show HN: Git for AI Agents

https://github.com/regent-vcs/re_gent
87•doshay•8h ago•44 comments

Ask HN: We just had an actual UUID v4 collision...

264•mittermayr•14h ago•224 comments

Podman rootless containers and the Copy Fail exploit

https://garrido.io/notes/podman-rootless-containers-copy-fail/
109•ggpsv•9h ago•23 comments