frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

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

Comments

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

Best buds on this front

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

MessageFormat: Unicode standard for localizable message strings

https://github.com/unicode-org/message-format-wg
40•todsacerdoti•1h ago•21 comments

I’m joining OpenAI

https://steipete.me/posts/2026/openclaw
1115•mfiguiere•14h ago•811 comments

I want to wash my car. The car wash is 50 meters away. Should I walk or drive?

https://mastodon.world/@knowmadd/116072773118828295
618•novemp•5h ago•431 comments

Magnus Carlsen Wins the Freestyle (Chess960) World Championship

https://www.fide.com/magnus-carlsen-wins-2026-fide-freestyle-world-championship/
304•prophylaxis•13h ago•192 comments

picol: A Tcl interpreter in 500 lines of code

https://github.com/antirez/picol
40•tosh•4h ago•29 comments

Vim-pencil: Rethinking Vim as a tool for writing

https://github.com/preservim/vim-pencil
15•gurjeet•3d ago•0 comments

Building SQLite with a small swarm

https://kiankyars.github.io/machine_learning/2026/02/12/sqlite.html
72•kyars•6h ago•50 comments

Modern CSS Code Snippets: Stop writing CSS like it's 2015

https://modern-css.com
505•eustoria•18h ago•205 comments

Arm wants a bigger slice of the chip business

https://www.economist.com/business/2026/02/12/arm-wants-a-bigger-slice-of-the-chip-business
96•andsoitis•9h ago•56 comments

Expensively Quadratic: The LLM Agent Cost Curve

https://blog.exe.dev/expensively-quadratic
50•luu•3d ago•23 comments

1,300-year-old world chronicle unearthed in Sinai

https://www.heritagedaily.com/2026/02/1300-year-old-world-chronicle-unearthed-in-sinai/156948
56•telotortium•4d ago•8 comments

LT6502: A 6502-based homebrew laptop

https://github.com/TechPaula/LT6502
361•classichasclass•18h ago•176 comments

Audio is the one area small labs are winning

https://www.amplifypartners.com/blog-posts/arming-the-rebels-with-gpus-gradium-kyutai-and-audio-ai
219•rocauc•3d ago•57 comments

JavaScript-heavy approaches are not compatible with long-term performance goals

https://sgom.es/posts/2026-02-13-js-heavy-approaches-are-not-compatible-with-long-term-performanc...
104•luu•11h ago•117 comments

I gave Claude access to my pen plotter

https://harmonique.one/posts/i-gave-claude-access-to-my-pen-plotter
208•futurecat•2d ago•132 comments

Anthropic tries to hide Claude's AI actions. Devs hate it

https://www.theregister.com/2026/02/16/anthropic_claude_ai_edits/
12•beardyw•1h ago•0 comments

Show HN: Microgpt is a GPT you can visualize in the browser

https://microgpt.boratto.ca
205•b44•17h ago•23 comments

Designing a 36-key custom keyboard layout (2021)

https://peterxjang.medium.com/designing-a-36-key-custom-keyboard-layout-24498a0eecd4
20•speckx•2d ago•8 comments

EU bans the destruction of unsold apparel, clothing, accessories and footwear

https://environment.ec.europa.eu/news/new-eu-rules-stop-destruction-unsold-clothes-and-shoes-2026...
1035•giuliomagnifico•18h ago•696 comments

Databases should contain their own Metadata – Use SQL Everywhere

https://floedb.ai/blog/databases-should-contain-their-own-metadata-instrumentation-in-floe
31•matheusalmeida•4d ago•22 comments

Real-time PathTracing with global illumination in WebGL

https://erichlof.github.io/THREE.js-PathTracing-Renderer/
168•tobr•3d ago•15 comments

Gwtar: A static efficient single-file HTML format

https://gwern.net/gwtar
242•theblazehen•20h ago•76 comments

Pocketblue – Fedora Atomic for mobile devices

https://github.com/pocketblue/pocketblue
113•nikodunk•19h ago•32 comments

Hard problems in social media archiving

https://alexwlchan.net/2025/hard-problems-in-social-media-archiving/
9•surprisetalk•3d ago•2 comments

Error payloads in Zig

https://srcreigh.ca/posts/error-payloads-in-zig/
77•srcreigh•13h ago•28 comments

Show HN: Knock-Knock.net – Visualizing the bots knocking on my server's door

https://knock-knock.net
160•djkurlander•19h ago•69 comments

GNU Pies – Program Invocation and Execution Supervisor

https://www.gnu.org.ua/software/pies/
91•smartmic•15h ago•57 comments

Amazon's Ring and Google's Nest reveal the severity of U.S. surveillance state

https://greenwald.substack.com/p/amazons-ring-and-googles-nest-unwittingly
855•mikece•23h ago•590 comments

Lost Soviet Moon Lander May Have Been Found

https://www.nytimes.com/2026/02/10/science/luna-9-moon-lander-soviet.html
62•Brajeshwar•4d ago•44 comments

I fixed Windows native development

https://marler8997.github.io/blog/fixed-windows/
755•deevus•1d ago•361 comments