Exporters From Japan
Wholesale exporters from Japan   Company Established 1983
CARVIEW
Select Language

August 2005 Archives

Giles Turnbull

AddThis Social Bookmark Button

Apple’s latest experiment in consumer satisfaction is, I think, a fascinating new tool in the company’s never-ending quest to attract more users to the Mac platform.

Here in the UK, there’s a small chain of independent record shops called Fopp. One of Fopp’s great attractions is that it has what’s known as a “Suck it and see” guarantee. You can buy any CD, and if you don’t like it, you can take it back. Simple as that.

As a result, people go to Fopp to buy stuff because they know they can take more risks, and feel more relaxed about spending money.

Apple’s Mac mini offer works the same way. Right from day one, the Mac mini has been aimed squarely at people who need a decent computer at a low price. But for many Windows users, even the low price doesn’t tip the balance for them. There’s still an element of risk in purchasing a Mac mini, simply because to those people, the Mac is an alien thing. OS X represents a learning curve, no matter how shallow, and that puts people off.

The Mac mini test drive takes away the feeling of risk, the fear of the learning curve.

People can buy a Mac mini and be assured that if, after 30 days, they still don’t like it, they will have lost nothing. They will still be able to get a refund and spend the money again, on something less risky.

But Apple has a hunch - a pretty solid one, I suspect - that the returns will be a minority of the sales. Apple’s confidence in the friendly nature of OS X is not misplaced. Just look at most reviews of Mac hardware that have appeared in Windows-specific magazines in recent years. Even long-time Windows writers have publicly conceded that OS X is an excellent platform, especially for newcomers.

The offer won’t provide a huge boost to Mac mini sales; a modest one, at best. But it will make the difference for a small percentage of buyers, people who have been wavering because of this fear of the unknown. Most of those people will now buy, because they feel more secure. And most of those buyers will, I think, end up keeping their computers.

And that’s what Apple wants. When your market share is at about 3.5%, even a modest boost can make a serious difference to quarterly figures, and when you’ve got analysts on your back wondering how to manage the transition from one processor architecture to another, good quarterly figures can be a big help.

Comment on this weblog

Francois Joseph de Kermadec

AddThis Social Bookmark Button

Most servers and clients today are capable of handling some form of encryption, be they e-mail servers, web servers, chat servers, streaming servers. Yet, in many cases, the applications we rely on to connect to them or the administrators that configure them do not make the use of secure protocols mandatory.

There was a time where the overhead accompanying such transfers translated into heightened bandwidth costs and a much slower user experience. The web of today, though, is without the slightest doubt able to serve encrypted content at decent speeds and, given the current discussions on identity theft, I am willing to bet that most users would prefer a slightly less snappy but secure experience over an immediate and dangerous one.

The reasoning behind not using encryption everywhere is that most of what we transmit daily is not confidential. After all, your little brother’s sock size, your favorite brand of mayonnaise or a picture of your pet are of little use to potential evildoers, right?

That is however a very misleading reasoning. Indeed, while these three elements are in themselves of little interest, it is possible, by aggregating non-confidential facts to learn quite a bit about your tastes, your life or yourself. If a particular note is of no interest, the merging of them can allow someone to know what stores you go to, what schedule you are most likely to have on a specific day, what your political or religious views are and, from this information, perform the damaging or hurtful action that was planned.

I’ll gladly admit that this can sound totally paranoid. However, there is no need to be an ex-secret services agent to be spied on: disgruntled employees, former lovers, coworkers, competitors have all been known to do some sneaky things in the past. For all you know, your smiling neighbor’s main goal in life might be to get you thrown in jail for tax evasion — OK, that last one might be a bit of a stretch.

We constantly hear about elaborate identity theft schemes and the first reaction we have is to lock down bank accounts, credit cards and everything money related without realizing, as important as these are, that the most successful attacks will be built upon the details, the little elements that we all deem so unworthy of our attention that they become our trademarks, our signatures without our realizing it.

Checking that “SSL” box is easy and it might just save you a lot of trouble.

Todd Ogasawara

AddThis Social Bookmark Button

Related link: https://www.t-mobile.com/hotspot/

According to a CMP TechWeb article T-Mobile Hotspots in Louisiana, Mississippi, and Alabama are free until Friday Sept. 2.


Sites Laid Low By Katrina Traffic


You can get more info about and locations for these hotspots at:


T-Mobile Hotspots

If you know of other mobile tech help for those affected by Hurricane Katrina, post the info here.

Todd Ogasawara

AddThis Social Bookmark Button

Submit your mobile-device-friendly websites to Google Sitemaps, folks! Google just made it mobile-friendly.
According to the blog entry…


Alan Strohm, Google Mobile team: Small is beautiful


webmasters of sites of all sizes can submit their mobile website URLs to Google Mobile Sitemaps, an extension of the Google Sitemaps program. And just as cool, mobile phone users can search through these, and other mobile-friendly websites, using Google Search for the Mobile Web.


You can learn more about Google Mobile Sitemaps (beta) at…


Google Sitemaps (BETA) Help

Let us know about your phone/PDA friendly website too.

Brian Sawyer

AddThis Social Bookmark Button

Related link: https://www.onfocus.com/2005/08/3732

As lead editor for O’Reilly’s Hacks series, I field proposals for Hacks books on a daily basis. I also usually have several books in various stages of acquisition, writing, or production, all of which of course have authors and (this being Hacks) numerous contributors. Beyond the questions about which topical areas we’re looking to publish on, the questions that come up most often are usually variations on the theme of what makes a hack and how one should be written.

I’ve long wanted to write something for current and prospective authors, contributors, and other O’Reilly editors (to share with their authors) that explains exactly what we mean by “a nonobvious solution to an interesting problem.” But, of course, I haven’t had the time to do so, so I often go through various rounds of trying to explain something that, when it comes right down to it, you really need to just grok. Unfortunately, after a few attempts to put a fine point on the term hack (as used by O’Reilly), I often end up resorting to a description that’s not much better than Justice Stewart’s infamous definition of obscenity: namely, “I know it when I see it.”

Today, I was discussing a new project with Paul Bausch, who has established himself as a model author for the series (including Amazon Hacks, the forthcoming Yahoo! Hacks, and an as-yet-unannounced third Hacks title), and I learned that he’d quietly drafted his own take on this theme. Paul’s an author who groks the Hacks format with little need for supervision or guidance, so I was particularly interested in his perspective. He didn’t disappoint, so I asked him to share his sage advice with the world. Thankfully, he agreed.

Here’s what he describes as his Hack template:

I view a hack as a project the reader can accomplish. The reader also needs to know why they might want to accomplish the project and have an idea of what the project should look like when they’re finished. Here’s my template:
  1. Why this hack is needed (story, build desire)
  2. Describe the relevant features
  3. Hack prerequisites
  4. Hack code/procedure
  5. Example of the Hack in action
  6. Brief summary (why the reader rocks!)

  7. If possible, Hack alternatives

Whenever possible I use the conventional Hack headings of The Code and Running the Code to separate parts 4 and 5. And the heading Hacking the Hack for part 7.

The rest of his post fleshes out his philosophy and approach in more detail. Though there are certainly things I’d add if given the time, and other views and approaches are certainly welcome (Hacks contains multitudes: it always has room for a variety of perspectives and embraces diversity of opinions and approaches), Paul’s explanation and tips are as great a start as I could have hoped for.

If you’re thinking of writing for the Hacks series, currently writing for us, or just want to get a behind-the-scenes look at how the sausage is made, you’ll definitely not want to miss it.

Got a Hacks hack? Share your best practices for effective writing, Hacks or otherwise.

Derrick Story

AddThis Social Bookmark Button

Last week we all had an engaging discussion about what happened to my Safari?. Lots of issues were raised, and some good advice shared. The tip that has helped me the most was clearing the “other forms” in my Autofill preferences. Safari ran much better after doing so.

Then yesterday Apple released Safari 2.0.1. I’ve downloaded the new version from Software Update and have been using it to browse my favorite sites. I’m also writing this post in 2.0.1.

I’ve noticed performance improvement. My Gmail account is definitely snappier, and overall surfing seems faster. I know it’s always hard to tell at first because “we want it to be better.” But after a day of work, I think it really is improved.

I couldn’t find any major issues on the Apple Discussion Boards, so it looks like it’s time to turn it over to you for your comments. How’s Safari 2.0.2 (or the upgraded Panther version) working for you?

Chris Adamson

AddThis Social Bookmark Button

If you’re a power user, you probably have something like this in your dock:

Applications folder alias in Dock

This is an alias of the Applications folder, which I dragged into the Dock. The reasoning is simple - I have more commonly-used applications than I’d care to put on the dock, but if they’re not on the dock, then I have to:

  1. Open a Finder window
  2. Click on the Applications folder in the left nav
  3. Find my app and double click it

Putting the Applications folder in the Dock allows you to right-click (or ctrl-click) it for a contextual menu listing its contents, ie, all your applications

Pop-up applications list

This saves a few steps, though you still have to scan/scroll through the alphabetical listing to find your app. So it kind of sucks. If you need something from the Utilities folder, then you’re into the realm of hierarchical menus (yuck), and it sucks a lot more, as this example shows:

Finding a deeply nested application

Moreover, this will only find apps in the Applications folder. Everything I use in /Developer/Applications, like XCode and Interface Builder, doesn’t show up.

At some point, I realized that Tiger has freed me from the tyranny of this wannabe Start Menu. I was searching for something and in the results, which are sorted by type, I noticed “Applications”. I realized that it was entirely practical to simply type the first few letters of the app I needed and get to it that way:

Finding GraphicConverter application with Spotlight

In fact, if you use the keyboard equivalent for Spotlight (command-space if you only use one input method, ctrl-space if you use more), you can find your app without taking your hands off the keyboard.

This approach doesn’t care about hierarchies — after all, that’s the point of Spotlight — so finding deeply-nested applications or those outside the Applications folder is equally easy. In fact, that’s probably the only significant hazard: if you have multiple OS X partitions (say, for testing purposes), you can get this weird situation where you pick up applications from different partitions:

image

OK, which one of you Printer Setup Utilities is from Tiger, and which is from Panther?

Still, it’s so useful that there’s really no need for the Applciations-alias-in-Dock trick anymore. So long, wannabe Start Menu!

Are you launching apps with Spotlight?

Francois Joseph de Kermadec

AddThis Social Bookmark Button

Organizing documents, and especially e-mail is a never-ending endeavor. Indeed, people are, by nature, messy. I know of no large organization where people have heard of an e-mail thread — meaning you get replies about an upcoming department meeting quoting your birthday wishes note from 2001 —, formatted subject lines — meaning a simple e-mail exchange will usually see 3 spelling variations of the same words —, specific headers — but that may be because most clients don’t make them easy to add — or any other trick one would naturally think of to get organized.

Come to think of it, there is no reason why people should know or care about these things. After all, they’re doing their work under a lot of pressure and, even if we geeks think being a little more organized couldn’t hurt, we cannot ask someone who is relatively new to computers to get hyper-specific with e-mail management.

Search systems like the life-saving Zoë or dedicated services like GMail have made our lives easier. Even Spotlight has made finding mail on Tiger a lot more efficient and easy than it used to be. However, as I mentioned in the past, we should not forget that, no matter how easy these systems make the retrieval of information, they do not organize content for us and we should not be lulled into a false sense of security — what if the system breaks, if we change platforms or some yet-to-be-determined incident makes our organization obsolete?

