Hacker Newsnew | past | comments | ask | show | jobs | submit | RoundCube's commentslogin

I actually had this exact same idea a couple months ago


Someone must have written a script because it is almost all 0 now.


"almost all 0" is still random. :)


No it isn't. If you can predict with more than 50% what the next bit will be - it's not random.


Or you're lucky. One time a friend of mine was describing his fool-proof plan to win at Roulette. I jokingly asked, "What, double your bet when you lose?". He replied—in all seriousness—"No, triple it!"

I then argued with him about the money he would likely lose implementing his plan. He said, "what are the odds the ball will land on red five times in a row?". (We were ignoring the existence of the green 0 and 00). I took out a quarter, flipped it seven times, and it landed heads every time. This happened straight-away.

That was a random sequence, it was all 0s, and I'd like to think he was lucky that it happened that way, and convinced him to abandon his plan.

But I was also lucky. I had intended to demonstrate this, and was prepared to be flipping the coin hundreds of times until the run of 0s came up. You could say I was predicting the next result correctly 100% of the time on those first 7 flips. But my ability to predict the results didn't show their non-randomness, instead it showed my "luckiness". Which really means they weren't predictions at all, I guess.


That's called the Martingale betting system, and yeah it requires a gambler with infinite wealth


And a table with no maximum betting limit.


Just because it's biased towards 0 it doesn't mean there's no entropy in it. Even the raw output of an entropy source based on radioactive decay or thermal noise is biased.

To generate a highly random output that appears independent from the source and uniformly distributed a randomness extractor [1] has to beapplied. The most well know is the Von Neumann extractor.

[1] http://en.wikipedia.org/wiki/Randomness_extractor


You're talking about a cryptographically secure random. Normal random can really contain any sequence, including a repeating string of 1's or 0's. The infinite monkey theorem proves it :)


I'm of the opinion that any definition of random string that says the same string S is random or not depending on how we got it is just silly.

IMHO random string = string that has Kolmogorov complexity = length of this string.

Almost all strings we got from random variables with uniform distribution are random, but not all.


I was curious if there was any rate limiting/filtering being used... Since someone else noticed I guess there isn't!


I started implenting one but it's not behaving properly apparently. Working on it right now...


I was wondering how long it would take for someone to do that :)


I don't really mind it. Just takes a couple seconds then it is gone.


I like it.


What is wrong with this website? http://i.imgur.com/mwLQcRg.jpg


I've got a solution but it involves an old priest and a young priest


Awesome! The view of the map is a little small and there is no erase button. Also when I made a map the water was green


Glad you like it. The view will be made bigger in the next version, and you can erase items by right clicking.

Water being green is a really weird problem, it works for me every time yet I see people getting green water in their maps all the time. Maybe I'll just say it's toxic water.


Works fine for me.


Towers are too powerful.


Maybe add the swordsmen to that, 2-3 of those just annihilated like 15 of my arrow guys.


The swordsmen and towers are really strong indeed, perhaps a bit too strong, but I think the balance is close to good enough. You just have to be clever with what units you make, at what time.


Awesome game! It would be cool if you could build walls.


Thank you! I assume with walls you mean just blocks that would hinder the enemy from walking past a certain point or something?


Yeah you would build the wall and the enemy would have to destroy it to go past. And if you built a gate your units could go through but not the enemy.


4chan ruined my life.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: