Thoughts
Glögg, Swedish mulled wine, the Chicago recipe
Now that it's -5 F in Chicago with a windchill of -25 F I thought it was an appropriate time to share one of the secrets to surviving a Chicago winter: Glögg! If you live in the old Swedish neighborhood (Andersonville) like I do then you can sip Glögg at most local bars but with weather like this, why even leave your house? Here's my recipe...
- read article
- 2 comments
- read comments
- post comment
Python 3.0 On Mac OS X (alongside 2.6, 2.5, etc)
Python 3.0 is out. Woo! Some people have been saying that they'd like to be able to run it alongside 2.6, 2.5, etc to test it out. Well, Python is actually designed for this. All you have to do is build it with make altinstall and that will give you a python3.0 binary without touching your default python binary. But on Mac OS X it's a little different ...
- read article
- 20 comments
- read comments
- post comment
Are you hiring web developers?
As the US economy spins into a death spiral I unfortunately now know some highly skilled web developers (Python, Ruby, JavaScript, etc) in the Chicago area who are looking for work. And I mean highly skilled people whose ninja like qualities will be sorely missed. Most hiring budgets are probably frozen — at least until next year — but they will soon thaw. Those that thaw sooner will make space for big prizes of talent. I can make introductions over email or via Linked In.
- read article
- 4 comments
- read comments
- post comment
Try out the Mercurial Subversion extension (hg svn) on Mac OS X
As a Subversion user, I am hesitant to get excited about distributed version control systems (DVCS). What I like about Subversion is that there is a central line of development. This is great for teams because it forces them to integrate their code often. This is great for open source projects because the users have one place to go to get the source; there is one version of the truth.
However, I usually hack on code during my train commute to work and one thing Subversion does not [yet] do is let you commit offline. This is all I want and this is what a DVCS can provide. Everything else is nice to have. It's nice to have an experimental work space where I can create private branches all day and all night but you can do this in Subversion too. Experimental work branches are dangerous if they do not get integrated with mainline development often. Using a DVCS makes it easier to be lazy about integration.
DCVS lets you maintain mirrors of projects, potentially with your own patches to the project. While this is convenient, I also put this in the dangerous category because the last thing I want is for someone to say, yeah my Django patch wasn't accepted and probably never will be, so just use my clone of the repository! This is an integration nightmare.
Anyway, Subversion is a long way from supporting offline commits so I've been experimenting with Mercurial ...
- read article
- 5 comments
- read comments
- post comment
Automated Model Based Testing of Web Applications (GTAC 2008)
Last year at the Google Test Automation Conference (GTAC) 2007, the talk by Atif was one of my favorites. He had been working on a system of model based testing for desktop GUI applications (affectionately called GUITAR) and hinted that he will be applying the work to web applications next. Now, at GTAC 2008, here is a taste of what his dept. has been up to. The talk is by Oluwaseun Akinmade and Prof. Atif M. Memon. Both are at University of Maryland.
The idea of automated model based testing hints at a future where software can be used to figure out how to test itself. That is, when software is modeled in a way that exposes inputs, outputs, event handlers, and end-points, then introspection can be done to find all possible interactions within an application and test them. Yes, it is one step away from artificial intelligence. This is fascinating to me but I think it still needs a lot of work. Atif is asking for as much feedback as possible from industry professionals to find out how this can best be used in the real world.
Here are my notes from the talk ...
- read article
- 0 comments
- read comments
- post comment
Taming The Beast: How To Test an AJAX Application (GTAC 2008)
This was one of the talks at GTAC 2008 that I was most looking forward to before the conference. It was excellent, I was not let down. The talk was given by Markus Clermont and John Thomas who work at Google. Since the talk was right after lunch they decided to take a Q & A approach. It sort of went off in tangents at points but overall the format seemed to work.
In my own work I've been struggling at maintaining a now bloated test suite for an AJAX website but their approach made something click in my head. I'm already working on a refactoring plan.
Here is my abbreviated interpretation of the talk ...
- read article
- 0 comments
- read comments
- post comment
The Future of Testing (GTAC 2008)
Google Test Automation Conference (GTAC) is my all-time favorite conference. It's free. It's on a single track — this means you don't miss any talks and everyone experiences the same journey of thought. Also, since you have to apply for admittance with a short essay, everyone who attends is really passionate about testing. It's still sort of "underground" which keeps it small and very social.
Last year, I made some kind of attempt to live blog summaries of the GTAC talks but I never made it past part 1. We'll see how far I get this year, stay tuned.
The videos for 2008 aren't online yet but check youtube often because last year they were up in less than a day.
The Future of Testing was the first talk of the GTAC 2008 conference on Thursday Oct 23rd given by James A. Whittaker, a very entertaining speaker who works for Microsoft. His talk was excellent and I highly recommend keeping a lookout for the video. Here are my notes...
- read article
- 1 comment
- read comments
- post comment
When Online Advertising Actually Works
Telemarketing is one of the most ineffective forms of advertising. Hello? Yes? I'm cooking dinner, why would I want to buy something? How do you know I'm even remotely interested in your product? Online advertisements like text ads and banner ads are slightly different. I usually buy things online out of convenience so the venue is good for advertising. There is also a lot of information about me online ...
- read article
- 1 comment
- read comments
- post comment
Presenting a Solid Tutorial at PyCon
Proposals for tutorials at PyCon 2009 are now being accepted through October 31st.
Due to many projects I have going on right now I probably won't be able to propose a tutorial myself but I thought I'd share some thoughts from last year...
- read article
- 5 comments
- read comments
- post comment
Adrenallin For The Brain
Someone passed me a link to this really nice article, Annals of Science: The Eureka Hunt, which talks about how neuroscientists have been studying what goes on in the brain when we get those amazing ideas that seem to come from nowhere. In my own life I can think of several times where I've experienced a sudden "burst" of thought like this. Sometimes it seems like...
- read article
- 1 comment
- read comments
- post comment
T'is be'a Fixture 1.1.1 fer ya!
Y'aharrr me seabound mateys! Thar be'a fine gully of'a wind shakin' ye jigger today as m'announce a new release of Fixture, a python module fer loadin' and referencing test data. O'er yonder ye find a cap'n's Changelog fer ye royal subjects.
Riches abound! Booty abaft! Me could'a n'er dunnit not be'a the help o'a few fine pirates amidst ye Python vagabonds. Me best salute go t'a Tomas Holas, Alex Marandon, and bslesinsky fer'a ya bug reports and patches. Been'a some quiet waters thus far but much treasure huntin' lies o'er th'horizon.
Plunder Fixture 1.1.1!
(And it be'a fine day fer pirates, aye)
- read article
- 2 comments
- read comments
- post comment
Web Frameworks Do Not Make DBAs Happy
A colleague of mine, Shaun Thomas, is one of a few database administrators who manage all our company's databases by monitoring, optimizing, partitioning, building star schemas, etc. The DBAs also maintain standard operating procedures for how to name a column or how to refer to an external identifier. Most importantly, they conduct reviews of your horrid schema changes before you break stuff.
Most web frameworks (Django, Rails, etc) out there abstract away a lot of low level database details since they focus on making life easier for web developers. This is great but it's important to have a way to easily tweak the low level stuff when you need to. In fact, most frameworks kinda leave DBAs in the dust. It looks like Shaun reached his breaking point on this a few weeks ago and the result was a hilarious rant. He does have a good point. The only database abstraction layer I've used that truly keeps the DBA in mind is SQLAlchemy. It adds more complexity to the tool but not in a way that makes your life difficult.
- read article
- 3 comments
- read comments
- post comment
Real Test Engineers Love Dots
"The world's largest particle collider passed its first major tests by firing two beams of protons in opposite directions around a 17-mile underground ring ... After a series of trial runs, two white dots flashed on a computer screen at 10:26 a.m. indicating that the protons had traveled clockwise along the full length of the 4 billion Swiss franc (US$3.8 billion) Large Hadron Collider."
— from Massive particle collider passes first key tests
What better way to indicate a passing test than a single dot?! Simple, effective. Mmmm, dots.
- read article
- 0 comments
- read comments
- post comment
It's Time to USE The Web : Mozilla Labs Releases Ubiquity
Mozilla Labs releases the Ubiquity add-on for Firefox. In a nutshell: With search, users type what they want to find. With Ubiquity, they type what they want to do.
Big congrats to Aza and everyone else who worked on this! As innovative as Humanized was, building something similar into Firefox is genius. Personally I am excited by the prospect of developing work flows on the Ubiquity platform. There are so many common work flows that need simplification.
Developers: If you want to cut to the chase, Ajaxian shows how easy it is to create custom commands. And of course, the details are in the Authoring Tutorial.
- read article
- 0 comments
- read comments
- post comment
aintjustsoul.net: A portable record player for the Internet
I'm very pleased to announce a website I just launched:
I'm calling it "a portable record player for the Internet" because I'm a record collector myself and listening to as much music as possible has been the best way to expand my collection. Yep, I'm one of those guys who goes to record conventions and brings a portable record player.
There are a few places to find used vinyl online — since 161,783 records are for sale on eBay right now, I'd say the Internet is a good venue. The problem is that you can't always listen to a record before you buy it and it's impossible to find great music by name alone when there is so much to choose from. I'm hoping to change all that with this site.
As you can see, it's still in very experimental stages and leaves a lot to be desired. eBay is the only marketplace supported so far but I plan to integrate Music Stack next. If anyone knows of another marketplace, please let me know. Also, if you have a friend who buys records then please send on the link (I'm interested to hear feedback from record buyers).
It took me about 6 months to get the data in order (doing all this in my spare time) so it is very exciting to be able to release an actual site now. The data pipeline is home-grown ETL and uses the eBay API + the super speedy and tolerant lxml.html (contrib by Ian Bicking), the excellent SQLAlchemy, and other tools. As I take the data pipeline to the next level I really hope to start using the very cool SnapLogic ETL framework for Python.
On the UI side this has been my first chance to really dive into Dojo. I like Dojo because it takes semantic HTML seriously, namespacing seriously, unit testing seriously, and object oriented JS seriously. It's a bit monolithic and I still haven't figured out how to build a custom minified version but so far I like it. Also, I really wish the Dojo API reference was more comprehensive. On the backend UI side, I'm using Pylons since I like how well it integrates with 3rd party Python libs. I don't like some of the magic it inherited from Rails but that is pretty easy to work around. Oh, I almost forgot to mention SoundManager 2, the ultimate javascript/flash mp3 player.
- read article
- 3 comments
- read comments
- post comment
Chicago's Google App Engine Hack-A-Thon Recap
- read article
- 0 comments
- read comments
- post comment
Fixture Goes 1.0 (Testing With Data In Python)
- read article
- 0 comments
- read comments
- post comment
An In-Process, Headless Web Browser for Python?
- read article
- 4 comments
- read comments
- post comment
After the release of Google App Engine, the Rubyists ...
- read article
- 0 comments
- read comments
- post comment
Making Erlang indentation-sensitive
- read article
- 5 comments
- read comments
- post comment
The Python Make tool
- read article
- 8 comments
- read comments
- post comment
Testing Google App Engine sites
- read article
- 4 comments
- read comments
- post comment
PyPi (Cheeseshop) on Google App Engine
- read article
- 6 comments
- read comments
- post comment
Unicode In Python, Completely Demystified (slides available)
- read article
- 5 comments
- read comments
- post comment
Data mining in Python and beyond?
- read article
- 11 comments
- read comments
- post comment
The Monty Hall Problem (win a goat or a car)
- read article
- 10 comments
- read comments
- post comment
Building Flash/ActionScript sites entirely in code and using FireBug for debugging
- read article
- 2 comments
- read comments
- post comment
Software is written by hand
- read article
- 0 comments
- read comments
- post comment
Converting ReStructuredText to Wiki syntax
- read article
- 0 comments
- read comments
- post comment
Leapfrog Online is looking for some Django developers (Chicago area)
- read article
- 0 comments
- read comments
- post comment
Datejs - A JavaScript Date Library
- read article
- 1 comment
- read comments
- post comment
WSGI Intercept Has A New Home
- read article
- 0 comments
- read comments
- post comment
importing modules from setup.py (chicken vs. egg!)
- read article
- 2 comments
- read comments
- post comment
How To Get Started Writing Open Social Applications
- read article
- 1 comment
- read comments
- post comment
Pycon in Chicago, Excited Yet?
- read article
- 2 comments
- read comments
- post comment
GTAC Highlights Part 1 - Selenium is Alive and Well, Model Based Testing Is Smart, And...
- read article
- 11 comments
- read comments
- post comment
Python on TextMate demo (Chicago area)
- read article
- 2 comments
- read comments
- post comment
Hacking python frames
- read article
- 0 comments
- read comments
- post comment
fileinput : nice module for file processing
- read article
- 0 comments
- read comments
- post comment
context_tools, bridging the gap between test methods and test classes?
- read article
- 0 comments
- read comments
- post comment
Going to the GTAC (Google Test Automation Conference)
- read article
- 2 comments
- read comments
- post comment
What does the def-star-variable (or def-asterisk-parameter) syntax do in Python?
- read article
- 10 comments
- read comments
- post comment
What I Thought I Knew About Unicode in Python Amounted To Nothing
- read article
- 6 comments
- read comments
- post comment
undefined reference to `__stack_chk_fail' (compiling subversion 1.4.3 on Ubuntu)
- read article
- 1 comment
- read comments
- post comment
documentation for fixture module
- read article
- 0 comments
- read comments
- post comment
Humans are here to stay!
- read article
- 0 comments
- read comments
- post comment
multiple inheritance woes
- read article
- 11 comments
- read comments
- post comment
testing just got easier (a few nose plugins)
- read article
- 0 comments
- read comments
- post comment
unicode and unicorns
- read article
- 0 comments
- read comments
- post comment
Live doctest in TextMate (IPython + Twisted?)
- read article
- 3 comments
- read comments
- post comment
PyCon: A Star Schema in pure python code? Is this guy INSANE?
- read article
- 0 comments
- read comments
- post comment
You vs. The Real World: Writing Tests With Fixtures (Sunday at Pycon!)
- read article
- 0 comments
- read comments
- post comment
Why People Don't Use Hand Dryers
- read article
- 1 comment
- read comments
- post comment
Industry of the Ordinary
- read article
- 0 comments
- read comments
- post comment
2 stupid things I coded this week
- read article
- 7 comments
- read comments
- post comment
Coffee! ... and python
- read article
- 2 comments
- read comments
- post comment
Housecall from the pydoctor (finally, a doc generator that works!)
- read article
- 2 comments
- read comments
- post comment
Generating python with python
- read article
- 0 comments
- read comments
- post comment
Python gets true closures in 3000 - do I care?
- read article
- 2 comments
- read comments
- post comment
New Chicago City Sticker
- read article
- 0 comments
- read comments
- post comment
You vs. The Real World: Testing With Fixtures (Coming Soon)
- read article
- 0 comments
- read comments
- post comment
Creating a subversion checkout/ dev target for easy_install
- read article
- 0 comments
- read comments
- post comment
Blogging, Blogosphere, or something
- read article
- 1 comment
- read comments
- post comment