A good and widely accepted trick is to put mail in folders, organized by project and, within these folders, organize mails by sender — like “John” in “Project Bubble Gum”. Sure, John may send you a mail referencing both project Bubble Gum and project Carrot Sticks but, even in the worse case, you’ll only have to look in two folders to retrieve the message, without automated assistance. Classifying mail and documents by date is also an option although it makes the retrieval of files out of the blue a lot more difficult.

With a seeming classification system, finding a particular document should be possible. It may require a lot of effort, a lot of work, but, as long as you have a vague idea of how you proceed (and you stick to it), it will be possible. The problem however lies in referencing the document.

Indeed, how do you, for any reason, reference a specific mail you received? Often, we have to resort to the likes of “the mail I sent you on January 1st 1969, at 13h 00 UMT regarding project Leather Shoe”. That is all very well and it’s certainly precise enough to go to court with — but it’s a pain.

Recently, I started playing with GUIDs — Globally Unique Identifiers. By tagging every document with an almost-random number, I can easily reference it once I have found it. Sure, I may seem crazy when I ask people to look up file ID “e43dgff44332fgfDFvc” but, in my experience, once they understand the freakishly long number is here to ensure there won’t be two files with the same ID and they can actually copy and paste text from an e-mail into their search application, people respond very well.

Of course, this brings us to the problem of generating a GUID. It needs to be sufficiently long to be unique, needs to have no cryptographic value whatsoever (or you’re just about sure someone will try to use them as digital signatures) and needs to not reveal any information about your computer — which just about rules out the otherwise very useful “uuidgen” command on many platforms.

So far, the system seems to work but I’m still working on how to generate the best possible GUID. Anyone interested by this challenge?

Todd Ogasawara

AddThis Social Bookmark Button

According to an IDC survey, 30 percent of cameraphone users say they plan to buy a standalone digital camera after their introduction to digital photography on their phone.


Mobile Pipeline: Cameraphones Create Standalone Digicam Sales, Survey Finds


Anyone who has taken photos using a cameraphone knows that most cameraphone’s do not take photos anywhere near the quality of even a low-end standalone digital camera with a similar resolution (say 1 megapixel or less).
And, some industry analysts and pundits have been telling us that cameraphones will cannibalize digtal camera sales.
Even though I’m a huge cameraphone fan, I’ve never subscribed to that opinion.
And, as a person (perhaps one of the few remaining?) who prefer best of breed standalone devices (phone, PDA, camera, MP3 player, etc.), the camera part of my cameraphone will continue to be used for only those photographic events where I don’t have my Canon SD200 (or whatever digital camera I am using at the time).

Was your cameraphone your first digital camera (probably not true for 99+% of the O’Reilly Network crowd :-)?

Giles Turnbull

AddThis Social Bookmark Button

OK folks, the invites from Apple’s PR team were sent out today. The essential text reads:

1000 songs in your pocket changed everything. Here we go again.

So you can bet that between now and that day, the rumor sites are going to be on overdrive, trying to second-guess His Jobsness and figure out what the big surprise is going to be.

People will doubtless be placing money on some kind of video device, a videopod that does for film and TV what the iPod did for music. That would be the kind of thing to ‘change everything’ again, wouldn’t it? Especially if it had some kind of direct link to an iTunes Music Store-style service for the downloading and purchasing of video content.

What other ideas could change everything again? An iTunes phone, or combination phone and iPod device, might be interesting, especially if it could connect directly to the iTunes Music Store and download songs without the need for a computer.

Or might we see a radically different handheld device, one that’s more like a computer than a player of files? Something that runs OS X and can be used for all manner of mobile computing functions, music and video included.

I’m inclined to suspect it’ll be some kind of video tablet device. But heaven forbid I should ever indulge in groundless speculation. That’s not like me at all.

Sooooo, whaddya think it’ll be, huh?

Derrick Story

AddThis Social Bookmark Button

I was flipping through the just-released Digital Photography Pocket Guide, 3rd Edition last night, and I thought this would be a great time to share some shooting tips.

Before I do, however, I want to mention that this 3rd Edition of my photo guide “hits the mark” that I’ve been striving for since I originally conceived this book. This time around we got the perfect storm… in a good way. Brand new design from Mike Kohnke and Marcia Friedman, tech review from James Duncan Davidson, gorgeous printing and paper (thanks Cambridge crew!), great editing from Colleen Wheeler, and on and on. This edition is improved in every facet, and the info is totally up to date.

OK, but you want tips right now (while you wait for your book to arrive). First thing, don’t let your digital camera get too hot, as in the glovebox of your car. We’ve seen that hot image sensors produce more image noise. So treat your digicam with the same care as your film-loaded 35mm camera.

If you’ve made the switch to digital, and you’re thinking about selling your 35mm SLR, be sure to hang on to all the filters, step-up rings, lens hoods, flashes, pouches, etc. I keep my stuff in stackable boxes that are marked on the outside. I can’t tell you how many times I’ve found the perfect accessory in one of those boxes to tackle a job with my new digital camera. By repurposing this stuff, you’ll save yourself hundreds, maybe thousands of dollars.

Get serious about portable backup solutions. There are many times when you won’t be able to take your laptop with you. Check out devices such as the current iPods (color screen) with the camera connector, Palm LifeDrive, and other hard drive devices that let you offload your pictures and keep shooting. I prefer double backup myself, so I’ll take extra memory cards too so I can have pictures on both the hard drive and memory cards. I try to keep them in separate cases as I travel.

Shade your lens when shooting in bright conditions. If the sun is shining directly on your lens, you’ll lose contrast at best and gain lots of flare at worst. Use a lens shade, your hand, or a copy of The Digital Photography Pocket Guide to keep stray light off your glass.

If you want to shoot at high ISOs, such as 400 -1600, get the biggest image sensor you can afford. Small digicams are great for daylight shooting at ISO 100, but those little sensors create too much noise at 400 and above. You’ll notice a big improvement just by stepping up to an APS sensor such as the one in a Canon Digital Rebel or a Nikon D50.

Keep a plastic ziploc bag in your kit. You never know when Mother Nature will rear her head and hit you with rain or swirling sand. A plastic bag to protect your camera is a godsend. And if you’re shooting outside on a cold night, put your camera in the bag before coming back indoors. That way the condensation will form on the bag as everything warms up, not the camera itself.

And finally, take lots of pictures and don’t forget to archive them. The joy of digital photography is the freedom to shoot, shoot, shoot. But also get yourself an extra FireWire drive, and backup, backup, backup.

More tips to come…

Francois Joseph de Kermadec

AddThis Social Bookmark Button

The Mac OS X Terminal goes to great lengths to allow its users to easily enter paths to folders and files: by simply dropping the icon of the file onto the Terminal’s window, the application will automatically complete its path, all in its escaped form, ready to be used. This classical trick without doubt makes Command Line fans scream in horror but we GUI people find it pretty handy.

Where Terminal isn’t helping, I thought, is when it comes to pasting the aforementioned paths — such as when you’re reading an article on this very MacDevCenter and want to try something out. The Mac has always worked with weird folder names, containing special characters and spaces: they’re a joy to see in the Finder but a pain to use in a pure UNIX environment. This is where the Terminal’s edit menu comes to the rescue. Indeed, since the Panther days, it features a “Paste Escaped Test” item, allowing you, with one swell key combination, to enter any path you desire, no matter as complex, all with\ the\ right\ escape\ characters\ in\ place.

What may seem like a minor addition to the Terminal will without doubt save many headaches to those of us who need to work with complex paths on remote servers or proofread written documentation — which, usually, means copying and pasting all the example sessions line-by-line in the Terminal to ensure they work as advertised.

This feature has been here for a while now but I shamefully confess I hadn’t noticed it until recently and I thought I should share it with my fellow Mac users who, like me, don’t always read the friendly manual.

Chris Adamson

AddThis Social Bookmark Button

I’m not sure if there’s much of a blog here beyond the screenshot, but take a look:

image

As you can see, all of my contacts in the O’Reilly group have either voice or video capability. Thanks to built-in mics, cheap webcams and iSights, etc., we’ve gone from multimedia chat as the special case to multimedia chat as the norm.

One other thing you might notice: four of the six contacts have the “multiple” icon, meaning they’re on Macs running Tiger. I knew that lots of O’Reilly people were Mac fans, but wow…

Are most of your buddies voice/video enabled?

Hadley Stern

AddThis Social Bookmark Button

At first I thought I was dreaming. Site traffic to Apple Matters as indicated by page loads was growing exponentially. I’ve gone through these spurts before so I wasn’t entirely surprised. Still, this was consistent, big number growth in traffic.

Then I wondered, which pages are they visiting? Which stories are getting the most traffic? And this was when I was humbled. Turns out that growing traffic was largely due to my RSS feed. In fact, about 70 percent of the page loads for Apple Matters are to my RSS and Atom files.

At first I was despondent. I mean, all that pleasure coming from increased traffic was for naught, right? Well, yes and no. At least people were engaged enough with the site to add it to their newsreader of choice. However, RSS feeds are a black hole of traffic, which is why companies like Feedburner exist, and I presume, are doing well. I have no idea how many of those hundreds of thousands of RSS page loads are actually being just loaded, vs. scanned, consumed, and ultimately linking to an actual story on the site.

Another reason I was disappointed by RSS sucking up so many page impressions was that it meant I wasn’t making as much on advertising. Ok, ok, I said it. The A word. Advertising. Well I’m unapologetic. While Apple Matters is far from a huge moneymaker and I have bills to pay. Hosting, my writers (yes they are paid, albeit nominally), my developer, and other expenses. Oh, and then there is this strange notion of making money to pay for food, clothing for my kids, etc (although Apple Matters is not my main source of income).

Each time a user loads one of my pages I am compensated, albeit quite a tiny amount. Let’s say, for example, that an average advertiser pays me $5 per 1000 page impressions. Each time you load a page on Apple Matters I’m getting .005 cents. Wow.

Consider it a form of micro payment that the readers seemingly are unwilling to pay. Either that, or no one has figured out the business model of micro payments adequately enough (actually, someone has, but it has not taken off yet).

To put it another way without advertisers a lot of great content on the web wouldn’t exist. I am always amazed at how people proudly proclaim that they have blocked ads. Currently it doesn’t have an effect on site’s revenue because an impression is measured by a call to the ad server, regardless of whether the ad loads or not. However, partly because of the prevalence of ad blocking, technology is being developed to count an ad impression only when it is seen on the page, unblocked.

We live in a society, for better or worse, that requires us to make money for the work we do. How would you like it if someone came to your job and said, you know what, I’m just not going to pay you for what you do.

You wouldn’t.

Which leads us to the wonderful world of RSS advertising. Each innovation on the web appears with an altruistic sunnyness. Indeed, in the very beginning of the web commercial hyperlinking was strongly frowned upon by the geeks that knew the infrastructure. No one could have imagined a commercialized web with Amazon, eBay, let alone all the porn sites out there. But eventually they had to capitulate. And now we have ecommerce. Yes, a substantial part of the web still runs on passion alone, and many places are a combination of passion and commerce (like Apple Matters). But the notion of the web as a commercial-free zone was forever put to rest with the Netscape IPO.

