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?

Gemini 3.5 Flash

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-3-5/
529•spectraldrift•7h ago•411 comments

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

https://virtualosmuseum.org/
571•andreww591•9h ago•132 comments

Google changes its search box

https://blog.google/products-and-platforms/products/search/search-io-2026/
350•berkeleyjunk•6h ago•519 comments

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

https://openai.com/index/advancing-content-provenance/
175•smooke•5h ago•92 comments

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

https://github.com/antoinezambelli/forge
238•zambelli•12h ago•85 comments

Mistral AI Acquires Emmi AI to Create the Leading AI Stack

https://www.emmi.ai/news/mistral-ai-acquires-emmi-ai
157•doener•5h ago•37 comments

Apple unveils new accessibility features

https://www.apple.com/newsroom/2026/05/apple-unveils-new-accessibility-features-and-updates-with-...
582•interpol_p•12h ago•295 comments

Dumb ways for an open source project to die

https://nesbitt.io/2026/05/19/dumb-ways-for-an-open-source-project-to-die.html
137•chmaynard•5h ago•73 comments

Railway Blocked by Google Cloud

https://status.railway.com/?date=20260519
5•aarondf•30m ago•2 comments

Minnesota becomes first state to ban prediction markets

https://www.npr.org/2026/05/19/nx-s1-5821265/minnesota-ban-prediction-markets
393•ortusdux•5h ago•135 comments

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

https://github.com/wiltodelta/remove-ai-watermarks
83•janalsncm•2h ago•60 comments

Growing Neural Cellular Automata

https://distill.pub/2020/growing-ca/
62•pulkitsh1234•2d ago•6 comments

GitHub is investigating unauthorized access to their internal repositories

https://twitter.com/github/status/2056884788179726685
42•splenditer•53m ago•11 comments

I’ve joined Anthropic

https://twitter.com/karpathy/status/2056753169888334312
1145•dmarcos•9h ago•480 comments

Lisp in Web-Based Applications (2001)

https://sep.turbifycdn.com/ty/cdn/paulgraham/bbnexcerpts.txt
35•bschne•1d ago•3 comments

Show HN: Gaussian Splat of a Strawberry

https://superspl.at/scene/84df8849
465•danybittel•14h ago•183 comments

The two oldest printing presses

https://museumplantinmoretus.be/en/worlds-two-oldest-printing-presses
16•janpot•1d ago•1 comments

Unusual uses of OEIS sequences on GitHub

https://www.jeremykun.com/shortform/2026-04-13-0700/
9•surprisetalk•1d ago•1 comments

Tool mapping 90 companies in the photonics and CPO supply chain

https://leonardo-boquillon.com/photonic-cop-supply-chain
21•lboquillon•2d ago•1 comments

CISA Admin Leaked AWS GovCloud Keys on GitHub

https://krebsonsecurity.com/2026/05/cisa-admin-leaked-aws-govcloud-keys-on-github/
390•LelouBil•17h ago•162 comments

Disney erased FiveThirtyEight

https://www.natesilver.net/p/disney-erased-fivethirtyeight
292•7777777phil•5h ago•178 comments

Copy Fail, Dirty Frag, and Fragnesia kernel vulnerabilities

https://www.gentoo.org/news/2026/05/19/copy-fail-fragnesia-vulnerabilities.html
109•akhuettel•9h ago•39 comments

I found ultra-pure quantum crystals in an abandoned mine in the Atacama desert

https://medium.com/@breid.at/ultra-pure-quantum-crystals-from-an-abandoned-mine-in-a-mysterious-d...
269•vi_sextus_vi•2d ago•105 comments

Why is almost everyone right-handed? A new study connects it to bipedalism

https://www.ox.ac.uk/news/2026-05-15-why-is-almost-everyone-right-handed-the-answer-may-lie-in-ho...
84•gmays•10h ago•135 comments

The foundations of a provably secure operating system (PSOS) (1979) [pdf]

http://www.csl.sri.com/users/neumann/psos.pdf
120•rurban•1d ago•82 comments

The TTY Demystified (2008)

https://www.linusakesson.net/programming/tty/index.php
35•20after4•6h ago•8 comments

Gemini Omni

https://deepmind.google/models/gemini-omni/
250•meetpateltech•7h ago•105 comments

Intro to TLA+ for the LLM Era: Prompt Your Way to Victory

https://emptysqua.re/blog/intro-to-tla-plus-for-the-llm-era/
105•zdw•2d ago•25 comments

Hanoi’s humble beer glass and the memory of a nation

https://sundaylongread.com/2026/05/15/hanois-humble-beer-glass-and-the-memory-of-a-nation/
118•NaOH•1d ago•36 comments

The Silver Swan

https://thebowesmuseum.org.uk/collections/the-silver-swan/
26•pseudolus•1d ago•4 comments