Changing Default in OS X

I often check Replyz to give back to the Social Media community and answer questions folks have on a few topics that I have some knowledge of.

One of the frequent questions on using Mac OS is “how do I set the default application for a file type?” It’s actually pretty easy to accomplish this, all you need is a file of the type you want to assign an application to, and a mouse/trackpad.

irst, right-click (or secondary-tap) the file and choose “Get Info.” This will bring up the dialog box shown to the right. You may have to click the little arrows at the top-left of each section to expand that section out.

About half-way down the Info page, you can see an “Open With” section. This contains two objects, a drop-down list for choosing the app, and a “Change All…” button.

To select which application will open this file ONCE, just drop down the menu you see and choose one of the listed applications. This list contains all the installed apps that have registered as able to open that type of file. If the app you want is not on the list, choose either “App Store” or “Other” from the menu (they show up at the bottom of the drop-down list).

If you choose App Store, the Mac App Store opens for you to find and install a software package for this file type. If you choose Other, Finder opens to your Applications directory so you can choose an app you already have installed. Note that you may need to change the drop-down menu under the file view from “Recommended Applications” to “All Applications” in order to see all the apps you have installed.

The “Always open with” checkbox on this page applies ONLY to this one file, so leave it unchecked when you choose the app you want to use for ALL files of this type.

Once you select a file type, you can then click the “Change All…” button under the drop-down menu on the Info window, which will allow you to specify that ALL files of this type should use the selected application to open/view, from now on.

That’s it, from then on, any time you open a file of that type, it will open with the selected application!

Note that there are two instances where the default app will change. 1) you can manually change it again using the same method you just went through. 2) a newly installed application can take the file type over. Usually you get the ability to stop a new app from doing that during installation, but sometimes it happens automatically. If that happens, you will have to manually set the file type to open with your preferred program once more.

How Spammers Get Around CAPTCHA

I’ve written in the past about CAPTCHA, the technology that shows you a picture of a group of letters or words that you must type in before you can log in to some sites, or sign up for free services like Gmail. As annoying as CAPTCH is, the automated Turing Test has stood for several years as a standard way of ensuring that a real person is trying to access a service, instead of just some kind of automated system.

The problem is that spammers and scammers have found more an more ways to get around the CAPTCHA tests to ensure they have access to these systems just as easily as legitimate users do.

Initially, the bad guys just used sophisticated character recognition engines to look at the images digitally, and figure out what the letters or words were. This worked for a time, but then site owners started skewing the letters or adding in “noise” – dummy lines, dots and other static that made it more difficult for a scanning tool to figure out what was part of the CAPTCHA code and what was not.

So, spammers have taken a new route to getting around CAPTCHA. Since the codes are designed to only be human-readable, they’ve been employing humans to read them. Yup, that’s right, you can now hire someone to break CAPTCHA by solving thousands of codes a week for you to use to send spam. See this article for more information on such services.

Social Networking is no stranger to this problem, as thousands of fake blog comments, even entire blogs and RSS feeds full of fake information, are common. Spammers set up thousands of fake Twitter accounts to blast out spam, malware and fake gift certificates, only to create yet more new accounts as soon as the existing ones are flagged and banned. The same thing happens on Facebook, Windows Live and just about every other social network out there, as the spammers simply change their tactics and continue doing what they do, no matter how good the technology to stop them seems to be getting.

How do we stop this? Simple, make it economically inefficient to spam. Most of my readers already refuse to click links in email, or accept links/codes/certificates from anyone they don’t know on Twitter, G+, etc. Now we have to spread the message. Make sure everyone you work and play with knows that they shouldn’t accept offers, click links, or approve blog comments that come from anyone they don’t know. Those coming from people they know should even be suspect.

Set your blogs to require approval for all comments, and weed out the spam. Approve comments but remove URL’s if you’re not sure. If you see tons of spam comments in a blog, alert the author that they need to turn on approvals or they’ll lose a reader.

If you have the ability to flag posts as spam, do it. Same for Tweets, Posts and other social media sharing. Don’t be abusive or obnoxious about it, just flag them and move on.

Eventually, the cost of successfully spamming the world will become greater than the revenue generated by the spamming. Money talks, folks, and if it’s too expensive to make money by spam, people will stop spamming, but not until then.

In the meantime, ignoring links and flagging spam posts and comments will keep you safe from a lot of the malware running around out there.

Photo Credit: yandle

Get an Image

When you go online, visual experiences are some of the most powerful. Video speaks louder than audio alone. Blog postings with pictures tend to have a better impact on readers than text alone.

