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?

Lines of Code Got a Better Publicist

https://curlewis.co.nz/posts/lines-of-code-got-a-better-publicist/
42•RyeCombinator•37m ago•9 comments

Pokémon Go Scans Trained the Navigation Tech for Military Drones

https://dronexl.co/2026/06/09/pokemon-go-scans-niantic-vantor-military-drone-navigation/
424•vrganj•6h ago•185 comments

AI agent runs amok in Fedora and elsewhere

https://lwn.net/SubscriberLink/1077035/c7e7c14fbd60fae9/
458•tanelpoder•12h ago•208 comments

Build a Basic AI Agent from Scratch: Long Task Planning

https://medium.com/@rogi23696/build-a-basic-ai-agent-from-scratch-long-task-planning-14e803f9bd6d
60•ruxudev•1d ago•18 comments

Cybersecurity researchers aren't happy about the guardrails on Anthropic's Fable

https://techcrunch.com/2026/06/10/cybersecurity-researchers-arent-happy-about-the-guardrails-on-a...
497•speckx•20h ago•437 comments

BYD is bringing its 5-min 'Flash' electric car charging to Canada

https://electrek.co/2026/06/10/byd-flash-charging-canada-5-minute-ev-charging-network/
53•breve•1h ago•24 comments

πFS

https://github.com/philipl/pifs
831•helterskelter•18h ago•189 comments

Anthropic requires 30 day data retention for Fable and Mythos

https://support.claude.com/en/articles/15425996-data-retention-practices-for-mythos-class-models
495•lebovic•1d ago•257 comments

Linux latency measurements and compositor tuning

https://farnoy.dev/posts/linux-latency
75•GalaxySnail•2d ago•15 comments

Starfish by Peter Watts (1999)

https://www.rifters.com/real/STARFISH.htm#prelude
85•zetalyrae•2d ago•25 comments

Reverse engineering the Creative Katana soundbar to control it from Linux

https://blog.nns.ee/2026/02/20/katana-v2x-re/
99•theanonymousone•4d ago•5 comments

Web Browsers on Video Game Consoles

https://vale.rocks/posts/game-console-browsers
71•robin_reala•4h ago•41 comments

I'm Eric Ries, author of "The Lean Startup" and new book "Incorruptible" – AMA

707•eries•22h ago•505 comments

The Life and Works of Raoul Bott

https://arxiv.org/abs/math/0201027
11•mindcrime•2d ago•2 comments

Sequoyah’s syllabary created a written language for the Cherokee

https://www.smithsonianmag.com/innovation/man-created-written-language-cherokee-did-efficiently-e...
170•grahambargeron•14h ago•99 comments

PgDog is funded and coming to a database near you

https://pgdog.dev/blog/our-funding-announcement
494•levkk•23h ago•232 comments

Making a Shading Language for My Offline Renderer

https://agraphicsguynotes.com/posts/making_a_shading_langauge_for_my_offline_renderer/
27•ibobev•3d ago•2 comments

Sweet Jeebus, macOS 27 Golden Gate Removes the Dumb Icons from Menu Items

https://daringfireball.net/2026/06/macos_27_golden_gate_removes_the_dumb_icons_from_menu_items
157•epaga•5h ago•59 comments

Human migration has surged since 2000 – these maps reveal where people are going

https://www.nature.com/articles/d41586-026-01796-y
33•tzury•1h ago•28 comments

How JPL keeps the 13-year-old Curiosity rover doing science

https://spectrum.ieee.org/curiosity-rover-jpl-mars-science
246•pseudolus•19h ago•73 comments

GeoLibre 1.0

https://geolibre.app/
269•jonbaer•19h ago•22 comments

L'Affaire Siloxane

https://mceglowski.substack.com/p/laffaire-siloxane
249•idlewords•2d ago•43 comments

Vacuum-Form Signage

https://bethmathews.substack.com/p/the-history-behind-the-signs-lighting
77•benbreen•1d ago•11 comments

Show HN: Extend UI – open-source UI kit for modern document apps

https://www.extend.ai/ui
225•kbyatnal•20h ago•62 comments

Klondike Solitaire game for curses in 5k of C

https://nanochess.org/klondike_in_c.html
89•nanochess•2d ago•15 comments

Who's the smartest corvid?

https://thetyee.ca/Culture/2026/06/05/Whos-the-Smartest-Corvid/
130•NaOH•1d ago•113 comments

Symbolicating a minified stack trace by hand: why source maps can't do it alone

https://tracewayapp.com/blog/deep-dive-into-the-sourcemaps
4•dusanstanojevic•1d ago•0 comments

CSS: Unavoidable Bad Parts

https://matklad.github.io/2026/06/04/css-unavoidable-bad-parts.html
100•surprisetalk•2d ago•57 comments

World Capitals Voronoi

https://www.jasondavies.com/maps/voronoi/capitals/
109•vincnetas•2d ago•55 comments

Building an HTML-first site doubled our users overnight

https://mohkohn.co.uk/writing/html-first/
1179•edent•1d ago•531 comments