Better HN
topnewbestaskshowjobs
Log inSign up

adrae5df

34 karma · joined Nov 19, 2015 (11y ago) · 16 submissions

Submissions

comment 11y ago · link · parent

My argument was that you cannot clean that specific hardware like you clean your table and cutlery. It is simply not convenient.

I don't see how you can wash a laptop under any circumstance, apart from a complete disassembly.

comment 11y ago · link · parent

Mouses, keyboards, laptops, mobile phones, pads, all belong on a table. As we used to read in paper format, during a meal, we now use them. Rather than removing them, instead make them easier to clean. Not that food is the only source of dirt and bacteria, they get extra dirty because we spend the most time in contact with them. I would love to wash my keyboard, mouse, and pad, in a sink.

comment 11y ago · link · parent

I found an approximation (x^2/2m) and got the result that is on the same magnitude as 1 in a billion.

comment 11y ago · link · parent

I was just researching PCG, and I didn't find anything relevant apart from the the author's paper and website. I was trying to find out if it has been peer reviewed since its release last year. I'm really curious, how did you check if this paper was peer reviewed?

comment 11y ago · link · parent

The only information on PCG I can find is the author's own paper which also fails some TestU01 tests. I am much more inclined to trust an established generator than an unproved one.

comment 11y ago · link · parent

The entire TestU01? Wow, I did not know that.

comment 11y ago · link · parent

Can you name those rudimentary statistical tests that Mersenne Twister fails. I would like to test them out, since I regularly use MT. Thank you.

comment 11y ago · link · parent

Can someone explain how the following calculation was done?

With 2¹³² possible values, if identifiers were randomly generated at the rate of one million per second for the next 300 years the chance of a collision would be roughly 1 in six billion.

I tries using the formula for the Birthday problem, but the values are too large.

comment 11y ago · link · parent

You are making the appeal to common practice fallacy. Even if human death (or sacrifice) is a common occurrence, it does not make it acceptable.

comment 11y ago · link · parent

So I visit the website, click on the link some of the best examples of fair use on YouTube, and land on this: https://i.imgur.com/ygLwM6S.jpg

Priceless.

comment 11y ago · link · parent

Believe it or not its a weird palindrome for me: 65059

comment 11y ago · link · parent

So at what input value does it overflow the stack on your machine?

comment 11y ago · link · parent

Second expression in the for loop and ||, both behave as conditionals, i.e. are equivalent to an if statement and the generated instruction will be a branch.

At least it would in C. Of course I'm ignoring the fact that JS is interpreted as will cause a lot of additional bloat, but were not counting that.

comment 11y ago · link · parent

|| is a conditional.

Is first expression true? If it isn't evaluate the second expression.

comment 11y ago · link · parent

There are two conditionals in that code.