Practical Technology

for practical people.

April 30, 2010
by sjvn01
1 Comment

Apple and Adobe’s war of words heats up

Steve Jobs anti-Adobe Flash rant is really quite a remarkable document both for what it says, and what it doesn’t say.

First, and foremost, there’s the fact that Jobs spends most of his time complaining about the Flash format and ignoring the real beef Adobe has with Apple. Sure Adobe doesn’t like that Apple won’t let Adobe Flash on its iPad/iPhone/iPod Touch platforms. But, that’s not what has Adobe executives ticked off to the point that they’re telling Apple to go screw themselves and that they’re quietly considering suing Apple.

No, what has Adobe ticked off is that Apple changed its iPhone SDK (software development kit) license so that developers couldn’t even submit programs to Apple that use cross-platform compilers. This blocks all Adobe developers from creating applications for the iDevice family. Worst still, Adobe had just finished building its latest master suite of graphic, document and Web development tools, Adobe Creative Suite 5, which included tools to port applications to the iPhone and all the rest. I don’t think you can blame Adobe for being a wee bit annoyed.

Officially, Adobe has thrown in the towel on iDevice development. Adobe isn’t taking this functionality out of CS 5, but Mike Chambers, the principal product manager for developer relations for Adobe’s Flash platform, has said that Adobe “is not currently planning any additional investments in that feature.”

You’d think that would be the end of it. It’s not.

More >

April 29, 2010
by sjvn01
3 Comments

Microsoft marches on Android and Linux

For years, Microsoft has made patent threats against Linux. Mind you, Microsoft has never proven, or even attempted to prove, any of these claims. That hasn’t, however, stopped Microsoft from using the threat of Linux patent lawsuit to force companies like Amazon into paying them off. Now, Microsoft has upped the ante. Microsoft has muscled mobile phone maker HTC into paying Microsoft off for patents that may apply to its Google Android-powered phones. In short, without actually proving that Linux is violating Microsoft’s patents, the Redmond giant is ‘taxing’ companies for using Linux.

We don’t know how much HTC is paying in royalties for these patents. In fact, we actually don’t even know what patents Microsoft is claiming that Linux-based Android may be violating. Both companies are hiding the specifics under a nondisclosure agreement.

Horacio Gutierrez, Microsoft’s deputy general counsel of intellectual property and licensing did say in a blog though, that “the radio stack–the functionality that allowed users to make and receive calls … still commands the highest patent royalties, on the order of 5% of the price the device manufacturer charges the mobile phone operator.” And, “the royalties for codecs (which encode and decode digital media) and other technology represent 1-2% of the price to operators. And now the industry is in the process of sorting out what royalties will be for the software stack, which now represents the principal value proposition for smartphones.”

So, if the software stack is where the “principal value for smartphones” lies, that means what? That the royalty payment should be, say, 4%? If that’s so, then $8 from every HTC Droid Incredible from Verizon Wireless, at its fully discounted price of $199.99 goes to Microsoft’s wallet. What a deal… for Microsoft.

More >

April 28, 2010
by sjvn01
2 Comments

Question: Why switch to Linux or a Mac?

Answer: Because, you can’t keep Windows secure even if you do the right things.

‘m no friend to Windows. I know the operating system too well to trust it. But, I did think that even though Windows is defective by design, you could keep it relatively safe by installing patches quickly and using anti-virus software religiously. I was wrong.

First, it turns out that one of Microsoft’s latest Windows patches just flat out didn’t work. Whoops!

This isn’t the first time that this has happened. But, what really caught my attention this go-around was that at just about the same time the news broke that a flawed McAfee Antivirus update knocked out millions of Windows XP computers. Talk about sloppy quality assurance! How the heck can a Windows anti-virus company release an update that locks XP computers into an endless reboot cycle?

More >

April 27, 2010
by sjvn01
2 Comments

Ubuntu 10.04: Where Ubuntu goes from here

The new Ubuntu release is almost here and I like the Ubuntu 10.04 desktop a lot. As a Linux expert, it’s a little too simple for my personal tastes, but it’s the best beginner Linux out of the box I’ve ever seen. That’s all well and good, but where Canonical, Ubuntu’s parent company really hopes to make money is from this latest LTS (Long Term Support) Ubuntu Linux for the server and the cloud.

Canonical CEO Jane Silber and Founder and VP of Product Design Mark Shuttleworth were candid about this at a noon Eastern Time press conference announcing the arrival of the 10.04 Server and Desktop. That said, Silber was also pleased to report that other companies are now shipping Ubuntu desktop on laptops from Lenovo in China and Sharp in Japan.

Shuttleworth also noted that Ubuntu’s basic design philosophy is going to center on making it ‘light.’ By this he meant both light as a distribution and light and fast to deploy both on desktops and servers.

