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?

How I find problems to solve as a staff engineer

https://lalitm.com/post/find-problems-staff-engineer/
144•vanpra•2h ago•55 comments

The Vibe Tax

https://insufferable.dev/posts/vibe-tax/
62•allisdust•3h ago•44 comments

How Complex Systems Fail (1998)

https://how.complexsystems.fail/
186•shortcrct•6h ago•52 comments

Why Sal Khan't: On Learning by Making but Teaching by Telling

https://punyamishra.com/2026/04/16/why-sal-khant-on-learning-by-making-but-teaching-by-telling/
99•the-mitr•5h ago•62 comments

Malware infects Android-based automotive head unit firmware

https://securelist.com/android-head-unit-malware/121106/
193•campuscodi•8h ago•91 comments

My agent.md to improve LLM-assisted code quality

https://fabiensanglard.net/agent.md/index.html
68•ibobev•3h ago•24 comments

What Is a Harness?

https://earendil.com/posts/what-is-a-harness/
213•tosh•7h ago•111 comments

A website for debloated open source alternatives

https://debloat.dev/
202•ryanvogel•4h ago•74 comments

My favorite nonfiction books about cults, scams, and schemes

https://bookdna.com/best-books/nonfiction-about-cults-scams-and-schemes
167•bwb•7h ago•59 comments

Google Workspace thinks my domain is an email provider

https://blog.elis.cc/articles/google-workspace-thinks-my-domain-is-an-email-provider/
30•el1s7•2h ago•5 comments

Coconut Oil Jet Fuel Matches Kerosene's Efficiency in Engine Tests

https://studyfinds.com/coconut-oil-jet-fuel-matches-kerosenes-efficiency-in-engine-tests/
120•mdp2021•5h ago•112 comments

Explain it to me like I'm ten

https://timharford.com/2026/08/explain-it-to-me-like-im-ten/
40•bookofjoe•3h ago•22 comments

Fable and the End of the Free Lunch

https://www.dbreunig.com/2026/08/23/fable-the-end-of-moore-s-law.html
74•dbreunig•2h ago•64 comments

I spent $266 and four AI models to own my tablet. GLM-5.3 finished it in a day

https://ericpardee.github.io/fire-hd-ownership/
564•dr_pardee•7h ago•244 comments

Over 170k Nonprofits Lost All Their Data. Is Microsoft to Blame?

https://slate.com/technology/2026/08/microsoft-software-nonprofit-data-delete.html
83•tchalla•2h ago•28 comments

Slovakia finds Russian backdoor in traffic speed cameras

https://risky.biz/risky-bulletin-slovakia-finds-russian-backdoor-in-traffic-speed-cameras/
323•dredmorbius•7h ago•124 comments

Decoding silent reading from non-invasive EEG

https://arxiv.org/abs/2608.20186
7•root-parent•1h ago•1 comments

Wi-Fi 8 is the first wireless upgrade in years that isn't chasing speed

https://www.xda-developers.com/wi-fi-8-first-wireless-upgrade-years-isnt-chasing-speed-home-netwo...
267•taubek•15h ago•204 comments

Predicting AI model release dates with stats

https://releaseoracle.xyz/
16•akeyes6•3h ago•2 comments

The Remote Work Challenge: Lessons from 5 Cities

https://www.pew.org/en/research-and-analysis/reports/2026/05/the-remote-work-challenge-lessons-fr...
15•softwaredoug•4h ago•5 comments

The End of an Athlon

http://www.os2museum.com/wp/the-end-of-an-athlon/
173•userbinator•15h ago•83 comments

AI and Infrastructure Engineering

https://omegion.dev/2026/08/ai-and-infrastructure-engineering/
16•0megion•3h ago•3 comments

Kodak DC50 now usable on the Apple II

https://www.colino.net/wordpress/archives/2026/08/23/kodak-dc50-now-usable-on-the-apple-ii/
11•ibobev•5h ago•1 comments

Erik Brynjolfsson says an AI "job apocalypse" is unlikely

https://wpintelligence.washingtonpost.com/topics/ai-tech/2026/08/19/wpi-conversation-why-an-ai-jo...
17•gumby•4h ago•16 comments

MartyPC is a cross-platform emulator of early PCs written in Rust

https://martypc.net/
202•boilerupnc•18h ago•82 comments

To become a better writer, read as much as you can

https://nappertime.com/the-golden-rule-of-becoming-a-better-writer/
406•andsoitis•18h ago•245 comments

I Dream of Quieter Computing

https://henry.codes/writing/i-dream-of-quieter-computing/
106•Sir_Twist•19h ago•108 comments

I gave Qwen 3.8 27B a reverse-engineering job and it finished in 30 minutes

https://www.xda-developers.com/qwen-3-8-27b-reverse-engineering-job-frontier-model/
293•raybb•11h ago•131 comments

JIT Compiling Code in 5μs

https://malisper.me/jit-compiling-code-in-5-us/
151•zX41ZdbW•15h ago•95 comments

Etched Sohu vs. Nvidia: Transformer ASIC vs. GPU (2026)

https://www.spheron.network/blog/etched-ai-sohu-vs-nvidia-transformer-asic-inference/
14•rbanffy•3h ago•2 comments