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?

Flock used >100 times to track veteran who recorded traffic stop

https://reason.com/2026/09/02/wisconsin-cops-used-flock-over-100-times-to-track-a-navy-veteran-af...
145•bbatsell•44m ago•44 comments

The "$60 Gaming PC" – AMD BC-250 (2025)

https://devquasar.com/hardware/the-60-gaming-pc-amd-bc-250/
137•networked•3h ago•41 comments

Actively exploited sandbox RCE in all Chromium versions

https://nvd.nist.gov/vuln/detail/cve-2026-85046
674•negura•19h ago•381 comments

Discovery of a new OpenAI agent message board

https://collusion.wiki/
1930•moultano•1d ago•1460 comments

Nitter has more working instances than before the takedowns

https://codeberg.org/mv12star/shitter/wiki/Instances
470•Cider9986•17h ago•188 comments

Terpstra Keyboard

http://terpstrakeyboard.com/
68•cl3misch•7h ago•31 comments

Wikimedia Foundation Workers Overwhelmingly Vote to Form Union with CWA

https://wikiworkersunited.org/announcements/2026-09-04-us-wikimedia-foundation-workers-overwhelmi...
76•robin_reala•1h ago•4 comments

Formalizing Fermat's Last Theorem

https://www.anthropic.com/research/formalizing-fermats-last-theorem
705•jlebar•22h ago•445 comments

Singapore subway (mrt) information display types

https://www.sgtrains.com/technology-infosys.html
17•gregorvand•3d ago•3 comments

.gitignore Everything by Default

https://packagemain.tech/p/gitignore-everything-by-default
73•der_gopher•4h ago•71 comments

A Million Falcons Went Missing. Here’s How They Were Found

https://www.nationalgeographic.com/animals/article/falcons-migration-angola-falcopolis
35•bryanrasmussen•2d ago•5 comments

A bizarre Commodore 64 peripheral, a mime, and some pretty bad ads

https://buttondown.com/suchbadtechads/archive/spartan-and-the-mime/
30•rfarley04•5h ago•3 comments

Statichost.eu – European static site hosting

https://www.statichost.eu/
390•p4bl0•20h ago•182 comments

How the Tobacco Industry Drove the Rise of Ultra-Processed Foods (2025)

https://vcresearch.berkeley.edu/news/how-tobacco-industry-drove-rise-ultra-processed-foods
78•paimapi•1h ago•31 comments

Meet the Ig Nobel Prize Winners

https://arstechnica.com/science/2026/09/meet-the-2026-ig-nobel-prize-winners/
59•mkl•3h ago•13 comments

How the Disaster of "Forever Chemicals" Was Kept Secret

https://www.propublica.org/podcast/forever-chemicals-pfas-pfos-3m-secret-kris-hansen
172•stevenwoo•2h ago•39 comments

Can AI design circuit boards yet?

https://eebench.org/blog/can-ai-design-circuit-boards-yet/
312•iopapa•21h ago•188 comments

Bob and Van

https://marco.org/2026/09/04/bob-and-van
16•Tomte•1h ago•11 comments

Stopping the Unstoppable: When an unstoppable force meets a dashpot snubber

https://practical.engineering/blog/2026/9/1/stopping-the-unstoppable
5•crescit_eundo•3d ago•0 comments

AI handles incidents, engineers lose touch with their systems

https://www.sylvainkalache.com/blog/ai-handles-incidents-engineers-lose-touch-with-their-systems
294•sylvainkalache•9h ago•260 comments

Git hosting that never leaves Europe

https://pushin.eu
223•sevenseacat•11h ago•114 comments

GPT-6 Astra on OpenRouter

https://openrouter.ai/openai/gpt-6-astra
279•Topfi•19h ago•197 comments

Pointing at the error: compiler-style diagnostics in uutils coreutils

https://uutils.org/blog/2026-08-error-diagnostics/
49•ingve•3d ago•8 comments

Show HN: Open-Source eInk Bike Computer

https://opentrailpaper.com
352•stingrae•1d ago•113 comments

Shutting down our public encrypted DNS

https://mullvad.net/en/blog/shutting-down-our-public-encrypted-dns-servers-and-sponsoring-quad9-i...
406•mywacaday•22h ago•197 comments

Portal by Spotify cut my Claude Code token usage by 90%

https://engineering.atspotify.com/2026/9/portal-by-spotify-cut-my-claude-code-token-usage-by-90
213•cebert•17h ago•119 comments

Write Software in Latin (2025) [video]

https://www.youtube.com/watch?v=fGZpaqMha0o
14•akkartik•2d ago•5 comments

Ask HN: Resources to get good at soldering?

192•tosmatos•3d ago•119 comments

IBM Bob

https://bob.ibm.com/
308•artpar•1d ago•314 comments

Git Submodules as a Package Manager

https://nesbitt.io/2026/09/01/git-submodules-as-a-package-manager.html
77•ErenayDev•4d ago•24 comments