Technology archived articles

Subscribe to the RSS feed for this category only

Code and Knowledge management and Social networking and Technology29 Jan 2009 at 15:46 by Jean-Marc Liotier

I sometimes get requests for help. Often they are smart questions and I’m actually somewhat relevant to them – for example questions about a script or an article that I wrote, or an experience I had. But sometimes it is not the case. This message I received today is particularly bad, so I thought it might be a public service to share it as an example of what not to do. This one is especially appalling because it comes not from some wet-behind-the-ears teenager to whom I would gracefully have issued a few hints and a gentle reminder of online manners, but from the inside of the corporate network of Wipro – a company that has a reputation as a global IT services organization.

From: xxxxxx.kumar@wipro.com
Subject: Perl
To: jim@liotier.org
Date: Thu, 29 Jan 2009 16:22:32 +0530

Hi Jim,

Could you please help me in finding out the solution for my problem. Iam new to perl i have tried all the options whatever i learned but couldn’t solve. Please revert me if you know the solution.

Here is the problem follows:

Below is the XML in which you could see the lines with AssemblyVersion and Version in each record i need to modify these values depending on some values which i get from perforce. Assuming hardcode values as of now need to change those values upon user wish using Perl. Upon changing these lines it should effect in existing file .

<FileCopyInfo>
<Entries>
<Entry>
<DeviceName>sss</DeviceName>
<ModuleName>general1</ModuleName>
<AssemblyVersion>9</AssemblyVersion>
<Language>default</Language>
<Version>9</Version>
<DisplayName>Speech – eneral</DisplayName>
<UpdateOnlyExisting>false</UpdateOnlyExisting>
</Entry>
<Entry>
<DeviceName>sss</DeviceName>
<ModuleName>general2</ModuleName>
<AssemblyVersion>9</AssemblyVersion>
<Language>default</Language>
<Version>9</Version>
<DisplayName>Speech – recog de_DE</DisplayName>
<UpdateOnlyExisting>false</UpdateOnlyExisting>
</Entry>
</Entries>
</FileCopyInfo>

Thanks & Regards,
Xxxxxxx

From what I gather from the convoluted use of approximative English, the problem is about changing the value of two XML elements in a file. Can anyone believe that this guy has even tried to solve this simple problem on his own ? It is even sadder that he tries to obtain answers by spamming random strangers by mail, soliciting answers that will never be shared with the wider world. Least he could have done is posting his message on a Perl forum so that others with similar questions can benefit from the eventual answer.

Had he performed even a cursory Google search, he would have found that one of his compatriots has done exactly that and gotten three different answers to a similar question, letting him choose between XML::Twig, XML::Rules and XML::Simple. These are just three – but the Perl XML FAQ enumerates at least a dozen CPAN modules for manipulating XML data. The documentation for any of them or the examples in the FAQ would also have put him on the track to a solution.

Everyone can be clueless about something and learning is a fundamental activity for our whole lives. But everyone can do some research, read the FAQ, ask smart questions and make sure that the whole community benefits from their learning process, especially as it doe not cost any additional effort. Knowledge capitalization within a community of practice is such an easy process with benefits for everyone involved that I don’t understand why it is not a universally drilled reflex.

The funny part is that while I’m ranting about it and wielding the cluebat over the head of some random interloper, I realize that the same sort of behavior is standard internally in a very large company I know very well, because a repository of community knowledge has not even been made available for those willing to share. Is there any online community without a wiki and a forum ?

Ten years ago I was beginning to believe that consulting opportunities in knowledge management were drying up because knowledge management skills had entered the mainstream and percolated everywhere. I could not be more wrong : ten years of awesome technological progress have proved beyond reasonable doubt that technology and tools are a peripheral issue : knowledge management is about the people and their attitudes; it is about cooperation. This was the introduction of my graduation paper ten years ago, with the prisoner’s dilemma illustrating cooperation issues – and it is today still as valid as ever.

Free software and Jabber and Social networking and Technology and The Web24 Jan 2009 at 14:19 by Jean-Marc Liotier

