Discussion
Loading...

#Tag

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
π•‚πšžπš‹πš’πš”β„™πš’πš‘πšŽπš•
π•‚πšžπš‹πš’πš”β„™πš’πš‘πšŽπš•
@kubikpixel@chaos.social  Β·  activity timestamp 2 months ago

Β»Math.random() is not so random β€” The Illusion of Randomness in JavaScript:
Don’t Trust Math.random() - Uncovering the Hidden Predictability of Random Numbers.Β«

In some applications random numbers are very useful but not unique and therefore you should consider where to use it. In this regard, there are for example, UUID v4 or Nano ID and the same.

πŸ§‘β€πŸ’» https://vinitshahdeo.substack.com/p/mathrandom-is-not-so-random-the-illusion

#javascript #random #illusion #coding #js #code #nanoid #notunique #unique #dev #webdev #math #donttrust #uuid #uuidv4

Math.random() is not so random: The Illusion of Randomness in JavaScript

Don’t Trust Math.random(): Uncovering the Hidden Predictability of Random Numbers.
  • Copy link
  • Flag this post
  • Block
StΓ©phane Bortzmeyer and 1 other boosted
Dominik
Dominik
@chrastecky@phpc.social  Β·  activity timestamp 3 months ago

I'm not sure, but the code might do something with UUIDs.

#Programming #Golang #UUID

A screenshot from an IDE with the following code:

func Uuid(uuid uuid.UUID) UUID {
	return UUID{UUID: uuid}
}
A screenshot from an IDE with the following code: func Uuid(uuid uuid.UUID) UUID { return UUID{UUID: uuid} }
A screenshot from an IDE with the following code: func Uuid(uuid uuid.UUID) UUID { return UUID{UUID: uuid} }
  • Copy link
  • Flag this post
  • Block
Dominik
Dominik
@chrastecky@phpc.social  Β·  activity timestamp 3 months ago

I'm not sure, but the code might do something with UUIDs.

#Programming #Golang #UUID

A screenshot from an IDE with the following code:

func Uuid(uuid uuid.UUID) UUID {
	return UUID{UUID: uuid}
}
A screenshot from an IDE with the following code: func Uuid(uuid uuid.UUID) UUID { return UUID{UUID: uuid} }
A screenshot from an IDE with the following code: func Uuid(uuid uuid.UUID) UUID { return UUID{UUID: uuid} }
  • Copy link
  • Flag this post
  • Block
Debacle
Debacle
@debacle@framapiaf.org  Β·  activity timestamp 5 months ago
@ge0rg @ifixcoinops @alienghic

XMPP is pronounced 'Κ€Γ¦b.Ι™Κ³ πŸ™‚

To me,
#XMPP is the universal communication protocol, used for #IoT, #WebRTC, gaming, social, and #instantMessaging.
#Jabber is the latter in an open and federated network.
#CiscoJabberβ„’ is a product by Cisco.
Zimpy is many things, but don't look it up in #UrbanDictionary!

(Btw. I fiercely advocate naming #freeSoftware projects, children, cats, companies, everything, after #UUIDο»Ώs. No more unambiguousness, no more #trademark issues.)

  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About Β· Code of conduct Β· Privacy Β· Users Β· Instances
Bonfire social Β· 1.0.1-alpha.41 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct