Author: Stephane Daury

  • IM/IRC/Skype Statuses Applescript Helper

    Largely inspired by Beau’s equivalent setup, I rolled out a small Applescript to set my miscellaneous IM/IRC/Skype statues as away or available in one click.

    [sourcecode]
    set myStatus to display dialog "Select your IM Status:" buttons {"Away", "Available"} default button 1

    — Adium: Multiple IM and single IRC account statuses
    if appIsRunning("Adium") then
    tell application "Adium"
    if the button returned of myStatus is "Away" then
    send the first chat of the first chat window message "/nick stephdau|away"
    go away
    else
    send the first chat of the first chat window message "/nick stephdau"
    go available
    end if
    end tell
    end if

    — Skype status
    if appIsRunning("Skype") then
    tell application "Skype"
    if the button returned of myStatus is "Away" then
    send command "SET USERSTATUS AWAY" script name "My Script"
    else
    send command "SET USERSTATUS ONLINE" script name "My Script"
    end if
    end tell
    end if

    — iTunes
    if appIsRunning("iTunes") then
    tell application "iTunes"
    if the button returned of myStatus is "Away" then
    pause
    else
    play
    end if
    end tell
    end if

    — Helper
    on appIsRunning(appName)
    tell application "System Events" to (name of processes) contains appName
    end appIsRunning
    [/sourcecode]

    Note on Adium handling: because of my account order and the fact that I connect to IRC via ZNC, the first chat of the first chat window is always an IRC room in my context.

    I haven’t yet, but I could adapt this script to also take parameters to get the button status equivalent, then couple it with SleepWatcher or ScriptSaver to have the script triggered on sleep/wake on my MacBook Pro or when the screensaver activates/deactivates on my iMac.

  • Everyone but Us, It Seems

    http://twitter.com/#!/stephdau/status/7824874953252864

  • WordPress 3.1 Beta 1

    It’s that time in the release cycle again, when all the features are basically done, and we’re just squashing bugs. To the brave of heart and giving of soul: Won’t you help us test the new version of WordPress? As always, this is software still in development and we don’t recommend that you run it on your normal live site — set up a test site just to play with the new version. If you break it (find a bug), report it, and if you’re a developer, try to help us fix it. (Especially you U.S. types who are taking a long weekend for Thanksgiving! )

    via WordPress › WordPress 3.1 Beta 1.

    We’ve been running it on WordPress.com for a while, so it’s solid, but YMMV.

  • SoundCloud is Going to Kill My Home Bandwidth Cap!

    … There is way too much goodness on there… 🙂

    Some examples from a few people I have the pleasure to know in person.

    [soundcloud url=”http://api.soundcloud.com/tracks/6703249″]
    Fast Love Promo Mix, by Heisenberg & Sheila

    [soundcloud url=”http://api.soundcloud.com/tracks/4792939″]
    Syntax, by Annie @ Limebase

    [soundcloud url=”http://api.soundcloud.com/tracks/2848592″]
    Live @ Stereo, by Max hebert

  • Melting Rock Using Sunshine

    [youtube http://www.youtube.com/watch?v=z0_nuvPKIi8]
    This video is absolutely crazy: “there is currently no known material that could resist this”.

  • MC Frontalot – First World Problems

    [youtube=http://www.youtube.com/watch?v=M3w1_E1V46M]
    Be sure to pay close attention to the lyrics. 🙂

  • Mini Origami Star

    Yes, a Canadian cent is about the same size as a US one.

    My oldest son, Teagan (11), has been developing an interest for origami and was making these tiny stars tonight. He has of course done other, more elaborate figures, thanks to YouTube as a tutor of choice. Maybe I (or he) will post some more another time.

  • Selection of Favorite Quotes

    I caught myself adding a new quote to my Facebook profile and while reviewing the existing ones, realized that I didn’t post any of them here. Here’s me rectifying that unfortunate fact.

    I have no special talent. I am only passionately curious.

    Albert Einstein

    It is hard to teach a coder how to think, but trivial to teach a thinker how to code.

    Unattributed

    I reject your reality and substitute my own

    Adam Savage, MythBusters

    Sometimes, if you’re a compulsive dreamer, reality doesn’t really have a choice.

    Mat Hoffman

    If you’re going to be crazy, you have to get paid for it or else you’re going to be locked up.

    Hunter S. Thompson

    Don’t panic

    Douglas Adams, HG2G

    You, skateboarders, are the leading edge of a revolution of the human being’s relation to his or her environment.

    Edmund Bacon

    My dad used to say he worked part-time, which for him meant only twelve hours a day.

    Coluche (translated from French)

    My life is perfect because I accept it as it is.

    Lenny Kravitz, Eleutheria

    I don’t have the strength within me to allow any ideology or philosophy to get between me and a ham and cheese sandwich.

    Christopher Murtagh

  • Toni Schneider, “Point of Control: You”

    [youtube=http://www.youtube.com/watch?v=15TP8QvtG9M]
    Toni on the present and future of online publishing, WordPress.org and .com, online identify and more. Shot at the O’Reilly 2010 Web 2.0 Summit.