Article Category: Programming
Posted 23 hours, 38 minutes ago by wheaties
I learned something new today about Python 2.5 and newer. I thought it was so nifty that I decided to write a blog article about it. Hopefully someone out there finds it as interestingly useful as I do.
Posted 2 days, 6 hours ago by wheaties
I figured I should probably post something since I haven't done so yet this year. I've been making several changes to the site lately. Most of them are pretty subtle, but I hope they're useful to you. Updates include
Posted 1 week ago by wheaties
With all of the hype that git has been receiving lately, I started playing with it a while back to see if it suited me and my wants/needs. I found it to be an interesting utility. I won't go into any details simply because I'm not really all that knowledgeable about all the ins and outs of version control systems, but I will say that I have decided I like...
Posted 3 weeks, 5 days ago by wheaties
I've released yet another absurdly useless application today. With all of my dirty finals lately, I needed something a little more leisurely to think about. I noticed that I put a lot of those funky smiley codes in my articles and whatnot, so I decided to beautify them a little by replacing the codes with emoticon images a la those silly forum sites I used to be crazy about as a kid.
It was...
Posted 4 weeks, 1 day ago by wheaties
So the other day I wrote up an article that sarcastically compared PHP and Python syntax a little. While I am completely serious when I say that I prefer Python's syntax a heck of a lot more than that of PHP, I thought it might be a good thing for me to demonstrate that the code I posted before could have been more appealing had it been thought out a little...
Posted 1 month ago by wheaties
Some of you regulars out there may have noticed an interesting change in the presentation of some of my articles: source code highlighting. I've been interested in doing this for quite some time, I just never really got around to implementing it until last night.
I found this implementation process to be a bit more complicatd than I had anticipated. For my own benefit as well as for anyone else who wants to do...
Posted 1 month ago by wheaties
Today I was working on a USA ePay payment module for Satchmo. I had access to some work done by another chap, but I wanted to get a better feel for what needed to be happening in the payment module, so I examined some of the stuff that other people had done as well. I studied the "official" PHP version of the payment module...
Posted 1 month ago by wheaties
I've released a new version of django-axes this morning. This project allows you to keep track of failed login attempts on your Django-powered sites quickly and easily. It pays attention to the built-in login functions for the Django administration utility as well as the stock django.contrib.auth.views.login method. If a particular user fails to login successfully after 3 tries (this number is customizable), a record is made...
Posted 1 month ago by wheaties
With the recent release of Python 3.0 final, I've had a crazy itch that needed to be scratched. That itch, my friends, was to do a write-up of how to install Python 3.0 alongside my existing Python 2.5.2 installation without borking things up. The reason I thought it would be useful is that I'm running a Debian-based distribution of Linux called sidux right now, and neither Python...
Posted 1 month ago by wheaties
I've been making several updates to django-watermark during my more boring classes the past couple days. I have just released a new version for your pleasure.
Changes include:
- A lot of code refactoring. There was a lot of logic in the watermark filter itself. I decided this logic should be placed elsewhere so as to make the utils.watermark function easier to use outside the...
Posted 1 month ago by wheaties
I've added a few updates to django-watermark and figured it was time to announce another release. Updates include:
- the ability to place watermarks randomly on the target image
- updated the way relative positioning works. Now, position=50%x50% will center the watermark image on the target image. Previously django-watermark placed the top-left corner of the watermark image in the center of the target image.
- the ability to convert the watermark...
Posted 1 month, 1 week ago by wheaties
This little trick certainly isn't anything special. Several other folks have posted about how to have Django send out an e-mail automagically when a new comment has been posted on your site. However, a lot of these other posts seem to be pre-Django 1.0. Some groovy changes took place with the signal system slightly before Django 1.0 was released, so I thought I'd share my method of having Django notify me by...
Posted 1 month, 1 week ago by wheaties
I recently had a good friend of mine ask for some help in adding a captcha field to his comments form. I gave him some pointers, but before he could put them into action he had to leave for a Thanksgiving roadtrip home. I didn't give much mind to the idea of putting captchas on my own site since it's not all that popular amongst spammers yet. When I woke up this...
Posted 1 month, 1 week ago by wheaties
Django-watermark is a fast way for you to apply watermarks to "any" image on your Django-powered Web site.
Posted 1 month, 3 weeks ago by wheaties
I've been working on updating all of my articles to use ReStructured text formatting these past couple of days. Basically ever since I started using Django on my personal sites, I used Textile formatting to make my articles look pretty, and it treated me well. However, I found myself with a few extra minutes to do some research this weekend, and the topic I happened to research was the difference between ReStructured text,...
Posted 1 month, 3 weeks ago by wheaties
The Django team has once again announced a new release of their absolutely amazing framework. Right on schedule, version 1.0.1 has been made available to the world. This release packs over two hundred fixes over the original Django 1.0 codebase. I'm in the process of upgrading my sites right now!
For more information, see the following links:
Posted 1 month, 3 weeks ago by wheaties
I've posted some screenshots for my django-pendulum application!
Posted 1 month, 4 weeks ago by wheaties
Here's yet another application to help you make your site more useful to your users. django-reploc is a "representative locator" for Django-powered Web sites. It uses the Google Maps API to offer your users an interactive map of your representatives, vendors, friends, houses, etc.
I built this application to be a dealer locator for one of my clients. The application provides a way for you to create "representatives," and each...
Posted 2 months ago by wheaties
Up until a couple weeks ago, I had never installed a FavIcon on any of my Django sites. I never really thought about it until one day I enabled the SEND_BROKEN_LINK_EMAILS setting for one of my sites. As soon as I did that, I was able to track down links to broken pages very quickly. It also notified me that I didn't have a favicon.ico file...
Posted 2 months ago by wheaties
Ever curious to see information about failed login attempts on your site? This morning I threw together a small, simple Django application that allows you to do just that. I'm calling this project django-axes, which is pronounced as "jango access".
I've only tested it on my own site, so it must still undergo some more in-depth testing before I can call it a stable application. From my testing, however, it...
Posted 2 months ago by wheaties
Several updates made to django-pendulum.
Posted 2 months ago by wheaties
I've released my personal time clock application on Google Code!
Posted 3 months ago by wheaties
This kinda caught me off guard, but apparently Python version 2.6.0 final has been released!
Posted 3 months, 3 weeks ago by wheaties
Ever in the mood to have your Web site change colors depending on what day of the year it is (kinda the way Google's logo changes on holidays and such)? Well now you can do it a lot easier.
Posted 4 months ago by wheaties
In continuation of a previous article, now you can learn how to install Django on a shared hosting provider. I know for a fact that this HOWTO works with Site5 because I used it to setup a friend's account with Django a few minutes ago.
Posted 4 months ago by wheaties
Django 1.0 final is here at last!
Posted 4 months, 1 week ago by wheaties
Finally, I have created my very first extension for Firefox. It's simple and to-the-point, but I think it does its job well!
Posted 4 months, 1 week ago by wheaties
Django's newly merged comments application seemed to break a lot of things for me. Here are some tips in case you're in the same boat.
Posted 4 months, 3 weeks ago by wheaties
Now all Django users have a simple way to keep track of active users on their Django-powered websites. Installs in less than 5 minutes!
Posted 4 months, 3 weeks ago by wheaties
Use Django's Object-Relational Mapper to design your database quickly and easily--regardless of the programming language/framework used in your final product.
Posted 4 months, 4 weeks ago by wheaties
Learn how to get started with Django on Windows, Linux, and Mac OS X.
Posted 5 months ago by wheaties
My newest project: django-clevercss, an interface to CleverCSS for those of us who are somewhat lazy or bored.
Posted 5 months ago by wheaties
Bigger and better things are always on the way!
Posted 5 months, 3 weeks ago by wheaties
The awesome Django developers and contributors have finally merged the newforms-admin branch into trunk!!!
Posted 5 months, 3 weeks ago by wheaties
Reflections on a recent experience as a freelance developer.
Posted 6 months ago by wheaties
Yes folks, I have launched yet another website.
Posted 6 months, 3 weeks ago by wheaties
The details on the verdict concerning the legality of my PyScriptures program.
Posted 6 months, 3 weeks ago by wheaties
Yet another frustipation concerning Windows.
Posted 7 months ago by wheaties
The latest release of PyScriptures is ready!
Posted 7 months, 1 week ago by wheaties
PyScriptures has moved to Google Code in order to allow more people access to the program.
Posted 7 months, 1 week ago by wheaties
The first "official" public release of PyScriptures.
Posted 10 months, 2 weeks ago by wheaties
Some thoughts about my preference for the Python programming language.
Posted 11 months ago by wheaties
I finally made my first contribution to an open source project!
Posted 1 year, 11 months ago by wheaties
Learn how to compile and install your own Linux kernel so you can tweak your system to the max!
Posted 2 years ago by wheaties
For those of you who love Java as much as I do, you might be wondering if your existing netbeans projects can be upgraded to JDK 6. This will explain how to do it.
Posted 2 years, 3 months ago by wheaties
Ever started a project that involved multiple developers, or wanted to keep track of changes that you make to your files? Learn how to effectively use a Subversion (SVN) repository to ease the burden of manually merging or backing up files.