The real breakthroughs for Ubuntu though, according to Shuttleworth, is in cloud computing. He said that Ubuntu 10.04 has two major themes. The first is that it will be exceptional in its speed of deployment and configuration. The second is its ability to scale. As far as Shuttleworth is concerned, for enterprise customers, “Ubuntu is the right platform for speed and scalability on Amazon EC2 and Rackspace.”

Shuttleworth added that he is committed to “making Canonical profitable in the enterprise market.” He knows it won’t be easy but he’ll “see it through” and Ubuntu is already “showing good growth” in the business market.

Part of this will come from Ubuntu 10.04 LTS server’s growing number of open-source and proprietary application providers certifying their applications on Ubuntu Server Edition. According to Canonical, “Almost 100 organizations have signaled their intent to certify applications on the platform, including Alfresco, Ingres, IBM, VMware, Zimbra, Yahoo! and many others with more expected to follow post-launch.”

“The range of industry, analyst and user support we are seeing for Ubuntu 10.04 LTS on server has the makings of a breakout release for this technology,” said Silber in a statement. “We can consolidate the significant technical advances we’ve made since the last LTS release onto a stable, secure and long-term supported platform that the industry is gathering around. This is exciting for us, for our partners and most of all for our users and I expect to see Ubuntu adoption accelerate as a core infrastructure layer for volume services and cloud computing in the world’s data centers.”

Canonical also announced that it has advanced several new hardware and software partnerships. The biggest news on the hardware side is that Dell will support the Ubuntu server and Ubuntu Enterprise Cloud as an option on its cloud-server PowerEdge-C line.

As for software, Adobe is also working with Canonical. Anup Murarka, director for Technology Strategy and Partner Development, Flash Platform, Adobe, explained in a statement that, “We are working with Ubuntu and other partners to enable certification of Flash Player 10.1 for Linux on the Ubuntu 10.04 LTS release, an exciting release for Linux-based desktops and devices.” This Adobe and Canonical partnership could lead to much bigger things if Adobe and Apple continue to fight.

Likewise, which makes a CIFS (Common Internet File System) server and supports AD (Active Directory) integration on Linux is also working with Ubuntu. In a statement, Barry Crist, Likewise’s CEO said. “By enabling Ubuntu 10.04 LTS users to quickly and easily integrate with networks on both desktops and servers, we support Ubuntu adoption in the enterprise.”

Put it all together and you don’t have just a new Ubuntu release, but the announcement of a major effort by Canonical and its partners to make Ubuntu a worthy competitor to Red Hat and Novell in the enterprise space.

A version of this story first appeared in ComputerWorld.

April 26, 2010
by sjvn01
6 Comments

USB Flash Drive RAIDers of Windows 7

It’s not especially easy to deploy, but Windows 7 supports simple software RAID. Here’s how to do it, using low-cost storage you already own: a bunch of USB flash drives. (I’d say I created a RAID array of USB drives simply to demonstrate the technique, but really… one reason to do this is because, well, I could. We techies can be so easily amused.)

There’s no such thing as enough disk room or a safe-enough hard drive. The moment you think you have enough hard disk space, you find yourself collecting high-definition videos or your hard disk starts whining and clicking. One solution to both problems is to use an ancient computing technique that dates back to when a big hard drive was 5 MBs and came in a casing as large as a washing machine: redundant arrays of inexpensive disks (RAID).

RAID has several benefits. The first is that RAID has the potential to deliver vastly increased data transfer rates. In theory, the input/output transmission rate of a RAID system can be more than ten times greater than a ordinary hard drive.

RAID pulls this trick off by “striping” data across the array’s disks. In English, this means that a file can be distributed across the array so that it can be read or written much more quickly. For example, With RAID, the system will place a file on the media so that while the first part of the file is being read from disk on one array, the second portion is already being picked up from disk two.

By enabling parallel data transfers, data throughput can be multiplied by the number of drives in the array. For example, a four disk RAID could have four times the throughput of an equal-sized single drive. A RAID that’s designed for speed and nothing but speed is called RAID Level 0.

The other major advantage of RAID is that you can mirror data from one drive to another, the most immediate form of backup one could imagine. Its disadvantage is that on RAID Level 1 you can use half a RAID’s maximum drive space for data storage. You also don’t gain the speed boost you get from RAID 0. Advanced versions of RAID let you retain more of the drive room while maintaining your data security. Unfortunately, in Windows 7, you can have one or the other, but you can’t have both.

Not for Most Users

You could, of course, buy a RAID hard drive controller or a full-scale storage area network (SAN) setup such as the Dell/EMC CX4-120. But, if all you need is to get more speed or more data security from existing Windows 7 PCs with multiple hard drives, why not use the tools that Microsoft has already put in the box?

If you opt for this path, you should keep in mind that this is not something you should trust even power users to do on their own. There are several ways to blow a RAID installation in Windows 7, and the worst of them will leave you with a drive that needs a visit to a repair shop, and possibly a user who needs therapy.

Also keep in mind that only Windows 7 Professional, Enterprise, and Ultimate support software RAID. If you’re going to try this, be sure that the PC doesn’t already support hardware RAID in its BIOS. If it does, you’re almost certainly better off using the built-in RAID since it’s very likely to provide much faster performance.