This holds true to your profiles as well. As you can see on my own home page, I have an icon image that I use for my online profiles. Mine was done for me by a web-comic artist (Woody Hearn of GUcomics.com) and wasn’t free, so not everyone will be able to have this kind of profile picture set up for them. That’s not to say you can’t have anything!

Even if you’re not paying for someone to make a profile picture for you, that’s no excuse for having the default “person” or “egg” icons that services like Twitter and Facebook provide. You need to change the default profile image to something that represents you, as soon as you can.

Now, this doesn’t mean you have to draw it yourself, or even use a real photo if you’re uncomfortable doing so. You just need to get something in there that is not the default icon that brands you as a new user.

For example, the image at the top of this post was created by John Kovalic (who writes Dork Tower, another online comic). He did it to show just how easy it is to create simple, but powerful user icons without a lot of technical expertise.

Here’s a few more of his icons – that he’s made available to anyone who wants to use them, free of charge:

With just a few clicks in some simple graphics programs (that you most likely already have free of charge on your PC or Mac) you can create a cute, funny icon that is clearly not the “default user” graphic.

So why don’t you want the default icon?

1 – it brands you as a “newbie” – a person who just started and has no clue what they’re doing. Even if that’s true, you probably don’t want the world to know that if you can avoid it =)

2 – It’s unprofessional. If you’re using Social Media for your job, the last thing you want is others discounting your opinion because you didn’t change the default user icon.

3 – Spammers use the defaults. Spammers create dozens of spam accounts at once, therefore they tend to not even bother to change the icon (after all, the accounts are going to get blocked pretty quickly). If you keep the default icons, many folks will instantly suspect you of being a spammer.

So get an image! Build it, buy it, or borrow it (make sure you have permission to do so, though).

Photo Credit: John Kovalic

Why You Should Not Auto-DM on Follow

I’m noticing more and more of this lately, and figure it’ll make a good topic for my first “Do’s and Don’ts” column.

Many folks – even those who have been working with Social Media for a good amount of time – will DM every new follower on Twitter with a message. Usually it’s a “thank you” with a request to follow them on other networks.

I’m very much against this for a few reasons:

1 – Twitter is about public conversation and social sharing. Yes, there are some times you need to DM a person. Usually it’s to give out an email address or phone number or some other information you don’t want the world seeing. Links to your Facebook profile and fan page are *not* private information.

2 – It’s annoying. Most of us get DM’s on our mobile phones or via email in addition to our Twitter clients. That means that I’ve got alerts going off to tell me that you’re looking for me to follow you on Facebook.

3 – It’s useless. The vast majority of people I know will specifically NOT follow you anywhere else, and many will immediately un-follow you on Twitter, for doing this. In other words, you’ve done the exact opposite of what you were trying to do with the DM.

Now, this isn’t to say you shouldn’t say hi to your followers. You absolutely should! But do it with an @Reply instead of a DM. This allows more than just your new followers to find you on other networks, and opens a public conversation, instead of a private message.

You’ll note that if you try to send the same message (e.g. “Thanks, follow me here and here and here, too!”) to dozens of people, Twitter will stop you. They’ll attempt to keep you from posting the identical message to multiple people, and lock you out as a spammer if you keep trying.

So, if it’s not acceptable to send a message to each person in an @Reply, why would you do it in DM’s, where you’re being annoying in addition to getting flagged as a spammer?

Talk to your followers, share that someone followed you with your network, share your other networks with your Twitter followers. Just reserve DM’s for their intended purpose – sending one person information that you don’t want the entire world to hear.

Photo Credit: brainware3000

Linux is coming to Azure

Well, Microsoft has been busy while we were all enjoying the holidays!

For those who aren’t in the know about Windows Azure, that’s the name that Microsoft has given to its nascent Cloud platform. Right now, the only publicly available components are SQL Azure and Azure Storage, which host SQL databases and cloud-based data storage, respectively.

Over the last couple of weeks, however, Redmond has announced that the upcoming Azure VM Role will support many other applications that can run in a Windows 2008 R2 Virtual Machine – which was expected – and also Linux Virtual Machines. This last bit was quite unexpected to many, but a welcome holiday gift from Microsoft.

Mary Jo Foley broke the news, and has a great write-up of the potential Azure VM structures, in her article from January 2nd.

Azure is going head to head with major cloud service providers like Amazon (AWS, EC2, etc.) and RackSpace; so offering Linux capabilities is a welcome move. Without Linux support, Azure was risking becoming a niche platform that would only be useful for basic Windows operations and Microsoft SQL databases.

