Showing posts with label software. Show all posts
Showing posts with label software. Show all posts

Saturday, July 23, 2011

OS X 10.7 Lion and Lion Server Upgrade Notes

In this post I will share my notes on the upgrade from OS X 10.6 "Snow Leopard" to 10.7 "Lion". This is not meant to be a comprehensive review but I hope someone can find some benefit in this information. I am an early adopter in most cases and a software lover (fanatic or addict might be a more appropriate adjective!), so I bit the bullet for this upgrade as soon as I could get it, knowing that I would be in for some trouble here or there. As for my background, I am a technologist mostly on the management side these days but do have a clue, and since I am not doing OS X or iOS development nor did I have time to read too much about Lion before the release, these notes represent fairly fresh eyes on the product.

Generally, my upgrade from 10.6.8 to 10.7.0 went smoothly and without trouble. Developers of the software I use were on the ball, and had apps ready for Lion either off their sites or in the Apple App Store. Kudos to them and to Apple for all the hard work. Make no mistake, software is truly hard work, and to make things appear easy and to "just work", like Apple often does, requires massive effort. If it looks easy, the guts of it are hard, in the world of software. There are no magic wands, although it might appear that way.

OS X 10.7 Lion

I thought the download would take forever, but it was relatively quick after making the payment in the App Store. I feel the low price is more than fair; generous even, given the value provided. I did two systems: my home system and my work system, paying for those separately. The morning download at about 7AM JST was fast, while the late afternoon download at the office was slower. Either way, it is a 4GB download.

I retrieved the file that had downloaded to the /Applications folder, before I clicked "Install", for safekeeping, and copied it to a USB stick. There is a way to convert a USB to a bootable disk to use for reinstallation, so I will revisit and do that later.

After clicking Install, the time to install was similar to past experiences with OS X upgrades. Breakfast eaten and paper read, I went back to look, and the system had rebooted into a login screen with a nice-looking "textile" background; very attractive. I used my usual account to log in, and after some grinding of gears (caches and such being created I imagine), everything pretty much came up as expected.

After the install and logging in, my first impression was that this release is a definite paradigm shift towards a more iOS like experience on OS X, given features like Launchpad and Mission Control. These take over a bit of the market share for small development houses making utilities to do a similar thing albeit in a more advanced manner. QuickSilver, LaunchBar and Spaces come to mind.

Some apps do conversions the first time you start them, like Mail and maybe Calendar. This takes a while especially if you have a massive amount of data stored.

Spotlight re-indexed after the first reboot, causing a temporary loss of Spotlight search and, full text search within Mail, for example, while the index process grinds away. Spotlight has been glitchy in the past for me, but this time "it just worked."

Lion has a monochrome palette, looking at the mostly-grey icons in Mail, Finder and Safari. Colorful icons are still present in the Launchpad and Mission Control apps. Then there are the iCal and Address Book apps which look out of character, looking like the objects they represent: iCal like a physical calendar complete with a torn paper edge and Address Book looking like an old-fashioned scheduler portfolio. They look good, but a bit out of place when compared with Mail, Finder or Safari.

Mail.app has really matured well with the Lion release, and has sharp-looking grey-on-grey icons. The problem for me is, I like to rely on color as a visual clue for speed while I work. I suppose one way of looking at it is, there are few distractions from the task at hand, and the monochromality of certain apps make it easy to concentrate on the work being done rather than on colorful icons.

Two of the key new-to-Lion features, LaunchPad and Mission Control, are very iOS-like and easy to use. For instance, to get into Mission Control, which lets you administer and move between spaces, you swipe four fingers upward on the trackpad. This is assuming you have one either on a Laptop like a MacBook Pro, or a Magic Trackpad, but I think we are in the middle of a bootstrap to make OS X very much a touch-centric OS.

An example of a really large "who moved my cheese" moment, and whopping big paradigm shift, is the scroll bars or lack thereof. Lion has the ability to allow any app that is programmed to take advantage of it, to run full screen. This looks fantastic, in apps like Mail, Safari, and even the Mars Edit edtor I am using to write this post. Further, the scroll bars do not appear by default a la iPhone and iPad (i.e., iOS), giving a very clean look to Lion apps, in general. Despite the relative hysteria over this predictable Apple shift (I mean, how many times have they done it in the past?), I am not finding it to be a problem at all. You just swipe two fingers on the trackpad to scroll, or for the trackpad-deficient, you can nudge your scroll button on your mouse. If you jiggle the trackpad with two fingers for instance, the scrollbars appear, and you can then drag-scroll as before and always.

The concept of scrolling itself has changed too, and this takes a bit of getting used to. On a tablet or phone, the touch paradigm means you push or pull the objects in the direction of the movement of your fingers, swiping and pinching. However, this is the opposite of what you might be used to, where pulling down on a scroll bar moves content up. With a touch device, this is the opposite, and so it is with OS X Lion. You pull or push the object (document, list, etc) with your fingers on the trackpad.

Safari has a neat visual indicator of download progress, to the right of the address bar.

Suspending with Option-Command-Eject is faster than ever. Where Snow Leopard was taking ages to go silent, Lion goes to sleep immediately. Perhaps this is due to all the various improvements in automatic file saving and caching?

After restarting a program, Lion remembers the exact state of it, and reopens the program how you left it. If you had 10 text files open, it will open them all back up the next time. I can see this might be annoying, but, it is really nice in many cases.

So far, I really like Lion. As I observe more, I will update this post.

Updates 24 July 2011

When you cmd-click a link in Safari, it now does the right thing and opens the tab next to what you were looking at, instead of way, way over in right field. I like it.

If you use Path Finder, note that it messes with Mission Control. I am not sure what I need to do yet, but I had to keep searching for the open Path Finder window in its Windows menu.

The upper-right hand "lozenge" icon is gone, having been replaced by the full screen icon. It was useful to quickly cycle between different views of the icon bar in any given application, if you option-click it. RIP.

