Recently in Mac OS X Category

iPhone Keychain Encryption Revealed

I just got the definitive word on the algorithm that the iPhone uses to encrypt Keychain items and it's Triple-DES. I was flabbergasted that they didn't go with AES since a) there's hardware acceleration for AES-128 on the 3G and AES-256 on the 3GS; b) the Keychain APIs are wildly different from the Mac OS X ones; and c) Triple-DES has been deprecated for new secure applications for years now.

The Quest for Feed Bliss

I've recently switched to Google Reader for all of my feed reading needs. This is the latest iteration in a long line of trying to find the perfect feed reading experience. Here's what "perfect" means to me in this context:

  • Readily available so that I can polish off a few items whenever I have a spare minute
  • Enables me to clear out a batch of unread items easily
  • Fast
  • Navigable by keyboard for faster reading
  • Native applications for whatever platform I'm on plus a Web application backend
  • Sync between work, home, and phone

I subscribe to 250 feeds presently so the primary consideration is staying on top of them. There is a real cognitive weight to having 1,593 unread items and I strongly dislike declaring "feed bankruptcy." So I have spent the last few years testing different options.

For most of that time, Bloglines was my go-to solution. It was fast and fairly efficient. But I was never satisfied because it was Web-based, lacked decent keyboard navigation, and required an Internet connection to access at all. I tried Google Reader when it first came out but it left me cold. Since I spent my working life on a Windows XP machine, I resigned myself to a Web-based application.

Then I got a Mac at work and suddenly all of the great Mac OS X feed reading applications were available. I again tried all of the ones I had evaluated at home: NetNewsWire, NewsFire, Shrook, and some others that I can't remember now. I settled on NetNewsWire because of the NewsGator syncing, the native iPhone application, and decent keyboard navigation. I still wasn't completely happy with the set up because the NewsGator Web application is terrible: no keyboard navigation, slower than you'd think possible, and hard to mark items as read.

As I said earlier, Google Reader is my current solution and I think it's going to stick this time. The Web application has matured substantially since I looked at it four years ago. It lacks a native Mac OS X application but I found a way around that earlier this week, which I chronicled in this Super User answer:

  1. Download Fluid.app.
  2. Save this PNG image (or this higher-resolution one) to your Desktop.
  3. Open Fluid.app and use the Google Reader URL, name, and newly-saved icon.
  4. Launch the Google Reader application from your Applications folder.
  5. Buy Byline or use the really good mobile version of Google Reader (you can save it to your Home screen to boot).

This setup is very fast, feels native (Fluid.app even displays the unread item count as a badge on the Dock icon), syncs between all environments, has great keyboard navigation, and is always available. I've gotten my total unread item count down to 8 and kept it in double digits for the last week, something I haven't done since I started feed reading.

It's refreshing to have that load off my mind.

