frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

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

Comments

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

Best buds on this front

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

Gentoo Linux 2025 Review

https://www.gentoo.org/news/2026/01/05/new-year.html
25•akhuettel•1h ago•3 comments

C++ std::move doesn't move anything: A deep dive into Value Categories

https://0xghost.dev/blog/std-move-deep-dive/
117•signa11•2d ago•67 comments

Think of Pavlov

https://boz.com/articles/think-pavlov
27•kiyanwang•2h ago•4 comments

The Concise TypeScript Book

https://github.com/gibbok/typescript-book
125•javatuts•7h ago•28 comments

"Food JPEGs" in Super Smash Bros. & Kirby Air Riders

https://sethmlarson.dev/food-jpegs-in-super-smash-bros-and-kirby-air-riders
30•SethMLarson•4d ago•4 comments

Vojtux – Unofficial Linux Distribution Aimed at Visually Impaired Users

https://github.com/vojtapolasek/vojtux
72•TheWiggles•4d ago•23 comments

More than one hundred years of Film Sizes

https://wichm.home.xs4all.nl/filmsize.html
45•exvi•5h ago•9 comments

Finding and fixing Ghostty's largest memory leak

https://mitchellh.com/writing/ghostty-memory-leak-fix
497•thorel•18h ago•106 comments

Show HN: I used Claude Code to discover connections between 100 books

https://trails.pieterma.es/
396•pmaze•20h ago•106 comments

'Bandersnatch': The Works That Inspired the 'Black Mirror' Interactive Feature (2019)

https://www.hollywoodreporter.com/tv/tv-news/black-mirror-bandersnatch-real-life-works-influences...
54•rafaepta•5d ago•22 comments

Iran Shuts Down Starlink Internet for First Time

https://www.forbes.com/sites/zakdoffman/2026/01/11/kill-switch-iran-shuts-down-starlink-internet-...
23•neom•48m ago•2 comments

Code and Let Live

https://fly.io/blog/code-and-let-live/
367•usrme•1d ago•129 comments

CPU Counters on Apple Silicon: article + tool

https://blog.bugsiki.dev/posts/apple-pmu/
105•verte_zerg•4d ago•0 comments

Show HN: Ferrite – Markdown editor in Rust with native Mermaid diagram rendering

https://github.com/OlaProeis/Ferrite
188•OlaProis•11h ago•106 comments

A Year of Work on the Arch Linux Package Management (ALPM) Project

https://devblog.archlinux.page/2026/a-year-of-work-on-the-alpm-project/
75•susam•11h ago•20 comments

Open Chaos: A self-evolving open-source project

https://www.openchaos.dev/
389•stefanvdw1•21h ago•80 comments

AI is a business model stress test

https://dri.es/ai-is-a-business-model-stress-test
278•amarsahinovic•20h ago•262 comments

Google: Don't make "bite-sized" content for LLMs

https://arstechnica.com/google/2026/01/google-dont-make-bite-sized-content-for-llms-if-you-care-a...
9•cebert•1h ago•4 comments

Overdose deaths are falling in America because of a 'supply shock': study

https://www.economist.com/united-states/2026/01/08/why-overdose-deaths-are-falling-in-america
162•marojejian•17h ago•135 comments

LLM poetry and the "greatness" question: Experiments by Gwern and Mercor

https://hollisrobbinsanecdotal.substack.com/p/llm-poetry-and-the-greatness-question
9•networked•41m ago•0 comments

Show HN: Play poker with LLMs, or watch them play against each other

https://llmholdem.com/
132•projectyang•17h ago•67 comments

Show HN: Librario, a book metadata API that aggregates G Books, ISBNDB, and more

114•jamesponddotco•13h ago•39 comments

Show HN: I built an Open Source screen timer for the m5stickc (Arduino)

https://partridge.works/screenie-christmas-project-2025-26/
9•urbandw311er•4d ago•0 comments

I dumped Windows 11 for Linux, and you should too

https://www.notebookcheck.net/I-dumped-Windows-11-for-Linux-and-you-should-too.1190961.0.html
114•smurda•1h ago•118 comments

An Experimental Approach to Printf in HLSL

https://www.abolishcrlf.org//2025/12/31/Printf.html
30•ibobev•4d ago•2 comments

Max Payne – two decades later – Graphics Critique (2021)

https://darkcephas.blogspot.com/2021/07/max-payne-two-decades-later-graphics.html
69•davikr•9h ago•24 comments

A battle over Canada’s mystery brain disease

https://www.bbc.com/news/articles/c623r47d67lo
163•lewww•8h ago•108 comments

Show HN: Yellopages – New tab Chrome extension

https://yellopages.kawaicheung.io/
27•kiwigod17•2d ago•6 comments

Ripple: The Elegant TypeScript UI Framework

https://jsdev.space/meet-ripple/
29•javatuts•8h ago•19 comments

ASCII-Driven Development

https://medium.com/@calufa/ascii-driven-development-850f66661351
137•_hfqa•3d ago•85 comments