Python

  • submit to reddit
The Python Programming Language

Ruby/Python: Constructing a taxonomy from an array using zip

As I mentioned in my previous blog post I’ve been hacking on a product taxonomy and I wanted to create a ‘CHILD’ relationship between a...

0 replies - 2417 views - 05/19/13 by Mark Needham in Articles

Legacy Code Preservation: Why Preserve the DSL?

A Domain-Specific Language (DSL) can provide some intellectual leverage. We can always write long and convoluted programs in a general-purpose programming...

0 replies - 2191 views - 05/17/13 by Steven Lott in Articles

Links You Don't Want To Miss (May 17)

Modular DOMReady A new tool for making your web development life a little easier.  I love the site design this guy has too. NES Drawn in 100%...

0 replies - 1812 views - 05/17/13 by Mitch Pronschinske in Articles

Synchronizing Cicadas with Python

Suppose you want to know when your great-grandmother was born. You can’t find the year recorded anywhere. But you did discover an undated letter from her...

0 replies - 1618 views - 05/15/13 by John Cook in Articles

Python Will Have enums in 3.4!

After months of intensive discussion (more than a 1000 emails in dozens of threads spread over two mailing lists, and a couple of hundred additional private...

0 replies - 2318 views - 05/11/13 by Eli Bendersky in Articles

Links You Don't Want To Miss (May 7)

Are video codecs written in JavaScript the future? Mozilla has been showing off its new ORBX.js, a video codec roughly comparable to H.264 that can be...

0 replies - 2076 views - 05/06/13 by Mitch Pronschinske in Articles

Rolling Dice for Normal Samples in Python

A handful of dice can make a decent normal random number generator, good enough for classroom demonstrations. I wrote about this a while ago. My original post...

0 replies - 2459 views - 04/30/13 by John Cook in Articles

Legacy Code Preservation: What's the Story?

Wind back the clock to the late 1970's. Yes, there were computers in those days. Some of my earliest billable gigs where conversions from old OS to new...

0 replies - 2633 views - 04/19/13 by Steven Lott in Articles

Links You Don't Want To Miss (4/17)

An Innovative New Sales Strategy: More Puppies! These guys ran an A/B test to see if a picture of a puppy increased clicks. Turns out, it more than doubled...

0 replies - 2097 views - 04/17/13 by Mitch Pronschinske in Articles

Python: Reading a JSON file

I’ve been playing around with some code to spin up AWS instances using Fabric and Boto and one thing that I wanted to do was define a...

0 replies - 2028 views - 04/10/13 by Mark Needham in Articles

DZone Links You Don't Want To Miss (4/2)

No to NoUIYou may have heard someone say “the best UI is no UI,” or noticed the NoUI hashtag flying around recently. Timo Arnall critiques this sort of...

0 replies - 2931 views - 04/01/13 by Mitch Pronschinske in Articles

GEvent + ZeroMQ

In this session you'll see how ZeroMQ - a flexible, lightweight message broker - and gevent - a coroutine-based networking library - are used to create a...

0 replies - 2295 views - 03/18/13 by Mitch Pronschinske in Articles

DZone Links You Don't Want To Miss (2013/3/11)

WTFM - Write the F*cking Manual Actually authoring software product/website manuals will not only help you understand the product better, but more...

0 replies - 2868 views - 03/11/13 by Mitch Pronschinske in Articles

DZone Links You Don't Want To Miss (2/27/13)

A Definitive Developer's Guide To Images  This is a good one to save and read later when you start building that app that works with a myriad of image...

0 replies - 3179 views - 02/27/13 by Mitch Pronschinske in Articles

Algorithm of the Week: Python vs. Ruby in the Knapsack Problem

The latest algorithm that we had to code in Algorithms 2 was the Knapsack problem which is as follows:The knapsack problem or rucksack...

0 replies - 5652 views - 02/26/13 by Mark Needham in Articles