frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

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

Comments

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

Best buds on this front

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

I am building a cloud

https://crawshaw.io/blog/building-a-cloud
314•bumbledraven•4h ago•150 comments

Alberta startup sells no-tech tractors for half price

https://wheelfront.com/this-alberta-startup-sells-no-tech-tractors-for-half-price/
1745•Kaibeezy•16h ago•557 comments

Apple fixes bug that cops used to extract deleted chat messages from iPhones

https://techcrunch.com/2026/04/22/apple-fixes-bug-that-cops-used-to-extract-deleted-chat-messages...
584•cdrnsf•12h ago•146 comments

Your hex editor should color-code bytes

https://simonomi.dev/blog/color-code-your-bytes/
47•tobr•1d ago•6 comments

We found a stable Firefox identifier linking all your private Tor identities

https://fingerprint.com/blog/firefox-tor-indexeddb-privacy-vulnerability/
683•danpinto•15h ago•190 comments

5x5 Pixel font for tiny screens

https://maurycyz.com/projects/mcufont/
602•zdw•3d ago•125 comments

Ars Technica: Our newsroom AI policy

https://arstechnica.com/staff/2026/04/our-newsroom-ai-policy/
45•zdw•4h ago•27 comments

The Onion to Take over InfoWars

https://www.nytimes.com/2026/04/20/business/infowars-alex-jones-the-onion.html
149•lxm•2d ago•32 comments

A True Life Hack: What Physical 'Life Force' Turns Biology's Wheels?

https://www.quantamagazine.org/what-physical-life-force-turns-biologys-wheels-20260420/
70•Prof_Sigmund•1d ago•14 comments

Over-editing refers to a model modifying code beyond what is necessary

https://nrehiew.github.io/blog/minimal_editing/
360•pella•15h ago•205 comments

Tempest vs. Tempest: The Making and Remaking of Atari's Iconic Video Game

https://tempest.homemade.systems
72•mwenge•8h ago•24 comments

Website streamed live directly from a model

https://flipbook.page/
265•sethbannon•15h ago•77 comments

Technical, cognitive, and intent debt

https://martinfowler.com/fragments/2026-04-02.html
261•theorchid•17h ago•68 comments

An amateur historian's favorite books about the Silk Road

https://bookdna.com/best-books/silk-road
13•bwb•1d ago•10 comments

Plexus P/20 Emulator

https://spritetm.github.io/plexus_20_emu/
18•hggh•3d ago•1 comments

Arch Linux Now Has a Bit-for-Bit Reproducible Docker Image

https://antiz.fr/blog/archlinux-now-has-a-reproducible-docker-image/
49•maxloh•7h ago•10 comments

Ping-pong robot beats top-level human players

https://www.reuters.com/sports/ping-pong-robot-ace-makes-history-by-beating-top-level-human-playe...
118•wslh•18h ago•138 comments

Parallel agents in Zed

https://zed.dev/blog/parallel-agents
224•ajeetdsouza•15h ago•122 comments

Qwen3.6-27B: Flagship-Level Coding in a 27B Dense Model

https://qwen.ai/blog?id=qwen3.6-27b
838•mfiguiere•19h ago•385 comments

Borrow-checking without type-checking

https://www.scattered-thoughts.net/writing/borrow-checking-without-type-checking/
55•jamii•6h ago•15 comments

The Forgotten History of Hershey's Electric Railway (1916) in Cuba

https://spectrum.ieee.org/hershey-electric-railway-cuba
4•defrost•1d ago•0 comments

Scoring Show HN submissions for AI design patterns

https://www.adriankrebs.ch/blog/design-slop/
306•hubraumhugo•18h ago•219 comments

Verus is a tool for verifying the correctness of code written in Rust

https://verus-lang.github.io/verus/guide/
52•fanf2•2d ago•10 comments

Ultraviolet corona discharges on treetops during storms

https://www.psu.edu/news/earth-and-mineral-sciences/story/treetops-glowing-during-storms-captured...
231•t-3•19h ago•65 comments

Bodega cats of New York

https://bodegacatsofnewyork.com
192•zdw•5d ago•77 comments

Windows 9x Subsystem for Linux

https://social.hails.org/@hailey/116446826733136456
955•sohkamyung•23h ago•225 comments

Workspace Agents in ChatGPT

https://openai.com/index/introducing-workspace-agents-in-chatgpt/
135•mfiguiere•15h ago•51 comments

What killed the Florida orange?

https://slate.com/business/2026/04/florida-state-orange-food-houses-real-estate.html
151•danso•2d ago•140 comments

OpenAI's response to the Axios developer tool compromise

https://openai.com/index/axios-developer-tool-compromise/
74•shpat•8h ago•42 comments

The handmade beauty of Machine Age data visualizations

https://resobscura.substack.com/p/the-handmade-beauty-of-machine-age
37•benbreen•19h ago•2 comments