Star icon to indicate updates At a glance

Writings and musings on the latest web trends and life, advertising, design, fonts, and news from an avid and prolific web designer.
Up and about since 2003.

partner website »
Is your web design hurting your search engine rankings? Teknicks is a professional web design agency and SEO agency.

I currently am the proud owner of a Canon S3 IS, and am an avid photographer.

Visit my Pictures from my Flickr account


Jason Mraz - I'm Yours

Web clippings Most popular pages

» Charlie Chaplin - Waiter of Modern Times
» Free icon sets for your website
» How to get the perfect domain
» Visiting Pyongyang, North Korea
» The cutest cat in the world
» My Guinness World Records attempt
» Unearthing the Belvedere
» Becoming fontastic: mastering fonts
» Wordpress blogroll timestamp
» Checking out Area 51



Most commented posts Most commented

The Kite Runner and Atonement Compared
Why I hate Unix
Free AJAX and Flash Packages
Critique: Presidential Candidate Websites
A Sense of Cohesion
The True Origins of the Telegraph
Matlab Error
Scandalous
Obama Ron Paul 2008
YouTube in HD


Click here for the RSS 2.0 feed Web Design Web Design Blogs - Blog Top Sites


Search Search (Archives)

Currently I am reconstituting my entire archive in WordPress. Please be patient as things move around.

Python code for extracting email addresses

Python logo

There have been times where I’ve wanted to mass email a bunch of people sharing the same domain name: for example, I’d like to send a notice to everyone I know who attends my school and thus has a @swarthmore.edu email address. Exporting my contacts from Gmail into CSV, I coded the following in Python which outputs a file called output.txt with all the emails you want defined by the line starting with searchquery. Might come in handy.

from string import *

searchquery = "@swarthmore.edu"
lensearch = len(searchquery)
emails = []

f = open("contacts.csv", "r")
g = open("output.txt", "w")
allines = f.readlines()
for i in range(len(allines)):
    splitted = allines[i].split(",")
    if len(splitted) > 2 and \
        splitted[1][-lensearch:] == searchquery:
        g.write(splitted[1] + ", ")

g.close()
f.close()

 

Calendar May 13 Comments Comments

How to download mp3 from esnips

Esnips logo

So, you’ve found a good song on esnips and you’d like to make it your own. As of this writing, only one method exists. Say you’d like to download Ballade Pour Adeline by Rimini Club DJs Unlimited, an obscure but fantastic song. The URL on esnips is at

http://www.esnips.com/doc/4f496449-99d8-4a4a-a5f2-b8f46c9e0860/03.-Ballade-Pour-Adeline—Rimini-Club-Djs-United

Here’s the method:

  1. Replace the /doc/ part with /nsdoc/
  2. Remove the song name from the URL (in the above example, 03.-Ballade-Pour-Adeline---Rimini-Club-Djs-United).
  3. Replace what you removed with ts_id/1205795172796/ns_flash/file1.mp3

What you should have now is

http://www.esnips.com/nsdoc/4f496449-99d8-4a4a-a5f2-b8f46c9e0860/ts_id/1205795172796/ns_flash/file1.mp3

Save! (Use Firefox to make your life easier). Disclaimer: this method works as of this writing but is not guaranteed to last.

Calendar May 8 Comments Comments

Endangered-Languages.com

I hereby present to you a collaborative final project for my Endangered Languages course here at Swarthmore: endangered-languages.com

Endangered-Languages.com screenshot

Calendar May 6 Comments Comments

Promise me you’ll never let me go

Calendar May 5 Comments Comments

IHT Delivers Same Story in Different Flavors

It seems that the International Herald Tribune can be accused of writing up different forms of the same article with choice words replaced. It lends itself to a surprisingly conflicting interpretation. The reason they differ? The regions in which they are expected to be read, specifically Africa versus the Middle East (check out their links) Check out the screenshots below and a comparison of some of the additional/removed words.


http://www.iht.com/articles/2008/04/22/africa/22aramaic.php

http://www.iht.com/articles/2008/04/22/mideast/syria.php

Paragraph 1:
Africa: … Aramaic, the language of Jesus…
Middle East: … Aramaic, the presumed language of Jesus…

Paragraph 7:
Africa: John Francis, 20, said, “My father wrote a book about it, but I barely speak any.” (Western-sounding names are common among Christians in Syria and Lebanon.)
Middle East: <removed>

Second page, paragraph 1:
Africa: But even the town’s Christian identity is fading. Muslims have begun replacing the emigrating Christians, and now Malula — once entirely Christian — is almost half Muslim, residents say.
Middle East: <removed>

Calendar Apr 24 Comments Comments

Recently read online:

Updated 10 days ago.

» The life and times of students around the time of finals [comic] link
» Color Scheme Generator: choose between a variety of palettes including triad, tetrad and analogic. link
» Third Avenue ‘L’ at Houston Street: elevated tracks in New York City, circa 1910. link
» The origins of the BBC globe logo, circa 1985. link
» What’s inside the MacBook Air? I do hope they were able to assemble it back together. link
» 10 flagrant grammar mistakes that make you look *incredibly* stupid. link
» The drawtoy and kaleidoscope - a fascinating examination into a simple device. link
» How new cars get named. Look out for the three letters, S, E or X in various combinations. link
» Saving the Cougar Ace: the lives of modern high tech ship-saving cowboys. link
» It looks like something out of a James Bond movie: pictures from a submarine base in Russia. link

Subscribe