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?

A Love Letter to FreeBSD

https://www.tara.sh/posts/2025/2025-11-25_freebsd_letter/
234•rbanffy•6h ago•139 comments

Advent of Sysadmin 2025

https://sadservers.com/advent
93•lazyant•3h ago•23 comments

Advent of Code 2025

https://adventofcode.com/2025/about
784•vismit2000•15h ago•272 comments

Algorithms for Optimization [pdf]

https://algorithmsbook.com/optimization/files/optimization.pdf
165•Anon84•5h ago•12 comments

Writing a good Claude.md

https://www.humanlayer.dev/blog/writing-a-good-claude-md
400•objcts•10h ago•122 comments

Search tool that only returns content created before ChatGPT's public release

https://tegabrain.com/Slop-Evader
6•dmitrygr•50m ago•2 comments

Windows drive letters are not limited to A-Z

https://www.ryanliptak.com/blog/windows-drive-letters-are-not-limited-to-a-z/
398•LorenDB•15h ago•201 comments

Bricklink suspends Marketplace operations in 35 countries

https://jaysbrickblog.com/news/bricklink-suspends-marketplace-operations-in-35-countries/
88•makeitdouble•6h ago•36 comments

Migrating Dillo from GitHub

https://dillo-browser.org/news/migration-from-github/
303•todsacerdoti•14h ago•171 comments

GitHub to Codeberg: my experience

https://eldred.fr/blog/forge-migration/
184•todsacerdoti•12h ago•71 comments

Is America's jobs market nearing a cliff?

https://www.economist.com/finance-and-economics/2025/11/30/is-americas-jobs-market-nearing-a-cliff
106•harambae•3h ago•182 comments

LLVM-MOS – Clang LLVM fork targeting the 6502

https://llvm-mos.org/wiki/Welcome
118•jdmoreira•11h ago•48 comments

Replacing My Window Manager with Google Chrome

https://foxmoss.com/blog/dote/
12•foxmoss•3d ago•5 comments

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

https://arxiv.org/abs/2211.12588
93•mkagenius•10h ago•26 comments

Seeing a Molecule's Quantum Shadow

https://physics.aps.org/articles/v18/s149
11•lc0_stein•6d ago•1 comments

ESA Sentinel-1D delivers first high-resolution images

https://www.esa.int/Applications/Observing_the_Earth/Copernicus/Sentinel-1/Sentinel-1D_delivers_f...
88•giuliomagnifico•11h ago•26 comments

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

https://safari.ethz.ch/ddca/spring2025/doku.php?id=start
128•__rito__•11h ago•17 comments

How to run phones while being struck by suicide drones

https://nasa.cx/hn/posts/how-to-run-hundreds-of-phones-while-being-struck-by-suicide-drones/
62•nasaok•8h ago•17 comments

X210Ai is a new motherboard to upgrade ThinkPad X201/200

https://www.tpart.net/about-x210ai/
3•walterbell•1h ago•0 comments

AI just proved Erdos Problem #124

https://www.erdosproblems.com/forum/thread/124#post-1892
140•nl•23h ago•37 comments

Stereo Images of Giant Galaxies

https://www.bbc.com/future/article/20251121-sir-brian-mays-stereo-vision-of-galaxies
23•benbreen•6d ago•9 comments

Show HN: Fixing Google Nano Banana Pixel Art with Rust

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

The Thinking Game Film – Google DeepMind documentary

https://thinkinggamefilm.com
162•ChrisArchitect•12h ago•113 comments

Hacking on the ReMarkable 2

https://sgt.hootr.club/blog/hacking-on-the-remarkable-2/
28•todsacerdoti•8h ago•3 comments

“Boobs check” – Technique to verify if sites behind CDN are hosted in Iran

https://twitter.com/hkashfi/status/1995109785679573167
249•defly•8h ago•82 comments

There is No Quintic Formula [video]

https://www.youtube.com/watch?v=9HIy5dJE-zQ
71•DamnInteresting•10h ago•29 comments

RetailReady (YC W24) Is Hiring Associate Product Manager

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

Paul Hegarty's updated CS193p SwiftUI course released by Stanford

https://cs193p.stanford.edu/
165•yehiaabdelm•5d ago•35 comments

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

https://langjamgamejam.com/
67•birdculture•12h ago•40 comments

Mike Gordon and hardware verification (2023)

https://lawrencecpaulson.github.io/2023/01/04/Hardware_Verification.html
9•sebg•6d ago•0 comments