PyCon, Day Two

February 18th, 2010

My tutorial today, Testing Websites With Python and Selenium, was not as promising as I hoped. In fact, I was rather disappointed with the comedy of errors that ensued.

  1. The talk started 30 minutes late.
  2. We spent the first hour configuring our computers, something we could have done before the talk if there had been any notes circulated.
  3. Even once we got there, there were no notes. The speaker would add the commands he was running to a notes.txt file, then we would go download it from his computer via HTTP.
  4. When asked how to configure Firefox profiles on Windows, the answer was “I don’t know.” The Windows folks banded together to solve the issue, but…I mean…come on. You’re presenting to a multi-OS room. It’s your responsibility to understand the material.

<snip…>

Rather than get all frothy and unkind, I will only say that an ounce of preparation goes a long way. I did learn a few things, but the talk was so much less informative than yesterday’s tutorial that I left feeling that I would have done better just reading the docs on my own.

Now, that being said, this is not a problem with PyCon, just this one tutorial. I still have very high hopes for PyCon in general. Tomorrow is the first day of the formal conference, and I look forward to seeing what it holds.

Stay tuned for Day Three.

PyCon, Day One

February 17th, 2010

The area around the Hyatt Regency in downtown Atlanta is very much as I remember it. The last time I was in town, it was for DragonCon 2006. That was in August. It’s colder now: February will do that. This morning’s sky is slate gray; it reminds me of home. This is different: I remember Atlanta’s blue skies, it’s warm nights.

You’re not at DragonCon anymore, Mr. Miller.

The Regency is a very different place when not festooned with cosplaying geekazoids1. That’s not to say there are no geeks, just that colorful superhero and anime costumes have switched to black shirts/hoodies and blue jeans. It’s not full the full-on stereotype, mind you: there are enough hipster-coders in the mix to break up the monotony.

At the time I write this, it’s 8:42 am and I’m waiting to filter in for the first tutorial I signed up for: Faster Python Through Optimization. This is after my first choice, Test Driven Web Development, was canceled due to the speaker’s business life stomping down on his lecturing life.

I’ve just been asked where the registration desk is again. Again, unlike DragonCon, there’s more than one convention in the hotel this weekend. People are confusing one with the other. It’s easy to tell the between the participants: khakis and colored oxford shirt? Manufacturing conference. Black Tee with laptop bag? PyCon.

So far, the wifi is…minimal. This is disappointing, but it’s still very early: I’m willing to bet they just haven’t gotten there yet.2 The staff peoples are working hard this morning…I’m watching them lay powerstrips and set up cameras. It looks like there will be an archive of all the talks. This is great: I can use them for review later if my own notes are lacking.

Time to go. More later.

* * *

I must steal a line from my friend Kris Johnson to describe the Optimization talk. It was like a toasted wheat bagel: good for me, but very dry.

The speaker was well prepared: sample code was burned to CDs and a fifty-three page handout that contained all the information for the course. Any worries I had about not having complete notes are now gone.

(This is where the non-programmers can skip to the end. The rest of you, read on.)

The information was excellent. We started off looking at how to use cProfile and Guppy to benchmark and profile code. From there we wrote several tests for comparing operations on various data structures: finding the intersection of two lists vs. two sets, Slicing off pieces of a large list vs. using a deque. From there, looked at how to speed up various math functions with NumPy, using psyco for JIT optimization, then finally moved on to using the multiprocessing module to make the best use of multicore systems.  Finally, we looked at how to combine strategies to get the most bang for your buck.

While I was pleased with the content, the presentation was a little lackluster only for the reason that most programming presentations are challenged: the instructor mostly read from his notes. To be fair, he seemed a little nervous, and the fact that some of his examples failed because of configuration issues did not help the poor guy. I felt for him.  The interesting that happened was that people paired up when things went awry to solve the issues. I worked with a woman named Ada3 to figure out the problem with some of the timing functions in the code. The pair programming enhanced the talk, and I feel like I got more out of it.

(Welcome back, non-programmers.)

All in all, I’m pleased. I’ve already learned some new concepts and they are spawning new ideas that I’ll probably play with over the weekend. Tomorrow I’ll be heading to Testing Websites With Python and Selenium, which looks promising.

See you tomorrow for Day Two.




  1. This is a term of endearment. I count some of those cosplayers as friends.[back]
  2. This was, in fact, the case. The hardworking staff fired up the internet connection, and everyone logged on at once, flooding it. About 15 minutes into the tutorial, the internet returned, and several gasping programmers logged in to Twitter. Myself included.[back]
  3. This flipped my geek bit a little.[back]

Natalie Metzger’s Improper Use of Slugs

February 16th, 2010

Some time ago, Natalie put out a call for idea for a new art series called Improper Use of Slugs. I’m happy to say that one of my suggestions was accepted, and you can check out the results on her site.

The suggestion?  Thumbtacks.

2010 Con Schedule and Ep. #2 of TRICKSTERS

February 12th, 2010

I’ve worked out which conventions I’ll be attending this year. Sadly, Origins will not be one of them…my family has a vacation planned for that week and I’m going to have to miss it this year.

I’ll be at:

  • PyCon: Feb 17-21 in Atlanta, GA
  • Balticon 44: May 28-30 in Balimore, MD
  • GenCon: Aug 6-8 in Indianapolis, IN
  • Con on the Cob: Oct 14-17 in Hudson, OH. This one will be something special…Kris and I have a Clever Plan we’ll talk about in coming months.

If you’re going to be at any of these, drop me a line and let’s find some time to meet up.

Also, the latest episode of TRICKSTERS has been posted on The Secret Lair. Remember the girl on the doorstep from last week? Yeah. There’s more to her than meets the eye.

About Tricksters

February 4th, 2010

Ever since I got involved with Podiobooks.com, people have asked when they might see fiction from me hit the Interwebs. Today’s the day.

If you head over to The Secret Lair, you will find the first episode of a work of serialized fiction called Tricksters.  It’s based on a writing prompt from two years ago, when Kris and I were meeting each morning at a local coffee shop to write. The ideas implied by the original piece have been lurking around in my head since then, and as one of my big goals for the year is to work on my practice of writing, I decided to jump in with both feet.

I freely admit that this a novice effort: I’ve long talked about writing fiction, and like many people, I’ve gotten caught up in buying books, reading blogs, listening to podcasts…doing anything but the actual work. That ends now.

Please check out the story. I welcome your thoughts.