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?

Quad9 (DNS Resolver) to Exit France

https://quad9.net/news/blog/au-revoir-france/
710•farrokhi•6h ago•271 comments

OpenShell – A safe, private runtime for fleets of autonomous AI agents

https://github.com/NVIDIA/OpenShell
169•niemandhier•3h ago•88 comments

Getting ready to operate GNU Taler in Germany

https://www.taler.net/en/news/2026-13.html
149•dewey•4h ago•48 comments

Show HN: Run full iOS 16.5 firmware on Android Devices

https://github.com/oosexgang/hackios-xnu-kernel
233•aghuang•5h ago•77 comments

Show HN: UI micro interactions prompts for AI

https://www.typeui.sh/micro-interactions
50•elwingo1•2h ago•20 comments

Woman faces six years in prison over Cash App account she never opened

https://www.techspot.com/news/114296-woman-spends-three-nights-jail-faces-six-years.html
251•oidar•7h ago•252 comments

Hedra is a 3D open world game I wrote from scratch while in highschool

https://github.com/maxilevi/project-hedra/tree/pre-ai
60•maxilevi•2h ago•14 comments

eMudhra to exit global SSL/TLS certificate business

https://emudhra.com/en/press-release/emudhra-to-exit-global-ssl-tls-certificate-business
825•bo0tzz•7h ago•577 comments

What Is Gridifcation

https://musicalform.substack.com/p/what-is-gridifcation
344•gumby•3d ago•171 comments

AI and the Enclosure of the Scientific Commons

https://arxiv.org/abs/2610.27251
48•jrepinc•2h ago•19 comments

Jailbreaking the Switch 2

https://pepsipu.com/blog/2026-10-switch2-jailbreak-ns2jb/
613•ledoge•12h ago•220 comments

Every AI model has the same "controversial" take on humans

https://www.modelcompare.ai/blog/ai-models-controversial-take-on-humans
70•rakannimer•4h ago•102 comments

Tell HN: I unknowingly broke the PHP RCE embargo. I am sorry.

184•petecooper•10h ago•69 comments

A farewell to Arc browser

https://arc.net/
174•suhdonghwi•4h ago•140 comments

Show HN: Turn regular JavaScript into a neural net

https://chenglou.me/handwired/
20•chenglou•1d ago•6 comments

What’s getting pwned right now

https://pwn.watch/
296•mrkd•6h ago•139 comments

Mini brain organoids ‘reading’ Braille key step towards biohybrid computing

https://www.frontiersin.org/news/2026/10/16/mini-brain-organoids-reading-braille-biohybrid-comput...
25•CharlesW•4h ago•16 comments

The phenomena that brighten dawn and dusk (2016)

https://www.colorado.edu/asmagazine-archive/node/2039
13•NaOH•1d ago•1 comments

AI analysis of CT scans finds 42.9% of patients have coronary inflammation

https://www.biograph.com/newsroom/biograph-completes-first-u.s.-study-with-caristo-diagnostics%E2...
50•brandonb•2h ago•27 comments

A complete bypass of eMudhra’s 1FA OTP login system

https://mastodon.catgirl.cloud/@49016/117475976434068995
104•tensegrist•1h ago•24 comments

Xbox wants you to pay 24 to 40 cents per hour to stream games you bought

https://arstechnica.com/gaming/2026/10/xbox-wants-you-to-pay-24-to-40-cents-per-hour-to-stream-ga...
104•entryleveljobsc•9h ago•140 comments

Dungeon Generation in the Gnomish Mines of NetHack

https://www.boristhebrave.com/2026/10/18/dungeon-generation-in-the-gnomish-mines-of-nethack/
95•ibobev•3d ago•12 comments

Faster than earcut: triangulating 3.7M map polygons in 489 ms

https://globus.software/blog/2026/10/16/cutting-map-polygons/
181•molind•11h ago•36 comments

Show HN: agent-usage-guard – a Claude Code mod to protect your usage window

https://github.com/rbartoli/agent-usage-guard
15•zzyyxx332211•2h ago•7 comments

Show HN: Uberblok – an interactive museum of ZFS internals

https://uberblok.storagebits.workers.dev/
54•storagebits•1d ago•16 comments

The Last Museum: Semantic search across 5.8M artworks from major museums

https://lastmuseum.com/
91•surprisetalk•8h ago•25 comments

Award-Winning AI Literature

https://jamesyu.org/award-winning-ai-literature/
44•jamesjyu•2h ago•40 comments

Startup taps underwater volcano as energy source in “proof point” test

https://arstechnica.com/science/2026/10/startup-taps-underwater-volcano-as-energy-source-in-proof...
114•wffurr•3d ago•47 comments

WorldTUI: I trained a 360M model to pretend to be a terminal

https://simedw.com/2026/10/21/world-model-terminal/
466•alphax314•18h ago•149 comments

MPs moving to restrict gambling ads in Canada

https://www.cbc.ca/news/investigates/gambling-ads-restrictions-canada-9.7388888
195•Teever•6h ago•106 comments