20 Nov 2011, 1:25am
Work:
by

leave a comment

  • Canberra Workcapade 2011

    I went to Canberra this week to attend Open Source Developers Conference 2011 and also to give a talk titled Continuous Delivery Using Jenkins. OSDC ran for 3 days, and was held at Australian National University.

    OSDC 2011 was very well organised, much thanks to the organisers: Evan Leybourn, Gavin Jackson, and the volunteers squad. It was an interesting grass roots conference with lots of passionate open source geeks, definitely learned a lot.

    Slides from my talk:

    Update (24/11/2011): and the video of the talk:

    Canberra was still as quiet as ever…

    6 Nov 2011, 11:59am
    Projects:
    by

    leave a comment

  • Use Jenkins On Firefox By Talking To Your Mac

    I was watching I, Robot the other day, and thought how great it would be to use voice to control Jenkins.

    So last night I did a quick read, and then recorded this video.
    This used Mac Speech Recognition, so in theory I talked to my Mac, which then opened Jenkins pages on Firefox. Here are the commands:

    1. ‘Open Jenkins’: opens Jenkins home page (dashboard)
    2. ‘Build Bob’: builds a project called Bob
    3. ‘Configure system’: opens Jenkins configuration page

    I had to repeat each command 2-3 times because I speak Indonesian-accented English.

    Note: I scrolled the page up and down using the trackpad, it could be voice-controlled too actually.

    It’s easy to add a command:

    1. Create a new file in /Users/<username>/Library/Speech/Speakable Items/Application Speakable Items/firefox directory containing:
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
      <plist version="1.0">
      <dict>
      <key>URL</key>
      <string>http://jenkins-host:8080</string>
      </dict>
      </plist>
      

      This format is Mac OS X Property List.

    2. Save this file as <command>, e.g. Open Jenkins (yes, with the space).
    3. Open System Preferences -> Speech, and switch Speakable Items on.
    4. Configure the Listening Method. I set it to Listen continuously with keyword, and keyword is Required before each command. My keyword is VIKI, you know, Virtual Interactive Kinetic Intelligence, from the movie.

    I haven’t investigated how much programming can be done on the command file, but this opens up the possibility of mapping Jenkins HTTP API to commands, and we will be able to fully interact with Jenkins using voice.

    Then the only thing left to do is… develop an American accent.

     

    Recent Posts

    Recent Comments

    • Cliffano Subagio: It does sound like something from Kelly, but it’s been a while since I read the book and I...
    • ben: I am trying to find & verify this quote of Kelly Johnson’s, (date, time, to whom and location) which...
    • Monty: Awesome post. I love what you have put out here. It is truly inspirational. I wish you continued success. I...
    • Cliffano Subagio: Good to hear about your opportunity to visit Japan, I’m sure you will have a great...
    • Kayla: I’m going to Japan for two week this summer. Our sister city is Tsubame, Japan and my school has an...

    Most Commented Posts

    Linkroll