LG Chocolate BL40 smartphone uses haptic technology

by George Taniwaki

I recently came across a few articles that featured natural user interface or NUI design that I found interesting. (Note: I’m currently doing contract work for the Microsoft Surface team.) The first article in Tech. Rev. Mar 2010 discussed a way of improving the haptic feedback users get when manipulating buttons on small touch screens, like the ones used in most smartphones. The touchscreen designed by a company called Immersion, uses a piezoelectric material that vibrates 100 micrometers every millisecond as the user’s finger moves over a button and then stops once the finger is no longer on the button. With this small but fast movement, the user gets the illusion that the flat glass surface has a convex button on it.

Improved haptic feedback is an extremely important advance in the design of automobile dashboards, where glancing down at the controls can lead to driver distraction and vehicle accidents. It can also add haptic feedback for controls used in factories, power plants, aircraft, hospitals, etc. where diverting your attention from the work surface to look at a control can be dangerous. Immersion is already licensing its technology to LG for smartphones.

This is very different from the traditional motorized vibration technology that most firms were pursuing a few years ago to give user’s feedback when they press an on-screen button correctly. This feedback is coarse, so while it informs the user that the button was pressed, it doesn’t give the user the illusion the surface actually has a button. For more about this older style of feedback see Tech. Rev. May 2007.

State of the art haptic feedback back in 2007

Project Gustav

Microsoft Research is working on a very interesting touch screen painting application called Project Gustav. It combines texture mapping, color and transparency mixing, multi-touch input, and a 3D paint brush bristle deformation algorithm to make a realistic painting simulation. The effect is very impressive and could have lots of commercial applications. It will be interesting to see if this technology makes its way out of the lab and into some retail products soon.

An expensive finger painting simulator. Image from Microsoft

Skinput

Also from Microsoft Research in cooperation with Carnegie Mellon University is a touchscreen interface called skinput. It projects an image onto your forearm or hand and then records the user’s finger taps using a microphone. Somehow it doesn’t seem really practical. Plus it seems a bit creepy. Check out the YouTube video.

Tap tap tap. Photo from Carnegie Mellon

Project Natal

Finally, gamers everywhere are excited about Project Natal, the controller-less interface for the Xbox 360 that is slated to be released for the upcoming holiday season. Although most people have just been amazed that Project Natal works, I wanted to learn more about how it works. That is how does the vision system convert 2D video of a person in motion into a 3D wire-frame model? Microsoft has been fairly quiet, either because they are still patenting the IP behind it or because they want to focus attention on the games not the technology. Alas, the only article I could find was Pop. Sci. Jan 2010.

3D wireframe generated from a 2D camera. Photo from Pop. Sci.

* * * *

[Update: Microsoft has released Project Natal under the tradename Kinect.]

by George Taniwaki

Apple recently filed two patent infringement cases against HTC, a Taiwanese company that makes the Nexus One smartphone for Google as well as phones that run on Microsoft’s mobile OS (now called Windows Phone 7 Series). Given that Apple doesn’t license its technology, the remedy Apple seeks is to stop HTC from selling multi-touch smartphones. It could be a start of a patent war between Apple and Google. (A brief history of the relationship between these two formerly friendly firms is detailed in Gizmodo on Mar 2.) Many claim that a legal cloud could impede innovation in multi-touch interfaces. I say, not likely.

Farhad Manjoo builds case against software patents in Slate Mar 2010. I’m against software patents because I think protecting ideas is different from protecting inventions, though I have a hard time defining the line between the two. So while I think Mr. Manjoo is being overly dramatic in his article, I believe he’s basically right. Companies clubbing each other with patent lawsuits doesn’t do much to reward inventors for being creative, encourage companies to invest more in research and development, nor provide consumers with a greater variety of innovative, well-designed products.

In a Mar 4 blog post I mentioned how easy it is to get software patents. In three years at Microsoft, I was involved in the development of code that led to three patent filings. I’m proud of the work I did, and the patent applications were for some clever ideas. But the patents were for ideas and algorithms, not inventions. And I wasn’t any more creative during my three years at Microsoft than during the prior twenty years when I worked for a variety of other companies. And during those twenty years I had never filed a single patent application. What does that tell you about the ease of getting software patents vs other industrial patents?

