Practical Technology

for practical people.

August 12, 2008
by sjvn01
0 comments

The biggest Blue Screen of Death ever

No… Ah stuff; there I was watching the Olympics opening ceremonies when I thought, for just a second, that I saw a BSOD during the run up to the lighting of the Olympic flame. It turns out I hadn’t been spending too much time at the keyboard. It seems that during the lighting ceremony that Windows really had fouled up on the world’s largest stage.

You can see the evidence at the Australia’s Sydney Morning Herald. I wonder what newly retired Microsoft chairman Bill Gates, who was in Beijing for the Olympics, thought?

Adding insult to injury, the mis-behaving computer wasn’t running Vista. It was running XP.

More >

August 12, 2008
by sjvn01
0 comments

Provisioning on Bare Metal the LinMin Way

It’s one thing to install Linux or Windows on a system of your own, it’s an entirely different thing to install Linux or Windows on a couple of dozen to a couple of thousand PCs. That’s where LinMin comes in with the newest version of its flagship bare metal installation program, LBMP (LinMin Bare Metal Provisioning) 5.2
.
The fundamental fact of LinMin Bare Metal Provisioning is it does just what it says: It lets you install Windows and a variety of Linuxes, including Red Hat, Novell, Ubuntu, CentOS, Fedora and Asianux, on PCs and servers without operating systems. All together, LinMin can install and provision Lover 50 different versions and architectures of Linux and Windows.

Continue Reading →

August 11, 2008
by sjvn01
0 comments

Windows’ days may be numbered

Could Microsoft be switching away from Windows?

Some very interesting documents have been leaking out of Microsoft. They clearly indicate, believe it or not, that Microsoft is considering shifting its users from Windows to a new operating system: Midori.

And, when I say “new,” I mean new. This isn’t the kind of lip-service change that we saw with David Cutler and NT or Jim Allchin and Vista. Midori, under Eric Rudder, senior vice president for technical strategy, isn’t a cosmetic change; it’s a completely new operating system.

Midori is being designed from the ground up to be a distributed operating system running on top of multiple hardware systems and virtual machines. That’s one heck of a change from what has always been a single-user operating system designed for a stand-alone PC.

More >

August 11, 2008
by sjvn01
0 comments

Giving an old Windows hand some Linux advice

I see my colleague Preston Gralla is looking for the best Linux for a Windows pro. That’s a good question with several good answers.

Preston’s son Gabe gave him some excellent advice when he recommended Wubi. This is the Windows’ world easiest Linux installer. With it, you install Ubuntu 8.04 just like it was any other Windows application. Download it, click the install button and let it rip.

It installs Ubuntu, from the Windows’ user viewpoint as a single directory. You don’t need to re-partition your hard drive, burn a CD, or do anything that any Windows user doesn’t know how to do. Once installed, the next time you reboot your PC, you’ll have the option of booting into Ubuntu as well as XP or Vista. If you don’t like it, you just uninstall it just like any other Windows program. No fuss. No muss.

More >

August 8, 2008
by sjvn01
1 Comment

Three things the Linux desktops needs to do to beat Windows

San Francisco, Calif.–While at LinuxWorld at the Moscone Center in San Francisco, I chaired the panel on what the OEMs (original equipment manufacturers) that are pre-installing Linux on their PCs are up to and I attended another panel on what the Linux desktop architects have planned. One theme that showed up at both functions is: “What does Linux need to do to compete more successfully on the desktop?” We came up with several pain points, but some of them are clearly hurting Linux more than the others.

Number one with a bullet is one that most of you never think of but, trust me, the PC vendors and developers are painfully aware that Linux needs to do a much better job of managing power. With more and more of us doing our work on laptops, netbooks, and the like, getting the most out of battery life is becoming increasingly important.

More >

August 7, 2008
by sjvn01
0 comments

Linux Foundation launches killer development tool

