Discussion
Loading...

#Tag

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
𝕂𝚞𝚋𝚒𝚔ℙ𝚒𝚡𝚎𝚕
@kubikpixel@chaos.social  ·  activity timestamp last week

»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
@chrastecky@phpc.social  ·  activity timestamp 3 weeks 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
@chrastecky@phpc.social  ·  activity timestamp 3 weeks 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@framapiaf.org  ·  activity timestamp 3 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 #UUIDs. No more unambiguousness, no more #trademark issues.)

  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login