George's Blog
It's my blog and I'll post if I want to
Sunday, November 1, 2009
Apparently I'm the foremost expert of showtime.fu
I read about it on ReadWriteWeb a whole back and tweeted. Now it seems I am the foremost expert on the subect. My tweet is the 2nd search result on google.
Monday, September 28, 2009
Twitter Application with Google App Engine/Python
Setup
To get started, you will need
- Python 2.5.2 - According to Google App Engine documentation here - make sure to use the right version to avoid any compatibility issues
- Eclipse - IDE - makes your life easier
- PyDev- Eclipse Plugin to support Python - to install : in Eclipse, go to Help -> Software Updates -> Add Site : http://pydev.org/updates
- Google App Engine SDK - get the latest version .msi file. double click
- Tweepy - best damn Twitter/Python API to date
- If you have git installed: 1. clone the repository from github 2. in the tweepy directory, type in setup.py install
- If you don't have git, download the archive from the site, unzip, and follow 2. from above
- Github - optional - it's a good practice to use SCM for your code. I wrote the following article on how to use it with Eclipse
- I won't be discussing how to commit your code (atleast here). If you want to maintain sanity, I suggest you use an SCM of some sort
Screwing Around with Tweepy
Next we're going to console use the Python console to experiment with the Twitter API. Please note, text in Courier New is meant to be executed in a Python shell>>> import tweepy # if this worked, you installed it correctly
There are two way to get authenticated with Twitter. With an authenticated Twitter API you can do all the things you can do with a twitter account: post messages, read your DM, etc.
- via username and password ( basic authentication )
- OAuth - requires registering your app here.
>>> twitter = tweepy.API.new('basic','twitter_account_name','twitter_account_password')
if this worked, you're in! Let's try to update your status
>>> twitter.update_status("I'm using the internet!")
So now that you have the Twitter API working, go through tweepy's API/tutorials to figure out what it can do. Try calling other methods on the twitter class. See what happens. If you're reading this tutorial, you're probably ahead of my on this one
Setting Up Eclipse
Follow the Configuring Eclipse on Windows to Use With Google App Engine tutorial. It's pretty detailed.
Google App Engine requires you to upload all the extra libraries you need to appspot in order for you app to work. This means you need to add the tweepy library to your project:
- open the directory where you installed tweepy above in Explorer
- Drag&Drop the whole tweepy directory in build\lib\ into the \src folder
- Tweepy is installed - use it
Making the App
We're going to make a simple app. It will
- run a search on all public tweets for the phrase "#python"
- store the results
- display the top 20
- show.py - shows top 20 tweets
- update.py - performs searches at 5 minute intervals
and a common library file to store stuff ( common.py )
stay tuned for Part 2
Sunday, September 27, 2009
Git + Eclipse
In short what you need to do is
- In Eclipse, go to Help -> Software Updates and add the following address http://www.jgit.org/updates .
- Click install and you're done
- Click on a file in Eclipse, and under the 'Team' menu, you'll find Git options
- Profit
Thursday, September 24, 2009
Memeoized

I'm writing a new twitter app: Memeoized. See it in action at twitter.com/memeoized
Idea: 'scour' twitter for people mentioning memes and report the memes with a (@) . Simple enough idea but I kind of like it.
I'm able to reuse most of the code from NYCGameTrade because the idea is so similar. Exept this time I'll keep myself to a single blog.
Here is my resource list
- Using Google App Engine with Eclipse http://code.google.com/appengine/articles/eclipse.html - quick setup instructions on how to get rolling with App Engine and Eclipse. Integrates with dev_appserver.py
- Python introduction to Google App engine http://code.google.com/appengine/docs/python/gettingstarted/ The general Python walkthrough
- Tweepy - http://github.com/joshthecoder/tweepy - fantastic twitter client in python.
- Pixlr - how I made the domo kun logo
- Github - because you'd be crazy not to.
and we're up and running
Tuesday, September 15, 2009
How quickly ideas die - NYCGameTrade
Yes. I'm blogging about another blog. Yes. it was a big failure. No. there were no lessons learned.
Will this deter me ? Probably now. I think I'm going to make my system generate DM message spam. Should it deter me ? Probably.
here's a link: http://nycgametrade.blogspot.com/
why did this exist? read this post: http://nycgametrade.blogspot.com/2009/06/welcome-to-nycgametrade.html
I wrote a Google App Engine service that would poll a twitter account, see if anyone twittered anything with #ps3 or #xbox tags at the account, and re-tweet the request. The blog details some of my attempts to woo an audience such as posting to CL news ( useless ), posting to as a CL ad ( deleted ), posting to meetup ( ignored ).
Why would I bother with this ? have you not seen this: http://ggodik.blogspot.com/search/label/games . Most of what I do is trade games on CraigsList, play em, and swap-em-out again. Rinse. Repeat.
Why did I do this ? honestly, just to try out Google App Engine, code in Eclipse again, and to screw around with Twitter. I have
- downloaded every twitter python api library and determined they're mostly garbage
- messed around with Google App Engine to discover how awesome Google did at hosting application. And they keep releasing features! And the whole thing works!
- to fail miserably at something web2.0ish
Wednesday, July 29, 2009
Friday, July 24, 2009
Monday, May 11, 2009
Quantum Of Solace
Beat in a day. Semi-'meh' pseudo-tactical shooter. No Golden Eye for the N64.Trading it away for Far Cry 2
Wednesday, May 6, 2009
The Day The Earth Stood Still
The whole point of this movie was to wipe out New Jersey. That apparently made everything better.It seems that this movie suggests that the 'drastic change' to our existing is going to be the lack of electricity / electronics. This will cause food shortages, starvation, riots, etc. How is that any better ?
Monday, April 27, 2009
Call of Duty : World At War
latest time drain.short game.
going to do a little online action before I move on to Quantum of Solace 007
RockNRolla
This movie made no sense. And not because it's a Guy Ritche british talking film. It just made no sense.
Tuesday, April 14, 2009
Street Kings

