frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

I Love OCaml

https://mccd.space/posts/ocaml-the-worlds-best/
131•art-w•3h ago•65 comments

Leaving Meta and PyTorch

https://soumith.ch/blog/2025-11-06-leaving-meta-and-pytorch.md.html
573•saikatsg•11h ago•133 comments

My Experience of building Bytebeat player in Zig

https://blog.karanjanthe.me/posts/zig-beat/
32•KMJ-007•3d ago•1 comments

A Fond Farewell

https://www.farmersalmanac.com/fond-farewell-from-farmers-almanac
468•erhuve•14h ago•165 comments

Denmark's government aims to ban access to social media for children under 15

https://apnews.com/article/denmark-social-media-ban-children-7862d2a8cc590b4969c8931a01adc7f4
44•c420•1h ago•13 comments

PyTorch Helion

https://pytorch.org/blog/helion/
92•jarbus•5d ago•21 comments

OpenMW 0.50.0 Released – open-source Morrowind reimplementation

https://openmw.org/2025/openmw-0-50-0-released/
170•agluszak•4h ago•57 comments

Comparison Traits – Understanding Equality and Ordering in Rust

https://itsfoxstudio.substack.com/p/comparison-traits-understanding-equality
29•rpunkfu•5d ago•5 comments

We chose OCaml to write Stategraph

https://stategraph.dev/blog/why-we-chose-ocaml
104•lawnchair•4h ago•88 comments

Meta projected 10% of 2024 revenue came from scams

https://sherwood.news/tech/meta-projected-10-of-2024-revenue-came-from-scams-and-banned-goods-reu...
423•donohoe•5h ago•325 comments

Toxic Salton Sea dust triggers changes in lung microbiome after just one week

https://phys.org/news/2025-10-toxic-salton-sea-triggers-lung.html
17•PaulHoule•57m ago•1 comments

You should write an agent

https://fly.io/blog/everyone-write-an-agent/
912•tabletcorry•21h ago•361 comments

1973 Implementation of Wordle was Published by DEC (2022)

https://troypress.com/1973-implementation-of-wordle-was-published-by-dec/
48•msephton•6d ago•22 comments

From Memorization to Reasoning in the Spectrum of Loss Curvature

https://arxiv.org/abs/2510.24256
34•andy12_•5h ago•13 comments

A.I. and Social Media Contribute to 'Brain Rot'

https://www.nytimes.com/2025/11/06/technology/personaltech/ai-social-media-brain-rot.html
78•pretext•2h ago•70 comments

Two billion email addresses were exposed

https://www.troyhunt.com/2-billion-email-addresses-were-exposed-and-we-indexed-them-all-in-have-i...
565•esnard•21h ago•393 comments

How to Keep Winning

https://amasad.me/keep-winning
6•daviducolo•4d ago•2 comments

Sweep (YC S23) is hiring to build autocomplete for JetBrains

https://www.ycombinator.com/companies/sweep/jobs/8dUn406-founding-engineer-intern
1•williamzeng0•5h ago

Revisiting Interface Segregation in Go

https://rednafi.com/go/interface-segregation/
21•ingve•5d ago•17 comments

3I/ATLAS shows perihelion burst and radial-only non-gravitational acceleration

https://old.reddit.com/r/dataisbeautiful/comments/1oqfau8/3iatlas_shows_perihelion_burst_and_radi...
21•hnthrowaway0315•1h ago•7 comments

Text case changes the size of QR codes

https://www.johndcook.com/blog/2025/10/31/smaller-qr-codes/
122•ibobev•5d ago•37 comments

Show HN: I scraped 3B Goodreads reviews to train a better recommendation model

https://book.sv
521•costco•1d ago•210 comments

Game design is simple

https://www.raphkoster.com/2025/11/03/game-design-is-simple-actually/
437•vrnvu•19h ago•138 comments

The Silent Scientist: When Software Research Fails to Reach Its Audience

https://cacm.acm.org/opinion/the-silent-scientist-when-software-research-fails-to-reach-its-audie...
62•mschnell•6d ago•36 comments

I'm Making a Small RPG and I Need Feeback Regarding Performance

https://jslegenddev.substack.com/p/im-making-a-small-rpg-and-i-need
41•ibobev•3h ago•35 comments

Nasdaq 100 set for worst week since April meltdown

https://fortune.com/2025/11/07/nasdaq-100-worst-week-since-april-bear-market-correction/
17•pera•49m ago•3 comments

Is Software the UFOlogy of Engineering Disciplines?

https://codemanship.wordpress.com/2025/11/07/is-software-the-ufology-of-engineering-disciplines/
76•flail•4h ago•134 comments

Analysis indicates that the universe’s expansion is not accelerating

https://ras.ac.uk/news-and-press/research-highlights/universes-expansion-now-slowing-not-speeding
225•chrka•21h ago•181 comments

From web developer to database developer in 10 years

https://notes.eatonphil.com/2025-02-15-from-web-developer-to-database-developer-in-10-years.html
145•pmbanugo•3d ago•56 comments

Lose weight or lose your jobs, offshore workers told

https://www.bbc.com/news/articles/cx274xp00zxo
8•impish9208•55m ago•6 comments
Open in hackernews

Comparison Traits – Understanding Equality and Ordering in Rust

https://itsfoxstudio.substack.com/p/comparison-traits-understanding-equality
29•rpunkfu•5d ago

Comments

thomasmg•2h ago
I find floating point NaN != NaN quite annoying. But this is not related to Rust: this affects all programming languages that support floating point. All libraries that want to support ordering for floating point need to handle this special case, that is, all sort algorithms, hash table implementation, etc. Maybe it would cause less issues if NaN doesn't exist, or if NaN == NaN. At least, it would be much easier to understand and more consistent with other types.
ramon156•1h ago
I wonder if "any code that would create a NaN would error" would suffice here. I don't think it makes sense when you actually start to implement it, but I do feel like making a NaN error would be helpful. Why would you want to handle an NaN?
thomasmg•44m ago
Well floating point operations never throw an exception, which I kind of like, personally. I would rather go in the opposite direction and change integer division by zero to return MAX / MIN / 0.

But NaN could be defined to be smaller or higher than any other value.

Well, there are multiple NaN. And NaN isn't actually the only weirdness; there's also -0, and we have -0 == 0. I think equality for floating point is anyway weird, so then why not just define -0 < 0.

westurner•33m ago
If you don't handle NaN values, and there are NaNs in the real observations made for example with real sensors that sometimes return NaN and outliers, then the sort order there is indeterminate regardless of whether NaN==NaN; the identity function collides because there isn't enough entropy for there to be partial ordering or total ordering if multiple records have the same key value of NaN.

How should an algorithm specify that it should sort by insertion order instead of memory address order if the sort key is NaN for multiple records?

That's the default in SQL Relational Algebra IIRC?

westurner•31m ago
What is a good sort key for Photons and Phonons? What is a good sort key for H2O water molecules?