frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

https://jfmengels.net/compiler-reminders/
38•jfmengels1•11mo ago

Comments

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

Best buds on this front

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

Qwen3.6-Max-Preview: Smarter, Sharper, Still Evolving

https://qwen.ai/blog?id=qwen3.6-max-preview
309•mfiguiere•4h ago•181 comments

ggsql: A Grammar of Graphics for SQL

https://opensource.posit.co/blog/2026-04-20_ggsql_alpha_release/
236•thomasp85•5h ago•56 comments

GitHub's Fake Star Economy

https://awesomeagents.ai/news/github-fake-stars-investigation/
547•Liriel•9h ago•294 comments

At long last, InfoWars is ours

https://theonion.com/at-long-last-infowars-is-ours/
176•HotGarbage•58m ago•49 comments

The Theory of Interstellar Trade [pdf] (1978)

https://www.princeton.edu/~pkrugman/interstellar.pdf
34•AFF87•1h ago•8 comments

Deezer says 44% of songs uploaded to its platform daily are AI-generated

https://techcrunch.com/2026/04/20/deezer-says-44-of-songs-uploaded-to-its-platform-daily-are-ai-g...
136•FiddlerClamp•2h ago•146 comments

10 years ago, someone wrote a test for Servo that included an expiry in 2026

https://mastodon.social/@jdm_/116429380667467307
119•luu•23h ago•73 comments

We accepted surveillance as default

https://vivianvoss.net/blog/why-we-accepted-surveillance
116•speckx•1h ago•43 comments

Bloom (YC P26) Is Hiring

https://www.ycombinator.com/companies/trybloom/jobs
1•RayFitzgerald•1h ago

Kimi K2.6: Advancing Open-Source Coding

https://www.kimi.com/blog/kimi-k2-6
296•meetpateltech•2h ago•141 comments

The Palantir's Stasi Protocols

https://professorsigmund.com/praxis/palantir-stasi-protocols.html
9•Prof_Sigmund•21m ago•1 comments

M 7.4 earthquake – 100 km ENE of Miyako, Japan

https://earthquake.usgs.gov/earthquakes/eventpage/us6000sri7/
203•Someone•8h ago•87 comments

Kefir C17/C23 Compiler

https://sr.ht/~jprotopopov/kefir/
17•conductor•2d ago•0 comments

Atlassian enables default data collection to train AI

https://letsdatascience.com/news/atlassian-enables-default-data-collection-to-train-ai-f71343d8
327•kevcampb•5h ago•75 comments

Sauna effect on heart rate

https://tryterra.co/research/sauna-effect-on-heart-rate
265•kyriakosel•4h ago•158 comments

Chernobyl's last wedding

https://www.bbc.com/news/articles/c0q92lx8q75o
29•1659447091•1d ago•6 comments

WebUSB Extension for Firefox

https://github.com/ArcaneNibble/awawausb
113•tuananh•6h ago•93 comments

Larry Tesler: A Personal History of Modeless Text Editing and Cut/Copy-Paste (2012)

https://dl.acm.org/doi/epdf/10.1145/2212877.2212896
19•aragonite•3d ago•6 comments

All phones sold in the EU to have replaceable batteries from 2027

https://www.theolivepress.es/spain-news/2026/04/20/eu-to-force-replaceable-batteries-in-phones-an...
634•ramonga•4h ago•516 comments

I prompted ChatGPT, Claude, Perplexity, and Gemini and watched my Nginx logs

https://surfacedby.com/blog/nginx-logs-ai-traffic-vs-referral-traffic
101•startages•3h ago•18 comments

Show HN: Alien – Self-hosting with remote management (written in Rust)

39•alongub•3h ago•10 comments

OpenClaw isn't fooling me. I remember MS-DOS

https://www.flyingpenguin.com/build-an-openclaw-free-secure-always-on-local-ai-agent/
206•feigewalnuss•10h ago•246 comments

At Long Last, InfoWars Is Ours

https://theonion.info/
137•xnx•58m ago•1 comments

I'm never buying another Kindle

https://www.androidauthority.com/amazon-kindle-2026-3657863/
123•mikhael•2h ago•105 comments

Focused microwaves allow 3D printers to fuse circuits onto almost anything

https://newatlas.com/electronics/meta-nfc-focused-microwaves-circuits/
124•breve•2d ago•23 comments

Ask HN: How to solve the cold start problem for a two-sided marketplace?

95•alegd•4h ago•100 comments

AI chatbots could be making you stupider

https://www.bbc.com/future/article/20260417-ai-chatbots-could-be-making-you-stupider
25•1vuio0pswjnm7•4h ago•26 comments

NSA is using Anthropic's Mythos despite blacklist

https://www.axios.com/2026/04/19/nsa-anthropic-mythos-pentagon
365•Palmik•8h ago•264 comments

Up to 8M Bees Are Living in an Underground Network Beneath This Cemetery

https://www.discovermagazine.com/up-to-8-million-bees-are-living-in-an-underground-network-beneat...
149•janandonly•2d ago•26 comments

I Made the "Next-Level" Camera and I love it

https://thelibre.news/i-made-the-next-level-camera-and-i-love-it/
196•ndr•4d ago•67 comments