frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

9 Ads per Minute: FIFA Cup 26 – "the price of the beautiful game"

https://www.bristol.ac.uk/news/2026/september/world-cup-viewers.html
15•KellyCriterion•24m ago•6 comments

AMD's random number generator can't generate a 0?

https://board.flatassembler.net/topic.php?t=24261
72•BruceEel•2h ago•20 comments

Can gzip be a language model?

https://nathan.rs/posts/gzip-lm/
165•networked•4h ago•70 comments

MiMo v2.6

https://mimo.xiaomi.com/mimo-v2-6
923•volf_•14h ago•413 comments

Spymarks, Not Watermarks

https://brand.io/article/spymarks/
462•possibilistic•11h ago•117 comments

I said no and Apple said yes

https://dbushell.com/2026/09/22/apple-intelligence/
229•thatslast•2h ago•145 comments

Transformers Explained Visually

https://poloclub.github.io/transformer-explainer/
433•aray07•15h ago•66 comments

Attention is all you have

https://alicegg.tech/2026/09/21/attention
829•zer0tonin•20h ago•247 comments

What Sun got wrong

https://bcantrill.dtrace.org/2026/09/20/what-sun-got-wrong/
597•chmaynard•20h ago•346 comments

MiMo-v2.6-Pro: Intelligence, Performance and Price Analysis

https://artificialanalysis.ai/models/mimo-v2-6-pro
79•theanonymousone•6h ago•25 comments

Verda (Finland) raises $189M in Series B

https://verda.com/blog/what-189m-in-funding-unlocks-for-verda-customers
6•cmrdporcupine•1h ago•2 comments

I don't want to read what you didn't write

https://blog.colinbreck.com/i-dont-want-to-read-what-you-didnt-write/
714•mooreds•12h ago•293 comments

AI coding has made CI a bottleneck, so we reworked ours to keep up

https://linear.app/now/ci-bottleneck-reworked
249•julian_digital•15h ago•281 comments

JavaFX 27 Native Image on a Raspberry Pi 5

https://ennerf.github.io/2026/09/18/JavaFX-27-Native-Image-on-a-Raspberry-Pi-5.html
10•0x54MUR41•2d ago•0 comments

A font that reads what you wrote

https://rohanadwankar.github.io/posts/semfont.html
13•RohanAdwankar•2d ago•11 comments

Divide by depth for instant 3D

https://gabrieloc.com/2026/09/15/perspective.html
162•gabrieloc•2d ago•30 comments

NASA’s Mars Sample Return mission is dead

https://www.science.org/content/article/nasa-s-mars-sample-return-mission-dead
394•Muhammad523•15h ago•333 comments

Looking forward to Git 2.56 – and 3.0

https://lwn.net/SubscriberLink/1094575/2385e98583715c2b/
137•chmaynard•11h ago•62 comments

Engineering Memory: On learning to memorize first 100 digits of pi (2024)

https://gregorygundersen.com/blog/2024/12/21/engineering-memory/
19•fuzzythinker•1d ago•11 comments

World Wide Words

https://www.worldwidewords.org/genindex.html
20•Petiver•2d ago•1 comments

Claude Status – Elevated errors for multiple models

https://status.claude.com/incidents/7g1qpkyz5gxh
117•corvad•9h ago•85 comments

The Advisory Group on Mathematics and Artificial Intelligence

https://terrytao.wordpress.com/2026/09/21/advisory-group-on-mathematics-and-artificial-intelligence/
144•digital55•15h ago•67 comments

Used ThinkPad Buyer's Guide (2019)

https://www.bobble.tech/free-stuff/used-thinkpad-buyers-guide
27•Mr_Minderbinder•6h ago•15 comments

What It's Like to Work in One of America's Data Centers

https://www.wsj.com/business/what-its-like-to-work-in-one-of-americas-data-centers-b4358003
13•JumpCrisscross•1d ago•5 comments

Study: Young users (9 to 18Y) ditch Google for AI, with unknown consequences

https://norwegianscitechnews.com/2026/09/young-users-ditch-google-for-ai-with-unknown-consequences/
47•giuliomagnifico•1h ago•69 comments

PDF Forgeries Are Surprisingly Rare (2022)

https://gwern.net/blog/2022/pdf-forgery
46•1317•2d ago•38 comments

Socrates vs. the Written Word (2011)