But those idealistic folks still exist. And their latest fury is directed at RSS advertising. At the same time that I saw that I was losing all this traffic to my RSS feeds I also heard rumblings of GoogleAds in RSS feeds. I have Google Ads on my site, and because they are cost per click (CPC) they don’t provide the kind of revenue a cost per impression (CPM) ad can provide. But still it is income. However, at the same time as the innovation of RSS advertising was being explored some were already imploring that RSS was no place for commerce.

Like the original folks of weblore these people argue that RSS is pure content. It must be untainted by the stain of commerce.

Yes an RSS feed is very similar to a webpage, a television, a magazine, or a highway. It is a place where our eyes spend time. And therefore a place where advertising makes sense. Like advertising on a webpage, advertising in an RSS feed is extremely targeted and, increasingly, measurable.

With each passing day various companies are figuring out the server infrastructure and measurement challenges to providing ads in RSS feeds. I haven’t jumped on the bandwagon yet. But I’m happy to know that soon, 70 percent of my page loads can be monetized in some way. And I can continue to pay the bills.

Is RSS advertising a good thing, a necessary evil, or just inevitable?

Francois Joseph de Kermadec

AddThis Social Bookmark Button

Chat has to be one of the weirdest things on the Internet: we rely on it daily, for work, leisure and more and yet, there is very little interoperability between chat systems, most of which are commercial and proprietary. We try to send images, movies and play games over the Internet (well, I never play games but I read some people do) by using protocols so archaic and inefficient they make Windows 95 look like a youngster. We rely on the goodwill of one central server, or a small pool of machines, to relay all our messages, therefore defeating the purpose of the Internet — i.e. being scalable, extensible and able to work around issues.

So, why do we rely on chat? Because it’s convenient, interactive and still allows to think, keep track of our conversations with others and conduct business meetings while wearing nothing but boxer shorts. It is only natural then that we try to compensate for the deficiencies of the protocols we rely on by using pumped-up clients that will try, through an endless succession of tricks, to make chat bearable for us.

You want encryption? Clean chat windows? Tabbed chatting? Great history management? A multi-protocol application? An open-source client that seems to be actually used by its authors? Interface notifications that aren’t a pain to see? An extensible architecture? Use Adium, one of the many open-source chat clients for Mac OS X. Now, you want paramount chat reliability (OK, that is an oxymoron but I’m trying to convince myself)? Use the official AOL client but it will come with ads at every corner, fuzzy sounds, a clunky interface, complex preferences, a tendency to scatter files all over the place, no compatibility whatsoever with any feature other than text chat and a slew of weird bleeping and pulsating indicators that I can’t make sense of after 3 years of using the application. Are you more into Aqua elegance and cool features? Then, iChat is for you with audio chat, video conference, nice bubbles, file transfers, buddy icons, status messages, decent smileys and a polished sound set.

I have only 3 mentioned AIM-capable applications here and there many, many others, all with their pros and cons, as well as there are many, many other protocols. The problem is none of these applications sticks to doing one thing well. iChat is a superb audio and video messaging client but its networking and text capabilities are somehow experimental at times. The AOL client is the only one capable of managing a buddy list reliably (iChat coming as a close second) but it is absolutely unusable to chat and Adium is the perfect text client, even though it has a tendency to damage buddy lists and doesn’t do anything other than text.

I’m sure there is a way out. Open source protocols gaining ground makes me hope we will, one day, see a great, interoperable chat client. Apple or the Adium team certainly have gone to great lengths to make the best clients they can within the restrictions set by AIM. Imagine what it would be if these were out of the way!

Derrick Story

AddThis Social Bookmark Button

I just finished setting up my iChat 3.0.1 client for Google Talk. Mac folks don’t have the Google client available, but Tiger users can take advantage of the Jabber capability in iChat3 to log into the Google server. We can also use Adium, GAIM, and Psi.

I’m sure you’ve read plenty about Google Desktop, but you won’t be able to experience it unless you’re running Windows XP or Windows 2000 SP 3+. Of course Tiger provides you with much of that same muscle. So maybe it isn’t a big deal.

If you go to the Google Earth download page, you’ll discover that “Apple Macintosh computers are not supported at this time (but we are working on it).” Yeah, OK thanks for that. Want to give Picasa a spin? Oops, it’s a .exe download. Sorry.

The feeling I get isn’t that Google is anti-Mac, they just don’t seem to care that much. My Gmail account works fine in Safari, and I think that Google Talk will be serviceable with iChat. But that seems about it for now.

The odd thing is, in the beginning I felt a kinship with Google. They were the alternative who thought outside of the box. For some weird reason, I always thought that Google would be Mac friendly. In a way, I guess they are… sort of.

Todd Ogasawara

AddThis Social Bookmark Button

A number of security conscious work sites ban entry camera phones and mobile devices with wireless data features (including WiFi, Bluetooth, and Infrared).
MSDN blogger Jason Landridge mentions a product from Credant that might be able to help end the need for such severe policies banning devices many of us consider critical to our day-to-day work (and play).
Jason describes Credant’s product as:
One of our Partners Credant has a solution called Mobile Guardian which provides the ability to control cameras, disable bluetooth and infra-red as well as provide encryption and policy management. This is a really secure/controlled way of ensuring that the features you don’t want people to have access to are disabled whilst still retaining the flexibility the device platform offers.

Would this kind of product help you get your mobile device back into your office/workplace?

Francois Joseph de Kermadec

AddThis Social Bookmark Button

Those of use who routinely use SSH know how sheerly infuriating it is when the agent asks you if you want to trust a host key and will you please enter “yes” or “no” (not “y” or “n”, mind you) to confirm your choice. Yet, none of us would like to change that because, in the end, it is for our good.

SSH knows it’s annoying. It know it forces us to go out of our ways, think about a word and type it on our keyboard to interact with the program. But, by doing so, it also knows that it forces us to have a meaningful interaction with our machine: even the less experienced of users will realize, by doing so, that he provides an answer to a specific question.

The question SSH asks is relatively cryptic (Do you want to trust a specific host key?) but dismissing it without thought is impossible. Modern dialogs, on any interface, come with a default “OK” button that one can systematically trigger by pressing return or enter on our keyboards. It’s easy, tempting and a seemingly quick solution.

But maybe it is too simple? After all, in many cases, security revolves around a couple dialogs that all sport the same shiny, pulsating/underlined/colored “OK” button that we all want to click on to just regain control of our machines. Look at the extents to which Apple has gone when you enable FileVault on a Mac: there are two dialogs, both magnificently breaking the Aqua guidelines by piling up colored text, bold lines, buttons and warnings in just about every direction. Why? Because these are required to shock users and get them to think.

Maybe a simply text field, along with the instruction “Please type Yes or No in the box below to confirm or cancel your choice” would do wonders. It certainly would be “new” enough for users to think and feel like they’re about to make a big decision but it would keep dialogs clean and to the point.

I’ve always wondered how the community felt on this topic. Am I the only one thinking text dialogs have their advantages?

Erica Sadun

AddThis Social Bookmark Button

Ben’s Bargains reports that Shop4Tech.com is offering the DVICO Fusion HDTV 5 for $139 with free shipping after applying code FT10 for 10% off.
Over at the Defyne forums (site of the iTele development), poster FyNight reports “The linux-dvb people beat me to it this time; they already have a Fusion HDTV 5 driver (or beta version of it at any rate). ” Unfortunately, we still have to wait for the Mac drivers.

Giles Turnbull

AddThis Social Bookmark Button

Some of you might remember my article about Tweaking Apple Mail from earlier this year. In it, I raved about Mail Act-On, Scott Morrison’s Mail plugin that lets you add all sorts of smart keyboard shortcuts based on custom rules.

Well, since then Scott’s been working on a follow-up, which he officially released today. It’s called MailTags and it offers something a bit different. When invoked, MailTags lets you add comments (or Flickr-style tags, if you wish), due dates, and flag markers to individual messages in Mail. You can also create Projects and assign messages to them.

Needless to say, all of this additional data is searchable in Mail and Spotlight, but better still it works perfectly with Act-On and with Mail’s own rules functions. You can combine MailTags data with Act-On rules and Smart Folders to create powerful automated workflow assistants.

As a result you can really turn Mail into a clever email management machine, incorporating some of the sorting and management tools that have until now only been seen in big-name apps like Microsoft Entourage.

MailTags stores data inside mail message files. (A future version may use a separate database too.) This means you need to have local message files for MailTags to use, but Scott says that even IMAP users should be able to use the plugin, as long as their email message headers are stored on the local machine.

I’ve had a play with MailTags during the beta stage and I think it’s going to be a very popular tool. Like Act-On, it’s donationware; I’d say it was well worth sending a few dollars in Scott’s direction if you like what you see.

Had a play? What do you think?

Todd Ogasawara

AddThis Social Bookmark Button

image
The Sony Playstation Portable 2.0 firmware upgrade was supposed to be available on Aug. 12. Then, it slipped to the 15th. It took a while (Aug. 23), but from my quick look, the wait was worth it.
The firmware upgrade information page lists all the new features (see link below).
The main one, for me, was the addition of an official web browser.
The browser works better than I expected from a user-input point of view.
And, the analog joystick, makes navigation on a page reasonably easy.
There’s already a couple of sites with page formats specifically designed for the PSP.
If Sony produces a USB keyboard and desk stand (to prop it up), we may finally have the web tablet for the home that has talked about for so long.

Did you upgrade your Sony PSP to 2.0 yet? Built a web site for it yet? Let us know.

Francois Joseph de Kermadec

AddThis Social Bookmark Button

For those of you who were too busy petting their Meerkats to look at their RSS aggregators yesterday — OK, it’s really an O’Reilly insider joke here —, let me say that our editor, Derrick Story, published a blog on Safari and his personal experiences with the application.

This got me thinking about our beloved browser, currently battling in my Dock for its status of default browser — a status I change more often than socks, for testing purposes and just the kicks I get from using pop-up menus.

It turns out there is one feature out there I would really, really love to see added and its notable absence from all browsers out there is something I can’t really understand. Those of us who routinely develop web sites and applications know how important it is to clear (1) caches, (2) cookies, (3) favicons and (4) history between every test lest we want to run into inexplicable behavior — and this with every browser.

The problem is that there is no way to do that that does not involve a clicking and dialog-dismissing extravaganza. Fun, fun… We have a reset Safari menu but it also clears Keychain auto-fills and that is a sanity-threatening proposition — ever worked on beta sites with 2 layers of (purely useless because non-encrypted) password protection? Using private browsing might be a workaround but it does not provide the same level of confidence-inducing foamy scrubbing I need to perform about 50 times a day.

So, what is a poor little FJ to do? Whip up AppleScript, that is! Thanks to the magic of “do shell script” commands and “rm” handlers, I now have a “Reset Safari” option that just fits my needs.

I have never loved my Scripts menu as much! If the people in Cupertino who came up with the idea could send me their address, I would gladly express a box of French cookies to them! (Oh, the same applies to the WebKit and Safari teams, by the way, who are doing a superb work with the browser, even if the very little specific feature I have in mind is not available.)

Update: I have added, as requested, the script below. Please consider it uses “rm” commands and is only in alpha stage — it works on my little machine but I did not test on a larger scale. All disclaimers apply: use at your own risk and, please, backup your data! As they say, it comes with no warranty whatsoever, expressed or implied.

