1Youtube
2 browse the web
3 paid a bill
4 planned a vacation
5 Netflix
Showing posts with label computer. Show all posts
Showing posts with label computer. Show all posts
Saturday, June 19, 2010
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
Friday, July 24, 2009
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
Tuesday, September 16, 2008
My policy on facebook hack-spam
Every time I see one of these on my Facebook wall I remove the person from my friends. Clearly if you cannot manage to use the internet, we should probably not be on speaking terms.
I think everyone should follow in this example, thus imposing a social ban on people who are unable to come to terms with not clicking on everything they see.
Edited 11/14
Tuesday, September 9, 2008
Your name in comments in Word
Sometimes specs are necessary and require some formal written documentation. When documents are shared ( email / sharepoint / network drives ) I really wish people would figure out how to change thier comment name/initials from Default.
Friday, August 29, 2008
Thursday, July 3, 2008
Tuesday, June 10, 2008
Friday, May 16, 2008
Pandora ... it's full of leaks
Maybe not Pandora but Flash in general. My computer grids to a halt after an hour of Pandora usage.
When it starts, the memory footprint looks like this:







And over the course of an hour worth of usage turns into:

This will keep increasing and eventually thrash my computer to death. I'm switching to winamp/ShoutCast.
update: Two hours into usage:

When it starts, the memory footprint looks like this:







This will keep increasing and eventually thrash my computer to death. I'm switching to winamp/ShoutCast.
update: Two hours into usage:
Monday, October 1, 2007
The Pragmatic Programmer - Andrew Hunt, David Thomas
This was a 'class' assignment during training for work. The book starts off strong with good style suggestions, clever ideas, and funny interjections. It's a well written book, with many of what I felt are good points. However, I have managed to come up with some harsh words for it:- Its exactly not what it's promises to be: pragmatic
- As many 'punchline' books do, this one starts of strong with a pre-boiled set of points, and keeps chewing on them for the rest of the book.
- In the spirit of above, the later chapters of the book lose focus and discuss some minor irrelevant points.
- It feels like a 20% auto-summary of every blog post on JoelOnSoftware
Subscribe to:
Posts (Atom)