Final Cut Express 4 notes

I rarely use Final Cut Express, usually iMovie does everything I need. Whenever I come back to FCE though, I always forget how to do some of the simplest tasks. A few reminders for myself:

  • To add a transition between clips you need in and out points set first to define where the transition should start/end (on both of the clips between which you are adding the transition)
  • Double-click a clip in the timeline to load it into the viewer to edit it’s properties
  • Overlay videos by dragging each clip to a track in the timeline. You can resize, move and clip each overlaid video in the ‘Motion’ properties tab in the viewer
  • To use the Chroma Key effect to overlay a video, drag the Chroma settings tab out of the viewer, then use the ‘dropper’ to select the background color in the video clip

Maven settings.xml config for default Sonar db server

If you want to set a default Sonar configuration for all your Maven projects to run against, you can add your settings as a profile in the profiles section in your default settings.xml in either your ~/.m2 dir or your maven_install_dir/conf dir (depending which you’re using)

<profiles>
    <profile>
            <id>sonar</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <properties>
                <!-- MySQL -->
                <sonar.jdbc.url>
                    jdbc:mysql://localhost:3306/sonar?useUnicode=true&amp;characterEncoding=utf8
                </sonar.jdbc.url>
                <sonar.jdbc.driver>com.mysql.jdbc.Driver</sonar.jdbc.driver>
                <sonar.jdbc.username>your_sonar_db_userid</sonar.jdbc.username>
                <sonar.jdbc.password>your_sonar_pwd</sonar.jdbc.password>
            </properties>
        </profile>
  </profiles>

 

Maven packaging notes

maven-dependency-plugin: Copy dependent jars into a /lib/ dir to be bundled with the package goal (note that you can’t have jars within jars and have them accessible on the classpath, so this just helps package the jars with your distribution):

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-dependency-plugin</artifactId>
    <version>2.6</version>
    <executions>
        <execution>
            <id>copy-dependencies</id>
            <phase>prepare-package</phase>
            <goals>
                <goal>copy-dependencies</goal>
            </goals>

            <configuration>
            <outputDirectory>target/classes/lib</outputDirectory>
            <overWriteIfNewer>true</overWriteIfNewer>
            </configuration>
        </execution>

        <execution>
            <phase>generate-sources</phase>
            <goals>
                <goal>sources</goal>
            </goals>
        </execution>
    </executions>
    <configuration>
        <verbose>true</verbose>
        <detail>true</detail>
        <outputDirectory>.</outputDirectory>
    </configuration>
</plugin>

 

 

Computer history documentaries and dramas

I love watching and reading about the evolution and history of computers and the IT industry. It’s not just the developments in technology I find fascinating, it’s the characters involved and the business deals that turned out to be so pivotal in the how the future evolved, such as the IBM deal with Microsoft to produce PC-DOS for the first IBM PC and how things could have been so different if Gary Kildall agreed to license CP/M to IBM when he was approached before IBM later went to Microsoft.

I also find it interesting how product A vs product B battles in the industry were geographically based. While Apple created the home computer market in the US, in Europe the players were different, involving Sinclair (the ZX81 and ZX Spectrum), Commodore (VIC 20 and C64) and especially for education in the UK, the BBC Micro.

I spotted this story on The Register last week about a drama documenting the competition between Sinclair and Acorn (who made the BBC Micro), called Micro Men, made a few years back. I’m pretty sure this never made it across to TV in the States, but I just found a copy on YouTube so have this queued up in my ‘must watch list’.

It’s surprising how many other great documentary and old TV shows you can find on YouTube. Some of my favorites include:

  • Triumph of the Nerds – an amazing documentary including interviews with all the major players during the development of the personal computer, including Gates, Balmer, Allen, Jobs, Wozniak, plus many others. There was only 10 minutes of the interview with Jobs included in the final version, but apparently there was 70mins of film recorded from the interview originally, and  after Jobs death, this was released as a separate film, The Lost Interview
  • BBS – a documentary about the rise and fall of dial-up BBS systems
  • Once upon Atari
  • The Computer Programme – this show first aired in the UK in 1982 and heavily featured the BBC Micro. There was also an accompanying magazine sold at the same time… I remember diligently studying every copy…
  • In the US there was Computer Chronicles on PBS, hosted by none other than Gary Kildall. I’m pretty sure I never saw this in the UK, but it’s also available on YouTube, where there’s a dedicated channel collecting most of the episodes

Anyone know any others worth watching?