On the other hand, I don’t think software patents hurt the economy as much as Mr. Manjoo claims. One of the references he cites is a working paper coauthored by James Bessen of Research on Innovation. However, if you read this paper, it actually says that the largest proportion of software patents are not collected by software companies. Rather, as many at 95% of these patents are awarded to large industrial companies that use them for strategic purposes like stalling a competitor or as a defense against a competitor. These companies already have created huge patent thickets and would continue to pursue their aggressive legal strategies through other means if software patents were not easily available. This argument is fleshed out more fully in a book Mr. Bessen coauthored entitled Patent Failure which has a chapter on Abstract Patents and Software.

Thus, one could argue that companies like Intellectual Ventures (see Feb 2010 blog post) could actually help level the playing field by allowing all companies to license patents to the benefit of the investors in the fund. However, that isn’t happening at the moment because the largest investors in Intellectual Ventures are also the licensees. Eventually though, patents may be treated as tradable securities and a market will emerge for these rights. (And if we are lucky, the market will remain rational and will not inflate like a bubble.)

Figure 1. Example dataset, sales of three products over seven months. All screenshots by George Taniwaki

by George Taniwaki

Edward Tufte is one of my favorite writers. He’s a specialist in creating information graphics and a proponent of dense data displays. He is the author of several books, most of which I own. In his latest book, Beautiful Evidence, he introduced sparklines, little graphs that can fit in the same line as text. Sparklines are a wonderful way to combine words and graphics to tell a story with statistics.

Here’s an example of how they can help improve your understanding of numeric data. Assume your company has three products called A, B, and C. Here’s a spreadsheet created in Excel 2010 that shows sales for the products over a seven month period along with total sales.

Which product is doing best? Is it Product C with the highest total sales? Or is it Product A, with the highest sales in July? I suppose I could create a graph of the three products, but that would take up a lot of space. Wouldn’t it be nice to create a dashboard that displayed and compared the sales of the three products?

Figure 2. A sparkline of the same data reveals trends

Well, why don’t I create a sparkline? Voilà! Now we can see that sales of Product C are falling rapidly, Product B are flat, and Product A are quite erratic. Pretty nifty, n’est pas? Now I can investigate the reason for these numbers.

Since publication of Tufte’s book, several companies and open source groups have built add-ins for Excel to create sparklines and embed them within a cell of a spreadsheet. In fact, sparklines are so useful that Microsoft decided to implement them in the upcoming version of Excel, as explained in a Jul 2009 MSDN blog post.

I’ve had a chance to play around with this new feature and find it to be quite easy to use. First you select a sparkline type from the Insert ribbon. You select the data range and the destination cell and click OK. This causes the sparkline to be inserted and a Design ribbon to appear on the far right (see below). The ribbon displays quite a few options to make your sparkline pretty. You can group multiple sparklines so that they all have the same min, max, and formatting.

Figure 3. Sparkline ribbon in Excel 2010

I found two annoyances though. First, you only get three choices for chart types, line, column, and win/loss. I wish there were more, especially a scatterplot, since most interesting data is not evenly spaced. Most of the 3rd party sparkline add-ins provide scatterplots, so hopefully Microsoft will add them in the next version of Excel. A good comparison between Excel 2010 and the open source Sparklines for Excel add-in is provided in a recent blog post.

The second annoyance deals with copy-paste. Because sparklines are so compact, it would be nice to be able to embed them in a Word document. However, as you can see in the example below, copying a range of cells containing a sparkline and then pasting it in Word causes the sparklines to disappear. Note that this limitation is due to the way the clipboard works in Office, so will affect all sparklines, not just Microsoft’s implementation.

Figures 4a and 4b. Copying a group of cells containing sparklines in Excel. Resulting paste in Word. Oops. What happend to my sparklines?

Having some software experience, I understand why this happened. But most users won’t and will just be frustrated. The sparklines are not static pictures, they are charts generated from the data in the Excel spreadsheet. Word can’t draw the graphs, so when I paste them, it just ignores them. If I want to retain the sparklines, I need to paste the selection as a graphic. But I don’t really want to paste the entire selection as a picture. I want to paste the cells and the text as an editable Word table and have the three sparklines pasted as 3 separate images inside their respective cells of my table.

