frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

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

Comments

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

Best buds on this front

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

Advent of Code 2025

https://adventofcode.com/2025/about
614•vismit2000•8h ago•198 comments

Writing a Good Claude.md

https://www.humanlayer.dev/blog/writing-a-good-claude-md
116•objcts•3h ago•42 comments

Windows drive letters are not limited to A-Z

https://www.ryanliptak.com/blog/windows-drive-letters-are-not-limited-to-a-z/
294•LorenDB•8h ago•132 comments

ETH-Zurich: Digital Design and Computer Architecture; 227-0003-10L, Spring, 2025

https://safari.ethz.ch/ddca/spring2025/doku.php?id=start
92•__rito__•3h ago•12 comments

LLVM-MOS – Clang LLVM fork targeting the 6502

https://llvm-mos.org/wiki/Welcome
74•jdmoreira•4h ago•13 comments

Program-of-Thought Prompting Outperforms Chain-of-Thought by 15% (2022)

https://arxiv.org/abs/2211.12588
42•mkagenius•3h ago•9 comments

ESA Sentinel-1D delivers first high-resolution images

https://www.esa.int/Applications/Observing_the_Earth/Copernicus/Sentinel-1/Sentinel-1D_delivers_f...
48•giuliomagnifico•4h ago•8 comments

Migrating Dillo from GitHub

https://dillo-browser.org/news/migration-from-github/
222•todsacerdoti•7h ago•135 comments

"Boobs check" verify if sites behind CDN are hosted in Inside Iran or not

https://twitter.com/hkashfi/status/1995109785679573167
39•defly•45m ago•6 comments

CachyOS: Fast and Customizable Linux Distribution

https://cachyos.org/
228•doener•10h ago•209 comments

A Second Look at Geolocation and Starlink

https://www.potaroo.net/ispcol/2025-11/starlinkgeo2.html
15•speckx•5d ago•4 comments

Don't push AI down our throats

https://gpt3experiments.substack.com/p/dont-push-ai-down-our-throats
221•nutanc•3h ago•120 comments

GitHub to Codeberg: My Experience

https://eldred.fr/blog/forge-migration/
62•todsacerdoti•5h ago•22 comments

NixOS 25.11 Released

https://nixos.org/blog/announcements/2025/nixos-2511/
104•trulyrandom•3h ago•26 comments

RetailReady (YC W24) Is Hiring Associate Product Manager

https://www.ycombinator.com/companies/retailready/jobs/KPKDu3D-associate-product-manager
1•sarah74•4h ago

Show HN: Boing

https://boing.greg.technology/
671•gregsadetsky•17h ago•131 comments

Show HN: Real-time system that tracks how news spreads across 200k websites

https://yandori.io/news-flow/
201•antiochIst•4d ago•51 comments

Show HN: Fixing Google Nano Banana Pixel Art with Rust

https://github.com/Hugo-Dz/spritefusion-pixel-snapper
87•HugoDz•4d ago•14 comments

There is No Quintic Formula [video]

https://www.youtube.com/watch?v=9HIy5dJE-zQ
23•DamnInteresting•3h ago•13 comments

Langjam Gamejam: Build a programming language then make a game with it

https://langjamgamejam.com/
35•birdculture•5h ago•22 comments

Finding the grain of sand in a heap of Salt

https://blog.cloudflare.com/finding-the-grain-of-sand-in-a-heap-of-salt/
5•privacyops•3d ago•1 comments

Modern cars are spying on you. Here's what you can do about it

https://apnews.com/article/auto-car-privacy-3674ce59c9b30f2861d29178a31e6ab7
171•MilnerRoute•5h ago•180 comments

People keep flocking to Linux, not just to escape Windows

https://www.zdnet.com/article/why-people-keep-flocking-to-linux-in-2025-and-its-not-just-to-escap...
30•breve•1h ago•6 comments

Zigbook Is Plagiarizing the Zigtools Playground

https://zigtools.org/blog/zigbook-plagiarizing-playground/
435•todsacerdoti•17h ago•126 comments

The Thinking Game Film – Google DeepMind Documentary

https://thinkinggamefilm.com
121•ChrisArchitect•5h ago•84 comments

Paul Hegarty's updated CS193p SwiftUI course released by Stanford

https://cs193p.stanford.edu/
117•yehiaabdelm•4d ago•29 comments

Notes on Shadowing a Hospitalist

https://humaninvariant.substack.com/p/notes-on-shadowing-a-hospitalist
32•surprisetalk•4h ago•13 comments

All it takes is for one to work out

https://alearningaday.blog/2025/11/28/all-it-takes-is-for-one-to-work-out-2/
729•herbertl•1d ago•356 comments

The Easiest Way to Build a Type Checker

https://jimmyhmiller.com/easiest-way-to-build-type-checker
68•surprisetalk•3d ago•21 comments

What's Hiding Inside Haribo's Power Bank and Headphones?

https://www.lumafield.com/first-article/posts/whats-hiding-inside-haribos-power-bank-and-headphones
190•rozenmd•3d ago•65 comments