Older blog entries for rmathew (starting at number 95)

JumpDrive: Reprise
Today I received a replacement for the dead JumpDrive USB drive from Lexar Media. I am happy with the wonderful customer support service from Lexar Media.
"BSA or just BS?"
Some time back The Economist published a small article titled "BSA or just BS?" (subscription required) that questioned the rather dubious statistical method used by IDC on behalf of the Business Software Alliance (BSA) to come up with an estimate of lost revenues due to pirated software and use that to lobby for even more draconian legislation.

In short, they asked a small group of users for the number of applications installed on their computer (ignoring free applications like Firefox, WinAmp, etc.), used the average number of applications per PC thus obtained to extrapolate to get the number of applications installed on all PCs bought in the country and subtracted the actual sales of applications to get their figure for the revenue lost due to piracy. Very bad and rather disingenious use of statistics that doesn't even stand up to common sensical analysis. So The Economist naturally called it a load of crap.

This apparently enraged the BSA which promptly wrote a gem of a letter that appears in the latest issue and that is worth quoting in its entirety:

SIR - Your article on software piracy was extreme, misleading and irresponsible (``BSA or just BS?'', May 21st). The headline was particularly offensive. The implication that an industry would purposely inflate the rate of piracy and its impact to suit its political aims is ridiculous. The problem is real and needs no exaggeration.
 
Beth Scott
Business Software Alliance
London
I found the deadpan assertion of the penultimate line rather funny.

The Economist also had an article on the recently released OECD report questioning the music industry's dubious assertions that the loss of sales of music CDs is entirely due to file sharing via P2P applications (and not at all due to the alarming lack of quality of the "music" churned out by the industry) which it then uses to convince legislators to come up with draconian laws limiting file sharing.

Sudoku Mania
The first time I read or heard of Sudoku puzzles was in an article in The Economist. A little over a fortnight later, The Times of India's Bangalore edition started publishing regular Sudoku puzzles of moderate difficulty and I have been hooked to them ever since. For those who can't get enough of them, there is also a GPL-ed Sudoku solver and generator.
Dumb's Up
It seems to me that either the manufacturers of cosmetic brands like Garnier, Dove, Fa, Biotique, etc. think their female customers are rather dumb or women willingly ignore the dumb and sometimes condescending text on the labels of many cosmetic products and happily continue to buy them. Perusing my wife's cosmetics collection, I am quite amused by gems of silliness like:
  • a moisturising cream claiming to include the mysterious "Acqua" and "Sodium Chloride" among its ingredients.

  • a skin cream showing off the thoroughness of the manufacturers in certifying it to be "dermatologically tested".

  • a moisturising lotion claiming to contain the cool "HydrOxygen Complex" (peroxide? water?).

  • a herbal shampoo claiming to have "Bio Henna".

Et Cetera.

I guess women would not really get worried about these things till these vile manufacturers start sneaking in Dihydrogen Monoxide into their cosmetics!

Advogato Abuse
richym, otomoto, smb, accord, dbit, sixtyk, gauss, jmors, greenj, odinv, etc. seem to be dummy accounts created just so that someone could play with Advogato's ranking system and perhaps use it to inflate their own certification.

Judy Arrays
A single data structure that allows ultra-fast searching, takes very little space and is also cache-friendly? "Judy Arrays" could to be the answer.

Government Bonds
Be careful when you buy that government bond.

Profound Statement of the Day
"One man's beard is another man's velcro."
Thus spake Lola Kutty.

Havoc in Bangalore
The past week was terrible for people in Bangalore. Almost every day of the week, the weather would follow the same pattern - it would get very hot during the day and then the evening would arrive with very strong winds, heavy rain and lots of lightning and thunder. Apart from the usual flooding of roads as well as the houses of some unfortunate folks and consequent traffic snarls, this time many more (at least 150, by most estimates) than the usual number of trees were uprooted. Most of these were Gulmohar ( Royal Poinciana ) trees that line many of Bangalore's roads and that look beautiful when in bloom. These trees seem to have awfully shallow roots for their size and they fell over electric wires, telephone wires, cable TV wires, vehicles, houses, etc.

So we have had intermittent power, noisy telephone lines, now you see it, now you don't cable TV, no internet connectivity, etc. in our house. Many people were much worse off. I hope this week would bring better weather.

As if this was not enough, the software engineers of Bangalore now have their lives made even worse by robbers. In the last few months, quite a few techies have been increasingly becoming the targets of robbers and muggers who perceive them to be "soft targets" with loads of money and offering little by way of resistance. In the last month alone, two people from my office were mugged in two separate incidents in the vicinity of our building in the night. Call centre and BPO workers have also been hit similarly. To make matters worse, the police commisioner thinks Bangalore has actually become safer in the last few years and quotes some questionable statistics to prove his point. We have already given up on our government which seems more eager to cling on to power by appeasing its coalition partners than bother to develop the state and the city.

Sort Your Environment Variables for Win32
It seems that the CreateProcess() Win32 API expects the explicitly-passed environment variables, if any, to be in alphabetically sorted order. It is documented in passing in the API description, but you have to really look out for it to notice it. Without doing this, you might find that the spawned process is not able to retrieve some of the environment variables you are passing to it. This also seems to affect programs spawned using Runtime.exec() in Java, so even if you do not work on Windows yourself, you might want to keep this in mind for your hapless users.

Thanks to Saju for the explanation and to Rahul for bringing it to my attention.

"How to Solve it"
I found this classic book on problem-solving by G. Polya to be worthy of every praise that has been heaped on it by generations of budding mathematicians and programmers. It requires a bit of perseverance and suspension of cynicism to fully benefit from this book. As with most self-help books (if I may use the term), the basic approach and the given heuristics are rather simple and "obvious", but the real benefit for the reader lies in appreciating their significance and in applying them consistently to solving problems. Very highly recommended.
gmane.comp.java.harmony.devel
Some kind soul has helped the Harmony mailing list be available on Gmane as the newsgroup "gmane.comp.java.harmony.devel". Thank you!

As was also observed by someone else, I find it rather amusing, and sad, that several years of effort on GCJ, Kaffe and Classpath did not seem to generate as much buzz as a single announcement of an intention by the ASF to create a J2SE 5 implementation.

"Technology and Courage"
"Technology and Courage" (PDF) by Ivan Sutherland. (Thanks Prakash!)

86 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!