Hopefully, the Office team will improve paste fidelity of sparklines in the next version of Office, though my guess it would be somewhat difficult to implement and they may decide it’s not worth the effort.

Tufte’s take on Excel

I wanted to see what Edward Tufte thought of the new sparkline feature in Excel and so visited his blog. It turns out he’s a bit apoplectic and so are his fans. But not about Microsoft adding sparklines to Excel. He’s actually happy about that. Rather, it is because Microsoft filed for a patent covering its implementation. This probably isn’t the place to discuss the validity of software patents. However, I will say it is really easy to get a software patent. All it takes is a few hours of thinking about the best way to solve a computer problem and anyone can file a patent. For instance, check out U.S. patent 7437659 that was implemented in Publisher 2003.

* * * *

[Update1: I clarified my example with screenshots and clarified that the paste problem is not a fault of the sparkline feature.]

[Update2: I just posted a blog entry that talks a bit more about software patents (see Mar 6).]

[Update3: President Obama just named Edward Tufte to the Recovery Independent Advisory Panel. Let’s hope that he can improve transparency and communications in reporting financial matters.]

by George Taniwaki

At the recent TED conference in Long Beach, Nathan Myrhvold, the founder of Intellectual Ventures (and former CTO of Microsoft), demonstrated a laser system that can track and kill mosquitoes. As silly as this sounds, it has potential value. First, with the falling cost of electronics, a device that could protect the doors and windows of a small building could be built for under $50. Second, when coupled with other strategies, it could reduce the death toll from malaria in Africa and Asia. You can watch a video of the system in action. The device was developed after Bill Gates, head of the Bill and Melinda Gates Foundation, asked Mr. Myrhvold for assistance in developing creative ideas to eradicate malaria. The idea was first publicized last year.

Intellectual Ventures is a rather secretive firm. Its stated goal is to turn patents into marketable assets. It has characteristics of a hedge fund in that it doesn’t disclose its investors or the contents of its patent portfolio. It operates a large number of shell companies to disguise its purchase of patents and its licensing activities. The New York Times recently ran an article on the firm.

More pivot charts

Also presenting at TED conference was Gary Flake, the director of Microsoft’s Live Labs. He demonstrated a data visualization technology called Pivot that is designed to help people make better use of digital information. Says Mr. Flake, “With Pivot you can swim through the data, taking little twists and turns.” A video is available here. There is also a web site, http://www.getpivot.com, where you can learn more and download the app. Unlike the pivot tables and charts that I wrote about two weeks ago, these pivot charts combine bitmap images with quantitative data. The next step would be to make each bitmap an animation.

* * * *

[Update1: A blog post by Brad Burnham, a venture capitalist, rejects Intellectual Venture’s approach.]

[Update2: There is a nice review of Pivot in Tech. Rev. Feb 25.]

by George Taniwaki

Rumors abound that Apple will soon announce the ability to download TV shows for $1, about half the current price. A couple of questions come to mind. First, will TV make the iPad a killer product? And second, will dropping the price of individual shows (rather than include it as part of a subscription) create a groundswell of demand for video on demand (VOD) service?

My answers to the first question is maybe. I’m not a big TV watcher nor a big novel reader, so I probably won’t get an iPad and am not the best person to predict its mass appeal. (The gadget person in our household is Susan. If it weren’t for her, I wouldn’t own an iPhone, and perhaps not even a DVD player.) My answer to the second question is a definite no.

About ten years ago, Sue and I were beta testers for an early VOD service called Intertainer to be introduced by Qwest (now renamed CenturyLink). I think we were selected because we lived across the alley from a Qwest switching station. A technician installed a 4 Mbps DSL line (back in the day when 256 kbps was considered exotic), a DSL modem, and a Gateway computer running Intertainer on Windows 98 with a 40” monitor. The monitor did not have a TV tuner, so we had 2 large monitors sitting in our living room, one to watch all of our cable TV and another to watch, well, a very small eclectic offering of more TV.