try
    tell application "Finder"
        -- Let's get the name of the current user
        set myUserName to (do shell script "whoami")
        -- Is Safari running?
        set safariIsRunning to false
        if (do shell script "ps -U " & myUserName) contains "Safari.app/Contents/MacOS/Safari" then set safariIsRunning to true
        -- Let's quit Safari or the cleaning will not take effect
        if safariIsRunning then tell application "Safari" to quit
        -- Let's delete the application's cookies
        try
            set deleteCookies to 1
            do shell script "rm -r /Users/" & myUserName & "/Library/Cookies/"
        on error
            set deleteCookies to 0
        end try
        -- Let's delete the application's caches
        try
            set deleteCaches to 1
            do shell script "rm -r /Users/" & myUserName & "/Library/Caches/Safari/"
        on error
            set deleteCaches to 0
        end try
        -- Let's delete the application's icons
        try
            set deleteIcons to 1
            do shell script "rm -r /Users/" & myUserName & "/Library/Safari/Icons/"
        on error
            set deleteIcons to 0
        end try
        -- Let's delete the application's history
        try
            set deleteHistory to 1
            do shell script "rm -r /Users/" & myUserName & "/Library/Safari/History.plist"
        on error
            set deleteHistory to 0
        end try
        -- Let's delete the application's downloads folder
        try
            set deleteDownloads to 1
            do shell script "rm -r /Users/" & myUserName & "/Library/Safari/Downloads.plist"
        on error
            set deleteDownloads to 0
        end try
        -- Let's reopen Safari if it was running when the script was called
        -- Note: this does not always work! Eeek!
        if safariIsRunning then tell application "Safari" to activate
        -- Let's conclude by letting the user know everything is OK
    end tell
    if safariIsRunning then
        tell application "Safari" to display alert "Safari has now been cleaned up." message "You can now resume using the application." as informational buttons "OK" default button 1 giving up after 2
    else
        tell application "Finder" to display alert "Safari has now been cleaned up." message "Changes have already taken effect and will be retained the next time you launch the application." as informational buttons "OK" default button 1
    end if
on error TheError
    tell application "Finder" to display alert "Safari could not be cleaned because of a script error." message "Below is the error returned by Apple Script, which may assist you in troubleshooting this issue:" & return & return & TheError buttons "OK" default button 1 as warning
end try

What are your AppleScript-based sanity-saving tips?

Derrick Story

AddThis Social Bookmark Button

I’ve noticed little things in the Safari browser (v 2.0) lately that are worrying me.

For instance, when I misspell a word, then CTRL-click on it, I’m not offered a correction for the misspelling. Since I do a lot of typing in web forms, such as this weblog, that’s a drag. Just to make sure I wasn’t crazy, I tested this function on a machine that has Safari 1.2.4 running on Panther, and it worked just like I remembered. I was offered a correction for the misspelled word.

As a side note, I recommend keeping a machine in the fold running previous versions of the OS and major apps. I realize it’s a luxury, but I can’t tell you how many times this has saved my sanity.

Back to Safari 2.0 — is it me, or am I seeing the spinning beach ball more than ever? There are days when the browser just doesn’t want to perform. We all need our Jolt I suppose, but where do I add it for this software? Things really seem to slow down when I have Automator open (which I just adore!). Could be coincidence, I guess.

I realize I’m demanding of my hardware and software. And overall, Safari is my browser of choice (with Firefox close behind). But things just don’t seem right these days. And I’m wondering, is it Safari 2.0, Tiger, the Internet itself… or me?

PS: If it’s me, please be kind…

Francois Joseph de Kermadec

AddThis Social Bookmark Button

Whenever I set up a computer for a new Mac user, I am often requested to enable something to help them troubleshoot issues from far away. The problem, of course, is what this “something” could be. Indeed, I am always reluctant to enable VNC or ARD access onto a computer that I know may not be always kept up-to-date or plugged into firewalled networks. There is nothing wrong with VNC or ARD, really, and both can be used in a secure fashion but they do tend to require more work than a purely built-in Mac OS X component such as SSH, that will automatically get updated along with other parts of the operating system — you do use Software Update, don’t you?

The main problem of course is that SSH clients are not overly user-friendly for the most part — in a GUI world, that is of course. Almost while brushing my teeth (as this seems to be the proverbial time when ideas should strike) yesterday, I remembered good old SFTP.

After all, most FTP clients have made great efforts to be very user-friendly as of late. An application like Transmit or its open-source counterparts can be understood even by beginners in a matter of minutes. SFTP has nothing to do with FTP, of course (it is disguised SSH) but, as many users equate STFP with “Secure FTP” literally speaking, most FTP clients now include SFTP support.

Putting 1 + A, I immediately came to conclusion 2B: i.e. Transmit could be used as a GUI on top of SSH. Simply turn on remote login on a Mac, through the Sharing preferences pane, and point your Transmit at it to enjoy secure, GUI-powered remote access to a computer. Since an application like Transmit (and, again, many other clients) enjoy integration with text editors, permissions changing support, and more, most administrative tasks can be performed in a breeze.

Sure, you don’t get the full GUI you would with VNC or ARD but, with the extra security this solution brings, and the relative absence of configuration it requires, this is a little trade-off for most.

PS: Of course, punching a hole in a firewall, even on port 22, even if only the latest SSH protocol is listening (which requires command-line tweaking on the Mac you are configuring), even if the world were a happy place, is still punching a hole in your firewall and makes the computer vulnerable to attacks, including good old brute-force password cracking methods. Use with caution and seek medical assistance should irritation or redness occur.

Derrick Story

AddThis Social Bookmark Button

Last week, after touting the virtues of Tiger’s Burn folders, I asked the question: “Do we still need Toast?” On Friday, Roxio responded with Toast 7. Apparently they’re not quite ready to fold up their jewel cases and go home.

This is a major upgrade to Toast Titanium. Not only have they improved their existing workflow for creating discs, they’ve added goodies such as an iLife browser, H.264 compression, a Dashboard widget for audio recording, DivX to DVD burning, DVD copying, and tons more.

Toast 7 debuts at the end of the month. It’s going to cost you though… $99 for the box, with a $20 rebate for existing users (gawd I hate rebates).

So now the question isn’t so much, “do we need Toast?”, rather, “are the new features worth spending $99 for?” (and hoping that the rebate actually comes). I have to say, Roxio has made a compelling argument for “yes.”

Francois Joseph de Kermadec

AddThis Social Bookmark Button

A few days ago, I remembered I needed to cancel an Audible account that I had opened a little while ago for testing purposes. Indeed, since I routinely purchase Audible books on the iTunes Music Store, I did not want to keep an account at their main site — even though both entry points to their catalog have distinct and real advantages.

When dealing with a serious company such as Audible, asking for an account cancellation is no trouble: shoot them a mail and wait for the reply to come back within the next business day. Helpful, courteous, efficient, I only have positive comments about the people I have dealt with — OK, maybe their outsourced support site is a bit of a mess but that is another story and certainly no showstopper, provided they keep it in check.

The one thing I don’t really understand is why their corporate guidelines ask their people to sign “We wish you many hours of great listening” — or something closely along these lines. That’s OK if I’m writing about opening an account but why tell me that as I cancel one? Maybe something else would have made more sense such as “We would be delighted to serve you again in the future.” — or something equally general, silly and soothing.

Most, if not all of the companies I deal with, offer excellent support, hire real people speaking real English (or French or German) and who more or less all know the ins and outs of the product they are supporting. While I’m glad to report that none of these companies has dramatically changed their support staff over the past year, an increasing number has started using similar taglines. My host asks me to “let them know if I need any more help or support”, a software developer constantly asks me how they can “Work with me towards the full resolution of my issue” and my airline always “thanks me and wishes me a great day on behalf of [insert name], a founding member of the so and so alliance”. Eeek!

I don’t know why marketing departments feel obliged to implement such procedures. Do they feel threatened by their own employees? Do they feel they train them so little they need to script them to death? In my experience, so far, none of these measures were justified and the people who were writing the messages certainly had the brains to come up with the appropriate signature, all by themselves…

Another question for E-mail marketing books, I guess…

Francois Joseph de Kermadec

AddThis Social Bookmark Button

It is no secret for anyone remotely surrounding me, I am a big Bare Bones fan. BBEdit is the application I run most and Mailsmith is one of my 4 e-mail clients. Technical support at Bare Bones has never let me down and, overall, I have no real gripe about any of their software. (By the way, they didn’t send me a free serial number for anything either so don’t worry about the little rave review.)

If there is one thing I wouldn’t call Bare Bones applications, it is «fun». BBEdit may be genius but it is not something you would launch when you’re bored, just to put a smile on your face. Or is it? I recently, out of sheer boredom, scanned the credits of BBEdit and found

this little gem

hidden within.

I’m sure most long-time BBEdit power users will know it by heart (I’m slow at seeing this kind of things) but if it can put a smile on the faces of your coworkers on a gloomy Monday morning, I thought it was worth sharing.

Any application theme song you especially like?

Francois Joseph de Kermadec

AddThis Social Bookmark Button

When the Mac OS X Dock came out, it was regarded by many in the community as a strange beast. Many users, fearing it, tried to kill it by using various means (from hidden preferences to forced rm commands). Luckily for its life, the Dock quickly showed what it was truly capable of: part launcher, part status bar, part shortcut manager, the Dock is as weird as it is pure genius. It was very different, yes, but it quickly showed how shortcuts like the good old System 7 Launcher were a thing of the past and how adaptive interfaces were bound to reign in the new Mac world.

Then, developers, for various reasons, were told that the Dock was, after all, not all it was set to be. There were new, improved error dialogs for most messages, bezel interfaces for unobtrusive communication, redesigned menu- bar items for quick access. What about animated, meaningful in-Dock icons — such as the Mail.app one? By moving the battery indicator from its original Dock location to a menu item, Apple also indicated animated icons were to be used carefully, if at all.

The result is that our beloved Dock is, more than ever, close to the System 7 Launcher, only cuter-looking — despite holding an increasing amount of tricks under its sleeve, which should have the person (persons?) in charge of the Dock in Cupertino given some kind of award.

Am I blaming Apple for changing the orientation of the Dock? Absolutely not, it would be silly. Am I criticizing developers for not making use of all the Dock features? Neither — developers, after all, have to follow the trends of the platform.

Looking at my Mac right now, I have about 6 obvious shortcut locations:

  1. The Dock
  2. The Finder’s sidebar
  3. The Finder’s buttons bar
  4. My “Recent Applications/Documents/Servers” menu items
  5. The various menu bar extras installed by applications and services
  6. The Spotlight menu, to some extent

Now, is that specific to the Mac? Windows has the task bar, system trays, shortcuts galore on the desktop and in the explorers as well, not to mention the Start menu. Most popular Linux and UNIX desktops mimmic that behavior — although, there, it is generally possible to turn some of them off while Windows has a tendency to force them on you.

It appears that the number of shortcuts we use is dangerously nearing the number of actual files or functions on our computers. And I’m only talking about shortcuts to find files and folders here, not shortcuts such as keyboard commands, macro systems and other time-saving features.

To me, this seems to indicate that interfaces have become a tad too complex — even the iPod interface has shortcuts now! — as devices have evolved. To some degree, of course, the new capabilities of our operating systems need to be reflected in the interface — or there would be no way to introduce the new features. Unfortunately, by piling up alternative means to access what is in place, we are re-creating a second interface, with different rules than the first — one-click instead of double-clicks, poofs instead of using the Trash…

