Python

  • submit to reddit
The Python Programming Language

Weekly Poll: Sans JVM?

A few weeks ago, we asked which programming language you'd use if Java weren't an option. JVM languages, especially Scala and Groovy, were the overwhelming...

6 replies - 6386 views - 11/02/12 by Bill Armstrong in Articles

3 Tools for Making Your RaspberryPi Accessible

Problem: Public facing hostname/IP address for your Raspberry Pi. Solutions: Several solutions exist: PageKite: The one I am most familiar with. Coded in ...

0 replies - 2014 views - 10/16/12 by Amit Saha in Articles

Why Do Bad Things Happen to Good Code?

We need to understand what happens to code over time and why, and what a healthy, long-lived code base looks like. What architectural decisions have the...

1 replies - 7912 views - 10/15/12 by Jim Bird in Articles

Multi-Mechanize: An Open-Source Framework for Performance and Load Testing

I put together a slide-deck to help introduce Multi-Mechanize. I wanted something a little friendlier and easier to digest than "go read the...

0 replies - 2872 views - 10/11/12 by Corey Goldberg in Articles

Fizzbuzz Without Ifs in 90 Characters -- I'll Buy You a Beer if You Can Beat It

Yesterday I got nerd-sniped into solving the FizzBuzz problem without using if sentences. Fizzbuzz, no ifs: [{0: "fizzbuzz"}.get(x%(3*5), {0:...

8 replies - 3737 views - 09/20/12 by Swizec Teller in Articles

Through the Eyes of a Newbie

The wife is interested in learning programming so she has been doing the Code Academy JavaScript course. It’s incredible to observe a person...

0 replies - 715 views - 09/19/12 by Rob Galanakis in Articles

Algorithm of the Week: Graph Breadth First Search

Since we already know how to represent graphs, we can go further for some very simple approaches of walking through them. Passing by all the vertices of a...

2 replies - 4309 views - 09/10/12 by Stoimen Popov in Articles

Motor Progress Report

Motor, my async driver for MongoDB and Tornado, is now compatible with all the same CPython versions as Tornado: 2.5, 2.6, 2.7, and 3.2! PyPy support is...

0 replies - 2250 views - 09/04/12 by A. Jesse Jiryu Davis in Articles

Book Review: MongoDB with Python and Ming

This week I bought Rick Copeland’s MongoDB with Python and Ming eBook from Amazon. It just came out in July 2012, so I figured I should check it out and...

0 replies - 1879 views - 08/13/12 by Mike Driscoll in Articles

How to Refactor Tornado Code with gen.engine

Sometimes writing callback-style asynchronous code with Tornado is a pain. But the real hurt comes when you want to refactor your async code into reusable...

0 replies - 2164 views - 07/25/12 by A. Jesse Jiryu Davis in Articles

Programming: Initially a Female Profession

In the 1940s, the first computer programmers were all women. That only changed later. Quoting “Researcher reveals how ‘Computer Geeks’ replaced...

0 replies - 3185 views - 07/15/12 by Axel Rauschmayer in Articles

Testing DNS Servers with Python - dns_compare.py

Sometimes it might be nice to be able to test a DNS server’s output, such as with a continuous monitoring system, or as a validation tool when migrating...

0 replies - 3124 views - 06/28/12 by Joe Miller in Articles

PowerCLI: Automate Reverting CI Agents to a Snapshot

My friend Ed’s capacity to automate stuff is quite awesome. Yesterday he automated a way of making our Continuous Integration system alert us when one of...

0 replies - 2651 views - 06/27/12 by James Betteley in Articles

Using New Relic With Supervisord and Gunicorn

New Relic recently added support for python to their awesome web application performance tool, and I have been playing with it on a number of projects. ...

0 replies - 2477 views - 06/17/12 by Ken Cochrane in Articles

Someone Has a Hat to Eat

In December, I made a blog post about being happy. A anonymous (of course) commenter said: Hey Rob. 5 months? Are you really this shortsighted?...

1 replies - 5326 views - 06/02/12 by Rob Galanakis in Articles