Live data from Hacker News

Google +1 tracks mouse movements?

stackoverflow.com

1–10 of 29 posts

Re: Google +1 tracks mouse movements?

#6

cute, but surely there are less intensive ways of generating random numbers?

I've always been a fan of using electronic noise. It's not complicated to build a device which does this. Weekend project to "hello world" scale if you're not too picky about specifics.

Easiest way is probably with a webcam, which will also give you a pretty good bitrate. The general schema is to read out the bias noise. You do this by blocking out any incoming light to get dark noise + bias noise. Dark noise is an assumed static shift due to CCD characteristics, so read N frames of this and look for the median signal. Subtract that off and you've got the bias, or at least something that's close enough for a weekend project.

Better version, start reading up on the math of noise sources in whatever device you want to use for a sensor. Also do an analysis of N samples to see how close the result comes to the expectation value given the type of noise involved and what deviation is expected at N samples.

Re: Google +1 tracks mouse movements?

#7
post #3

According to the link, this is being used as a source of entropy to generate random numbers. Fascinating.

Seems pretty reasonable to expect it to be this code from the apache shindig library:

http://svn.apache.org/repos/asf/shindig/trunk/features/src/m...

From the file: This code implements a safer random() method that is seeded from screen width/height and (presumably random/unguessable) mouse movement, in an effort to create a better seed for random().

Its aim is to solve the problem of gadgets that are relying on secret RPC tokens to validate identity.

Re: Google +1 tracks mouse movements?

#8
post #6

cute, but surely there are less intensive ways of generating random numbers?

I've always been a fan of using electronic noise. It's not complicated to build a device which does this. Weekend project to "hello world" scale if you're not too picky about specifics. Easiest way is probably with a webcam, which will also give you a pretty good bitrate. The general schema is to read out the bias noise. You do this by blocking out any incoming light to get dark noise + bias noise. Dark noise is an a…

There's no way to deploy this over the web, unless you use Flash to acquire their webcam video or audio.

Re: Google +1 tracks mouse movements?

#10
post #8
post #6

Earlier quoted context omitted.

I've always been a fan of using electronic noise. It's not complicated to build a device which does this. Weekend project to "hello world" scale if you're not too picky about specifics. Easiest way is probably with a webcam, which will also give you a pretty good bitrate. The general schema is to read out the bias noise. You do this by blocking out any incoming light to get dark noise + bias noise. Dark noise is an a…

There's no way to deploy this over the web, unless you use Flash to acquire their webcam video or audio.

[deleted]
Post reply on HN