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?

Bun ported to Rust in 6 days

https://xunroll.com/thread/2053047748191232310
80•qprofyeh•49m ago•43 comments

Internet Archive Switzerland

https://internetarchive.ch/
406•hggh•7h ago•58 comments

CPanel's Black Week: 3 New Vulnerabilities Patched After Attack on 44k Servers

https://www.copahost.com/blog/cpanels-black-week-three-new-vulnerabilities-patched-after-ransomwa...
51•ggallas•2h ago•28 comments

I Will Not Add Query Strings to Your URLs

https://susam.net/no-query-strings.html
63•susam•3h ago•23 comments

Show HN: I wrote a flight simulator in my own programming language

https://github.com/navid-m/flightsim
50•pizza_man•2d ago•13 comments

LLMs corrupt your documents when you delegate

https://arxiv.org/abs/2604.15597
265•rbanffy•10h ago•102 comments

Google broke reCAPTCHA for de-googled Android users

https://reclaimthenet.org/google-broke-recaptcha-for-de-googled-android-users
1376•anonymousiam•1d ago•498 comments

PipeDream on the Acorn Archimedes

https://stonetools.ghost.io/pipedream-archimedes/
55•msephton•4h ago•18 comments

Distributing Mac software is increasing my cortisol levels

https://blog.kronis.dev/blog/apple-is-increasing-my-cortisol-levels
58•LorenDB•4h ago•29 comments

Zed Editor Theme-Builder

https://zed.dev/theme-builder
40•cuechan•2h ago•19 comments

The hypocrisy of cyberlibertarianism

https://matduggan.com/the-intolerable-hypocrisy-of-cyberlibertarianism/
174•ColinWright•5h ago•126 comments

The ROKR wooden typewriter: a closer look

http://writingball.blogspot.com/2026/05/the-rokr-wooden-typewriter-closer-look.html
7•speckx•2d ago•0 comments

Using Claude Code: The unreasonable effectiveness of HTML

https://twitter.com/trq212/status/2052809885763747935
369•pretext•14h ago•223 comments

How LEDs are made (2014)

https://learn.sparkfun.com/tutorials/how-leds-are-made/all
104•smig0•2d ago•14 comments

Mythical Man Month

https://martinfowler.com/bliki/MythicalManMonth.html
306•ingve•2d ago•178 comments

A recent experience with ChatGPT 5.5 Pro

https://gowers.wordpress.com/2026/05/08/a-recent-experience-with-chatgpt-5-5-pro/
534•_alternator_•16h ago•394 comments

OpenAI’s WebRTC problem

https://moq.dev/blog/webrtc-is-the-problem/
433•atgctg•2d ago•137 comments

America's carpet capital: an empire and its toxic legacy

https://apnews.com/projects/pfas-forever-stained/
137•rawgabbit•3d ago•80 comments

GrapheneOS fixes Android VPN leak Google refused to patch

https://cyberinsider.com/grapheneos-fixes-android-vpn-leak-google-refused-to-patch/
162•Georgelemental•5h ago•49 comments

Introduction to Beaver Triples

https://stoffelmpc.com/stoffel-blog/beaver-triples-tuples
11•badcryptobitch•3h ago•5 comments

David Attenborough's 100th Birthday

https://www.bbc.com/news/articles/cp3pww9g0p5o
801•defrost•1d ago•154 comments

Building the TD4 4-Bit CPU

https://jayakody2000lk.blogspot.com/2026/05/building-td4-4-bit-cpu.html
39•zdw•2d ago•11 comments

Show HN: Create flashcards with Space CLI

https://getspace.app/cli
3•friebetill•4h ago•0 comments

Reviving the IBM Selectric Composer Fonts (2023)

https://www.kutilek.de/selectric/
58•tangus•3d ago•5 comments

Show HN: Mochi.js: bun-native high-fidelity browser automation library

https://mochijs.com/
16•ccheshirecat•5h ago•11 comments

What causes lightning? The answer keeps getting more interesting

https://www.quantamagazine.org/what-causes-lightning-the-answer-keeps-getting-more-interesting-20...
163•Tomte•3d ago•40 comments

Wi is Fi: Understanding Wi-Fi 4/5/6/6E/7/8 (802.11 n/AC/ax/be/bn)

https://www.wiisfi.com/
343•homebrewer•3d ago•91 comments

Killswitch: Per-function short-circuit mitigation primitive

https://lwn.net/ml/all/20260507070547.2268452-1-sashal@kernel.org/
71•signa11•10h ago•19 comments

AI is breaking two vulnerability cultures

https://www.jefftk.com/p/ai-is-breaking-two-vulnerability-cultures
402•speckx•1d ago•160 comments

Cartoon Network Flash Games

https://www.webdesignmuseum.org/flash-game-exhibitions/cartoon-network-flash-games
398•willmeyers•1d ago•121 comments