Archive for 2006

Flock:, Flickr and WP editor (with firefox thrown it to boot)

Tuesday, June 27th, 2006

So, just a few minutes ago, I got an email from Nate:

Date: Tue, 27 Jun 2006 12:13:06 -0500
Subject: Flock / Blogging Browser
From: Nate Kresse
To: Glenn Kauffman

Built on firefox. I hooked it into my WP blog in seconds. Easiest way to blog as far as I can tell. Can hook into your flickr account and drag and drop into your blog post. Fun.


Three clicks, a minute of downloading, a drag and drop install and a double-click later (oh yeah, and some relatively painless config) I am writing a new post from within Flock.

So far so good I’d say. My first impressions are pretty good. It seems to be nicely polished for a beta and some nice integration with some of the nicest web apps out there.

There are, however some down sides.

  1. Non-OS based spellcheck. I love my spell as you type integration within Safari and my other Apple apps. I’m wishing I had it here too. (It also doesn’t know “blog”, “html” or several other obviously used words…)
  2. Creating links seems to require the mouse. I know there has to be another way of creating links, but I think I might be spoiled by the MediaWiki formatting code. No taking my hands off of the keyboard, no odd rollout sheet, no hidden destinations. Sure, formatting code just gets parsed into html and I could just plunk some of that in, but I’m trying to lower personal stumbling blocks that have, in the past, kept me from blogging more often.
  3. Lack of organization for saved posts. All I need is a little window so that I can browse through the posts that I’m working on. Maybe with a little status icon. I’m not picky, but it is something MarsEdit does really nicely.

At least I figured out how to set my default search back to I know both Flickr and are now in the yahoo domain, but that doesn’t mean I like their search engine.

As for RSS, I think I’ll stick to my tried and true NetNewsWire / NewsGator Online combo.

Don’t take my critiques too harshly, I’m using it and will probably continue to use it as long as its free. And that is the real crux of the situation.

Blogged with Flock

Catching up.

Friday, June 23rd, 2006

I just released some posts that have been sitting in the queue for quite some time. *clears throat* They were not as polished as I had intended them to be, but enough was enough. There will always be something else to write about.

Meanwhile, we have been very busy here at Stamm Business Technologies. Most notably, I just made the new StammWIKI live. It is very bare right now, but I’m hoping that we’ll be able to fill it up quickly.

I’m hoping that as I push the wiki, I can push a resurgence of blog posting as well.

Here’s to new wikies! *clink*

The Worst Concievable Disaster

Friday, June 23rd, 2006

Well, it has been awhile…

On February 25, at in indetermit time and after 331 days up, the faithful debian server went down.  And went down hard.

It survived two consecutive weeks of threatend, building wide power outages and the idle hands of countless techs looking for scavenged parts. (No!  Bad tech!  *smack*)  With just 35 days to go, a suite wide poweroutage is what finnaly took it down. 


ClamXav: Easy, Free Mac Virus Scanning

Friday, June 23rd, 2006

With the most recent Mac Virus thats not a virus [] and my own dealing with pulling files, infected by PC viruses, off of unsuspecting Mac users hard drives, I have had to look for something to scan and remove files on the Mac. Currently there are several “Paid For” services available for the mac that are reasonably respectable, but with the current state of Mac viruses and my own one shot needs, I usually cannot recommend these solutions. Plus, they suck. In a corporate environment, they are a must, but for everyone else there had to be something else.

With Apple’s now not so recent move to OS X and the BSD sub-system the world of OSS has brought us a plethora of useful tools and once again, we’ll delve in and get a simple, free tool based on the popular OSS virus scanner clamav.

ClamXav is an Aqua interface for clamav. This gives it a pretty front end to its powerful backend along with a automatic graphical installer.

I was going to write a detailed report on ClamXav, but due to unforseen circumstances I was unable to complete the review. I still love ClamXav and whole heartedly endorse it.

A Brilliant Idea.

Friday, February 17th, 2006

While watching Olympic Ice Dancing (yes, Olympic Ice Dancing… Its not my fault.), my lovely fiance came up with the idea of the year.

Three words: Strippers on Ice

Granted we’ve been drinking to calm her back spasms brought on her love of shoveling snow. I was just drinking to keep her company…

Once again: Strippers on Ice

The idea has captivated us both.

Good night and God bless. (alcohol)

To Live Another Day

Sunday, February 12th, 2006

I’ll admit, I checked on it more than once throughout the day.

