Check it out. Thanks Kevin!
Posts Tagged ‘Python’
My First Callcast
Wednesday, June 4th, 2008friendfeed.py Patch for use on Google App Engine
Thursday, May 29th, 2008Ask and ye shall receive. Attached is a patch for using friendfeed.py on Google App Engine. You need to also have demjson available. Google App Engine does not allow use of many C modules (like cjson) and both json and simplejson will throw decoding errors from time to time. demjson is slow but won’t throw errors around (I really wish we could use cjson; it’s so much faster).
Basically the differences are:
- Use urlfetch instead of urllib2
- Use Django’s urlencode which will work with unicode (letting you comment/share in languages like Chinese)
- Use demjson instead of cjson (which cannot be used on Google App Engine), simplejson, or json (which both throw decoding errors from time to time)
Enjoy!
Update:
You don’t need to use demjson anymore; simplejson will work just fine. I just got an email from Sanjeev saying that they fixed the issue (’\x’ is not valid JSON). This makes things even easier because simplejson is included in Django (from django.utils import simplejson) which is included in Google App Engine.
Tweet 2 Tweet
Sunday, May 18th, 2008Announcing my latest (tiny) project: Tweet 2 Tweet.
You know when you see someone’s Twitter update with an @ reply in it to someone you don’t know and are completely confused about the topic? Tweet 2 Tweet is an effort to solve that. You can put both of their names into Tweet 2 Tweet and see their conversation on one page much like Facebook’s “Wall-to-Wall” feature.
It’s just a dumb, fun project. Nothing made to be a big splash; just something I’ve been meaning to do. It uses Django + App Engine + Summize to power it. Django mainly for the templates, App Engine so my server doesn’t get anymore overloaded, and Summize so I don’t even need a database.
Plus it was an excuse to whip out my old algorithms book so I could implement a quicksort.
Thanks to everyone who’s covered it already; I’ll be making minor improvements from time to time.
FriendFeed Stats – FriendFeed API + Open Source
Tuesday, April 1st, 2008I really dropped the ball on writing a blog post about this one but better late than never!
On March 21st Bret Taylor (one of the FriendFeed founders) asked if I’d like to provide feedback for the then upcoming FriendFeed API. I was very interested in getting my hands on it and stoked that I was one of the people he thought of when searching for feedback. Over the weekend I tinkered with the API, provided feedback (you can thank me for having comment/like/discussion and search feeds in the API), and built the first FriendFeed application: FriendFeed Stats.
On March 25th I launched FriendFeed Stats simultaneously with the release of the FriendFeed API. Soon I open sourced the Django application that drives FriendFeed Stats so everyone could see how simple it is to work with the FriendFeed API.
Many thanks to Bret and the rest of the FriendFeed team for delivering an awesome service. I hope to see many more interesting FriendFeed applications soon.
RSSmeme – Now With Search Feeds
Wednesday, February 6th, 2008Ask and ye shall receive. David Rothman asked for search and RSS feeds for searches for ReadBurner; so I added them to RSSmeme. Searches are basic: I split up your terms, search for them case insensitively in story titles, and “or” the results all together sorted by post date. Your browser should auto-detect the feed for that search which will be formated in a url like this:
Tada!
