Unquiet Desperation

To be awake is to be alive.

Thank you for reading Unquiet Desperation. Please consider
grabbing the RSS feed to stay updated on new articles and podcasts.

Category : Tech

From Python Import Podcast, Ep. 2: The Zen of Python, pt 1

Episode Two of From Python Import Podcast is the first of two episodes where we’re going to explore PEP 20, that is, The Zen of Python.

Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts. Special cases aren’t special enough to break the rules. Although practicality beats purity. Errors should never pass silently. Unless explicitly silenced. In the face of ambiguity, refuse the temptation to guess. There should be one– and preferably only one –obvious way to do it. Although that way may not be obvious at first unless you’re Dutch. Now is better than never. Although never is often better than *right* now. If the implementation is hard to explain, it’s a bad idea. If the implementation is easy to explain, it may be a good idea. Namespaces are one honking great idea — let’s do more of those!

Click here to listen or download.

I’m giving a talk at the May 12th meeting of the Cleveland Web Standards Meetup. Details:

Exploring Django Part One, or, I Made a Half-Monkey/Half-Pony To Please You

In this first part of a three-part talk, Evil Overlord Chris Miller will show all the budding Evil Masterminds who attend how to get started with the Python-based Django web application framework. Topics covered will include:

  1. URL Mapping for Fun and Profit,
  2. Templating Engines for the Faint of Heart, and
  3. Girding Thy Loins With The Power of Data Models.

Souls of the innocent will not be provided — expect to bring your own and some to share with the class.

Seating is limited to 30 people for this event, so register early!

The May10th meeting of Cleveland Python (Clepy) will be a Web Frameworks Shootout. This is an official Call For Presentations. If you want to present a framework let us know which one. Any and all frameworks are welcome. The rules:

The rules:

  •   You have at most 20 minutes for your presentation, including questions
  •   Code must be posted to BitBucket by May 3 to facilitate people following along during the presentation.
  •   You’ve got to stick to the project requirements, in the spirit of keeping this a fair comparison there should not be any additional graphics, styles or javascript tricks that are not built-in functionality of your framework.

The project:  A simple blog.

  •   Post list
  •   Post details page, including comments per post
  •   RSS feed of last 10 posts
  •   Ability to create a post, this should be protected by user authentication
  •   Ability to create comments, this should not be protected by authentication
  •   A blog post contains: title, contents, author and post date

A wiki page will be posted in the next couple of days on the Clepy site to answer some of the questions we’ve received.  You can learn more about us and subscribe to the mailing list at http://clepy.org.


I’ve started using Freemind (the open-source mindmapping tool) to lay out initial requirements for projects, outline plots for sessions in my Savage Worlds campaign, and to develop ideas for essays.  I use a MoinMoin wiki at work and for my personal projects, and I wanted a away to take my map and have it transformed into wikitext for easy cutting-and-pasting.  Luckily, Freemind 0.9.0 RC6 comes with an ‘Export using XSLT’ function.  I modified one of the bundled XSLTs and now I’m in note-taking heaven.

Want it? Grab the XSLT from my bitbucket repo.


New Podcasts and a Modest Pythonic Proposal

First, From Python Import Podcast is finally live!  In the first episode, we meet our hosts and learn a bit of what they learned at PyCon 2010. Please head over to the website and subscribe!

Second, the latest Secret Lair podcast has been posted. In it, we review BBS: The Documentary and Project Truth from Evil Overlord Games.

Finally, I’ve attached the presentation for a lightning talk I planned to give at PyCon this past year, but I was unable to get to it. You see…Python is a remarkably stable, useful language. However, I feel that to really compete with the big boys, we need to inject a little uncertainty and doubt in the language. Additionally, I believe that the community is crying out for a new way to approach the dictionary object, especially in light of the new testing methods available to us.

To that end, I humbly submit the Thesaurus Object for addition to the standard Python datatypes.   I believe the presentation below will speak for itself, however, anyone who wants to find source code and examples can find them here.

I look forward to your comments and questions.

The Thesarus Object