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?

Craig Venter has died

https://www.jcvi.org/media-center/j-craig-venter-genomics-pioneer-and-founder-jcvi-and-diploid-ge...
56•rdl•54m ago•13 comments

Zed 1.0

https://zed.dev/blog/zed-1-0
1566•salkahfi•12h ago•501 comments

Copy Fail

https://copy.fail/
631•unsnap_biceps•8h ago•270 comments

Joby Kicks Off NYC Electric Air Taxi Demos with Historic JFK Flight

https://www.flyingmag.com/joby-nyc-electric-air-taxi-jfk-airport/
15•Jblx2•1h ago•9 comments

Cursor Camp

https://neal.fun/cursor-camp/
675•bpierre•10h ago•110 comments

OpenTrafficMap

https://opentrafficmap.org/
159•moooo99•6h ago•35 comments

HERMES.md in commit messages causes requests to route to extra usage billing

https://github.com/anthropics/claude-code/issues/53262
995•homebrewer•7h ago•425 comments

FastCGI: 30 years old and still the better protocol for reverse proxies

https://www.agwa.name/blog/post/fastcgi_is_the_better_protocol_for_reverse_proxies
258•agwa•10h ago•66 comments

Vera: a programming language designed for machines to write

https://github.com/aallan/vera
57•unignorant•4h ago•42 comments

Why I still reach for Lisp and Scheme instead of Haskell

https://jointhefreeworld.org/blog/articles/lisps/why-i-still-reach-for-scheme-instead-of-haskell/...
170•jjba23•17h ago•62 comments

Laws of UX

https://lawsofux.com/
197•bobbiechen•9h ago•30 comments

Consequences of passing too few register parameters to a C function

https://devblogs.microsoft.com/oldnewthing/20260427-00/?p=112271
17•aragonite•1d ago•2 comments

DRAM Crunch: Lessons for System Design

https://www.eetimes.com/what-the-dram-crunch-teaches-us-about-system-design/
36•giuliomagnifico•1d ago•3 comments

Claude.ai and API unavailable [fixed]

https://status.claude.com/incidents/2gf1jpyty350
92•rob•1h ago•78 comments

I benchmarked Claude Code's caveman plugin against "be brief."

https://www.maxtaylor.me/articles/i-benchmarked-caveman-against-two-words
68•max-t-dev•5h ago•43 comments

Gooseworks (YC W23) Is Hiring a Founding Growth Engineer

https://www.ycombinator.com/companies/gooseworks/jobs/ztgY6bD-founding-growth-engineer
1•shivsak•4h ago

An open-source stethoscope that costs between $2.5 and $5 to produce

https://github.com/GliaX/Stethoscope
209•0x54MUR41•11h ago•81 comments

Ramp's Sheets AI Exfiltrates Financials

https://www.promptarmor.com/resources/ramps-sheets-ai-exfiltrates-financials
111•takira•8h ago•34 comments

We need a federation of forges

https://blog.tangled.org/federation/
524•icy•12h ago•332 comments

Creating a Color Palette from an Image

https://amandahinton.com/blog/creating-a-color-palette-from-an-image
5•evakhoury•1d ago•0 comments

A Grounded Conceptual Model for Ownership Types in Rust

https://cacm.acm.org/research-highlights/a-grounded-conceptual-model-for-ownership-types-in-rust/
5•tkhattra•51m ago•0 comments

Kyoto cherry blossoms now bloom earlier than at any point in 1,200 years

https://jivx.com/kyoto-bloom
259•momentmaker•7h ago•72 comments

Postgres's lateral joins allow for quite the good eDSL

https://bensimms.moe/postgres-lateral-makes-quite-a-good-dsl/
64•nitros•2d ago•10 comments

The Lingua Franca of LaTeX (2019)

https://increment.com/open-source/the-lingua-franca-of-latex/
15•ripe•1d ago•3 comments

Mike: open-source legal AI

https://mikeoss.com/
11•noleary•1h ago•0 comments

Online age verification is the hill to die on

https://x.com/GlennMeder/status/2049088498163216560
786•Cider9986•10h ago•493 comments

How to Build the Future: Demis Hassabis [video]

https://www.youtube.com/watch?v=JNyuX1zoOgU
92•sandslash•12h ago•47 comments

I accidentally made law enforcement shut down their fake honeypot

https://lina.sh/blog/ddos-honeypot
64•fishgoesblub•5h ago•21 comments

Ghostty is leaving GitHub

https://mitchellh.com/writing/ghostty-leaving-github
3361•WadeGrimridge•1d ago•1001 comments

Virtualisation on Apple Silicon Macs is different

https://eclecticlight.co/2026/04/29/virtualisation-on-apple-silicon-macs-is-different/
78•zdw•9h ago•21 comments