Archive for November, 2008

On the value of source code comments

Thursday, November 27th, 2008

Image via WikipediaWhen I get an inherited code, I plainly love reading comments. When the code is with history, it doubles. If the code has history and is from public project - it raises to unimaginable heights of hacker's delight. Reading the code this night. Got Blink tag seems appropriate ...

Breakthrough for carbon nanotube materials - stronger than steel, production up to 7 meters per minute

Wednesday, November 26th, 2008

Image via WikipediaBreakthrough for carbon nanotube materials as reported in today’s edition of the prestigious international scientific journal, Science – the UTD/CSIRO team recently demonstrated that synthetically made carbon nanotubes can be commercially manufactured into transparent sheets that are stronger than steel sheets of the same weight. [...] Starting from chemically grown, self-assembled ...

Test driven bug fixing

Tuesday, November 25th, 2008

Image by Lachlan Hardy via FlickrI wonder that too many developers misunderstand steps to approach a bug in test driven development fashion. They're dead simple: Reproduce the bug manually Write automated test that reproduces the bug Commit this test - nice step when using easy-branching git and doing your changes in a separate branch Fix ...

Is face-to-face communication really always better?

Friday, November 21st, 2008

Image via WikipediaCommunicating Persuasively: Email or Face-to-Face? Our intuitive understanding is that face-to-face communication is the most persuasive. In reality, of course, it's not always possible to meet in person, so email wins out. How, then, do people react to persuasion attempts over email? Persuasion research has uncovered fascinating effects: that ...

More on doing software in distributed team

Thursday, November 20th, 2008

"We want people to stay away from each other and actually get the work done." -- Jason Fried, 37Signals (in the interview with O'Reilly') I have nothing to add :)

Where’s a distributed team pain?

Wednesday, November 19th, 2008

Recently I've read a bunch of posts regarding pain and sub-optimality of a distributed team developing software: Distribute the team? Distribute the pain! on distributed teams New Release: Distributed Agile Development at Microsoft patterns & practices Learning and Distributed teams Tools for Distributed Teams Actually we do run all our development with distributed team and I'm ...

twill + rss

Tuesday, November 18th, 2008

Rerunning my old post about testing django with twill, since I've seen this issue raised again. ... Now have a pleasure of not starting django development webserver, nor using apache to do http-level tests in my project. Thanks to twill and its wsgi integration. Works smoothly now, but caused me little cursing ...

Our first startuplet - code review service

Wednesday, November 12th, 2008

Welcome, reviework.com. This is a simple code discussion service working with git repositories and, through git adapters - with any other VC supported. SVN would be added, of course, the first. Right now we are using actively it in our own internal development and working with few selected teams to polish ...

Webware encoding issues also known as “UnicodeDecodeError: ‘ascii’ codec can’t decode”

Wednesday, November 12th, 2008

Setup: You have html snippets with unicode. Your application is written in webware that some time ago was forked from main development You have to show this unicode text to user Result: Something like: File "....app/Webware/WebKit/HTTPResponse.py", line 370, in rawResponse [edit] return { File "..../app/Webware/WebKit/ASStreamOut.py", line 96, in buffer [edit] ...

Absolutely unscientific comparison of django performance with different caching backends

Saturday, November 8th, 2008

Image via WikipediaSetup: dead simple django application, returning a template stored in a file as a root page. Template has no executable code. The server is started as FastCGI (10 children) and server through nginx. Hardware - IBM T42 with 1GB under linux, kde, firefox, thunderbird, emacs, openoffice and bunch of ...