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?

Nobel Prize in Physics goes to Francis Halzen

https://www.nobelprize.org/prizes/physics/2026/
123•solarist•1h ago•29 comments

Beam: Reflection's 501B open-weight model

https://reflection.ai/blog/introducing-beam
476•Philpax•16h ago•149 comments

Find the flattest route between any two points in SF

https://flattensf.com/
221•ishan0102•13h ago•78 comments

Gleam doesn't compile to Erlang source anymore

https://gleam.run/news/gleam-doesnt-compile-to-erlang-source-anymore/
30•ingve•3h ago•5 comments

Dust: Pretraining Transformers Without Backpropagation

https://qlabs.sh/research/dust
211•E-Reverance•14h ago•55 comments

Friendship ended with Deno, now Node is my best friend

https://dbushell.com/2026/10/03/deno-to-node/
194•ibobev•13h ago•112 comments

Accountability mechanisms can be joyful (2024)

https://liquidbrain.net/blog/accountability-and-joy/
45•luu•2d ago•10 comments

Web Search API

https://developers.cloudflare.com/changelog/post/2026-10-02-introducing-web-search-api/
557•tosh•1d ago•252 comments

Opus 5.5 agents discover two room-temperature magnetic semiconductor candidates

https://www.vals.ai/blogs/room-temperature-magnetic-semiconductors
373•outlier99•14h ago•252 comments

Resurrecting iChat Audio and Video Conferencing

https://blog.pipetogrep.org/2026/09/11/resurrecting-ichat-audio-and-video-conferencing/
58•thepipetogrep•7h ago•14 comments

Example.com just launched the biggest redesign in decades

https://www.debugbear.com/blog/example-dot-com-redesign-history
241•jgx0•12h ago•157 comments

Testing 12 different Zigbee temperature/humidity sensors

https://smarthomescene.com/reviews/best-selling-zigbee-temperature-sensors-tested/
131•walrus01•2d ago•69 comments

An algorithmic failure beneath the secret ballot

https://blog.citp.princeton.edu/2026/08/03/an-algorithmic-failure-beneath-the-secret-ballot/
87•leecoursey•2d ago•61 comments

Competitive Programmer's Handbook (2018) [pdf]

https://cses.fi/book/book.pdf
219•vinhnx•2d ago•54 comments

ASOS app users receive push notifications apparently sent by hackers

https://www.bbc.co.uk/news/articles/cj62ylzpr6d3o
16•helsinkiandrew•1h ago•4 comments

The complement of true is true, except when it's false

https://dryperspective.github.io/posts/complement-of-true/
24•aw1621107•1d ago•2 comments

Global Solar Atlas: summary of solar power potential globally

https://globalsolaratlas.info/
62•stratts•12h ago•39 comments

The lamps in my house

https://arslan.io/2026/10/05/the-lamps-in-my-house/
230•farslan•21h ago•99 comments

Using A.I. and machine learning to decode communication of sperm whales

https://blue-continuum.com/the-man-who-listens-to-whales
33•dnetesn•2d ago•20 comments

Why Common Lisp is now the best programming language

https://www.vivienhenz.com/common-lisp
210•misterchocolat•8h ago•254 comments

Show HN: Entombed in a Raycaster

https://www.stelabouras.com/blog/entombed-raycaster/
27•stelabouras•2d ago•6 comments

Show HN: Photoc – Command-line tools for photographers

https://github.com/ahmetomerv/photoc
45•ahmetomer•2d ago•4 comments

Fog-Bank: Archiving the oldest webcam feed

https://fog-bank.org/net
14•rdmuser•2d ago•10 comments

Samon: Designing a Zen Garden Raking Puzzle

https://gwern.net/doc/design/2026-10-03-gwern-samon.html
47•networked•12h ago•21 comments

DEDA – Tracking Dots Extraction, Decoding and Anonymisation Toolkit

https://github.com/dfd-tud/deda
67•greyface-•1d ago•7 comments

Ephemeral Testing

https://lemire.me/blog/2026/10/05/ephemeral-testing/
65•ibobev•12h ago•20 comments

Apple and a hacker's future

https://stratechery.com/2026/apple-and-a-hackers-future/
265•maguay•1d ago•226 comments

Making a GTK application in Haskell, part 1

https://floreal.tech/blog/2026/making-a-gtk-app-in-haskell-part-1/
162•Vosporos•21h ago•45 comments

ChatGPT is adding real cartoonists' signatures to fake New Yorker cartoons

https://www.niemanlab.org/2026/10/chatgpt-is-adding-real-cartoonists-signatures-to-fake-new-yorke...
462•rdmuser•12h ago•338 comments

Qualcomm licenses patents on Huawei’s LogicFolding chip tech

https://www.bloomberg.com/news/articles/2026-10-05/qualcomm-licenses-patents-on-huawei-s-logicfol...
196•0xedb•1d ago•126 comments