What is the semantic grid?

Whether you call it the Semantic Web or Web 2.0, it is obvious that in the web as we know it is changing. We have moved on from static web pages and simply links and will be moving towards more dynamic content, more intelligent links and better ways of integrating and collating information from different sources.

My new article, What is the semantic grid? looks at the semantic grid - an extension of the principles of the semantic web and how they will be applied to grid technology to make the interoperation of grids and the information and services they provide. Here’s the official intro:

The semantic grid uses metadata to describe information in the grid. Turning information into something more than just a collection of data means understanding the context, format, and significance of the data. The semantic Web follows this model by providing additional metadata that helps describe the information being viewed on a Web page, thereby allowing browsers, applications, and users to make better decisions about how to deal with the data. The semantic grid applies similar principles to the information used in a grid environment. In this article, we take a closer look at what the semantic grid is, how to use it, and what this will mean to your future grid applications.

Please click to get the answer to the question What is the semantic grid?

Free IRC Clients

I have a new article up at Free Software Magazine on free, terminal (i.e. non-GUI) based IRC clients. Here’s the extract:

In this article I’m going to look at a staple application of many user’s lives. No, not a web browser, but an IRC client. Internet Relay Chat (IRC) is a simple, but effective, way for multiple users to communicate with each other in an environment that most likely equates to your local bar.

Read on for the full article.

You’ve got grid!

One of the problems with gaining a wider usage of the grid and extracting more potential CPU cycles and resources out of machines is to make use of those machines that are not permanently connected to your network. For example, laptops and notebooks may only connect to your network when the user wishes to exchange email with the rest of the staff.

Distribution of work in this environment is more difficult because we do not have direct access to the machines in question and therefore cannot directly submit work to these machines as they are unlikely to be connected when work is submitted.

I’ve got an article over at developerWorks which covers the details on how to develop a proxy service to your grid by using email as the transport medium.

Build grid applications based on SOA

To the casual observer, you’d think that the Service Oriented Architecture (SOA) and Grids are going in completely different directions. In fact, the two are more similar than people realize. But to make effective use of the technologies that both SOA and Grid developers and users are employing we need to change the way we think about this components, not as two disparate components, but as a single methodology that can be adapted for both sides and allow cross pollination where necessary.

The intro summary reads like this:

Grids and the Service-Oriented Architecture (SOA) are two systems that appear to be on a collision course. The SOA is a standard for building discrete services, potentially across multiple machines, which can be combined to build an application that reduces integration costs. Most modern grids employ Web services like the SOA, but there is more to merging the two systems than simply employing Web services. You must also adjust the architecture of your grid solution. This article explains the concepts behind SOA and what you should consider when moving your grid applications toward an SOA model.

In Build grid applications based on SOA I take a look at the methodologies and principles that need to be adapted if we are going to use both technology groups to write and develop future, distributed, applications.

Here’s some comment and analysis on the article and the convergence of SOA/Grid technology by Greg Nawrocki.

Understanding WSRM

The Web Services Reliable Messaging (WSRM) standard is an extension of the web service model to allow secure communication of information between web services clients and servers. By secure, I don’t mean in terms of security or encryption, but instead in terms of the reliability of sending and receiving the messages. sing a combination of sequencing, retransmission and two-way acknowledgement, WSRM is a much needed alternative in a grid environment for exchanging vital information.

Here’s the intro extract from a new tutorial on understanding the basics of WSRM and its implementation at IBM developerWorks:

Discover how the Web Services Reliable Messaging (WSRM) standard defines an environment, sequence, and structure for sending and receiving reliable messages. The goal is for a WSRM-enabled system to transmit messages, even in the event of a network, platform, or simple application failure. In this tutorial, you’ll look at the WSRM specification, the basic mechanics of getting the system running, and an example of how the system works.

You’ll be looking at the WSRM standard, why you need it, how you can use it, and how the WSRM standard provides reliable message exchange. In particular, you’ll look at the following topics:

  • Reliable Messaging need
  • Reliable Messaging Model
  • Sequence example
  • Reliable Messaging protocol
  • Reporting faults
  • Using WSRM for grid communication

You can read the full tutorial.

Interview with Arnold Robbins, Maintainer of Gawk