Chat is supposed to be realtime conversation – and it often is. But just as some corporate victims live in Outlook (that abortion that Microsoft shoves down user’s throat as an excuse for a mail client) some fellow geeks live with an IRC screen at hand. Those people use IRC for realtime conversation, but not only. Soliloquy is widespread, and having a client with at least half a dozen tabs that are as many parallel conversations is a common occurence. IRC users were microblogging before the term was coined and web interfaces imagined.

People come to IRC channels such as project channels to meet the whole group. But just as often they come there to hang out with acquaintances, which they find spread accross various channels. Wouldn’t it be great if each user could have his own channel with just his friends ? This is what microblogging is : a people aggregator, just as any feed aggregator but for the people you want to follow.

I have had a hard time so far trying to convince my IRC addicted friends that we should use a Jabber MUC chat room in lieu of our usual IRC channel. Jabber MUC is superior to IRC in every way possible, but as much as we like to rail against the common user’s inertia to technological adoption, we are sometimes no better.

I believe that the problem was that Jabber MUC provides only marginal incremental improvement to their usage. And adopting a microblogging service is a huge stretch from their current use cases. I have therefore long been dreaming about a chat interface to microblogging that would meld the social power of microblogging and common chat usage patterns into a workable migration path for my IRC addicted friends. And there it is :

Screnshot of Identichat Jabber MUC

Neat isn’t it ? Jack Moffit mentioned it evasively in his article about filtering the realtime web and it piqued my curiosity.

From a user’s point of view, Identichat is about joining the Jabber multi-user chat at your_identica_user_name@identichat.prosody.im and you’ll immediately find yourself in a standard MUC room where the participants are your Identi.ca subscribers. The conversation is the microblogging stream that you would normally get at Identi.ca.

If you try to enter a notice, a help message in the chat window points out that ‘You can register using your identica account by sending !register username password’. Do that – not ‘/register’ as I mistakenly typed out of IRC habit – and you are set to use Identi.ca as any chat tool.

How is that different from a graphical Laconica client ? It is not a Laconica client, it is plain XMPP MUC that about every decent XMPP client supports. As you may know, there are Jabber clients for about every platform you can imagine including mobiles – even some like Mcabber which provide a user interface which will make the console IRC user feel at home. Identichat is not just another client, it is a gateway to a whole world of existing XMPP clients so that every user can use his favorite.

Identichat will help Laconica by eroding chat user’s resistance to change. And it could also foster new uses of microblogging as a thick client enables considerably accelerated interaction compared to a web interface. For now it could be faster – the turnaround latency is perceptible compared to IRC or XMPP MUC, and a helpful “line too long” message would be better than “Send failed : error 406”. But I’m nitpicking : Identichat is a wonderful tool that gives new faces to the microblogging infrastructure. An infrastructure that can show different faces to different classes of users has a great future !

Books and Technology05 Jan 2009 at 5:08 by Jean-Marc Liotier

I just turned the last page of “Singularity Sky” by Charles Stross. I was awestruck by the telephone rain and went on to finish the book the same night. That was a very unreasonable encroachment on my sleep time but I needed a dose of space opera.

I expected some exploration of post-humanism and I got all that. Socio-technological musings kept me entertained too. There were a few obvious winks at other authors, and probably quite a few others I missed. The universe felt a bit like Vernor Vinge‘s. Readers of Iain Banks will find themselves right at home too, although
Charles Stross‘ writing is quite a bit less intricate and the characters less developed. But if like me you are fascinated by the imminence of the technological singularity and appreciate science-fiction thrillers, this book is a nice read.

Identity management and Jabber and Knowledge management and Military and Mobile computing and Networking & telecommunications and Social networking and Technology and The Web23 Oct 2008 at 14:42 by Jean-Marc Liotier

I have become a user of Brightkite, a service that provides situational awareness in the geographical context. Once its relationship to user location information sources such as Fire Eagle improve, it may become a very nice tool, especially in mobile use cases where location reporting may be partly automated.

