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?

PHP 8.2.35

https://github.com/php/php-src/releases/tag/php-8.2.35
865•tuyuri•5h ago•482 comments

Today's PHP security release, and how we're strengthening security

https://thephp.foundation/blog/2026/10/21/todays-php-security-release-and-how-were-strengthening-...
333•ejohnso49•3h ago•161 comments

The compiler was supposed to end programming too

https://hrih.si/articles/the-compiler-was-supposed-to-end-programming/
44•theanonymousone•1h ago•35 comments

Compromised LiteLLM 1.107.0 on PyPI Installs a Credential Stealer and Backdoor

https://safedep.io/litellm-pypi-compromise-credential-stealer-backdoor/
263•abhisek•5h ago•98 comments

Eight Bits of Trust: eMudhra's CA keys cracked in milliseconds

https://scotthelme.co.uk/eight-bits-of-trust-emudhras-ca-keys-cracked-in-milliseconds/
700•hkc•10h ago•342 comments

DuckDB 2.0.0 LTS “Cinnamon Teal”

https://duckdb.org/2026/10/21/announcing-duckdb-200
273•nnx•5h ago•29 comments

Patch the Planet: global response coordination as agents uncover vulnerabilities

https://openai.com/index/coordinated-disclosure-of-critical-vulnerabilities/
178•nr378•5h ago•107 comments

EA is shutting down BioWare

https://www.theverge.com/games/1015647/ea-is-shutting-down-bioware
191•aaronbrethorst•1h ago•108 comments

Tiny possum and glider thought extinct for 6000 years found in remote West Papua

https://www.bbc.com/news/articles/cp814l80pw2o
84•bryanrasmussen•1d ago•7 comments

Oregon lawmakers approve money to buy an iconic waterfall listed on Redfin

https://apnews.com/article/oregon-waterfall-for-sale-lawmakers-996de63462d49ec3ad9bee1629fb9488
114•surprisetalk•3h ago•65 comments

New plastic pollution discovered: 'Plasticorals' coral rubble fused with plastic

https://www.oist.jp/news-center/news/2026/9/18/new-form-plastic-pollution-discovered-shores-vulne...
34•giuliomagnifico•2h ago•13 comments

OpenAI models are coming to Google Cloud

https://openai.com/index/openai-models-google-cloud/
138•armcat•6h ago•48 comments

Canary Tokens

https://canarytokens.org/
10•wiradikusuma•25m ago•0 comments

The bridge to agent-scale Git infrastructure

https://github.blog/engineering/architecture-optimization/the-bridge-to-agent-scale-git-infrastru...
33•Klaster_1•3h ago•3 comments

Using thousands of AI agents to uncover new leads in biological data

https://openai.com/index/scaling-ai-research-for-complex-biological-data/
95•raahelb•5h ago•45 comments

Drupal is now light-years ahead of its reputation

https://dri.es/state-of-drupal-presentation-september-2026
80•scottfalconer•1d ago•92 comments

Anthropic's Public Benefit Charter

https://www.anthropic.com/public-benefit-charter
15•pretext•41m ago•3 comments

Launch HN: Alter (YC S25) – Access control for multi-user agents

https://alterauth.com/
23•simfinii•12h ago•16 comments

Meta ordered to pay $25B penalty in New Mexico Cambridge Analytica case

https://www.cnbc.com/2026/10/21/meta-new-mexico-cambridge-analytica-penalty.html
46•cbg0•1h ago•23 comments

9 Mothers (YC P26) Is Hiring in Austin, TX

https://9mothers.com/careers
1•ukd1•7h ago

C++ futures part 1: The mental model

https://devblogs.microsoft.com/oldnewthing/20261012-00/?p=112767/
51•ibobev•2d ago•11 comments

Corporate Linux

https://lpar.ATH0.com/posts/2026/10/corporate-linux/
10•speckx•43m ago•3 comments

Way to Play Super Mario 64: On Apple Vision Pro

https://www.pagetable.com/303
172•frizlab•2d ago•65 comments

Show HN: ULDA – Client-side encryption with a simple JavaScript API

https://demo.ulda.io/
17•nonsence•2d ago•3 comments

Trials and Tribulations of Native Lua Compilation

https://samyeyo.github.io/clx/blog.html
13•_samt_•3d ago•4 comments

Muse exposes users' personal and business secrets when they share conversations

https://arstechnica.com/security/2026/10/meta-muse-exposes-users-personal-and-business-secrets-wh...
365•gumby•18h ago•153 comments

Show HN: I told people I'm a convicted felon after 20 years of hiding it

https://buford.bg/
12•buf•3h ago•0 comments

Show HN: Sumi.css – CSS Framework

https://github.com/vladocar/Sumi.css
58•bepero•6h ago•13 comments

A train simulator game for console hackers

https://github.com/antoniovazquezaraujo/LeTrain
8•avaraujo•2d ago•3 comments

The Decoherence Trap

https://maevyn.codes/decoherence
163•cassianoleal•2d ago•69 comments