Isn’t that, to some extent, a recipe for disaster, down the road? I honestly don’t know but I fear that, by trying to make something useful right in the second, we end up preventing a logical learning path that would be more beneficial in gaining understanding of how a device actually works and is organized. (As an example, think how many users discovering Windows cannot find an application once the Desktop shortcut has been removed and rush to install it again.)

What are your feelings about this sanity-threatening question?

Francois Joseph de Kermadec

AddThis Social Bookmark Button

Related link: https://CaminoBrowser.org

When Mac OS X came out, it introduced a new foundation, a new interface and a new architecture. Developers, who were only discovering the system, were instructed by Apple to carefully read the new guidelines for files creation and placement, lest they wanted their applications to have horrendous seizures with every upgrades.

For a while, it seems that these guidelines were — more or less, of course — closely followed and not even an extensive library of software would turn one’s aptly named Library folder into a file soup. Sure, some folders, like the Preferences or Caches ones were among the busiest but, thanks to strict naming schemes, things were kept in check even in these potentially hard-to-manage spaces.

With time, though, it looks like these good resolutions have started dissolving, much like they had at the end of the Mac OS 9 days, where every application had taken the habit to place files where it wanted. Now, I shamefully confess that I didn’t think about it until I installed the latest nightly build of the excellent Camino and started looking at the release notes.

Camino, you see, stores its files and preferences in “~/Library/Application Support/Camino”. “Where else?”, I hear you say… Well, it suddenly occurred to me that Safari had its own little directory within the Library folder. Actually, make that three:

  1. The “Cookies” folder, shared with other WebKit-using applications from what I gather
  2. The “Safari” folder
  3. Its own directory in the “Caches” folder

How is that a big deal? Well, let’s start imagining, just for one second that every application does the same. We would immediately end up with dozens of special directories in our Libraries, accompanied by dozens of files in the Apple-specified folders.

The irony of the matter, of course, is that Camino, that prompted this reflection, isn’t doing things perfectly either. Indeed, it stores preferences within the “Application Support” folder while they should, clearly, be within “Preferences”.

Safari gets the preferences thing right but fails by placing bookmarks and other support elements within the “Application Support” folder.

Don’t get me wrong, I am definitely not criticizing the Safari or the Camino team — or the Apple guidelines for that matter. All these applications surely have very good reasons to place files where they do and, in many cases, moving them around would probably require more time and effort that one could justify. Nevertheless, I cannot help but wish that applications could, much like in the early Mac OS X days, go back to a more organized file placement system. By keeping the “system stuff” clear and organized, developers can help users find their way around their computers more easily, and, therefore, learn more quickly how their Mac works.

Do I really have just too much time on my hands?

Derrick Story

AddThis Social Bookmark Button

I don’t know why I’ve resisted getting an auto adapter for my iPods. It’s not that I enjoy running out of music on the road any more than running out of gas. I’d peruse various options every time I visited my local Apple Store, but never took the plunge.

Now I’m glad I waited. The PowerJolt is available for $25, and it works with both my shuffle and the iPod photo. It’s simple. One end goes in the cigarette lighter, the other is a USB port. If you’re shuffling, just stick the device in the USB port and you’re rolling. You will be tired of your songs long before you run out of juice.

Regular iPods can use the supplied cord that’s USB on one end and a dock connector on the other. Not quite as convenient as the shuffle attachment because you still have to find somewhere to place the iPod so your best friend doesn’t sit on it. But it does get the job done. And it’s convenient having one charger for all of your modern iPods.

The PowerJolt excels for the shuffle, however. I leave the charger in my cigarette lighter, then insert the shuffle when I get in the car. I use a cassette adapter for the audio, so I take the dangling cord and plug it into the headphone port. The whole process takes about 15 seconds, and my shuffle is mounted to the dash and safely out of the way.

One thing to keep in mind… the PowerJolt sticks out from the lighter port about 2″, then you have to add the length of the shuffle itself. Fortunately, it doesn’t interfere with my stick shift, but in some cars this could be an issue. So you might want to do a little measuring before shelling out 25 clams.

Derrick Story

AddThis Social Bookmark Button

The one thing the LifeDrive lacks is the ability to send SMS messages, or connect to the Internet when there are no WiFi hotspots available. Fortunately, its Bluetooth capabilities make it the perfect companion for a BT phone, and vice-versa.

I carry a Sony Ericsson T637 handset in my pocket. When I want it to communicate with the LifeDrive, I turn on its Bluetooth networking. They’ve already been paired, so everything is pretty seamless from this point forward.

I particularly like sending text messages using the LifeDrive’s SMS application. I can search my address book for the appropriate mobile number and don’t even have to type it in. Just click on the name and the number is added to the send list. Once I compose my message using the stylus and Graffiti, which is far easier and faster for me than pecking it out on my phone’s numeric pad, I hit the send button and the LifeDrive uses the phone’s network to deliver my note. Very easy.

Speaking of input, it’s sure easier to enter a new contact record on the LifeDrive, then send it via Bluetooth to my phone. After I complete the record on the LifeDrive, I choose “Send Contact” from the Options menu, and select “Bluetooth.” The LifeDrive shows me all my paired BT devices, and I can check the boxes of those I want to send the data to.

One last handy trick. If I take a cool shot with my digital camera (with SD memory), and I want to send it via SMS or store it in my phone to show to others, the LifeDrive can help with that too. I first resize the image in my camera to 320 x 240 to reduce its file size and resolution, then I take the memory card out of the camera and put it in the LifeDrive.

This causes the Media application to launch. I choose “View pictures without copying to the LifeDrive.” I then select the image I want, choose “Send” from the Options menu, and select “Bluetooth.” The LifeDrive sends the sampled down photo to my phone’s picture album. And because I took the shot with a digital camera instead of the camera phone, the quality is much higher.

In my opinion, Bluetooth is only as good as the devices you have to communicate with. The SE T637 makes a great companion to the LifeDrive.

For more LifeDrive tips, be sure to visit Edd Dumbill’s weblog, LifeDrive survival tips. Edd and I worked together at O’Reilly for years, and he shares the same passion for mobile devices that I do. Edd has some nice tips for Linux users who are toting a LD.

The LifeDrive Chronicles
Ch 1 - Internet Radio
Ch 2 - Gmail Instead of POP
Ch 3 - A Versatile Photog’s Assistant
Ch 4 - The Perfect BT Phone Companion
Ch 5 - Audio Shuttle and Player

Todd Ogasawara

AddThis Social Bookmark Button

I just responded to a comment about a Pocket PC database app and ended by recommending the person go to a Windows Mobile community help site for more detailed assistance.
Then, I realized I should probably post a list of Windows Mobile community sites I know about.
But, then it occured to me that I do not know much about tech help community sites for other kinds of devices.
So, I’m reaching out to get recommendations for mobile devices tech help community web sites.


What web-sites do you recommend for getting mobile devices help?
Some of the platforms and device types that probably interest most people include:


  • Palm OS based devices
  • Microsoft Windows Mobile (Windows CE) based devices (Pocket PC and Smartphone)
  • Symbian based devices (including Nokia Series 60)
  • Digital cameras
  • MP3 and Digital Video players

Chime in and I’ll build us a reference list.

Let us know what mobile device community sites you recommend for getting technical help.

Neil Lee

AddThis Social Bookmark Button

As usual, the mac media is all over a recently published Consumer Reports article that reports the already well-known chestnut that “Macs are safer than Windows PCs”:

On Windows PCs:

In a nationally representative survey of more than 3,200 households with at-home Internet access, one-third said a virus or spyware caused serious problems with their computer systems and/or financial losses within the past two years.

Half the respondents reported a spyware infection in the past six months. Of those, 18 percent said the infection was so bad they had to erase their hard drives. To avoid spyware, 51 percent of all online users reported being more careful visiting Web sites, and 38 percent said they download free programs less frequently.

The incredible vulnerability of Windows is no longer news (which is sad in itself). What’s interesting is when the report mentions Macs:

“Macs are safer than Windows PCs for some online hazards. Only 20 percent of Mac owners surveyed reported detecting a virus in the past two years, compared with 66 percent of Windows PC owners. Just 8 percent of Mac users reported a spyware infection in the last six months vs. 54 percent of Windows PC users.” (emphasis mine)

This report is still very positive for Macs, but the numbers quoted are very surprising.

First of all, how many Mac users were actually surveyed? 20% reporting “viruses in the past two years” seems very, very high. That’s one in every five Mac users - a staggering number of infections, if accurate. The significance of the number changes, however, if there was only 100 mac users surveyed (and potentially an inaccurate sampling).

I’d also be curious what Consumer Reports considers as “detecting a virus” - does this mean that the user actually had an infected system, or that their virus software only found a virus (say, in an attachment in an email)?

The 8% reporting spyware is even more surprising. The Mac community is extremely vocal, and I can’t remember a single time that I’ve read on any of the sites I frequent (such as Macintouch, Macfixit, Macworld, and many others - I have no life) reporting spyware infections.

Just because it hasn’t been reported online, though, doesn’t mean that it hasn’t happened. Still, I’ve yet to see evidence (anecdotal or empirical) that there are spyware out there that actually run on Macs.

In general, this report is still good news for Macs and for Mac owners, but I think getting the numbers right is critical. The fact that Macs are, for the most part, easier to use and much safer than Windows PCs is a key selling point and it’s worth getting the message out as accurately as possible.

I’d love to see a definitive survey done with a huge sample of users (numbering in the hundreds of thousands, if that’s realistic) that gets down with irrefutable numbers how safe Macs and Windows PCs really are. With our governments, financial industries, and the infrastructure that keeps the important bits (pardon the pun) of our lives running relying on computers more and more, information like this isn’t just helpful consumer advice any more; it’s part of the common good.

Have you ever been infected with spyware or a virus on Mac OS X? If so, please post in the comments the circumstances and how you fixed the issue.

Giles Turnbull

AddThis Social Bookmark Button

Dear Stuart

When you said you were thinking about getting a Mac, I was delighted that you were even considering the idea.

Thing is, I know how easy it is for me to sound like some mad ranting fist-waving Mac evangelist, and I don’t want to do that at all.

But I do think you should buy a Mac. Here’s why.

You told me that what you need is a writing, browsing and emailing machine. Which means you don’t need anything terribly fancy or expensive.

But this machine will be the center of your business. It needs to be lightweight, as your work tends to involve a lot of travel, and it needs to be very reliable. You do a lot of presentations in front of influential people; you need something that won’t crash on you part-way through.

So you could get a low-cost Windows laptop, a copy of MS Office, and you’d be pretty well set up.

But you’ll have no technical support department to help you any more. When your Windows machine gets overwhelmed with spyware and malware and viruses and worms and all the other gunk that inevitably arrives — and I know it will, I have seen dozens of Windows machines in my local area with these symptoms — you will have to sort it out. Or call me, and ask me to sort it out. Which I shall try and do, because you’re my brother and I’d do anything to help you out, but I won’t enjoy it.

If you choose a Mac (I’d suggest an iBook would suit you fine), you are less likely to need support services.

Note I use the term less likely. There’s a reason for that. My iBook has served me well for three years, never breaking nor needing any serious maintenance. It has not been infected with anything dangerous, and I can’t remember the last time it had a kernel panic (the Maciverse term for a Really Bad Crash).

