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?

The Bromine Chokepoint: How Strife Could Halt Production of World’s Memory Chips

https://warontherocks.com/cogs-of-war/the-bromine-chokepoint-how-strife-in-the-middle-east-could-...
53•crescit_eundo•2h ago•16 comments

Vercel April 2026 security incident

https://www.bleepingcomputer.com/news/security/vercel-confirms-breach-as-hackers-claim-to-be-sell...
306•colesantiago•6h ago•222 comments

Show HN: Faceoff – A terminal UI for following NHL games

https://www.vincentgregoire.com/faceoff/
51•vcf•2h ago•20 comments

I wrote a CHIP-8 emulator in my own programming language

https://github.com/navid-m/chip8emu
17•pizza_man•1h ago•4 comments

A. J. Ayer – ‘What I Saw When I Was Dead’ (1988)

https://www.philosopher.eu/others-writings/a-j-ayer-what-i-saw-when-i-was-dead/
9•isomorphy•23m ago•0 comments

I learned Unity the wrong way

https://darkounity.com/blog/how-i-learned-unity-the-wrong-way
27•lelanthran•3d ago•10 comments

Archive of BYTE magazine, starting with issue #1 in 1975

https://archive.org/details/byte-magazine-1975-09
479•DamnInteresting•2d ago•120 comments

The seven programming ur-languages (2022)

https://madhadron.com/programming/seven_ur_languages.html
227•helloplanets•12h ago•88 comments

Notion leaks email addresses of all editors of any public page

https://twitter.com/weezerOSINT/status/2045849358462222720
239•Tiberium•5h ago•76 comments

Changes in the system prompt between Claude Opus 4.6 and 4.7

https://simonwillison.net/2026/Apr/18/opus-system-prompt/
84•pretext•9h ago•50 comments

Game devs explain the tricks involved with letting you pause a game

https://kotaku.com/video-game-devs-explain-how-pausing-works-and-sometimes-it-gets-weird-2000686339
369•speckx•3d ago•201 comments

Nanopass Framework: Clean Compiler Creation Language

https://nanopass.org/
97•NordStreamYacht•4d ago•23 comments

KTaO3-Based Supercurrent Diode

https://pubs.acs.org/doi/10.1021/acs.nanolett.5c05590
20•PaulHoule•3d ago•1 comments

SPEAKE(a)R: Turn Speakers to Microphones for Fun and Profit [pdf] (2017)

https://www.usenix.org/system/files/conference/woot17/woot17-paper-guri.pdf
142•Eridanus2•11h ago•63 comments

Show HN: Shader Lab, like Photoshop but for shaders

https://eng.basement.studio/tools/shader-lab
116•ragojose•3d ago•34 comments

Reverse Engineering ME2's USB with a Heat Gun and a Knife

https://github.com/coremaze/ME2-Writeup
32•Bawoosette•1d ago•1 comments

What are skiplists good for?

https://antithesis.com/blog/2026/skiptrees/
235•mfiguiere•2d ago•50 comments

College instructor turns to typewriters to curb AI-written work

https://sentinelcolorado.com/uncategorized/a-college-instructor-turns-to-typewriters-to-curb-ai-w...
439•gnabgib•1d ago•397 comments

NIST scientists create 'any wavelength' lasers

https://www.nist.gov/news-events/news/2026/04/any-color-you-nist-scientists-create-any-wavelength...
400•rbanffy•23h ago•182 comments

The RAM shortage could last years

https://www.theverge.com/ai-artificial-intelligence/914672/the-ram-shortage-could-last-years
72•omer_k•13h ago•70 comments

Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)

https://teamchong.github.io/turboquant-wasm/draw.html
70•teamchong•9h ago•34 comments

Reading Input from an USB RFID Card Reader

https://kevwe.com/blog/usb-rfid-reader
23•kevwedotse•2d ago•4 comments

Blue Origin's rocket reuse achievement marred by upper stage failure

https://arstechnica.com/space/2026/04/errant-upper-stage-spoils-blue-origins-success-in-reusing-n...
10•rbanffy•46m ago•1 comments

Anonymous request-token comparisons from Opus 4.6 and Opus 4.7

https://tokens.billchambers.me/leaderboard
594•anabranch•1d ago•558 comments

The electromechanical angle computer inside the B-52 bomber's star tracker

https://www.righto.com/2026/04/B-52-star-tracker-angle-computer.html
403•NelsonMinar•1d ago•102 comments

4-bit floating point FP4

https://www.johndcook.com/blog/2026/04/17/fp4/
56•chmaynard•1d ago•43 comments

Why Japan has such good railways

https://worksinprogress.co/issue/why-japan-has-such-good-railways/
529•RickJWagner•1d ago•496 comments

The world in which IPv6 was a good design (2017)

https://apenwarr.ca/log/20170810
184•signa11•17h ago•80 comments

Notes from the SF peptide scene

https://12gramsofcarbon.com/p/notes-from-the-sf-peptide-scene
106•theahura•5h ago•93 comments

Airline worker arrested after sharing photos of bomb damage in WhatsApp group

https://www.lbc.co.uk/article/dubai-police-spied-private-whatsapp-5HjdXwr_2/
211•aa_is_op•7h ago•134 comments