In the interest of contributing to the wealth of tips on WWDC, I'd like to share what I learned this week about the event itself—I can't talk about the session material since it's under a non-disclosure agreement.

  1. Don't lose your badge. I didn't, thankfully, but the attachment of the badge to the lanyard is very precarious. Everything—everything—revolves around that badge and there's security everywhere. They will balk if they can't see the full badge.
  2. There is no Apple-provided dinner except for the Bash. From the original Web site, it seemed like Apple would provide dinner daily, but that was emphatically not the case. The Bash food, incidentally, was excellent. I was stuffed from the sushi, hot dogs, pizza, Chinese, pasta, cookies, and quiescent confections.
  3. You can leave on Friday. I booked my return flight for Saturday morning thinking that sessions would run as normal on Friday and I didn't want to rush around dealing with luggage and transportation to the airport. Turns out, the last session ended a little past 2 o'clock and they have a luggage holding station at Moscone West. I could have easily left that day. There's a lot to see in San Francisco, of course, but I was ready to go home.
  4. Don't miss Stump the Experts. I didn't learn anything at all from the session but it was hilarious. This was the 20th Stump the Experts event and it made me feel nostalgic even though this was my first time attending.
  5. The labs run concurrently with the sessions. There were many great sessions that conflicted with one another, but most of the good labs also conflicted with those great sessions. The best bet, I found, was to skip a Q&A here and there to make use of the session interstitials. Even still, I missed several opportunities. If the videos came out in a timely manner, I'd say to only go to the sessions for the Q&A (or to ask your Qs at) and focus on the labs. You can watch the video at your leisure but you're never going to get that kind of face time with an Apple engineer otherwise.
  6. The WiFi access was excellent. I consistently got five bars throughout Moscone West during the entire conference. I also was able to connect via VPN at will. I'm not sure why the online accounts I read had WiFi trouble in the past, but Apple appears to have gotten its act together.
  7. Complaining about the lines is an effective icebreaker. WWDC, for me, was a series of lines: lines for the sessions, lines for the labs, lines for the urinals, lines for the sinks, lines for the food. Witty observations about this led to many interesting conversations with line neighbors. Not that you need an icebreaker: I never had any trouble striking up a conversation with anyone and the bonhomie was palpable throughout.
  8. Use the elevator. There's an elevator near the stairs that was almost never being used. If you're on the third floor after a Presidio session and you want to go to a lab, your best bet is to skip the line for the escalators entirely and go straight for the elevators. I generally rode it alone; I have no idea why so few people took it.
  9. Plan on getting in line for the Keynote by 8 o'clock. I waited until 9 AM to mosey down to Moscone and the line had already wrapped around nearly back to the main entrance off Howard. By 9:45, we had barely moved. I ended up getting seated in the overflow room, which had quite a nice view of the Keynote, about 10:20 AM and missed the hardware announcements entirely.
  10. The Interface Design consultation is by appointment and they fill up quickly. I was planning on having an Apple engineer give my iPhone application a once-over, but I didn't realize you had to reserve a spot so they were gone by the time I got down there. If I were doing it again, I would make this action my top priority.

Was WWDC worth it? Big time. It was hard being away from my family—video conferencing via iChat helped considerably—but I learned so much and got direct answers to my questions that I can recommend it without reservation. Plus, I got a developer's preview of Snow Leopard that is wonderful. iPhone OS 3.0 and Snow Leopard are going to be great, people. Make sure you upgrade when they become available.

Redmond, Start Your Pricing Guns

One of the most exciting aspects of the WWDC keynote announcements was the pricing of Snow Leopard at $29 and a five-pack family pricing of $49. I've purchased every version of Mac OS X for $129 since the original 10.0 (except 10.1 obviously), only occasionally catching a break due to buying new Macintoshes.

Every version was worth it, mind you, but it still felt like an ongoing cost of owning a Mac. (I must here disclaim any sense of entitlement: I know that previous versions of Mac OS X continue to work after the new ones come out and I have taken that route for non-essential computers. This feeling arose from my inner cheapskate more than any sense of deserving something for nothing.) Every new version required a careful calculation of benefits and review of features for ancillary machines.

But I don't have to think twice at a $29 (or $49) price point. On this point, David Pogue has it right. But his reasons for the pricing barely scratch the surface. I paraphrase his four listed reasons as follows:

  1. This release doesn't have enough features to justify $129.
  2. They want to get this out to a lot of people.
  3. They want to embarrass Microsoft with this ridiculous value of the release.
  4. The lower the price, the likelihood that people won't even blink at upgrading.

There's a lot more to it than that, though. 10.6 requires an Intel machine. If you've got an Intel machine already, it's likely that you've running 10.5 and that you'd gladly pay $29 to recover 6 GB of space much less for a slew of new features. If you're running Tiger on an Intel machine, you have to shell out $169 for the Mac OS X Box Set. And if you're not using an Intel machine, you cannot upgrade to 10.6 (and presumably any future releases either). So this release cycle effectively communicates to those still on Tiger or the PowerPC platform that their days of being supported by Apple are nearly over.