I interview Arnold Robbins, maintainer of Gawk and author of Linux Programming by Example: The Fundamentals about his book, Gawk and how maintainers like me are kept in check.

Here’s an extract:

LP: Do you think there’s a need for such low-level programming guides?

Robbins: Yes, I do. It’s wonderful to program at a higher level of abstraction, such as what Java and Python give you, or in a different way, what the shell gives you.

But there are times when you’ve got to get as close to the metal as you can, and that calls for C or C++ and direct system calls. Besides, I think it’s kind of neat to see the clear relationship between the way the Unix system calls work and the semantics made available at the shell level (I/O redirection, piping), and that in fact it’s not really such difficult dark magic after all.

Read the full article

Understanding Web Services Distributed Management

The Web Services Distributed Management (WSDM) standard offers a way for you to publicize and manage machines and web services using web services and associated technologies. If you’re confused by that statement then you probably need to read my new tutorial, Understand Web Services Distributed Management (WSDM).

Here’s the abstract:

Management through Web services simplifies the numerous interfaces and solutions that provide management tools for network-attached systems and devices. These range from simple printers to more complex operating system management issues. The Web Services Distributed Management (WSDM) standard defines two different environments, Management Using Web Services (MUWS) and Management of Web Services (MOWS), that define the structure and environment required to support these systems. This tutorial looks in detail at the definition and implementation issues of WSDM and how you can use WSDM within grid environments for the management of grids and grid services.

Read on for the full Understand Web Services Distributed Management (WSDM) tutorial.

Rickford Grant, Linux Made Easy

Getting users to try Linux is only half the battle. The other half is showing them what they can achieve when using it. Linux Made Easy by Rickford Grant uses a task based approach to show how you can use Linux to perform your daily tasks; email, browsing, letter writing, even scanning and printing are covered in detail. I spoke to Rickford Grant about the book, why he chose Xandros and how the look and feel of the computing environment are more important to acceptance than the name on the box.

Linux Made EasyThe book highlights how easy it is to do your everyday tasks - email, writing letters, scanning documents - using Linux. How key do you think this is to the wider adoption of Linux?

I can’t help but think that it is extremely important. Until now, the image of Linux has been of a system for people on the geekier side of the compu-user spectrum, and I’d say the majority of books out there on the subject bear this out with their focus on networks, commands, and so on.

One of the reasons I wrote my first book, ‘Linux for Non-Geeks,’ and now ‘Linux Made Easy,’ was that most of the Linux books out there are so focused on that more geekish facet of Linux that it was hard to imagine a mere mortal having any reason to use Linux, let alone being able to do so. They certainly had that effect on me when I first got started.

As it stands now, the people who use Linux for its usefulness in specific applications, or who are in fact geeks, are, for the most part, already in the Linux fray. That being the case, if you are talking abut expanding the user base, then you are talking about business folks and your typical average Windows or Mac home users. If you want to attract those people, especially the latter group, then it is going to have to be clear to them that Linux is just as point-and-click sweet as whichever system it is they are considering abandoning in its favor.

This is where I see books, such as mine, focusing on those ‘everyday tasks’ you mention, as being of great benefit in expanding the Linux user base, or at least that segment of it.

Why Xandros? Are any of the other distributions you would recommend?

I picked Xandros because it seemed so very simple to deal with from installation of the system itself to installing additional applications. If someone wanted to keep their Windows system and create a dual boot setup, that was easy too. It also seems to handle odd hardware configurations pretty well.

Of course, there are some other good distros out there, but each of them has a limitation or two that I see as potentially problematic for a true newbie who, while interested in getting out of the Windows world, is not particularly interested enough in Linux per se to start geeking around in order to use it. Fedora Core and Mandrake/Mandriva, for example, are fine distros in their own right, but they have a few points that the target audience for my book might not care to bother with.

I hear good things about Ubuntu too, but I haven’t tried it myself yet, and I am sure that the non-graphical installer I hear it has will scare some folks away. After all, one of the big shocks to Windows users the first time they actually install Windows themselves (since most people get it pre-installed when the buy their computers) is that the installation process isn’t a completely graphical experience, nor is it an exceptionally easy one. I’d actually go so far as to say that most of the good Linux installers are far easier to deal with than that for Windows, and I have to say that the Xandros installer is about as easy as they come.