The stop light icons in the upper left of any window seem to function the same, but they are smaller and daintier.

Pressing option while clicking a menu still works to bring up hidden options.

A lot of text-to-speech voices were added and are available as optional downloads. Check out the Speech preferences panel.

Updates 3 Aug 2011

Finally, a security basic has been improved, in that you can easily set your mac to lock after screen inactivity or screensaver activity. System Preferences, Security and Privacy, General.

An irritation is, Lion spell-checks everything everywhere automatically, making it a bit difficult to type, sometimes. It is the iOS paradigm for sure. You can toggle this in System Preferences, Language and Text, Text, Correct Spelling Automatically. It requires a restart.

 

OS X 10.7 Lion Server

Luckily, my firm was not making use of too many of the features of Snow Leopard Server, or this upgrade would have been really painful. When I upgraded to Lion Server, a lot of stuff just broke, unfortunately, but more on that below.

When you go to buy Lion Server from the App Store, you are told that both programs need to be purchased, and it is just as easy as the client to install. XCode and the Lion Server Administration tools are available as separate downloads. When you download XCode, despite the fact that it is put into /Applications, you still need fo find and run the XCode install program.

You can still use Workgroup Manager and the Server Admin app, but Lion presents the Server app as the primary admin tool. The problem with this is, the Server app is overly simplistic. Where as Server Admin had many settings, Server.app has only 1 or 2 per service, and not all services came through the upgrade unscathed.

My firm was primarily using Open Directory, Apache, Wiki, Mail, MySQL, and some development tools on our Snow Leopard server. Some problems occurred with each:

Open Directory - some user IDs broke and I had to recreate them.

Mail Server - Lion is still using postfix, but, the upgrade broke our aliases in /etc/aliases. When I told postfix how to find the aliases file, in main.cf, mail started to flow again. That being said, there is nowhere to add virtual domains and so on and so forth, like you could do with Snow Leopard Server.

Apache - the virual hosts settings do not work, and I lost a whole range of websites in this. Virtual Hosting is the most basic thing, so it was a shame that Apple could not get this one right.

Wiki - the wiki is now being served out of the postgresql database (user collab, db collab), instead of out of the Collaboration folder. Further, the looks have been generified so you no longer have the ability to customize each wiki. However, I would say the usability of the wiki went up considerably from an editor standpoint. We still cannot edit the Wiki pages using an iPad.

MySQL - is no more, though I imagine you can install it some how. Lion server comes with PostGreSQL rather than MySQL but there is no GUI for it at all. You are stuck with psql or perhaps Tuples.app.

My feeling is, Apple are aiming Lion Server at the SMB market, and shutting out businesses that really want to push the envelope on Lion Server.

If that is the case, is it not strange to have so many troubles upgrading, or to have no easy way to back up the wiki, without hiring a tech to assist.

Updates 3 Aug 2011

Setting up notifications on the wiki was difficult, because apparently the wiki recognizes only its own hostname. Perhaps I misunderstood something, but for me, entering preferred addresses for each user did not work. I had to use username@my.host.name.com and set up a .forward file in each home folder. Definitely not something for the uninitiated.

 

In Conclusion

I will add more as I discover. Hope this was helpful.

 

Friday, May 21, 2010

Apology accepted, Zendesk. Thank you.

Zendesk CEO Sorry TweetIn the wake of the Zendesk Price Fiasco of 19 May 2010, in which SaaS helpdesk vendor Zendesk announced pricing hikes which negatively affected most of their users (and would have caused a doubling for us), and after which an angry firestorm erupted, Zendesk users received an email apology from CEO Mikkel Svane today, and more information in his blog post.

I have a bit of a bitter taste in my mouth after having been treated that way, but let's let bygones be bygones. I very much appreciate the real grandfathering they have extended to existing customers.

So, apology accepted, Zendesk, and kudos to you Mikkel for doing the right thing. I am sure it was difficult.

Thursday, May 20, 2010

SaaS Helpdesk Software that Supports Japanese

After the Zendesk Price Fiasco of 19 May 2010, where Zendesk are proposing to significantly raise prices for their SaaS helpdesk solution, I am confident many users are looking elsewhere. This is one of the pitfalls of a SaaS solution, wherein the provider achieves external investment, and subsequently bows to pressure from said investors to raise prices or otherwise change a model that was working. At least for we users.

In our case, the cost of Zendesk, while was higher than others, was justified because it somewhat supported the Japanese mails my firm gets. I say somewhat because certain mails would cause Zendesk to have a fit, but that is mostly calmed down now.

That being said, now that Zendesk has basically doubled their prices for us and while I have made no decisions on whether to accept their "offer" of prepaying annually to lock in the current pricing for one year, I thought I would list alternatives and whether they support Japanese.

It is important to note, that there are several aspects to "supporting Japanese" some of which include:

  • User Interface
  • Ability to Email in and out of the Helpdesk
  • Ability to search
  • Ability to store Japanese data

Many web based products, and not just Helpdesk products, face these challenges when localizing to multi-byte character sets. User Interface is straightforward, as is the ability to store the data. These are kind of "level 1" localizations. Searching is harder, because of the space-less nature of Japanese, and emailing in and out is a major pain. Often, they get the email body correct, and you can see Japanese in it, but, the subject line is munged. It is a complex undertaking, especially for non-native speakers. So, caveat emptor.

List of Helpdesk Software that Supports Japanese

Confirmed Positive:

Zendesk themselves. Most Japanese mail is processed correctly but there are some glitches occasionally. We have personally confirmed all the above-mentioned aspects of Zendesk.

Kayako's Savin Behal replied to me in an email: Our software supports multiple languages. You may download the required (Japanese) language packs from the Kayako Forums at “http://forums.kayako.com/f50/”. These language packs have been shared by our clients. However, we regret to inform you that we do not support these packs officially.

Active Campaign supports Japanese fully, according to Jason in the comments on this post.

Web Helpdesk says they do indeed support Japanese email. From Shiraz Hemani, Business Development Manager: "Per your questions on email, yes Web Help Desk fully supports monitoring of any number of incoming mail accounts in all language character sets, including Japanese. Each incoming account can be associated with any number of outgoing mail accounts as well. We have more info available for that feature at:

http://www.webhelpdesk.com/trouble-ticket-software/convert-email-to-ticket.html"

Atlassian Jira does support Japanese. We had been using it in Japan, but moved away from it due to the glacial pace of development of certain security-related enterprise features we needed.

Confirmed Negative:

Tender says they do not support Japanese. Will says: "... I'm sorry, but we don't currently have international language support in Tender. We do hope to add the feature in the near future, but it's not ready at this time."

Unconfirmed:

http://www.cerberusweb.com/

http://www.thevisionworld.com/

http://www.autotask.com/software/service_desk.htm

Please comment if you have more or better information.

Updates

21 May 2010 - Zendesk has since recanted, apologized, and offered real grandfathered terms for existing customers. I have to say I have a bitter taste in my mouth, but, I would be remiss if I did not acknowledge the difficulty of changing systems. We'll sit a spell.

Wednesday, May 19, 2010

How not to run a SaaS: Zendesk

Zendesk CEO Noise CommentI got an email from Zendesk in the middle of the night and this blog post, breathlessly announcing "new features!" and along with that, new pricing. I and many other users could probably have dealt with an x% increase, but a doubling? It was even worse for people on other plans, as well, and that means a lot of upset users. CEO Mikkel Svane's patronizing attitude is not helping matters either (see the screen shot of his arrogant tweet in this post).

Down to brass tacks: we have 8 agents on the Plus+ plan and are paying the equivalent of 27 USD / agent per month. The new announced pricing puts it at 59 USD / agent per month. Users are being given an "opportunity" to lock their existing pricing in, by paying annually for a 15% discount, and it appears that the limit to this is one year. So, we take the hit up front by paying up front, and we take another hit later anyway. Sounds like a plan, Zendesk.

This is a one-sided, sneaky and very much not transparent decision on pricing by Zendesk, which I suspect is being driven by chop-licking investors. Who can trust Zendesk now that they have shown how they will treat customers. If we take the offer being dangled, who knows what will happen after their next round of investment.

Unacceptable way to run any business, and a slap in the face. I hope Zendesk will respond in a positive way, instead of burying their collective head under the sand.

Updates

20 May 2010 - no proper response from Zendesk as of this AM. Zendesk users still angrily commenting (of course). 21 May 2010 - an email in from Mikkel Svane, Zendesk CEO, recanted and apologized for the mistake, as well as grandfathering existing customer prices in forever. That was nice of him, and appreciated.

Tuesday, March 16, 2010

Opening a Tab-Delimited "CSV" in Apple iWork Numbers

I like Numbers, from Apple's competent and beautiful iWork suite, but there are still things where it is different from Microsoft Excel, and hence it feels somewhat unfamiliar at times. For example, although Excel has never been good at handling text files saved in UTF-8 format (a big deal for those of us who work in Asia), it does have a nice Wizard for importing CSV or TSV text files.

Some applications export text files with tab-separated values, and put a CSV extension on them. Actually, CSV stands for "Comma Separated Values" where these are really "TSV" or "Tab Separated Values." When you try to import such a CSV file, Numbers will mash all the fields into one cell in the left-most column. That makes sense, because it's looking for commas judging by the CSV extension. Finding none, it just lets the data pile on.

How to Import a Tab-Separated "CSV" in Numbers

If you have a tab-separated CSV, here's how to open it:

  1. Save the file somewhere you can find it.
  2. Rename the file in Finder, so that it has a .TXT extension.
  3. Ctrl-click the file and choose "Open With" and "Numbers".

Now the data will open correctly, with each field getting its due, and you'll get the added benefit of Numbers not munging any Japanese or Chinese characters.

Hope this tip helps someone. Enjoy!

Tuesday, February 23, 2010

Fixing an Unexpected Prompt Hostname in OS X

In Mac OS X, you may have noticed if you use the Terminal that OS X automatically picks up what it thinks your hostname should be and sets it. This is nice, but the problem with it is if any utility uses your hostname to set config files, you'll have a different config file every time.

How to fix a "Strange Hostname" in an OS X Prompt

If you are getting varied prompts that look like this...:

rcogley@em60-123-194-6 ~>

...where what you're expecting is something like this:

rcogley@rickmac ~>

To fix this, you can use scutil. Here's how I did it:

scutil --set HostName "rickmac.esolia.net"

Substitute the rickmac bit with your own hostname and domain and you'll be good to go with a static prompt. Try these also:

scutil --get HostName

scutil --get LocalHostName

scutil --get ComputerName

man scutil

I hope this helps someone. Enjoy!

Friday, February 12, 2010

Set MBR Correctly to Backup Successfully with OS X Time Machine

OS X Disk Utility Partition MapIf you use Time Machine on OS X, you need to ensure your target drive is formatted with the correct Master Boot Record type. Time Machine requires either "Apple Partition Map" (works with PowerPC or Intel but is best for PowerPC) or "GUID Partition Table" (works with Intel).

There are a couple of problems which lead to this requirement biting people on the you-know-where.

  • Pre-formatted drives that will work with a Mac are not often formatted with "Apple Partition Map", but will be recognized by your Mac, lulling you into a false sense of success and security.
  • Time Machine rudely does not warn you that your drive has a problem. It will happily back up for a while, then fail with some not-so-useful error.
  • Re-formatting a drive in the normal way using "Erase" in Disk Utility will just erase the content and not re-do the partition map.

So, when prepping a drive for Time Machine use, you need to use the "Options" button to set the Partition Map.

Formatting a Drive for Time Machine Use

