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?

Show HN: 18 Words

https://18words.com/
492•pompomsheep•3h ago•196 comments

EU Parliament greenlights Chat Control 1.0

https://www.patrick-breyer.de/en/eu-parliament-greenlights-chat-control-1-0-breyer-our-children-l...
464•rapnie•5h ago•255 comments

No leap second will be introduced at the end of December 2026

https://datacenter.iers.org/data/latestVersion/bulletinC.txt
124•ChrisArchitect•2h ago•96 comments

Hy3

https://hy.tencent.com/research/hy3
71•andai•1h ago•28 comments

A possible future for Damn Interesting

https://www.damninteresting.com/a-possible-future/
40•mzur•1h ago•1 comments

TLS certificates for internal services done right

https://tuxnet.dev/posts/tls-for-internal-services/
43•mrl5•1h ago•25 comments

Launch HN: Context.dev (YC S26) – API to get structured data from any website

https://www.context.dev
23•TheYahiaBakour•1h ago•24 comments

Opinionated and Easy Pi.dev Configuration

https://lazypi.org/
32•lwhsiao•1h ago•16 comments

The glass backbone: Why the Army's logistics will break in the next war

https://mwi.westpoint.edu/the-glass-backbone-why-the-armys-logistics-will-break-in-the-next-war/
105•baud147258•3h ago•111 comments

AI content is everywhere on social media, especially LinkedIn

https://www.pangram.com/blog/ai-in-your-feed
74•mukmuk•57m ago•53 comments

Show HN: Analog Watch

https://analog.watch
46•ezekg•2h ago•41 comments

How to Write an Email

https://blog.dannycastonguay.com/how-to-write-an-email/
23•speckx•1h ago•7 comments

What is Bending Spoons? The little-known AOL and Vimeo owner that's now public

https://techcrunch.com/2026/07/05/what-is-bending-spoons-everything-to-know-about-aols-acquirer/
22•jack1689•3d ago•30 comments

Meta reuses old RAM in new servers with custom bridge chip

https://www.networkworld.com/article/4192827/meta-reuses-old-ram-in-new-servers-with-custom-bridg...
224•ihsw•5d ago•146 comments

PostHog Open Sourced

https://github.com/PostHog/posthog-foss
75•thatxliner•2h ago•55 comments

TrueBiz (YC S22) – Senior Software Engineer – Remote (US) – Full-Time

1•dannyhak•4h ago

New open access book on history of computers and politics

https://mitpress.mit.edu/9780262053198/simpolitics/
24•mckelveyf•2h ago•2 comments

Coordination Without Consolidation: On Systems of States [pdf]

https://isonomiaquarterly.com/wp-content/uploads/2026/06/iq-4.2-summer-2026-macdonald-coordinatio...
10•brandonlc•1h ago•1 comments

Introducing Muse Spark 1.1

https://ai.meta.com/blog/introducing-muse-spark-meta-model-api/?_fb_noscript=1
163•ot•2h ago•107 comments

Show HN: Reverse-engineering web apps into agent tools

8•pancomplex•1h ago•1 comments

What's slowing down the AI buildout

https://www.worksinprogress.news/p/ai-is-bottlenecked-by-the-grid
30•droidjj•13h ago•59 comments

Girls Just Wanna Have Fast MPMC Queues with Bounded Waiting

https://nahla.dev/blog/waitfree_queue/
8•EvgeniyZh•2d ago•0 comments

Spider venom kills varroa mites without harming honeybees

https://connectsci.au/news/news-parent/9703/Spider-venom-kills-varroa-mites-without-harming
243•Jedd•11h ago•103 comments

AI changes the economics of software rewrites

https://thetruthasiseeitnow.com/ai-slop-starts-with-the-codebase-itself/
44•cinooo•11h ago•59 comments

US seeks cheaper hunter-killer drones after Iran destroys $1B worth of Reapers

https://arstechnica.com/gadgets/2026/07/us-seeks-cheaper-hunter-killer-drones-after-iran-destroys...
157•rbanffy•3h ago•203 comments

Why we're moving off Cloudflare Durable Objects

https://usewire.io/engineering/why-were-moving-wire-off-cloudflare-durable-objects/
16•jitpal•2h ago•4 comments

Maxwell's Equations Were Discovered [video]

https://www.youtube.com/watch?v=-hua8RWopfw
24•surprisetalk•2h ago•9 comments

Auditory and spontaneous movement responses to music over first postnatal year

https://elifesciences.org/articles/107088
4•bookofjoe•47m ago•1 comments

A Road to Lisp: Why Lisp

https://scotto.me/blog/2026-07-09-why-lisp/
29•silcoon•3h ago•18 comments

Show HN: FableCut – A browser video editor AI agents can drive (zero deps)

https://github.com/ronak-create/FableCut
73•ronak_parmar•3h ago•45 comments