https://wondermark.com/socrates-vs-writing/
47•spectraldrift•10h ago•25 comments

Python Workers are now generally available

https://blog.cloudflare.com/python-workers-ga/
232•torutofu•21h ago•38 comments

HERMES radio enables voice and data communication over vast distances

https://spectrum.ieee.org/hermes-shortwave-radio-digital-data
145•SamuraiLion•18h ago•61 comments

How do traffic signals work? (2019)

https://practical.engineering/blog/2019/5/11/how-do-traffic-signals-work
88•at1as•18h ago•63 comments
Open in hackernews

AMD's random number generator can't generate a 0?

https://board.flatassembler.net/topic.php?t=24261
71•BruceEel•2h ago

Comments

CodesInChaos•43m ago
Embarrassing, but probably little practical impact, since these hardware random numbers are typically not used directly and instead seed a CSPRNG.
ZiiS•41m ago
It is just possible they decided crypto code that uses it was safer to skip zeros. (Whist mathematically it should be no more likely; it is vastly more likely someone will actually try that key).

It is also possible that their code was generating too many zeros and the easiest fix was to discard them all.

dark-star•33m ago
this is not how crypto works
jstanley•3m ago
Can you clarify what you mean by "it is vastly more likely someone will actually try that key"?

I'm guessing you don't think there are people calling rdrand in a loop and throwing away the output with high probability except when it is 0, but I can't see how else you imagine people would be vastly more likely to use the output when it is 0?

ExoticPearTree•38m ago
The probability of generating a zero is incredibly low if you use the normal distribution curve.

So it is not necessarily that it doesn't generate zero, they did not run enough times to increase the probability of actually generating a zero.

matja•36m ago
Why would it be a normal distribution?
throawayonthe•13m ago
should be a discrete uniform distribution right?
blensor•32m ago
From what I can see they were trying to generate 16bit integers, so the probability is 1 in 65536 and they were running the test for 11 hours.

You definitely would expect a roughly equal number of 0s as any other of those numbers since it's uniformly distributed. And definitely not 0

zygentoma•29m ago
This also seems to happen for 16 and 32 bit numbers, so you should be able to see zeros easily.

They also write:

> Running the same programs on an Intel processor, and the 0's are there with no problem.

matja•37m ago
I'm getting 16-bit zeros on my Zen 3 chip (+1:3821, 0:3893, -1:3895), I will wait to get some statistically significant samples for the 32-bit values and update the forum thread. Maybe it was fixed after Zen 2?
jstanley•32m ago
This is not the first RNG bug on Zen 2, I recall after I first got mine that some application or other would quit immediately at startup because rdrand always returned -1, i.e. all 1s. It was fixed with a microcode update.

Do we now learn that they fixed "always generate all 1s" with "never generate all 0s"??

EDIT: I've been unable to reproduce the problem on my CPU, FWIW. It's a Ryzen 5 3600.

EDIT2: OK, update, I can reproduce it with rdrand16, rdrand32 is fine but rdrand16 can never generate all 0s. So my CPU does have this problem!

yk•25m ago

    return 4 # Determined by fair dice roll.
Gander5739•17m ago
https://xkcd.com/221/ for those not in the know
lathiat•11m ago
And for the full fail story behind it, fail0verflow hacking the PS3 presentation is great and covers the bug: https://youtu.be/DUGGJpn2_zY

Most of the console hacking talks are great, both informative and entertaining.

Betelbuddy•11m ago
https://i.imgur.com/bwFWMqQ.png
dark-star•31m ago
Usually you do "rdrand % <some-number>" anyways, and in that case you will still get zeroes. True, your result might be skewed by 1/(maxint/some-number) but I guess that's not a big problem in practice
20k•7m ago
I always wonder how hardware bugs like this happen with the sheer amount of hardware validation that's done. It'd be fascinating to know how it slipped through the cracks, though I know almost nothing about this side of the industry sadly
throwawayffffas•5m ago
So what? The point is to be non predictable not to pick all the numbers in the range with exactly the same probability. Would it be a problem if it never generated 16542?
RandomOnyx•2m ago
Does rdrand32 and then taking the lowest 16 bits of its result yield any zeroes?

Basically I'm wondering if it's a bug in the version of the instruction that writes to a 16-bit reg, or a bug in the underlying RNG