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?

Zero-Touch OAuth for MCP

https://blog.modelcontextprotocol.io/posts/enterprise-managed-auth/
22•niyikiza•1h ago•3 comments

I found 10k GitHub repositories distributing Trojan malware

https://orchidfiles.com/github-repositories-distributing-malware/
621•theorchid•11h ago•141 comments

Cell-based architecture for resilient payment systems

https://americanexpress.io/cell-based-architecture-for-resilient-payment-systems/
59•birdculture•3d ago•17 comments

Everything Is BOM: Bill of Materials Encyclopedia

https://bomwiki.com/
47•sebg•2h ago•15 comments

The Korean telecom giant at the center of Anthropic's Mythos controversy

https://www.wired.com/story/sk-telecom-anthropic-mythos-export-controls/
80•dstala•10h ago•43 comments

Ubiquiti: Enterprise NAS, Built on ZFS

https://blog.ui.com/article/introducing-enterprise-nas
231•ksec•9h ago•216 comments

Swiss parliament lifts ban on new nuclear power plants

https://www.bluewin.ch/en/news/switzerland/parliament-lifts-ban-on-new-nuclear-power-plants-32575...
650•leonidasrup•9h ago•499 comments

The Token Compression Illusion: Why I'm Skeptical of RTK

https://mroczek.dev/articles/the-token-compression-illusion-why-im-skeptical-of-rtk/
68•lackoftactics•5h ago•75 comments

I told them forced consent was unlawful. 5 years later it cost Elkjop €1.8M

https://www.thatprivacyguy.com/blog/elkjop-forced-consent-fine/
167•speckx•4h ago•59 comments

Zork name origin got an update on Wikipedia

https://www.dpolakovic.space/blogs/zork-part2#update
27•dpola•2h ago•2 comments

CS 6120: Advanced Compilers: The Self-Guided Online Course (2020)

https://www.cs.cornell.edu/courses/cs6120/2025fa/self-guided/
276•ibobev•12h ago•42 comments

Hospitals and universities repurposing drugs at lower cost

https://www.kcl.ac.uk/news/hospitals-and-universities-repurposing-drugs-at-90-lower-cost
274•giuliomagnifico•12h ago•116 comments

Launch HN: TesterArmy (YC P26) – Agents that test web and mobile apps

https://tester.army
90•okwasniewski•8h ago•43 comments

Noam Shazeer Joins OpenAI

https://twitter.com/NoamShazeer/status/2067400851438932297
252•lukasgross•23h ago•221 comments

Migrating from GNU Stow to Chezmoi

https://rednafi.com/misc/chezmoi/
88•speckx•6h ago•93 comments

Show HN: Are You in the Weights?

https://www.intheweights.com/
119•turtlesoup•2h ago•86 comments

If your product is Great, it doesn't need to be Good (2010)

http://paulbuchheit.blogspot.com/2010/02/if-your-product-is-great-it-doesnt-need.html
12•skogstokig•3d ago•6 comments

W Social, public institutions and the theater of European digital sovereignty

https://blog.elenarossini.com/w-social-public-institutions-and-the-theater-of-european-digital-so...
166•nemoniac•10h ago•115 comments

.gitignore Isn't the only way to ignore files in Git

https://nelson.cloud/.gitignore-isnt-the-only-way-to-ignore-files-in-git/
266•FergusArgyll•12h ago•84 comments

Agentic Resource Discovery Specification

https://agenticresourcediscovery.org/introduction/
42•damick•1d ago•11 comments

Modos Color Monitor Pushes E-Paper Displays Further

https://spectrum.ieee.org/modos-e-paper-monitor
211•Vinnl•11h ago•59 comments

The founder of Craigslist has given away half a billion dollars

https://www.independent.co.uk/us/money/craigslist-multimillionaire-craig-newmark-b2980681.html
286•Tomte•6h ago•206 comments

Flip TABLE: storing arbitrary data in iNaturalist

https://exclav.es/2026/06/13/flip-table-storing-arbitrary-data-in-inaturalist/
10•evakhoury•3d ago•0 comments

Ask HN: Is anyone using the A2A protocol?

59•asim•14h ago•30 comments

Show HN: Gerrymandle - Daily puzzle game where you redraw electoral districts

https://gerrymandle.cc/
117•realmofthemad•9h ago•57 comments

Dutch Railways offers unlimited off-peak train travel nationwide for €49/month

https://www.ns.nl/en/season-tickets/dal-vrij
174•felipevb•3d ago•76 comments

How Alberta Eradicated Rats

https://worksinprogress.co/issue/albertas-war-on-rats/
120•tzury•10h ago•89 comments

Emacs 31 is around the corner: The changes I'm daily driving

https://www.rahuljuliato.com/posts/emacs-31-around-the-corner
403•frou_dh•11h ago•219 comments

A website that lists websites to submit your website to

https://www.submission.directory/
382•azeemkafridi•8h ago•85 comments

Microsoft new Outlook takes 10 seconds to do what Outlook Classic does instantly

https://www.windowslatest.com/2026/06/15/microsofts-new-outlook-takes-10-seconds-to-do-what-outlo...
578•Adam-Hincu•11h ago•381 comments