Python links for October 3rd, 2009

John Kleint: Python Project Howto – describes how to get a Python project up and going, from unit tests to project hosting. Fantastic howto.

Dpeepul Blog: django guys let us understand django guys let us understand python *args and **kwargs – Great for a Python beginner to discern just what those features are. Here’s more in the official documentation (which you’ve read – right?).

Some of my Emacs defaults (in .emacs)

(defvar my-dir-root (expand-file-name "~/elisp"))
(set-default-font "-apple-consolas-medium-r-normal--13-0-72-72-m-0-iso10646-1")
; appending to the elisp load path for our stuff
(setq load-path (cons my-dir-root load-path))
; stop that splash screen
(setq inhibit-splash-screen t)
; set the fill column
(setq-default fill-column 79)
; set the default tab width
(setq-default tab-width 4)
; always show the line number
(line-number-mode t)
; always show the column number
(column-number-mode t)
; allow selection deletion
(delete-selection-mode t)
; yes-or-no will always take "y" or "n"
(fset 'yes-or-no-p 'y-or-n-p)
; stop automatic insertion of new line
(setq next-line-add-newlines nil)
; enable selection highlighting
(setq transient-mark-mode t)
; enable search highlighting
(setq search-highlight t)
; show matching parens
(show-paren-mode t)
; have backspace be backspace
(normal-erase-is-backspace-mode 1)
; have emacs scroll line-by-line
(setq scroll-step 1)
; prevent emacs from making automatic backups
(setq make-backup-files nil)
; switch dabbrev-expand to hippie-expand
(global-set-key "\M-/" 'hippie-expand)
; turn off backups
(setq backup-inhibited t)

Programming Links for September 27, 2009

Kimberly Blessing: Craftmanship can change the world

Tim Bray: On Duct Tape: Slashdot thread

Dare Obasanjo: Duct Tape Programmers and the Culture of Complexity in Software Projects

Chris Smith: “What To Know Before Debating Type Systems”

Making Good Software: “Programmers top 10 sentences” (painfully funny)

CMS links for September 19th, 2009

I don’t agree entirely with the first first link from Sunlight Labs – blanket statements like ‘x is dead – use y’ – are poor generalizations – however it raises strong points about frameworks and CMSes.

I just wish organizations and individuals would realize that there is not an either/or choice here – as projects such as Alfresco-Django and Alfresco-Drupal show.

Sunlight Labs: Content Management Systems just don’t work.

fiercecontentmanagement: Rolling your own CMS just doesn’t make sense

CMS Myth: Is interest in content management declining?

Stop looking for golden hammers.