Live data from Hacker News

Show HN: Enter a message, delivery at a random time up to 6 months from now

futuremessage.me

31–40 of 56 posts

Re: Show HN: Enter a message, delivery at a random time up to 6 months from now

#31
post #17

As a computer scientist, one wonders what kind of randomness? Is the date picked uniformly at random, or is there a bias involved (for example, a negative bias towards the coming days)?

If I had to design this, I would pick the time according to a power-law curve with closer times being more probable. In fact I would be willing to send ALL my normal emails through such a filter.

Re: Show HN: Enter a message, delivery at a random time up to 6 months from now

#32

That reminds me of something I've been thinking about again and again over the past years. Is there any reliable way to send myself a message that I would receive, say, 40 years from today. So far I haven't been able to come up with a good solution.

Implant the message into your skin with an LED indicator light set to turn on in 40 years. Power the whole thing (timer and light) with a self-winding watch movement. http://en.wikipedia.org/wiki/Automatic_quartz

Re: Show HN: Enter a message, delivery at a random time up to 6 months from now

#33
post #28
post #27

Earlier quoted context omitted.

Just curious...why exactly would you say reseeding adds bias? AFAIK, srand in Perl on Linux uses /dev/urandom, which uses at least some bits from the hardware entropy pool. Swapped out rand() for MT in any case... :)

Wow, that was fast. Nice. The truth is this: if you ever hear the phrase "re-seeding", you should reinterpret it as "warning! danger!" because if you seed a random number generator more than once, you destroy any entropy ('true' randomness) that generator otherwise might've had. When you seed a generator, you're saying "give me a queue of uniformly random numbers. Each time I call rand(), pop one from the queue and r…

I'm very familiar with MT from my PhD research :) It's a nugget of gold hidden in a single .c file.

I asked the question in relation to the LC generators in stdlib, where it seemed like reseeding from the (probably MT? I believe BSD uses Yarrow) generator in /dev/urandom would actually result in more entropy than the internal state of the LC generator in Perl/C stdlib. Totally agree with not reseeding MT though -- I have it in a persistent FastCGI script with an initial seed from /dev/random now.

Re: Show HN: Enter a message, delivery at a random time up to 6 months from now

#36
post #33
post #28

Earlier quoted context omitted.

Wow, that was fast. Nice. The truth is this: if you ever hear the phrase "re-seeding", you should reinterpret it as "warning! danger!" because if you seed a random number generator more than once, you destroy any entropy ('true' randomness) that generator otherwise might've had. When you seed a generator, you're saying "give me a queue of uniformly random numbers. Each time I call rand(), pop one from the queue and r…

I'm very familiar with MT from my PhD research :) It's a nugget of gold hidden in a single .c file. I asked the question in relation to the LC generators in stdlib, where it seemed like reseeding from the (probably MT? I believe BSD uses Yarrow) generator in /dev/urandom would actually result in more entropy than the internal state of the LC generator in Perl/C stdlib. Totally agree with not reseeding MT though -- I…

Oh, sorry... if you're asking whether it's possible to hack the "crappy rand()" such that it has more entropy by constantly re-seeding from MT... then I have no idea =) I just use MT itself.

Re: Show HN: Enter a message, delivery at a random time up to 6 months from now

#38
post #18

That reminds me of something I've been thinking about again and again over the past years. Is there any reliable way to send myself a message that I would receive, say, 40 years from today. So far I haven't been able to come up with a good solution.

Lets say you get cheapo hosting @ $5/month. 40 years = $2400, which isn't a terrible investment. Although you'd probably want a VPS where you can ensure that the OS setup doesn't change over 40 years...

That all assumes your host and even hosting and even the internet still exists in 40 years.

Re: Show HN: Enter a message, delivery at a random time up to 6 months from now

#40

That reminds me of something I've been thinking about again and again over the past years. Is there any reliable way to send myself a message that I would receive, say, 40 years from today. So far I haven't been able to come up with a good solution.

Get a locket engraved with the date. Write the message on thin paper, roll it up, and store it in the locket. Wear it everywhere until it's time to open it. Keep some spare copies in a safety deposit box. If you lose the locket, you'll notice, so you can go and get another one from the box.
Post reply on HN