frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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?

GameStop makes $55.5B takeover offer for eBay

https://www.bbc.co.uk/news/articles/cn0p8yled1do
144•n1b0m•2h ago•88 comments

ASML's Best Selling Product Isn't What You Think It Is

https://www.siliconimist.com/p/asmls-best-selling-product
16•johncole•26m ago•8 comments

Trademark violation: Fake Notepad++ for Mac

https://notepad-plus-plus.org/news/npp-trademark-infringement/
190•maxloh•1h ago•72 comments

Debunking the CIA's “magic” heartbeat sensor [video]

https://www.youtube.com/watch?v=SVTPv4sI_Jc
41•areoform•11h ago•34 comments

Using “underdrawings” for accurate text and numbers

https://samcollins.blog/underdrawings/
264•samcollins•2d ago•87 comments

Texico: Learn the principles of programming without even touching a computer

https://www3.nhk.or.jp/nhkworld/en/shows/texico/
65•o4c•2d ago•3 comments

BYOMesh – New LoRa mesh radio offers 100x the bandwidth

https://partyon.xyz/@nullagent/116499715071759135
393•nullagent•17h ago•126 comments

DeepClaude – Claude Code agent loop with DeepSeek V4 Pro

https://github.com/aattaran/deepclaude
497•alattaran•13h ago•198 comments

World's biggest RC A380 [video]

https://www.youtube.com/watch?v=wr9YLGbhxng
17•NaOH•1d ago•0 comments

Discovering hard disk physical geometry through microbenchmarking (2019)

https://blog.stuffedcow.net/2019/09/hard-disk-geometry-microbenchmarking/
102•TapamN•3d ago•5 comments

A treasure trove of fossils rewrites the story of early life

https://www.quantamagazine.org/a-treasure-trove-of-cambrian-fossils-rewrites-the-story-of-early-l...
42•worldvoyageur•2d ago•6 comments

Stitch together lots of little HTML pages with navigations for interactions

https://blog.jim-nielsen.com/2026/small-html-pages/
62•OuterVale•6h ago•33 comments

Southwest Headquarters Tour

https://katherinemichel.github.io/blog/travel/southwest-headquarters-tour-2026.html
260•KatiMichel•18h ago•80 comments

The 'Hidden' Costs of Great Abstractions

https://jdgr.net/the-hidden-costs-of-great-abstractions
182•jdgr•12h ago•79 comments

Let's Buy Spirit Air

https://letsbuyspiritair.com/
372•bjhess•11h ago•355 comments

US–Indian space mission maps extreme subsidence in Mexico City

https://phys.org/news/2026-04-usindian-space-mission-extreme-subsidence.html
160•leopoldj•2d ago•63 comments

The Road to a Billion-Token Context

https://cacm.acm.org/news/the-road-to-a-billion-token-context/
11•pseudolus•2d ago•18 comments

A desktop made for one

https://isene.org/2026/05/Audience-of-One.html
361•xngbuilds•20h ago•196 comments

K3sup – bootstrap K3s over SSH in < 60s

https://github.com/alexellis/k3sup
60•rickcarlino•2d ago•24 comments

OpenAI’s o1 correctly diagnosed 67% of ER patients vs. 50-55% by triage doctors

https://www.theguardian.com/technology/2026/apr/30/ai-outperforms-doctors-in-harvard-trial-of-eme...
408•donsupreme•1d ago•364 comments

Fun with polynomials and linear algebra; or, slight abstract nonsense

https://guille.site/posts/abstract-nonsense/
23•LolWolf•2d ago•0 comments

Bad Connection: Global telecom exploitation by covert surveillance actors

https://citizenlab.ca/research/uncovering-global-telecom-exploitation-by-covert-surveillance-actors/
160•miohtama•19h ago•13 comments

Introduction to Atom

https://validator.w3.org/feed/docs/atom.html
102•susam•13h ago•36 comments

Over 8M Thermos jars and bottles recalled after 3 people lost vision

https://www.goodmorningamerica.com/living/story/8-million-thermos-jars-bottles-recalled-after-3-1...
64•taubek•2h ago•51 comments

Humanoid Robot Actuators

https://www.firgelli.com/pages/humanoid-robot-actuators
138•ofrzeta•7h ago•61 comments

Tar Files Created on macOS Display Errors When Extracting on Linux (2024)

https://aruljohn.com/blog/macos-created-tar-files-linux-errors/
113•heresie-dabord•3d ago•80 comments

New statue in London, attributed to Banksy, of a suited man, blinded by a flag

https://www.smithsonianmag.com/smart-news/attributed-to-banksy-a-new-statue-of-a-suited-man-blind...
423•dryadin•16h ago•387 comments

Mercedes-Benz commits to bringing back physical buttons

https://www.drive.com.au/news/mercedes-benz-commits-to-bringing-back-phycial-buttons/
731•teleforce•20h ago•406 comments

Text-to-CAD

https://github.com/earthtojake/text-to-cad
123•softservo•3d ago•34 comments

I recreated the Apple Lisa computer inside an FPGA [video]

https://www.youtube.com/watch?v=8jNQDcpHc68
106•cyrc•17h ago•26 comments