It's kind of like Training Day except it's not. I thought Training Day was a much better movie. However, the Hugh Laurie plot twist at the very end is a nice touch. It serves as sort of retribution for the predictability of the entire film.
The plot seems fairly typical of the cop movies, and very in line with what David Ayer has been writing for Dark Blue and S.W.A.T
Tuesday, April 7, 2009
Bagombo Snuff Box: Uncollected Short Fiction by Kurt Vonnegut
I haven't read a Vonnegut book since 2004-5. I really like this collection of short stories. Vonnegut follows his 8 rules of short stories and I feel it works out great. I haven't had much exposure to short stories but I like the general concept : works great with a short attention span, readable in a subway ride, and are generally amusing.
What I like most about the format is that making the story 'short' keeps the writer focused on making it 'to the point'. Often times books will come up with a 'point' or a central theme and continue to expand on it throughout the book though various literary deviced. Some books really take to 'beating a dead horse' for a while. Invisible Man by Ralph Ellison is a good example. The short story format, at least in K. Vonnegut's case, does not permit this.
Thursday, April 2, 2009
Resident Evil 5
I've traded Resistance 2 for Resident Evil 5. Well worth the trade.I'm mass murdering zombies like no tomorrow.
Edit 4/7: This game takes the 'zombie' idea a little to far. The goons attacking me are not quite zombies, although they display zombie-like behavior. They are, however, able to engage in tactical combat with high power rifles and chuck spears. CAPCOM : That's not how zombies work !
The MyCheats walkthrough is here
Thursday, March 26, 2009
Fallout 3
Next on the roster is Fallout 3.maybe I should read a book or something ?
Update 4/1 - I don't like RPG games. ZeroPunctuation has good things to say about this game. I find it boring.
Monday, March 23, 2009
Craigslist and Google Reader
I've been using it and it works wonders. The basic idea is:
Here is a more detailed tutorial from SeattleBubble.com : How To: Use Craigslist & RSS to Find a Great Rental
- go on Craigslist and do a search
- such as PS3 Game less than $40 http://newyork.craigslist.org/search/sss?query=PS3+game&minAsk=min&maxAsk=40
- get the RSS feed version ( bottom right corner )
- http://newyork.craigslist.org/search/sss?query=PS3+game&minAsk=min&maxAsk=40&format=rss
- Subscribe to the RSS feed via Google Reader
Here is a more detailed tutorial from SeattleBubble.com : How To: Use Craigslist & RSS to Find a Great Rental
Friday, March 6, 2009
Israel Birthright
I'm going to Israel with Birthtright Israel Outdoors March 8th to 19th. I will attempt to blog as I go here. Stay tuned. maybe.
Edit: 3/19/09 - no internet connection = no blogging. I'll try to post thoughts here
Monday, February 23, 2009
Prince of Persia
$30 on CL. A weaker version of Assassin's Creed.The game feels like a giant artwork gallery. I like the running on walls.
Edit 3/23/09
I grew very bored of this game and CL traded it for Fallout 3 today. That stretches my initial investment of $30 pretty far.
Edit 3/23/09
I grew very bored of this game and CL traded it for Fallout 3 today. That stretches my initial investment of $30 pretty far.
Subscribe to:
Posts (Atom)
