frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Compiler Reminders

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

Comments

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

Best buds on this front

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

Search tool that only returns content created before ChatGPT's public release

https://tegabrain.com/Slop-Evader
458•dmitrygr•7h ago•159 comments

Self-hosting a Matrix server for 5 years

https://yaky.dev/2025-11-30-self-hosting-matrix/
16•the-anarchist•23m ago•1 comments

Xlibre is a fork of the Xorg Xserver with lots of code cleanups

https://x11libre.net/
22•doener•58m ago•14 comments

Advent of Code 2025

https://adventofcode.com/2025/about
997•vismit2000•22h ago•320 comments

We've Detected Lightning on Mars

https://gizmodo.com/weve-detected-lightning-on-mars-for-the-first-time-2000691996
49•domofutu•4d ago•30 comments

UK Government plans new powers to label dissenting movements as 'subversion'

https://netpol.org/2025/11/28/government-plans-new-powers-to-label-dissenting-movements-as-subver...
17•robtherobber•14m ago•1 comments

DeepSeek releases open-weights math model with IMO gold medal performance

https://huggingface.co/deepseek-ai/DeepSeek-Math-V2
136•victorbuilds•2h ago•40 comments

A Love Letter to FreeBSD

https://www.tara.sh/posts/2025/2025-11-25_freebsd_letter/
328•rbanffy•13h ago•198 comments

Writing a good Claude.md

https://www.humanlayer.dev/blog/writing-a-good-claude-md
548•objcts•17h ago•184 comments

Trifold is a tool to quickly and cheaply host static websites using a CDN

https://www.jpt.sh/projects/trifold/
22•birdculture•1w ago•0 comments

Advent of Sysadmin 2025

https://sadservers.com/advent
241•lazyant•10h ago•65 comments

X210Ai is a new motherboard to upgrade ThinkPad X201/200

https://www.tpart.net/about-x210ai/
102•walterbell•8h ago•37 comments

AWS data centers' water use tied to spike in cancer and miscarriages in Oregon

https://techoreon.com/oregon-data-centers-water-use-nitrates-cancer-miscarriage/
45•ashishgupta2209•1h ago•16 comments

Algorithms for Optimization [pdf]

https://algorithmsbook.com/optimization/files/optimization.pdf
264•Anon84•12h ago•25 comments

N-Body Simulator – Interactive 3 Body Problem and Gravitational Physics

https://trisolarchaos.com/?pr=lagrange&n=3&s=5.0&so=0.01&im=verlet&dt=5.00e-4&rt=1.0e-6&at=1.0e-8...
48•speckx•5d ago•9 comments

Windows drive letters are not limited to A-Z

https://www.ryanliptak.com/blog/windows-drive-letters-are-not-limited-to-a-z/
449•LorenDB•22h ago•230 comments

Google Antigravity just deleted the contents of whole drive

https://old.reddit.com/r/google_antigravity/comments/1p82or6/google_antigravity_just_deleted_the_...
255•tamnd•7h ago•177 comments

Games using anti-cheats and their compatibility with GNU/Linux or Wine/Proton

https://areweanticheatyet.com/
54•doener•4h ago•52 comments

GitHub to Codeberg: my experience

https://eldred.fr/blog/forge-migration/
279•todsacerdoti•19h ago•107 comments

Migrating Dillo from GitHub

https://dillo-browser.org/news/migration-from-github/
364•todsacerdoti•21h ago•189 comments

Whole-body Learning in Creating Mathematical/Architectural Structures [pdf]

https://archive.bridgesmathart.org/2017/bridges2017-523.pdf
4•surprisetalk•6d ago•0 comments

Engineers repurpose a mosquito proboscis to create a 3D printing nozzle

https://techxplore.com/news/2025-11-repurpose-mosquito-proboscis-3d-nozzle.html
50•T-A•4d ago•24 comments

Replacing My Window Manager with Google Chrome

https://foxmoss.com/blog/dote/
61•foxmoss•3d ago•14 comments

SmartTube Compromised

https://www.aftvnews.com/smarttubes-official-apk-was-compromised-with-malware-what-you-should-do-...
86•akersten•6h ago•59 comments

Ly – A lightweight TUI (ncurses-like) display manager for Linux and BSD

https://codeberg.org/fairyglade/ly
58•modinfo•11h ago•5 comments

AI just proved Erdos Problem #124

https://www.erdosproblems.com/forum/thread/124#post-1892
196•nl•1d ago•57 comments

ETH-Zurich: Digital Design and Computer Architecture; 227-0003-10L, Spring, 2025

https://safari.ethz.ch/ddca/spring2025/doku.php?id=start
165•__rito__•18h ago•18 comments

Program-of-Thought Prompting Outperforms Chain-of-Thought by 15% (2022)

https://arxiv.org/abs/2211.12588
115•mkagenius•17h ago•33 comments

1GB Raspberry Pi 5, and memory-driven price rises

https://www.raspberrypi.com/news/1gb-raspberry-pi-5-now-available-at-45-and-memory-driven-price-r...
6•shrx•12m ago•0 comments

Bricklink suspends Marketplace operations in 35 countries

https://jaysbrickblog.com/news/bricklink-suspends-marketplace-operations-in-35-countries/
128•makeitdouble•12h ago•58 comments