But even if they add technical value in the growing world of geographically aware applications, theses services are actually not innovative at the functional level. For example, in the ham radio universe, APRS is already a great system for real time tactical digital communications of information of immediate value in the local area – which includes among other things the position of the participating stations. And there is also TCAS, which interrogates surrounding aircrafts about their positions, and AIS which broadcasts ship positions and enables the entertaining Vessel Traffic Services such as the one provided by MarineTraffic. All these radio based systems broadcast in the clear and are not satisfying the privacy requirements of a personal eventing service. But that problem has also been solved by the Blue Force Tracker which even though it is still a work in progress has already changed how a chaotic battlefield is perceived by its participants.

“Where am I, and where are my friends ?” is not only the soldier’s critical information – it is also an important component of our social lives, witness the thriving landscape of geosocial networking. Geographic location is a fundamental enabler : we are physically embodied and the perimeter of location based services actually encompasses anything concerning our physical presence. So we can’t let physical location services escape our control. Fire Eagle may be practical for now, but we need to make geographical information part of the basic infrastructure under our control and available on a standardized, open and decentralized basis. The good news is that much thoughts have already been invested into that problem.

Physical location is part of our presence, and as you may have guessed by now, this means XMPP comes to the rescue ! We have XEP-0080 – User Location, an XMPP extension which is currently a XMPP Foundation Draft Standard (implementations are encouraged and the protocol is appropriate for deployment in production systems, but some changes to the protocol are possible before it becomes a Final Standard – as good as a draft standard RFC and therefore good enough for early adopter use). It is meant to be communicated and transported by means of Publish-Subscribe or the subset thereof specified in Personal Eventing via Pubsub. It may also be provided as an extension of plain vanilla <presence/> but that is quite a crude way to do it compared to the Publish-Subscribe goodness.

The rest of the work is left to the XMPP client. Of course, the client can show them on a map, just as Brightkite currently does. But I can also easily imagine an instant messaging contact list on my PDA where one of the contact groups is “contacts near me”. I would love to have Psi do that…

Economy and Email and Jabber and Social networking and Technology and The Web17 Oct 2008 at 8:17 by Jean-Marc Liotier

Some people notice I am quite dogmatic about open networks. And they are right : to me, open is everything and the rest is details. But even my zeal has its limits : I don’t gratuitously shove tools in the face of people who can’t use them in practical conditions. I have been advocating jabber among my technically minded friends since 2001 and running my own server since 2003, but it took Google joining the XMPP network in 2006 to actually make it a viable option for pushing open instant messaging to the masses of people I don’t want to support myself. Before that I could understand the necessity for joining proprietary networks and run multiprotocol clients to reach people I could not decently drag to Jabber or IRC. But now I can tell them that getting presence information and instant messenging from me is just a Google account away – and since it is a mainstream service offered by an established and well known service provider they can hardly anymore label me a techno-excentric for using it. So – no I will not join your proprietary instant messaging network.

Today we have the same situation with social networking. And while the technological prerequisites for open microblogging have been almost there for a while, they have not yet cristalized into something that can be fed to the masses. That day will come – and we are all pushing toward it. Until then, I have a Facebook profile. But soon I know that I’ll be able to tell the world that my social networking tool is my blog, or whatever other tools I fancy moving to and from thanks to data portability efforts. And it’ll be easy for others to do the same because interoperable services will blossom at the hands of mass-market providers – maybe even Facebook if they ever reach enlightenment. And when that is about to be ready for massive adoption, you know where I’ll be – and you know where I’ll not be anymore !

To me there is an element of religion in those choices. But the techno-apathetic average user can make the same choices out of pure self-interest. If there are a number of comparable offerings on the market, one of which lets the buyer choose between different suppliers and move between them at will, you can bet that the one-time cost of moving away from the proprietary offering will be more than offset by the future value of the open solution. If we look at the history of technologies, examples of such migrations are plenty. Let’s just take e-mail for example : what is the current weight of closed mail systems ? They still exist, but they are insignificant niches and many of them use e-mail for notification…

