Category Archives: Code

InDefero — Code Hosting and Project Management

While at SCaLE 9x this last weekend I went to a talk on “Behind the Scenes of Google Code Project Hosting”. I had previously just discovered InDefero, a project that started out as using a similar user interface but is … Continue reading

Posted in Code | Leave a comment

WordPress Tip: Modifying the Loop, Custom Posts Query to include all Post Types

The default post_type in query_posts is ‘post’, so other post types will not be in the loop unless they are specified. Here is an example of what you could include at the top of your template to include all post … Continue reading

Posted in Code, Hacking | Leave a comment

“The 1,11,2 Problem”, natural sorting of numbers and characters.

I’m sure everyone has run into this problem! You’re looking at a list in your file browser, or a maybe a list of tracks, the filenames or track numbers contain both numbers and characters, and the ordering is against logic: … Continue reading

Posted in Code | Leave a comment

WordPress URL Rewrite

WordPress has it’s own URL management system, and when developing websites it’s convenient to be able to add new rules dynamically. I’ve used this for two websites, music.vtechphones.com and for a site I am building now. It’s also great to … Continue reading

Posted in Code, Hacking | Tagged , | Leave a comment

Python Performance Part 3: Python 3000 and Transforming Large Lists into Seperate Smaller Lists

Preface This is a redux of Python Performance Part 1, where the fastest method was using the reduce builtin function in Python2.5. December 3rd, Python 3000 final was released so I have downloaded it and gone over some of these … Continue reading

Posted in Code, Hacking | Tagged | Leave a comment