• submit to reddit
Chris Smith03/08/12
3549 views
0 replies

Building a Web Server with Python and Flask Tutorial - Parts 3 & 4

In the third video in this series, calicoJake creates a login page and protects the "dangerous" page created in part 2. In the final video, he uses Python, Flask, and HTML5 to create a page to display and play music!

Chris Smith03/08/12
2998 views
0 replies

Using Python to fetch Republican Primary results in JSON

Over at Pastie.org, they came up with an interesting Python Script that returns the results of the Republican Primary in JSON.

Chaker Nakhli03/07/12
12841 views
1 replies

Recursive and Iterative Merge Sort Implementations

In response to Stoimen Popov's Algorithm of the Week Post: Merge Sort, Chaker Nakhli pointed out that Stoimen only presented a recursive version of the merge sort algorithm. In this post, Chaker presents an iterative approach written in C#, but it can be easily converted to Java or any other language...

Fredrik Håård03/07/12
8172 views
3 replies

Dare to Show Your Code

Fredrik Haard wants developers to show their code, or at least as much of it as they can. In this post, Fredrik explains how making code available for review not only allows for advice from others, but also influences developers to write cleaner, better code in the first place...

Tommy Jarnac03/07/12
3247 views
0 replies

Django Settings for Production and Development: Best Practices

When you’re just starting out with Django, it can be overwhelming to see there’s no standard approach to deal with settings. However, Tommy Jarnac has a few simple best practices that work when you start needing more than the basic settings file...

Nitya Oberoi03/07/12
2163 views
0 replies

Getting to Continuous Deployment in Django: Feature Flipping with Gargoyle and Django Waffle

Continuous deployment is a process by which code that is written for an application is constantly deployed into production without manual intervention. This allows us to be agile, to quickly innovate, and more importantly, to bounce back from any grave errors. In this post, Nitya Oberoi talks about moving towards continuous deployment using Django, and in particular, focuses on Feature Flipping libraries Gargoyle and Django Waffle...

Chris Smith03/07/12
5562 views
0 replies

Building a Web Server with Python and Flask Tutorial - Parts 1 & 2

calicoJake has put together some great tutorial videos for creating a web server using Python and Flask. Here are the first two videos in the series, first a Hello World introduction, and then a more in depth video where calicoJake creates a page that allows arbitrary executions of Python expressions.

Stoimen Popov03/06/12
32102 views
2 replies

Algorithm of the Week: Merge Sort

Basically sorting algorithms can be divided into two main groups: those based on comparisons and those that are not. Having already posted about some of the algorithms of the first group, Stoimen Popov explains how using Merge Sort can be a faster and easier implementation than comparison-based algorithms and how to implement it...

Chase Seibert03/06/12
2474 views
1 replies

Django and Haystack: Lattitude and Longitude Radius Search with Solr

Haystack is a great indexed search framework for Django. Getting started is easy, and it includes many data types and facets out of the box. However, one data type it does not do natively is location based search. Chase Seibert explains how to do Radius searching based on longitude and lattitude using one of several SOLR extensions...

Eli Bendersky03/06/12
1710 views
0 replies

Python Development – Improving ElementTree for 3.3

Eli Bendersky has been busy lately, spending a bit more time working on Python in the past month. In particular, he's been focused on the changes in the xml.etree.ElementTree for Python 3.3, arguably the most popular standard library package for processing XML. In this post, Eli discusses the official Python 3 policy of transparently hiding the C accelerators inside the module, and the work that goes along with it...

Daniel Doubrovkine03/05/12
6023 views
0 replies

GitHub Hacked: How to Protect Your Code

If "GitHub Hacked" is news to you, Daniel Doubrovkine has a short list of things you need to do to make sure your code is safe...

Chris Smith03/05/12
3652 views
0 replies

Python 3.3 Offers Improved Performance, Bug Fixes, and New Features Galore

Python 3.3 alpha 1 is here, and as you would expect, this latest update offers bug fixes and new features galore, including: new memoryview implementation, major performance improvements, full support of Unicode code points, and changes to the API...

Benjamin Plesser03/05/12
2583 views
0 replies

Milk Your Caching for All It's Worth - How to Add Django Database Caching in 5 Minutes

One of the big challenges for Ben Plesser at Yipit as an aggregator has been weaning themselves off of all of those dastardly MySQL Joins. As Uncle Ben once warned Peter Parker, “With great power comes interminably long queries”. Fortunately, because their workload skews heavily towards reads, they’ve had success implementing various caching strategies across the stack, as Ben discusses here...

Mike Driscoll03/05/12
1938 views
0 replies

Improving MediaLocker: wxPython, SqlAlchemy, and MVC

Mike Driscoll extends his previous post on wxPython, SQLAlchemy, CRUD and MVC, and in this post he takes a look at improving the code with his own example, and one provided by Werner Bruhin...

Troy Hunt03/04/12
103184 views
23 replies

The 10 Commandments of Good Source Control Management

These are the 10 best pieces of advice you can get for having good source control management. These examples are all relevant to version control products of all types and programming languages of all flavors.