frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

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

Comments

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

Best buds on this front

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

Show HN: Brutalist Concrete Laptop Stand (2024)

https://sam-burns.com/posts/concrete-laptop-stand/
96•sam-bee•2h ago•28 comments

We found an undocumented bug in the Apollo 11 guidance computer code

https://www.juxt.pro/blog/a-bug-on-the-dark-side-of-the-moon/
148•henrygarner•3h ago•78 comments

Show HN: A cartographer's attempt to realistically map Tolkien's world

https://www.intofarlands.com/atlasofarda
33•intofarlands•1h ago•6 comments

Dropping Cloudflare for Bunny.net

https://jola.dev/posts/dropping-cloudflare
11•shintoist•15m ago•0 comments

Show HN: Pion/handoff – Move WebRTC out of browser and into Go

https://github.com/pion/handoff
30•Sean-Der•1h ago•4 comments

Identify a London Underground Line just by listening to it

https://tubesoundquiz.com/
82•nelson687•3h ago•21 comments

AI may be making us think and write more alike

https://dornsife.usc.edu/news/stories/ai-may-be-making-us-think-and-write-more-alike/
97•giuliomagnifico•2h ago•79 comments

Blackholing My Email

https://www.johnsto.co.uk/blog/blackholing-my-email/
81•semyonsh•4h ago•3 comments

DeiMOS – A Superoptimizer for the MOS 6502

https://aransentin.github.io/deimos/
21•Aransentin•2h ago•3 comments

Wi-Fi That Can Withstand a Nuclear Reactor: This receiver chip can take it

https://spectrum.ieee.org/robotics-in-nuclear-industry
18•voxadam•4d ago•1 comments

Running Out of Disk Space in Production

https://alt-romes.github.io/posts/2026-04-01-running-out-of-disk-space-on-launch.html
56•romes•3d ago•21 comments

Breaking the console: a brief history of video game security

https://sergioprado.blog/breaking-the-console-a-brief-history-of-video-game-security/
43•sprado•3h ago•7 comments

My Experience as a Rice Farmer

https://xd009642.github.io/2026/04/01/My-Experience-as-a-Rice-Farmer.html
224•surprisetalk•4d ago•102 comments

Every GPU That Mattered

https://sheets.works/data-viz/every-gpu
158•jonbaer•5h ago•89 comments

Floating point from scratch: Hard Mode

https://essenceia.github.io/projects/floating_dragon/
47•random__duck•2d ago•8 comments

Show HN: Stop paying for Dropbox/Google Drive, use your own S3 bucket instead

https://locker.dev
77•Zm44•2h ago•78 comments

The best tools for sending an email if you go silent

https://blog.alcazarsec.com/posts/best-email-dead-mans-switches
6•alcazar•29m ago•1 comments

Haunting Photos Show the Aftermath of the Kursk Submarine Disaster in 2000

https://rarehistoricalphotos.com/kursk-submarine-disaster-photos/
37•mooreds•4d ago•1 comments

10 Enduring Lessons from Adam Smith

https://thedailyeconomy.org/article/the-wealth-of-nations-at-250-ten-profound-quotations-from-ada...
3•RickJWagner•51m ago•0 comments

Sam Altman may control our future – can he be trusted?

https://www.newyorker.com/magazine/2026/04/13/sam-altman-may-control-our-future-can-he-be-trusted
1601•adrianhon•1d ago•651 comments

Show HN: Ghost Pepper – Local hold-to-talk speech-to-text for macOS

https://github.com/matthartman/ghost-pepper
418•MattHart88•17h ago•185 comments

Three hundred synths, 3 hardware projects, and one app

https://midi.guide/blog/three-hunded-synths-one-app/
80•ductionist•8h ago•7 comments

Issue: Claude Code is unusable for complex engineering tasks with Feb updates

https://github.com/anthropics/claude-code/issues/42796
1201•StanAngeloff•23h ago•647 comments

"The new Copilot app for Windows 11 is really just Microsoft Edge"

https://twitter.com/i/status/2041112541909205001
32•bundie•1h ago•13 comments

Second Revision of 6502 Laptop

https://codeberg.org/TechPaula/LT6502b
75•uticus•4d ago•16 comments

Solod – A subset of Go that translates to C

https://github.com/solod-dev/solod
154•TheWiggles•12h ago•36 comments

Launch HN: Freestyle – Sandboxes for Coding Agents

https://www.freestyle.sh/
293•benswerd•21h ago•151 comments

A cryptography engineer's perspective on quantum computing timelines

https://words.filippo.io/crqc-timeline/
512•thadt•22h ago•206 comments

Attention Is All You Need, but All You Can't Afford – Hybrid Attention

6•JohannaAlmeida•31m ago•1 comments

Record wind and solar saved UK from gas imports worth £1B in March 2026

https://www.carbonbrief.org/analysis-record-wind-and-solar-saved-uk-from-gas-imports-worth-1bn-in...
19•mindracer•1h ago•1 comments