Here's how to set it up.

  1. In Disk Utility, select your new hard drive (the drive, not the partitions below it in the selection tree).
  2. Select the Parition tab, which you can see in the accompanying graphic, and choose the number of volumes from the "Volume Scheme" pop-up menu.
  3. Click "Options", then choose "GUID Partition Table" for an Intel-based Mac or "Apple Partition Map" for PowerPC- or Intel-based Macs. Then click "OK" and "Apply".

I hope this helps someone avoid the trouble I had getting Time Machine working smoothly. Enjoy!

Friday, October 30, 2009

Greylisting in Snow Leopard Server, or not

Apple's OS X Snow Leopard Server 10.6 implements Greylisting, an anti-spam technique based on forcing sending SMTP servers to "slow down" before they can deliver. This is great for reducing spam, but it also has the perhaps undesired effect of causing delivery delays. Sometimes really, really loooong delivery delays.

In SLS, when you enable anti-spam in your Mail server (which is postfix), greylisting is automatically enabled. Because there are no readily available manuals on how to use this feature, from Apple, you may want to turn it off. Note that I'm skittish about changing config files like in a normal Unix server in an Apple server, because Apple is known to simply change vast portions of their server products without much notice. It's possible that you'd spend time implementing, and they change the way it has to be done so you have to redo it. Anyway, here's how to disable:

How to Disable Greylisting in Snow Leopard Server