Free software and Technology and Unix16 Oct 2008 at 0:09 by Jean-Marc Liotier

Stumbing on an article by about why Free software and open formats are increasingly important as our lives are turning digital, I was suprised to read the following :

If I haven’t convinced you yet that Linux is going to take over the appliance world, I strongly suggest you look at Sony’s web site. There you can find a page full of television models going back to 2003, all of which run on Linux (for those essential moments when you must have the source code to your television, naturally).

Sony is such a big group that the right hand does not know what the left hand is doing – so I am not surprised that Free software is being used, although Sony‘s attitude toward it has had both highs and lows in the past.

Free software on a television is quite intriguing. Some of those televisions not only run the kernel, but also well known user environments such Bash, Busybox and Freetype. Would they be powerful enough to run a thin client with RDP or X11 ? Could they even run a media player ? I would not be suprised : as far back as 2003, Sony President and Chief Operating Officer Kunitake Ando said that “the TV will replace the PC as the center of online entertainment, running on a Linux-based platform for connected home electronics devices. If Sony implements that vision with adequate hardware running Free software, Sony televisions may one day be a tinkerer’s device of choice for the home entertainment projects that currently most often use a dedicated computer to display on the television screen.

Technology and The Web17 Sep 2008 at 19:34 by Jean-Marc Liotier

I just realized that Chrome does DNS prefectching and I would like to have that in a Firefox plugin. On fast links and older versions of Firefox, I used to enjoy Fasterfox – a plugin that among other speed optimizations prefetches link targets. Of course, that is a network intensive process that may not be suitable for general consumption. But proactive DNS resolving is a pretty harmless tweak that I would settle for – and the Fasterfox precedent shows that it is quite doable. Of course the paranoid prudent among us won’t like it, but that segment of the population knows how to turn off that sort of feature.

Design and Security and Systems and Technology09 Jun 2008 at 13:35 by Jean-Marc Liotier

Who these days has not witnessed the embarrassing failure modes of Microsoft Windows ? Blue screens of all hues and an assortment of badged dialog boxes make each crash into a very public display of incompetence.

I will not argue that Windows is more prone to failure than other operating systems – that potential war of religion is best left alone. What I am arguing is that failure modes should be graceful, or at least more discreet.

A black screen is neutral : the service is not delivered, but at least the most trafficked billboard in town is not hammering everyone with a random pseudo-technical message that actually means “my owners are clueless morons”.

Even better than a black screen : a low level routine that in case of system failure may display something harmless. Anything but an error message.

With so many information screens in the transportation industry, automated teller machines of all sorts and a growing number of advertising screens on roadsides, a properly and specifically configured system is necessary. What about “Microsoft Windows – Public Display Edition” ? Of course, users of Free Software don’t have to wait for a stubborn editor to understand the problems its customers are facing.

When the stakes are high enough, the costs of not managing risk through graceful degradation cannot be ignored. But let’s not underestimate the power of user inertia…

Brain dump and Military and Security and Technology20 Jan 2008 at 17:33 by Jean-Marc Liotier

In spite of the hype surrounding micro and nano UAV and how important they are becoming to winning the struggle for tactical information, I can’t find any reference about how to defend against them. As their current use is mostly on the strong side of asymmetrical warfare, it seems that the industry and the users have simply set the problem aside for now.

But it won’t be long before two high-technological forces equipped with swarms of nano UAV will find themselves fighting against each other, and they will both certainly clamor for a better fly swatter. Since I can’t foresee very large fly swatters being part of standard issue kit anytime soon, there is a clear need for some new form of air defense against air vehicles as small as a mapple seed.

Will we see micro air defense units in action, complete with toy-size automatically guided artillery, dust-like shrapnel and tiny missiles ? This heralds the appearance of new dimensions in the tactical environment, and those familiar with nanotechnological prospective will have recognized the first step of a downscaling war.

Meanwhile I think about the potential for pest control – selectively killing flying intruders seems definitely better than spraying nerve agents in my home…

« Previous Page