Azure VM will be based on the Windows Hyper-V technology platform, extending that platform into the cloud. Today, Hyper-V and Hyper-V Server are slowly gaining ground in the corporate datacenter, but have not fared well against the major players like VMware. Since most cloud rollouts will be net-new implementations, Microsoft has a much better chance of becoming a large fish in a small pond by rolling out a solid Infrastructure as a Service (Iaas) platform with the Azure VM initiative, joining the Application as a Service and Database as a Service platforms already in Azure.

Now, there’s no official release date for the Azure VM Role, but it is in beta as I write this, so it does look like it will be launching at some point this year. How much of an impact Microsoft makes in the Cloud world is still to be seen. But, with the addition of multiple OS support, Azure just took one giant leap toward becoming a major player in the cloud space.

On the Subject of Bloat

VM’s take up space. They use resources like RAM and CPU cycles when they’re online, and they use up storage no matter if they’re online or not. As VM infrastructures get bigger and bigger, so does the amount of resources that they consume.

In the modern datacenter, this has contributed to a theory called bloat, where VM resources balloon larger and larger over time. In many cases, this bloat isn’t being caused by active resources, and that’s where problems can occur quickly.

As VM’s are provisioned and used, the active resources they take up are necessary for the VM system itself to function. You have 10 servers that each use about 50GB of disk, 2 processor cores and 4GB of RAM, etc. The problems start when those servers are no longer needed.

You upgrade to a new CRM system. The old CRM system’s VM’s are – of course – shut down after the migration. As usual for any updated system, the old system is kept dormant for a period of time, just in case you have to either go back to it, or retrieve data that didn’t make it through the migration process for some reason.

Now it’s six months later, and the old system is all but forgotten about. But the VM’s that made up that old system are still there. Since they’re not physical machines, and since they’re not using RAM and CPU power, it is all to easy to simply forget they exist and leave them on the VM hosts that they formerly ran on. That means that a set of storage is not useable, because it’s being held by the – now-non-functioning – CRM system VM’s.

As more applications go through this life-cycle, more dormant VM’s are left sitting on the VM hosts, eating up more and more space and other resources (VM network ports, etc).

So, a few times a year, go through all the dormant VM’s and make sure they really need to be on the VM systems at all. If they don’t, clear out the space (after taking a backup, of course) and free it up for other systems within your active pool of VM’s.

There will always be some dormant VM’s that need to stick around for various reasons, but any that do not need to remain on the VM hosts are doing nothing but sapping space and taking up time during maintenance runs.

Dealing with bloat effectively can mean the difference between having a smooth running system with plenty of space, and having to buy a new storage device because you ran out of room for no valid reason.

One of the Big Boys Reminds Us They’re Still Here

It’s true that many of us consider VMware and Microsoft and Citrix to be the parents of virtualization technology, but those of us who have been in the digital world for some time know that they’re standing on the shoulders of giants.

This week IBM announced that they would begin supporting Windows applications and instances within the zSeries mainframe platform.

Now, there isn’t a lot of information contained in the press release as to how they will do it, but if IBM follows form as they have in the past, it will be a Windows-capable card in a zSeries chassis. That means that they zSeries (which runs Z/OS) will be able to manage and at least partially control Windows servers that use system resources housed within the zSeries itself.

The mid-tier platform from IBM – the iSeries AS/400 systems – can already do this, using a hybrid virtualization approach. The physical hardware that the Windows OS installs to is a card that sits within an iSeries chassis, but all other resources are contained within and managed by the AS/400 platform itself in much the same was a physical network interfaces, volumes and other resources are presented to a hypervisor-based VM instance.

Since the release refers to the zSeries Windows capabilities as “hybrid,” it may very well mean we’ll see the same approach to OS virtualization on that platform as well.

It may not be the hypervisor systems we’re used to calling “virtual” these days, but IBM has been doing it for longer, and doing it with a greater degree of stability, than modern approaches.

Just goes to show that as soon as standards are developed, someone will come in an prove that one definition cannot cover an entire topic.

Permissions repair, even if you use Full Disk Encryption

Not all that long ago, I laid out directions for doing a Permissions Repair of Mac OS X Snow Leopard. With Lion, Apple introduced Full Disk Encryption (FDE), which makes the process slightly more complicated.

Of course, you can still open Disk Utility (in the Utilities folder in Applications), and choose to Repair Disk Permissions that way. It works well, and isn’t a bad way to do routine maintenance once a week or so, but it doesn’t fix every one of the various permissions errors that crop up through normal use.

That’s because running Repair Disk Permissions from *inside* the booted OS will mean that some permissions cannot be altered (the files are in use, locked, etc.). Again, normally, this isn’t an issue, as those permissions won’t cause slowdowns or hiccups under normal circumstances.

