Artful Code

"Everything should be made as simple as possible, but not simpler." — Albert Einstein

Primary menu

Skip to primary content
Skip to secondary content
  • Home
  • About
  • Projects

Category Archives: Tips

Optimizing regular expressions

Posted on March 26, 2008 by Jeff — No Comments ↓

We lispers generally look down our noses at regular expressions. Regular expressions are ugly. They are not expressive. However, they are a reality of programming. When used with care, they can express complex text patterns concisely. Submit article

Submit article

Add to Del.icio.us Add to digg Add to DZone Add to Facebook Add to reddit Add to Stumble Upon Add to Technorati Add to Twitter
Posted in Tips | Tagged regexp | Leave a reply

Psyco and Django

Posted on February 15, 2008 by Jeff — 5 Comments ↓

Psyco is a module that optimizes Python applications on the fly. Numerous resources online describe how to use psyco in a Django-powered application to speed it up. Submit article

Submit article

Add to Del.icio.us Add to digg Add to DZone Add to Facebook Add to reddit Add to Stumble Upon Add to Technorati Add to Twitter
Posted in Programming, Tips | Tagged django, python | 5 Replies

Per-user caching in Django

Posted on February 12, 2008 by Jeff — 4 Comments ↓

Django comes with an easy-to-use caching framework. With a few simple decorators, an application’s views are cached. Decorators can even be used to control upstream caches, such as those maintained by ISPs. Nevertheless, if a rendered view is customized with Continue reading →

Submit article

Add to Del.icio.us Add to digg Add to DZone Add to Facebook Add to reddit Add to Stumble Upon Add to Technorati Add to Twitter
Posted in Programming, Tips | Tagged django, python | 4 Replies

Dynamic URLs in Django

Posted on November 12, 2007 by Jeff — 3 Comments ↓

I long ago switched my company’s web applications from Code Igniter to Django. The main reasons were Django’s more powerful database API and Python’s maintainability and scalability over PHP. Submit article

Submit article

Add to Del.icio.us Add to digg Add to DZone Add to Facebook Add to reddit Add to Stumble Upon Add to Technorati Add to Twitter
Posted in Tips | Tagged django, python | 3 Replies

Art is rough

Posted on June 1, 2007 by Jeff — No Comments ↓

Why’s Poignant Guide claims that after learning Ruby you will write code so elegant it will make you cry. Paul Graham was not so dramatic, but he was closer to the mark. Lisp teaches you the elegance and grace of Continue reading →

Submit article

Add to Del.icio.us Add to digg Add to DZone Add to Facebook Add to reddit Add to Stumble Upon Add to Technorati Add to Twitter
Posted in Soap box, Tips | Tagged newlisp | Leave a reply

Post navigation

← Older posts
Newer posts →

Pages

  • About
  • Projects

Software

  • Argon: robust, distributed computing
  • Filter::Cleanup
  • pyprof – HTML profiler reports
  • Reddit::Client

Recent Posts

  • Newlisp modules
  • Fixed – Blackberry OS 7
  • My thoughts on Blackberry OS 6
  • Blackberry Bridge and the Playbook
  • Hacking Vim
  • Twitter
  • Linkedin
Copyright © 2013 Artful Code . All Rights Reserved.
Powered by WordPress | Theme: Catch Box