glenn@stammdebian:~$ uptime
16:49:06 up 318 days, 4:27, load average: 0.07, 0.02, 0.00

We made it through. I don’t know how long the power was off, or if it was even off at all. We may have to go through this all over again next week if they didn’t finish.

Just another 47 days of worry…

We’re getting close!!!

Saturday, February 11th, 2006

Linux 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686 unknown

The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.

Last login: Wed Feb 17 13:06:58 2006 from [obscured]
glenn@stammdebian:~$ uptime
14:49:53 up 317 days, 2:28, load average: 0.02, 0.04, 0.00

In just a few short month my precious little trooper of a Debian box will have been up, without a reboot, for a year.

Unfortunatly, in the infinte wisdom of those that be, our buildings power will be upgraded on Sunday.

This could easily be a much longer post as I describe my turmoil and the jeers of my fellow co-workers. I had gone so far as to consider renting a gas powered generator and babysitting the damn thing. Time and money have made this an overzealos plan.

Dave is going to power down the Stamm servers, like any other sane person would do and I am going to try to ride out the storm on the then nearly zero load UPS.

We’ll all find out on Monday whether or not it made it over the weekend.

317 days…

ChangeShortName: We All Need a Change Sometime.

Wednesday, February 1st, 2006

Macs have staying power. In an world where PC manufacturers want you to think that your PC is old in six months, Macs have a tendency to stay in use much longer. I still work on Graphite G4s that are being used for production.

Older Macs get passed down the food chain as the top users get new machines or get repurposed as RIP servers, scanning stations and file servers. They get new jobs and new users. Sometimes they even outlast the users.

No matter how old the computer, a faster one is always better and any user in his right mind would be remiss in turning one down. When they get that “new” Mac, they have a couple of options, somewhat based on time and available technical skill.

First, the new Mac can be wiped clean, with a fresh system and applications installed. This is great as it gives the user a fresh start, free of their old crufty data and OS quirks.

Next, the users previous Mac can be cloned to the “new” one, OS, applications, data and all. This is also great, as it give the user little or nothing to get used to with the new computer. In a later post, I’ll talk more about cloning along with its plusses and minuses.

Finally, and more to the point of this post, the user just takes over where the previous one left off. This happens a lot in situations where there is little time and experience available. Many times they do not even create a new user, especially where one person is taking over for another.

If the user is lucky (or if they manage to do it themselves), the long, descriptive user name will be changed to their name, giving them more of a feeling of ownership over their new workstation. However, Mac OS X will not allow you to change the short name for the user in the Users Preference Pane. There are many instances where this can become more than just a minor irritation.

Luckily, Dan Frakes comes to the rescue with a offshoot from his book Mac OS X Power Tools, Second Edition. ChangeShortName is a tool that allows you to update the short name for a user comprehensively and relatively safely.

There are some caveats, but for the most part it works very well, as long as you pay attention and think ahead. It is important to read the PDF that comes with it, however.

To run it:

First, download ChangeShortName.

ChangeShortName can be run directly from the mounted image.

ChangeShortName HelperI am usually partial to the Terminal, but in this case they have packaged a nice GUI interface, called ChangeShortName Helper, that does everything I need. If you are interested in using it from the Terminal, reference the PDF. Just launch ChangeShortName Helper, choose the username that you want to change and fill out the requested fields.

Change Short User Name script (v1.1.3)
Written by James Bucanek
Based on a procedure developed by Dan Frakes

Ready to rename account 'stamm' (stamm) to 'stammbt' (Stamm Business Technologies).
Proceed? (yes/no):

Type yes and hit enter.

You will now need to provide the password for account 'glenn'.
This account must have administrative access to proceed.

Enter your password and hit enter. You will not see your password or even the familiar bullets, so you have to trust your fingers.

NetInfo database 'local.nidb' backed up to 'local-ChangeShortNameBackup-2006Jan31-154213.nidump'
Values in NetInfo record '/users/stammbt' updated.
Group 'stamm' renamed to 'stammbt'.
Home directory renamed from /Users/stamm to /Users/stammbt
Reconfigured Personal Web Sharing.
ChangeShortName is now finished.
You may now close this Terminal window.

All Done!

If you changed the short name of the logged in user, log out and log back in to make the changes apparent and to keep the OS from getting too confused. Should ShortNameChange cause problems or become interupdted in the middle of the proccess, there is a repair function in both the command and the ShortNameChange Helper.

