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?

An OpenAI model has disproved a central conjecture in discrete geometry

https://openai.com/index/model-disproves-discrete-geometry-conjecture/
1186•tedsanders•15h ago•862 comments

Show HN: Rmux – A programmable terminal multiplexer with a Playwright-style SDK

https://github.com/helvesec/rmux
22•shideneyu•1h ago•17 comments

GitHub confirms breach of 3,800 repos via malicious VSCode extension

https://www.bleepingcomputer.com/news/security/github-confirms-breach-of-3-800-repos-via-maliciou...
851•Timofeibu•20h ago•356 comments

Haskell Foundation 2026 Update

https://discourse.haskell.org/t/haskell-foundation-2026-update/14136
121•azhenley•8h ago•34 comments

Show HN: I reverse engineered Apple's video wallpapers

https://github.com/kageroumado/phosphene
292•kageroumado•10h ago•67 comments

Vivaldi 8.0

https://vivaldi.com/blog/vivaldi-on-desktop-8-0/
139•OuterVale•3h ago•63 comments

New features in GCC 16: Improved error messages and SARIF output

https://developers.redhat.com/articles/2026/04/28/gcc-16-improved-error-messages-sarif-output
85•siteshwar•2d ago•12 comments

The Letter S, by Donald Knuth (1980) [pdf]

https://gwern.net/doc/design/typography/1980-knuth.pdf
180•bambax•10h ago•21 comments

DOS Zone

https://dos.zone/
262•rglover•11h ago•58 comments

Flipper One Tech Specs

https://docs.flipper.net/one/general/tech-specs
380•gregsadetsky•15h ago•134 comments

Typewise (YC S22) Is Hiring an AI Growth Engineer (Zurich or Remote)

https://www.ycombinator.com/companies/typewise/jobs/HmCzfBK-ai-growth-engineer
1•janisberneker•2h ago

Anthropic is expanding to Colossus2. Will use GB200

https://twitter.com/nottombrown/status/2057194829986300375
208•aurareturn•13h ago•190 comments

All the bugs they found

https://andreapivetta.com/posts/all-the-bugs-they-found.html
31•ziggy42•1d ago•7 comments

How fast is N tokens per second really?

https://mikeveerman.github.io/tokenspeed/
419•hexagr•3d ago•83 comments

Archaeologists find Egyptian mummy buried with the 'Iliad'

https://www.openculture.com/2026/05/archaeologists-discover-ancient-egyptian-mummy-buried-with-pa...
141•diodorus•5d ago•95 comments

Simulating Infinity in Conway's Game of Life with Modern C++

https://ryanjk5.github.io/posts/GOLDE/
38•HeliumHydride•2d ago•7 comments

OpenAI Is Preparing to File for an IPO Soon

https://www.wsj.com/tech/ai/openai-is-preparing-to-file-for-an-ipo-very-soon-0ec95af5
96•louiereederson•18h ago•235 comments

Saying goodbye to asm.js

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

Your Most Improbable Life

https://kevinkelly.substack.com/p/your-most-improbable-life
109•jger15•2d ago•74 comments

What is a Demand Coop

https://cahootzcoops.com/blog/what-is-a-demand-coop
66•DeonRob•9h ago•67 comments

Numexpr: Fast numerical array expression evaluator for Python, NumPy, Pandas

https://github.com/pydata/numexpr
9•tosh•2d ago•1 comments

Reviving old scanners with an in-browser Linux VM bridged to WebUSB over USB/IP

https://yes-we-scan.app/details
77•gmac•3d ago•27 comments

Show HN: I made a tactical map-based WWII submarine simulator (public beta)

https://silentshark.app/alpha/
50•epaga•2d ago•16 comments

Recreate famous water profiles using supermarket bottled water

https://www.waterdictionary.net
45•smugglerFlynn•2d ago•25 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
314•tigerlily•23h ago•195 comments

The famous O3 "GeoGuessr" prompt did not work

https://www.seangoedecke.com/the-o3-geoguessr-prompt-did-not-work/
19•ingve•1h ago•9 comments

Qian Xuesen: The missile genius America lost and China gained (2025)

https://www.usni.org/magazines/naval-history/2025/december/missile-genius-america-lost-and-china-...
178•thnaks•16h ago•95 comments

Intuit to lay off over 3k employees to refocus on AI

https://techcrunch.com/2026/05/20/intuit-to-lay-off-over-3000-employees-to-refocus-on-ai/
193•wapasta•9h ago•143 comments

Why is Inkwell stuck in review

https://www.manton.org/2026/05/19/why-is-inkwell-stuck-in.html
142•speckx•16h ago•46 comments

The Interview That Ships to Production: replacing whiteboards with pull requests

https://www.angellist.com/blog/the-interview-that-ships-to-production
28•asimov4•2d ago•10 comments