Before I discuss the problems with pay per view for TV shows, I’ll give a review of my Intertainer experience. The first problem was you had to boot up the system to watch it. Next was Windows 98’s propensity to crash, requiring you to boot again. On the plus side, Gateway had a very nice remote pointing device. It was shaped like a TV remote with a small trackball on top that you could operate with your thumb and two mouse buttons on the bottom that you could press with your forefinger. This would have worked great if it wasn’t for the awful user interface of the Intertainer app. All of the options were on a series of circular-shaped menus. It was really hard to move a thumb-operated trackball in an accurate circle.

On the first day we decided to watch Lawrence of Arabia for a dollar. It’s a great movie to see on the wide-screen, and I hadn’t seen it since it was in a theater when I was a child. (Oops, I’m dating myself here.) That’s when we encountered the next problem, the quality of the video image. The Intertainer app was a full-screen window. Inside the window were all the controls and a smaller viewer window for the video. Then, since Lawrence of Arabia was a wide-screen movie, there were black bars on the top and bottom of the viewer window. All in all, the movie itself only occupied about one-fourth of the 640×480 screen.

After a half hour, the phone rang and I clicked Pause to answer the call. Except it wasn’t a pause button, it was a stop button, which reset the movie to the beginning. After the call, I discovered that there were no chapter markers in the movie, so the back and forward controls took you to the beginning and end of the movie. I tried to get the movie back to the point where we were by dragging the progress bar, but there was no elapsed time indicator, so I had no idea where I was each time I released the pointer. Also, Lawrence of Arabia is a long movie so even minor movements of the progress bar represented a jump of several minutes in the movie. After another hour of viewing it was time to go to bed, but since there is no pause button, we just gave up and turned off the computer.

The next day showed us the final problem with the Intertainer system. There was a dearth of worthwhile content. Besides Lawrence of Arabia, there were only about a dozen other movies available, none of them recent releases. There were maybe a hundred TV shows available, but none were currently running shows. In fact most were shows that had long been off the air and that we had never heard of before. One of the few shows that we had heard of was Welcome Back Kotter, which was a big hit back when I was in high school. (Yep, dating myself again.) Every show and movie was the same price, one dollar. On a cost per hour of entertainment scale and on a quality of entertainment scale, movies beat TV shows by a big margin. Who would pay $1 to see TV reruns, especially of shows you can see for free on Hulu? That’s why broadcast TV is filled with sit-coms paid by commercials, because nobody would be willing to watch this stuff on pay per view.

I eventually wrecked the Intertainer system trying to hack the proxy server settings in an attempt to break out of the walled garden to browse the web. When the beta test was over, nobody ever called to ask us what we thought of the service or whether we would be willing to pay for it. I did call Qwest and asked them how much 4 Mbps DSL service would cost. The answer was $500 per month. Geez, that and a dollar an episode will get you all the Welcome Back Kotter you’d want.

Amazingly enough, Intertainer is still in business, though it’s a shell of its former self. The company is privately held. Its main shareholders are Comcast, Intel, Microsoft, NBC, Qwest, and Sony. If you view the company’s timeline, you’ll notice that the last major milestone was a settlement to an antitrust suit against the movie studios that owned Movielink in 2006. Apparently, nothing of note has happened since then. You’d think that with their star list of investors, somebody could figure out how to get some traction. Oh well.

Incidentally, Movielink itself has disappeared. Since it was owned by the studios, it had draconian rules on how many computers could view the movie after rental (only one), how long the movies could be viewed (one day), and what software was needed to view them (only Windows Media Player 9 or later, since all the movies were protected using Microsoft’s DRM technology). Given the awful user experience it isn’t surprising the service never took off. Eventually, Blockbuster bought Movielink in 2007 in its quest to compete with Netflix. Blockbuster now streams movies through the web, but it still only works on Windows because it requires Internet Explorer.

Netflix has a VOD program at no charge for subscribers. It streams to your TV though a variety of devices including TiVo, Xbox, or some TVs. It also works on any browser and uses JavaScript and Microsoft’s Silverlight plug-in. I’m watching the first episode of Spartacus right now as I’m typing up this blog. It’s running on my Mac. Beat that Blockbuster! I am positive that Netflix will succeed in the VOD marketplace.

