Archive for April, 2010

Tags: ,
Posted by: peter

Kurt Grandis carried out an awesome Django vs .NET experiment at his company:

Almost two years ago I was in a rather unlikely situation in that I was running a software engineering department containing both a C# team and a Python team…It slowly dawned on me that I had a perfect test bed. Here we had two teams using different technology stacks within the same department…they shared the same development processes, project management tools, quality control measures, defect management processes. Everything was the same between these groups except for the technologies. Perfect! So like any good manager I turned my teams into unwitting guinea pigs.
With the result:
We found the average productivity of a single Django developer to be equivalent to the output generated by two C# ASP.NET developers. Given equal-sized teams, Django allowed our developers to be twice as productive as our ASP.NET team.
Tags:
Posted by: peter
While the SVN Book talks about custom logging for SVN with Apache, the example format doesn’t include one of the most important pieces of information, the SVN repository being accessed! It took me quite a while to find this, so here it is. On SUSE Linux, add the following lines to mod_log_config.conf:

LogFormat "%{%Y-%m-%d %T}t %u@%h %>s repo:%{SVN-REPOS-NAME}e %{SVN-ACTION}e (%B Bytes in %T Sec)" svn

And the following line to default-server.conf:
CustomLog "/var/log/apache2/subversion_log" svn env=SVN-ACTION
Instead of the normal unreadable rubbish, this should emit lines similar to the following to /var/log/apache2/subversion_log:
2010-04-09 14:41:50 peternixon@192.168.0.219 200 repo:myproject checkout-or-export 
/ r5317 depth=infinity (875377105 Bytes in 217 Sec)
Previous month Next month