<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xml:lang="en"><title type="text">Corey Goldberg</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/goldblog" /><subtitle type="html">Blog - Technology, Programming</subtitle><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2013-05-02T14:25:42+00:00</updated><generator uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">161</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">25</openSearch:itemsPerPage><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="goldblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><id>tag:blogger.com,1999:blog-5236867476487043111</id><geo:lat>42.349622</geo:lat><geo:long>-71.073722</geo:long><entry><title type="text">Squeezelite - Headless Squeezebox Emulator</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/2013/04/squeezelite-headless-squeezebox-emulator.html" /><category term="music" /><category term="audio" /><category term="squeezebox" /><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2013-04-01T07:19:36-07:00</updated><id>tag:blogger.com,1999:blog-5236867476487043111.post-5327255616854453425</id><content type="html">&lt;p&gt;
Use Squeezebox, without buying a Squeezebox...
&lt;/p&gt;

&lt;p&gt;
Recently, Logitech discontinued most &lt;a href="http://en.wikipedia.org/wiki/Squeezebox_(network_music_player)"&gt;Squeezebox streaming music players&lt;/a&gt;.  However, the media server is Open Source, so it looks like some form of &lt;a href="http://en.wikipedia.org/wiki/Logitech_Media_Server"&gt;Logitech Media Server&lt;/a&gt; (LMS) will live on, no matter what Logitech eventually does with it.
&lt;/p&gt;

&lt;p&gt;
I've been a user of Squeezebox network music player since it was released by SlimDevices (SliMP3/SlimServer), and throughout the transfer to Logitech.  I've owned 3 Squeezebox models over the years... currently enjoying the Squeezebox Touch, with music streamed from Logitech Media Server.
&lt;/p&gt;

&lt;p&gt;
It works flawlessly for streaming my own music collection (FLAC/MP3/etc), and streaming radio (Pandora/Slacker/Sirius/etc), to my HiFi.  I use the digital (S/PDIF) outputs, and sometimes the DAC/analog (RCA) outputs.  
&lt;/p&gt;

&lt;p&gt;
Now... with the release of &lt;a href="https://code.google.com/p/squeezelite/"&gt;Squeezelite&lt;/a&gt;, you can build your own Squeezebox, or use an existing computer/laptop with digital output as a Squeezebox.
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Squeezelite&lt;/strong&gt; is a cross-platform, headless, LMS client that supports playback synchronization, gapless playback, direct streaming, and playback at various sampling rates.  It runs on Linux using ALSA audio output and other platforms using PortAudio. It is aimed at supporting high quality audio.
&lt;/p&gt;

&lt;p&gt;
I gave Squeezelite 1.0 a try on Ubuntu 12.04, with S/PDIF optical output to my DAC.  It worked like a charm!
&lt;/p&gt;

&lt;p&gt;
Squeezelite info:&lt;br /&gt;
&lt;a href="https://code.google.com/p/squeezelite/"&gt;https://code.google.com/p/squeezelite/&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Squeezelite download (precompiled binaries for x86/amd64/arm):&lt;br /&gt;
&lt;a href="https://code.google.com/p/squeezelite/downloads/list"&gt;https://code.google.com/p/squeezelite/downloads/list&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Enjoy the music.
&lt;/p&gt;
</content><app:edited xmlns:app="http://www.w3.org/2007/app">2013-04-01T10:19:36.509-04:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /></entry><entry><title type="text">Python - Re-tag FLAC Audio Files (Update Metadata)</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/2013/03/python-re-tag-flac-audio-files-update.html" /><category term="python" /><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2013-04-02T09:16:44-07:00</updated><id>tag:blogger.com,1999:blog-5236867476487043111.post-2367345880276503522</id><content type="html">&lt;p&gt;
I had a bunch of &lt;a href="http://en.wikipedia.org/wiki/FLAC"&gt;FLAC&lt;/a&gt; (.flac) audio files together in a directory.  They are from various sources and their metadata (tags) were somewhat incomplete or incorrect.
&lt;/p&gt;

&lt;p&gt;
I managed to manually get all of the files standardized in "%Artist% - %Title%.flac" file name format.  However, What I really wanted was to clear their metadata and just save "Artist" and "Title" tags, pulled from file names.
&lt;/p&gt;

