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?

Meta blocks human rights accounts from reaching audiences in Arabia and the UAE

https://www.alqst.org/ar/posts/1190
119•giuliomagnifico•51m ago•36 comments

Goodbye Visa and Mastercard: 130M Europeans switching to sovereign payment

https://www.lesnumeriques.com/banque-en-ligne/adieu-visa-et-mastercard-130-millions-d-europeens-b...
62•healsdata•32m ago•25 comments

Map of Metal

https://mapofmetal.com/
149•robin_reala•2h ago•43 comments

America's Greatest Strategic Blunder: The Imprisonment of Qian Xuesen

https://danieltan.weblog.lol/2026/05/americas-greatest-strategic-blunder-the-imprisonment-of-qian...
15•danieltanfh95•15m ago•0 comments

Qwen3.7-Max: The Agent Frontier

https://qwen.ai/blog?id=qwen3.7
121•kevinsimper•3h ago•49 comments

Nobody understands the point of hybrid cars [video]

https://www.youtube.com/watch?v=KnUFH5GX_fI
90•CHB0403085482•2d ago•34 comments

Everything in C is undefined behavior

https://blog.habets.se/2026/05/Everything-in-C-is-undefined-behavior.html
311•lycopodiopsida•7h ago•438 comments

College students drown out AI-praising commencement speeches with boos

https://www.tomshardware.com/tech-industry/artificial-intelligence/college-students-drown-out-ai-...
123•iancmceachern•1h ago•74 comments

Saying Goodbye to Asm.js

https://spidermonkey.dev/blog/2026/05/20/saying-goodbye-to-asmjs.html
22•eqrion•1h ago•8 comments

Google's AI is being manipulated. The search giant is quietly fighting back

https://www.bbc.com/future/article/20260519-google-tackles-attempts-to-hack-its-ai-results
30•tigerlily•2h ago•16 comments

Anna's Archive Hit with $19.5M Default Judgment and Global Domain Takedown Order

https://torrentfreak.com/annas-archive-hit-with-19-5m-default-judgment-and-global-domain-takedown...
60•iamnothere•1h ago•38 comments

Gemini 3.5 Flash

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-3-5/
865•spectraldrift•19h ago•593 comments

FiveThirtyEight articles on the Internet Archive

https://fivethirtyeightindex.com/
268•ChocMontePy•12h ago•66 comments

When Fast Fourier Transform Meets Transformer for Image Restoration

https://github.com/deng-ai-lab/SFHformer
6•teleforce•1d ago•0 comments

I’ve built a virtual museum with nearly every operating system you can think of

https://virtualosmuseum.org/
861•andreww591•21h ago•183 comments

Japan is gripped by mass allergies. A 1950s project is to blame

https://www.bbc.com/future/article/20260515-the-1950s-blunder-which-causes-mass-hay-fever-in-japan
199•ranit•11h ago•97 comments

Infomaniak transitions to a foundation model to protect user data privacy

https://news.infomaniak.com/en/infomaniak-foundation-sovereign-cloud/
117•darktoto•7h ago•34 comments

Show HN: Forge – Guardrails take an 8B model from 53% to 99% on agentic tasks

https://github.com/antoinezambelli/forge
566•zambelli•1d ago•203 comments

Google changes its search box

https://blog.google/products-and-platforms/products/search/search-io-2026/
613•berkeleyjunk•19h ago•834 comments

Learnings from 100K lines of Rust with AI (2025)

https://zfhuang99.github.io/rust/claude%20code/codex/contracts/spec-driven%20development/2025/12/...
88•pramodbiligiri•3h ago•94 comments

Remove-AI-Watermarks – CLI and library for removing AI watermarks from images

https://github.com/wiltodelta/remove-ai-watermarks
327•janalsncm•15h ago•196 comments

The Invention of Buses

https://worksinprogress.co/issue/the-invention-of-buses/
28•surprisetalk•1d ago•6 comments

Apple unveils new accessibility features

https://www.apple.com/newsroom/2026/05/apple-unveils-new-accessibility-features-and-updates-with-...
696•interpol_p•1d ago•365 comments

Mistral AI acquires Emmi AI

https://www.emmi.ai/news/mistral-ai-acquires-emmi-ai
294•doener•18h ago•88 comments

OpenAI Adopts Google's SynthID Watermark for AI Images with Verification Tool

https://openai.com/index/advancing-content-provenance/
307•smooke•18h ago•165 comments

Gemini CLI will stop working from June 18, 2026

https://developers.googleblog.com/an-important-update-transitioning-gemini-cli-to-antigravity-cli/
290•primaprashant•19h ago•149 comments

RISC-V and Floating-Point

https://fprox.substack.com/p/risc-v-and-floating-point
40•hasheddan•2d ago•30 comments

No way to parse integers in C (2022)

https://blog.habets.se/2022/10/No-way-to-parse-integers-in-C.html
17•konmok•3h ago•14 comments

CopyFail: From Pod to Host

https://xint.io/blog/copy-fail-pod-to-host
36•tptacek•20h ago•6 comments

Simulated Evolution on the PICO-8

https://bumbershootsoft.wordpress.com/2026/05/16/simulated-evolution-on-the-pico-8/
28•ibobev•2d ago•2 comments