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?

The End of Eleventy

https://brennan.day/the-end-of-eleventy/
111•ValentineC•4h ago•54 comments

Small models also found the vulnerabilities that Mythos found

https://aisle.com/blog/ai-cybersecurity-after-mythos-the-jagged-frontier
966•dominicq•13h ago•261 comments

US appeals court declares 158-year-old home distilling ban unconstitutional

https://www.theguardian.com/law/2026/apr/11/appeals-court-ruling-home-distilling-ban-unconstituti...
46•Jimmc414•59m ago•21 comments

How We Broke Top AI Agent Benchmarks: And What Comes Next

https://rdi.berkeley.edu/blog/trustworthy-benchmarks-cont/
318•Anon84•10h ago•86 comments

How Complex is my Code?

https://philodev.one/posts/2026-04-code-complexity/
81•speckx•4d ago•15 comments

447 TB/cm² at zero retention energy – atomic-scale memory on fluorographane

https://zenodo.org/records/19513269
186•iliatoli•9h ago•93 comments

Excellence Is a Habit

https://www.flyingbarron.com/2026/04/excellence-is-habit.html
30•mooreds•2h ago•4 comments

Dark Castle

https://darkcastle.co.uk/
164•evo_9•10h ago•20 comments

Apple Silicon and Virtual Machines: Beating the 2 VM Limit (2023)

https://khronokernel.com/macos/2023/08/08/AS-VM.html
178•krackers•9h ago•123 comments

Pijul a FOSS distributed version control system

https://pijul.org/
115•kouosi•4d ago•22 comments

How a dancer with ALS used brainwaves to perform live

https://www.electronicspecifier.com/products/sensors/how-a-dancer-with-als-used-brainwaves-to-per...
21•1659447091•3h ago•1 comments

Tofolli gates are all you need

https://www.johndcook.com/blog/2026/04/06/tofolli-gates/
6•ibobev•4d ago•0 comments

Advanced Mac Substitute is an API-level reimplementation of 1980s-era Mac OS

https://www.v68k.org/advanced-mac-substitute/
229•zdw•14h ago•60 comments

Building a Z-Machine in the worst possible language – Whitebeard's Realm

https://whitebeard.blog/posts/building-a-z-machine-in-elm/
13•techbelly•3h ago•0 comments

Cirrus Labs to join OpenAI

https://cirruslabs.org/
251•seekdeep•17h ago•123 comments

Why meaningful days look like nothing while you are living them

https://pilgrima.ge/p/the-grand-line
10•momentmaker•3h ago•2 comments

Simplest Hash Functions

https://purplesyringa.moe/blog/simplest-hash-functions/
13•ibobev•4d ago•5 comments

Surelock: Deadlock-Free Mutexes for Rust

https://notes.brooklynzelenka.com/Blog/Surelock
200•codetheweb•3d ago•63 comments

How to build a `Git diff` driver

https://www.jvt.me/posts/2026/04/11/how-git-diff-driver/
102•zdw•11h ago•10 comments

Show HN: Pardonned.com – A searchable database of US Pardons

411•vidluther•23h ago•227 comments

Software Preservation Group: C++ History Collection

https://softwarepreservation.computerhistory.org/c_plus_plus/
13•quuxplusone•4h ago•1 comments

Midnight Captain – A midnight commander inspired file manager

https://github.com/duguyue100/midnight-captain
28•duguyue100•6h ago•10 comments

The Soul of an Old Machine

https://skalski.dev/the-soul-of-an-old-machine/
43•mskalski•4d ago•10 comments

What is a property?

https://alperenkeles.com/posts/what-is-a-property/
66•alpaylan•4d ago•19 comments

Optimal Strategy for Connect 4

https://2swap.github.io/WeakC4/explanation/
280•marvinborner•3d ago•31 comments

Dcmake: A new CMake debugger UI

https://nullprogram.com/blog/2026/04/07/
14•mfrw•4d ago•4 comments

Keeping a Postgres Queue Healthy

https://planetscale.com/blog/keeping-a-postgres-queue-healthy
91•tanelpoder•13h ago•23 comments

Every plane you see in the sky – you can now follow it from the cockpit in 3D

https://flight-viz.com/cockpit.html?lat=40.64&lon=-73.78&alt=3000&hdg=220&spd=130&cs=DAL123
300•coolwulf•3d ago•57 comments

The APL programming language source code (2012)

https://computerhistory.org/blog/the-apl-programming-language-source-code/
59•tosh•12h ago•16 comments

The Problem That Built an Industry

https://ajitem.com/blog/iron-core-part-1-the-problem-that-built-an-industry/
119•ShaggyHotDog•16h ago•41 comments