iCal Has Some Brains

Lunch

Try this with iCal for Lion (the leather-clad version that everyone loves to hate because they think it makes them appear classy and discriminating).

  • Make a new event
  • Include the word “breakfast,” “lunch,” or “dinner” in the event name

Did you see it? iCal automatically assigns the time to a typical breakfast, lunch or dinner time.

I have no idea what other words iCal detects in this manner. If you do, I’ve love to hear them. And I have no idea if this is new to Lion or has been around for years. But I thought it was a nice little detail.

Weird OS 10.7 Lion Audio/Video Problems (and how to fix it)

NOTE If this post saves your sanity and keeps you from rebooting five times a day, please consider purchasing either of my iPhone apps: Split Finder or Splitcaster. Thanks :)

HINT: If you’re having the same problem as me, restarting ‘coreaudiod’ solves the problem. You can do that either from Activity Monitor or by running this command in Terminal: sudo killall coreaudiod

See below for more details.

Anyone else having audio/video playback issues with 10.7 Lion? From time to time, much more often than I’d like, audio and video playback breaks. The symptoms are as follows:

Lion Media Error

  • Audio from Flash (specifically MLB.tv) doesn’t work.
  • I’ll Quicklook a .m4a or .mov and it won’t play. It just sits there, then beachballs for a bit, then finally give you this message: “An error occurred with the preview of this document.”
  • Sometimes iTunes will continue to work. Sometimes not. Always works via AirTunes.
  • Playing back a video in QuickTime Player X doesn’t work. It acts the same as using QuickLook. Playing the same video back in QT7 works, but the audio won’t play.
  • System and app sounds (like alerts, the “iTunes finished converting songs” sound, and the feedback when changing the system volume) all work.
  • Playback in GarageBand results in silence.
  • Same with iMovie ’09.

You get the idea.

Another thing I just noticed today, August 30, 2011, is that the screen will flash when a system alert should sound but can’t because audio is dead. It acts as if the “Flash the screen when an alert sound occurs” option is on, even though it isn’t.

Flash Screen

In general, the problem has to do with Flash and media playback. I thought maybe using AirPlay in iTunes screwed things up. But perhaps it’s just from putting my mid-2009 MacBook Pro to sleep. It was working last night, then I put it to sleep by closing the lid, and now the sound is having problems again. And it seems that only a reboot of the machine fixes the problem.

UPDATE Wednesday, August 3, 2011

I had a hunch that force-quitting the ‘coreaudiod’ process from Activity Monitor might fix the issue without a reboot. iTunes just stopped playing audio, so I gave it shot. It worked! Next time things break, I’ll be more thorough about testing this out. But so far it looks like killing coreaudiod (it’ll start right back up again and won’t affect the system) seems to do the trick. You might need to restart the offending application, too.

UPDATE Thursday, August 4, 2011

The issue cropped up again just now and simply killing ‘coreaudiod’ fixed it. No need to restart the apps that weren’t working properly. Annoying, yes. But this is so much better than having to reboot, especially since rebooting with Lion seems to take twice as long as it did with Snow Leopard.

UPDATE Sunday, August 7, 2011

If you aren’t seeing “coreaudiod” in Activity Monitor’s list of processes, make sure that you are viewing All Processes.

All Processes

UPDATE Sunday, August 21, 2011

For the record, this is not fixed with the 10.7.1 update. This issue also causes weird problems with playing back DVDs and I’ve noticed sometimes Hulu videos won’t play correctly. Getting Hulu to work simply requires killing/restarting coreaudiod. DVD playback requires killing coreaudiod and restarting the DVD Player app.

UPDATE Thursday, October 13, 2011

It seems like the 10.7.2 fixed the issue, at least with my mid-2009 17″ MacBook Pro. Hopefully the problem has been resolved for everyone else.

UPDATE Monday, October 24, 2011

So maybe it’s not 100% fixed. At least twice since the 10.7.2 upgrade, my computer stopped playing system noises (alerts, the “file deleted” noise, etc.) even though audio worked fine in other places. Running sudo killall coreaudiod fixes the problem as usual. So I’ll keep my TextExpander snippet around a little longer. Bummer…

UPDATE Friday, February 3, 2012

