frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

https://jfmengels.net/compiler-reminders/
38•jfmengels1•1y ago

Comments

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

Best buds on this front

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

Quantum battery upends the rules of charging

https://www.bbc.com/future/article/20260824-this-quantum-battery-charges-faster-the-larger-it-gets
23•reconnecting•1h ago•15 comments

iCloud+ Hide My Email addresses will remain on icloud.com

https://developer.apple.com/news/?id=1ptvdtcm
502•K7PJP•13h ago•147 comments

MS Paint and Photos inivisibly watermark even locally generated output with GUID

https://xusheng.dev/posts/reversing/mspaint_invisible_watermark/main/
743•ComputerGuru•20h ago•349 comments

Xiaomi: New CPU matches Apple cores single threaded, much faster multithreaded

https://twitter.com/lemire/status/2091894299289874926
898•tosh•20h ago•645 comments

How Universities Should Prepare Founders

https://paulgraham.com/prepare.html
148•gmays•10h ago•181 comments

SiFive's First Server Platform

https://chipsandcheese.com/p/sifives-first-server-platform
68•geerlingguy•8h ago•16 comments

How Europe is killing makers and micro-entrepreneurs

https://lectronz.com/u/lectronz/articles/how-europe-is-killing-makers-and-micro-entrepreneurs
1432•l-one-lone•22h ago•902 comments

Moon (2024)

https://ciechanow.ski/moon/
207•simonebrunozzi•13h ago•36 comments

The entire city of San Francisco as a video game

https://sf.thijs.gg/
496•centrosphere•18h ago•145 comments

What's new in Emacs 31.1

https://www.masteringemacs.org/article/whats-new-in-emacs-311
168•geospeck•22h ago•33 comments

Headlong: A Microharness for Persistent Agents

https://www.laude.org/updates/headlong-a-microharness-for-persistent-agents
78•lbw1215•7h ago•29 comments

Bookshelf – Self-hosted eBook library that runs on object storage

https://github.com/murerkinn/bookshelf
114•arbayi•12h ago•41 comments

Where did all the public bathrooms go?

https://daily.jstor.org/where-did-all-the-public-bathrooms-go/
259•herbertl•18h ago•572 comments

Nostr is an inclusive communication commons

https://nostr.org/
161•Bluestein•2d ago•101 comments

Why some US restaurants are banning tips

https://www.bbc.com/news/articles/c4g36yze692o
138•rock_artist•1h ago•212 comments

Walgit – a Git server that is one binary in front of an object store

https://github.com/tobi/walgit
105•matallo•20h ago•33 comments

Vintage Artificial Intelligence: Before It Got Awkward

https://blog.archive.org/2026/08/16/vintage-artificial-intelligence-before-it-got-awkward/
113•signor_bosco•14h ago•21 comments

Show HN: I wrote a BASIC interpreter that boots on UEFI machines

https://tarjan.itch.io/thoreaubasic
75•Gorsefound•1d ago•23 comments

Peppermint oil reduces blood pressure by 8.48 mmHg in small study

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0344538
175•brandonb•21h ago•83 comments

Screen viewing time from age 1 to 8 years and subsequent academic performance

https://link.springer.com/article/10.1007/s12519-026-01046-1
37•Markoff•2h ago•29 comments

Training AI to Paint with Code

https://surya.website/rling-qwen-to-paint-with-code
110•Tiberium•1d ago•13 comments

Crafting QR Codes: A deep dive into QR code art (2024)

https://kylezhe.ng/writes/crafting-qr-codes
97•subset•21h ago•7 comments

Jabber/XMPP: 25 Years of Digital Independence

https://gultsch.de/posts/25-years-of-digital-independence/
236•inputmice•19h ago•140 comments

LLMs could control their host machines by exploiting inference engines

https://boydkane.com/essays/llms-could-control-their-host-machines-by-exploiting-inference-engines
160•zdw•16h ago•74 comments

Was modern art a CIA psy-op? (2020)

https://daily.jstor.org/was-modern-art-really-a-cia-psy-op/
96•neom•10h ago•155 comments

I were 17, I'd learn how to build LLMs from scratch

https://twitter.com/paulg/status/2091544343589060625
559•bilsbie•1d ago•641 comments

SeL4 security proofs now complete on AArch64

https://proofcraft.systems/news-2026/#2026-08-21
192•snvzz•1d ago•44 comments

Oceans hit highest temperature on record

https://www.bbc.com/news/articles/c62m4gpnp78o
595•tcp_handshaker•16h ago•468 comments

Show HN: Screen memory without screenshots, just text to Markdown

https://github.com/dragthelake/ambient-context
55•Dramatize•7h ago•22 comments

Show HN: PicoMQ – Durable Streams over HTTP, on object storage

https://picomq.com/
134•adesh_nalpet•19h ago•23 comments