Live data from Hacker News

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

futuremessage.me

11–20 of 56 posts

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

#14

Nice one :). Good tool to add a little randomness into life - several months is enough time to forget about all the messages one sent to one's friends. And then, one day, somebody gets the message and replies... :).

Thanks, I'll be sure to enable replying to the originating email address... :)

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

#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...

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

#20
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)?

The exact second is picked uniformly at random using an approximation of 30 days per month. The code is:

    my $sendAt = time + int(rand()*86400*30*5) + 86400*30;
Post reply on HN