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?

`123456' password used in Danish CPR data breach

https://cphpost.dk/2026-10-10/news/round-up/123456-password-used-in-massive-danish-cpr-data-breach/
34•baal80spam•31m ago•7 comments

WSL3 Performance is about 5-60% faster than WSL2 depending on the workload

https://tonym.us/wsl2-vs-wsl3-benchmarks.html
30•tonymet•2d ago•6 comments

REA Reverse – Engineer Anything

https://rea.tools/
441•modinfo•9h ago•169 comments

Telegram Desktop vulnerability allowed any user's file to be stolen

https://beaksec.github.io/posts/telegram-desktop-one-click-account-takeover/
185•g-b-r•7h ago•85 comments

Cloudflare acquires Deno

https://deno.com/blog/cloudflare
1241•ilreb•21h ago•627 comments

Triple-A Minesweeper

https://minesweeper.mikelacher.com/
987•robin_reala•18h ago•193 comments

Computers Cannot Make Decisions

https://wiki.cateat.fish/art:computers_cannot_make_decisions
86•heavensteeth•4h ago•66 comments

Eye of Sauron: Long-Range Hidden Spy Camera Detection (2024)

https://www.usenix.org/conference/usenixsecurity24/presentation/zhang-qibo
166•ortusdux•2d ago•38 comments

Cube Type – Isometric Typography Generator

https://typeincube.com/
16•eustoria•1d ago•1 comments

Food processing influences metabolism and brain activity

https://news.vt.edu/articles/2026/10/research_fralinbiomed_upfhutelin.html
35•gmays•5h ago•19 comments

Can you use autoregressive diffusion to generate market data?

https://blog.janestreet.com/can-you-use-autoregressive-diffusion-to-generate-market-data/
91•jsomers•19h ago•26 comments

Show HN: Carrier-Explode: iPhone, Pixel and Galaxy carrier settings decoded

https://carrierexplode.com/
331•simplyalec•16h ago•42 comments

How to head into VR without wearing a headset

https://www.kyushu-u.ac.jp/en/researches/view/414/
34•Betelbuddy•3d ago•15 comments

Compiling Rust to readable C with Eurydice

https://lwn.net/Articles/1055211/
82•peter_d_sherman•10h ago•16 comments

Typesafe AI raises $870M at $7.5B

https://typesafe.ai/blog/series-ai
377•tosh•17h ago•278 comments

I tried to move my notes out of Emacs. I failed. Again

https://baty.net/posts/2026/10/i-tried-to-move-my-notes-out-of-emacs-i-failed/
30•speckx•2d ago•29 comments

Clinical trial of a prion disease drug candidate begins enrolling participants

https://www.broadinstitute.org/news/clinical-trial-prion-disease-drug-candidate-begins-enrolling-...
73•luu•10h ago•12 comments

Pointing AI at archives found a forgotten meteorite, lost rhinos, and more

https://jessewaites.com/blog/post/i-pointed-ai-at-400-years-of-archives/
147•piratebroadcast•22h ago•76 comments

What mathematicians should know about the Lean Theorem Prover: reliability & AI

https://terrytao.wordpress.com/2026/10/09/what-mathematicians-should-know-about-the-lean-theorem-...
119•matt_d•16h ago•23 comments

Scam American companies are using to manipulate ingredient lists

https://twitter.com/WallStreetApes/status/2108594998656807078
125•bilsbie•16h ago•134 comments

Show HN: Proton Drive for Linux

https://oss.lsantos.dev/proton-drive-linux-fs/
84•khaosdoctor•2d ago•29 comments

Vegetative Electron Microscopy WTF? (2025)

https://www.sciencebase.com/science-blog/vegetative-electron-microscopy.html
16•adunk•1d ago•1 comments

'Wallace and Gromit,' 90% Alone

https://animationobsessive.substack.com/p/wallace-and-gromit-90-alone
218•vinhnx•20h ago•29 comments

The role of cat eye narrowing movements in cat–human communication (2020)

https://www.nature.com/articles/s41598-020-73426-0
86•bushwart•3d ago•36 comments

Our $445M Series D

https://oxide.computer/blog/our-445m-series-d
660•ahlCVA•21h ago•296 comments

YouTuber Says Cops Visited Him After He Built a Flock-Style Camera to Track Cops

https://gizmodo.com/youtuber-says-cops-paid-him-a-visit-after-he-built-flock-style-camera-to-trac...
577•gumby•13h ago•312 comments

Sorry, I'm in a meeting

https://iminafleeting.com/
909•splintersio•1d ago•256 comments

Communication Between the Compiler, the Build System, and Beyond

https://shrub.industries/words/problem.html
17•shrub900•3d ago•3 comments

Show HN: The rarest tech books and docs you've probably never read

https://readrare.com/
131•miletus•16h ago•48 comments

100+ reactions to 100+ solutions

https://proofsandprompts.com/2026/10/08/100-reactions-to-100-solutions/
73•jacobedawson•21h ago•66 comments