• submit to reddit
Giorgio Sironi01/17/12
3976 views
0 replies

Python Hello World, for a web application

python -m SimpleHTTPServer is a very handy command that sets up a server listening on a port (by default 8080) having as document root the current directory. However it does not count for the purpose of this article: producing our first dynamic page with...

Eric Genesky01/16/12
2999 views
0 replies

PyPy Team Trying to Go Multicore

The PyPy team has updated their progress on getting rid of the infamous Global Interpreter Lock in Python.  According to their previous post, the team was attempting to approach the problem using Software Transactional Memory, a relatively recent development...

Giuseppe Vettigli01/16/12
2702 views
0 replies

How To: Plot a Function of Two Variables with matplotlib

In this post we will see how to visualize a function of two variables in two ways. First, we will create an intensity image of the function and, second, we will use the 3D plotting capabilities of matplotlib to create a shaded surface plot. So, let's go...

Ricky Ho01/16/12
4852 views
0 replies

Machine Learning: Ensemble Methods

Ensemble Method is a popular approach in Machine Learning based on the idea of combining multiple models. For example, by mixing different machine learning algorithms (e.g. SVM, Logistic regression, Bayesian network), ensemble method can automatically...

Giuseppe Vettigli01/16/12
3380 views
0 replies

Corner Detection with Python and OpenCV

Corner detection is an approach used within computer vision systems to extract certain kinds of features and infer the contents of an image [Ref]. We have seen in the previous post how to perform an edge detection using the Sobel operator. Using the edges,...

Dhananjay Nene01/16/12
2853 views
1 replies

Functional Programming with Python – Part 2 – Useful python constructs

In Functional Programming with Python – Part 1, I focused on providing an overview. In this post I shall focus on the core python language constructs supporting functional programming. If you are experienced pythonista, you may choose to skip this post...

Robert Diana01/15/12
12859 views
0 replies

DZone Top Article of 2011: 7 Tenets Of Framework Selection

As you develop any application, you will need to choose various tools, libraries and frameworks that you want to integrate into the application. In some cases, this could be a very simple task of choosing the most popular and widely respected tool....

Julien Danjou01/14/12
2271 views
0 replies

Google Calendar Notifications Using Pynotify

I use Google Calendar to manage my calendars, and I really missed something to warn me whenever I have an appointment with an alert set. So here is an example of a Python program to do such a thing. It is written using the Google Data APIs Python client...

John Esposito01/13/12
1674 views
0 replies

Prediction: PHP Cloud Hosting Will Get Serious in 2012

Phil Sturgeon has been playing with PHP Fog and Pagoda Box for a while, and he thinks that PHP cloud hosting is about to hit its stride.It hasn't yet -- not like Ruby, for example, with its happy Heroku. But why not?Here's why, says Phil:

Julien Danjou01/13/12
1357 views
0 replies

Using GTK+ stock icons with pynotify

It took me a while to find this, so I'm just blogging it so other people will be able to find it. I wanted to send a desktop notification using pynotify, but using a GTK+ stock icons. With the following snippet, I managed to do it.

A. Jesse Jiryu Davis01/13/12
1070 views
0 replies

How To Do An Isolated Install of Brubeck

I wanted to install James Dennis’s Brubeck web framework, but lately I’ve become fanatical about installing nothing, nothing, in the system-wide directories. A simple rm -rf brubeck/ should make it like nothing ever happened. So that I remember this for...

Eli Bendersky01/13/12
1895 views
0 replies

pyelftools: Python library for Parsing ELF and DWARF

I’m happy and proud to announce the release of a new open-source Python package to the world. pyelftools is a pure-Python library for parsing and analyzing ELF files and DWARF debugging information. It provides both low-level and high-level APIs for...

Brian Swan01/13/12
15885 views
3 replies

DZone Top Article of 2011: 3 Components of a Successful Project

Earlier this month I attended the monthly meeting of the Seattle PHP Meetup Group. In ways I didn’t expect, it was a very interesting meeting. The content itself was interesting enough (we were talking about database design), but what I found even more...

Mike Dirolf01/12/12
2143 views
0 replies

Cool Python Module: html2text

Parts of the Fiesta API (as well as some new features we’re rolling out for Fiesta itself) rely on the ability to automatically generate clean text (markdown) versions of incoming messages. Our parser tends to prefer using the text version of a message...

Mitch Pronschinske01/12/12
7212 views
16 replies

'The Developer World Has Serious Issues With Diversity' -Martin Fowler

Although it's easy to become accustomed to it, it's pretty obvious the software development world has some serious issues in diversity. By this I mean that we have some notable differences in proportions of people compared to the general population. One...