&lt;p&gt;
I looked at a few audio tagging tools in the Ubuntu repos, and came up short finding something simple that covered my needs.  (I use &lt;a href="http://pwp.netcabo.pt/paol/tagtool/"&gt;Audio Tag Tool&lt;/a&gt; for MP3's, but it has no FLAC file support.)
&lt;/p&gt;

&lt;p&gt;
So, I figured the easiest way to get this done was a quick Python script.
&lt;/p&gt;

&lt;p&gt;
I grabbed &lt;a href="https://code.google.com/p/mutagen/"&gt;Mutagen&lt;/a&gt;, a Python module to handle audio metadata with FLAC support.
&lt;/p&gt;

&lt;p&gt;
This is essentially the task I was looking to do:
&lt;/p&gt;

&lt;pre style="font-size:12px;border:0.5px #999999 solid;font-family:monospace;color:#990000;background-color:#EEEEEE;padding:4px;"&gt;
#!/usr/bin/env python

import glob
import os
from mutagen.flac import FLAC

for filename in glob.glob('*.flac'):
    artist, title = os.path.splitext(filename)[0].split(' - ', 1)
    audio = FLAC(filename)
    audio.clear()
    audio['artist'] = artist
    audio['title'] = title
    audio.save()
&lt;/pre&gt;

&lt;p&gt;
It iterates over .flac files in the current directory, clearing the metadata and rewriting only the artist/title tags based on each file name.
&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;
I created a repository with a slightly more full-featured version, used to re-tag single FLAC files:&lt;br /&gt; &lt;a href="https://github.com/cgoldberg/audioscripts/blob/master/flac_retag.py"&gt;https://github.com/cgoldberg/audioscripts/blob/master/flac_retag.py&lt;/a&gt;
&lt;/p&gt;</content><app:edited xmlns:app="http://www.w3.org/2007/app">2013-04-02T12:16:44.224-04:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /></entry><entry><title type="text">Python - verify a PNG file and get image dimensions</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/2013/01/python-verify-png-file-and-get-image.html" /><category term="python" /><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2013-01-28T14:09:31-08:00</updated><id>tag:blogger.com,1999:blog-5236867476487043111.post-5651956091791965206</id><content type="html">&lt;p&gt;
useful snippet for getting .png image dimensions without using an external imaging library.
&lt;/p&gt;

&lt;pre style="font-size:12px;border:0.5px #999999 solid;font-family:monospace;color:#990000;background-color:#EEEEEE;padding:4px;"&gt;
#!/usr/bin/env python

import struct


def get_image_info(data):
    if is_png(data):
        w, h = struct.unpack('&gt;LL', data[16:24])
        width = int(w)
        height = int(h)
    else:
        raise Exception('not a png image')
    return width, height


def is_png(data):
    return (data[:8] == '\211PNG\r\n\032\n'and (data[12:16] == 'IHDR'))


if __name__ == '__main__':
    with open('foo.png', 'rb') as f:
        data = f.read()

    print is_png(data)
    print get_image_info(data)
&lt;/pre&gt;

&lt;p&gt;
/headnods:&lt;br /&gt;
&lt;a href="https://code.google.com/p/bfg-pages/source/browse/trunk/pages/getimageinfo.py"&gt;getimageinfo.py source&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/Portable_Network_Graphics"&gt;Portable_Network_Graphics (Wikipedia)&lt;/a&gt;
&lt;/p&gt;</content><app:edited xmlns:app="http://www.w3.org/2007/app">2013-01-28T17:09:31.867-05:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /></entry><entry><title type="text">Python Unit Testing Tutorial (PyMOTW unittest update)</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/2013/01/python-unit-testing-tutorial-pymotw.html" /><category term="unittest" /><category term="python" /><category term="testing" /><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2013-01-23T15:06:49-08:00</updated><id>tag:blogger.com,1999:blog-5236867476487043111.post-1827847815105061327</id><content type="html">
&lt;p&gt;
&lt;b&gt;tl;dr&lt;/b&gt;: an update to PyMOTW for `unittest` in Python 3: &lt;strong&gt;&lt;a href="http://cgoldberg.github.com/python-unittest-tutorial/"&gt;Python Unit Testing Tutorial&lt;/a&gt;&lt;/strong&gt;.
&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;
When I was learning programming in &lt;a href="http://www.python.org/"&gt;Python&lt;/a&gt;, Doug Hellmann's &lt;a href="http://www.doughellmann.com/PyMOTW/"&gt;'PyMOTW' (Python Module Of The Week)&lt;/a&gt; blog-series was one of the best resources to learn Python's &lt;a href="http://docs.python.org/3.3/library/"&gt;standard library&lt;/a&gt;.
&lt;/p&gt;

&lt;p&gt;
His series later culminated in the book: &lt;a href="http://www.doughellmann.com/books/byexample/"&gt;'The Python Standard Library By Example'&lt;/a&gt;.
&lt;/p&gt;

&lt;p&gt;
The &lt;a href="http://www.doughellmann.com/PyMOTW/unittest/"&gt;PyMOTW entry on `unittest`&lt;/a&gt; was a great introduction to unit testing in Python.  Since the PyMOTW version is getting quite outdated, I updated the `unittest` module entry.
&lt;/p&gt;

&lt;p&gt;
This new version includes some edits and updates to the text, and all code and examples have been updated to reflect Python 3.3.
&lt;/p&gt;

&lt;p&gt;
Have a look at my updated Python 3.3 version:&lt;br /&gt;
&lt;strong&gt;&lt;a href="http://cgoldberg.github.com/python-unittest-tutorial/"&gt;'Python Unit Testing Tutorial'&lt;/a&gt;&lt;/strong&gt;
&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;
&lt;i&gt;license:
&lt;a href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/"&gt;Creative Commons Attribution, Non-commercial, Share-alike 3.0&lt;/a&gt;&lt;/i&gt;
&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;
say no to bugs...
&lt;/p&gt;

&lt;a href="http://3.bp.blogspot.com/-7BPf5_if0uc/UQBsGvImhsI/AAAAAAAAGd4/RhWuDcHvqYs/s1600/ladybug_for_blogpost.jpg" imageanchor="1" style=""&gt;&lt;img border="0" height="300" width="355" src="http://3.bp.blogspot.com/-7BPf5_if0uc/UQBsGvImhsI/AAAAAAAAGd4/RhWuDcHvqYs/s400/ladybug_for_blogpost.jpg" /&gt;&lt;/a&gt;
</content><app:edited xmlns:app="http://www.w3.org/2007/app">2013-01-23T18:06:49.946-05:00</app:edited><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-7BPf5_if0uc/UQBsGvImhsI/AAAAAAAAGd4/RhWuDcHvqYs/s72-c/ladybug_for_blogpost.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Boston, MA 02116, USA</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">42.353068 -71.07651880000003</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">42.306118 -71.15719980000003 42.400018 -70.99583780000003</georss:box><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /></entry><entry><title type="text">Python - "The Matrix" in your terminal</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/2013/01/python-matrix-in-your-terminal.html" /><category term="python" /><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2013-01-14T06:58:43-08:00</updated><id>tag:blogger.com,1999:blog-5236867476487043111.post-401558891799222288</id><content type="html">&lt;p&gt;
Linux console program in Python, that scrolls binary numbers vertically in your terminal. Inspired by the movie: The Matrix
&lt;/p&gt;

&lt;p&gt;
a screenshot:
&lt;/p&gt;

&lt;a href="http://4.bp.blogspot.com/-o5dt_OVUzEc/UPQXYcb41MI/AAAAAAAAGT0/RKUCJY-uE8c/s1600/matrix_code.png" imageanchor="1"&gt;&lt;img border="0" height="329" src="http://4.bp.blogspot.com/-o5dt_OVUzEc/UPQXYcb41MI/AAAAAAAAGT0/RKUCJY-uE8c/s400/matrix_code.png" width="400" /&gt;&lt;/a&gt;

&lt;p&gt;
in action:
&lt;/p&gt;

&lt;iframe width="560" height="315" src="http://www.youtube.com/embed/96crI0NCbPg" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;

&lt;p&gt;
the Code:
&lt;/p&gt;

&lt;script src="https://gist.github.com/4530348.js"&gt;&lt;/script&gt;

&lt;a href="https://gist.github.com/4530348"&gt;https://gist.github.com/4530348&lt;/a&gt;

&lt;hr /&gt;</content><app:edited xmlns:app="http://www.w3.org/2007/app">2013-01-14T09:58:43.975-05:00</app:edited><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-o5dt_OVUzEc/UPQXYcb41MI/AAAAAAAAGT0/RKUCJY-uE8c/s72-c/matrix_code.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Boston, MA, USA</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">42.3584308 -71.0597732</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">42.170560800000004 -71.38249669999999 42.5463008 -70.7370497</georss:box><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /></entry><entry><title type="text">Python Testing - PhantomJS with Selenium WebDriver</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/2013/01/python-testing-phantomjs-with-selenium.html" /><category term="python" /><category term="selenium" /><category term="phantomjs" /><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2013-01-06T13:35:56-08:00</updated><id>tag:blogger.com,1999:blog-5236867476487043111.post-1511106015880966704</id><content type="html">&lt;p&gt;
&lt;a href="http://phantomjs.org/"&gt;PhantomJS&lt;/a&gt; is a headless &lt;a href="http://en.wikipedia.org/wiki/WebKit"&gt;WebKit&lt;/a&gt; with JavaScript API.  It can be used for headless website testing.  
&lt;/p&gt;

&lt;p&gt;
PhantomJS has a lot of different uses.  The interesting bit for me is to use PhantomJS as a lighter-weight replacement for a browser when running web acceptance tests.  This enables faster testing, without a display or the overhead of full-browser startup/shutdown.
&lt;/p&gt;

&lt;p&gt;
I write my web automation using &lt;a href="http://seleniumhq.org/"&gt;Selenium WebDriver&lt;/a&gt;, in &lt;a href="http://pypi.python.org/pypi/selenium"&gt;Python&lt;/a&gt;.
&lt;/p&gt;

&lt;p&gt;
In future versions of PhantomJS, the &lt;a href="https://github.com/detro/ghostdriver"&gt;GhostDriver&lt;/a&gt; component will be included.
&lt;/p&gt;

&lt;p&gt;
GhostDriver is a pure JavaScript implementation of the &lt;a href="http://code.google.com/p/selenium/wiki/JsonWireProtocol"&gt;WebDriver Wire Protocol&lt;/a&gt; for PhantomJS. It's a Remote WebDriver that uses PhantomJS as back-end.
&lt;/p&gt;

&lt;p&gt;
So, Ghostdriver is the bridge we need to use Selenium WebDriver with Phantom.JS.
&lt;/p&gt;

&lt;p&gt;
Since it is not available in the current PhantomJS release, you can try it yourself by compiling a special version of PhantomJS:
&lt;/p&gt;

&lt;p&gt;
It wes pretty trvial to setup on Ubuntu (12.04):
&lt;/p&gt;

&lt;pre style="font-size:10px;border:0.5px #999999 solid;font-family:monospace;color:#990000;background-color:#EEEEEE;padding:4px;"&gt;
$ sudo apt-get install build-essential chrpath git-core libssl-dev libfontconfig1-dev
$ git clone git://github.com/ariya/phantomjs.git
$ cd phantomjs
$ git checkout 1.8
$ ./build.sh
$ git remote add detro https://github.com/detro/phantomjs.git
$ git fetch detro &amp;&amp; git checkout -b detro-ghostdriver-dev remotes/detro/ghostdriver-dev
$ ./build.sh
&lt;/pre&gt;

&lt;p&gt;
Then grab the `phantomjs` binary it produced (look inside `phantomjs/bin`).  This is a self-contained executable, it can be moved to a different directory or another machine.  Make sure it is located somewhere on your PATH, or declare it's location when creating your PhantomJS driver like the example below.
&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;for these examples, `phantomjs` binary is located in same directory as test script.
&lt;p&gt;
&lt;b&gt;Example: Python Using PhantomJS and Selenium WebDriver&lt;/b&gt;.
&lt;/p&gt;

&lt;pre style="font-size:14px;border:0.5px #999999 solid;font-family:monospace;color:#990000;background-color:#EEEEEE;padding:4px;"&gt;
#!/usr/bin/env python

driver = webdriver.PhantomJS('./phantomjs')
# do webdriver stuff here
driver.quit()
&lt;/pre&gt;

&lt;p&gt;
&lt;b&gt;Example: Python Unit Test Using PhantomJS and Selenium WebDriver&lt;/b&gt;.
&lt;/p&gt; 

&lt;pre style="font-size:14px;border:0.5px #999999 solid;font-family:monospace;color:#990000;background-color:#EEEEEE;padding:4px;"&gt;
#!/usr/bin/env python

import unittest
from selenium import webdriver


class TestUbuntuHomepage(unittest.TestCase):
    
    def setUp(self):
        self.driver = webdriver.PhantomJS('./phantomjs')
        
    def testTitle(self):
        self.driver.get('http://www.ubuntu.com/')
        self.assertIn('Ubuntu', self.driver.title)
        
    def tearDown(self):
        self.driver.quit()


if __name__ == '__main__':
    unittest.main(verbosity=2)
&lt;/pre&gt;

&lt;hr /&gt;

&lt;p&gt;
resources:
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://phantomjs.org/build.html"&gt;http://phantomjs.org/build.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/detro/ghostdriver"&gt;https://github.com/detro/ghostdriver&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://goldb.org/sst/selenium2_api_docs/html/selenium.webdriver.phantomjs.webdriver.WebDriver-class.html"&gt;Selenium WebDriver Python API Documentation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;</content><app:edited xmlns:app="http://www.w3.org/2007/app">2013-01-06T16:35:56.432-05:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /></entry><entry><title type="text">What is the Best Way To Learn Selenium?</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/2012/10/what-is-best-way-to-learn-selenium.html" /><category term="tools" /><category term="testing" /><category term="selenium" /><category term="web" /><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2012-10-13T10:59:49-07:00</updated><id>tag:blogger.com,1999:blog-5236867476487043111.post-1214829955091587108</id><content type="html">&lt;p&gt;
(a small rant on asking answerable questions)
&lt;/p&gt;

&lt;p&gt;
&lt;img src="http://imgs.xkcd.com/comics/duty_calls.png" alt="xkcd comic 386"&gt;&lt;/img&gt;
&lt;img src="http://seleniumhq.org/images/big-logo.png"&gt;&lt;/img&gt;
&lt;/p&gt;

&lt;p&gt;
At a certain online QA/Testing Forum I regularly visit, the &lt;a href="http://www.sqaforums.com/postlist.php?Board=Selenium"&gt;Selenium forum&lt;/a&gt;
is one of the most active.
&lt;/p&gt;

&lt;p&gt;
I continuously see newbie questions like: "How I do I learn Selenium?", 
with little or no other context given.
&lt;/p&gt;

&lt;p&gt;
Then, helpful responders chime in with tangentially related answers.  That's about as good as you can do, based on the lack of information given in the original post.  This happens often and wastes significant brain activity in the responders, while generally giving no value to the OP or forum community.
&lt;/p&gt;

&lt;p&gt;
So first... a clarification:&lt;br /&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://seleniumhq.org/"&gt;Selenium WebDriver&lt;/a&gt; is a system for automating browser interaction. It is accessed via programming library/API.  If you want to use it without touching code, it is not possible (record/replay/export-madness via IDE aside).  You can abstract away most of the programming aspects with higher level frameworks, but at that point you are no longer really dealing with Selenium anymore.
&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;
Here was my response to a &lt;a href=".http://www.sqaforums.com/showflat.php?Number=717978"&gt;recent forum example&lt;/a&gt;:
&lt;/p&gt;

&lt;p&gt;
Question asked:&lt;br /&gt;
&lt;em&gt;"Best way to start learning Selenium - I would like to know what is the best practice to start with Selenium for non programmers.  Is there any books or ebooks?"&lt;/em&gt;
&lt;/p&gt;

&lt;p&gt;
The responses compelled me to chime in with a rant:
&lt;/p&gt;

&lt;hr /&gt;

&lt;em&gt;
&lt;p&gt;
To anyone on this thread looking for the "Best way to start learning Selenium":
&lt;/p&gt;

&lt;p&gt;
Think of it this way:
&lt;/p&gt;

&lt;p&gt;
Selenium (WebDriver) provides language bindings and a similar API for several programming languages. It gives you a programming library that can manipulate a browser and web elements/controls.
&lt;/p&gt;

&lt;p&gt;
You can't "learn" a library for a programming language if you don't know the language itself (syntax, idioms, etc).
&lt;/p&gt;

&lt;p&gt;
So the question shouldn't be: "How do I learn Selenium?", with no other information or context given.
&lt;/p&gt;

&lt;p&gt;
Selenium should be used with either: the supported language that you are most comfortable with, or the language of the system under test you are working against.
&lt;/p&gt;

&lt;p&gt;
If you are looking for information, be specific about what you want to learn. General understanding of the components that make up Selenium is great, but really, using the API's from any language is the best way to learn. If you specify a programming language along with your question, at least answers can be directed towards frameworks, code samples, documentation, tutorials, etc, that are *relevant* to you.
&lt;/p&gt;

&lt;p&gt;
Diving into the main Selenium docs can be confusing at first, as it covers things from a general level... mixing in code samples from various languages.
&lt;/p&gt;

&lt;p&gt;
So, my question to you: Which programming language are you going to use Selenium with? If you define that, someone can surely help point you in the right direction.
&lt;/p&gt;

&lt;p&gt;
How are your programming skills? Which language do you want to learn in? If you know several, switching is trivial down the line, as the API's are similar between languages.
&lt;/p&gt;

&lt;p&gt;
If you don't have skills in any Selenium supported programming language (java, c#, python, ruby, php, etc), then learn one of those before you even touch Selenium. If you have a language in mind, please phrase your question using that in context.
&lt;/p&gt;

&lt;p&gt;
happy hacking,
&lt;/p&gt;

&lt;p&gt;
-Corey
&lt;/p&gt;

&lt;p&gt;
p.s. now go RTFM: &lt;a href="http://seleniumhq.org/docs/"&gt;http://seleniumhq.org/docs/&lt;/a&gt;
&lt;/p&gt;
&lt;/em&gt;

&lt;hr /&gt;

rant over.
</content><app:edited xmlns:app="http://www.w3.org/2007/app">2012-10-13T13:59:49.024-04:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /></entry><entry><title type="text">Python Timer Class - Context Manager for Timing Code Blocks</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/2012/06/python-timer-class-context-manager-for.html" /><category term="python" /><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2012-06-17T07:39:29-07:00</updated><id>tag:blogger.com,1999:blog-5236867476487043111.post-6586650934818400424</id><content type="html">&lt;p&gt;
Here is a handy &lt;strong&gt;Python Timer class&lt;/strong&gt;.  It creates a context manager object, used for timing a block of code.
&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://1.bp.blogspot.com/-A91vjEGn86A/T93pVvmXM6I/AAAAAAAADq0/ANDoFnVxMzY/s1600/timer.jpg" imageanchor="1" style=""&gt;&lt;img border="0" height="140" width="200" src="http://1.bp.blogspot.com/-A91vjEGn86A/T93pVvmXM6I/AAAAAAAADq0/ANDoFnVxMzY/s200/timer.jpg" /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;pre style="font-size:13px;border:0.5px #999999 solid;font-family:monospace;color:#990000;background-color:#EEEEEE;padding:4px;"&gt;
from timeit import default_timer


class Timer(object):
    def __init__(self, verbose=False):
        self.verbose = verbose
        self.timer = default_timer
        
    def __enter__(self):
        self.start = self.timer()
        return self
        
    def __exit__(self, *args):
        end = self.timer()
        self.elapsed_secs = end - self.start
        self.elapsed = self.elapsed_secs * 1000  # millisecs
        if self.verbose:
            print 'elapsed time: %f ms' % self.elapsed
&lt;/pre&gt;

&lt;p&gt;        
To use the Timer (&lt;a href="http://docs.python.org/reference/datamodel.html#context-managers"&gt;context manager&lt;/a&gt; object), invoke it using Python's &lt;a href="http://docs.python.org/reference/compound_stmts.html#with"&gt;`with`&lt;/a&gt; statement.  The duration of the context (code inside your `with` block) will be timed.  It uses the &lt;a href="http://docs.python.org/library/timeit.html#timeit.default_timer"&gt;appropriate timer&lt;/a&gt; for your platform, via the `timeit` module.
&lt;/p&gt;

&lt;p&gt;
Timer is used like this:
&lt;/p&gt;

&lt;pre style="font-size:13px;border:0.5px #999999 solid;font-family:monospace;color:#990000;background-color:#EEEEEE;padding:4px;"&gt;
with Timer() as target:
    # block of code goes here.
    # result (elapsed time) is stored in `target` properties.
&lt;/pre&gt;

&lt;p&gt;
Example script:&lt;br /&gt;
timing a web request (HTTP GET), using the &lt;a href="http://docs.python-requests.org/"&gt;`requests`&lt;/a&gt; module.
&lt;/p&gt;

&lt;pre style="font-size:13px;border:0.5px #999999 solid;font-family:monospace;color:#990000;background-color:#EEEEEE;padding:4px;"&gt;
#!/usr/bin/env python

import requests
from timer import Timer

url = 'https://github.com/timeline.json'

with Timer() as t:
    r = requests.get(url)
    
print 'fetched %r in %.2f millisecs' % (url, t.elapsed)
&lt;/pre&gt;

&lt;p&gt;
Output:
&lt;/p&gt;

&lt;pre style="font-size:13px;border:0.5px #999999 solid;font-family:monospace;color:#990000;background-color:#EEEEEE;padding:4px;"&gt;
fetched 'https://github.com/timeline.json' in 458.76 millisecs
&lt;/pre&gt; 

&lt;hr /&gt;

&lt;p&gt;    
&lt;a href="https://gist.github.com/2942781"&gt;`timer.py`&lt;/a&gt; in GitHub Gist form, with more examples:
&lt;/p&gt;

&lt;script src="https://gist.github.com/2942781.js?file=timer.py"&gt;&lt;/script&gt;</content><app:edited xmlns:app="http://www.w3.org/2007/app">2012-06-17T10:39:29.618-04:00</app:edited><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-A91vjEGn86A/T93pVvmXM6I/AAAAAAAADq0/ANDoFnVxMzY/s72-c/timer.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">8</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Boston, MA, USA</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">42.3584308 -71.0597732</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">42.2645643 -71.21770169999999 42.4522973 -70.9018447</georss:box><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /></entry><entry><title type="text">My Evolving Droids</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/2012/06/my-evolving-droids.html" /><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2012-06-16T06:25:37-07:00</updated><id>tag:blogger.com,1999:blog-5236867476487043111.post-3084867101215711230</id><content type="html">&lt;a href="http://3.bp.blogspot.com/-WB1lkuxyK44/T9yHMmX2NiI/AAAAAAAADpY/xJKCJEr2Dr0/s1600/Motorola-Verizon_Droid_DroidX_DroidRazr.jpg" imageanchor="1" style=""&gt;&lt;img border="0" width="500" src="http://3.bp.blogspot.com/-WB1lkuxyK44/T9yHMmX2NiI/AAAAAAAADpY/xJKCJEr2Dr0/s400/Motorola-Verizon_Droid_DroidX_DroidRazr.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;em&gt;(Droid -&gt; Droid X -&gt; Droid Razr) [stock pics]&lt;/em&gt;

&lt;p&gt;
In the past few years, mobile devices have turned into amazing little pocket computers.  I'm blown away by the hardware (ARM) and software (Android) evolution.
&lt;/p&gt;

&lt;p&gt;
For smartphone wireless service, I &lt;em&gt;was&lt;/em&gt; a Verizon customer (USA) for the past decade.  I've owned the flagship Droid series devices by Motorola since their first launch (currently running on the 4G LTE network).  It started with a clunky original &lt;strong&gt;Droid&lt;/strong&gt;, followed by a &lt;strong&gt;Droid X&lt;/strong&gt;, and then the sleek &lt;strong&gt;Droid Razr&lt;/strong&gt;... every year another generation of better, faster devices.
&lt;/p&gt;


&lt;strong&gt;Device Specs:&lt;/strong&gt;

&lt;p&gt;
&lt;strong&gt;Motorola Droid&lt;/strong&gt; - Nov 2009
&lt;ul&gt;
  &lt;li&gt;OS: Android v2.0&lt;/li&gt;
  &lt;li&gt;CPU: 600 MHz ARM Cortex-A8 (TI OMAP3430, 65nm)&lt;/li&gt;
  &lt;li&gt;RAM: 256 MB&lt;/li&gt;
  &lt;li&gt;Internal Storage: 512 MB&lt;/li&gt;
  &lt;li&gt;Screen Size: 3.7 inch&lt;/li&gt;
  &lt;li&gt;Resolution: 480 x 854&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Motorola Droid X&lt;/strong&gt; - July 2010
&lt;ul&gt;
  &lt;li&gt;OS: Android v2.1&lt;/li&gt;
  &lt;li&gt;CPU: 1 GHz ARM Cortex-A8 (TI OMAP3630, 45nm)&lt;/li&gt;
  &lt;li&gt;RAM: 512 MB&lt;/li&gt;
  &lt;li&gt;Internal Storage: 8 GB&lt;/li&gt;
  &lt;li&gt;Screen Size: 4.3 inch&lt;/li&gt;
  &lt;li&gt;Resolution: 480 x 854&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Motorola Droid Razr&lt;/strong&gt; - Nov 2011
&lt;ul&gt;
  &lt;li&gt;OS: Android v2.3&lt;/li&gt;
  &lt;li&gt;CPU: 1.2 GHz dual-core ARM Cortex-A9 (TI OMAP4430, 45nm)&lt;/li&gt;
  &lt;li&gt;RAM: 1 GB&lt;/li&gt;
  &lt;li&gt;Internal Storage: 16 GB&lt;/li&gt;
  &lt;li&gt;Screen Size: 4.3 inch&lt;/li&gt;
  &lt;li&gt;Resolution: 540 x 960&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;

&lt;p&gt;
However, my life with the Moto Droids is coming to an end.  I just signed up with a new wireless carrier and pre-ordered a new Sammy GS3!:
&lt;/p&gt;

&lt;a href="http://4.bp.blogspot.com/-N8-MjzfT3CU/T9yHM44eCWI/AAAAAAAADpk/HLpHlB5Ka0Q/s1600/Samsung_Galaxy_S3_pebble_blue.jpg" imageanchor="1" style=""&gt;&lt;img border="0" width="380" src="http://4.bp.blogspot.com/-N8-MjzfT3CU/T9yHM44eCWI/AAAAAAAADpk/HLpHlB5Ka0Q/s400/Samsung_Galaxy_S3_pebble_blue.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;em&gt;(Samsung Galaxy S3) [stock pic]&lt;/em&gt;

&lt;p&gt;
&lt;strong&gt;Samsung Galaxy S3&lt;/strong&gt; - June 2012
&lt;ul&gt;
  &lt;li&gt;OS: Android v4.0&lt;/li&gt;
  &lt;li&gt;CPU: 1.5 GHz dual-core Krait (Qualcomm Snapdragon S4 MSM8960, 28nm)&lt;/li&gt;
  &lt;li&gt;RAM: 2 GB&lt;/li&gt;
  &lt;li&gt;Internal Storage: 16 GB&lt;/li&gt;
  &lt;li&gt;Screen Size: 4.8 inch&lt;/li&gt;
  &lt;li&gt;Resolution: 720 x 1280&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;</content><app:edited xmlns:app="http://www.w3.org/2007/app">2012-06-16T09:25:37.619-04:00</app:edited><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-WB1lkuxyK44/T9yHMmX2NiI/AAAAAAAADpY/xJKCJEr2Dr0/s72-c/Motorola-Verizon_Droid_DroidX_DroidRazr.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Boston, MA, USA</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">42.3584308 -71.0597732</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">42.2645643 -71.21770169999999 42.4522973 -70.9018447</georss:box><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /></entry><entry><title type="text">Home Audio Setup</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/2012/06/home-audio-setup.html" /><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2012-06-14T09:40:48-07:00</updated><id>tag:blogger.com,1999:blog-5236867476487043111.post-4956647243781888696</id><content type="html">&lt;p&gt;
I work from my apartment and listen to music or talk-radio nearly 24-hours a day (even at soft volume while I sleep).  My home audio setup is pretty important to me.
&lt;/p&gt;

&lt;a href="http://4.bp.blogspot.com/-yegbIUY7MTg/T9oSx7QU8PI/AAAAAAAADnQ/XM-3bQXwld8/s1600/streaming_music.jpg" imageanchor="1" style=""&gt;&lt;img border="0" height="160" width="196" src="http://4.bp.blogspot.com/-yegbIUY7MTg/T9oSx7QU8PI/AAAAAAAADnQ/XM-3bQXwld8/s200/streaming_music.jpg" /&gt;&lt;/a&gt;

&lt;p&gt;
Here is a description of the current rig for home listening:
&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;
&lt;strong&gt;The Gear:&lt;/strong&gt;
&lt;/p&gt;

&lt;ul&gt;
    &lt;li&gt;Media Server (Ubuntu, Logitech Media Server)&lt;/li&gt;
    &lt;li&gt;Touchscreen UI (Android, Squeezebox Controller)&lt;/li&gt;
    &lt;li&gt;Wifi Music Player (Squeezebox Touch)&lt;/li&gt;
    &lt;li&gt;Amplifier (Harman Kardon)&lt;/li&gt;
    &lt;li&gt;5 Speakers (Polk Audio)&lt;/li&gt;
&lt;/ul&gt;

&lt;hr /&gt;

&lt;p&gt;
&lt;strong&gt;The Content:&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em&gt;Streaming Radio Networks:&lt;/em&gt;
&lt;/p&gt;

&lt;ul&gt;
    &lt;li&gt;Slacker Radio Plus ($3.99/month) - &lt;a href="http://www.slacker.com/"&gt;slacker.com&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;SiriusXM Internet Radio ($14.49/month) - &lt;a href="http://www.siriusxm.com/"&gt;siriusxm.com&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;Pandora (Free account) - &lt;a href="http://www.pandora.com/"&gt;pandora.com&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;SomaFM (Free) - &lt;a href="http://somafm.com/"&gt;somafm.com&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;em&gt;MP3 Collection:&lt;/em&gt;
&lt;/p&gt;

&lt;ul&gt;
    &lt;li&gt;7010 Files&lt;/li&gt;
    &lt;li&gt;60 GB&lt;/li&gt;
    &lt;li&gt;Track List: &lt;a href="http://goldb.org/mp3.html"&gt;Corey's MP3s&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;hr /&gt;

&lt;p&gt;
Tablet interface (Logitech Squeezebox Controller):
&lt;/p&gt;

&lt;a href="http://4.bp.blogspot.com/-cFPlyApX6X8/T9oTrH8nacI/AAAAAAAADn0/kYnGjB8p4FI/s1600/Squeezebox_Controller_Android_ICS.png" imageanchor="1" style=""&gt;&lt;img border="0" height="234" width="400" src="http://4.bp.blogspot.com/-cFPlyApX6X8/T9oTrH8nacI/AAAAAAAADn0/kYnGjB8p4FI/s400/Squeezebox_Controller_Android_ICS.png" /&gt;&lt;/a&gt;

&lt;p&gt;
Web interface (Logitech Media Server 7.7.2):
&lt;/p&gt;

&lt;a href="http://2.bp.blogspot.com/-DCgOFGOpPpI/T9oTcfQY3CI/AAAAAAAADno/yj77e1QUufU/s1600/squeezebox_web_interface_7.7.2.png" imageanchor="1" style=""&gt;&lt;img border="0" height="400" width="317" src="http://2.bp.blogspot.com/-DCgOFGOpPpI/T9oTcfQY3CI/AAAAAAAADno/yj77e1QUufU/s400/squeezebox_web_interface_7.7.2.png" /&gt;&lt;/a&gt;

&lt;hr /&gt;

Rock on!</content><app:edited xmlns:app="http://www.w3.org/2007/app">2012-06-14T12:40:48.035-04:00</app:edited><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-yegbIUY7MTg/T9oSx7QU8PI/AAAAAAAADnQ/XM-3bQXwld8/s72-c/streaming_music.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Boston, MA, USA</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">42.3584308 -71.0597732</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">42.2645643 -71.21770169999999 42.4522973 -70.9018447</georss:box><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /></entry><entry><title type="text">History of Python - Development Visualization - Gource</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/2012/06/history-of-python-development.html" /><category term="python" /><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2012-06-04T17:07:26-07:00</updated><id>tag:blogger.com,1999:blog-5236867476487043111.post-428208208086725158</id><content type="html">&lt;p&gt;
I made a new visualization.  Have a look!
&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.youtube.com/watch?v=cNBtDstOTmA&amp;hd=1"&gt;History of Python - Gource - development visualization (august 1990 - june 2012)&lt;/a&gt;&lt;br /&gt;
[HD video, encoded at 1080p. watch on YouTube in highest resolution possible.]
&lt;/p&gt;

&lt;iframe width="560" height="315" src="http://www.youtube.com/embed/cNBtDstOTmA?rel=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;

&lt;p&gt;
&lt;strong&gt;What is it?&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
This is a visualization of Python core development.  It shows growth of the Python project's source code over time (August 1990 - June 2012).  Nearly 22 years!  The source code history and relations are displayed by Gource as an animated tree, tracking commits over time.  Directories appear as branches with files as leaves. Developers can be seen working on the tree at the times they contributed to the Python project.
&lt;/p&gt;

&lt;p&gt;
&lt;em&gt;Video:&lt;/em&gt;&lt;br /&gt;
Rendered with &lt;a href="http://code.google.com/p/gource/"&gt;Gource&lt;/a&gt; v0.37 on Ubuntu 12.04
&lt;/p&gt;

&lt;p&gt;
&lt;em&gt;Music:&lt;/em&gt;&lt;br /&gt;
&lt;a href="http://freemusicarchive.org/music/Chris_Zabriskie"&gt;Chris Zabriskie - The Life and Death of a Certain K Zabriskie Patriarch&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;em&gt;Repository:&lt;/em&gt;&lt;br /&gt;
cpython 3.3.0 alpha, retrieved from mercurial on June 2 2012
&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;
for more visualizations and other videos, check out &lt;a href="http://www.youtube.com/c0reyg"&gt;my YouTube channel&lt;/a&gt;.
&lt;/p&gt;</content><app:edited xmlns:app="http://www.w3.org/2007/app">2012-06-04T20:07:26.214-04:00</app:edited><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://img.youtube.com/vi/cNBtDstOTmA/default.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Boston, MA, USA</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">42.3584308 -71.0597732</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">42.2645643 -71.21770169999999 42.4522973 -70.9018447</georss:box><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /></entry><entry><title type="text">SST 0.2.1 Release Announcement (selenium-simple-test)</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/2012/04/sst-021-release-announcement-selenium.html" /><category term="python" /><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2012-04-23T11:02:26-07:00</updated><id>tag:blogger.com,1999:blog-5236867476487043111.post-5754354347068900419</id><content type="html">&lt;p&gt;
&lt;strong&gt;SST version 0.2.1 has been released.&lt;/strong&gt;
&lt;/p&gt;

&lt;img src="http://testutils.org/sst/_static/sst-logo_small.png" /&gt;

&lt;p&gt;
&lt;a href="http://testutils.org/sst"&gt;SST&lt;/a&gt; (selenium-simple-test) is a web test framework that uses Python to generate functional browser-based tests.
&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;
SST version 0.2.1 is on PyPI: &lt;a href="http://pypi.python.org/pypi/sst"&gt;http://pypi.python.org/pypi/sst&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
install or upgrade with:
&lt;/p&gt;
&lt;pre style="font-size:15px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding:8px;"&gt;
pip install -U sst
&lt;/pre&gt;

&lt;p&gt;
Changelog: &lt;a href="http://testutils.org/sst/changelog.html"&gt;http://testutils.org/sst/changelog.html&lt;/a&gt;&lt;br /&gt;
SST Docs: &lt;a href="http://testutils.org/sst"&gt;http://testutils.org/sst&lt;/a&gt;&lt;br /&gt;
SST on Launchpad: &lt;a href="https://launchpad.net/selenium-simple-test"&gt;https://launchpad.net/selenium-simple-test&lt;/a&gt;&lt;br /&gt;
&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;
SST downloads | (Jan 1 2012 - April 23 2012)
&lt;/p&gt;

&lt;div class="separator" style="clear: both;"&gt;
&lt;a href="http://2.bp.blogspot.com/-NfGlXi6Cfoo/T5WYhY7BTDI/AAAAAAAADPU/N6CsEVFjaGM/s1600/SST_downloads_pypi_2012-04-23.png" imageanchor="1" style=""&gt;&lt;img border="0" height="276" width="400" src="http://2.bp.blogspot.com/-NfGlXi6Cfoo/T5WYhY7BTDI/AAAAAAAADPU/N6CsEVFjaGM/s400/SST_downloads_pypi_2012-04-23.png" /&gt;&lt;/a&gt;&lt;/div&gt;

&lt;p&gt;
1600+ downloads from PyPI since initial release.
&lt;/p&gt;</content><app:edited xmlns:app="http://www.w3.org/2007/app">2012-04-23T14:02:26.276-04:00</app:edited><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-NfGlXi6Cfoo/T5WYhY7BTDI/AAAAAAAADPU/N6CsEVFjaGM/s72-c/SST_downloads_pypi_2012-04-23.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /></entry><entry><title type="text">Python - Getting Data Into Graphite - Code Examples</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/2012/04/python-getting-data-into-graphite-code.html" /><category term="python" /><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2012-04-09T09:16:49-07:00</updated><id>tag:blogger.com,1999:blog-5236867476487043111.post-3479065951823805010</id><content type="html">&lt;p&gt;
This post shows code examples in Python (2.7) for sending data to &lt;a href="http://coreygoldberg.blogspot.com/2012/04/python-graphite-storage-and.html"&gt;Graphite&lt;/a&gt;.
&lt;/p&gt;

&lt;p&gt;
Once you have a &lt;a href="http://coreygoldberg.blogspot.com/2012/04/installing-graphite-099-on-ubuntu-1204.html"&gt;Graphite server setup&lt;/a&gt;, with Carbon running/collecting, you need to send it data for graphing.
&lt;/p&gt;

&lt;p&gt;
Basically, you write a program to collect numeric values and send them to Graphite's backend aggregator (Carbon).
&lt;/p&gt;

&lt;p&gt;
To send data, you create a &lt;a href="http://docs.python.org/library/socket.html"&gt;socket&lt;/a&gt; connection to the graphite/carbon server and send a message (string) in the format:
&lt;/p&gt;

&lt;pre style="font-size:13px;border:0.5px #999999 solid;font-family:monospace;color:#990000;background-color:#EEEEEE;padding:4px;"&gt;
"metric_path value timestamp\n"
&lt;/pre&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;b&gt;`metric_path`&lt;/b&gt;: arbitrary namespace containing substrings delimited by dots. The most general name is at the left and the most specific is at the right.&lt;/li&gt;
  &lt;li&gt;&lt;b&gt;`value`&lt;/b&gt;: numeric value to store.&lt;/li&gt;
  &lt;li&gt;&lt;b&gt;`timestamp`&lt;/b&gt;: epoch time.&lt;/li&gt;
  &lt;li&gt;messages must end with a trailing newline.&lt;/li&gt;
  &lt;li&gt;multiple messages maybe be batched and sent in a single socket operation. each message is delimited by a newline, with a trailing newline at the end of the message batch.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Example message:
&lt;/p&gt;

&lt;pre style="font-size:13px;border:0.5px #999999 solid;font-family:monospace;color:#990000;background-color:#EEEEEE;padding:4px;"&gt;
"foo.bar.baz 42 74857843\n" 
&lt;/pre&gt;

&lt;p&gt;
Let's look at some (Python 2.7) code for sending data to graphite...
&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;
Here is a simple client that sends a single message to graphite.
&lt;/p&gt;

&lt;p&gt;
Code:
&lt;/p&gt;

&lt;pre style="font-size:12px;border:0.5px #999999 solid;font-family:monospace;color:#990000;background-color:#EEEEEE;padding:4px;"&gt;
#!/usr/bin/env python

import socket
import time


CARBON_SERVER = '0.0.0.0'
CARBON_PORT = 2003

message = 'foo.bar.baz 42 %d\n' % int(time.time())

print 'sending message:\n%s' % message
sock = socket.socket()
sock.connect((CARBON_SERVER, CARBON_PORT))
sock.sendall(message)
sock.close()

&lt;/pre&gt;

&lt;hr /&gt;

&lt;p&gt;
Here is a command line client that sends a single message to graphite:
&lt;/p&gt;

&lt;p&gt;
Usage: 
&lt;/p&gt;

&lt;pre style="font-size:12px;border:0.5px #999999 solid;font-family:monospace;color:#990000;background-color:#EEEEEE;padding:4px;"&gt;
$ python client-cli.py metric_path value
&lt;/pre&gt;

&lt;p&gt;
Code:
&lt;/p&gt;

&lt;pre style="font-size:12px;border:0.5px #999999 solid;font-family:monospace;color:#990000;background-color:#EEEEEE;padding:4px;"&gt;
#!/usr/bin/env python

import argparse
import socket
import time


CARBON_SERVER = '0.0.0.0'
CARBON_PORT = 2003


parser = argparse.ArgumentParser()
parser.add_argument('metric_path')
parser.add_argument('value')
args = parser.parse_args()


if __name__ == '__main__':
    timestamp = int(time.time())
    message = '%s %s %d\n' % (args.metric_path, args.value, timestamp)
    
    print 'sending message:\n%s' % message
    sock = socket.socket()
    sock.connect((CARBON_SERVER, CARBON_PORT))
    sock.sendall(message)
    sock.close()

&lt;/pre&gt;   

&lt;hr /&gt;

&lt;p&gt;
Here is a client that collects &lt;a href="http://en.wikipedia.org/wiki/Load_(computing)"&gt;load average&lt;/a&gt; (Linux-only) and sends a batch of 3 messages (1min/5min/15min loadavg) to graphite.  It will run continuously in a loop until killed.  (adjust the delay for faster/slower collection interval):
&lt;/p&gt;

&lt;pre style="font-size:12px;border:0.5px #999999 solid;font-family:monospace;color:#990000;background-color:#EEEEEE;padding:4px;"&gt;
#!/usr/bin/env python
 
import platform
import socket
import time


CARBON_SERVER = '0.0.0.0'
CARBON_PORT = 2003
DELAY = 15  # secs


def get_loadavgs():
    with open('/proc/loadavg') as f:
        return f.read().strip().split()[:3]


def send_msg(message):
    print 'sending message:\n%s' % message
    sock = socket.socket()
    sock.connect((CARBON_SERVER, CARBON_PORT))
    sock.sendall(message)
    sock.close()


if __name__ == '__main__':
    node = platform.node().replace('.', '-')
    while True:
        timestamp = int(time.time())
        loadavgs = get_loadavgs()
        lines = [
            'system.%s.loadavg_1min %s %d' % (node, loadavgs[0], timestamp),
            'system.%s.loadavg_5min %s %d' % (node, loadavgs[1], timestamp),
            'system.%s.loadavg_15min %s %d' % (node, loadavgs[2], timestamp)
        ]
        message = '\n'.join(lines) + '\n'
        send_msg(message)
        time.sleep(DELAY)

&lt;/pre&gt;

&lt;hr /&gt;

&lt;p&gt;
Resources:
&lt;/p&gt;

&lt;ul&gt;
    &lt;li&gt;&lt;a href="http://graphite.wikidot.com"&gt;Graphite Docs&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="http://graphite.wikidot.com/getting-your-data-into-graphite"&gt;Graphite Docs - Getting Your Data Into Graphite&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="http://coreygoldberg.blogspot.com/2012/04/installing-graphite-099-on-ubuntu-1204.html"&gt;Installing Graphite 0.9.9 on Ubuntu 12.04 LTS&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="http://agiletesting.blogspot.com/2011/04/installing-and-configuring-graphite.html"&gt;Installing and configuring Graphite&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><app:edited xmlns:app="http://www.w3.org/2007/app">2012-04-09T12:16:49.268-04:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /></entry><entry><title type="text">Installing Graphite 0.9.9 on Ubuntu 12.04 LTS</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/2012/04/installing-graphite-099-on-ubuntu-1204.html" /><category term="python" /><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2012-04-07T10:26:30-07:00</updated><id>tag:blogger.com,1999:blog-5236867476487043111.post-2575951543578343606</id><content type="html">&lt;p&gt;
I just setup a &lt;a href="http://coreygoldberg.blogspot.com/2012/04/python-graphite-storage-and.html"&gt;Graphite server&lt;/a&gt; on Ubuntu 12.04 (Precise).
&lt;/p&gt;

&lt;p&gt;
Here are some instructions for getting it all working (using Apache as web server).
&lt;/p&gt;

&lt;p&gt;
It follows these steps:
&lt;/p&gt;

&lt;ul&gt;
    &lt;li&gt;install system dependencies (apache, django, dev libs, etc)&lt;/li&gt;
    &lt;li&gt;install Whisper (db lib)&lt;/li&gt;
    &lt;li&gt;install and configure Carbon (data aggregator)&lt;/li&gt;
    &lt;li&gt;install Graphite (django webapp)&lt;/li&gt;
    &lt;li&gt;configure Apache (http server)&lt;/li&gt;
    &lt;li&gt;create initial database&lt;/li&gt;
    &lt;li&gt;start Carbon (data aggregator)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Once that is done, you should be able to visit the host in your web browser and see the Graphite UI.
&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;Setup Instructions:&lt;/p&gt;

&lt;pre style="font-size:10px;border:0.5px #999999 solid;font-family:monospace;color:#990000;background-color:#EEEEEE;padding:2px;"&gt;
#############################
# INSTALL SYSTEM DEPENDENCIES
#############################

$ sudo apt-get install apache2 libapache2 libapache2-mod-wsgi /
    libapache2-mod-python memcached python-dev python-cairo-dev /
    python-django python-ldap python-memcache python-pysqlite2 /
    python-pip sqlite3 erlang-os-mon erlang-snmp rabbitmq-server
    
$ sudo pip install django-tagging

#################
# INSTALL WHISPER
#################

$ sudo pip install http://launchpad.net/graphite/0.9/0.9.9/+download/whisper-0.9.9.tar.gz

################################################
# INSTALL AND CONFIGURE CARBON (data aggregator)
################################################

$ sudo pip install http://launchpad.net/graphite/0.9/0.9.9/+download/carbon-0.9.9.tar.gz
$ cd /opt/graphite/conf/
$ sudo cp carbon.conf.example carbon.conf
$ sudo cp storage-schemas.conf.example storage-schemas.conf

###########################
# INSTALL GRAPHITE (webapp)
###########################

$ sudo pip install http://launchpad.net/graphite/0.9/0.9.9/+download/graphite-web-0.9.9.tar.gz

or

$ wget http://launchpad.net/graphite/0.9/0.9.9/+download/graphite-web-0.9.9.tar.gz
$ tar -zxvf graphite-web-0.9.9.tar.gz
$ mv graphite-web-0.9.9 graphite
$ cd graphite
$ sudo python check-dependencies.py
$ sudo python setup.py install

##################
# CONFIGURE APACHE
##################

$ cd graphite/examples
$ sudo cp example-graphite-vhost.conf /etc/apache2/sites-available/default
$ sudo cp /opt/graphite/conf/graphite.wsgi.example /opt/graphite/conf/graphite.wsgi
$ sudo mkdir /etc/httpd
$ sudo mkdir /etc/httpd/wsgi
$ sudo /etc/init.d/apache2 reload

#########################
# CREATE INITIAL DATABASE 
#########################

$ cd /opt/graphite/webapp/graphite/
$ sudo python manage.py syncdb
$ sudo chown -R www-data:www-data /opt/graphite/storage/
$ sudo /etc/init.d/apache2 restart
$ sudo cp local_settings.py.example local_settings.py

################################
# START CARBON (data aggregator)
################################

$ cd /opt/graphite/
$ sudo ./bin/carbon-cache.py start

&lt;/pre&gt;

&lt;p&gt;
Resources:
&lt;/p&gt;

&lt;ul&gt;
    &lt;li&gt;&lt;a href="http://graphite.readthedocs.org/en/latest/install.html"&gt;http://graphite.readthedocs.org/en/latest/install.html&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="http://graphite.wikidot.com/installation"&gt;http://graphite.wikidot.com/installation&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/"&gt;http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;hr /&gt;

&lt;p&gt;
* works on my machine, Ubuntu 12.04
&lt;/p&gt;</content><app:edited xmlns:app="http://www.w3.org/2007/app">2012-04-07T13:26:30.902-04:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">6</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /></entry><entry><title type="text">Python - Graphite: Storage and Visualization of Time-series Data</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/2012/04/python-graphite-storage-and.html" /><category term="python" /><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2012-04-07T04:45:28-07:00</updated><id>tag:blogger.com,1999:blog-5236867476487043111.post-4866018540846996112</id><content type="html">&lt;p&gt;
I'm doing some work with &lt;strong&gt;Graphite&lt;/strong&gt; in Python.  Here is a quick overview of what Graphite is...
&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;
&lt;strong&gt;Graphite&lt;/strong&gt; provides real-time visualization and storage of numeric time-series data.
&lt;/p&gt;

&lt;p&gt;
Links:
&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Project: &lt;a href="https://launchpad.net/graphite"&gt;https://launchpad.net/graphite&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Docs: &lt;a href="http://graphite.readthedocs.org"&gt;http://graphite.readthedocs.org&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Graphite does two things:
&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Store numeric time-series data&lt;/li&gt;
&lt;li&gt;Render graphs of this data on demand&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Graphite consists of a storage backend and a web-based visualization frontend.  Client applications send streams of numeric time-series data to the Graphite backend (called carbon), where it gets stored in fixed-size database files similar in design to RRD. The web frontend provides 2 distinct user interfaces for visualizing this data in graphs as well as a simple URL-based API for direct graph generation.
&lt;/p&gt;

&lt;p&gt;
Graphite consists of 3 software components:
&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;carbon&lt;/strong&gt; - a Twisted daemon that listens for time-series data&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;whisper&lt;/strong&gt; - a simple database library for storing time-series data (similar in design to RRD)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;graphite webapp&lt;/strong&gt; - A Django webapp that renders graphs on-demand using Cairo&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-td4PhqtoLmE/T4AoEmg3krI/AAAAAAAADAs/RboE-QdM2PE/s1600/graphite_web-graph.png" imageanchor="1" style=""&gt;&lt;img border="0" height="298" width="400" src="http://4.bp.blogspot.com/-td4PhqtoLmE/T4AoEmg3krI/AAAAAAAADAs/RboE-QdM2PE/s400/graphite_web-graph.png" /&gt;&lt;/a&gt;&lt;/div&gt;</content><app:edited xmlns:app="http://www.w3.org/2007/app">2012-04-07T07:45:28.170-04:00</app:edited><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-td4PhqtoLmE/T4AoEmg3krI/AAAAAAAADAs/RboE-QdM2PE/s72-c/graphite_web-graph.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /></entry><entry><title type="text">Python Book Giveaway - Boston Python User Group - April 12, 2012</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/2012/04/python-book-giveaway-boston-python-user.html" /><category term="python" /><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2012-04-05T06:17:52-07:00</updated><id>tag:blogger.com,1999:blog-5236867476487043111.post-3974517846451529992</id><content type="html">&lt;p&gt;
I am bringing some of my [lightly read] Python books to give away at the next &lt;a href="http://meetup.bostonpython.com"&gt;Boston Python User Group&lt;/a&gt; meetup.
&lt;/p&gt;

&lt;p&gt;
&lt;b&gt;&lt;a href="http://meetup.bostonpython.com/events/51175882/"&gt;Boston Python User Group - April Project Night&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;i&gt;When&lt;/i&gt;: Thursday, April 12, 2012, 6:30 PM&lt;br /&gt;
&lt;i&gt;Where&lt;/i&gt;: Microsoft NERD, Cambridge&lt;br /&gt;
&lt;/p&gt;


&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;a href="http://2.bp.blogspot.com/-zTGQdzWdbzI/T32a4EiCHBI/AAAAAAAADAc/s_Z_e77KSgA/s1600/bostonpython-book-giveaway.jpg" imageanchor="1" style=""&gt;&lt;img border="0" height="300" width="400" src="http://2.bp.blogspot.com/-zTGQdzWdbzI/T32a4EiCHBI/AAAAAAAADAc/s_Z_e77KSgA/s400/bostonpython-book-giveaway.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;

&lt;p&gt;
Books:
&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Pro Python (Alchin)&lt;/li&gt;
&lt;li&gt;Head First Python (Barry)&lt;/li&gt;
&lt;li&gt;Programming in Python 3 (Summerfield)&lt;/li&gt;
&lt;li&gt;Python Programming Patterns (Christopher)&lt;/li&gt;
&lt;li&gt;Hello World! (Sande)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
If you are interested in getting a free book, come to #bostonpython Project Night on April 12!
&lt;/p&gt;</content><app:edited xmlns:app="http://www.w3.org/2007/app">2012-04-05T09:17:52.099-04:00</app:edited><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-zTGQdzWdbzI/T32a4EiCHBI/AAAAAAAADAc/s_Z_e77KSgA/s72-c/bostonpython-book-giveaway.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /></entry><entry><title type="text">Python Screencast: Install/Setup "SST Web Test Framework" on Ubuntu 12.04</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/2012/03/python-screencast-installsetup-sst-web.html" /><category term="python" /><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2012-03-24T09:59:24-07:00</updated><id>tag:blogger.com,1999:blog-5236867476487043111.post-3183044741162023684</id><content type="html">&lt;p&gt;
I uploaded a 5 minute video/screencast showing how to install and setup &lt;a href="http://testutils.org/sst/"&gt;SST Web Test Framework&lt;/a&gt; on &lt;a href="http://www.ubuntu.com/"&gt;Ubuntu&lt;/a&gt; (Precise Pangolin 12.04).
&lt;/p&gt;

&lt;p&gt;
I step through: creating a virtualenv, installing &lt;a href="http://testutils.org/sst/"&gt;SST&lt;/a&gt; from &lt;a href="http://pypi.python.org/pypi/sst"&gt;PyPI&lt;/a&gt;, and creating a basic automated web test:
&lt;/p&gt;

&lt;a href="http://www.youtube.com/watch?v=LpSvGmglZPI"&gt;http://www.youtube.com/watch?v=LpSvGmglZPI&lt;/a&gt;
&lt;br /&gt;

&lt;iframe width="480" height="360" src="http://www.youtube.com/embed/LpSvGmglZPI?rel=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;

&lt;p&gt;
the following steps are essentially a transcript of what I did...
&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;
install system package dependencies:
&lt;/p&gt;

&lt;pre style="font-size:14px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding:6px;"&gt;
$ sudo apt-get install python-virtualenv xvfb
&lt;/pre&gt;

&lt;p&gt;
create a "&lt;a href="http://www.virtualenv.org"&gt;virtualenv&lt;/a&gt;":
&lt;/p&gt;

&lt;pre style="font-size:14px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding:6px;"&gt;
$ virtualenv ENV
&lt;/pre&gt;

&lt;p&gt;
active the virtualenv:
&lt;/p&gt;

&lt;pre style="font-size:14px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding:6px;"&gt;
$ cd ENV
$ source bin/activate
(ENV)$
&lt;/pre&gt;

&lt;p&gt;
&lt;i&gt;* notice your prompt changed, signifying the virtualenv is active&lt;/i&gt;
&lt;/p&gt;

&lt;p&gt;
install SST using `&lt;a href="http://www.pip-installer.org"&gt;pip&lt;/a&gt;`:
&lt;/p&gt;

&lt;pre style="font-size:14px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding:6px;"&gt;
(ENV)$ pip install sst
&lt;/pre&gt;

&lt;p&gt;
Now SST is installed.  You can check the version of SST:
&lt;/p&gt;

&lt;pre style="font-size:14px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding:6px;"&gt;
$ sst-run -V
&lt;/pre&gt;

&lt;hr /&gt;</content><app:edited xmlns:app="http://www.w3.org/2007/app">2012-03-24T12:59:24.712-04:00</app:edited><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://img.youtube.com/vi/LpSvGmglZPI/default.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /></entry><entry><title type="text">Codeswarm - Python Core Development Visualization</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/2012/03/codeswarm-python-core-development.html" /><category term="python" /><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2012-03-08T09:14:52-08:00</updated><id>tag:blogger.com,1999:blog-5236867476487043111.post-5729428969472644513</id><content type="html">&lt;p&gt;
particle visualization of Python core development commits: Jan 1, 2010 - Mar 06, 2012
&lt;/p&gt;

&lt;a href="http://www.youtube.com/watch?v=IQPuU_YtN8Q"&gt;http://www.youtube.com/watch?v=IQPuU_YtN8Q&lt;/a&gt;&lt;br /&gt;

&lt;iframe width="560" height="315" src="http://www.youtube.com/embed/IQPuU_YtN8Q" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br /&gt;

&lt;p&gt;
data source is the commit log from cpython mercurial trunk:
&lt;/p&gt;

&lt;pre style="font-size:14px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding:6px;"&gt;
$ hg clone http://hg.python.org/cpython
&lt;/pre&gt;

&lt;p&gt;
... trimmed to show development activity since Jan 1, 2010.
&lt;/p&gt;

&lt;p&gt;
(images making up this video were rendered with: &lt;a href="http://www.michaelogawa.com/code_swarm/"&gt;Codeswarm&lt;/a&gt;)
&lt;/p&gt;</content><app:edited xmlns:app="http://www.w3.org/2007/app">2012-03-08T12:14:52.013-05:00</app:edited><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://img.youtube.com/vi/IQPuU_YtN8Q/default.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /></entry><entry><title type="text">SST - Automated Web Page Profiling (Python)</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/2012/03/sst-automated-web-page-profiling-python.html" /><category term="python" /><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2012-03-05T06:04:10-08:00</updated><id>tag:blogger.com,1999:blog-5236867476487043111.post-8749377410492757625</id><content type="html">&lt;p&gt;
SST - Web Test Framework: &lt;a href="http://testutils.org/sst"&gt;http://testutils.org/sst&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
The latest release of SST (0.2.0) adds the ability to capture &lt;a href="http://www.softwareishard.com/blog/har-12-spec/"&gt;HAR (HTTP Archive format)&lt;/a&gt; output for pageload performance tracing/profiling.
&lt;/p&gt;

&lt;p&gt;
New SST doc section: &lt;a href="http://testutils.org/sst/#performance-tracing-with-browsermob-proxy-har"&gt;Performance tracing with Browsermob Proxy (HAR)&lt;/a&gt;
&lt;/p&gt;
    
&lt;p&gt;
The HAR format is based on JSON, and is used by tools that consume/produce data collected by monitoring HTTP communication.  These files contain a log of HTTP client/server conversation and can be used for additional analysis of page load performance.
&lt;/p&gt;

&lt;p&gt;
The capture is achieved by routing browser requests through &lt;a href="http://opensource.webmetrics.com/browsermob-proxy/"&gt;BrowserMob Proxy&lt;/a&gt;, which records web page loads while your tests run. SST will launch the proxy and save output to .har files if you enable the `--browsermob` command line option. 
HAR files are saved in the results directory for each page load.
&lt;/p&gt;

&lt;p&gt;
HAR files can be viewed/analyzed with various tools, such as `harviewer`:
  &lt;ul&gt;
  &lt;li&gt;&lt;a href="http://www.softwareishard.com/har/viewer/"&gt;http://www.softwareishard.com/har/viewer/&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://pcapperf.appspot.com/"&gt;http://pcapperf.appspot.com/&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://code.google.com/p/harviewer/"&gt;http://code.google.com/p/harviewer/&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
&lt;/p&gt;

&lt;p&gt;
I created a screencast demo showing it all together:  
&lt;/p&gt;

&lt;p&gt;
&lt;b&gt;&lt;a href="http://www.youtube.com/watch?v=eJxxP9tZfAo"&gt;Automated Web Page Profiling : SST + BrowserMob&lt;/a&gt;&lt;/b&gt;
&lt;/p&gt;

&lt;iframe width="420" height="315" src="http://www.youtube.com/embed/eJxxP9tZfAo" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;</content><app:edited xmlns:app="http://www.w3.org/2007/app">2012-03-05T09:04:10.230-05:00</app:edited><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://img.youtube.com/vi/eJxxP9tZfAo/default.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /></entry><entry><title type="text">SST 0.2.0 Release Announcement (and codebase visualization)</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/2012/02/sst-020-release-announcement-and.html" /><category term="python" /><category term="Canonical" /><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2012-02-27T09:47:52-08:00</updated><id>tag:blogger.com,1999:blog-5236867476487043111.post-3059175347800814451</id><content type="html">&lt;p&gt;
&lt;a href="http://testutils.org/sst"&gt;SST&lt;/a&gt; (selenium-simple-test) is a web test framework that uses Python to generate functional browser-based tests.
&lt;/p&gt;

&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;a href="http://testutils.org/sst/_static/sst-logo_small.png" imageanchor="1" style=""&gt;&lt;img border="0" height="80" width="202" src="http://testutils.org/sst/_static/sst-logo_small.png" /&gt;&lt;/a&gt;&lt;/div&gt;

&lt;h3&gt;Version 0.2.0 Released!&lt;/h3&gt;

&lt;p&gt;
SST version 0.2.0 is on PyPI: &lt;a href="http://pypi.python.org/pypi/sst"&gt;http://pypi.python.org/pypi/sst&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
install or upgrade with:
&lt;/p&gt;
&lt;pre style="font-size:15px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding:8px;"&gt;
pip install -U sst
&lt;/pre&gt;

&lt;p&gt;
Changelog: &lt;a href="http://testutils.org/sst/changelog.html"&gt;http://testutils.org/sst/changelog.html&lt;/a&gt;&lt;br /&gt;
SST Docs: &lt;a href="http://testutils.org/sst"&gt;http://testutils.org/sst&lt;/a&gt;&lt;br /&gt;
SST on Launchpad: &lt;a href="https://launchpad.net/selenium-simple-test"&gt;https://launchpad.net/selenium-simple-test&lt;/a&gt;&lt;br /&gt;
&lt;/p&gt;

&lt;hr /&gt;

&lt;h3&gt;Development Update&lt;/h3&gt;

&lt;p&gt;
So... what's up with SST development?  is it active?
&lt;/p&gt;

&lt;p&gt;
I ran &lt;a href="http://code.google.com/p/gource/"&gt;Gource&lt;/a&gt; against the trunk branch and created an awesome visualization (with soundtrack!) to show off development activity:
&lt;/p&gt;

&lt;iframe width="560" height="315" src="http://www.youtube.com/embed/5EEicYCRqjY?rel=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;

&lt;p&gt;
video: &lt;a href="http://www.youtube.com/watch?v=5EEicYCRqjY"&gt;link (with soundtrack)&lt;/a&gt;&lt;br /&gt;
video: &lt;a href="http://www.youtube.com/watch?v=jB9uWpxJg2I"&gt;link (no soundtrack)&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
The magic incantation of `gource` to produce the video:
&lt;/p&gt;

&lt;pre style="font-size:14px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding:8px;"&gt;
$ gource \
    -s .3 \
    -1280x720 \
    --auto-skip-seconds .3 \
    --multi-sampling \
    --stop-at-end \
    --hide mouse,progress \
    --file-idle-time 0 \
    --max-files 0  \
    --background-colour 222222 \
    --font-size 20 \
    --logo docs/assets/sst-logo_small.png \
    --title "SST Development - lp:selenium-simple-test" \
    --output-ppm-stream - \
    --output-framerate 30 \
    | ffmpeg -y -r 30 -f image2pipe -vcodec ppm -i - -b 2048K movie.mp4
&lt;/pre&gt;

&lt;p&gt;
(rendered on Ubuntu 11.10, audio mixed with Pitivi)
&lt;/p&gt;</content><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-27T12:47:52.193-05:00</app:edited><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://img.youtube.com/vi/5EEicYCRqjY/default.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Boston, MA, USA</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">42.3584308 -71.0597732</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">42.2645643 -71.21770169999999 42.4522973 -70.9018447</georss:box><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /></entry><entry><title type="text">Python - Matplotlib and Numpy on Debian/Ubuntu</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/2012/01/python-matplotlib-and-numpy-on.html" /><category term="python" /><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2012-01-29T12:38:01-08:00</updated><id>tag:blogger.com,1999:blog-5236867476487043111.post-8891938644331440152</id><content type="html">&lt;p&gt;
There are `&lt;strong&gt;python-matplotlib&lt;/strong&gt;` and `&lt;strong&gt;python-numpy&lt;/strong&gt;` packages in the Debian/Ubuntu repos.
&lt;/p&gt;

&lt;p&gt;
However, if you want to run in a virtualenv (with no-site-packages), and pip install these packages from PyPI, you need some system dependencies installed first to build with:
&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;
$ sudo apt-get install build-essential python-dev libfreetype6-dev libpng-dev python-virtualenv
&lt;/pre&gt;

&lt;p&gt;
Then, you can create a virtualenv, and the installers for Numpy and Matplotlib will work:
&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;
$ virtualenv env
$ cd env
$ source bin/activate
(env)$ pip install numpy matplotlib

...
...
Successfully installed numpy matplotlib
Cleaning up...
&lt;/pre&gt;

&lt;p&gt;
(tested on Ubuntu Oneiric 11.10 and Ubuntu Precise 12.04 alpha)
&lt;/p&gt;</content><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-29T15:38:01.216-05:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /></entry><entry><title type="text">Officially Introducing "SST" (Python Web Test Framework)</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/2012/01/officially-introducing-sst-python-web.html" /><category term="python" /><category term="Canonical" /><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2012-01-03T06:52:24-08:00</updated><id>tag:blogger.com,1999:blog-5236867476487043111.post-7385818577698113821</id><content type="html">&lt;p&gt;&lt;strong&gt;"SST (selenium-simple-test) is a framework built on Selenium WebDriver, using Python to make writing functional web tests easier with code."&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;
Since early 2011, I have been working for &lt;a href="http://www.canonical.com/"&gt;Canonical&lt;/a&gt; on the &lt;a href="https://launchpad.net/~canonical-isd-team/+mugshots"&gt;Infrastructure Systems Development team&lt;/a&gt; (Core Dev Ops).
&lt;/p&gt;

&lt;p&gt;
[&lt;a href="http://dl.dropbox.com/u/216762/Canonical_ISD_hackers_UDS-P_11-03-2011.jpg"&gt;pic of canonical-isd-hackers at UDS-P-Orlando&lt;/a&gt;]
&lt;/p&gt;

&lt;p&gt;
A by-product of our recent development efforts is a web testing framework.  It has been available on &lt;a href="https://launchpad.net/selenium-simple-test"&gt;Launchpad&lt;/a&gt; for a while, but I've never really announced it in public.  We are using SST internally, and I want to expose it to a wider audience.
&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is Selenium WebDriver?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Selenium (WebDriver) is a popular open-source library for automating browsers.  It can be used to create functional/acceptance tests of a web application.  The Selenium client bindings provide API's that allow you to programatically drive a browser and access web content/elements.  The bindings are available and supported for many languages and platforms.&lt;/p&gt;

&lt;p&gt;While working directly with Selenium API's from code is fine for ad-hoc browser interaction, it is rather low-level and lacks things necessary for creating suites of automated web tests.  For larger-scale testing, you will soon want to use a framework to help organize, execute, and report.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Introducing SST...&lt;/strong&gt;&lt;/p&gt;

&lt;img src="http://testutils.org/sst/_static/sst-logo_small.png" alt="SST Logo"&gt;&lt;/img&gt;

&lt;p&gt;SST aims to keep things simple.&lt;/p&gt;

&lt;p&gt;Tests are made up of scripts, created by composing actions that drive a browser and assert conditions. You have the flexibility of the full Python language, along with a convenient set of functions to simplify web testing.&lt;/p&gt;

&lt;p&gt;SST framework consists of:&lt;/p&gt;

&lt;ul&gt;
    &lt;li&gt;user actions and assertions (API) in Python&lt;/li&gt;
    &lt;li&gt;test case loader (generates/compiles scripts to unittest cases)&lt;/li&gt;
    &lt;li&gt;console test runner&lt;/li&gt;
    &lt;li&gt;data parameterization/injection&lt;/li&gt;
    &lt;li&gt;selectable output reports&lt;/li&gt;
    &lt;li&gt;selectable browsers&lt;/li&gt;
    &lt;li&gt;headless (xvfb) mode&lt;/li&gt;
    &lt;li&gt;screenshots on errors&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Test output can be displayed to the console, saved as an HTML report, or JUnit-compatible XML for compatibility with CI systems.&lt;/p&gt;

&lt;p&gt;SST is free open source software (Apache Licensed).  SST is primarily being developed on Linux, specifically Ubuntu. It should work fine on other platforms, but any issues (or even better - patches) should be reported on the Launchpad project:&lt;/p&gt;
 
&lt;ul&gt;
    &lt;li&gt;&lt;a href="https://launchpad.net/selenium-simple-test"&gt;https://launchpad.net/selenium-simple-test&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I just uploaded SST 0.1.0 to PyPI:&lt;/p&gt;

&lt;ul&gt;
    &lt;li&gt;&lt;a href="http://pypi.python.org/pypi/sst"&gt;http://pypi.python.org/pypi/sst&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;go ahead, give it a try:&lt;/p&gt;

&lt;ul&gt;
    &lt;li&gt;`$ [sudo] pip install sst`&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;documentation and more info:&lt;/p&gt;

&lt;ul&gt;
    &lt;li&gt;&lt;a href="http://testutils.org/sst"&gt;http://testutils.org/sst&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;a sample test script in SST:&lt;/p&gt;

&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;
from sst.actions import *

go_to('http://www.ubuntu.com/')
assert_title_contains('Ubuntu homepage')
&lt;/pre&gt;

&lt;p&gt;Here is the development progress of SST (shown as a code_swarm visualization) over the past 8 months:&lt;p&gt;

&lt;p&gt;&lt;iframe width="560" height="315" src="http://www.youtube.com/embed/PR8Wf05z9CU" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;/p&gt;

&lt;p&gt;Special thanks to all the SST code committers so far:&lt;/p&gt;

&lt;ul&gt;
    &lt;li&gt;Danny Tamez&lt;/li&gt;
    &lt;li&gt;Julien Funk&lt;/li&gt;
    &lt;li&gt;Kenneth Koontz&lt;/li&gt;
    &lt;li&gt;Leo Arias&lt;/li&gt;
    &lt;li&gt;Lukasz Czyzykowkski&lt;/li&gt;
    &lt;li&gt;Rick McBride&lt;/li&gt;
    &lt;li&gt;Sidnei da Silva&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Extra special thanks to SST's initial creator:&lt;/p&gt;

&lt;ul&gt;
    &lt;li&gt;Michael Foord&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Happy New Year!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;-Corey Goldberg&lt;/strong&gt;&lt;/p&gt;</content><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-03T09:52:24.836-05:00</app:edited><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://img.youtube.com/vi/PR8Wf05z9CU/default.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">5</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /></entry><entry><title type="text">"Web Performance Testing night" in Boston/Cambridge - Python Meetup Dec. 19</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/2011/12/web-performance-testing-night-in.html" /><category term="python" /><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2011-12-21T08:46:12-08:00</updated><id>tag:blogger.com,1999:blog-5236867476487043111.post-1694448256836382037</id><content type="html">&lt;p&gt;
I will be speaking at: &lt;strong&gt;"Web Performance Testing, lightning talks, and beers"&lt;/strong&gt; at the &lt;a href="http://meetup.bostonpython.com"&gt;Boston Python User Group&lt;/a&gt;.
&lt;/p&gt;

&lt;p&gt;
&lt;strong&gt;Event Info:&lt;/strong&gt; &lt;a href="http://meetup.bostonpython.com/events/36664122/"&gt;http://meetup.bostonpython.com/events/36664122/&lt;/a&gt; &lt;br /&gt;
&lt;strong&gt;Date:&lt;/strong&gt; Monday, December 19, 2011, 7:00 PM &lt;br /&gt;
&lt;strong&gt;Location:&lt;/strong&gt; Microsoft NERD, Cambridge, MA &lt;br /&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;blockquote&gt;&lt;em&gt;"Corey Goldberg of Canonical and Dan Kuebrich of Tracelytics will tag-team to 
tell us about web performance testing, and a few interesting tools they've built."&lt;/em&gt;&lt;/blockquote&gt;
&lt;/p&gt;

&lt;p&gt;
Free pizza and beer! &lt;br /&gt;
Come Join!
&lt;/p&gt;

&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-s_87-XNniM4/TuYM2QM3puI/AAAAAAAACXQ/hwQO1DoxAQ8/s1600/python-icon.jpg" imageanchor="1" style=""&gt;&lt;img border="0" height="228" width="230" src="http://1.bp.blogspot.com/-s_87-XNniM4/TuYM2QM3puI/AAAAAAAACXQ/hwQO1DoxAQ8/s400/python-icon.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;

&lt;hr /&gt;

&lt;p&gt;
Edit/Update:&lt;br /&gt;
Thanks to all who attended!  The night was a big success.&lt;br /&gt;
&lt;br /&gt;
The slides from my portion of the presentation are posted here:&lt;br /&gt;
&lt;a href="http://goldb.org/talks/2011/boston-python_webperf/webperf.html"&gt;webperf.html&lt;/a&gt;</content><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-21T11:46:12.429-05:00</app:edited><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-s_87-XNniM4/TuYM2QM3puI/AAAAAAAACXQ/hwQO1DoxAQ8/s72-c/python-icon.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">6</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /></entry><entry><title type="text">Python - Stock Quotes From Google Finance</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/2011/09/python-stock-quotes-from-google-finance.html" /><category term="python" /><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2011-09-27T05:46:17-07:00</updated><id>tag:blogger.com,1999:blog-5236867476487043111.post-2408922334076933866</id><content type="html">&lt;p&gt;Quick example of retrieving stock quotes from Google Finance in Python:&lt;/p&gt;&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;#!/usr/bin/env python

import json
import pprint
import urllib2


def get_stock_quote(ticker_symbol):   
    url = 'http://finance.google.com/finance/info?q=%s' % ticker_symbol
    lines = urllib2.urlopen(url).read().splitlines()
    return json.loads(''.join([x for x in lines if x not in ('// [', ']')]))


if __name__ == '__main__':
    quote = get_stock_quote('IBM')
    print 'ticker: %s' % quote['t']
    print 'current price: %s' % quote['l_cur']
    print 'last trade: %s' % quote['lt']
    print 'full quote:'
    pprint.pprint(quote)
&lt;/pre&gt;&lt;p&gt;* note: all values in the returned dict object are Unicode strings.&lt;/p&gt;&lt;p&gt;Output:&lt;/p&gt;&lt;pre style="font-size:11px;border:1px #999999 dashed;font-family:monospace;color:#990000;background-color:#EEEEEE;padding-left:10px;"&gt;ticker: IBM
current price: 174.51
last trade: Sep 26, 4:00PM EDT
full quote:
{u'c': u'+5.17',
 u'ccol': u'chg',
 u'cp': u'3.05',
 u'div': u'0.75',
 u'e': u'NYSE',
 u'ec': u'0.00',
 u'eccol': u'chb',
 u'ecp': u'0.00',
 u'el': u'174.51',
 u'el_cur': u'174.51',
 u'elt': u'Sep 26, 6:07PM EDT',
 u'id': u'18241',
 u'l': u'174.51',
 u'l_cur': u'174.51',
 u'lt': u'Sep 26, 4:00PM EDT',
 u'ltt': u'4:00PM EDT',
 u's': u'2',
 u't': u'IBM',
 u'yld': u'1.72'}
 &lt;/pre&gt;</content><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-27T08:46:17.386-04:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /></entry><entry><title type="text">Open Source Code Visualization With code_swarm (Canonical, Selenium, Couchbase)</title><link rel="alternate" type="text/html" href="http://coreygoldberg.blogspot.com/2011/08/open-source-code-visualization-with.html" /><author><name>Corey Goldberg</name><email>noreply@blogger.com</email><uri>https://plus.google.com/114546378907380458640</uri></author><updated>2011-08-29T16:42:46-07:00</updated><id>tag:blogger.com,1999:blog-5236867476487043111.post-5540980224027634910</id><content type="html">After a bit of hacking, I got &lt;a href="http://code.google.com/p/codeswarm/"&gt;code_swarm&lt;/a&gt; visualizations running on my Ubuntu 11.04 box.

I'm capturing some pretty cool videos from source repos in git, bzr, and svn.

Here are some of the more interesting code-base visualization videos I've made:
&lt;br /&gt;

&lt;h5&gt;Canonical:&lt;/h5&gt;
 * &lt;a href="http://www.youtube.com/watch?v=OjoghtALSeE"&gt;Unity (2009-10-15 - 2011-08-28) [1 min 58 secs]&lt;/a&gt;
&lt;br /&gt;
 * &lt;a href="http://www.youtube.com/watch?v=9Pe70fw83Zs"&gt;Launchpad (2004-06-22 - 2011-08-28) [7 mins 22 secs]&lt;/a&gt;

&lt;br /&gt;

&lt;h5&gt;Selenium WebDriver:&lt;/h5&gt;
 * &lt;a href="http://www.youtube.com/watch?v=OFTpOO1cxEw"&gt;Selenium trunk (2009-11-22 - 2011-08-29) [1 min 52 secs]&lt;/a&gt;

&lt;h5&gt;Couchbase:&lt;/h5&gt;
 * &lt;a href="http://www.youtube.com/watch?v=3VAOA3PB4mM"&gt;membase ns_server (2011, Aug 27) [1 min 45 secs]&lt;/a&gt;

</content><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-29T19:42:46.907-04:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentSource" value="1" /><gd:extendedProperty xmlns:gd="http://schemas.google.com/g/2005" name="commentModerationMode" value="FILTERED_POSTMOD" /></entry></feed>
