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@ 200 repo:myproject checkout-or-export 
/ r5317 depth=infinity (875377105 Bytes in 217 Sec)
Posted by: peter

Today I started to rewrite my website in HTML5 to see what it was like, and was so exited by the result that I put the new HTML5 version of the site live after only a few hours!

If you are trying to view (possibly unsuccessfully) this site with an older web browser (or any version of Internet Explorer), please upgrade to the latest version of Google Chrome, Mozilla Firefox or Apple Safari

For any web developers who haven’t yet looked at HTML 5 and CSS 3, do so soon, because it makes a lot of things easier, better, cleaner and brighter! Did I mention easier? Better?

Posted by: peter

On Friday the Sydney Morning Herald reported that an Internet censorship protest site had been set up under the banner ‘Stephen Conroy: Minister for Fascism‘ and was ironically registered under the very name of the Australian Communications Minister responsible for trying to mandate the compulsory filtering scheme in federal law, stephenconroy.com.au. Within hours of the story being published, auDA, the Australian Domain Name Authority, had shut down the site, giving the owners only 3 hours to respond to a request to justify their eligibility for the domain. Normally auDA would allow several days to weeks for this process. An appeal to request an extension was denied, with no reason given. The site was quickly moved to a US domain, stephen-conroy.com in order to stay active while the dispute with auDA is resolved.

Tags: , ,
Posted by: peter

Petr Horava, a physicist at the University of California in Berkeley, has a new theory about gravity and spacetime. At high energies, it actually snips any ties between space and time, yet at low energies devolves to equivalence with the theory of General Relativity, which binds them together. The theory is gaining popularity with physicists because it fits some observations better than Einstein’s or Newton’s solutions. It better predicts the movement of the planets (in an idealized case) and has a potential to create the illusion of dark matter. Another physicist calculated that under Horava Gravity, our universe would experience not a Big Bang but a Big Bounce — and the new theory reproduces the ripples from such an event in a way that matches measurements of the cosmic microwave background.

Posted by: peter

While there seems to be a lot of information around explaining how to migrate an existing disk image to VirtualBox from both Xen and VMWare, I couldn’t find a single article explaining how to migrate away from VirtualBox. After a lot a google searches (most revealing an obsolete program called “vditool”) and reading quite a lot of documentation I found the VBoxManage clonehd command which allows you to convert a VDI disk image into a RAW disk image that is able to be used by Xen. To save everyone else the time, the syntax is:

VBoxManage clonehd image1.vdi image1.raw —format RAW

Posted by: peter

The unspoken truth about managing geeks

  • IT wants to help me.
  • I should keep an open mind.
  • IT is not my personal tech adviser, nor is my work computer my personal computer.
  • IT people have lives and other interests.

Few people notice this, but for IT groups respect is the currency of the realm. IT pros do not squander this currency. Those whom they do not believe are worthy of their respect might instead be treated to professional courtesy, a friendly demeanor or the acceptance of authority. Gaining respect is not a matter of being the boss and has nothing to do with being likeable or sociable; whether you talk, eat or smell right; or any measure that isn’t directly related to the work. The amount of respect an IT pro pays someone is a measure of how tolerable that person is when it comes to getting things done, including the elegance and practicality of his solutions and suggestions. IT pros always and without fail, quietly self-organize around those who make the work easier, while shunning those who make the work harder, independent of the organizational chart.”