But I know some other people, friends of mine, whose iBooks have caused them trouble. Usually, it’s hardware-related. A motherboard that needs replacing, or some other internal component that fails. If you’ve paid for the Applecare insurance service, you should be OK - repairs will be free, and in some circumstances you’ll get a replacement machine free of charge too.

My point is: sometimes Macs break, and I think it’s important to make that clear before you go and buy one. I’m not the kind of raving Mac fan who will try to brush over, or avoid this. Macs can break. They can be expensive to repair. But I still think you’re better off with one.

Why? Because it’s the software that’s the main attraction of the Mac. The operating system really is impressive when compared to Windows - which is not to say it’s perfect. Just better than Windows, in my opinion. It’s easy to understand and use, and yes, you can learn all the new keyboard commands in a couple of days. I know they feel weird when you’re borrowing my machine, but trust me: you can pick them up, and teach your fingers to use them.

If you have the impression that there are no applications available for Mac OS X, I suggest you take a look around Hyperjeff’s software database, which lists 13,000 free, shareware and paid-for software packages for just about every computing task you can think of. I know the kind of work you do, so I think Office for Mac, iLife, and iWork will cover almost all your needs. You might be interested in some of the other little extra utilities but we can cover that side of things later.

I’ve tried to say this before, to other people, and never seemed to say it in exactly the right way: I think you should use a Mac because it will do what you need, more reliably than a Windows computer will.

I do not think Macs are always better computers, or that they never fail or break (because I know they do), or that they are cheap (they are clearly not).

You will need to pay extra for Applecare, for backup (absolutely essential), and for some applications. But when you add up the benefits, the time you won’t spend fixing things, and the value of all the pre-installed software that comes with the machine, it means you’re getting what I’d call excellent value for money.

Good luck with the new business; and happy computer shopping. I hope you get something you like, Mac or not.

Love, your little brother

Giles

Back me up here, folks

Derrick Story

AddThis Social Bookmark Button

Until Tiger, I appreciated (but loathed the method for) being able to burn CDs and DVDs right in the operating system. The entire process of having to copy every file before burning the disc encouraged me to keep my license of Toast Titanium up to speed.

Even though it was a separate app that costs $$ to keep current, Toast saved me valuable time when preparing CDs and DVDs to deliver to my clients. I’d tell it what files to burn, and it burned them — no fooling around for 10 minutes before laying down the tracks.

But Tiger seems to be changing that, at least for me. I’ve started using the Burn Folder instead of launching Toast. I simply keep one on my Desktop and drag files to it as I work. The Burn Folder creates aliases of the files (so I can keep them where ever I want), and when I click the Burn button (in the upper right hand corner of the window), it goes right to work.

The discs play back equally well on Mac and Windows machines. In fact, I haven’t had any problems with the entire process, and it fits nicely into my workflow.

So the question is, do we still need Toast?

Neil Lee

AddThis Social Bookmark Button

As countless interface designers and usability experts keep pointing out, consistency in your application is a key method of improving user friendliness and overall usability: Establish one way of doing something, and then stick to that throughout your application. This way, your customers get used to how your application works and reacts, usability and productivity goes up, and everyone’s smiling.

One of the key strengths of Apple’s design in the past was the overall attention to consistency and a particular attention to the little details. Mac OS X is still leagues beyond any other operating system available in the design and consistency department, but with every release of Mac OS X teeny gaps have started to appear in Apple’s, er, armor. Okay, that metaphor is rather weak, but I’m still working on my first coffee of the day, so cut me some slack…

Here’s a perfect example, as found in Apple’s Mail:

When I control+click on my Junk mail folder and select “Delete Junk Mail”, I get a dialog asking for confirmation:

Mail Junk

But if I do the same and empty Mail’s trash, I get a sheet instead of a dialog:

Mail trash

According to Apple’s Human Interface Guidelines:

“A sheet is document modal—that is while it is open the user is prevented from doing anything else in the window, or document, until the dialog is dismissed. In contrast, a dialog that is application modal prevents the user from doing anything else within the application.”

In this case, both the sheet and the dialog prevent usage of the application, as the sheet is attached to the main Mail window and not a separate document window. So why the inconsistency?

I totally agree that this is nitpicking, but in my opinion it’s little inconsistencies like this that add up. It’s reasonably easy to nail consistency for the bigger things (like the overall look and feel of an application), but, as the saying goes, god is in the details.

I’d love to find out if this inconsistency is a bug, or if it’s done on purpose, and if so, why.

Giles Turnbull

AddThis Social Bookmark Button

New updates for an app as popular and as widely used as BBEdit are always of interest. This week’s release of version 8.2.3 was notable for something else; it’s a Universal Binary, designed to work on Macs with Intel processors, as well as existing PowerPC machines.

MacDevcenter managed to get in touch with Bare Bones CEO Rich Siegel, and asked him for a little more detail about the process and the thinking behind the release.

How hard it was to port BBEdit to UB?

The initial bring-up was very fast - we had it up and running about 24
hours after the announcement at WWDC. The original statements from Apple
might lead one to believe that non-Cocoa applications would be difficult
to port, but our experience indicates that well-maintained code and
best-practices disciplines do more to facilitate an easy port than the
use (or not) of any particular set of APIs.

What were the challenges?

The only real challenge was to verify the correct operation of many key
subsystems; in an application as rich and mature as BBEdit, that’s no
small job.

Do you have any advice for other developers?

Absolutely. We’ve had more experience in this area than many Mac developers,
having traversed several major shifts: 68K to PowerPC, Object Pascal to C/C++,
Mac OS to Mac OS X, and now PowerPC to Intel.

If you follow Apple’s recommendations for tools usage, API coding practices
(including common-sense things like not using deprecated APIs and not peeking
into private data structures), you’ll have a much better time of it.

The other piece of advice is to always test your application thoroughly after
any significant change in the tool chain or platform targeting.

Can you say yet if - or how - your application design might alter in coming years as a result of this porting experience?

The platform shift per se has not given us any reason to reconsider any
of our previous design decisions, so we expect our products’ designs and
feature sets to continue to evolve to meet our customers needs, as they
always have.

How’s work going on porting your other apps?

We accelerated the release of BBEdit 8 as a Universal Binary because the Mac
developers who are driving this transition, both inside Apple and at third
parties, rely on BBEdit to get their work done, and so they need it right now.
However, we’d like to have all of our applications running natively on Intel
machines when they ship as announced in 2006.

Universal Binaries also run on Newtons, Mac OS 8.6, conduct classes in Fine Art and make excellent coffee. Apparently.

Derrick Story

AddThis Social Bookmark Button

I was thinking this morning about the little things in Mac OS X that make me smile. For example, someone had sent me a link to an interesting photo on a web page that I decided that I wanted to keep. In Safari, I simply CTRL-clicked on the picture and chose “Add image to iPhoto library.” No fuss beyond that. It’s just there next time I go to iPhoto.

Even though it’s not new, I like the iChat alert in Mail.app. As I’m going through my mail, I can see which of my coworkers are online at the moment. Often I choose to IM them to answer a quick question. It’s a handy feature.

The bulk of my SMS messages are actually sent via Address Book. I simply activate the Bluetooth button in AB, then use the “SMS message” option in the dropdown menu for the mobile phone number. Address Book gives me a much faster way to type my note, then sends it through my SE T637 phone.

There are dozens of these gems in Mac OS X. I was wondering if you’d mind sharing your favorites in the talkbacks below.

Todd Ogasawara

AddThis Social Bookmark Button

According to Reuaters(via Yahoo! News), the Cabir virus is spreading through Bluetooth enabled phones at the Helsinki atheletic championships.


Mobile phone virus infects Helsinki championships


The reports says that there is an outbreak of the Cabir virus at Helsinki’s Olympic Stadium.
This is a good reminder that Bluetooth enabled device owners everywhere should turn off Discover mode to help prevent becoming infected or otherwise annoyed by other Bluetooth related distractions.
Cabir targets Nokia’s Series 60 platform.
But, as devices like the Palm Treo 650 and Windows Mobile based Smartphones become more popular, it shouldn’t be too long before those devices become targets too.


You can find a description of Cabir with screenshots of the virus in action at:


F-Secure Virus Descriptions : Cabir

Seen Cabir? Turned off your phone’s Bluetooth discover mode?

Derrick Story

AddThis Social Bookmark Button

The LifeDrive packs a lot of punch as a photo assistant.

One of my favorite features is using the spacious 320×480 Transflective TFT color touchscreen for sharing just-captured photos with friends and family. Just insert card and launch the bundled Media app to view the images full screen. You can display them as a slideshow too, and its much more impressive than on your camera’s tiny 2″ LCD.

But viewing photos is only the beginning. The LifeDrive’s SD card slot plays nicely with the built-in 4 GB hard drive and the USB 2 connector.

One of its improvements over older Palm devices is the “direct connection” your computer. You activate “Drive Mode” on the LifeDrive, then connect the device to your PC or Mac via the cable. After a few seconds, both the hard drive and the SD card appear on your desktop as mounted drives. So you no longer have to HotSync to transfer pictures back and forth. Simply drag and drop from your computer to the LifeDrive, or vice versa.

When a computer isn’t available, you can also use the free space on your LifeDrive to upload pictures so you can erase the card and continue shooting. When you do return to your computer, connect the LifeDrive and activate Drive Mode enabling you to transfer those stored images. If you use a Mac, iPhoto recognizes the LifeDrive immediately and asks if you want to copy the images (in the DCIM folder) to iPhoto. Quite nice.

But even if you don’t want to store pictures on the Palm itself, Drive Mode is still handy. Anytime that the LifeDrive is connected to your computer, you can remove the memory card from your camera and insert it into the Palm’s SD slot. The card appears on the computer desktop and is recognized by imaging apps such as iPhoto. That means you can use the LifeDrive as a card reader for your PC, even if you aren’t interested in copying the files to the Palm itself.

What’s really hip is sending pictures you’ve just captured wirelessly to friends using the built-in WiFi and Gmail. In my last installment I touted the virtues of using Gmail on the LifeDrive instead of POP. You can extend this capability further by adding photo attachments to your letters and shooting them over the Internet via any WiFi hotspot. It only took Gmail a matter of seconds to send my full size 4-megapixel photo to a friend miles away. This is truly useful (and geeky).

In my own everyday use, I’ve found myself using the LifeDrive more as a photo viewer and picture sender rather than as a storage device, although it’s nice to have the option. And since it’s USB 2 enabled, I use it often as a card reader too.

The LifeDrive fits nicely in my camera bag right alongside my other valuable accessories. Plus it provides entertainment during downtime while I’m waiting for a bride to get ready, or for the sun to reach the right angle.

The LifeDrive Chronicles
Ch 1 - Internet Radio
Ch 2 - Gmail Instead of POP
Ch 3 - A Versatile Photog’s Assistant
Ch 4 - The Perfect BT Phone Companion
Ch 5 - Audio Shuttle and Player

Derrick Story

AddThis Social Bookmark Button

When I first got my hands on Tiger, I dabbled with Core Image Fun House. It’s stashed in your Developer folder (Developer > Applications > Graphics Tools), and it provides access to 10.4’s Core Image Filters. The problem with Fun House is that it’s a demo app, and after a while… it isn’t all that fun.