OS 10.7.3 is installed and audio still craps out from time to time. It’s certainly weird. I was able to play iTunes just fine, but system sound effects weren’t working just a minute ago. sudo killall coreaudiod continues to work.

Yawn and Wow

File this one under “Who Cares?” but Google announced Swiffy. It’s a service that will convert the simplest of SWFs into HTML5 documents. As long as the SWFs are targeted at Flash Player 8 or earlier and use ActionScript 2. In that case, it might work. Best results are for SWFs targeted at Flash Player 5 and scripted with ActionScript. The first ActionScript. From 2000. In other words, you can take Flash content that was cutting edge over ten years ago and maybe get a working HTML5 document out of it. Sadly, I’m failing to come up with an analogy that explains just how pointless this is. Sure, it’s a nice bit of engineering work to create this utility. But, beyond on, who cares? Probably just uninformed jackasses who will use this to support their claim that HTML5 can do anything Flash can do.

iMac Gallery

File this one under “Awesome.” The iMac image gallery on the Apple site is one of the best examples of well executed HTML5 work I’ve ever seen. Seriously cool. I first saw it on my computer. Later on I figured I’d test it out on my original iPad to see how well it works. To my dismay, the back/next buttons on the gallery were M.I.A. on the iPad. Hmm… Turns out, the gallery is even slicker on the iPad because you move from image to image with a swipe. And if you swipe slowly, you can control how quickly the elements of each slide comes in and out of the frame. It even has a bounce effect when you reach the end of the line. It’s hard to describe without playing with it. It also works great on an iPhone and, I’d assume, any decent Android device. Check it out.

Hype is Hype

Hype, a new tool for making “beautiful HTML5 web content” is out. Based on what I see in the gallery, they couldn’t have picked a better name for it.

To see my favorite part in their marquee demo:

  • Click the WHERE button
  • Then Scenic Route
  • Then Long Route

Ah yes… This reminds me of bad Flash sites from ten years ago. Also note: The back button doesn’t work. Awesome.

Really, this one is worthy of being featured as a demo? Refresh the page if you missed the coolness.

This lens flare thing is just horrible. It’s like Flash from twelve years ago. At least add some blurs to those circles. HTML5/CSS3 does support blurring, right?

The best part? It’s $30! (That exclamation point indicates incredulousness, not excitement.) I thought maybe this was a new open source framework for making HTML5 animations. Nope. It’s a commercial product.

Maybe they need to put this tool in the hands of people who can make things that are actually impressive. But these demos are sad. I predict the links in this blog post will be dead in a matter of weeks when better stuff crops up and they try to hide what they are showing off now.

John Gruber said “Fire up their gallery of examples on your iPad or iPhone and get a glimpse of the future.” I agree that HTML5 (and related technologies) is the future of the web. No doubt. But the future doesn’t need to look and act like bad Flash. There is a ton of great HTML5 stuff out there. But this? Based on the demos they are showing off? It’s a tool for making crap.

Flash isn’t the enemy

I’m following Gruber’s lead and trying to run without Flash. It’s interesting so far — most notably, Safari is much faster and more stable without it.

via Marco.org – The Talk Show #14: Bubble Gum Apps.

It wasn’t until Apple started their big anti-Flash push that Safari started to get crappy on me. I never had an issue with Safari crashing before Safari 5. That’s when they set it up so that plug-ins ran as a separate process, apart from the browser. The reasoning behind that was that Flash was the #1 reason that Safari crashed. So with Safari 5′s new design, Flash would crash on its own and Safari would continue to run.

BUT, up until that point, Safari almost never crashed on me. Now I get “Flash has crashed” freak-out messages from Safari once or twice a week1. And if Flash is crashing in Safari 5, that means the entire browser would have crashed if I was running Safari 4, right? But Safari 4 didn’t crash once or twice a week. I’m not going to get all conspiracy theorist on you, but it just seems like Apple is going out of their way to make Flash look worse than it is. And have you seen this bug where, under certain situations, text rendering can look horrible if a SWF is embedded in the page? It’s a Safari-only thing. And it seems to only be with Safari 5 under Snow Leopard. This one is totally on Apple. I wonder if they’ll fix it or just tell us that it’s Flash that’s breaking the page.

This whole “Flash is killing my browser” pity-party isn’t total bullshit, but what are these anti-Flash, HTML5-loving geeks going to do when Flash is banished and all of these horrible banner ads are created with HTML5 code instead? If you think that Flash is hard on CPUs but HTML5 animation isn’t, you are really drinking the Kool-Aid.

