Mark Needham05/25/12
81 views
0 replies
A common programming task is to iterate over a container of known length and do something for each item in the container. Here's an example of what it may look like in a C-like language....
Mike Driscoll05/25/12
123 views
0 replies
Getting set up with your own machine so you're ready to do core development. Using Windows OS; is the process easy or hard?
Jose Asuncion05/24/12
313 views
0 replies
This is my first post on Code Aesthetics, a new topic I am exploring. My objective is to come up with a catalog of coding styles that are easy to read. My belief is that there is a direct correlation between maintainability of code and the way it is written.
Mike Driscoll05/24/12
170 views
0 replies
As I mentioned in my last article, I figured I’d try to find something that I could patch in Python and submit it. While writing the other article, I stumbled on a minor error in the Python devguide in the Windows section.
Corey Goldberg05/23/12
446 views
0 replies
To check operational stats of your Couchbase server/cluster, you can use the telnet interface (port 11211) and issue the stats command to any individual node...
Jose Asuncion05/23/12
467 views
0 replies
I have always though that it was easy to name your services e.g if you had a User domain object then you would surely have a User Dao and a User Service.
Stoimen Popov05/22/12
4366 views
0 replies
To find the minimum value into an array of items isn’t difficult. There are not many options to do that.
Mike Driscoll05/22/12
977 views
0 replies
The other day, I thought it would be fun to create a little program that could generate QR codes and show them onscreen with wxPython. Of course, I wanted to do it all with Python, so after a little looking, I came across 3 candidates...
Corey Goldberg05/21/12
414 views
0 replies
Multi-Mechanize is an open source framework for web performance and load testing. It allows you to run simultaneous python scripts to generate load (synthetic transactions) against a web site or web service.
Stoimen Popov05/21/12
2407 views
0 replies
Typically multiplying two n-digit numbers require n2 multiplications. That is actually how we, humans, multiply numbers. Let’s take a look of an example in case we’ve to multiply two 2-digit numbers.
Chase Seibert05/20/12
520 views
0 replies
Here is a BASH script that builds on Drjnet's excellent script, but which also allows you to select just a small region of your screen to capture.
Grigory Javadyan05/19/12
8850 views
0 replies
I am talking about C. Petzold’s “CODE”. It is a truly remarkable book about how computers work. Let me explain why I think this book is so awesome.
David Winterbottom05/18/12
1303 views
0 replies
You are serving a Django application using Nginx to proxy to an Apache server running mod_wsgi and you want to allow slashes in your URL keywords.
Corey Goldberg05/17/12
618 views
0 replies
The latest release of SST (0.2.0) adds the ability to capture HAR (HTTP Archive format) output for pageload performance tracing/profiling.
Christian Posta05/17/12
518 views
0 replies
In Python, mixins allow a programmer to package a set of clearly defined and cohesive methods into a unit that can then be used to add functionality to other classes by “mixing in” these methods.
Stoimen Popov05/16/12
3018 views
1 replies
Typically multiplying two n-digit numbers require n2 multiplications. That is actually how we, humans, multiply numbers. Let’s take a look of an example in case we’ve to multiply two 2-digit numbers. . .
Corey Goldberg05/16/12
820 views
0 replies
In my last two blog posts, I showed examples of using Selenium WebDriver to capture screenshots, and running in a headless (no X-server) mode. This example combines the two solutions to capture screenshots inside a virtual display.
William Soprano05/15/12
652 views
0 replies
In this video tutorial from the 2012 PyData Workshop, John Hunter, author of matplotlib is going to give you some advanced insight into the plotting library.
Giuseppe Vettigli05/14/12
1193 views
0 replies
Check out this useful python snippet for to computing the prime factors of an integer.
William Soprano05/13/12
1035 views
0 replies
This session will cover the challenges of creating a production application performance monitoring system for Python.
William Soprano05/11/12
1294 views
0 replies
In this panel, we speak to a number of the people behind these new platforms to discuss what benefits they offer, what challenges they face, and what the Django project/community can do to encourage their growth.
Steven Lott05/11/12
3137 views
0 replies
For some people, Tools Trump Language. Sadly, I've also had customers with ancient code they could no longer compile or maintain because the tools were out of support.
William Soprano05/10/12
650 views
0 replies
This video will go over how to handle many common solutions not currently described in the core documentation and give an in-depth look (with demonstration) at the how and why of several advanced security topics.
David Winterbottom05/10/12
739 views
0 replies
Solving the problem of running pip install -r requirements.txt which will not pick any commits after d636b803 until requirements.txt is updated.
Stoimen Popov05/09/12
1171 views
0 replies
Run-length encoding is a data compression algorithm that helps us encode large runs of repeating items by only sending one item from the run and a counter showing how many times this item is repeated.