Finally, if 10.6 is truly laying the groundwork for future plans, then Apple has an interest in having as many developers making use of its new technologies as possible. But historically developers will not migrate to these new systems until a critical mass of users have made the move: supporting two disparate versions of a feature is expensive for small developers and they won't do it unless there's a absolutely compelling reason. Pricing 10.6 at this level will induce a substantial number of consumers to upgrade. On the iPhone, I can imagine that 3.0-only applications will come about soon because the upgrade friction is minimal there.

With a solid base of applications using 10.6 features, Apple can sell future hardware in a way that Microsoft-based vendors cannot. With the gigahertz arms race faded, hardware vendors are competing on multiple cores, multiple CPUs, and RAM. But consumers quickly discover that all of this extra hardware encounters diminishing returns on the software that they use—either the software can't make use of memory above 4GB or these extra cores are mostly idle. 10.6's promise is that it makes using these hardware features seamless to the developer through mechanisms like Grand Central Dispatch, OpenCL, and completing the transition to 64-bit.

These strike me as more substantive reasons for the pricing than Pogue's facile ones. I believe 10.7 will resume the $129 price cycle as people catch up to the Intel/Leopard transition and Apple wants the third-party applications to be there waiting to sell the hardware's value.

Bravo, David Friedman!

Today, a co-worker and I, both fans of the iPhone, were discussing how to do text selection and cut/paste operations. I'll confess that I didn't have much of anything to add to the conversation beyond being a good listener and carefully considering his ideas.

He had a pretty decent notion of using one finger as an anchor position while the other could drag around to set the other anchor. With our hands, you could cover the screen completely and even handle scrolling through longer documents. We weren't really sure how to implement the cut/copy/paste side of the equation, but we guessed that an alert panel with applicable buttons would suffice.

After seeing David Friedman's tweet about his take on the subject, I knew that he had nailed it perfectly. His solution is captivating in its simplicity and obviousness. If any Apple iPhone engineers are reading this and haven't read his entry, get out of here right now. Also, hey, good job on the iPhone—can you pull some strings and get me in the beta program?

The iPhone as trackpad is just genius, sheer amazing genius.

Go Go Daddy Dashboard!

Screenshot of the widget

I just deployed my latest effort: the Official GoDaddy.com Domain Search Dashboard Widget. I know, it's not a terribly catchy name but it's quite descriptive. It's a Dashboard widget for Mac OS X that enables you to check domain name availability. It's certainly a variation on a common theme but what can I say? Domain registration is bread and butter.

This widget was a little different than the other ones I've done, however. It's got all the visual flair attendant with Mac OS X, to be sure. The animation took forever to get just right and smooth. It also had to have an update mechanism since it doesn't reside anywhere that we can control. The update process is fairly simple but so is the app itself.

It consumed a lot more time than you'd expect, but I enjoyed it. Well, except for some of the fighting with Dashcode. Oh and that issue I had all yesterday with the little loading spinner: that drove me nuts trying to pin down the cause. (Incidentally, in the open method of the XmlHttpRequest object, if you specify false for the asynchronous parameter, it will not run any code that updates the widget until the response comes back. But only in the Dashboard version of WebKit. Safari works just fine. It was a pain to track down.)

[The views expressed on this website/weblog are mine alone and do not necessarily reflect the views of Go Daddy Software, Inc.]

Let's See the Polished Draft Now

After reading Andy Ihnatko's tweet about Apple's announced solution to the lack of background processing on the iPhone, I realized that I had been taken in by Steve Job's famous RDF. It sounded good to me while I was listening to it—I mean, except for the September release. But I didn't think much about how little the single-source notifications addressed the problem it ostensibly solved until I read Hank Williams' excellent analysis.

Basically, the single-source notification is good for handling incoming alerts that need to be displayed to the user in any application but doesn't address the other two compelling cases for background processing: a) notifications like an alarm clock or countdown timer and b) broadcast messaging for status updates or location notification. Updating a badge with a new count of incoming messages is nice but it really limits the sort of application possible using the new features and API.

