frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Shipping a laptop to a refugee camp in Uganda

https://notesbylex.com/shipping-a-laptop-to-a-refugee-camp-in-uganda
293•lexandstuff•7h ago•93 comments

Microsoft reports AI is more expensive than paying human employees

https://fortune.com/2026/05/22/microsoft-ai-cost-problem-tokens-agents/
122•nreece•1h ago•29 comments

Why Japanese companies do so many different things

https://davidoks.blog/p/why-japanese-companies-do-so-many
578•d0ks•13h ago•294 comments

Sp.h is the standard library that C deserves

https://spader.zone/sp/
36•dboon•2d ago•16 comments

Project Glasswing: An Initial Update

https://www.anthropic.com/research/glasswing-initial-update
372•louiereederson•9h ago•228 comments

Sleep research led to a new sleep apnea drug

https://temertymedicine.utoronto.ca/news/how-decades-sleep-research-led-new-sleep-apnea-drug
113•colinprince•7h ago•72 comments

Neutron scattering explains why gluten-free pasta falls apart (2025)

https://phys.org/news/2025-09-science-spaghetti-neutron-gluten-free.html
36•layer8•2d ago•7 comments

Blood Pumping Mechanism of the Hoof

https://horses.extension.org/blood-pumping-mechanism-of-the-hoof/
55•thunderbong•2d ago•6 comments

CISA tries to contain data leak

https://krebsonsecurity.com/2026/05/lawmakers-demand-answers-as-cisa-tries-to-contain-data-leak/
167•speckx•12h ago•44 comments

Comparing an LZ4 Decompressor on Four Legacy CPUs

https://bumbershootsoft.wordpress.com/2026/05/09/comparing-an-lz4-decompressor-on-four-legacy-cpus/
49•tosh•2d ago•2 comments

"Stick" – A primitive/fun interactive demo of a tiny rig to animate layout

https://cosmiciron.github.io/layoutmaster/exclusion-assembly.html
24•zhxiaoliang•2d ago•1 comments

Open source Kanban desktop app that runs parallel agents on every card

https://www.kanbots.dev/
198•vitriapp•11h ago•114 comments

Deno 2.8

https://deno.com/blog/v2.8
335•roflcopter69•17h ago•145 comments

A Wayland Compositor in Minecraft

https://modrinth.com/mod/waylandcraft
166•Jotalea•2d ago•30 comments

New rule requires most green-card applicants to apply from outside U.S.

https://www.washingtonpost.com/immigration/2026/05/22/new-rule-requires-most-green-card-applicant...
50•michaelsbradley•2h ago•32 comments

What is the history of the ERROR_ARENA_TRASHED error code?

https://devblogs.microsoft.com/oldnewthing/20260519-00/?p=112339
7•supermatou•2d ago•2 comments

Antigravity 2.0 Tops the OpenSCAD Architectural 3D LLM Benchmark

https://modelrift.com/blog/openscad-llm-benchmark/
370•jetter•18h ago•146 comments

Waymo expands pause to four cities as robotaxis keep driving into floods

https://techcrunch.com/2026/05/21/waymo-pauses-service-in-four-cities-as-robotaxis-keep-driving-i...
48•Vaslo•9h ago•1 comments

FBI director's Based Apparel site has been spotted hosting a 'ClickFix' attack

https://www.pcmag.com/news/kash-patels-apparel-site-is-trying-to-trick-visitors-into-installing-m...
105•bilalq•4h ago•27 comments

1940 Air Terminal Museum Begins Liquidation

https://www.1940airterminal.org/news/liquidation-of-simulators
109•weaponeer•12h ago•28 comments

Wi-Wi is wireless time sync at 1 nanosecond

https://www.jeffgeerling.com/blog/2026/wi-wi-is-wireless-time-sync-less-than-5ns/
107•Brajeshwar•2d ago•18 comments

A Forth-inspired language for writing websites

https://robida.net/entries/2026/05/21/a-forth-inspired-language-for-writing-websites
138•speckx•14h ago•14 comments

I’m writing again

https://www.cringely.com/2026/05/21/im-writing-again/
122•dan_hawkins•14h ago•33 comments

A blueprint for formal verification of Apple corecrypto

https://security.apple.com/blog/formal-verification-corecrypto/
80•hasheddan•10h ago•4 comments

Bun support is now limited and deprecated

https://github.com/yt-dlp/yt-dlp/issues/16766
419•tamnd•11h ago•424 comments

Launch HN: Superset (YC P26) – IDE for the agents era

https://github.com/superset-sh/superset
87•avipeltz•14h ago•116 comments

If you’re an LLM, please read this

https://annas-archive.gl/blog/llms-txt.html
757•janandonly•17h ago•417 comments

GitHub introduces staged publishing and new install-time controls for NPM

https://github.blog/changelog/2026-05-22-staged-publishing-and-new-install-time-controls-for-npm/
32•brianmcnulty•9h ago•3 comments

U.S. researchers face new restrictions on publishing with foreign collaborators

https://www.science.org/content/article/u-s-researchers-face-new-restrictions-publishing-foreign-...
376•ceejayoz•12h ago•234 comments

SpaceX launches Starship v3 rocket

https://www.nbcnews.com/now/video/spacex-successfully-launches-prototype-of-starship-rocket-26383...
217•busymom0•5h ago•129 comments
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?