Gus' Ramble
Hi. I write software for the mac.
FastScripts
Link: 2009.06.29 10:06 AM
I've been meaning to write this post for over a year now, and now that version 2.4 of Red Sweater's FastScripts is out I figure I've got no excuse.

So what is FastScripts? It's an application that sits unobtrusively in your menu bar, and gives you easy access to scripts via its menu bar icon, or a global keyboard shortcut. I tend to use it via its shortcuts.

Why should you use it? Well, how about I tell you why I use it? Basically, I use FastScripts as a replacement for Apple's Spaces, since I think Spaces sucks.

So, instead of having multiple spaces with Xcode in one space, or irc + iChat in another, and WebKit in its own; I create multiple scripts which hide all applications, and then brings forward just the ones I want. For instance, here is the script I've got set to control-keypad 2, which lists my "social" apps:

tell application "Colloquy" to activate

-- this delay lets me take my fingers off the hotkey
delay 0.2

-- hide all apps, from within Colloquy
tell application "System Events" to keystroke "h" using command down & option down

-- let the apps hide
delay 0.1

tell application "System Events" to set visible of process "iChat" to true
tell application "System Events" to set visible of process "Colloquy" to true
-- There's probably a better way to do all this, but I haven't found it yet.


Here's how to show the Finder, and hide all other apps (which I have set to control-keypad 7).

tell application "Finder"
    activate
    set visible of every process whose name is not "Finder" to false
end tell


And I've got scripts that do similar things for just VoodooPad or Acorn, and one for Xcode + Terminal, and one that kills VoodooPad and brings up Xcode, and since you can have applications defined by shortcuts as well in FastScripts, I've set some up for specific applications like Twitterrific, Mail, Xcode, etc.

I think this is a better way to manage multiple workspaces. The best part is nothing unexpected ever happens! If I click on WebKit in the dock, all my windows stay in one spot and WebKit just comes up. With Apple's Spaces, I wasn't ever sure what was going to happen.

Anyway, check out FastScripts, it's pretty rad. And I'll see if I can get Daniel to support JSTalk sometime soon as well.
JSTalk and WWDC
Link: 2009.06.05 12:06 PM
My original plan for JSTalk was to have a 1.0 in time for WWDC. Then I realized I that there are going to be a ton of developers that might be interested in / have feedback on JSTalk at WWDC, and it would be a shame to ship 1.0 and then get feedback on it.

So if you've check out JSTalk, or have thoughts on it- tell me! IN PERSON WOOO WWDC!!! Even if you think JSTalk is a bad idea, or if it's a good idea, or whatever. Any type of feedback will help me. Thanks and see you all next week!
Aaron Hillegass on the Text System
Link: 2009.05.29 11:05 AM
Here's a good video of Aaron Hillegass recently talking about the Cocoa text system, for the Atlanta CocoaHeads group.

If the Cocoa text system is still a mystery to you, it would do you good to watch this.
Integrating Help in your application using VoodooPad
Link: 2009.05.14 11:05 AM
Philippe Casgrain: Integrating Help in your application using VoodooPad.

Philippe is scripting VoodooPad as part of a build in his Xcode project. It's pretty neat, I should do something like that.
Postage for the iPhone
Link: 2009.05.14 10:05 AM
RogueSheep has put out a new app for the iPhone: Postage.

'''Postage for the iPhone allows you to easily create beautiful electronic postcards from your photos and send them by email to your friends and family. Whether you are traveling, celebrating a holiday, announcing an important life-event or just having fun with your photos, Postage allows you to keep in touch while you are on the go.'''


It's a very pretty app, make sure to watch the video!
Clipstart
Link: 2009.05.09 12:05 PM
It's been a little quiet around here lately, but I'd have to kick myself if I didn't mention Clipstart, a new app from my friend Manton Reece.

'''Clipstart complements your photo application to give you a place that is designed for home movies. Import your movies, tag, search, and upload with one click to Flickr and Vimeo.'''


