I'm now sitting in a meeting watching a new guy from a different team presenting it to the rest of the department ( again )
Showing posts with label cs. Show all posts
Showing posts with label cs. Show all posts
Friday, March 18, 2011
Wednesday, February 9, 2011
Computer Books on the iPad
I've recently discovered CHMate for my iPad. I've been looking for a .chm reader for a while.The OTA document transfer is really neat. The hosts a little website where you can upload your .chm files. The app reformats your documents and fonts and has an option for black background. A++
Why .chm you ask ? IMO it's the best format for technical literature ( or any literature ). Easy reformatting, lightweight, and it's not PDF. I have a huge backlog of technical literature from a.b.e-book.technical that I've been meaning to go to. Here's the roster. I'll try to blog about these a little individually
That'll probably last me through the winter.
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
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
Saturday, October 25, 2008
Organically grown software
I've come up with a pretty good idea (at work) and I have been working on it on-and-off since March '07 now. I'm going to chronicle my experince here for mostly my own amusement.
The timeline for the project is something like:
- September'07 - faced with a problem I decided to come up with a generic solution that a few of my coworkers can use
- October '07 - Priorities/focus shift and the problem I am faced with is no longer urgent. I put this on the back-burner and drift off to several other side projects
- Oct'07 - March '08 - a few code contributions here and there. The project is overengineered to the point where the focus is kind of lost
- Febuary '08 - talks with another co-worker from a different group spark some interest and I do a 30 minute presentation for about 15people from 3 different offices
- after the presentation I realize exactly that this project is way to ambitious and over-engineered to be feasable, useable and stable so spent some time ripping out bad features
- March '08 - I hold an office-wide naming contest to come up with a name for what I'm doing
- July '08 - more refactoring, test cases, and narrowing of focus
- August '08 - the problem from Sept '07 comes back into focus but is assigned to an employee on my team. Since I am able to dictate the terms of the project, my side-project comes into play
- August '08 - Another employee is confronted with the same problem and succumbs to using my work as well
- October '08 - I woo yet another potential user
- release into production a working version as soon as possible
- leverage the oodles of existing code that others have written for similar tasks
- elicit as much feed back as possible
- advertize the product - entice more users
- keep the design flexilbe and robust
Subscribe to:
Posts (Atom)