frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

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

Comments

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

Best buds on this front

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

GitHub Actions Has a Package Manager, and It Might Be the Worst

https://nesbitt.io/2025/12/06/github-actions-package-manager.html
51•robin_reala•1h ago•14 comments

The f*** off contact page

https://www.nicchan.me/blog/the-f-off-contact-page/
29•OuterVale•35m ago•3 comments

Turtletoy

https://turtletoy.net/
177•ustad•4d ago•28 comments

Emacs is my new window manager

https://www.howardism.org/Technical/Emacs/new-window-manager.html
74•gpi•2d ago•21 comments

Damn Small Linux

https://www.damnsmalllinux.org/
90•grubbs•7h ago•22 comments

I failed to recreate the 1996 Space Jam website with Claude

https://j0nah.com/i-failed-to-recreate-the-1996-space-jam-website-with-claude/
437•thecr0w•16h ago•363 comments

Bag of words, have mercy on us

https://www.experimental-history.com/p/bag-of-words-have-mercy-on-us
180•ntnbr•11h ago•184 comments

Show HN: ReadyKit – Superfast SaaS Starter with Multi-Tenant Workspaces

https://readykit.dev/
39•level09•1w ago•7 comments

Dollar-stores overcharge customers while promising low prices

https://www.theguardian.com/us-news/2025/dec/03/customers-pay-more-rising-dollar-store-costs
381•bookofjoe•18h ago•520 comments

Applets Are Officially Gone, but Java in the Browser Is Better

https://frequal.com/java/AppletsGoneButJavaInTheBrowserBetterThanEver.html
38•pjmlp•1h ago•51 comments

Truemetrics (YC S23) Is Hiring

https://www.ycombinator.com/companies/truemetrics/jobs/1EHTSyT-python-software-engineer-analystic...
1•Jan-Truemetrics•2h ago

Show HN: Lockenv – Simple encrypted secrets storage for Git

https://github.com/illarion/lockenv
7•shoemann•1h ago•1 comments

The C++ standard for the F-35 Fighter Jet [video]

https://www.youtube.com/watch?v=Gv4sDL9Ljww
266•AareyBaba•15h ago•282 comments

Google Titans architecture, helping AI have long-term memory

https://research.google/blog/titans-miras-helping-ai-have-long-term-memory/
494•Alifatisk•21h ago•162 comments

Mechanical power generation using Earth's ambient radiation

https://www.science.org/doi/10.1126/sciadv.adw6833
120•defrost•11h ago•35 comments

An Interactive Guide to the Fourier Transform

https://betterexplained.com/articles/an-interactive-guide-to-the-fourier-transform/
201•pykello•6d ago•34 comments

Uninitialized garbage on ia64 can be deadly (2004)

https://devblogs.microsoft.com/oldnewthing/20040119-00/?p=41003
68•HeliumHydride•3d ago•40 comments

I wasted years of my life in crypto

https://twitter.com/kenchangh/status/1994854381267947640
221•Anon84•20h ago•315 comments

Jujutsu Worktrees Are Convenient

https://shaddy.dev/notes/jj-worktrees/
5•nvader•4d ago•0 comments

Solving Rush Hour, the Puzzle (2018)

https://www.michaelfogleman.com/rush/
21•xeonmc•1w ago•2 comments

The Anatomy of a macOS App

https://eclecticlight.co/2025/12/04/the-anatomy-of-a-macos-app/
236•elashri•21h ago•70 comments

How I block all online ads

https://troubled.engineer/posts/no-ads/
196•StrLght•11h ago•168 comments

CATL expects oceanic electric ships in 3 years

https://cleantechnica.com/2025/12/05/catl-expects-oceanic-electric-ships-in-3-years/
114•thelastgallon•1d ago•134 comments

Scala 3 slowed us down?

https://kmaliszewski9.github.io/scala/2025/12/07/scala3-slowdown.html
225•kmaliszewski•18h ago•131 comments

Work disincentives hit the near-poor hardest (2022)

https://www.niskanencenter.org/work-disincentives-hit-the-near-poor-hardest-why-and-what-to-do-ab...
85•folump•5d ago•63 comments

Nested Learning: A new ML paradigm for continual learning

https://research.google/blog/introducing-nested-learning-a-new-ml-paradigm-for-continual-learning/
119•themgt•18h ago•2 comments

Palantir Could Be the Most Overvalued Company That Ever Existed

https://247wallst.com/investing/2025/11/25/palantir-could-be-the-most-overvalued-company-that-eve...
81•Anon84•4h ago•41 comments

A two-person method to simulate die rolls (2023)

https://blog.42yeah.is/algorithm/2023/08/05/two-person-die.html
63•Fraterkes•2d ago•34 comments

Show HN: Cdecl-dump - represent C declarations visually

https://github.com/bbu/cdecl-dump
23•bluetomcat•9h ago•9 comments

Build a DIY magnetometer with a couple of seasoning bottles

https://spectrum.ieee.org/listen-to-protons-diy-magnetometer
89•nullbyte808•1w ago•17 comments