Can you imagine the extra work a developer of a countdown timer app would have to do to tell the user that the timer has reached zero? When the countdown timer app is exited due to a call or another reason and the timer hadn't elapsed, he would have to send a final message out to his server on the Internet indicating the remaining time and the iPhone in use. Then the server would notify Apple when the timer elapsed and Apple would alert the user. But the application would spawn this process even if the user intended to quit the timer app or even if there was two seconds left. Further, it seems like Apple's server would queue update requests so it's entirely possible that the user would be alerted long after the timer had actually elapsed.

For status broadcasting, there's just not going to be a way to handle it in the single-source scenario as it appears to be a one-way process. Sites like Brightkite or Fire Eagle couldn't get the particular iPhone to respond to a pull request because I'm sure that Apple would not allow a notification to quit the running application to open a different one. That would make for a jarring user experience and I just don't see Apple going that route.

Obviously, details about this September service are sketchy at this point so all of these considerations could prove moot when it is released. But Apple had better address them because no countdown timer app maker would provide a server to accommodate Apple's unwillingness to allow background processing and location-based social networking seems to be a compelling use of the new GPS capability.

Dashboard Widget moveTo

If you find yourself whipping up a widget in Dashcode and circumstances have moved that widget (during the running and testing) off the screen so that you've essentially lost it, you'll try everything to get it back. window.moveTo doesn't work. There is no widget.moveTo. And manually setting window.screenTop to 0 has no effect. So you google and google and google, but there's seemingly no query that you can construct to get an answer. I guess you're never going to see your little widget again.

But don't despair, friend! Just use the undocumented method widget.resizeAndMoveTo(x, y, width, height) in your show method and you'll have your widget right where you want it, safe and sound.

What to Expect That I'm Expecting

This iPhone-related patent application just surfaced today. Combined with the rumor that Apple will unveil the iPhone App Store at the Worldwide Developer's Conference starting on Monday, it offers some tantalizing insights into what we might expect from the normally secretive company.

Here's two excerpts from the patent application:

The device supports a variety of applications, such as one or more of the following: a telephone application, a video conferencing application, an e-mail application, an instant messaging application, a blogging application, a photo management application, a digital camera application, a digital video camera application, a web browsing application, a digital music player application, and/or a digital video player application.

And also:

The wireless communication may use any of a plurality of communications standards, protocols and technologies, including but not limited to … voice over Internet Protocol (VoIP), Wi-MAX, … instant messaging (e.g., extensible messaging and presence protocol (XMPP), Session Initiation Protocol for Instant Messaging and Presence Leveraging Extensions (SIMPLE), and/or Instant Messaging and Presence Service (IMPS)), and/or Short Message Service (SMS)), or any other suitable communication protocol, including communication protocols not yet developed as of the filing date of this document.

Video conferencing? IM? Blogging? Digital video camera? SIP/VoIP? XMPP? These are all technologies that aren't in the current iPhone. So the question here is whether this is a carte blanche, catch-all sort of patent application or a revelation of Apple's upcoming intentions.

I am very conflicted about this report. On the one hand, having these applications built by the mothership means that they'll be more widely used and available. For applications like instant messaging and video conferencing, ubiquity makes them useful. On the other hand, by including them for free Apple would short-circuit developers interested in selling such applications at a time when there are exactly zero sanctioned, third-party applications. This, of course, is nothing new for Apple.

It's within their rights to offer whatever software they want on whatever platform they create. But if they're looking to grow their third-party application catalog (and make money off the App Store), they'd do well to emulate the Facebook platform or even their own operating system. Competition with their constellation of developers has a chilling effect and should only be engaged in rarely.

[UPDATE (6/9/2008): Apple appears to not be competing with iPhone developers. From the keynote, it looks like they're just adding features to their existing stable of apps and leaving IM et al. to third parties. I think it's the right decision.]

Full to the Brim

I put 4 GB of RAM in my MacBook and 2 GB of RAM in my iMac. I don't know why I hesitated for so long in spending the $150! Everything is so zippy and I can have many, many applications open at the same time without worry. Now I just need to sell back all these 512 MB RAM cards I seem to have accumulated over the years…

