Monthly Archive for February, 2009

feeling lucky

Google joined twitter. The first post was a cryptic binary message, i wrote a script to translate it.

#!/usr/bin/php
<?php
//@google FIRST TWEET :P
$str="01100110 01100101 01100101 01101100 01101001 01101110 01100111 00100000 01101100 01110101 01100011 01101011 01111001 00001010";
//SPLIT OCTETS INTO AN ARRAY
$oct=split(" ",$str);
$c=0;
while($c<count($oct)){
//CONVERT EACH OCTET TO DECIMAL AND THAN TO A BINARY CHAR
$b .= chr(bindec($oct[$c]));
$c++;
}
//THE TWEET STARTED "I'm " SO I PREPEND IT TO THE CONVERTED STRING
echo "I'm " . $b;
?>

Le chef ne cuisine pas

I had an ugly argument a couple of days ago with Ollie Miles in twitter, who is a game designer and writes some stuff about what he learns from games in his personal page. He has since deleted all tweets relevant about that argument. Since then I have refrained from commenting his posts.

I am going to comment today, because I tried to correct him yesterday and he’s “great memory” forgot about a few things.

Before you read though, remember that I am a fanboy, i love EVE and have been playing with minor intervals for over 3 years and this is a very long post (>4500 words).

Continue reading ‘Le chef ne cuisine pas’

wp_get_archives() hack

I did some changes, very simple ones actually, to wp_get_archives().
the purpose was to hide the first month that wp_get_archives() shows, which is the current month.

edit:

the code i posted earlier was not ok, so I fixed it and pasted in gist.github.