You guys had better quit it with all this amazing transparency or it's going to completely ruin every other service for me. Seriously though amazing work and amazing communication.
@lemmy.world
console.time() jots down the current time, if you do that twice and put stuff in the middle you get two times and the difference between them is how long that stuff took to do
console.timeEnd() uses the last execution of console.time() as the starting point to work out how long the stuff took to do
const originalUUID = crypto.randomUUID() generates a Universally Unique IDentifier, which can be thought of as a very large very random number, by use of a pseudorandom number generator
while(stuff) evaluates the stuff for truthiness (1 + 2 = 5 would be false, 50 < 200 would be true, 'my username starts with the letter k' would be true)
it's typically followed by a 'block' of code, that is lines beginning with { and ending with }, but we don't see that here, which means we can read while(stuff) as "keep checking if stuff is true in an endless loop, and only continue to the next line if one of the checks ends up being false"
the stuff here is creating another random UUID, and checking to see if it's the same random number as the first one generated.
functions like this are so incredibly random that chancing upon two executions creating the same number should be practically impossible. staggeringly impossible. If so this code should never complete, as that while check would be endless, never finding a match
the image suggests that one such match was found in about 19 million milliseconds (a bit over 5 hours). this is probably faked, because the absurd unlikelihood of the same number being generated in so much as a single human lifetime, let alone a day, is laughable
the image is faked or something is terribly wrong with their pseudorandom number generator
if someone comes up with an alternative way to use a bunch of that infrastructure to make money, I bet they could get a lot of business when the AI bubble pops and suddenly these datacenters are desperate to find a use for themselves
almost 20 years ago I downloaded off limewire a cover of Toxicity by System of a Down, purely instrumental and listened to it through highschool
the artist listed in the file's metadata was Trans Siberian Orchestra. back around 2005 finding out that they never covered Toxicity was somewhere between challenging and impossible so I accepted it and forgot about it
recently I wanted to re-find that song, maybe on Spotify or YouTube or wherever. only this year did I realize that that artist was never correct, and googling held nothing for me
in one of the vanishingly rare successful uses of a large language model I got ChatGPT to suggest artists from that time that might have covered that song and after a few tries dismissing the most popular artists it spat out Vitamin String Quartet and I get to listen to a higher quality version of the song I first heard around 2005
Ok both groups seem to agree that dark mode is either not bad for your eyes or better. The linked YouTube video isn't some medical board or anything so I wouldn't go by them.
What is even more interesting is the little battle between the AAO and the AOA. One being ophthalmologists and the other optometrists.
The former call themselves medical doctors, and outline both terms providing difference between them for easy access.
The latter, optometrists, call themselves doctors as much as possible in the context of medicine but seem to avoid calling themselves medical doctors because they know they arent. The only mention of ophthalmology on the AOA website seems to be in reference to groups that oppose them, which seems biased.
Like optometrists are trying as hard as possible to be considered medical doctors in as many ways as possible without having gone to medical school. Can't say I care for the AOA or their articles now.
depends on the story you want to tell
regardless, don't forget about the new Into the Spiderverse animated films which, though feature a teenage protagonist, do liberally include an adult Peter Parker and we see some glimpses into their life and struggles
I can only speak from the experience of one app at one company, but data we collected was for troubleshooting. Mainly because customers will email us stuff like "your app doesn't work!!!!! Worst company ever!!" And absolutely no identifying information whatsoever. To make matters worse they'll email with an email that they didn't give us as a customer so how in the world are we supposed to help‽
So we collect enough data so whoever in the company might need to help them can actually do so.
There's a lot of "this app is impossible to use!!!" That we find out with enough data collection is just them refusing to hit the GIANT button in the middle of the damn screen that would solve their problem. I hate users.
I believe we answered questions in the Apple and Google stores that says that we collect information and send it to 3rd parties (because analytics platforms are technically 3rd party) but not to sell it. I don't know if that distinction is clear on the stores though.
thanks for using Leebra!
go to feed...