BeLight Software has reinvigorated my interest in playing with Core Image filters thanks to their new free application, Image Tricks. Unlike Fun House, Image Tricks has a refined UI that invites you to open a picture and start playing. A few hours later, you might even get to what was really on your ToDo list for the evening. Or not.

Image Tricks is a terrific tool for exploring some of the imaging goodies Apple has tucked inside Tiger’s coat. Set aside an hour and give it a try. I think you’ll have a ball.

Giles Turnbull

AddThis Social Bookmark Button

A while ago, I thought I’d try an experiment: could I organise all my work, all my personal stuff, all my writing, in one huge text file?

I tried it. It wasn’t easy. While it’s sort-of comforting to know that you have everything you need at your disposal, it’s also a little daunting. “Where did I leave that half-finished snippet of writing about such-and-such? I hope I can find it somewhere in this 4,000-line file…”

Of course, such worries are baseless because any half-decent text editor can find exactly what you need in a file that big, or 10 times that big. You just need to remember what it is you’re looking for.

My experiment ended with me abandoning the idea; I decided it was easier (especially with the advent of Tiger and Spotlight) to use separate text files.

And then, a few weeks ago, I purchased a second computer, and had to change my thinking yet again.

With two computers to work on, the question of managing a bunch of essential files becomes more complex. Which machine should they live on? How should they be kept in sync with each other? I played about with a variety of sync methods and couldn’t find anything that I felt really comfortable with.

So I switched back to one-file-fits-all; now I only have one text file to worry about, to keep synchronized, and that’s much easier.

One thing I learned from the first attempt at using this system: don’t try to scroll around from place to place in the file. You’ll end up scrolling for hours and losing track of what it was you were scrolling to. It’s much, much better to use the find controls. I’ve started getting in the habit of “tagging” parts of my file with keywords that might come in handy when I’m searching. Using a split view in my editor means I can move items around from one chunk of the file to another, just as if I were copying and pasting between two separate ones.

As Danny O’Brien discovered during his research into effective organizational habits of geeks, text is the simplest, most platform-independent, fastest-to-search format we have for storing information. So everything I need - from todos, blog posts in progress, article ideas, addresses, my list of books to read, the shopping list, and much more besides, lives in just the one file. In effect, I live in that file. When I’m sitting in front of my computer, it feels like home.

Have you tried the one file approach?

Todd Ogasawara

AddThis Social Bookmark Button

I didn’t think we would see a new Messenger for the Mac. But, Microsoft Messenger for Mac Version 5.0 was announced today and the screen shots look pretty good.


The product page is found at:


Microsoft Messenger for Mac Version 5.0


The information about the new release is on the page but the download link didn’t work when I tried it.
Heading to the office now.
Will check to see if the download link works after my little drive to town :-)


The 5.0 release includes a bunch of new features including…


  • New brushed steel skin (ok not a feature, but nice looking)
  • Secure messaging to Microsoft Live Communication Server
  • Communicates with AOL, Yahoo, and other IM users (really?)
  • Separate online presence status settings for personal and corporate IM networks
  • Global Address Look-up
  • Redesigned Preferences
  • Customizable Display Picture
  • Multiple File Transfer
  • Animated and Customized Emoticons

Mac MSN IM user? What do you think of the new release?

Todd Ogasawara

AddThis Social Bookmark Button

On Monday, Nokia share prices briefly surged (and then finished a reasonable 1% above Friday’s close) based on the rumor that Cisco is planning to buy it. While several financial analysts consider it just a net rumor, what would a Cis-kia be like?


Linksys seems to have done pretty well since being acquired by Cisco a while back. So, this bodes well for a possible merger.
But, what if the purchase is more like the ill fated SUN purchase of Cobalt (remember those cool little Linux appliance boxes)?


If this is just a net-rumor, fine…
I’m more interested in the rumored Palm Treo 670 running Microsoft Windows Mobile instead of Palm OS :-)

Your thoughts on a possible Cis-kia?

Chris Adamson

AddThis Social Bookmark Button

I was experimenting with doing an enhanced podcast. It’s not really panning out and I have way better stuff to do, but I saw two important things along the way that I wanted to post, if only to get them into Google.

Enhanced What?

An “Enhanced Podcast” is Apple’s term for a podcast that offers some images and chapter marks. Back up: a podcast is basically audio files and an RSS feed, so you can subscribe with an RSS client and get informed when there’s a new audio file to pull down. In an enhanced podcast, this file adds images and chapters to the audio.

When played in iTunes, the images appear in the cover art viewer panel. On an iPod Photo, they appear on screen.

MAKE magazine’s blog has a great enhanced podcast how-to. If you look on iTunes, you can also see at least one recent show they did as an enhanced podcast (the one on making a charging cable for the Sony PSP). It combines the information provided with Apple’s “ChapterTool” (a beta tool for making enhanced podcasts) with their own experiences.

Key gotcha: the files have to be MPEG-4 containers, so the audio needs to be AAC. Among other downsides, QuickTime for Windows doesn’t export AAC audio (even if you buy QT Pro? I’m not sure), so only Macs can create these for now. FWIW, I don’t expect that to last — people won’t buy Macs just to create enhanced podcasts, but getting Windows-based authors to create enhanced podcasts would probably lead to more iPod-only enhanced podcasts, which would sell more iPods. And when Apple probably gets about the same margin off both iPods and consumer Macs….

What Does This Have To Do With QuickTime?

I figured I had you at “chapter track”… who else does chapter tracks but QuickTime? And a video track where the samples can have arbitrary durations, and is thus exceptionally well suited to slideshows? That’s very QuickTime-y.

In fact, if you look inside the m4b file with something like QuickTime Atomizer, or the QuickTime File Format parser I did for an ONJava article a few years ago, or even HexEdit (c’mon, be hardcore, you know you want to), you’ll see the insides look a lot more like QuickTime than like MPEG-4. There’s no MPEG-4 Initial Object Descriptor atom (iods), nor tracks for the object and scene descriptors (media of types odsm and sdsm).