Oddly enough, you want to know what makes Safari crash and crash hard? Quicktime. That recent live streaming of the Apple event killed Safari three times in less than 90 minutes. Oh the irony.

It seems that one of the biggest reasons that people hate Flash is because there is so much bad Flash out there. I’m not going to argue with that. I’m sure I’ve made at least a SWF or two that’s contributed to that. But removing Flash from the web isn’t going to remove bad taste from the web. You can ban spray paint because spray paint is used to tag personal and public property. But that isn’t going to stop people from defacing things. Unless you want to ban web publishing, there is always going to be crap on the web and the crap is always going to outnumber the good stuff.

This whole anti-Flash bandwagon is like the web’s equivalent of the Tea Party movement.


1 This is an estimate. The vast majority of Flash crashes are due to MLB.tv, which is the worst web service I’ve ever used in my life. Crash-tastic. Yes, it’s built with Flash, but it’s the fact that the developers don’t know what they are doing that make it crash-tastic, not the technology behind it.

Have I mentioned that tech writers tend to be idiots?

And anyone who watched this weeks demo of the next version, called Lion, surely felt a sinking feeling that Apple just doesnt get it when it comes to interacting with a computer.

via WinInfo Short Takes: October 22 2010.

Oh. My. God. This statement is simply baffling. I guess when Apple gets another thirty years of experience under its belt, it might finally get a handle on how to make computers that its users will like to use.

That demo he’s talking about was indeed rough. I had a couple of thoughts about it. First, why are they doing these gestures on the mouse rather than the big Magic Trackpad that’s made for multi-finger gestures? And, secondly, this demo was so rough that it seemed very un-Apple of them to actually use it. Is the final product going to be this rough? No. Of course not.

Making task entry faster in Things Touch

When entering new tasks in Things Touch, I usually just name the task and file it in my Inbox to deal with later. But sometimes I want to tag them and/or file them away immediately. I find that tagging and filing away can take one step too many: choose the tag or project/area and then tap to go back to the task. Let’s make that faster.

Things Touch allows you to apply multiple tags to a task. That’s great. But often times I just want to quickly apply one, such as “errand” or “mac.” It would be nice if you could simply double-tap on a tag (or a project/area name) to quickly select it and go back to my task. This would eliminate the need to select the tag or project/area and then click the Done or Back button. Also, the fact that the button to go back is in two different places depending on if you are tagging the task or assigning it to a project/area makes this process a little bit more tedious. “So, I pick the tag or project and then either tap the button on the top left OR the top right, depending. Too many things for my feeble brain to think about!”

It might not sound like a big savings in time or effort, but I think that these sorts of small improvements make a huge difference in the overall feel of the app.

And, yes, I got this idea from my experiment with OmniFocus for iPhone, which allows you to set only a single context for a task, but doing so is very quick on the iPhone.

Dear Steve

I know I’m way late to the game here, but I just watched the video of the Apple event where you announced iPhone OS 4.0. It makes me want multitasking, it makes me want folders, and I was really impressed with the sample ads that you showed for iAd.

Regarding iAd:

  • If those things were made with HTML5, why haven’t I seen a single example of an HTML5 page that has that level of polish and interactivity in the real world? I want to. I really do. But, alas, I have not.

  • You made a point of mentioning on more than one occasion that the ads and the widgets in the ads were “very easy” to make. Are they based on templates that someone (Apple?) is providing? If not, I call bullshit on that one. I know you are bent on making Flash seem like the worst thing on the planet and you want people to think that HTML5 has been carried down from heaven by God Himself, but please stick to facts.

  • You do realize that not every one of the thousands of iPhone developers out there is also a top notch HTML5 developer, right? Cocoa Touch/Objective-C and HTML5/JavaScript/CSS are totally different skill sets. The chunk of iPhone devs who (A) know HTML5/JavaScript/CSS well enough to make a top-notch iAd ad and (B) have the aesthetic sense to create an interactive ad that doesn’t look and act like poop is probably very, very small. Point being, I have no idea why you tried to draw a straight line from iPhone developer to iAd developer.

Love, Erik

P.S. The iPad is, in fact, a very nice product. Thanks.