David Avraamides Code and other geekery

Posts tagged programming

Mode-Aware Google Help in Emacs

While surfing the other night, I ran across a nice Emacs Lisp function for using Google to do context-sensitive help from inside Emacs. I liked how simple it was, and had always been curious about writing some Emacs lisp code (my .emacs file is a random collection of snippets I egregiously pilfered from various ...

Why Python?

A number of people have asked me why I program in Python. There isn't a really short answer, except maybe "it suits me", so I thought I'd write my thoughts down to better explain how I got to this point. Background There is no best programming language, contrary to what some people ...

Getting Things Done, Django-style: Part 3

Update: I no longer have this project in my Subversion repository but have archived the project which you can download here. Note that this was written against Django 0.96 and a number of things have changed such as validators and manipulators (some assembly required). Its been a while since I wrote part 2 ...

Getting Things Done, Django-style: Part 2

Update: I no longer have this project in my Subversion repository but have archived the project which you can download here. Note that this was written against Django 0.96 and a number of things have changed such as validators and manipulators (some assembly required). In the first part of this series I discussed ...

Page Stats Middleware

Some websites have a nice feature where they will show you a summary of the performance metrics measured during the generation of a page. I thought this would be a nice feature for some Django-based web applications I was developing at work. When a page takes a while to render, I like to quickly ...

Yet Another Django Blog

To help me learn Django, I decided to build a blog. It was surprisingly easy. This article walks through my initial version of the site. I've recently cutover from WordPress to a new blog which I developed using Django. I've been using Django at work for the past month and as I've gotten ...

How Do I Copy Thee? Let Me Count the Ways

Over the years I've interviewed a lot of programmers and one of the questions I've always asked is for the candidate to implement the strcpy function. This article discusses why I asked this question, walks through the range of "solutions" I received, and takes a look back at what I learned about programmers from ...