Manton says more on his website, but I think Mr. John Gruber describes it best:

'''Back before iPhoto existed, I used to store all my digital photos in folders by hand, using the Finder as the management tool. That’s what I was doing for Flip clips before Clipstart, and at this point, I can’t imagine going back.'''
Geosmin
Link: 2009.04.22 10:04 PM
That awesome smell you get sometimes after a new rain? Apparently it's called Geosmin.
In Defense of Eye Candy
Link: 2009.04.21 10:04 AM
A List Apart : In Defense of Eye Candy, by Stephen Anderson.

'''Researchers in Japan setup two ATMs, “identical in function, the number of buttons, and how they worked.” The only difference was that one machine’s buttons and screens were arranged more attractively than the other. In both Japan and Israel (where this study was repeated) researchers observed that subjects encountered fewer difficulties with the more attractive machine. The attractive machine actually worked better.'''
Glenn Greenwald on Drug Decriminalization in Portugal
Link: 2009.04.20 02:04 PM
Reason.tv has an interesting video up, where Glenn Greenwald talks about drug decriminalization in Portugal. Glenn works for Salon.com, and recently wrote a paper for the Cato institute titled "Drug Decriminalization in Portugal: Lessons for Creating Fair and Successful Drug Policies".

It has been five years since Portugal decriminalized cannabis. And in that time Portugal found that instead of spending money to lock people up for using cannabis, it was put to better use towards treatment programs, which resulted in lower drug use overall. Which is exactly what they wanted, but were not getting with their previous strategies.
BackBlaze for Mac
Link: 2009.04.14 11:04 AM
BackBlaze for Mac OS X is out.

'''Backblaze online backup encrypts and uploads all your data – no questions asked. No picking files. No digging through folders.'''


I've been using BackBlaze (in addition to Time Machine) for about 4 months now, and I've been really happy with it. At $5 bucks a month it's a steal, and I'm backing up both my wife's laptop and my desktop (with a combined total of 113GB).

I had trouble installing BackBlaze on my desktop when it was in private beta, but I talked with support, got the issue fixed (I've got some weird disk configurations), and it has been a breeze ever since. My house can burn down and take my Time Machine backups with it, but the really important stuff is still safe are reachable online with BackBlaze.

Peter Cohen has a review of it for Macworld.com as well.
Easy Star's Lonely Hearts Dub Band
Link: 2009.04.14 10:04 AM
(A quick note: the links below go to Lala.com - where you have to sign up to listen to the music, but once you do, you get to listen to the whole album.)

I got my copy of Easy Star's Lonely Hearts Dub Band in the mail today (thanks Amazon!). It's a "reggae re-imagining" of the Beatles’ Sgt. Pepper’s Lonely Hearts Club Band, and it's pretty decent (I'm a big fan of Easy Star's other reggae tributes). I've already listened to it a bunch of times, and a number of the songs have really been stuck in my head.

For a quick comparison (but only if you're familiar with Easy Star's other albums), Lonely Hearts Dub Band is not as good as Dub Side Of The Moon, but it's better than Radiodread.

Required listening for Radiodread: Paranoid Android, and Karma Police.
Required listening for Lonely Hearts Dub Band: A Day in the Life.
Required listening for Dub Side Of The Moon: The whole damn album. It's really good. It's an Xcoder's favorite in fact.


JavaScript for C & Python programmers
Link: 2009.04.13 04:04 PM
Wooji Juice: JavaScript for C & Python programmers.

'''JS is a dynamic language, with C-ish syntax for its basic flow control structures. Some of the more advanced datatypes look very Pythonesque, and indeed, so is its behaviour in quite a few respects.

In fact, it's a surprisingly powerful, expressive language, and could've been a very elegant bit of work.

However, it is not.

It is a dark festival of pain. Gotchas lurk in the darkness, biding their time. Brooding. Like bears: They Will Eat You.'''




It's still better than AppleScript.