March 29, 2010
Today on Twitter, Adam Engst, one of the minds behind Tidbits was complaining that he didn't like how iChat dealt with his status settings, particularly custom ones when coming out of sleep.
His issue appears to be the default status of "Available" with a green light. He wants that to say "working". Luckily, not only are iChat's status messages scriptable, but various iChat events are too. So, you can set iChat to automatically set your iChat status to whatever you want when you log in. First, you need the script:
using terms from application "iChat"
on login finished
set status to available
set status message to "working"
end login finished
end using terms from
Save this script as a script, (not an application) somewhere, I recommend ~/Library/Scripts/iChat/
Then, in iChat's Prefs, under Alerts, set the Event dropdown to "When I Log In"
Enable "Run an AppleScript script:" and if you saved the script where I told you to, you should see it in the dropdown list of scripts.
What happens is, when you log in, the last thing iChat will do is run this script which says "set my status to "available", then set my status message to "working".
Every time you log in, that script will run. Simple, no?| Comments ()
Firefox won't launch with network home directories in Mac OS X
Forgive the title, but that's a play for search engines, since this is going into the great Google Tech Support database.
If you use network home directories, and you're doing the smart thing to cut down on network traffic, like say, redirecting ~/Library/Caches to a local folder, make sure that local folder is there. If it isn't, Firefox tends to do the "bounce once and never launch" thing.
I found this when I was looking at a user with network homes who couldn't run Firefox and I noticed that her ~/Library/Caches folder was showing the icon for a busted alias/link. A bit of snooping about showed the folder the link pointed to didn't exist. I created the folder manually, and Firefox started running. iChat got a lot happier too.
That's not always going to be the fix, but it is a possible solution if your setup is similar when you see that problem.| Comments ()
March 26, 2010
What happens in ATL...
So i've had a few people tell me this is a cute story...okay, WTF, here, enjoy.
Like everything leaving Tallahassee, when Melissa and I flew to S.F. for Macworld Conference & Expo this year, we had to stop in Atlanta. We're in Terminal B, IIRC, waiting for our flight, when we see the wobbliest soldier ever. Full pack and rubber legs.
I say to Mel, "That boy is so tired, he's gonna fall right on his ass"
On his ass he falls.
Manages to get up, and a nice ATL airport lady takes him by the arm. "Oh good" we think, "he's in the right hands."
Nope. Not ten minutes later:
As he goes wobbling off, I sigh, and get up to follow him. He's leaning on a wall by a gate agent desk. Wait..he's attached to that wall like the secret of life, the riches of Croesus, and Catherine Zeta-Jones in a dirty-girl mood are going to pop up out of the ground, just so long as he never, ever, ever lets go of that wall.
"You look pretty tired there son"
"Oh yes sir, I am. I am so tired, and I think I don't know where my plane is supposed to be"
"Where you going?"
"Boston, my girlfriend is meeting me at the airport."
"Well that's a good woman, here, let me have your boarding pass, and i'll find out where your plane is leaving from."
Takes about ten seconds to find out he missed his flight. Shit. But, the gate agent says "I'll get him on the next flight to boston". Excellent. I tell the kid, (and i mean kid. Barely 21. BARELY): "Okay, so you missed your flight, but the gate agent's getting you on the next one. Ima get you some coffee from Starbuck's over there, and we'll get you moving." "Oh you don't have to do that." "I know, but Ima do it anyway, so you just sit there and let me. Be right back."
The Starbuck's ladies are very amused by yon wobbly soldier and give me the military discount, as I'm buying for him.
"Here you go...I'll trade you. You give me that boarding pass, I'll give you this coffee, and we'll get you to where you need to be. You also might want to call your girlfriend." As we swap, he says "Can't. Dunno where my cell is" Damned near goes BOOMP again. i catch him in time though. Look at boarding pass. Terminal E.
Fuck. that's quite a bit away from where we are, and yon wobbly soldier will never make it."Okay son, we have some walking to do. You give me that pack. I carry that, you carry and drink that coffee. Let's get going." He's falling all over himself to thank me, and I'm smiling and nodding and holding him vaguely upright. It's not easy. As we get near the escalators down to the tram, he says "I shouldn't have stopped in the bar here."
"How long were you over there?" "around 18 months" "no booze?" "Nope, not allowed." "so you come off a long flight, no booze for 18 months, and have a few?" "Yup. Budweiser done kicked my ass." "Bud's a dick like that. So's his friend Jack." "Oh, i know about that. Didn't talk to Jack. Shouldn't have talked to Bud." "Probably not. You know your girlfriend's going to kill you." "Yep. slowly too." "Yep."
However, i'm glad i decided to tag along. I had to basically carry him down (and later back up) the escalator. If you've been to ATL, you know how looooong those escalators are. He'd have been messed up by that tumble. Also had to damned near sit on him to keep him from getting off the ATL train at every stop, especially the ones that weren't his.
He keeps thanking me, I keep pointing out that as his girlfriend is going to kill him (slowly), I'm not really doing him any favors. He's terribly young, and reminds me of a puppy in many ways. We finally get him to his gate. The gate agent takes one look at yon wobbly soldier and has the "Oh THIS will be fun" look. I make sure the gate agent gets his boarding pass, and tell him "he's all yours. be kind. he missed his flight, and did not call his girlfriend." "Oh, she won't be happy." "Nope. She's going to kill him. Slowly."
"We could just let him stay here."
We laugh a bit, and i head back to my gate.
I hope she only yelled at him.| Comments ()
March 24, 2010
In praise of Rumpus
<Bits John O'Fallon can publicly use>
I love Rumpus. I don't care that it's not free. I don't care that it's not open source. I don't care that with work, I can eventually stitch together enough products to duplicate its functionality, some for free, some for a low monthly price.
What I get for $450.00 or so in one place, with fantastic support, and a developer who knows his stuff?
- Dead simple chroot
- A customizable Web front end that is as functional as an FTP client, and allows me to present every user with their own custom interface
- Again, really good support
- YouSendIt features, with no limitations on size
- A decent iPhone interface
- Event notices
- User management from dead simple to as complex as i need it to be
and more. I get it in one place, with solid documentation, and a developer who cares about his customers, not just proving how cool he is.
For all that, I will happily pay $450.00US, no hesitation. Rumpus is an awesome product, and a great example of how you can compete, and excel in a market where "free" is considered the standard.
<Bits John can't publicly use>
Rumpus rocks tits into dust.
It's that fucking awesome.| Comments ()
March 23, 2010
Avoid Cacti/rrdtool Pain
If you install Cacti on a Mac OS X 10.5 system, and you later move that system to Mac OS X 10.6, BEFORE you upgrade or install a new version of RRDTool on that system:
- Do a dump of all your RRD files to xml via rrddump first
- Then upgrade rrdtool
- Then restore your rrd files
If you don't, rrdtool will bitch mightily about the existing rrd files because they were built on a different architecture.| Comments ()
How very, very few right-wing chickenhawks have managed to find a couple of years to serve in the U.S. Military.
Cheney, (Liz or Dick)
I always find that personally amusing.
It's even more amusing when you compare their records to their favorite punching bag, Jimmy Carter.| Comments ()
March 18, 2010
Yet more Snow Leopard File Binding incompetency [UPDATED]
"Hi computer, I would like to open this file"
"What the fuck do you mean "No"? Open the file"
"I can't, I don't know what it is"
"You don't fucking need to know, I do know, it's an image file, now open the fucker in Preview"
"Eat a dick asshole, the name's wrong"
"How can a name be WRONG?"
"What's wrong with "firstname.lastname@example.org"? It's a bit incomprehensible, but so what? It's just the name. It's a fucking GIF file."
"It's not a GIF file until the name says so"
"So neither you, nor PREVIEW will open this file until it has the right extension?"
"Why are you asking me questions you already know the answer to?"
"That's fucking idiotic. If that's how you do things, i could rename a Word file to have a .gif extension, and according to you, it would be a GIF file."
"If it ends in .gif, it IS a GIF file. Stupid shit like file contents don't matter, just the name."
"That is actually stupider than Windows"
"You can cry all you want, until i see a file name extension, you aren't opening it."
"Yeah...hey...HEY...Fuck you, GRAPHICCONVERTER? You're using an old piece of Carbon shit like that instead of PREVIEW?"
"That old piece of shit knows how to open files better than all that retarded Cocoa ass you think is so cool, so eat shit motherfucker."
"You may have won this round, but I'll get you my pretty. One day, even GraphicConverter will dance to my tune."
"Yeah, yeah, hey while you're skulking try to do something useful. Oh wait, here, so you can understand...try to do something.useful"
"...you're a dick."
"You're useless and stupid, so we're even"
I cannot fucking wait for the Cocoatards to tell me how GraphicConverter is wrong for opening the file because it should never open a file without the right gobbledegook on the end of the name.
In short, fuck you new applications that won't work right. Specifically:
- Fuck Preview
- Fuck Acorn
- Fuck Iris, I'm glad you're a dead product
- Fuck Intaglio
What worked? "Hoary old pieces of shit" like GC, Photoshop et al. You know, the ones with programmers who do the extra work so the user doesn't have to.
Fucking new Mac devs, you're a bunch of lazy fuckers is what you are.
IT GETS BETTER
The file in question was a GIF email attachment. Mail, reading the mime type, knows what the file is. You can display it via QuickLook in Mail. But if you try to open it, Stupid Leopard has no idea what to fucking do. If you hit quicklook in the Finder, that works, AND says it's a "Preview Document".
This shit is broke, and there's no amount of justification and bullshit that can change that.| Comments ()
March 12, 2010
The Acrobat team is just allergic to simple
No, seriously, it just hit me while reading this overcomplicated bit of stupid:
This is something I do all the time, and you know what? Here's my entire process:
- Open the destination printer
- Hold the printer
- Drag all the PDFs you need to print to that printer window
- Release the printer
That's it. Four steps. No file conversions, no nothing.
But reading that crap, I realized something that explains everything about Acrobat, that makes everything make sense:
The Acrobat team has an internal culture that views complicated as good, and the more complicated a process or product is, the better.
Think about it. Think about the UI for Acrobat. The installers. The update process. Think about every.single.thing that team creates and every.single.thing about those products that make you want to kill. The Acrobat team is, for whatever reason, incapable of thinking about simple ease of use as a design decision, and even worse, is incapable of doing anything to change it.
I think they'd rather suck a dead dog's dick than design a UI whose only good feature is "at least it's not Lotus Notes".| Comments ()
March 4, 2010
A contrarian view
Apple suing HTC isn't about 'the death of innovation' or 'Apple no longer competing on merit' or any of the other bullshit flying out of the blaaahgosphere at the speed of stupid. Fucking breathless idiots writing that should all give their heads a shake.
This is saber-rattling. This is Cold-War era maneuvers in West Germany near the Fulda Gap. This is submarines playing tag.
This is Apple telling all the other companies that are lined up to sue it for patent infringement "Look you stupid fuckers, we can play that game too, and we have more money in the bank than you make. You want to sue us, here, check out OUR lawyer penis."
And to all the idiots crying because "Apple is becoming eeeeeevil!":
Apple is a BIGCORP just like Microsoft, IBM, Google, and Oracle. They are not the Last Starfighter, Luke Skywalker, or Lee Adama. Stop pretending the world is a fucking movie or television show. Idiots.| Comments ()
March 3, 2010
Good work Photoshop Team!
I bag on Adobe a lot. They earn it a lot.
However, I think that with that ability to bag comes a responsibility to commend what that too is earned, and in this case, the Photoshop team has earned a huge "Thank you" from me. Why you ask? For this page on the Adobe Developer Connection. Not only do they have an awesome AppleScript reference that both explains, completely, the individual parts of Photoshop's huge AppleScript dictionary, along with sample code, (SAMPLE CODE! I weep with joy!), but they have a scripting guide that talks about the non-dictionary aspects of things, even talking about the difference between the UI and the dictionary. For example:
A collection of Art Layer objects. Group is the current name in the Photoshop UI. Layer Set was the name used in an earlier version of Photoshop. The Object name stays the same to keep backward compatibility
Dude, that's fucking awesome for someone trying to script Photoshop.
By taking this time to document Photoshop's API, my ability to do really awesome things with Photoshop for work and hobby has gone straight up, and my opinion of the application has risen similarly.
So good on you Photoshop team!
And to everyone else? This is how you fucking do it right.| Comments ()
The "openess" of Flash
The next time Dowdell or that Adobe CIO prat or any of the other Flash bobbleheads start nattering on about how "open" Flash is, and how "enabling" it is, or all the rest of the bullshit they spew without thinking, point them at this article, and ask them this:
"If Flash is so goddamned open, when are you planning on making SWF Verification and the rest of the RTMP content protection measures available to developers of third-party players, i.e. non-Adobe Flash players. Because if the Ars article is correct, then the only way you can ever reliably view all Flash content is via the Adobe Flash plugin/player alone, and all your talk of openness is bullshit."
I guaran-damn-tee you the first or second response out of their mouth will be to point the finger at some other company, probably Apple, and say "Well what about them? They suck too!" If it's Nack or Dowdell, I'll bet money on it, that's what those to dipwads do best.
But yeah. Every time you hear some Flashtard talking about how "open" Flash is, point them at the Ars article and watch the fun.| Comments ()