Articles Tagged with day-dreaming
You are currently browsing 2 articles tagged with day-dreaming.
A thousand monkeys at a thousand typewriters in PHP
Published Tuesday 6th of December 2011
I actually had this idea ages ago and last night I started thinking about it again while trying to fall asleep so I decided to write the thing once and for all.
Using the
convBasefunction from the comments section here php.net/manual/en/function.base-convert.php as well as this little code snippet:<?php
$base = '0123456789abcdefghijklmnopqrstuvwxyz '; # add more if you wish
$slots = 1000000; # increase to get longer texts
$variations = pow(strlen($base), $slots);
for ($i = 0; $i < $variations; $i++) {
echo '"' . convBase($i, '0123456789', $base) . '"<br/>';
}You can make your computer print every text that's ever been written as well as any text that ever will get written in any language that uses the $base characters.
You'll get the LOTR trilogy written backwards only Frodo is called Froggo and the sky's color is purple and instead of beer everybody drinks the Swedish drink Trocadero.
You'll also get the answers to every question that can be asked in text and you'll get a detailed explanation of your life that's correct down to every little detail.
Mind you you'll get everything in between as well :P
Be the first to post a comment
The "Ultimate" Video Game
Published Sunday 31st of May 2009
I've owned a PS3 for about a year now and even though there are some really fucking wicked games for the console there hasn't been one yet that I would consider ultimate.
It's a little like with mobile phones. One comes with an Mp3-player but another comes with FM-radio. One has DivX-support but one YouTube-support.
I want a mix of all the best games put together in one massive, ultimate video game.
Be the first to post a comment