All for the Lack of a Cable

I bought a 250 GB external hard drive awhile back and I even bought SuperDuper, which I have to say is one helluva backup tool. But I stopped making regular backups because the hard drive appeared to have died from disuse. I was very upset by this because I'd only really done a couple weeks worth of backups and stopped it once I got my new MacBook.

Then I read somewhere on the Web that the problem might actually be a bad FireWire cable. I had a spare one from my 2G iPod so I gave it a whirl tonight. OMFG! That was the whole problem?! I cannot believe a cable could go bad after less than a year; I certainly didn't have it bent or kinked, which I would expect to cause problems.

So tonight I'm backing up the iMac in preparation for an imminent Leopard upgrade. I can't wait!

[UPDATE (10/29/2007): Remember my saying that SuperDuper is "one helluva backup tool?" Of course you do because it was maybe 100 words ago. The backup went extremely smoothly, taking about an hour and a half for a bootable, complete backup. SD allows you to schedule backups, so I set it up to do it nightly at 2 AM since the iMac never sleeps. Two days later and I'm a nightly-backuper! I can't tell you the peace of mind such regularity brings. We've got about 6,000 photos in iPhoto that we haven't yet uploaded to Flickr, we've got movies that exist only on that computer, and we've got music bought from iTunes Music Store that is irretrievable. (Thanks, Apple, for that lovely issue—somehow you know that we've already bought a song if we try to buy it again but you can't let us download it again. Grr.) Thanks to Super Duper, I don't have to worry that our daughters' births might be lost forever! I'm not quite up to backup snuff as I could be but that's just one more external hard drive away.]

The Ultimate in Keyboard Shortcuts

I've been using Quicksilver since it came out. I was once an avid LaunchBar user but it just couldn't compare to Quicksilver's slick user interface and incredible power. It's the first app I install on any Mac I touch. But whenever I go to Merlin Mann's site I invariably find some completely unexpected trick that makes me realize that I've barely scratched the surface.

This entry about Quicksilver proxy objects and menu items brings the Quicksilver power to bear on an application's menus. So. You. Can. Use. Quicksilver. To. Run. Menu. Items. That. Might. Be. Buried. In. Submenus. O. M. F. G.

If you're constrained to the Windows world, now's the time to switch. Yes, a free app is worth the switch.

The Newest in New

I bought a MacBook last night. I am a laptop person; I fought it when I bought a 20" iMac last year and I always end up carting it around the house. I just hate having to do all my computing at my desk.

