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?

GPT-5.5

https://openai.com/index/introducing-gpt-5-5/
1062•rd•7h ago•716 comments

Bitwarden CLI compromised in ongoing Checkmarx supply chain campaign

https://socket.dev/blog/bitwarden-cli-compromised
635•tosh•11h ago•309 comments

Show HN: Tolaria – open-source macOS app to manage Markdown knowledge bases

https://github.com/refactoringhq/tolaria
81•lucaronin•3h ago•28 comments

U.S. Soldier Charged with Using Classified Info to Profit from Prediction Market

https://www.justice.gov/usao-sdny/pr/us-soldier-charged-using-classified-information-profit-predi...
178•paulpauper•2h ago•77 comments

MeshCore development team splits over trademark dispute and AI-generated code

https://blog.meshcore.io/2026/04/23/the-split
149•wielebny•8h ago•87 comments

TorchTPU: Running PyTorch Natively on TPUs at Google Scale

https://developers.googleblog.com/torchtpu-running-pytorch-natively-on-tpus-at-google-scale/
45•mji•4h ago•2 comments

An update on recent Claude Code quality reports

https://www.anthropic.com/engineering/april-23-postmortem
559•mfiguiere•7h ago•422 comments

I am building a cloud

https://crawshaw.io/blog/building-a-cloud
985•bumbledraven•20h ago•487 comments

Incident with multple GitHub services

https://www.githubstatus.com/incidents/myrbk7jvvs6p
204•bwannasek•8h ago•99 comments

Show HN: Agent Vault – Open-source credential proxy and vault for agents

https://github.com/Infisical/agent-vault
65•dangtony98•1d ago•20 comments

Palantir employees are starting to wonder if they're the bad guys

https://www.wired.com/story/palantir-employees-are-starting-to-wonder-if-theyre-the-bad-guys/
712•pavel_lishin•7h ago•490 comments

My phone replaced a brass plug

https://drobinin.com/posts/my-phone-replaced-a-brass-plug/
74•valzevul•8h ago•13 comments

UK Biobank health data keeps ending up on GitHub

https://biobank.rocher.lc
64•Cynddl•11h ago•16 comments

Your hex editor should color-code bytes

https://simonomi.dev/blog/color-code-your-bytes/
499•tobr•2d ago•142 comments

Astronomers find the edge of the Milky Way

https://skyandtelescope.org/astronomy-news/astronomers-find-the-edge-of-the-milky-way/
78•bookofjoe•7h ago•13 comments

A programmable watch you can actually wear

https://www.hackster.io/news/a-diy-watch-you-can-actually-wear-8f91c2dac682
136•sarusso•2d ago•74 comments

Show HN: Honker – Postgres NOTIFY/LISTEN Semantics for SQLite

https://github.com/russellromney/honker
227•russellthehippo•13h ago•52 comments

French government agency confirms breach as hacker offers to sell data

https://www.bleepingcomputer.com/news/security/french-govt-agency-confirms-breach-as-hacker-offer...
352•robtherobber•9h ago•122 comments

Girl, 10, finds rare Mexican axolotl under Welsh bridge

https://www.bbc.com/news/articles/c9d4zgnqpqeo
170•codezero•6h ago•138 comments

I spent years trying to make CSS states predictable

https://tenphi.me/blog/why-i-spent-years-trying-to-make-css-states-predictable/
47•tenphi•12h ago•10 comments

Advanced Packaging Limits Come into Focus

https://semiengineering.com/advanced-packaging-limits-come-into-focus/
27•PaulHoule•2d ago•5 comments

Arch Linux Now Has a Bit-for-Bit Reproducible Docker Image

https://antiz.fr/blog/archlinux-now-has-a-reproducible-docker-image/
306•maxloh•23h ago•104 comments

Writing a C Compiler, in Zig (2025)

https://ar-ms.me/thoughts/c-compiler-1-zig/
137•tosh•15h ago•39 comments

Alberta startup sells no-tech tractors for half price

https://wheelfront.com/this-alberta-startup-sells-no-tech-tractors-for-half-price/
2143•Kaibeezy•1d ago•734 comments

Using the internet like it's 1999

https://joshblais.com/blog/using-the-internet-like-its-1999/
96•joshuablais•5h ago•62 comments

WireGuard for Windows Reaches v1.0

https://lists.zx2c4.com/pipermail/wireguard/2026-April/009580.html
97•zx2c4•2d ago•7 comments

A Renaissance gambling dispute spawned probability theory

https://www.scientificamerican.com/article/how-a-renaissance-gambling-dispute-spawned-probability...
96•sohkamyung•2d ago•15 comments

Isopods of the world

https://isopod.site/
150•debesyla•3d ago•51 comments

If America's so rich, how'd it get so sad?

https://www.derekthompson.org/p/if-americas-so-rich-howd-it-get-so
427•momentmaker•9h ago•778 comments

Jiga (YC W21) Is Hiring

https://jiga.io/about-us/
1•grmmph•13h ago