Archive for July 2007
I bought an external drive recently. I bought it partly to back up the files on my main computer – a trusty Mac. It came bundled with Retrospect Express. I’ve tried to use Retrospect Express, but we don’t get along too well. Before I got the drive, I’d read about using rsync to backup OS X. So, I thought I’d give that a go. I followed the instructions here. Works a treat, and simple as you like. Sometimes the command line is all you need. For the easily scared among you, keep your eyes averted from the following warning to be found towards the bottom of the article:
Using command line utilities without experience can have unpredictable consequences including loss of data.
Build 4560 of Parallels Desktop for Mac is out. I’ve upgraded and all is well. The new build includes updated Parallels Tools. I’ve finally got around to installing the release version of Windows Vista (with the image being on an external drive – connected with Firewire.) There are rumours that version 3.5 will have Aero support. Right now the Experience Score Thingy (TM) won’t run through – I can live without it I suppose.
At first, when I tried to use SQL Server (2000) with ActiveMQ there was an error. The error was:
Failed to acquire lock: com.microsoft.sqlserver.jdbc.SQLServerException: Line 1: FOR UPDATE clause allowed only for DECLARE CURSOR.
I’m using the jtds jdbc driver. I attached a profiler and the SQL that SQL Server finds offensive is:
SELECT * FROM ACTIVEMQ_LOCK FOR UPDATE
<bean id="jtds-ds" class="net.sourceforge.jtds.jdbcx.JtdsDataSource"> <property name="serverName" value="localhost"/> <property name="portNumber" value="1433"/> <property name="databaseName" value="databaseName"/> <property name="user" value="userName"/> <property name="password" value="password"/> </bean>
and my persistence adapter is configured like this:
<persistenceAdapter> <journaledJDBC journalLogFiles="5" dataDirectory="../activemq-data" dataSource="#jtds-ds" useDatabaseLock="false"/> </persistenceAdapter>
The useDatabaseLock=False being the important bit.
All of which seems to work.
As you start to adopt unit testing, you’ll notice that you start to design your code differently. Being able to test your code thoroughly becomes the imperative. And, maybe counter-intuitively, that imperative promotes good design. Some of that good design may not be what you thought was good design before. This post, by Tim Ottinger, is an excellent description of the changes you’ll observe.
As you can read here, the British Computer Society believes that it already has the definitive architectural qualification, so there’s no need for another certification – in contrast to Matt Deacon’s recent comments. However, it sounds like there may be moves afoot to map the Microsoft architectural qualification to the BCS equivalent.