Of course, as implied above, you can stop Greylisting by turning off spam filtering altogether. However, to be more specific and just disable Greylisting, do the following:

  1. From Terminal on the server (ssh'ed in or direct), do "sudo bash" to login as root. Then use nano to edit /etc/postfix/main.cf
  2. Remove the "check_policy_service unix:private/policy" string from the line that starts with "smtpd_recipient_restrictions" near the bottom of the file. Save, and exit nano.
  3. Issue a "postfix reload" to reload the configuration.
  4. Use the "exit" command to quit the sudo bash root shell.

I'm a little miffed that Apple would enable this by default and not implement any easy way to edit the greylists or whitelists. At any rate, you can read a couple articles on greylisting, or just wait for Apple. Time however, waits for no man. :-)

Textmate Regular Expression Search and Replace

I use and love the text editor Textmate, which has some powerful functions. One thing that it can help with is quickly editing text files, and for example today I used it for searching lines in a mail system's "aliases" file. I wanted to remove 50-odd lines with the word owner in them, so I used the Find command with Regular Expression checked.

The search string is:

^.*owner.*$

If you enter that string which means to find the lines with owner in them, check "Regular Expression," and leave a blank in the Replace box, Textmate will blank out the lines for you. Convenient!

Thursday, October 15, 2009

Corrupt Apple Leopard Server Open Directory Services

I had a Leopard Server crash and burn so that nothing was responding, and when I forced the server to reboot (as well as rebooting a bunch of other ancillary servers and services just in case), I found an ominous sign in Server Admin, along with no user accounts in Workgroup Manager. Eek! Server Admin's Open Directory showed:

LDAP Server is: stopped

Password Server is: running

Kerberos is: stopped

Not good. Never fear, though.

How to Fix a Corrupted Open Directory

First, don't panic. Apple's forums show you can use "

slapd -Tt
" to check the configuration.

myhost:~ administrator$ sudo bash

Password: ********

bash-3.2# /usr/libexec/slapd -Tt

overlay_config(): warning, overlay "dynid" already in list

overlay_config(): warning, overlay "dynid" already in list

overlay_config(): warning, overlay "dynid" already in list

overlay_config(): warning, overlay "dynid" already in list

overlay_config(): warning, overlay "dynid" already in list

bdb(dc=myhost,dc=mydomain,dc=com): PANIC: fatal region error detected; run recovery

bdb_db_open: Database cannot be opened, err -30978. Restore from backup!

bdb(dc=myhost,dc=mydomain,dc=com): DB_ENV->lock_id_free interface requires /

an environment configured for the locking subsystem

backend_startup_one: bi_db_open failed! (-30978)

slap_startup failed (test would succeed using the -u switch)

The "run recovery" here means to run the

db_recover
command (a.k.a.
slapd_db_recover
on other *nix LDAPs). Use the -v switch to make the result verbose.

bash-3.2# db_recover-v -h /var/db/openldap/openldap-

openldap-data/ openldap-slurp/

bash-3.2# db_recover -v -h /var/db/openldap/openldap-data/

db_recover: Finding last valid log LSN: file: 6 offset 4190936

db_recover: Recovery starting from [6][4190795]

db_recover: Recovery complete at Thu Oct 15 21:57:41 2009

db_recover: Maximum transaction ID 80000225 Recovery checkpoint [6][4190936]

Ah, that looked nice. Then run

slapd -Tt
again to test, and if all is well, exit out of the sudo'ed bash shell.

bash-3.2# /usr/libexec/slapd -Tt

overlay_config(): warning, overlay "dynid" already in list

overlay_config(): warning, overlay "dynid" already in list

overlay_config(): warning, overlay "dynid" already in list

overlay_config(): warning, overlay "dynid" already in list

overlay_config(): warning, overlay "dynid" already in list

config file testing succeeded

bash-3.2# exit

myhost:~ administrator$

After a few minutes

launchd
should kickstart the Open Directory services again so that you see:

LDAP Server is: running

Password Server is: running

Kerberos is: running

A couple of tests shows I once again have Wiki Server, iCal Server, Jabber Chat etc, all the Open Directory and Kerberos-based services back on line. Breathe a sigh of relief if this helped you and let me know in the comments!

Friday, September 11, 2009

Safari Makes it Trivial to Download All Images on a Page

Download All Images or Files in Safari PageOf course it should not be used for nefarious purposes, but Apple's Safari browser makes it trivial to download all the images or files on a web page you are visiting. I had The Logo Factory create a special logo for my company eSolia's 10th anniversary, and they prepared a page with the deliverables on it. I did not want to download each one individually, and I remembered that the Safari Activities window allows you to access the objects on a page directly, such as various file attachments on a page.

O' Sensei of Safari, How Do We Achieve this Magic?

You can use Safari's Activity and Downloads windows, both available in the Window menu in Safari, in this way:

  1. Browse the page you want to download from, then open Activity from the Window menu.
  2. Find the page among the other pages if you have multiple tabs open. Use the disclosure triangle to open the outline of the objects on the page.
  3. Find and select your download targets. Press Cmd-C to copy to clipboard.
  4. Display the Downloads dialog, also available in the Window menu, then paste into it. Cmd-v.

You should see the images or files start to download in the Downloads window. I hope this is helpful to someone.

Wednesday, September 09, 2009

Directory Utility MIA in Snow Leopard?

Snow Leopard Directory Utility HiddenIs Directory Utility, which has been available in /Applications/Utilities, missing in action in Snow Leopard? No, it's just been moved to Core Services. Access it this way:

  1. Open Apple Menu, System Preferences.
  2. Enter Accounts, clicking the lock to authenticate as needed.
  3. Click Login Options at the bottom of the accounts list.
  4. Click Edit, to the right of "Network Account Server."
  5. Click Open Directory Utility.

You use Directory Utility to connect to Active Directory, Open Directory, or other LDAP servers.

Tuesday, September 01, 2009

Fixing EMobile USB Dialup on Snow Leopard

I just installed Snow Leopard OS X 10.6 with no problems after getting a replacement for a bad Family Pack install disk (the Shibuya Apple Store said that many people reported the same), and found that my EMobile Huawei D02HW USB Wireless Dialup card, which was fine in Leopard, died when Snow Leopard was installed.

Reinstalling the EMobile Huawei D02HW on Snow Leopard

Here's how I fixed it:

  1. Deleted /Applications/EMobile D02HW Utility.app.
  2. Deleted /System/Library/Extensions/HuaweiDataCardDriver.kext
  3. Deleted Huawei folders and files in /System/Library/Modem Scripts and in /Library/Modem Scripts
  4. Emptied the Finder trash.
  5. Rebooted the system.
  6. On plugging in the USB Modem, the system mounts it in Finder as a USB memory. Ran the installer EMobile D02HW Utility.app and got an error regarding AutoOpen. Bypassed this by opening the installer package via "Show Package Contents" in Finder, and ran the Contents/Resources/EMOBILE_D02HW_Drv_App.pkg, which is the actual installer. Now it runs with no errors. AutoOpen be damned.
  7. After the install, rebooted again.
  8. After the reboot, I can add the Huawei Mobile modem in Network Preferences. Phone number for these devices is "*99***1#", user name em, password em.

I read a report that you can simply change tone to pulse dialing in the existing Huawei Mobile settings (from Leopard, for instance), so maybe the failure just has something to do with a plist not working somewhere and changing that setting refreshes it, but removing and reinstalling works fine too.

Give it a try if you have trouble, and I hope this short tip is helpful for someone.

Tuesday, August 04, 2009

OS X Fonts, Managed by Linotype

Linotype FontExplorer X ProIf you pay any attention at all to typography, layout, type faces, fonts, leading, kerning, tracking and the like, and have ended up amassing a collection of type faces from the famous designers and font foundries, you'll end up needing some method of organization. The type face or font organizers that come with operating systems are basic, so vendors have channeled some Gutenberg and come up with replacements.

Linotype's FontExplorer X Pro 2.0 for Apple's OS X is one such program. I started out using their free, unsupported FontExplorer X and have recently trialled and purchased the pro, commercial version, called LinoType FontExplorer X Pro 2.0 available here for EUR 79 (as of 3 Aug 2009). As far as I'm concerned, it's worth every penny.

You can get details from this PDF brochure or from the website, but let me start by quoting from the manual:

FontExplorer X Pro is a powerful professional font management tool providing you with a clear overview and complete control over the fonts on your computer. FontExplorer X Pro helps you to organize your fonts according to your personal preferences, you can activate and deactivate fonts as you please, while functions such as font detection in documents make it easy for you to identify the fonts required for your projects. A recurring problem is that documents are frequently displayed incorrectly when the necessary fonts are not available on a computer. With FontExplorer X Pro you can now easily buy the fonts you need for a job via the FontExplorer X Pro Store.

FontExplorer X Pro ("FEX Pro" for short) gives you a complete type face or font management solution on OS X, and you can even have it manage a consolidated font library in a specific folder, a la the iTunes or iPhoto libraries. There are plenty of built-in fields that you can sort on and some built-in sets, but you can also tag, label or comment your fonts and create "smart sets" which are like iTunes smart playlists. You could create a set per project, for example, to indicate what fonts were used for a client job, or, you might create sets of pleasing combinations of fonts.

Aside from the customizable main-screen preview you can see in the screenshot at the top of this post, FEX Pro can show you all the details about a font file including version and format (OpenType or TrueType etc.), the complete character set and even missing characters as well as Unicode or HTML character codes, sample text in "running text" or "waterfall" formats, the legal information such as embedding rights, and kerning pairs.

Sounds Great, but What's the Point

But what's the point? Why manage your fonts? Every font file you load on your system requires resources to deploy. If you have 1000s of fonts, that's going to require a large amount of memory to load every time, and will certainly slow down application loading and system performance.

A major benefit of a font manager like FEX Pro, is that it lets you activate fonts when you need them, freeing system resources for other purposes. FEX Pro even lets you auto-activate fonts, deciding which apps can or cannot request fonts, and even associate a font set with a specific application so that that set gets loaded when, say, Photoshop loads.

Minor Issues

The gripes I have with FEX Pro are minor. I really love the application. However:

  • It should give advice on what combinations of fonts "work together" especially for non-designer types like me.
  • The consolidation method is opaque, and it should be easy.
  • Backup of font metadata you add, like labels, should be automatic.

What I had to do to consolidate my library into ~/Documents/Fonts was the following:

  1. Set the library to my desired folder and tell FEX Pro to move the fonts there. This is done in Preferences, Advanced.
  2. Backup all font files manually.
  3. Run Tools menu, "Clean System Fonts Folders..." which moves any non-system font files from three system font folder locations to a backup folder on your desktop.
  4. Re-import the backup folder on the desktop, letting FEX Pro organize into its folder.
  5. Check for duplicates and prune.

That's too many steps when it could be a single step that does things in a non-invasive way, to get you ready to use a single folder, if you're a user wanting a simple solution.

Get It

My recommendation is, if you're on OS X and care about type aesthetics, buy FontExplorer X Pro. It's worth it and is a welcome addition to any OS X user's toolkit.

Monday, July 13, 2009

Shared iTunes Music Storage

My family has a shared iMac G5 running Leopard OS X 10.5.7 and iTunes 8.2 (both the latest as of 13 July 2009), and recently I noticed we were running low on disk space, so I did some digging via du at the command line. I found that we were eating space by ingesting CDs into iTunes, which would get copied to our respective local user folders.

After a little research, I found the Apple KB article that describes how to have a single storage location for music, so I set that up and made some other discoveries in the process. I thought I'd share how I did it.

  • To determine what folder is using what space, you can use the "du" command in the Terminal. After you do a "sudo bash" to set the Terminal to root access, you can do a "cd /Users" and then a "du -hsc *" to check sizes of all the user folders under /Users.
  • To find a location where your family's music can be shared, you need either a folder on an external drive or somewhere on the default internal drive. For now, we chose /Users/Shared/Music.
  • Confirm where files are located by selecting a song, and pressing cmd-I. In Summary, you'll see the path of the song in the "Where" section.
  • Create the Music folder in /Users/Shared and set its permissions so all users can see it. If it is not set already you can do this via the cmd-I "information" interface for the folder, or, using chmod from the Terminal.
  • In the first user, change the "iTunes Music Folder Location" in iTunes Preferences, Advanced. Also in Preferences, make sure "Keep iTunes Folder Organized" and "Copy Files to iTunes Music Folder when adding to Library" are checked. OK out of Preferences.
  • Next do File, Library, Consolidate Library, which copies any files outside the shared library into the library's location, which is now /Users/Shared/Music. This takes a while for large libraries, and will move not only the files from your original iTunes library location, but also any files that you had dragged in from Downloads or the Desktop, for example.
  • After consolidation completes, confirm where your song files are located by selecting a song, and pressing cmd-I. In Summary, you'll see the path of the song in the "Where" section. It should now be /Users/Shared/Music or wherever you specified in Preferences.
  • Now, you are ready to share with other users, but before you do that, go to iTunes Preferences, Advanced, and turn off "Copy Files to iTunes Music Folder when adding to Library", remembering to turn that back on if and when you consolidate again.
  • Prove that CDs will add to the right location by importing a CD, and confirming where the song files are located (cmd-I on the song file).
  • Log into another user, start iTunes, and repeat the location set, library consolidation process. Import a second CD into this second user's library, and confirm it is saved in /Users/Shared/Music.
  • Return to your original user, and to add that CD the second user added to your library, do "File, Add to Library" and choose /Users/Shared/Music. By choosing the root of your library, iTunes will check what has not been added, and add it. Your original user should now be able to find the second user's CD in his or her library.

With this method, each user maintains their own ratings and playlists, but there's a slight delay each time someone adds a CD or downloads from the iTunes Store, because you have to "refresh" the library in File, Add to Library.

I hope this helps someone understand what they have to do to share music amongst family members and avoid eating up disk space. Enjoy!

Friday, June 19, 2009

iPhone OS 3.0 Tips on Parade

Apple released yesterday an updated iPhone operating system, iPhone OS 3.0, with a number of useful improvements. For me, the update itself was seamless, and took about 15 minutes after clicking the update button in iTunes. I upgraded first thing in the morning, but colleagues who tried later in the day had some delays. I guess it's to be expected when so many people try to download at the same time.

Some Tips for iPhone OS 3.0

I took some screenshots of the obvious and not-so-obvious (by pressing the home and power buttons simultaneously in case you aren't aware how), so I'll introduce those to you now.

If you have MobileMe you can enable Find My iPhone and track where the phone is if it is stolen, via GPS. You can also remote-wipe and send messages and sounds to your iPhone. Maybe you won't get the iPhone back, but you can at least antagonize the thief! The sounds and messages will play even if it's locked, so this will help if the iPhone is in "manner" mode.

I suspect it will be useful for when it's in manner mode but lost somewhere in the nether regions of your sofa.

"Find My iPhone" via MobileMe

iPhone OS 3.0 now finally has select, copy and paste, and it works in and across various applications. Even the new TweetDeck for iPhone that was just released supports it already. Press and hold to get the selection "handles" and various commands.

Select and Copy

Once something is on the clipboard you can paste. You can see I copied from TweetDeck to Mail. The new clipboard also honors rich text, which means you can copy something like formatted text from a webpage in Safari, to a Mail Message, and it will paste it in just as you saw it on the web. Slick!

You can also select in mail to "quote" part of a message before replying. It works more like Leopard OS X.

iPhone OS 3.0 Select, Copy, Paste

iPhone OS 3.0 now has Spotlight. You can swipe the left-most home screen right to get spotlight search, and you'll see that the page icon (the dots at the bottom) is actually a magnifying glass. Spotlight search works across apps, and like big sister OS Leopard OS X, also works to find apps so you can launch them. Check your settings as well - you can link "home button double-press" to Spotlight search if you like.

Lastly, you'll find that many apps with lists, like Address Book and Mail have a search box at the top. This is Spotlight, but as you scroll down through the entries, you can double-tap the very top of the screen (near the clock) to jump back to the top. Try it!

Spotlight Address Book, iPod, Notes

Spotlight Music and Podcasts

In Address Book you can now send an Address Card as a vCard entry via Email or MMS (which Softbank Japan supports). Scroll down to the bottom of a contact to find the share buttons.

Share via Email or MMS

Here's what a shared vCard in .vcf format via Email looks like. Note also another new feature: the Landscape keyboard is available in more apps, negating the need for apps like EasyWriter.

Landscape and Vcard

While we're on Mail, you can move messages instead of just deleting them in the Edit screen. Convenient for stuff like spam.

Move Messages

Neat stuff on the podcast front, too. In iPod, you can control podcast playback better, with the "jump back 30 seconds" and the speed changer buttons. There's also a button for emailing the actual link to the podcast so you can share it with friends.

Podcast Controls

When you click the email icon from the podcast, you get a pre-formatted email with a link to the podcast.

Mailing a Podcast Link

There are plenty of tiny new tweaks, including this almost incomprehensible one, showing you a very small thumbnail of the last photo you snapped. Maybe it's fuzzy because I merely have a 3G and not a shiny new 3GS.

Teeny Little Thumb

A couple more things:

  • MS Exchange integration is much better, but note that the interface in Address books allows you to "view all", so it might look like you have duplicates if you keep your MobileMe and Exchange address books synced.
  • iTunes now lets you buy & download whatever's in the iTunes store.
  • iPod lets you "shake to shuffle".
  • There's a new basic Voice Recorder app that lets you record and share voice memos. Nice.
  • They've improved the keyboard "secret" hold-to-see shortcuts. Check it out by going to the numbers and symbols keyboard, then holding down various keys.
  • While browsing in Safari, you can press and hold a link to get a popup that lets you open the link in another tab.
  • You can shake to undo in the main applications like Mail or Messaging.

If you own an iPhone, you can upgrade for free, and there's a small fee to upgrade if you have an iPod Touch. Try it, I'm sure you'll like it. It really makes the iPhone an even more attractive platform. Enjoy!

Sunday, May 31, 2009

Restoring Mail, but not via MobileMe Account Backups

Time Machine Mail PlistSo much for MobileMe backing up my Mail account data! I had a another weird crash, which has been plaguing me since I upgraded OS X Leopard to 10.5.7. The crash happens when I wake the computer from sleep, and plug in my firewire then USB hard drives. When the USB hits the socket, sometimes I get the grey screen of death, in which the only way to recover is a hard reset. This happened again today, but this time, the hard reset broke Mail. After booting up, I started Mail and the only account I had was my MobileMe account. My Google accounts were gone.

I thought, ah hah!, I'll recover from MobileMe's copies of my Mail Accounts. No dice. It must have quickly pushed to MobileMe, the change that happened when the system crashed, so syncing MobileMe did nothing to recover. Searching the web a little, I found various information about restoring the entire mail folder and so on, but it turned out that my mail data, in ~/Library/Mail, seemed intact. So, I decided to try to restore my Mail plist file first, from Time Machine backup, and see if that would fix the problem.

How to Restore Mail.app

Here's how I restored it:

  • Close Mail.
  • Plug in the Time Machine drive.
  • Press option while clicking the Time Machine icon in the menu bar, select "Browse Other Time Machine Disks" and choose your Time Machine disk. You can display this icon in Time Machine preferences. Note, if you use Path Finder, a Finder replacement, like I do, start Finder before you do any Time Machine work.
  • Enter Time Machine, and find your last Mail plist backup. In Time Machine, just click a folder or two "back", and see what the date on the file is. The file is ~/Library/Preferences/com.apple.mail.plist where ~ is your home folder.
  • Affirm the overwrite, when the restore process asks if you want to replace the file with an older version.
  • Start Mail.

This worked. All my mail was present and accounted for. If my mail had been damaged, I could do the same procedure, but after stopping Mail, just rename the Mail folder ~/Library/Mail to something else like ~/Library/Mail-Backup, and restore both the Mail folder and the plist file from your Time Machine backup. It will take quite a bit longer to achieve, but it should work.

I hope this helps someone. Enjoy, and good luck recovering.

Wednesday, May 13, 2009

Disc Burnin' with Disco

Disco "Smokes" While BurningDisco is a polished, inexpensive (USD 29.95, currently 10 dollars off as of 13 May 2009) alternative to Toast Titanium. I've had mixed results with Toast, and did not want to pay the upgrade fee, so I started looking for alternatives. I've done a few burns in Disco so far, and it seems to work quite well. No problems or "coasters" yet, at this time.

Here's some highlights:

  • Disco supports spanning of a backup set to multiple discs, and lets you know how many discs you will need to complete the backup. Very convenient, and you just feed it the disc media when prompted, while it works.
  • Disco stores a discography for created media or disc images, so you can easily search for files on your media.
  • Straightforward workflow, assisted by what the publisher calls "Crossroads" technology. It's unnoticeable, and I had no problems following, so in a way I guess it works!
  • Creation of CDs or DVDs with Hybrid, HFS+, UDF, PC Joliet, or ISO 9660 file systems, which means you'll be able to read the media most anywhere.
  • Burn to all Apple-supported in- and external drives, and enjoy CD multi-session support, burn and erase for rewritable media, and support for dual-layer DVDs.
  • If your audio is supported by Quicktime, you can create an audio CD or easily switch to a MP3 data CD. Also, you can drag-and-drop to change track order.
  • You can create disc images from files and discs in the CDR, ISO or DMG formats, as well as create CDs from ISO, DMG, IMG or CUE/BIN.

Oh, I almost forgot that it "smokes" when you burn, provided a new-enough Mac. Pretty cool effect!

Assessment after Some Usage

I used Disco for a few burns (the demo allows you 7, gratis), and I found the program to be a tag buggy here and there. There's times where restarting Disco will help it detect discs, or, where it mis-detects the burner you want to use. I have a San Disk Cruzer USB stick, which for some reason Disco thinks is a burner, and it gets "stuck" on it until I go into Disco Preferences and change it.

Path Finder - Collapsing All Folders

I could not find this information in the help file or on the CocoaTech forum. If you use CocoaTech's Path Finder, the Finder replacement that has a lot of extra functionality that is missing in the normal OS X Finder, you may be browsing around in a folder with many subfolders, and wish to somehow "collapse" the folders you opened, to clean up the view.

Clicking the disclosure triangle of 100 open subfolders is rather tedious, so isn't there an easier way? I stumbled on a method. Here it is.

How to Collapse All Subfolders in Path Finder

  1. In list view, select all. Command-A.
  2. Press Option-Left Arrow.
  3. Sit back, amused, but don't do anything boneheaded like pressing Command-Delete.

And voila! Collapsed folders.

Mac OS X Leopard 10.5.7 Update

I updated my MacBook Pro's OS X from 10.5.6 to 10.5.7 today, and there was a little hiccup. Here's what happened, but see UPDATES below:

  • I noticed there was an update available, so I shut down all the user applications and things like ExpanDrive and Plaxo, then tried Software Update from the Apple menu. Software update started to work, then stalled at around 150 MB of 450 MB downloaded, claiming to take another 8 hours to download. It's not my ISP because everything else is fine. Everyone must be hitting the server at once. Stopped the update during the download.
  • Intending to use the "combo updater", which is just the full update download, I found the update on Apple's download site. There are two updaters: the Delta Updater, and the Combo Updater. The 450+ MB Delta is just labeled as "Update" and is for updating from 10.5.6 to 10.5.7. The 700+ MB Combo is for any 10.5, to 10.5.7. Decided to try the Delta.
  • Apple Installer offers to run the updater when it downloads, so I chose to do that. It seemed to work, then offered to Restart so I did that.
  • After the restart, the process froze on a blue screen with a mouse pointer.
  • I force restarted, then after the restart, the system auto-rebooted.
  • After the second restart, the expected normal grey Apple Logo screen with the progress spinner appeared. It took a long time, but it finally came to the login screen, and login was normal.
  • I confirmed that the system did indeed it had been upgraded, by checking Apple menu, About this Mac. It's indeed updated to 10.5.7.

When I started Mail and iCal after the upgrade, there were no "please wait while we update your database" type of messages, as there have been in the past when Apple has made database changes to these applications.

I'm going to do an OnyX run, to clean things up and reset permissions and so on as a matter of maintenance, and I'll report back here if there are any other problems related to the update.

UPDATES

13 May 2009, 23:55 - the system worked snappily all day, but this evening I got the grey kernel crash screen. The "You need to restart" in multiple languages one. Ugh. Apparently, Apple recognizes the problem and will issue a fix. Recommend waiting.

14 May 2009, 11:41

The 10.5.7 update is definitely much snappier. A lot of things are running very fast. This is nice. Now, just don't crash on me again, please!

15 May 2009, 10:30

Crashed after waking from sleep. Had to force reset. System worked well after that.

16 May 2009, 9:30

Flock crashed and could not be force-quit. Activity Monitor would not start. Terminal kill command would not kill.

What's in the 10.5.7 Update

FYI, here's what Apple says is in the update:

Address Book

• Improves reliability of Address Book syncing with iPhone and other devices and applications.

AirPort

• Improves the reliability of AirPort connections, including improvements when roaming in large wireless networks with an Intel-based Mac.

Client management

• Improves reliability of synchronizing files on a portable home directory.

• Fixes an issue in Mac OS X 10.5.4 and 10.5.5 in which managed users may not see printers that use the Generic PPD.

• Client computers that use UUID-based ByHost preferences now respect managed Screen Saver settings.

iChat

• Addresses an issue that could cause an encryption alert to appear in the chat window.

• Setting your iChat status to "invisible" via AppleScript no longer logs you out of iChat.

• Resolves an issue in which pasting text from a Microsoft Office document could insert an image rather than text.

Graphics

• Includes general improvements to gaming performance.

• Includes graphics improvements for iChat, Cover Flow, Aperture, and iTunes.

• Includes fixes for possible graphics distortion issues with certain ATI graphics cards.

Mail

• Includes overall performance and reliability fixes.

• Improves Connection Doctor accuracy.

• Fixes an issue that could cause messages identified as junk to remain in the inbox.

• Fixes an issue that could cause Mail to append a character to the file extension of an attachment.

• Addresses an issue that could prevent Mail from quitting.

• Improves reliability when printing PDF attachments.

MobileMe

• Contacts, calendars, and bookmarks on a Mac automatically sync within a minute of the change being made on the computer, another device, or the web at me.com.

Networking

• Improves Apple File Service performance, especially when using a home directory hosted on an AFP server. Important: If you are using Mac OS X 10.5.6 (client) to connect to a • • Mac OS X Server 10.4-based server, it is strongly recommended that you update the server to Mac OS X Server version 10.4.11.

• Improves the performance and reliability of TCP connections.

• Improves reliability and performance for AT&T 3G cards.

• Updates the ssh Terminal command for compatibility with more ssh servers.

Printing

• Improves printing for the Adobe CS3 application suite.

• Improves printing for USB-based Brother and Canon printers.

Parental Controls

• Addresses an issue in which a parentally-controlled account could be unable to access the iTunes Store.

• Includes general fixes for time limits.

• Resolves an issue that prevented adding allowed websites from Safari via drag and drop.

Time Machine

• Fixes issues that could cause Time Machine to state the backup volume could not be found.

• Improves Time Machine reliability with Time Capsule.

Safari

• Improves compatibility with web proxy servers.

General

• Includes Mac OS X security improvements. See this website for more information.

• Addresses inaccuracies with Calculator when the Mac OS X language is set to German or Swiss German.

• Improves the performance and reliability of Chess.

• Improves DVD Player performance and reliability.

• Performance improvements for iCal are included.

• Fixes an issue when running the New iCal Events Automator action as an applet.

• Adds a Trackpad System Preference pane for portable Macs.

• Improves compatibility with smart cards such as the U.S. Department of Defense Common Access Card.

• Updates time zone data and Daylight Saving Time rules for several countries.

Mac OS X 10.5.7 is available via Software Update and also via standalone installers.