Ask any independent software vendor what he hates most about developing for Linux and he’ll tell you that it’s having to develop for SUSE and for Red Hat and for Ubuntu and … you get the idea. The Linux Foundation has just released a beta of a new program, Linux Application Checker (AppChecker), that’s going to make ISVs and other programmers start to love developing for Linux.

AppChecker, now in beta 3, is a downloadable open source Linux program. Once installed, the program shows you a Web page, the LSB Database Navigator. Here, you click on the Application Check link. This presents you with a Web form interface to fill out. In this form, you’ll enter a name for your report and Name field, and in the Components field you’ll enter the file path for your application. Next, enter the application’s individual files, directories, installed RPM packages (prepended with pkg:),; RPM and .deb package files, and tar.gz and tar.bz2 archives. To make this manageable, click on the Select Application Components button so you can enter each item in a separate field. Next, select the LSB Version and LSB Profile you want to test against.

You then let AppChecker rip. It will automatically decompress archives and start testing. The program will check out your ELF (Executable and Linking Format, a.k.a. binary files), Perl, Python, and shell scripts. So far, this doesn’t sound much more than just another fancied-up version of the forerunner of all program checkers, lint, but it’s what AppChecker does next that will make it a must for any Linux software developer.

AppChecker then checks your program not only against different versions of the Linux Standard Base (LSB), but also against all the Linux distributions in the LSB Database. After the test is done it will present you with a report. It’s this report that makes AppChecker special.

In the Web-based report, you’re shown the compatibility status of your application with the various distributions, and which external libraries and interfaces your program uses. If all goes well, it gives you the option of putting your program in for LSB certification straight from the test program. It doesn’t just give you a thumbs-up or thumbs-down for your application on any particular distribution, according to Amanda McPherson, Linux Foundation vice president of marketing and developer programs — it “gives you the details you need to get your program running on a particular distribution.”

McPherson warns, “This is a beta program and there’s no guarantee, but yes, if AppChecker says your program should work with, say, Ubuntu 7.10 and 8.04, then your application should work on these distributions. The results can get very granular. It will tell you this library or this interface isn’t available in this distribution. It can also recommend some replacements. For example, OpenSSL is often a problem and you should use different SSL library.”

The program’s initial idea came from McPherson and Ted T’so, the Linux Foundation’s CTO and noted Linux kernel developer. AppChecker was then put together by T’so and the Russian Academy of Science. The program is licensed under the GPLv2.

According to AppChecker’s technical documentation, AppChecker works by analyzing your “program’s C/C++ symbols — mostly functions with some global variables — and libraries required by an application that are satisfied by dynamically linked libraries provided by a distribution.”

AppChecker isn’t a debugger. It doesn’t check that the “type information expected by the application matches the type of the object provided by the distribution’s libraries. For example, the layout of a data structure might have changed, or the function parameter that had previously been a 32-bit integer may have been changed to a 64-bit integer. Another problem that cannot be detected by the AppChecker is if the details of a function’s behavior changes from one version to another.”

What it does do is spell out for you what libraries and interfaces are provided by any given distribution, and make suggestions on which ones you might use as replacements to work on a particular version of Linux, or that will work on several different Linux distributions, McPherson explains. With this tool, you can quickly see what you need to do with your application to make it more portable across different Linux distributions.

It isn’t perfect, of course. Not only is the program still in beta, but some libraries and interfaces aren’t in the LSB databases. Still, it’s a huge step forward in enabling developers to see exactly what they’re dealing with in writing an application for multiple different versions of Linux.

AppChecker users can keep their test results to themselves, but McPherson hopes that they’ll share their results with the Linux Foundation. “If you choose choose to share your results with us, it helps the Linux platform and helps the LSB get better. For example, it tells us what libraries Linux developers are using that aren’t in LSB. We can then include [them] in the LSB, and that will make the LSB better.”

A version of this story first appeared in NewsForge.