frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

https://jfmengels.net/compiler-reminders/
38•jfmengels1•1y ago

Comments

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

Best buds on this front

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

Show HN: HackerBooks – HackerTube, but for books mentioned on HN

https://hackerbooks.org
1212•roansh•14h ago•217 comments

Postgres 19 is late because so many more bugs are being found now

http://rhaas.blogspot.com/2026/10/postgres-19-is-late-and-its-ais-fault.html
273•soheilpro•2d ago•179 comments

Show HN: Wikihack – HackerTube, but for Wikipedia articles mentioned on HN

https://wikihack.netlify.app
18•aizk•1h ago•0 comments

F/OSS Comics #13: BSD Unix, Part 3 – The Beginning of BSD Unix

https://fosscomics.com/posts/13.%20BSD%20Unix%20Part%203%20-%20The%20Beginning%20of%20BSD%20Unix/
77•joonehur•4h ago•6 comments

HackerTube: YouTube built from videos recommended by HN

https://karpathy.bearblog.dev/hacker-tube/
2450•karpathy•1d ago•555 comments

Mystery of 60-Second Fluctuations in Power Grids Solved

https://www.fz-juelich.de/en/news/archive/press-release/2026/mystery-of-60-second-fluctuations-in...
83•_Microft•1d ago•33 comments

Ask HN: Which TV do you recommend for privacy?

271•LecroJS•11h ago•433 comments

Trigger.dev customer environment variables exposed

https://trigger.dev/blog/security-incident-nov-2026
62•anurag•5h ago•20 comments

Nibnib: Image compression with extreme decompression speed

https://github.com/raphlinus/nibnib
126•raphlinus•3d ago•21 comments

Tips for more effective fuzz testing with AFL++

https://nullprogram.com/blog/2025/02/05/
106•luu•4d ago•16 comments

Copper – A minimal low-level programming language with OOP and generics

https://tibleiz.net/copper/
156•bogdanoff_2•2d ago•86 comments

Show HN: OmniDiff – Opensource, super fast, content aware Git difftool, in Rust

https://github.com/ivankovic/omnidiff
207•FabCH•17h ago•50 comments

New 3D thermal invisibility cloak makes objects disappear from infrared cameras

https://www.sciencedaily.com/releases/2026/10/261025073051.htm
71•stevenalowe•3d ago•32 comments

Proving and improving the Platonic Representation Hypothesis with JEPAs

https://arxiv.org/abs/2610.39302
130•Anon84•17h ago•66 comments

Bones may release proteins that slow aging and extend life span

https://www.science.org/content/article/bones-may-release-proteins-slow-aging-and-extend-life-span
18•EA-3167•5h ago•1 comments

AI fan wikis riddled with errors are muddying the waters of games culture

https://www.eurogamer.net/ai-fan-wikis-errors-complicating-games-culture
68•rdmuser•5h ago•44 comments

The AI cost of JavaScript frameworks

https://nolanlawson.com/2026/10/28/the-ai-cost-of-javascript-frameworks/
346•luu•1d ago•264 comments

Mathematics has changed. Let's act like it

https://terrytao.wordpress.com/2026/11/01/mathematics-has-changed-lets-act-like-it/
274•smilelamp•12h ago•291 comments

One-minute frequency disturbances from synchronization in power systems

https://www.nature.com/articles/s41560-026-02144-0
144•croes•1d ago•46 comments

OccupySaaS

https://occupysaas.com/
182•misswaterfairy•6h ago•124 comments

Show HN: Point your camera at a landscape to learn about its geology

https://outcrop.rocks/
186•headsupernova•3d ago•41 comments

Lenovo's 'encrypted' fingerprint USB is just an unencrypted SD card in a case

https://www.reddit.com/r/technology/comments/1xl2pr3/lenovos_encrypted_fingerprint_usb_drive_is_j...
451•entryleveljobsc•16h ago•157 comments

Bidirectional charging during grid outages

https://www.jefftk.com/p/bidirectional-charging-during-grid-outages
96•luu•1d ago•145 comments

Radiation Map of the World

https://radiaverse.com/
151•slater•4d ago•47 comments

Show HN: I rebuilt my old canvas 3D library as a small WebGL 2 library – phoria2

https://kevs3d.co.uk/phoria2/
87•kevs3d•1d ago•16 comments

Keeping Up Appearances – The women taking over the funeral industry

https://lareviewofbooks.org/article/death-industry-mortuary-programs-women-andie-eisen-quarterly/
39•TMWNN•2d ago•20 comments

Domain hacks with unusual Unicode characters (2018)

https://shkspr.mobi/blog/2018/11/domain-hacks-with-unusual-unicode-characters/
70•n_plus_1_acc•20h ago•50 comments

Novellas with Groff

https://movq.de/blog/postings/2026-10-31/0/POSTING-en.html
120•dverlaeckt80•17h ago•51 comments

Seoul Viosys begins production of rare-earth-free white light emitter

https://www.semiconductor-today.com/news_items/2026/oct/seoul-291026.shtml
159•gmays•14h ago•46 comments

The She-Wolves of Jülich

https://www.historytoday.com/archive/history-matters/she-wolves-julich
21•Thevet•1d ago•3 comments