Developer’s Page
Download: ChangeShortName

Welcome Home Emelio!

Thursday, January 26th, 2006

Emelio - First Night Home

We’ve got a new “little” guy at the the house to keep us company. I mean little, however, in the loosest of terms. He’s a big white kitty that we rescued from the Humane Society. He’ll spend the next few days in the bathroom until he has gotten used to us and the sounds of our home and neighborhood.

I think he is finally sleeping.

He was rattling the closed door on it’s hinges. He’s that kind of big.

AppleJack: The Better Placebo

Tuesday, January 24th, 2006

Back in the Mac OS 9 days, one of the most overused troubleshooting tricks was rebuilding the Desktop Database. Users could be trained to hold down the option + command keys after a reboot (or for us impatient techs, after force quitting the Finder). You could have users run that to their hearts content. They get to feel like they can have control over their computers and an imagined boost in speed afterwards. Unfortunately it only had limited real technical value.

Much like rebuilding the Desktop Database, AppleJack is easy enough for most users to use after a little training. However, AppleJack is quite a bit more useful. In one sitting it can check the boot partition, repair permissions, clear cache file, replace bad preference files and remove swap files which can actually fix a long list of real problems.

After downloading and installing the package from the SourceForge project page, restart your computer and hold down the command + s keys to enter into single user mode. Once in single user mode you will see a helpful little message, as such:

For troubleshooting assistance, just type 'applejack' at the prompt

Its just as simple as that! I usually have users run the following:

# applejack AUTO restart

Everything runs automagically, and reboots after it finishes. Users love it because they have to remember very little to run it. Alternately, advanced users and technicians can just run:

# applejack

Which will give you a menu to manually run individual commands:

Enter the associated number or letter to select the next task.
It is strongly recommended you do them in the order listed!

[a] auto pilot. Script will do all tasks in sequence.

[1] repair disks
[2] repair permissions
[3] cleanup cache files
[4] validate preferences files
[5] remove swap files

Your choice (Just hit return to quit):

Most usefully when working in this mode are options [3] and [4] which give you the ability to not only clean and check the System but will also allow you to check on individual users on the system.

After going through all of the options, follow the prompts and reboot the computer, letting it boot up normally. You may notice that it takes a bit longer to go through the startup process as it recreates any cache files that may have been removed that the system uses. Overall, though, you should see an improvement in speed and stability.

Occasionally I will come across a Mac that has been upgraded to Tiger which is stuck on a desktop with no icons or menu bar, but the Spotlight icon is in the upper right corner. If left like that, it will just sit there indefinitely. AppleJack will fix this issue, though you may have to clear out the individual user’s cache files. But what do you do if you haven’t already loaded AppleJack?

My first thought was to boot into Target Disk Mode by holding down the T key during a reboot, but the AppleJack installer must be run from a working system. So I used to copy my laptop’s AppleJack installation (at least partially) to the TDM’d computer as such:

# sudo ditto -V /private/var/root/Library/Scripts
# sudo ditto -V /private/var/root/.profile

This is fine, but… I’m usually in too much of a hurry to copy the man pages, which users may want later. Plus, there is no receipt in the /System/Reciepts folder so Repair Permissions will not fix issues if there are any.

My next trick was to boot into Single User Mode and mount a USB pen drive. On another computer, copy the AppleJack.pkg file from the AppleJack-1.4.x.dmg onto a pen drive. Then run the following:

# /sbin/fsck -y
# mount -uw /
# mkdir /Volumes/pendrive
# mount -t hfs /dev/disk[x]s[x] /Volumes/pendrive

In the above, replace disk[x]s[x] with the device label of your pen drive. (ex. disk1s1) You may have to ls the /dev directory before and after you insert the pen drive to find the label.

Once the pen drive is mounted run the following:

# /usr/sbin/installer -target / -pkg /Volumes/pendrive/AppleJack.pkg

Now, Applejack should be fully installed. Reboot the system and enter back into Single User Mode to run AppleJack.

Users often ask me how often they should run AppleJack on their systems. I try to be a little vague, telling them that they should run it whenever they feel like the system is dragging or it just seems to have a general malaise. Once a month should be plenty. If you are running it too often, it may indicate a problem.

Lately, I have been installing it every Mac I sit down in front of. It has gained high rankings in my personal set of software tools and I encourage you to try it out.

Developer Page: AppleJack Project Page
Download: SourceForge