Pay per view isn’t completely dead though. The other major competitor in the VOD space is Vudu. Until recently, Vudu was a hardware company trying to sell VOD boxes and remote controls via mail order. Now it is a software company that licenses its service to TV manufacturers. I don’t own a Vudu-enabled TV, so I can’t review it here. An informative review of Vudu by David Pogue appeared in last week’s New York Times. I assume Vudu is working on an app for the iPad, though I wonder if Apple will allow it.

But I just don’t get it. Who wants to pay à la carte for TV entertainment? I much prefer a subscription. Netflix has all the movies I want and I don’t have to pay extra for streaming. I’ll pay for movies and HBO TV shows (since I only have basic cable and don’t get HBO), but I would never pay extra to watch broadcast TV, even if it is hi-res, wide-screen, Dolby enhanced, commercial-free, and time shifted.

* * * *

[Update1: Vudu already has an iPhone app; it was released over a year ago. However, it only allows you to select movies to play on your Vudu-enabled television. You cannot use it to view shows on the iPhone or iPad.]

[Update2: Walmart just confirmed that it plans to buy Vudu for an undisclosed sum, possibly $100 million.]

[Update3: The New York Times has an analysis of the network’s fear of letting Apple sell shows for $1.]

[Update4: Qwest has been acquired by and renamed CenturyLink.]

A panorama shot made from 27 individual images from my iPhone. Composite by George Taniwaki

by George Taniwaki

Ever since I got an iPhone 3GS last year (thanks Sue!) I’ve quit using my digital camera. My digital camera is nice, but I was always forgetting to pack it. And since I only used it occasionally, the battery was usually dead. The iPhone is just much more convenient. It’s always in my pocket and it’s always charged. Many of the photos in this blog are shot using it.

However, I’ve been really disappointed in the quality of my pictures. The iPhone has a decent 3 megapixel CMS sensor, but the camera has almost no controls (typical Apple minimalism). Those who know me will know that I’m a pretty picky photographer (I worked in advertising for several years). Sure, there are a lot of photo retouching programs available on the iTunes App Store. But I’m too cheap to buy them all and even if they were free, I’m too lazy to try them all and figure out which ones are the best.

Luckily, Ben Long in CreativePro Dec 2009 has a great review of low-cost apps that you can use on your iPhone to fix those snapshots right up before emailing or posting them.

The most useful of the bunch is CodeGoo’s Camera Genius ($1.99, the article states incorrectly that it is $.99). It is a replacement for the built-in camera app in the iPhone. (You did know that the camera was mostly software, not just a piece of hardware, right?) It works well, as described in the article. I now use it exclusively when taking pictures. I have the zoom, antishake, big button, and guides feature turned on. The antishake feature takes a little getting used to, but it definitely eliminates the blur caused by unsteady hands. My only gripe is that the Camera Manual feature doesn’t actually contain instructions for using Camera Genius, it’s mostly just a bunch of pretty photos along with general tips on taking good pictures.

Perfect Photo from MacPhun ($.99) works as described in the article, but it’s definitely for experts only. It has high-end filters like denoise, sharpen, HLS, exposure, and color temperature. However, the iPhone is a really underpowered computer and applying changes takes a long time. Also, it would be nice to have some automation assistance in setting the white point for color temperature. And while Camera Genius at least has some help, Perfect Photo has none. Again, it’s geared toward photography buffs.

I also have a couple UI complaints. The screen shows your picture with a cropping bounding box in front. However, it’s hard to reliably select either the picture or the cropping box to resize or move either. Another limitation is that although you use your fingers to rotate the cropping bounding box, it won’t work on the picture. To rotate the picture, you have to dig through the controls to find it (it is under Alignment, not Rotate/Flip), and use a slider bar rather than the more familiar gesture. (My guess is they hid picture rotation to reduce computer processing requirements and extend battery life, but it’s still clumsy.) My suggestions for improvement is a button that lets you pin the picture or bounding box to the screen (allowing you to manipulate the other one without worrying that you’ll accidentally move the first). Then make the picture rotatable and the cropping box nonrotatable, and reduce the number of hidden controls.

