Coder’s Eye

A site about one of the three passions in my life.

Coder’s Eye header image 4

Entries Tagged as 'Python'

Django Magic Removal, this time for real

April 27th, 2006 · No Comments

Despite my earlier initial successes using the Django Magic-Removal Branch, I had to roll back. The branch code was stuck in an unusable state for a couple weeks when I was really wanting to crank out some functionality on my storefront.
I’ve long since learned that when you have a strong urge to code, […]

[Read more →]

Tags: Django · Python

Django on Rimuhosting

April 13th, 2006 · No Comments

This is just a quick post to confirm that Django does indeed work perfectly on Rimuhosting with very little effort required to set up. It is fast, it connected to my Mysql db without a peep of a complaint, and it is making me a happy developer.
Setup details
I’m using Rimu’s “MiroVPS3″ plan. It […]

[Read more →]

Tags: Hosting · Tips · Django · Python · Uncategorized

Django and Dreamhost - not now

April 11th, 2006 · 4 Comments

Argh! I simply cannot get Django to work on Dreamhost. I hereby eat my words.
I’m really not worried about it, to be honest.
I tried for hours, and the best I got was extremely spotty results. Even the simple “hello.fcgi” directly copied from the Dreamhost Wiki only works about 30% of the time. […]

[Read more →]

Tags: Hosting · Django

Why am I writing an ecommerce engine from scratch?

April 4th, 2006 · 4 Comments

Sometimes I have to remind myself why I am writing a brand-new shopping cart and product management system.

[Read more →]

Tags: Design · Django

Django and multipart emails

March 26th, 2006 · No Comments

As part of the Django Storefront system I am writing, I needed to send multipart messages. The base Django mail functionality doesn’t seem to do this, at least not with my version of Python.

[Read more →]

Tags: Django · Open Source

Django and authenticated smtp

March 22nd, 2006 · 1 Comment

I just sent off my first patch for Django. It adds the ability to send mail via SMTP servers which require authentication. I need this for Dreamhost, which has authentication on its mail servers.
The modifications were simple, and the code I was modifying was refreshingly clean. Better yet, the Django project site […]

[Read more →]

Tags: Django · Python

XML Is Java’s Scripting Language

March 13th, 2006 · Comments Off

Great article at Lesscode.org, responding to Gosling’s dismissal of scripting languages.
Usually, I ignore attacks like Gosling’s as not worth my limited time and attention. I love Python, and it really doesn’t bother me when the ignorant attack my language-of-choice. This article is better than the original by orders of magnitude, due to its […]

[Read more →]

Tags: Rants · Python · Java

Coding Flow and Techniques

March 4th, 2006 · 3 Comments

Any programmer will tell you that one of the characteristics of really getting into a programming "flow" is that your mind is completely engaged.

[Read more →]

Tags: Reviews · Best Practices · Django

First use of the Django Magic Removal

February 24th, 2006 · 3 Comments

Last night I took a break from my most recent Django app, a mailing-list manager, to explore the new "Magic Removal Branch".
I diligently followed the instructions on the Django Wiki to change my existing code. There were more changes needed than I’d anticipated, but they all made sense, so I didn’t mind. Better, […]

[Read more →]

Tags: Django · Python

IPython brings joy

February 14th, 2006 · 1 Comment

After my rant yesterday, it is time to share another programming tool I find absolutely indispensable. IPython is an enhanced command-line shell for Python.
By itself, that may not sound like much, but you really get a lot. You get command history, tab-completion, and automatic introspection of classes. That means you can look […]

[Read more →]

Tags: Open Source · Python