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?

SideX – A Tauri-based port of Visual Studio Code

https://github.com/Sidenai/sidex
43•0x1997•55m ago•25 comments

Show HN: I built a tiny LLM to demystify how language models work

https://github.com/arman-bd/guppylm
354•armanified•7h ago•31 comments

Gemma 4 on iPhone

https://apps.apple.com/nl/app/google-ai-edge-gallery/id6749645337
584•janandonly•12h ago•154 comments

An open-source 240-antenna array to bounce signals off the Moon

https://moonrf.com/
74•hillcrestenigma•4h ago•12 comments

Microsoft hasn't had a coherent GUI strategy since Petzold

https://www.jsnover.com/blog/2026/03/13/microsoft-hasnt-had-a-coherent-gui-strategy-since-petzold/
378•naves•14h ago•222 comments

Show HN: Real-time AI (audio/video in, voice out) on an M3 Pro with Gemma E2B

https://github.com/fikrikarim/parlor
53•karimf•13h ago•2 comments

The 1987 game “The Last Ninja” was 40 kilobytes

https://twitter.com/exQUIZitely/status/2040777977521398151
67•keepamovin•4h ago•24 comments

Show HN: I made a YouTube search form with advanced filters

https://playlists.at/youtube/search/
202•nevernothing•7h ago•128 comments

LÖVE: 2D Game Framework for Lua

https://github.com/love2d/love
281•cl3misch•1d ago•110 comments

Signals, the push-pull based algorithm

https://willybrauner.com/journal/signal-the-push-pull-based-algorithm
24•mpweiher•1d ago•4 comments

Show HN: Gemma Gem – AI model embedded in a browser – no API keys, no cloud

https://github.com/kessler/gemma-gem
60•ikessler•7h ago•11 comments

Why Switzerland has 25 Gbit internet and America doesn't

https://sschueller.github.io/posts/the-free-market-lie/
419•sschueller•13h ago•317 comments

Winners of the 2026 Kokuyo Design Awards

https://spoon-tamago.com/winners-of-the-2026-kokuyo-design-awards/
43•zdw•4h ago•6 comments

Case study: recovery of a corrupted 12 TB multi-device pool

https://github.com/kdave/btrfs-progs/issues/1107
46•salt4034•5h ago•11 comments

Running Gemma 4 locally with LM Studio's new headless CLI and Claude Code

https://ai.georgeliu.com/p/running-google-gemma-4-locally-with
254•vbtechguy•14h ago•59 comments

Sheets Spreadsheets in Your Terminal

https://github.com/maaslalani/sheets
50•_____k•2d ago•8 comments

We replaced Node.js with Bun for 5x throughput

https://trigger.dev/blog/firebun
49•pier25•5h ago•23 comments

Show HN: Modo – I built an open-source alternative to Kiro, Cursor, and Windsurf

https://github.com/mohshomis/modo
40•mohshomis•7h ago•8 comments

Employers use your personal data to figure out the lowest salary you'll accept

https://www.marketwatch.com/story/employers-are-using-your-personal-data-to-figure-out-the-lowest...
177•thisislife2•7h ago•90 comments

Media scraper Gallery-dl is moving to Codeberg after receiving a DMCA notice

https://github.com/mikf/gallery-dl/discussions/9304
120•MoltenMonster•4h ago•34 comments

One ant for $220: The new frontier of wildlife trafficking

https://www.bbc.com/news/articles/cg4g44zv37qo
10•gmays•3d ago•0 comments

Usenet Archives

https://usenetarchives.com
28•myth_drannon•6h ago•4 comments

Music for Programming

https://musicforprogramming.net
165•merusame•13h ago•72 comments

A tail-call interpreter in (nightly) Rust

https://www.mattkeeter.com/blog/2026-04-05-tailcall/
154•g0xA52A2A•16h ago•34 comments

Eight years of wanting, three months of building with AI

https://lalitm.com/post/building-syntaqlite-ai/
757•brilee•19h ago•228 comments

Computational Physics (2nd Edition) (2025)

https://websites.umich.edu/~mejn/cp2/
135•teleforce•16h ago•19 comments

In Japan, the robot isn't coming for your job; it's filling the one nobody wants

https://techcrunch.com/2026/04/05/japan-is-proving-experimental-physical-ai-is-ready-for-the-real...
160•rbanffy•9h ago•188 comments

Artemis II crew see first glimpse of far side of Moon [video]

https://www.bbc.com/news/videos/ce3d5gkd2geo
471•mooreds•17h ago•362 comments

The Mechanics of Steins Gate (2023) [pdf]

https://github.com/Votuko/steins-gate-mechanics/blob/main/The%20Mechanics%20of%20Steins%20Gate%20...
74•Ariarule•10h ago•14 comments

Caveman: Why use many token when few token do trick

https://github.com/JuliusBrussee/caveman
755•tosh•22h ago•328 comments