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?

How OpenAI delivers low-latency voice AI at scale

https://openai.com/index/delivering-low-latency-voice-ai-at-scale/
191•Sean-Der•3h ago•84 comments

I am worried about Bun

https://wwj.dev/posts/i-am-worried-about-bun/
353•remote-dev•6h ago•248 comments

Talking to strangers at the gym

https://thienantran.com/talking-to-35-strangers-at-the-gym/
1051•thitran•11h ago•510 comments

Securing a DoD contractor: Finding a multi-tenant authorization vulnerability

https://www.strix.ai/blog/how-strix-found-zero-auth-vulnerability-dod-backed-startup
150•bearsyankees•5h ago•69 comments

Pulitzer Prize Winners 2026

https://www.pulitzer.org/prize-winners-by-year/2026
41•brightbeige•2h ago•13 comments

GameStop makes $55.5B takeover offer for eBay

https://www.bbc.co.uk/news/articles/cn0p8yled1do
618•n1b0m•14h ago•583 comments

Testing macOS on the Apple Network Server 2.0 ROMs

http://oldvcr.blogspot.com/2026/05/testing-macos-on-apple-network-server.html
27•zdw•1d ago•5 comments

Does Employment Slow Cognitive Decline? Evidence from Labor Market Shocks

https://www.nber.org/papers/w35117
179•littlexsparkee•8h ago•165 comments

Microsoft Edge stores all passwords in memory in clear text, even when unused

https://twitter.com/L1v1ng0ffTh3L4N/status/2051308329880719730
341•cft•5h ago•137 comments

Redis array: short story of a long development process

https://antirez.com/news/164
208•antirez•9h ago•77 comments

Formatting a 25M-line codebase overnight

https://stripe.dev/blog/formatting-an-entire-25-million-line-codebase-overnight-the-rubyfmt-story
95•r00k•3h ago•51 comments

Let's talk about LLMs

https://www.b-list.org/weblog/2026/apr/09/llms/
115•cdrnsf•6h ago•78 comments

Agent Skills

https://addyosmani.com/blog/agent-skills/
30•BOOSTERHIDROGEN•1h ago•3 comments

UK Fuel Price Intelligence – Market analytics from reporting stations

https://www.fuelinsight.co.uk
152•theazureguy•8h ago•72 comments

1966 Ford Mustang Converted into a Tesla with Working 'Full Self-Driving'

https://electrek.co/2026/05/02/tesla-1966-mustang-ev-conversion-full-self-driving/
99•Brajeshwar•8h ago•79 comments

US healthcare marketplaces shared citizenship and race data with ad tech giants

https://techcrunch.com/2026/05/04/us-healthcare-marketplaces-shared-citizenship-and-race-data-wit...
382•ZeidJ•6h ago•129 comments

Jonathan Swift's Last Joke

https://www.newyorker.com/culture/the-weekend-essay/jonathan-swifts-last-joke
7•samizdis•2d ago•0 comments

How Monero’s proof of work works

https://blog.alcazarsec.com/tech/posts/how-moneros-proof-of-work-works
221•alcazar•9h ago•173 comments

Pomiferous: The most extensive apples (pommes) database

https://pomiferous.com/
94•Ariarule•8h ago•42 comments

Sierra Raises $950M at $15B Valuation

https://sierra.ai/blog/better-customer-experiences-built-on-sierra
77•doppp•7h ago•99 comments

Stop big tech from making users behave in ways they don't want to

https://economist.com/by-invitation/2026/04/29/stop-big-tech-from-making-users-behave-in-ways-the...
196•andsoitis•6h ago•138 comments

Show HN: nfsdiag – A NFS diagnostic application

https://github.com/lsferreira42/nfsdiag
33•lsferreira42•2d ago•3 comments

Heat pump sales rise across Europe

https://www.pv-magazine.com/2026/05/04/heat-pump-sales-rise-17-across-europe-in-q1-as-energy-pric...
193•doener•5h ago•107 comments

Transformers Are Inherently Succinct

https://arxiv.org/abs/2510.19315
16•bearseascape•3h ago•5 comments

'Point of no return': New Orleans relocation must start now due to sea level

https://www.theguardian.com/us-news/2026/may/04/new-orleans-sea-levels-relocation-climate-crisis
45•dmm•2h ago•23 comments

The Visible Zorker: Zork 3

https://eblong.com/infocom/visi/zork3/
38•zarlez•6h ago•2 comments

A little comparison between R and Kap

https://blog.dhsdevelopments.com/a-little-comparison-between-r-and-kap
15•tosh•2d ago•1 comments

Newton's law of gravity passes its biggest test

https://www.science.org/content/article/newton-s-law-gravity-passes-its-biggest-test-ever
128•pseudolus•10h ago•115 comments

“Kitten Space Agency”, a Spiritual Successor to “Kerbal Space Program” (2025)

https://www.space.com/entertainment/space-games/kitten-space-agency-is-the-spiritual-successor-to...
133•Tomte•5h ago•43 comments

Offenders sentenced up to 10 years for spying on TSMC

https://www.taipeitimes.com/News/front/archives/2026/04/28/2003856358
105•ironyman•5h ago•16 comments