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?

GPT‑6.2 Astra and Sol

https://openai.com/index/introducing-gpt-6-2-astra-sol/
698•jasondavies•2h ago•418 comments

Apple Services Down

https://developer.apple.com/system-status/
392•willy_k•2h ago•220 comments

MAI Code 2 and Code 2 Flash

https://microsoft.ai/news/introducing-mai-code-2-and-mai-code-2-flash/
123•lemonish97•1h ago•57 comments

jQuery 4.1.0

https://github.com/jquery/jquery/releases/tag/4.1.0
30•petecooper•24m ago•17 comments

350 years ago, this man discovered that light has a finite speed

https://www.sciencenorway.no/culture-history-history-of-science/350-years-ago-this-man-discovered...
46•dxs•49m ago•4 comments

Phrack 73 Released

https://phrack.org/issues/73/introduction_md
79•notmine1337•1h ago•3 comments

Israel vs. Wikipedia

https://techforpalestine.org/wikipedia-report
31•srvo•5m ago•0 comments

Solid 2.0

https://www.solidjs.com/blog/solid-2-0-the-long-hold/
68•pier25•1h ago•18 comments

What is the best harness for each model?

https://runta.com/blog/introducing-frontierharness-eval-v1-1/
269•Edward40•5h ago•97 comments

Web Browser Engineering

https://browser.engineering/
7•ibobev•13m ago•0 comments

Launch HN: StarSling (YC P25) – Self-improving CI for agent-volume repos

https://starsling.dev
22•yonasb•1h ago•5 comments

YC wrote software to run our internship expo – and an 8-bit SIM to show it off

1•ryankicks•3h ago

Who Builds the Machines That Build the Machines?

https://read.corematter.com/p/section-232-us-machine-tools
44•gmays•2h ago•6 comments

Purism Launches Librem 5 v2, a RISC-V Phone to Empower People

https://puri.sm/posts/purism-launches-librem-5-v2-a-risc-v-phone-to-empower-people/
30•gnufx•1h ago•24 comments

Show HN: Alloy CSS, dialogs, menus and tabs that work with JavaScript off

https://alloyhtml.com/example.html
142•prafandy•5h ago•23 comments

New Evidence Shows School Phone Bans Are Gradually Improving Test Scores

https://www.nytimes.com/2026/11/17/upshot/school-phone-bans-study-scores.html
1009•donohoe•8h ago•500 comments

Israel Is Attacking Wikipedia

https://techforpalestine.org/wikipedia-report-2026
8•pauldelany•3m ago•1 comments

NSA Internal Network Down

https://www.reuters.com/technology/highly-classified-us-national-security-communications-network-...
310•nodoodles•4h ago•179 comments

Mouse Party

https://aboard.com/lets-have-a-mouse-party/
10•bookofjoe•3d ago•0 comments

How the Claude Code team thinks about verification

https://claude.dev/blog/how-the-claude-code-team-thinks-about-verification/
210•craigmart•9h ago•162 comments

First Photos of the Poles of a Rod-Shaped Bacterium

https://nautil.us/check-out-the-first-photos-of-the-poles-of-a-rod-shaped-bacterium-1286664
94•dustfinger•1d ago•20 comments

Advancing computer-use agents for healthcare teams

https://openai.com/index/advancing-computer-use-for-healthcare-teams/
14•gmays•1h ago•8 comments

Nvidia stopped disclosing Singapore sales as revenues hit $104B

https://www.ft.com/content/dbde7a30-548c-4f9d-a4be-7898a0c24dcf
131•louiereederson•3h ago•66 comments

Elephant-Goldfish Model

https://egm.dev/
43•_tk_•1d ago•18 comments

Optimizely compromised, served malware on Zoom, GitLab

https://blog.report-uri.com/worlds-largest-brands-infected-with-malware-via-optimizely/
642•kristjansson•21h ago•254 comments

VisualBasic.World: A gallery of Planet Source Code programs from 1997 to 2012

https://visualbasic.world/
191•broast•1d ago•73 comments

Exploiting Replay Protected Monotonic Counters to Brute-Force Windows Hello PINs

https://arxiv.org/abs/2611.18126
37•cwerling•1d ago•3 comments

iCloud, App Store, and other Apple services hit by ongoing outage

https://9to5mac.com/2026/11/17/icloud-app-store-and-other-apple-services-hit-by-ongoing-outage/
60•srameshc•2h ago•22 comments

Show HN: TrnRT – An open-source LLM inference engine for AWS Trainium

https://github.com/RunanywhereAI/trnrt
27•sanchitmonga22•4h ago•5 comments

Carnegie Mellon is putting computer science courses on YouTube for free

https://www.cs.cmu.edu/learn/
2217•pcompeau•23h ago•299 comments