As is custom, the first order of business was to christen it. (My iMac is called Moby, my iBook G4 is Whitey, and my non-functioning Titanium PowerBook was Thor. My original Bondi Blue iMac was Secret Agent Cat but I can't recall what I named my first Macintosh—a Performa 575.) For some reason, I named it Scabby and used the icon on the left to represent it. It's kind of a weird choice but that's the way naming goes.

My initial thoughts after a day's use and setting up with the experience of having had two other laptops and a few desktop Macintoshes:

  • This thing is small!. It's got a 13.3" screen but it looks like a shadow compared to my 14" iBook G4—like half as thick, maybe 2/3 as heavy.
  • It feels just as responsive as the 20" Intel iMac.
  • The most memory I've ever had in a computer was 768 MB prior to this laptop's 1 GB but it sure doesn't feel any better or roomier.
  • It's so nice starting fresh with a new computer even though it's a hassle reinstalling all the software.
  • Apple's Migration Assistant really makes switching to a new computer such a trifle. I've never seen an equivalent in the Windows world. That's a good thing!
  • 60 GB in storage is such a bad idea. I've got 15 GB free right now after one day of use. Looking over the hard drive's contents and there's 14 GB in Pictures, 17 GB in Music, and 7.73 GB in Documents. That's right, 65% of my hard drive is taken up by just those three folders!
  • The keyboard is horrible. The gaps between the keys are so weird looking and the keys seem smaller to boot. So I'm constantly conscious of being precise when I'm typing. The touch response is pretty decent, though, so I might grow to love this keyboard as I get accustomed to it.
  • I finally hit the iTunes authorized computer limit. Apparently, I never deauthorized the Titanium PowerBook and the iBook G4 counts as two computers since it had its motherboard replaced last year. I had to deauthorize all my computers in order to authorize this one. Not a big deal and definitely less of one than I thought it'd be.

But I feel good about my computer situation again. I wanted to sell the iMac to mostly pay for the MacBook but Sandi talked me out of it. Not that that was a hard sell.

[UPDATE (2/23/2007): I can't believe I didn't mention the MagSafe power adapter. That thing is genius!]

But It Feels Snappier!

Something gets posted to Digg about a preference setting that supposedly makes Safari load Web pages faster. People report that it does, indeed, go faster. Apple Safari engineer observes that the preference setting in question has been ignored since 1.3!

All Chin

So, Allchin's retired now. It was probably just Vista that did him in, but you never know what lies in the hearts of men.

The iPhone

That iPhone is hot. Buried among the announcements was a name change to Apple, Inc. from Apple Computer, Inc. and the playing of a Beatles song. As this Slashdot commenter noted, the long-standing troubles with Apple Records must finally be over. It's not a press release, but it's awfully close.

Also, I sure hope they have some more special events this month or next detailing the changes to Mac OS X and announcing the new eight-ways. The keynote was long but it focused solely on the AppleTV and the iPhone. It's hard to call this the year of the Mac when the keynote was about anything but.

[UPDATE: One other thing I noticed was the June 2007 availability. A lot of people are puzzled by this because FCC compliance certification wouldn't take five months—most people say it might take two months at the most. Watching the introduction, it dawned on me that this baby's going to run Leopard and it probably won't be available much earlier than that.]

Drop and Give Me X

Today Apple announced their BootCamp feature for Mac OS X, which allows Intel-based Macintoshes to install and boot Windows XP. Holy ska-moly! This is a huge move. They've even redesigned the Windows XP logo, creating an "X" out of the negative space. Nice!

I sure hope that this portends virtualization in Leopard. Boy howdy, do I!

[UPDATE (4/6/2006): BootCamp's nice and all, but that virtualization I mentioned is available today for $50! The future, as they say, is now.]

Rumor Confirmed

Think Secret is posting a rumor about a brand new iPod Video coming out April 1st. I can officially confirm it. How, you ask? Well, the 60 GB iPod Video I bought just arrived last night. There you go; you can take that to the bank.

Fate Perhaps?

My iBook G4—affectionately called Whitey—gave up the ghost last week and refused to boot. I hooked it up to another computer and put it in target mode to move over as much of my data as I could. A quick jaunt through Disk First Aid revealed that there were some disk errors and it was able to repair one or two of them. I took it in to Re-Mac, the local authorized Apple reseller, for a little TLC and diagnostic.

Today they called my wife and told her that they could swap out the hard drive for the low, low price of $300. Hmm, probably worth it, I thought. I called the guy back and he had discovered, in the intervening time, that the logic board was malfunctioning. He put in a brand new hard drive and it still wouldn't boot. Luckily, Apple has a flat-rate service where you pay $485 and they'll swap out any bad parts for brand new ones.

Now anyone that knows me knows that I spurn the notion of fate. At most, fate is a set of random coincidences in which the mind discerns a pattern that doesn't exist causally. Well, seeing as how the annual Macworld keynote is tomorrow and the iBook is expected to be refreshed, I'd say that this series of events is quite a fortunate set of randomness. Here's hoping.

[UPDATE: Darn. Darn. Darn.]

False Sense of Security?


These pictures sure speak to me:

Windows XP Security Vulnerabilities Solution Status Chart

Mac OS X Security Vulnerabilities Solution Status Chart

{via}


About this Archive

This page is an archive of recent entries in the Mac OS X category.

Language is the previous category.

Metasite is the next category.

Find recent content on the main index or look in the archives to find all content.

Feedback to