What there is is an audio track, a video track, and two text tracks. Yet the video track allows for the samples to be regular JPEG’s or PNGs (look for their magic strings in the mdat atom), and I don’t think MPEG-4 even has a text track. The two text tracks are the chapter track (which is just a text track where the samples are the chapter names, with a track reference from the video track to the text track, see IceFlow #3 ), and an HREF track for links to the MAKE site (an HREF track is just a slightly special text track - see chapter 9 in QuickTime for Java: A Developer’s Notebook)

On the other hand, the strings are all null-terminated, which is very MPEG-4-ish. Usually, QuickTime strings use the Pascal-like convention of one byte of length followed by a run of characters.

So Why Not Just Export This As MPEG-4?

Because that turns the image samples into a real MPEG-4 video track, which I would be very surprised if the iPod Photo can play. Also, QuickTime doesn’t export the text tracks. And it doesn’t export audio on Windows.

So What’s This Code?

What I was trying was to build up the QuickTime equivalent to this enhanced podcast, and then see if I could hack it into an MPEG-4 by just switching the file extension or copying over the ftyp atom. That’s not completely implausible, since MPEG-4’s file format is extremely similar to QuickTime’s.

But that didn’t work, and I don’t want to mess around with it much longer.

Still, what I have is potentially useful as a slide show example. What it does is to copy over an MPEG-4 audio track from a selected file (you could take out the “check for MPEG-4″ stuff and it would work with any QT-friendly audio), copies it into a new movie, then takes three images from known locations (images/chap1.png, images/chap2.png, and images/chap3.png) and makes a video track from them, putting them at times 0, duration*0.33, and duration*0.67 (ie, each covers a third of the movie, having a duration of audioDuration/3). Then it flatten()s, so the sound and all the images are in the same file and you can mail it to all your QuickTime-loving friends.


import quicktime.*;
import quicktime.std.*;
import quicktime.std.image.*;
import quicktime.std.movies.*;
import quicktime.std.movies.media.*;
import quicktime.io.*;
import quicktime.util.*;
import java.io.File;
public class EPodcastTest extends Object {
  // 1-based count of "images/chapn.png" files,
  // where 1 <= n <= CHAPTER_COUNT
  public static final int CHAPTER_COUNT = 3;
  public static void main (String arrrImAPirate[] ) {
    try {
      QTSession.open();
      // open a movie
      QTFile file =
        QTFile.standardGetFilePreview (QTFile.kStandardQTFileTypes);
      OpenMovieFile omFile = OpenMovieFile.asRead (file);
      Movie audioMovie = Movie.fromFile (omFile);
      // find audio track
      System.out.println (audioMovie.getTrackCount() + " tracks");
      Track oldAudioTrack =
        audioMovie.getIndTrackType (1,
                      StdQTConstants.audioMediaCharacteristic,
                      StdQTConstants.movieTrackCharacteristic);
      if (oldAudioTrack == null) {
        System.out.println ("Didn't find audio track - bye");
        System.exit (-1);
      }
      System.out.println ("found audio track");
      if (oldAudioTrack.getMedia().getSampleDescription(1).getDataFormat() !=
        QTUtils.toOSType ("mp4a")) {
        System.out.println ("Audio track is not mpeg-4 audio - bye");
        System.exit (-1);
      }
      System.out.println ("Found MPEG-4 audio track");
      // create new movie
      QTFile podMovieFile = new QTFile (new File ("podmovie.mov"));
      Movie podMovie =
        Movie.createMovieFile(podMovieFile,
                    StdQTConstants.kMoviePlayer,
                    StdQTConstants.createMovieFileDeleteCurFile |
                    StdQTConstants.createMovieFileDontCreateResFile);
      // copy audio track
      Track podAudioTrack =
        podMovie.newTrack (0.0f, // width
                   0.0f, // height
                   oldAudioTrack.getVolume());
      // note how the data ref writes back to the podMovie
      SoundMedia newMedia =
        new SoundMedia (podAudioTrack,
                oldAudioTrack.getMedia().getTimeScale(),
                DataRef.fromMovie (podMovie));
      podAudioTrack.getMedia().beginEdits();
      oldAudioTrack.insertSegment (podAudioTrack,
                     0,
                     oldAudioTrack.getDuration(),
                     0);
      podAudioTrack.getMedia().endEdits();
      // add images as video track
      Track podVideoTrack =
        podMovie.newTrack (300.0f, 300.0f, 0f);
      VideoMedia podVideoMedia =
        new VideoMedia (podVideoTrack, podMovie.getTimeScale());
      podVideoMedia.beginEdits();
      File imagesDir = new File("images");
      for (int i=1; i<=CHAPTER_COUNT; i++) {
        QTFile imageFile = new QTFile (
                         new File (imagesDir, "chap" + i + ".png"));
        System.out.println ("open " + imageFile.getPath());
        GraphicsImporter gi = new GraphicsImporter (imageFile);
        ImageDescription id = gi.getImageDescription();
        System.out.println ("ImageDescrption: " + id);
        // add a sample to the video track
        int sampleNumber = i - 1;
        int dataSize = gi.getDataSize();
        System.out.println ("data size is "  + dataSize);
        RawEncodedImage rei =
          new RawEncodedImage (dataSize, false);
        gi.readData (rei, 0, dataSize);
        System.out.println ("read image");
        // argh, addSample wants QTHandleRef, but
        // RawEncodedImage is a QTPointer.  copying the
        // bytes seems an unfortunate answer
        QTHandle imageHdl = new QTHandle (rei.getBytes());
        int sampleFlags = 0; // don't set mediaSampleNotSync
        podVideoMedia.addSample (imageHdl, // data handle
                    0, // offset
                    dataSize, // size
                    podMovie.getDuration() / 3, // duration
                    id, // sample description
                    1, // num samples
                    sampleFlags ); // sampleFlags
      }
      podVideoMedia.endEdits();
      podVideoTrack.insertMedia (0, // trackStart
                     0, // mediaTime
                     podVideoMedia.getDuration(), // mediaDuration
                     1); // mediaRate
      System.out.println ("inserted media into video track");
      System.out.println ("flattening");
      podMovie.flatten(StdQTConstants.flattenAddMovieToDataFork |
                 StdQTConstants.flattenForceMovieResourceBeforeMovieData,
               new QTFile (new File ("flatmovie.mov")),
               StdQTConstants.kMoviePlayer,
               IOConstants.smSystemScript,
               StdQTConstants.createMovieFileDeleteCurFile,
               StdQTConstants.movieInDataForkResID,
               null); // resName
      System.out.println ("Done");
    } catch (QTException qte) {
      qte.printStackTrace();
    } finally {
      QTSession.close();
      System.exit(0);
    }
  } // main
}

And The Useful Parts?

Two things would be interesting if you were trying to apply techniques from the book and got stuck — those examples generally deal with doing one thing at a time with a movie, and this is weird because it’s copying media with Track.insertSegment(), and then adding samples with Media.addSample().

Useful Part One: Using The Movie File As The DataRef For New Media

In the book, the “add a track” stuff deals with movies that already exist or are created with new Movie(). For this slideshow maker, I created a movie with the createMovieFile() method:


    Movie podMovie =
    Movie.createMovieFile(podMovieFile,
      StdQTConstants.kMoviePlayer,
      StdQTConstants.createMovieFileDeleteCurFile |
      StdQTConstants.createMovieFileDontCreateResFile);

The gotcha is that I created the SoundMedia in a way that fails when you flatten it. This is based on the approach of having a bogus in-memory DataRef for storing the media (see Q&A: BeginMediaEdits -2050 badDataRefIndex error after calling NewMovie ):


    SoundMedia newMedia =
        new SoundMedia (podAudioTrack,
                        oldAudioTrack.getMedia().getTimeScale(),
                        new DataRef (new QTHandle()));

Like I said, this sucks because you get eofErr when you flatten. It works better to tell it “no, really, store the media in the movie file I just created”:


    SoundMedia newMedia =
        new SoundMedia (podAudioTrack,
                        oldAudioTrack.getMedia().getTimeScale(),
                        DataRef.fromMovie (podMovie));

In fact, it’s simpler to omit the DataRef altogether, unless you know you need it (eg, you used new Movie() instead of createMovieFile()). So this works too:


    SoundMedia newMedia =
        new SoundMedia (podAudioTrack,
                        oldAudioTrack.getMedia().getTimeScale());

Useful Part Two: Storing Slide Show Pictures In The Video Track

In the book, I show the more advanced way of laying down a video track with raw samples, using a CSequence so you can pick up temporal compression. This puts original frames in a GWorld and compresses each one. For a slide show, you wouldn’t want to re-compress your images if they’re already in a format like JPEG or PNG, you just want to add them straight into the VideoMedia, which is possible.

So, book’s approach is:

  1. Import image with a GraphicsImporter
  2. Set up a CSequence. Get an ImageDescription from this
  3. Draw some part of the imported image into a GWorld
  4. Compress the GWorld into a frame.
  5. addSample() with handle returned from the compress call and ImageDescription from the CSequence

To do slides, it’s simpler:

  1. Import image with GraphicsImporter
  2. Get an ImageDescription from the importer
  3. Make a QTHandle by copying bytes from the importer
  4. addSample() with this handle and description

BTW, step 3 sucks. There has to be a better way, but this is experimental hackery, so I’m just happy it works.

Speaking of hackery, it creates a useless reference movie file called “podmovie.mov” that it should probably delete. “flatmovie.mov” is the flattened movie with the slideshow.

Conclusion

Sheesh. This is long. I should have put it on O’Reilly as a blog or something… maybe I’ll do that too… Daddy needs to sell some ads… Anyways, I hope it helps someone at some point.

I’m officially done with trying to hack enhanced podcasts for now. Maybe Apple will give us a nice MovieExporter for doing them at some point, and then we could build a nice Java GUI for capturing and editing the sound, arranging the pictures, etc.

Derrick Story

AddThis Social Bookmark Button

In chapter two I’m sticking with the WiFi theme for my exploration of the LifeDrive, in part, because I think it leads to some of the device’s most useful features — for example, checking email while on the go.

I’ve always struggled a bit with email on Palm devices. Even thought I like the bundled VersaMail app, it seemed to wear me down over time to the point where I wasn’t checking my mail with it. Since the LifeDrive has such an excellent browser, Blazer, I thought I’d give web mail a try.

One of the great advantages of web mail on a Palm device is that you get to stay within one application for both mail and browsing. Since the Palm OS isn’t exactly a multi-tasking animal, this approach saves me a great deal of time. But how would Gmail feel about my plans? After all, Google’s email service has been know to be browser-picky.

I fired up Blazer and entered the Gmail URL. Much to my delight, the familiar Gmail logo popped right up on the screen. I did get the following message from Google at the top of my browser screen: “For a better Gmail experience, use a fully supported browser.” Well, thanks Google for the heads up, but actually my experience is pretty good so far.

The “Quick Reply” function in Gmail enables me to respond easily to mail, even if it’s just to say, “I’ll get back to you tonight on this…”. Most of the other functions seemed to work well too, such as “Archive” and “Star,” that is, until I tried to view an attachment.

Here’s where the music died. First, I wasn’t always given the option to download an attachment, even though I could see its paperclip icon. And when I was allowed to grab it, it was sometimes saved in a format I could view, and other times not. I had the best luck with attached JPEGs, and the worst with DOC files. I guess that’s what Google meant by “…use a fully supported browser.”

Attachments aside, I have to say that being able to check Gmail on the LifeDrive, and even manage my messages, is an unexpected bonus, and one that I’m using often. I’ll just have to wail until I get to the hotel before I can read those attachments.

The LifeDrive Chronicles
Ch 1 - Internet Radio
Ch 2 - Gmail Instead of POP
Ch 3 - A Versatile Photog’s Assistant
Ch 4 - The Perfect BT Phone Companion
Ch 5 - Audio Shuttle and Player

Todd Ogasawara

AddThis Social Bookmark Button

In one of my first blog entries here I wrote about:


The “Missing” Pocket PC apps: Access & PowerPoint


Reader BRK read it only recently and asks: Do you have the names of Powerpoint like applications that run on PocketPC? Yep, here they are…

The soon to be available (hopefully) Pocket PCs based on the recently announced Microsoft Windows Mobile 5 will have PowerPoint Mobile as part of Microsoft mobile office suite.

Have some other Windows Mobile based PowerPoint viewer? Let us know here.

Giles Turnbull

AddThis Social Bookmark Button

Here’s a quote, widely attributed to Steve Jobs:

“I want a mouse for $10 that can be mass-produced, because it’s going to be the primary interface of the computer of the future.”

I doubt very much that the all new Mighty Mouse can be manufactured for as little as that, but I think the more interesting part of the quote are the words “primary interface”.

Because if indeed Jobs did say that back in 1980, he’s been proved correct. For the vast majority of computer users (and I don’t mean computer-savvy O’Reilly readers, I mean their moms) the mouse has become the most important means of issuing commands to the computer.

“Click” has become a verb. People use the word “click” to mean “select an option in a GUI” even when there’s nothing to click on, or nothing to click with; think of cell phone interfaces and how you describe them to other people verbally.

What I like about the Mighty Mouse is the evolutionary approach to file manipulation using your fingers.

Take a moment to lift your mouse hand away from the mouse. Hold it in mid-air and flex your fingers; imagine you’re holding a mouse in your hand, one not made of plastic but of clay. You can squeeze it, shape it.

Everyone who uses a mouse knows this gesture, the configuration of the fingers as they grip the device. The Mighty Mouse builds on this, allowing you to continue gripping in the same way, but flexing your fingers in new ways.

I’m looking forward to trying one, although I agree with other commentators that the price, in comparison with generic mice, seems a little steep.

Hands up if you wuv the MM

Todd Ogasawara

AddThis Social Bookmark Button

The wait for the Sony PSP 2.0 firmware in the U.S. is nearly over. According to Macworld, we should see it hit our shores on Aug. 12.


Macworld: Sony to release PSP 2.0 firmware update Aug. 12


Here’s a summary of the new features:


  • H.264-encoded video playback (in addition to MPEG4)
  • Ability to download video clips over WiFi (but no service for U.S. customers yet. The service is limited to Japan)
  • Use any image stored on a Memory Stick Pro Duo as a desktop image
  • Web browser using built-in 802.11b WiFi capability
  • WPA-PSK security (in addition to WEP)
  • Transfer images (but not video or audio files) wirelessly to another PSP

Any information about when Sony will provide a WiFi video download service outside of Japan? Let us know.

Derrick Story

AddThis Social Bookmark Button

A few weeks ago, before the ADHOC conference, I asked readers of the Mac DevCenter newsletter for their opinions about why so many Mac conferences are struggling — especially in light that Apple Computer seems stronger that it has been in years.

Since that time I’ve received lots of insightful email. I also just read Adam Engst’s piece, Adieu ADHOC. And I had an IM chat yesterday with Andy Ihnatko, who had given heart, soul, and to some degree, PowerBook, to this year’s ADHOC event. Andy confirmed what I had already experienced myself with the defunct Mac OS X Conference (TenCon) — those who attend the smaller shows are enthusiastic and savvy. Unfortunately, from my perspective, there’s not enough of them to pay the bills. Even Macworld Boston 05 had its share of challenges. The Expo floor had fewer vendors than this week’s O’Reilly Open Source Convention, which is known much more as an uber-geek fest than a trade show.

Where’s the disconnect? The Mac platform has always attracted a fevered audience. Where are they?

The most obvious kiss of death is when Apple decides not to participate in a highly visible way. Certainly that has hurt the Boston show (I don’t care what anyone says to the contrary — it’s true. No Jobs, no mobs.) The smaller conferences such as ADHOC and TenCon also feel this effect. When I was conference chair for TenCon, I had a difficult time getting the folks from Apple who I knew my audience would want to see. I don’t blame Apple for this. It’s just hard to get the big names.

Another factor seems to be conference budget. Many respondents say that they can only afford one or two conferences a year (or their employer will only pony up for a couple). If WWDC is one, then that leaves all the other events scrambling for your dollars. Now, that’s a tough market.

And it’s not just competition among Mac events. Many readers cited their other interests, and conferences that cater to them. For example, the same week Macworld was underway in Boston, another event, ComicCon was happening in beautiful San Diego.

Add all of this to a changing Mac audience — which is now everything from ObjC programmers to iPod-only fans — it’s hard to find the sweet spot for both the program and the trade show floor. Bottom line for me is this… wherever Apple shines its light, good things seem to happen. If you want to give your event the best possible odds of success, get Apple involved and highly visible. Otherwise, keep it real small with a low overhead. That way you can cater to a 100 or so enthusiasts without losing your shirt.

As always, your thoughts and comments are welcome!

Advertisement