From the category archives:

Tech

beyond dude!

September 27, 2005

in Personal, Tech

My ISP has been tuning the antennas this afternoon, and things have been… kind of zippy. I ran a speed test and just had to put up this screen shot.

dude.gif

How fast is my broadband? It is beyond dude fast.

(this was, alas, short-lived. They finished tuning the antennas and things dropped back down to merely fast fast. Still. It was breathtaking for a while there. Have I mentioned recently how much I like high speed wireless?).

Technorati Tags: | | | |

{ Comments on this entry are closed }

I really want to like AppleScript. It’s a weird programming language, and I like weird programming languages, ergo, I should like AppleScript. In theory, there’s a ton of stuff you CAN do with applescript to do automated stuff on the mac.

But it seems like every time I delve into Applescript I rapidly descend into complete madness, ending up hours later phrasing and rephrasing the same line trying to get it to do something trivially simple in any other language and screaming at the computer in fury. It is not a language for humans to program in. It is a gross deceptive horror of a language. It makes no sense. You read AppleScript and you think, OK, it’s like english, and you try to write it and no, its not like english at all. It is a happy fluffy pink bunny hiding a jar of acid behind its back. I hate this *@&#(@&*# language.

I got to thinking about AppleScript today because over on Daring Fireball John Gruber has a long post about deep problems he’s been having with AppleScript, with a digression in the middle about the horrors of AppleScript in general. It’s a post that made me grimace in pain and sympathy, and wonder throughout “oh no. no it can’t be that bad.” but yes. It was. His bug is, fortunately, not a bug I have run into. I have not done that much with AppleScript, and frankly, I would have given up way before he did. But it is a bug that makes me throw up my hands in disgust at the sheer….inelegance of it all.

It is really shameful that Apple, which does so well in its consumer-facing hardware and software visual and industrial design, has such an ugly, nasty, slimy, drooling troll of a language design for its underlying automation. That’s just WRONG. And its wrong that Apple has gone so long — what, fifteen years?! without fixing it. It’s like an old rotten blankie they just can’t stop worrying. Just throw out the damn language, Apple. Just start over with something that works.

It is good that Tiger has Automator, to help user automation, so now normal humans don’t have to deal with AppleScript. That’s a start. But I’m surprised as I poke around that if you want to program Automator, to do more than just click the buttons, you have two choices: AppleScript (arrrggghhh) and Objective C. The nasty unlearnable scripting language and the heavyweight scary Real Programming Language. Not the most approachable framework.

On the other hand Dashboard uses JavaScript as its scripting language. Someone in that group didn’t drink the koolaid, I guess. JavaScript isn’t exactly the most perfect programming language, but at least it makes some marginal amount of logical sense.

OSX does have the Open Scripting Architecture, OSA, which theoretically enables other scripting languages to be plugged in and used instead of AppleScript for basic automation. I haven’t heard much about this other than that there are plug-ins for JavaScript and Python. I get the impression that its not commonly used. I should add that to my list of Stuff to Play With (only about 40 items long now….)

Technorati Tags: | | | | | |

{ Comments on this entry are closed }

RIP dogcow (moof)

September 23, 2005

in Links, Tech

The Unofficial Apple Weblog (TUAW) posts that Apple Technote #31, describing Clarus, the Dogcow, seems to have gone missing on the Apple Developer Website. The dogcow is a bit of apple lore that turned up again and again in various places in Apple software over the years. Removing technote 31 does not bode well for the corporatization of Apple. Fortunately, as someone in the TUAW comments pointed out, you can still find technote 31 at web.archive.org. I note that wikipedia has a big page about the dogcow as well (although it is sadly quite factual and dry).

I’m remembering a dust-up a long time ago when I was at Stupid Company when an unknown writer edited out a line from the tunefs(8) man page that said “You can tune a file system, but you can’t tune a fish.” Presumably it was removed because it was funny. Can’t have that. But back then greater minds prevailed and it was put back with great fanfare and a big comment added to the source that said this joke was a Unix tradition and should not be removed.

Alas I just checked the tunefs man page from a recent Stupid Company OS release and it’s gone again. Wah.

(I got it from inessential.com.)

Technorati Tags: | | | | | | |

{ Comments on this entry are closed }

unix hell

September 15, 2005

in Links, Tech

unixhell.gif

(click through, the whole thing is cute).

Technorati Tags: | | | |

{ Comments on this entry are closed }

A bunch of months ago we got wireless broadband Internet, and all was right with the world. Except there seems to be a rule in our world that once something goes right in our tech configuration, something must also then go horribly wrong. So after changing ISPs, getting a new mini-firewall, renumbering our entire internal network, moving our DNS offsite, reprogramming our entire spam management system, and finally getting everything working perfectly, the very next day the power supply in our main server blew up (“what do you mean it won’t turn on?” “you heard me, it won’t turn on and it smells bad.”)

While the easy solution would have been to just go find a power supply, we considered all options. Usually the death of a box is what forces us to upgrade; this box was purchased when our last server blew up a few years ago (hard drive Grind of Death). It was a decent box for its time but nothing top of the line, and it was showing its age. I began shopping for a new computer. Something in the $500 Dell range, I figured.

It was then that Fry’s began to advertise the Dirt Cheap Computer. Fry’s, as anyone from the area knows, is the local evil computer superstore. You can get anything — *anything* computer or technology related at Fry’s, and at really incredible prices. You just have to completely humiliate yourself to do it. No sales people at Fry’s know anything about the technology they sell, but they harrass you madly for the comission; they browbeat you to sell you things you don’t need; they line you up like cattle to pay for stuff and shout at you (“Line 14! Line 14!”) and then they search you at the door on your way out. And that’s just to buy things. Just try to return something (shudder). Fry’s is really evil, everyone hates them, but yet its hard not to keep going back. If you really need a null modem cable at 10PM on a sunday, they will have it. Its right next to the porn and the diet coke.

The Dirt Cheap Computer (DCC) is actually technically called the Great Quality computer. You may snicker derisively; we did. It is not Great Quality. It has off-brand parts in a no-name case. It runs linux (linspire, actually). And it costs $180. No rebate interpretive dance needed; that is the price. (you can get a slightly higher quality version, with Windows, for $250).

At the time we found out about the dirt cheap computer, it was on sale. For $150. We figured: if it blows up in a year we will just buy another one. $150. Its practically free. Yeehaw.

The DCC, it turns out, is terrific. Fedora Core installs on it with zero issues. It comes with a minimal 128M of memory (thus the price) which was fine for basic routing and web and shell access and mail until we installed SpamAssassin and then it swapped itself into a puddle. Another 512M made it much happier. Its just a server machine, but now it gronks away happily in the corner with nary a peep.

Technorati Tags: | | | |

{ Comments on this entry are closed }