Setting Up RAID in Windows 7

With that in mind, let’s go over the basics. First, to set up a RAID using Windows 7?s built-in tools, you need to be logged in as the administrator. Your drives, or those portions you’ll be using for your RAID, must be the same size. In my case, I used a pair of inexpensive Best Buy 4GB USB Flash drives. A RAID of this size isn’t terribly useful, but I thought it would be interesting to use Flash drives in this way. Also, I couldn’t resist the temptation.

Once the drives (USB or otherwise) are installed and working properly, you’re going to end up blasting every last bit of data off them. That’s because normal, a.k.a. basic, drives with normal partition tables can’t be used in RAIDs. Instead, you need the drives to be set for dynamic storage. A “dynamic” disk can handle the spanned, striped, and mirrored volumes required for RAID. During this transformation, you delete the volumes on the drives and all the data therein.

To do this, head to Administrative Tools and Computer Management. Once there, under Storage, click on Disk Management. Pick the first drive for the RAID, and after making darn sure it’s the drive you really want, click on “Delete Volume.” Then pick out the next drive (you’re sure it’s that one, right?) repeat the “Delete Volume” until you’ve blasted all of them.

Then you move over to disk management to turn the drives into active disks and get rid of any pre-existing volumes.

If for some reason, this isn’t working for you, you can also accomplish the same thing from an enhanced command prompt; follow these instructions.

That destruction done, it’s time to create the RAID. Select the unallocated space in the first drive and right click on it. You are presented with four choices. You can skip the first one, simple (which, for all practical purposes treats as the drive as if were a basic drive). The next choice, New Spanned Volume, lets you treat multiple hard drives just as if they were one large drive. This technique, known by the name Just a bunch of disks (JBOD), can be useful at times, but since it’s not a RAID technology I won’t bother with it here.

The next choice, New Striped Volume, is where things gets interesting. If you elect to turn your drive (and its twin of course) into this kind of volume, you’ll end up with a RAID 0. In my informal testing, using my Mark 1 eyeball and PassMark PerformanceTest 7, I saw the average transfer rate increase by an average of 75%. Usually RAID 0 will produce a speed boost of about 100%, but I suspect what I was seeing was the result of an overworked USB controller rather than what you’d expect from Windows 7 RAID 0 with a more conventional setup.

Of course, the downside of creating an array of USB drives using RAID 0 was that my data wasn’t one bit more secure than it ever was. For better security, I needed the last available choice on the menu: New Mirrored Volume. With this, I created a RAID 1 drive. My two 4GB drives now gave me the equivalent of a single 4GB drive. In addition, my USB drives’ performance dropped by about 20%.

On the other hand, when I finally mangled the data of one of the USB drives — by repeatedly jerking one drive out of its socket with the fervor of a mischievous teething puppy let loose in a data center — I still had the data untouched and ready to go on its mirrored twin. As someone’s who dropped more than his fair share of laptops over the years, I can see how having an on-board mirror or an attached USB hard drive would be very useful at critical times.

Finally, I should note that during my week-plus of abusing and beating on these two generic USB drives to the tune of several thousand reads and writes, the drives held up remarkably well. While it’s commonplace to claim that a USB Flash drive can handle up to a million read and writes, I’m not sure I buy that. I am sure now, however, that even ordinary USB Flash drives, so long as they don’t end up in the washing machine, are likely to be good for years and years of ordinary use.

A version of this story was first published in IT Expert Voice.

April 26, 2010
by sjvn01
6 Comments

Android and Linux are growing back together

Google’s Android, the increasingly important embedded Linux, has had one major problem. It had been moving slowly away from the Linux mainstream. Now, after the recent Linux Foundation Collaboration Conference, Android and Linux are coming back together.

Not only is Google going to be hiring two new Android developers to work closer with the Linux kernel development team, they’re also working on re-merging its driver code with Linux. Indeed, the first series of driver patches that will bring Android and Linux back into alignment have already arrived.

The drift between Android and Linux first came to light as Ryan Paul noted last year when he wrote that “Google engineer Patrick Brady stated unambiguously that Android is not Linux.” Indeed, Brady had said that, but that was an over-statement.

Android is Linux. To be exact, its latest version, 2.1, Éclair, runs on the 2.6.29 Linux kernel. Its userspace, however, instead of being based on the various desktop Linux software frameworks such as GTK+, commonly used in the GNOME desktop or Qt, which is the basis of the KDE desktop is built on top of Dalvik. This is a Google designed custom JVM (Java virtual machine). While this means that using conventional desktop Linux API (application programming interfaces) or porting ordinary desktop Linux programs to Android is very difficult it hardily disqualified Android from being Linux.

No, what was far more troubling was that Google’s engineers were no longer sharing their device driver code with Linux’s development community. This led Linus Torvalds to drop these drivers from the main Linux kernel.

More >