Topics /

Tools & Productivity

The most popular blog posts about tools & productivity on Hacker News. 122 posts.

2009
61

Problems with TDD

If you have not yet read it, please read Maria Siniaalto's 15 page " Test-Driven Development: empirical body of evidence ." It summarizes the few empirical studies done to evaluate the effectiveness of TDD. In the conclusion you'll find:

65

Don’t use @import

In Chapter 5 of High Performance Web Sites , I briefly mention that @import has a negative impact on web page performance. I dug into this deeper for my talk at Web 2.0 Expo , creating several test pages and HTTP waterfall charts, all shown below. The bottomline is: use LINK instead of @import if you want stylesheets…

80

From TextMate to Vim

TextMate is an excellent editor, but it is beginning to show its age. It has a few squeaky wheels that have yet to be oiled, and it looks as though the author may be getting bogged down in the minutiae of his next release. With the next version apparently due sometime after the colonization of Mars, it seemed an…

82

Python Library for Google Translate

I have extended my xgoogle library with a Python module for Google Translate. The new module is called "xgoogle.translate" and it implements two classes - "Translator" and "LanguageDetector". The "Translator" class can be used to translate text. It provides a function called "translate" that takes three arguments -...

88

Pimping out git log

I got playing with git log and ended up creating this alias: [alias] lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative Which adds a git lg command that is a prettier version of git log --oneline.