PS Mobile from Adobe Systems (free) is a mess. All the controls are modal, meaning you have to select the rotate tool before you can actually use your fingers to rotate the picture. There is no need for this extra step. The app also includes a wide variety of filters and special effects that are interesting, but not really my taste. I expected more from Adobe, the makers of Photoshop. But maybe they decided they didn’t want to compete in the sub $10 app space.

Finally, my favorite photo app is Autostitch (Cloudburst Research $1.99). It creates 2D panorama shots (which means it adjusts for the distortion in both the horizontal and vertical directions), The coolest part is that you don’t need to take pictures in any particular order. Just stand still and shoot as many pictures as you want in any direction, left, right, up, down. The app figures out how to match up the images to create the mosaic. The technology is based on research from the University of British Columbia. An example of a panorama, made from 27 shots taken in my backyard, is shown below. (Yep, just a typical sunny day in Seattle.)

The 27 individual photos from my camera that were used to produce the panorama shot at top of page. Photos by George Taniwaki

The process is surprisingly fast and seeing the end result is a lot of fun. Also notice how well it adjusts the brightness and contrast of the various shots. I only have one usability complaint. The method for picking photos to include in the panorama can lead to errors. You select pictures individually from an upper preview window and drag-copy them to a lower window. If the number of photos to include is large, you can accidentally miss some pictures or select some multiple times. It would be better to have a single window with a check box (or highlight ring) selection method.

The PowerPivot ribbon in Excel

by George Taniwaki

SQL Server Reporting Services (SSRS)For the past few weeks I’ve been using a beta version of Excel 2010 x64 running on Windows 7 x64. Doesn’t everybody? Well, everybody where I work here in Redmond does.

In addition, I’ve been using a great new business intelligence tool called PowerPivot. PowerPivot is an Excel add-in (built using the .NET Framework, for those who care) that provides a way to connect Excel to one or more SQL Server databases (and other large data warehouses) and generate pivot tables and charts. Normally, I wouldn’t be able to discuss new products prior to release, but a beta of PowerPivot has been publicly available for some time.

Prior to the introduction of PowerPivot, most people using Excel pivot tables were confined to reading data stored in spreadsheets or Access databases. This limited their usefulness since corporate data is rarely stored in these formats. You could try to connect to a large SQL Server or Oracle database using an ODC file, but I’ve always had trouble getting it to work.

The other alternative was to work directly in the SQL Server database and learn an entirely new workflow to create pivot tables. I’m a lot less comfortable using SQL Server as a reporting tool than I am with using Excel. If you’ve been intimidated by the idea of writing your own queries using T-SQL, creating your own OLAP cubes using SQL Server Analysis Services (SSAS), and creating tables and charts using SQL Server Reporting Services (SSRS), then PowerPivot is the tool for you. (On the other hand, if you are intimidated by the idea of using pivot tables in Excel, then unfortunately you are still out of luck.)

When you launch Excel after installing PowerPivot a new ribbon labeled PowerPivot appears on the far right (see screenshot at top of this blog entry).

Clicking on the first button of the ribbon will open a PowerPivot window which has its own two ribbons labeled Home and Design. Starting from the Design ribbon, you can import data from a database or report and create a pivot table by clicking a few buttons and filling in some fields. Really, it is that simple.

Home ribbon in PowerPivot window
Design ribbon in PowerPivot window

If you want to try out PowerPivot, you can download it from here. You will first need to download Office 2010 Beta from here. If you don’t have your own data warehouse, you can get sample data from here. If all this downloading is too much work for you, you can run the demo on Microsoft Virtual Lab.

And if you are the ambitious type, there is even a contest at http://www.exceleratorsquiz.com/challenge.html

Polk Marketing Workbench

PowerPivot is a big step up from my first exposure to desktop cross-tabulation software. Over ten years ago, as a market research consultant, I worked on a software project called Polk Marketing Workbench. It was also an Excel add-in. It was written in VB6 and was slow. It was also buggy and frequently hung or crashed. When that happened on Windows 98, it required rebooting, which made the experience even more agonizing. We were actually selling this tool to our clients, but as you can imagine, customer satisfaction was really low.