Do you think the wide range of distributions is a limitation of wider adoption, because it confuses new users, or they make the wrong decision and get scared off?

It’s hard to say, as it can actually work both ways. I know when I started out with Linux, I tried a few distros without any success. That acted to turn me off the idea of trying any further - for a while, anyway.

Part of the problem might just have been in the timing, in that Linux was not really all that non-geek friendly in the old days. After some time, when I finally did get my first distro up and running off one of those live CDs (Knoppix was the one, to be exact), I was then delighted that there were so many other varieties out there for me to move on to. I could just keep plugging away until I found one or two that I thought did the trick for me – sort of looking for the perfect pair of shoes for a person with big feet (size 13, if you’re interested).

The fact that there are so many distros out there allows users to escape the one-size-fits-all world that exists for other operating systems. Users can pick a distro that fits their needs best according to whatever criteria they may have. Of course, not everyone is interested in going through that diddle-and-dump process, which could be viewed as a negative. Fortunately, however, these days there are a lot of distros available that are pretty easy to deal with and can thus be recommended to those with less of an experimental bent.

Where do you think CD solutions, such as Knoppix fit into the role of encouraging more Linux users?

Well, as I just mentioned, Knoppix certainly did the trick for me. Unfortunately, not all of these CD solutions are created equal, and I had quite a few that refused to cooperate. They also run a bit slower than the real thing, and that can act to turn some folks off no matter how many times you tell them that it’s slow because it’s being run from CD. First impressions and all, you know.

Still, I think that the pros win out over the cons in terms of turning people on to Linux, as these live-CD distros allow people to get a feel for how normal and absolutely graphical Linux is without their having to fear ruining their Windows system – a sort of safe-and-sane way to give it all a try.

There’s been a lot of discussion about the usability of Linux on the desktop in comparison to Windows. Do you feel that the major hurdles to making Linux easier to use have been overcome?

I really do think so. I don’t see how Linux is any more difficult than Windows in terms of typical home or office tasks. In fact, in many ways, especially in terms of settings and such, I think it is definitely easier. Same with the actual installation process with most distros. Oh, but I’ve already mentioned that.

Are there any gaps in the Linux sphere for desktop users? For example, does Linux work as an effective replacement for mobile as well as desktop users?

There are a few gaps, but for the most part, they don’t have a major effect on most users. One of these gaps, of course, would be a lack of easy support for certain MS specific formats, such as streaming media designed for Windows Media Player. Users cannot, for example, go to MSNBC, click one of the video links there, and watch it. At least, they can’t do it without some tinkering.

There is also the problem of peripherals. Linux has to play a game of catch up when it comes to drivers for new devices, and thus it takes a while before support for such devices makes it to Linux. While this isn’t a problem for most people, it can be for those folks who like to go to the computer store, buy whatever odd device they happen to see on the shelf, and then use it. Users have to be a bit more concerned with hardware support than they do with Windows. Mac users might be a bit more familiar with the problem.

There is also the desire by the entities behind many distros to keep things as Open Source as possible, and to avoid any possible licensing violations, which is all quite reasonable. Unfortunately, the reason for all this is lost on end users. All they can see is that things such as MP3 support and encrypted DVD playback support are lacking in many distros, which can act as a turn off for some.

One of the key points about the book for me was that you spend all but one of the chapters working in KDE and GUI apps, rather than dropping to the ‘complex’ command line. Was this a key target of the book - showing just how use friendly Linux could be at all levels?

Yes. Those moving into Linux from Windows or Mac OS… or complete compu-newbies, for that matter, are sure to see commands as offputting and archaic. In fact, I was considering excluding that chapter altogether, but then I figured it had its uses in regard to JAVA apps and installing support for encrypted DVDs. Commands also give some folks the feeling that they are really ‘using’ a computer. Other than that, however, there isn’t really much call to resort to the command line, at least not in Xandros – or at least for the targeted audience of the book.

I have nothing against using commands personally, but they can really act to scare newbies away. And, after all, if you don’t really need them, why bother. That said, I thought it best to keep my discussion of the command line limited and to keep it last.

I get the feeling that you were scratching a particular itch with this book. Did you have a specific person in mind when writing it?

