John Shaft on Nostr: I can't write C, rust or whatever but I know a little Python so I wrote the ...
I can't write C, rust or whatever but I know a little Python so I wrote the definitive random number generator and release it in the public domain :
>>> def superRNG() -> int:
... p = random.randint(0, pow(2,256)-1)
... return 4
Published at
2026-10-20 20:06:10 UTCEvent JSON
{
"id": "3f6e8374b0ac0a44ed0b3bb01f09727fa1eec052eedd5c6619a1ad73159e5fea",
"pubkey": "5b0096341bf4dd917eb745347e99d6fec3536ee1a9fbecd4be73fb5666778fc1",
"created_at": 1792526770,
"kind": 1,
"tags": [
[
"proxy",
"https://piaille.fr/users/shaft/statuses/117475034439341570",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub"
]
],
"content": "I can't write C, rust or whatever but I know a little Python so I wrote the definitive random number generator and release it in the public domain :\n\n\u003e\u003e\u003e def superRNG() -\u003e int:\n... p = random.randint(0, pow(2,256)-1)\n... return 4",
"sig": "72165888155237d8ded2c357f55921507e31733a27b356cce60cd75e088e042f0c849f676fc7d0dd8b58be700f52acd038f96ef0c5286c0e9222afe291c4cabd"
}