frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

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

Comments

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

Best buds on this front

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

How Charles M Schulz created Charlie Brown and Snoopy (2024)

https://www.bbc.com/culture/article/20241205-how-charles-m-schulz-created-charlie-brown-and-snoopy
82•1659447091•4h ago•27 comments

Same-day upstream Linux support for Snapdragon 8 Elite Gen 5

https://www.qualcomm.com/developer/blog/2025/10/same-day-snapdragon-8-elite-gen-5-upstream-linux-...
359•mfilion•12h ago•164 comments

250MWh 'Sand Battery' to start construction in Finland

https://www.energy-storage.news/250mwh-sand-battery-to-start-construction-in-finland-for-both-hea...
170•doener•5h ago•72 comments

Physicists drive antihydrogen breakthrough at CERN

https://phys.org/news/2025-11-physicists-antihydrogen-breakthrough-cern-technique.html
145•naves•5d ago•36 comments

Vsora Jotunn-8 5nm European inference chip

https://vsora.com/products/jotunn-8/
45•rdg42•4h ago•11 comments

A programmer-friendly I/O abstraction over io_uring and kqueue (2022)

https://tigerbeetle.com/blog/2022-11-23-a-friendly-abstraction-over-iouring-and-kqueue/
51•enz•5h ago•15 comments

Quake Engine Indicators

https://fabiensanglard.net/quake_indicators/index.html
215•liquid_x•3d ago•42 comments

China's BEV Trucks and the End of Diesel's Dominance

https://cleantechnica.com/2025/11/26/chinas-bev-trucks-and-the-end-of-diesels-dominance/
12•xbmcuser•40m ago•0 comments

The VPN panic is only getting started

https://www.theverge.com/tech/827435/uk-vpn-restrictions-ban-online-safety-act
24•cebert•1h ago•10 comments

Feedback doesn't scale

https://another.rodeo/feedback/
132•ohjeez•1d ago•44 comments

Memories of .us

https://computer.rip/2025-11-11-dot-us.html
133•sabas_ge•1d ago•40 comments

Linux Kernel Explorer

https://reverser.dev/linux-kernel-explorer
551•tanelpoder•22h ago•79 comments

Underrated reasons to be thankful V

https://dynomight.net/thanks-5/
154•numeri•7h ago•72 comments

Tell HN: Happy Thanksgiving

605•prodigycorp•22h ago•151 comments

Indie, alone, and figuring it out

https://danijelavrzan.com/posts/2025/11/indie-dev/
49•wallflower•4d ago•4 comments

Bird flu viruses are resistant to fever, making them a major threat to humans

https://medicalxpress.com/news/2025-11-bird-flu-viruses-resistant-fever.html
69•bikenaga•4h ago•53 comments

DeepSeekMath-V2: Towards Self-Verifiable Mathematical Reasoning [pdf]

https://github.com/deepseek-ai/DeepSeek-Math-V2/blob/main/DeepSeekMath_V2.pdf
146•fspeech•8h ago•32 comments

GitLab discovers widespread NPM supply chain attack

https://about.gitlab.com/blog/gitlab-discovers-widespread-npm-supply-chain-attack/
69•OuterVale•12h ago•25 comments

Experimenting with Robin Hood Hashing

https://twdev.blog/2025/11/robin_hood/
3•signa11•4d ago•0 comments

Giving the Jakks Atari Paddle a Spin

https://nicole.express/2025/paddle-me-atari.html
18•ingve•4d ago•0 comments

Maxduino Review: Tape Cassette Emulator for Multiple Retro Computers

https://retrogamecoders.com/maxduino-review/
15•ibobev•3d ago•0 comments

TPUs vs. GPUs and why Google is positioned to win AI race in the long term

https://www.uncoveralpha.com/p/the-chip-made-for-the-ai-inference
300•vegasbrianc•14h ago•232 comments

DIY NAS: 2026 Edition

https://blog.briancmoses.com/2025/11/diy-nas-2026-edition.html
412•sashk•1d ago•261 comments

Mixpanel Security Breach

https://mixpanel.com/blog/sms-security-incident/
220•jaredwiener•21h ago•107 comments

Coq: The World's Best Macro Assembler? (2013) [pdf]

https://nickbenton.name/coqasm.pdf
151•addaon•23h ago•67 comments

Inspired by Spider-Man, scientists recreate web-slinging technology

https://scienceclock.com/inspired-by-spider-man-scientists-recreate-web-slinging-technology/
50•ohjeez•1d ago•12 comments

Ray Marching Soft Shadows in 2D (2020)

https://www.rykap.com/2020/09/23/distance-fields/
182•memalign•20h ago•28 comments

Music eases surgery and speeds recovery, study finds

https://www.bbc.com/news/articles/c231dv9zpz3o
205•1659447091•23h ago•89 comments

Penpot: The Open-Source Figma

https://github.com/penpot/penpot
712•selvan•1d ago•173 comments

A Camera of Miroslav Tichý

https://artblart.com/tag/a-camera-of-miroslav-tichy/
8•Kaibeezy•4d ago•0 comments