frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

https://jfmengels.net/compiler-reminders/
38•jfmengels1•10mo ago

Comments

JonChesterfield•10mo 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•10mo 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•10mo ago
That is a feature. Compose instead of extending.
Yoric•10mo ago
OCaml has extensible sum types. They work very nicely for some ranges of problems.
swiftcoder•10mo ago
Elm <-> Rust

Best buds on this front

gitroom•10mo ago
Tbh, missing those checks in other languages bugs me so much - it's like why leave me hanging?

Motorola announces a partnership with GrapheneOS Foundation

https://motorolanews.com/motorola-three-new-b2b-solutions-at-mwc-2026/
696•km•4h ago•247 comments

/e/OS is a complete "deGoogled", mobile ecosystem

https://e.foundation/e-os/
142•doener•2h ago•90 comments

Making Video Games in 2025 (without an engine)

https://www.noelberry.ca/posts/making_games_in_2025/
168•alvivar•3d ago•67 comments

Show HN: Omni – Open-source workplace search and chat, built on Postgres

https://github.com/getomnico/omni
45•prvnsmpth•2h ago•10 comments

How to talk to anyone and why you should

https://www.theguardian.com/lifeandstyle/2026/feb/24/stranger-secret-how-to-talk-to-anyone-why-yo...
94•Looky1173•3h ago•300 comments

U.S. science agency moves to restrict foreign scientists from its labs

https://www.science.org/content/article/nist-moves-restrict-foreign-scientists-its-labs
21•JeanKage•2h ago•1 comments

Jolla phone – a full-stack European alternative

https://commerce.jolla.com/products/jolla-phone-sept-26
65•spinningslate•1h ago•34 comments

If AI writes code, should the session be part of the commit?

https://github.com/mandel-macaque/memento
283•mandel_x•11h ago•259 comments

Neocaml – Rubocop Creator's New OCaml Mode for Emacs

https://github.com/bbatsov/neocaml
26•TheWiggles•2d ago•1 comments

Mondrian Entered the Public Domain. The Estate Disagrees

https://copyrightlately.com/mondrian-public-domain-controversy/
42•Tomte•2d ago•2 comments

Computer-generated dream world: Virtual reality for a 286 processor

https://deadlime.hu/en/2026/02/22/computer-generated-dream-world/
111•MBCook•7h ago•15 comments

WebMCP is available for early preview

https://developer.chrome.com/blog/webmcp-epp
304•andsoitis•13h ago•171 comments

How to record and retrieve anything you've ever had to look up twice

https://ellanew.com/2026/03/02/ptpl-197-record-retrieve-from-a-personal-knowledgebase
71•Curiositry•7h ago•27 comments

Right-sizes LLM models to your system's RAM, CPU, and GPU

https://github.com/AlexsJones/llmfit
162•bilsbie•12h ago•34 comments

An interactive intro to Elliptic Curve Cryptography

https://growingswe.com/blog/elliptic-curve-cryptography
44•vismit2000•5h ago•9 comments

Show HN: Timber – Ollama for classical ML models, 336x faster than Python

https://github.com/kossisoroyce/timber
136•kossisoroyce•10h ago•27 comments

Process-Based Concurrency: Why Beam and OTP Keep Being Right

https://variantsystems.io/blog/beam-otp-process-concurrency
44•linkdd•6h ago•27 comments

Ghostty – Terminal Emulator

https://ghostty.org/docs
756•oli5679•23h ago•321 comments

Everett shuts down Flock camera network after judge rules footage public record

https://www.wltx.com/article/news/nation-world/281-53d8693e-77a4-42ad-86e4-3426a30d25ae
271•aranaur•7h ago•73 comments

Evolving descriptive text of mental content from human brain activity

https://www.bbc.com/future/article/20260226-how-ai-can-read-your-thoughts
24•ggm•5h ago•19 comments

Enable CORS for Your Blog

https://www.blogsareback.com/guides/enable-cors
47•cdrnsf•2d ago•22 comments

Tove Jansson's criticized illustrations of The Hobbit (2023)

https://tovejansson.com/hobbit-tolkien/
180•abelanger•2d ago•87 comments

Microsoft bans the word "Microslop" on its Discord, then locks the server

https://www.windowslatest.com/2026/03/02/microsoft-gets-tired-of-microslop-bans-the-word-on-its-d...
18•robtherobber•1h ago•4 comments

Decision trees – the unreasonable power of nested decision rules

https://mlu-explain.github.io/decision-tree/
495•mschnell•1d ago•77 comments

Why does C have the best file API

https://maurycyz.com/misc/c_files/
122•maurycyz•16h ago•99 comments

Little Free Library

https://littlefreelibrary.org/
126•TigerUniversity•13h ago•66 comments

When does MCP make sense vs CLI?

https://ejholmes.github.io/2026/02/28/mcp-is-dead-long-live-the-cli.html
389•ejholmes•18h ago•250 comments

Microgpt explained interactively

https://growingswe.com/blog/microgpt
278•growingswe•1d ago•41 comments

Next-gen spacecraft are overwhelming communication networks

https://atempleton.bearblog.dev/how-next-gen-spacecraft-are-overwhelming-our-communication-networks/
73•korrz•2d ago•25 comments

Long Range E-Bike (2021)

https://jacquesmattheij.com/long-range-ebike/
175•birdculture•3d ago•270 comments