Yes, my long-time friend Steve in Los Angeles. He read my first book, was definitely interested, but ultimately not all that interested in going through the motions required to set up his own Linux system. I realized that while Linux for Non-Geeks was really a book for people interested in getting into Linux easily, there were still others who didn’t care all that much about Linux per se, and instead just wanted a really easy way out of the costlier Windows world. Xandros struck me as an ideal candidate for such people, and thus that is the audience towards whom I targeted Linux Made Easy.

I also tried to address some of his specific concerns, as well as others voiced in Amazon.com reader reviews and other such venues for my first book. The result is more coverage of how to do things with the various applications available in Xandros (and most other distros, for that matter).

It also seemed that a lot of people, once they have all these great pieces of software on their machine, have no idea of what they might use them for. I thus included some projects that readers can work through, which, in addition to showing them how to use the various apps, also serve to give people some idea of what they might consider doing with them. OpenOffice Draw is a good example. Lot’s of people can’t see any particular need for it, but I try to show them how to use it as a simple page layout application. I also try to provide greater coverage on how to deal with the more common varieties of peripheral devices.

Linux Made Easy strikes me as the sort of book that IT pros should keep on a shelf for distribution at will to users asking ‘do you think I should switch to Linux?’ Is that an example of where you’d like to see the book being used?

Well, as the author of the book, I’d like to see it on every shelf from Scunthorpe to Singapore, but, yes, that would be a good example of where it would be very useful. A pro could just hand it to an interested party to let them see that Linux needn’t be some mysterious freakish system out of the reach of the common man. I think it would work well as a text for workshops and the like too. And of course, I would hope that it would be something that would appeal to someone browsing the shelves at the bookstore.

Are you an exclusive Linux user?

Yes - well, almost. I do have one machine set up as a Windows/Linux dual-booter. I use the Windows side of that for basically two things: 1. to check things I need to refer to when writing these Linux how-to books, and 2. to play my favorite game – the Austrian card game, Schnapsen, which has yet to be ported over to Linux. I’m still crossing my fingers on that one.

Anything else emanating from your keyboard that we should know about?

I have all sorts of projects started, but I’m not sure which I will follow through with straight off. I suppose it depends on what publishers are willing to print. I am currently working on a newbie-friendly command book and thinking of an update to Linux for Non-Geeks, to name a couple of things. It’s hard to say what those will actually end up as though, in that things sometimes morph into totally different end products. I am also always working on a Japan experience book, but that is another ball of wax altogether.

Do you have a favourite author?

Wolfgang Hildesheimer has been a long-time fave, but then I suppose you’re talking about computer book authors, aren’t you? In terms of computer books, I don’t have a particular author that I would call a fave, but there are a lot of books that I think are rather good. As far as Linux books go, I think ‘Linux in a Nutshell’ and ‘How Linux Works’ are well worth having, though I wouldn’t necessarily recommend them for newbies.

Author Bio

Rickford Grant, author of Linux for Non-Geeks, has been a computer operating system maniac for more than 20 years, from his early days with an Atari XL600 to his current Linux machines. Grant spent the past seven years as an Associate Professor at Toyama University of International Studies in Japan before relocating to Wilmington, North Carolina

Linux Made Easy, Rickford Grant

Linux Made Easy by Rickford Grant is a companion to his original Linux for Non-geeks. Where the two differ is that this book is about how easy Linux can be for performing a myriad of tasks using a simple, skill-based approach. In this book, Rickford describes how to use Linux to do what you need to do: web browsing, sending email, basic document creation and using external peripherals like your printer, USB flash drive and scanner. In short, this book is about using Linux, from the perspective of ‘Your Average Joe’.

The book covers, and indeed includes, Xandros Open Circulation Edition, a Debian based distribution that just happens to include a number of key components for the target market, including OpenOffice, a key part of the toolkit required by many users to provide word processing and spreadsheet facilities.

Linux Made Easy

The contents

In consideration of the target audience the book is a meaty, but not imposing, 450 pages making it look both substantial enough to keep potential readers interested and yet not so large as to make them think twice about buying a ‘professional’ book.

