Posts Tagged en
Talking about Flotilla

“Chicken space pirates, psychic dog advisors, and rhino bounty hunters. Just another adventure in Flotilla! Fight, trade, and explore to make a name for yourself in the galaxy.”
Flotilla is a turn based space ship battle simulator (think something along the lines of Battleships only in space) which prides itself with a randomly populated universe, full in space 3D movement and lots of fun. Developed by indie game house Blendo Games, the creator of Gravity Bone, Flotilla is going to be available for the PC and XBOX Live Indie Games.
Brendon Chung, the man behind Blendo Games was kind enough to have a chat with us about what it means to be indie and more excitingly about Flotilla. Read the interview after watching this video of a skirmish in Flotilla from the man himself.
A word with GOG
Good Old Games, better known as GOG.com is a digital download service specialized in classical PC games; released without DRM and made compatible with modern operating systems GOG.com brings old games to a new audience (or an old audience missing old experiences) and even adds goodies such as sound tracks, manuals and concept art pieces. Another signature of the site is that all games are either 5.99$ or 9.99$ no matter the geographical region of the buyer.
Mister Lukasz Kukawski was kind enough to offer us this interview. Read the rest of this entry »
Twitter Tools using j.mp
I’ve been using a modified version of Twitter Tools that used tr.im for shortening instead of bit.ly; this was due to the fact that the tr.im url was shorter than bit.ly’s and they offered the same tracking options. Recently though tr.im seems to have issues with downtime and so I decided to jump boat on the new j.mp service powered by bit.ly (hehe, see what I did there?).
To use j.mp instead of bit.ly to shorten your tweets you just need to modify one file from the Twitter Tools plugin and that file is twitter-tools-bitly.php. Thanks to the API used by bit.ly and the fact that j.mp is based on it we only need to change one line of code so that we will use the new shortening service. Read the rest of this entry »
Help with json parsing
OK, this is going to be a post dedicated to the coders out there. As you know if you’ve been following my Twitter stream I need some help parsing the reply of the j.mp shorten API.
I need to do this in order to obtain only the shortUrl which in turn will be used as the link posted on Twitter via Twitter Tools when the post is published.
Te return of the API can be found here and is:
{ "errorCode": 0, "errorMessage": "", "results": { "http://cnn.com": { "hash": "31IqMl", "shortKeywordUrl": "", "shortUrl": "http://j.mp/15DlK", "userHash": "15DlK" } }, "statusCode": "OK" }
The code which I’ve tried to use to get to save only the value for shortUrl is:
function makeTrimURL($myURL) {
$trimQuery = 'http://api.j.mp/shorten?versionversion=2.0.1&longUrl='.$myURL.'&login=user&apiKey=apikey';
$trimJSON = json_decode(file_get_contents($trimQuery));
$trimURL = $trimJSON->{'errorCode'}-> 0 {'errorMessage'}->{'results'}->{$myURL}->{'shortUrl'};
return $trimURL;
}
Now, the problem is somewhere at line 4 because the link does indeed get shortened (I can see that in my j.mp account) and gets returned but I can’t use it because I can’t extract only the shortened URL. Now, if anyone can please give me a solution to my problem I’d greatly appreciate it.
Will learn
Got some plans for this summer regarding making progress in some scripting/programming languages as follows:
class Learn
def initialize( name )
@name = name.capitalize
end
def salute
puts "I will become better at #{@name}!"
end
end
obj = Learn.new("Ruby")
obj.salute
and
print ("I", "will", "learn", "Python")