frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

https://jfmengels.net/compiler-reminders/
38•jfmengels1•12mo ago

Comments

JonChesterfield•12mo 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•12mo 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•12mo ago
That is a feature. Compose instead of extending.
Yoric•12mo ago
OCaml has extensible sum types. They work very nicely for some ranges of problems.
swiftcoder•12mo ago
Elm <-> Rust

Best buds on this front

gitroom•12mo ago
Tbh, missing those checks in other languages bugs me so much - it's like why leave me hanging?

I bought Friendster for $30k – Here's what I'm doing with it

https://ca98am79.medium.com/i-bought-friendster-for-30k-heres-what-i-m-doing-with-it-d5e8ddb3991d
516•ca98am79•7h ago•285 comments

Self-updating screenshots

https://interblah.net/self-updating-screenshots
118•bjhess•20h ago•20 comments

TurboQuant: A First-Principles Walkthrough

https://arkaung.github.io/interactive-turboquant/
25•kweezar•2h ago•2 comments

Three constraints before I build anything

https://jordanlord.co.uk/blog/3-constraints/
91•nervous_north•1d ago•15 comments

EvanFlow – A TDD driven feedback loop for Claude Code

https://github.com/evanklem/evanflow
20•evanklem2004•2h ago•5 comments

Fast16: High-precision software sabotage 5 years before Stuxnet

https://www.sentinelone.com/labs/fast16-mystery-shadowbrokers-reference-reveals-high-precision-so...
183•dd23•7h ago•46 comments

The Prompt API

https://developer.chrome.com/docs/ai/prompt-api
17•gslin•1h ago•7 comments

When the cheap one is the cool one

https://arun.is/blog/cheap-cool/
49•ddrmaxgt37•1d ago•16 comments

Box to save memory in Rust

https://dystroy.org/blog/box-to-save-memory/
84•emschwartz•3d ago•19 comments

When Your Digital Life Vanishes

https://www.newyorker.com/magazine/2026/04/27/when-your-digital-life-vanishes
22•benbreen•4d ago•3 comments

SWE-bench Verified no longer measures frontier coding capabilities

https://openai.com/index/why-we-no-longer-evaluate-swe-bench-verified/
264•kmdupree•14h ago•150 comments

The fastest Linux timestamps

https://www.hmpcabral.com/2026/04/26/the-fastest-linux-timestamps/
40•hmpc•14h ago•9 comments

Butterflies are in decline across North America, a look at the Western Monarch

https://www.smithsonianmag.com/science-nature/butterflies-are-in-dramatic-decline-across-north-am...
156•1659447091•6h ago•48 comments

AI should elevate your thinking, not replace it

https://www.koshyjohn.com/blog/ai-should-elevate-your-thinking-not-replace-it/
323•koshyjohn•7h ago•264 comments

Sawe becomes first athlete to run a sub-two-hour marathon in a competitive race

https://www.bbc.com/sport/athletics/articles/crm1m7e0zwzo
294•berkeleyjunk•7h ago•209 comments

Revocation of X.509 Certificates

https://blog.apnic.net/2026/04/24/revocation-of-x-509-certificates/
6•jandeboevrie•1d ago•0 comments

FreeBSD Device Drivers Book

https://github.com/ebrandi/FDD-book
34•myth_drannon•5h ago•5 comments

Google banks on AI edge to catch up to cloud rivals Amazon and Microsoft

https://www.ft.com/content/2429f0f0-b685-4747-b425-bf8001a2e94c
79•donsupreme•3h ago•49 comments

Lessons from building multiplayer browsers

https://www.alejandro.pe/writing/sail-muddy-lessons
17•alejandrohacks•12h ago•8 comments

Notepad++ for Mac – Independent community port

https://notepad-plus-plus-mac.org/
42•jonbaer•1h ago•22 comments

Show HN: AI memory with biological decay (52% recall)

https://github.com/sachitrafa/YourMemory
72•SachitRafa•7h ago•32 comments

Quirks of Human Anatomy

https://www.sdbonline.org/sites/fly/lewheldquirk/figlegq6.htm
100•gurjeet•1d ago•62 comments

Magic: The Gathering took me from N2 to Japanese fluency

https://www.tokyodev.com/articles/how-magic-the-gathering-took-me-from-n2-to-japanese-fluency
102•pwim•3d ago•35 comments

Running Bare-Metal Rust Alongside ESP-IDF on the ESP32-S3's Second Core

https://tingouw.com/blog/embedded/esp32/run_rust_on_app_core
42•MrBuddyCasino•2d ago•8 comments

Chernobyl wildlife forty years on

https://www.bbc.com/future/article/20260424-chernobyl-wildlife-forty-years-on
59•reconnecting•8h ago•5 comments

MoQ Boy

https://moq.dev/blog/moq-boy/
46•mmcclure•7h ago•5 comments

Clay PCB Tutorial

https://feministhackerspaces.cargo.site/Clay-PCB-Tutorial
204•j0r0b0•11h ago•124 comments

An AI agent deleted our production database. The agent's confession is below

https://twitter.com/lifeof_jer/status/2048103471019434248
526•jeremyccrane•11h ago•676 comments

Music of the BBC Microcomputer System

https://www.acornelectron.co.uk/eug/72/a-musi.html
14•eightb•1d ago•1 comments

The Visible Zorker: Zork 1

https://eblong.com/infocom/visi/zork1/
114•PLenz•11h ago•21 comments