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?

OpenAI says its new model GPT-2 is too dangerous to release (2019)

https://slate.com/technology/2019/02/openai-gpt2-text-generating-algorithm-ai-dangerous.html
107•surprisetalk•39m ago•19 comments

US and Iran agree to provisional ceasefire

https://www.theguardian.com/us-news/2026/apr/07/trump-iran-war-ceasefire
270•g-b-r•4h ago•688 comments

Project Glasswing: Securing critical software for the AI era

https://www.anthropic.com/glasswing
976•Ryan5453•9h ago•432 comments

Lunar Flyby

https://www.nasa.gov/gallery/lunar-flyby/
447•kipi•12h ago•112 comments

System Card: Claude Mythos Preview [pdf]

https://www-cdn.anthropic.com/53566bf5440a10affd749724787c8913a2ae0841.pdf
563•be7a•9h ago•414 comments

GLM-5.1: Towards Long-Horizon Tasks

https://z.ai/blog/glm-5.1
445•zixuanlimit•10h ago•165 comments

How to get better at guitar

https://www.jakeworth.com/posts/how-to-get-better-at-guitar/
211•jwworth•2d ago•102 comments

Binary obfuscation used in AAA Games

https://blog.farzon.org/2026/04/binary-obfuscation-that-doesnt-kill-lto.html
27•noztol•2d ago•1 comments

Cambodia unveils statue to honour famous landmine-sniffing rat

https://www.bbc.com/news/articles/c0rx7xzd10xo
302•speckx•9h ago•65 comments

S3 Files

https://www.allthingsdistributed.com/2026/04/s3-files-and-the-changing-face-of-s3.html
221•werner•7h ago•65 comments

A truck driver spent 20 years making a scale model of every building in NYC

https://www.smithsonianmag.com/smart-news/a-truck-drive-spent-20-years-making-this-astonishing-sc...
266•1659447091•1d ago•43 comments

Show HN: An interactive map of Tolkien's Middle-earth

https://middle-earth-interactive-map.web.app/
109•frasermarlow•6h ago•22 comments

Xilem – An experimental Rust native UI framework

https://github.com/linebender/xilem
40•Levitating•3h ago•5 comments

Show HN: Brutalist Concrete Laptop Stand (2024)

https://sam-burns.com/posts/concrete-laptop-stand/
711•sam-bee•16h ago•218 comments

JSIR: A High-Level IR for JavaScript

https://discourse.llvm.org/t/rfc-jsir-a-high-level-ir-for-javascript/90456
19•nnx•2h ago•4 comments

A database of analog cameras that can be 3D printed

https://printed.analogcamera.space/
41•thomasjb•4d ago•2 comments

The Clock

https://blog.senko.net/the-clock
24•senko•3d ago•1 comments

Cloudflare targets 2029 for full post-quantum security

https://blog.cloudflare.com/post-quantum-roadmap/
289•ilreb•13h ago•92 comments

A whole boss fight in 256 bytes

https://hellmood.111mb.de//A_whole_boss_fight_in_256_bytes.html
72•HellMood•2d ago•16 comments

Bitcoin and quantum computing

https://nehanarula.org/2026/04/03/bitcoin-and-quantum-computing.html
111•nehan•6h ago•70 comments

Slightly safer vibecoding by adopting old hacker habits

http://addxorrol.blogspot.com/2026/03/slightly-safer-vibecoding-by-adopting.html
8•transpute•5d ago•0 comments

Show HN: Gemma 4 Multimodal Fine-Tuner for Apple Silicon

https://github.com/mattmireles/gemma-tuner-multimodal
131•MediaSquirrel•7h ago•20 comments

Rescuing old printers with an in-browser Linux VM bridged to WebUSB over USB/IP

https://printervention.app/details
154•gmac•10h ago•72 comments

The Image Boards of Hayao Miyazaki

https://animationobsessive.substack.com/p/the-image-boards-of-hayao-miyazaki
122•vinhnx•1d ago•13 comments

A blind man made it possible for others with low vision to build Lego sets

https://apnews.com/article/lego-bricks-for-blind-audio-braille-instructions-5a2a27de4354a0b144317...
59•speckx•12h ago•5 comments

Google open-sources experimental agent orchestration testbed Scion

https://www.infoq.com/news/2026/04/google-agent-testbed-scion/
163•timbilt•13h ago•46 comments

Move Detroit

https://www.movedetroit.com/program
42•rmason•6h ago•53 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
159•romes•4d ago•82 comments

AI helps add 10k more photos to OldNYC

https://www.danvk.org/2026/03/08/oldnyc-updates.html
125•evakhoury•1d ago•41 comments

Has electricity decoupled from natural gas prices in Germany?

https://has-electricity-decoupled-yet.strommarktberatung.de
89•konschubert•13h ago•129 comments