But what happens if you notice that your Mac is acting slower than usual, apps are malfunctioning, etc.? First, check the usual suspects. Does the app need to be reinstalled? Will a reboot (first unchecking the window persistence checkbox) fix the problem? If not, then you should do a full permission repair.

First, print out this post, because you’re going to have to boot into Recovery Mode, and that means you won’t be able to get online to read the rest of the instructions.

Next, reboot your Mac, holding down the CMD and R keys from the moment the system starts (you hear the start-up BONG sound) until you see the status spinner on the white-background startup screen. Once you see the spinner, let go of the CMD and R keys.

This will boot you into Recovery Mode. If you have FDE enabled, it will also ask you to unlock the volume with your usual password. You’ll then see the spinner again, and within a few moments the Recovery Options wizard will pop up. Choose Disk Utilities and click Continue.

Once Disk Utilities is open, and if you’re using FDE, go to File in the Menu Bar and select Unlock Disk diskname – where diskname is the name of the hard drive that contains your Mac OS system. You will need to provide your normal Administrator password to unlock the volume.

In the Disk Utilities window, click on the disk/partition where Mac OS is installed (not the physical volume name, just the partition name) and then click Repair File Permissions in the lower portion of the right-hand window. After that, all you need to do is wait.

You will nearly always see several permissions being fixed, this is perfectly normal and does not indicate that anything bad or malicious has been going on. Normal OS operations occasionally cause permissions to get set incorrectly, and this process fixes those errors.

Once the process is done, you can simply restart your machine from the Apple Menu and boot up normally.

You’ll find that a permissions repair can help to correct a lot of strange issues that you might be seeing on your Mac, so doing this once a month or so is not a bad idea at all.

One important note, I have found that using a 3rd-Party keyboard is not a good idea for this process. My keyboard (a Microsoft Natural Keyboard) doesn’t seem to be recognized by Mac OS when a boot is happening, so I can’t hold down CMD and R. Any of the Apple keyboards (bluetooth and wired alike) seem to work just fine, so I keep one handy just in case.

Traveling with a Mac

‘Tis the season for traveling. Christmas, Chanukah, the Winter Solstice, doesn’t matter why you’re going from here to there, but chances are you’re doing some going. Chances are, you’re also taking along some form of mobile computing device, and for many of us, that means a laptop.

So what are some things to keep in mind when traveling with your trusty MacBook, MacBook Pro or MacBook Air?

✈ Battery life is good, but still short. Even the newer MacBook Air models can only go about 5-8 hours on a charge, less for the more power-hungry MacBook Pros. If you’re on a really long flight, especially if you’re watching movies or doing other high-disk-activity actions, you’re going to need a power solution. There are some battery bricks sold on online retailers that you can plug a regular plug into, but always double-check to make sure they’re safe with your country’s power specifications. Also check with your airline to see if they’re allowed on the plane – you’d be surprised.

Some planes also offer power, but it may not be through a standard type of outlet. Be sure to check with your airline to see what kind of adapter you’ll need.

✈ Portable isn’t always small. While a MacBook Air will easily slip into the seat pocket in front of you, that 2002 17″ MacBook Pro will definitely need to go under your seat or in the overhead.

✈ Even without moving parts, it’s still an Electronic Device according to the FAA. You will need to make sure your gear is turned off for takeoffs and landings. You’ll also need to make sure to remove it from your carry-on and place it in a bin to go through the security screening. This goes for iPads too, at least at many airports around the US.

✈ Bring power adapters. If you’re traveling internationally, you’re going to need a power adapter. Apple sells lots of different power supplies for different countries, or you can purchase compatible adapters at most electronics stores and online.

✈ Bring a USB charger. Portable Macs are famous for a lack of USB ports. You don’t want to use up a port just to charge a gizmo, so bring either a USB hub (self-powered or fully USB powered, but not “unpowered”), or a USB charger. There’s lots of chargers to choose from, some come with mats to kep your gear from moving around, others are just unconnected USB hubs that offer power, but that’s it.

✈ Get a case or sleeve. You spent a ton of cash on that shiny, aluminum portable. Spend a few more bucks and get a good case or sleeve to keep it in. Even in your carry-on, it’s going to get bumped around a little, and you really can’t get dents out of that unibody aluminum frame, no matter how hard you try.

Finally, if you want to be everyone’s friend while you travel, pick up a small, portable power-strip. I have one that turns a single power outlet into three, and has two additional USB ports for charging through. I have to tell you, when I plug that thing into an airport or coffee-shop wall outlet, I’m suddenly EVERYONE’S friend!

Of course, you can also take the train whenever possible. It takes longer, but there are outlets at most seats and you can stretch out more. Either way, travel smart, travel safe, and enjoy the holiday season!