Recent pages

Global Popularity of Programming Languages

08/14/2008

I used Google Insights to look at the global search popularity for a dozen programming languages. Although I wasn't inspired with any particularly valuable insights, its still fairly interesting to see the distributions.

An Introduction to Compassionate Screen Scraping

08/10/2008 python(48)screen-scraping(3)

One of the most common quickie projects on the web is to screenscrape a website and play around with its data. These projects are a lot of fun, and can allow for inventive mashups, but often the screepscraping scripts cause unnecessary load on the site's servers due to inconsiderate technique. This is an introduction to the art of compassionate screenscraping.

A Syntax Coloring Template Filter for Django

08/09/2008 django(73)python(48)

I spent a bit of time this evening writing a template filter for Django that accepts a string of code (and optionally the name of the Pygments lexer to use for highlighting) and returns the code nicely syntax colored. A simple but slightly helpful addition to your templating arsenal.

A Year Later, Home From Japan

08/09/2008 japan(43)

As many of you (if anyone actually reads these) already know, I am back from Japan. Here are a few thoughts about returning back to America.

Python Content Scraper for OneManga.com

08/08/2008 python(48)screen-scraping(3)

I spent a while today writing a fairly kind content scraper for OneManga.com, which shows how to use Python's httplib2 and BeautifulSoup to scrape data with a flexible api and minimal http connections.

Reading "The Nudist on the Late Shift" in 2008

08/07/2008 review(4)entrepreneurship(2)

Today I finished reading Po Bronson's "The Nudist on the Late Shift." Its an interesting look at a wide swathe of different players in the Silicon Valley internet bubble. Well, to be more precise, in the first Silicon Valley internet bubble. Looking at the state of Valley entrepreneurship today, almost ten years later, much of what Bronson has to say is still intensely relevant.

Cocoa Drag and Drop text into the Dock Icon

08/06/2008 cocoa(13)pyobjc(11)objc(8)

I spent much too long today trying to figure out how to implementing drag and droping selected text onto an application's Dock icon (and its Finder icon as well), and will proceed to share this knowledge with you in the hopes that related searches will not leave their queriers quite as lost as I was.

How to Write a Wrapper Library

08/04/2008 design(5)

Recently I received a comment wondering how to approach writing a wrapper library on top of an existing library. Although writing wrapper libraries is hardly a lost art of antiquity, developing a new interface to a library can create a lot of added value without too much effort, so it seems like something deserving of a couple hundred words.

BossArray for list-like Yahoo search results

07/28/2008 python(48)boss(11)

I recently put together BossArray, which is a simple wrapper around the Yahoo BOSS search results (relying on the Yahoo BOSS Mashup Framework for the heavy lifting). It provides a dirt simple interface mimicking a normal Python list for most interaction.

Replacing Django's ORM with SQLAlchemy

07/23/2008 django(73)

The second example in the Loose Coupling in Django series. This one looks at a place where Django's loose coupling is at its tightest: the Django ORM.


Will Larson

Your delightful host.
Email: lethain[at]gmail
Develop at SocialCode.
Used to Digg, and Y!.

Tags

Top Referrers

  • stackoverflow (22003)
  • news.ycombinator (13474)
  • reddit (9741)
  • More…
 

All Rights Reserved, Will Larson 2007 - 2013.