The book starts off with the usual background to Linux and some considerations before moving straight on to the installation of Linux on your machine. Individual steps are split into ‘projects’, so in the installation chapter we have projects for booting your machine, creating a boot disk and the actual installation. Consideration is even giving for retaining your Windows partition in the process. Each project is a combination of discussion of what you are about to do, followed by a very detailed step-by-step account of the process, and then some follow up notes and information. To round off the first part, we get a quick introduction to the main parts of your new operating system.

By Part II we start getting in to the meat of the operating system, first looking at how to connect to the Internet (a required step in the modern computing world) before moving on to basic file management, removable media and finally the control and customization options available through the Xandros Command Center and finally how to keep your machine up to date through the Xandros network.

The next section concentrates more on using your machine for those day to day tasks, including printing, scanning, and connecting your digital camera and PDA. There’s lots of information here, from getting the equipment talking (including what to do when it doesn’t want to), through to actually scanning images, exchanging photos and PDA data. By the end of this section you should be up to speed in terms of duplicating the basic set up of a Windows environment and ready to start working and using your Xandros installation.

Part IV is all about typical applications and projects; listening to CDs, browsing the Internet and sending email, using OpenOffice and other day-to-day tasks. As with the rest of the book, there’s more here than you will find through a casual glance. The chapter on OpenOffice for example doesn’t just tell you how to open the various applications; you also get information on using them. Basic spreadsheet mechanics, including formulas and referencing cells make up one of the projects. Although switchers may already know, it’s nice to see that the book covers more than just the ‘’use this application for that task’ approach.

By the end of the book, and Part V, we are into the material which the book itself acknowledges is geeky: the command line. Although it contains the usual range of command line utilities and handy hints for making the best of a shell, it’s interesting to note that the previous 19 chapters have been entirely based on using the X Windows interface and KDE. Again, this simply helps to show that Linux is a credible alternative to Windows and that you don’t have to be a geek to use it.

Pros

Throughout, Rickford’s writing style is free and easy flowing. Despite the heavy step-by-step approach, you never feel like you are being treated like an idiot. Rickford assumes readers are going to be proficient in using a computer, just not proficient in Linux. To add to the lighter feel, chapters have interesting titles and subtitles and there’s a lot of humor in the book. This in turn makes the book incredibly easy to read while containing a lot of information. Even for a long-time Linux user there’s a lot that can be learned from the book.

The choice and range of topics is also a massive bonus. This book is aimed entirely, and squarely, at those people who want to try Linux, not with the aim of simply toying with it, but with the specific aim of actually using it to do your day-to-day tasks.

There’s a surprising chapter on Linux gaming which only covers the standard games provided as part of Xandros, but it helps to show to people that Linux is more than just an Internet and business application machine and really can be used as a full time replacement for Windows.

Cons

To be honest, there really isn’t a great deal to work on when it comes to problems with the book. There are a few formatting and stylistic issues, but nothing major. Just occasionally there are just a few too many screenshots and those provided seem superfluous, but for a user new to Linux these additional screens would be reassuring, rather than annoying.

Recommendation

This book is not for people already familiar with Linux, but it is a book that could easily be distributed to new users. Overall, the book would be an ideal item to keep on the shelf and hand over to the next person who asks you what to do when they get fed up of Windows. In fact, I’m tempted to keep piles of the book for just this purpose.

Improved application development: Part 5, Testing and verifying with Rational tools

The fifth and final piece to the Improved Application Development series is now available. This one looks at testing your application before the next phase of development or release. Here’s the abstract:

Testing is a vital part of any development process, and to perform adequate testing you need not only to identify faults but also to trace and track these faults, fixes, and the components they affect during each iteration of the development process. In this tutorial, you’ll learn about the integration between the IBM Rational software testing products and other tools used in the development process, such as IBM Rational RequisitePro, IBM Rational Application Developer for WebSphere Software, and IBM Rational ClearQuest.

The full article is on the IBM DeveloperWorks site.

Again, for a recap, you’ll want to read the rest of the series in sequence before you get to this one:

  1. Improved application development: Part 1, Collating requirements for an application
  2. Improved application development: Part 2, Developing solutions with Rational Application Developer
  3. Improved application development, Part 3: Incorporating changes in requirement
  4. Improved application developerment: Part 4, Part 4: Building a Web client

All the MCB Guru blogs that are fit to print