Welcome to CodyPrecord.com

Welcome to my home page. Visit the navigation links to see the Photo Gallery, Resume, and other random items. Account registration has been closed due to too much abuse by bots. If your an acquaintance of mine and would like an account on the page please send me a message and I can set one up for you. Regards, Cody

wxPython 2.8 Cookbook Published

wxPython CookboookI would like to announce the publication of my book wxPython 2.8 Application Development Cookbook. The book is a guide to writing user interfaces and developing applications using the wxPython toolkit, which is the Python bindings to the wxWidgets C++ library.

The book includes over 80 practical recipes for developing feature-rich applications using wxPython

Editra mentioned in O'Reilly book

Recently found out that Editra is mentioned as a suggested text editor in the O'Reilly book Learning PHP, MySQL, and JavaScript take a look at your local bookstore.

Listing available Python encodings

Been looking for a way to get a list of the available text encodings in Python on a given system. The following seems to work but needs more verification.
import encodings
elist = list(set(encodings._aliases.values()))
elist.sort()

There must be a better way to do this, the _aliases dictionary must get generated somewhere, the CodecRegistry must also maintain a list somewhere. Haven't found anywhere to access it though. Any ideas?

Vim on Leopard

The default configuration for vim on OS X 10.5 (Leopard) is pretty plain to say the least. Putting the following settings in ~/.vimrc will bring it into more of its true glory.
set nocompatible
set bs=2
set ai
set ruler
syntax on
set hlsearch
filetype plugin on

Editra 0.2.29 Released

I am happy to announce the latest release of Editra today. This version includes a number of important bug fixes and also solves some compatibility issues with python 2.4. In addition to the bug fixes there are also some improvements to existing features, with the most notably being a complete rewrite of the python auto-completion. Editra is now capable of providing auto-completion tips for items in the local scope as well as from imports. More information about the release and links to downloads can be found on Editra.org.

Editra 0.2.0 is out

Finally after a fairly arduous development cycle I have released the latest version of Editra. This is the second major release in the current alpha series and it introduces a number of new features and improvements to the editor. The recent releases have been mostly feature releases so the next few will likely focus on re-factoring and cleanup to help get rid of bugs and stabilize the platform for future improvements. For details on the release and downloads head over to the project homepage

Finally...I hope

It's taken the better part of two days now but I think I have cleaned up and re-secured the site as best I can for now. It was a very long very troublesome process. The spam files where littered in nearly every folder of the website. I am still unsure of how the access was gained but my suspicions are leading me to believe it may have been through an old unused wordpress installation that was on the server, the site had no links exposed to the rest of the site however so how it was found is still a mystery.

Site Compromised

My server/ftp appears to have been compromised sometime back around May 12 of this year. It did not come to my attention until recently. I have been noticing more and more strange search queries coming up in my server logs as well as a large number of 404 errors for pages with very suspicious names in the titles. Then earlier this week I did a search for "Editra" which is my other site that is also sharing the same hosting as this site. The results where what tripped this deeper search into my site. Just a short time ago doing the above search would turn up roughly 20,000+ related results on google but this week it only returned about 900. Which lead me to believe some bad content had creeped into my site to cause some of this de-indexing.

Refactoring and Quality

Lately I have been doing an extensive amout of refactoring and quality improvement work to Editra's code base. The project has been abit over due for this iteration of work especially with all the major advancements and features that have gone in recently. Overall the work has been very rewarding and has removed allot of potential error cases and created lot cleaner and easier to follow code. I broke the refactoring/cleanup into number iterations using pylint under its default configuration as the gauge and detector of what tasks to perform, the tasks were roughly broken up as follows.