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?

Advancing the price-performance frontier with GPT‑5.6

https://openai.com/index/advancing-the-price-performance-frontier-with-gpt-5-6/
172•tedsanders•1h ago•90 comments

Read This Before You Buy That TV Streaming Stick

https://krebsonsecurity.com/2026/07/read-this-before-you-buy-that-tv-streaming-stick/
109•speckx•1h ago•39 comments

Gemini Robotics 2 brings whole body intelligence to robots

https://deepmind.google/blog/gemini-robotics-2-brings-whole-body-intelligence-to-robots/
258•ai2027•3h ago•259 comments

Physicists Solve a Muon Mystery. Now, Old Results Don't Add Up

https://www.quantamagazine.org/physicists-solve-a-muon-mystery-now-old-results-dont-add-up-20260729/
89•ibobev•2h ago•39 comments

We Gave GPT 5.6 Sol a Real Business. It Lied, Spammed, and Lost $447

https://www.bottlenecklabs.com/blog/autonomously-run-businesses
53•Areibman•45m ago•26 comments

Stacked PRs are now live on GitHub

https://github.blog/changelog/2026-07-30-stacked-pull-requests-are-now-in-public-preview/
61•tomzorz•1h ago•16 comments

The Economic Benefit of Refactoring

https://martinfowler.com/articles/exploring-gen-ai/refactoring-economic-benefit.html
112•javaeeeee•3h ago•48 comments

Why is everyone trying to build a solid-state battery?

https://www.construction-physics.com/p/why-is-everyone-trying-to-build-a
119•crescit_eundo•5h ago•147 comments

Rise Reforming (YC S26) Is Hiring

https://www.ycombinator.com/companies/rise-reforming/jobs/wJ9Q9nv-senior-chemical-process-engineer
1•george_rose25•1h ago

Hacker Public Radio

https://hackerpublicradio.org/
82•bmacho•3h ago•12 comments

Toot.community is shutting down

https://social.jorijn.com/@jorijn/statuses/01KYN00AP3NCZXCFB96KQB8GN2
30•speckx•1h ago•33 comments

Upper stage impacting the moon on 2026 August 5

https://www.projectpluto.com/25010d.htm
99•ryannevius•4h ago•31 comments

How Olinia Turns Mexico's EV Ambition into Reality

https://spectrum.ieee.org/mexico-olinia-car-electric-vehicle
17•rbanffy•1h ago•6 comments

RFC 8890 – The Internet is for End Users (2020)

https://mnot.net/blog/2020/for_the_users
89•notarobot123•5h ago•25 comments

How to Mount a Balcony Awning (2025)

https://solar.lowtechmagazine.com/2025/07/how-to-mount-a-balcony-awning/
24•karakoram•5d ago•0 comments

Launch HN: Prized (YC S26) – Let non-engineer staff build secure internal tools

https://prized.dev
51•marinoseliades•4h ago•30 comments

Ron Gilbert started production on Thimbleweed Park 2

https://www.grumpygamer.com/twp2_announce/
200•alberto-m•10h ago•95 comments

SDL_GPU minimal, single-header, high-performance 2D graphics painting library

https://github.com/n67094/sdl_gp
42•n67094•3h ago•13 comments

Are We Stuck with Lean?

https://mathoverflow.net/questions/513742/are-we-stuck-with-lean
93•jjgreen•6h ago•41 comments

Paging Through a Parquet File in DuckDB: File_row_number or Offset?

https://rusty.today/blog/paging-parquet-duckdb-file-row-number-vs-offset/
30•rustyconover•3h ago•3 comments

RCade: The Arcade Cabinet with CI/CD Deployment, Custom Graphics Card for CRT [video]

https://www.youtube.com/watch?v=W-OpIbLUOU0
20•evakhoury•21h ago•3 comments

Show HN: Claude-account – switch Claude Code accounts without logging in again

https://github.com/hamzarehmandeveloper/claude-account
22•hamza_rehman•3h ago•18 comments

How old is Ann?

https://quuxplusone.github.io/blog/2026/07/29/how-old-is-ann/
51•ibobev•6h ago•51 comments

Trusted URLs via Cryptographic Signatures

https://blog.certisfy.com/2026/04/trusted-urls-via-cryptographic.html
18•Edmond•3h ago•12 comments

3D Pinball for Windows (1995)

https://98.js.org/programs/pinball/space-cadet.html
77•mushstory•6h ago•39 comments

Gpiozero Flow

https://bennuttall.com/blog/2026/07/gpiozero-flow/
111•benn_88•7h ago•34 comments

Show HN: I made a game where you build a CPU from logic gates

https://select.supply/game/chipbuilder
58•laurentiurad•6h ago•53 comments

Building a native C# implementation of CEL engine

https://bsid.io/writing/building-a-cel-engine-for-net
38•jackedEngineer•2d ago•8 comments

The Alice and Bob After Dinner Speech (1984)

https://hex.ooo/library/alicebob.html
41•kamma4434•3d ago•6 comments

Azulejo

https://en.wikipedia.org/wiki/Azulejo
157•Amorymeltzer•1d ago•53 comments