All because of Mark Twain!

March 25th, 2011

The day started “normally” enough. Larkspur Landing is an Obama-ish “likeable enough” extended stay motel, with the usual universally bad “continental breakfast.” But it was raining in San Jose, so my options for having something more edible were nil. I  had more than an hour to kill before leaving for the airport. So borrowing an umbrella from the hotel clerk, I walked to the  book store across the street, which is going out of business, to pick up something for C. It is certain that I picked the wrong book,  ”The Bible According to Mark Twain”  because of the events that unfurled afterwards.

After living in the arid climates of Colordao and Utah for years, I might have forgotten that one gets wet if one walks in the rain. For when I returned, I had to change the dress.

Real events of the day began at the airport. After clearing the security, I still had over an hour to spend and grabbed some lunch. Having plenty of time, I just ambled  to gate 18, for the flight to Salt Lake City. When I reached there, it looked right: showed the destination to SLC, the correct flight number and the departure time. The only odd thing was that they had almost completed boarding. Anyway, I joined the line and the Delta gate agent scanned my boarding pass and let me in.

I entered the plane, which was crowded, and started looking for my seat, 9C. I saw rows 1,2,3, 4 and then 10! What? I looked around to see if I missed something. No everything was fine. Puzzled, I called the stewardess. She took my boarding pass and said “So you are going to Salt Lake City?” I said “Yes.” “But we are going to Minneapolis!” My reaction was, “how did I end up in this plane?” She goes “We have already two other exactly the same case!”

The gate was already closed. I sprinted, knocking out (I hope!) other passengers and setting off alarms! Yes, the alarm did go off when I opened the closed gate from inside. But they knew what was happening and, I am glad to say, I was not immediately surrounded by a dozen pot-bellied TSA officials! Fortunately,  the “real” gate to SLC flight was next door and I rushed in, only to find that they had not even started boarding! Well, even in this near panic mode, I did not fail to notice that the gate agent was very pretty and that she was charmed by the innocent tribulations of a handsome genius!

If something could go wrong, it will. So said Mr/Dr/ Murphy. Thanks to the incessant rain and strong winds (by Boulder/Cedar City standards, just breeze), we sat on the tarmac for 40 minutes before taking off. When we touched down in SLC, an hour and 15 minutes later, my connection to Cedar was just about taking off.

The Delta customer service agent checked with another supposedly existent agent, for I only saw him talking on a phone, and found that the delay was caused by weather and ATC. He said “If it is ATC,” after seeing my blank face at that non-facebook-non-twitter-non-talking-head acronym, he elaborated, “Air Traffic Control”, the “airlines don’t take up the responsibility and the best we can do is to check you into the next flight.” Well, the next flight was scheduled for next day, for Cedar gets the heavenly and honorable visits from Delta (the only airline that serves Cedar) only twice a day. The only other option was to book me into the 9:30PM flight to St. George, about 50 miles from Cedar. I agreed, hoping that Mr. Samuel Clemens’ masterpiece would be compensation enough to make C pick me up.

Now I had four hours to kill. Fittingly, I resumed reading Robert Heinlein’s “The Puppet Masters.” That is a classic. However, I could not continue that for long, thanks to a pair of (nearly) 44 years old eyes which are beginning to complain a little. So I switched to a “meshing issue” that we are facing in my project.  I and my manager had a discussion on the topic and had formed an initial impression that it may be a difficult one to resolve. I was hoping that it would keep me occupied until the flight departed. Alas, that was not to be. In about half hour I realized that we were looking at it from a wrong angle. May be the Puppet Masters helped. Or may be, Mark Twain’s gods felt compassionate. Either way, I had the basic solution worked out in less than 45 minutes. Still had about two and half hours to spend. Back to the puppet masters.

Finally, we boarded the flight on time. I found my seat and sat down. It smelled like a toilet or a hog farm, literally. I thought may be someone threw up or had diarrhea. I turned to my fellow passenger, an old man, and said “something smells.” He said “It’s my cat. He has been travelling all day with me. I cleaned him up a couple of times, but he is sick.” My internal reaction may not have pleased any of those animal-rights freaks. So I was to put up with the stink for the rest of the flight. Oh, well.

But something happened during take-off. The cat meowed. He was afraid and sick and it was pitiful. I remembered Oscar, our cat that is not ours. Suffice to say that I did not feel disgusted any more.

For once, we arrived on time in St. George. C was supposed to be there, but she wasn’t. I called her cellphone. She said “I am at the airport. It is all dark here and just one car parked. I am in front of the passenger terminal. Where are you?” I tried to explain. After a few minutes of this conversation there arose a doubt. I asked a fellow passenger, who was waiting for his ride, “Is there another airport in this town?” “No. But this is the new one!”

It turns out that about two months ago, St. George had opened a new airport and all the services operated from the new facility. We both didn’t know that. From the fellow passenger, we got the directions to the new one and it took another 20 minutes before C found me.

It was 11:30PM. We reached home around 12:30PM, more than 12 hours after I started on a trip that should have, ideally, lasted only 5.

I am certain in my heart, and amply supported by my gut feelings, that it was all because I bought a blasphemous book. I should have known better, especially since I was flying into a state that has very close relationships with the One.  Hindsight, as the saying goes, is 20/20.

I have sinned; Please forgive me

October 23rd, 2010

Please forgive me, I have sinned.

Have you been following the recent Apple announcements? Especially with respect to the Mac Store? It bothers me tremendously and I am seriously considering ditching the Mac and going back to BSD/Linux. Here’s an article that summarizes pretty much what I think:

http://gawker.com/5669083/beware-the-garden-of-steven

The sad realization is that I have become addicted to the convenience offered by mac. One click back-up. My Amazon W3 account appears as a disk on finder, just drag and drop what I want to save in a cloud. Bad habits have accrued. Why, I use the search to launch applications, too lazy to even navigate to the Applications folder. Too lazy to open files when I can get a quick view at the pressing of a key.
But I have lost something in the process. I can no longer remember which files in /etc are fun to tweak. Haven’t built gcc from scratch in over five years. Never built my most favorite of all applications, the emacs, in a decade. I am not sure if I can do it any more.
There was a time when I setup procmail and created my own filters. While searching for something, I ran into a mail setup I had used back in 1999 and asked myself: did I really do that? I recently had to re-read ssh configuration and the difference between SSH1 and SSH2.
One could argue that they are antiquated technology, but they offered freedom. They didn’t let me watch Jon Stewart or Stephen Colbert on a web browser; neither did they let me listen to Yesudas streaming in from youtube. But I could run my machine on a single user mode with everything turned off, so that I could precisely time my algorithms. It also let me squeeze every last byte of the meagre 64MB to solve a 30k unknown problem.
Today, I use Xcode to build and debug my home projects. I have forgotten how to create a makefile and try to avoid them — not that makefiles were the best. I use TeXShop to compile/view my documents with BibDesk providing the convenience of organizing pdf files with their citations. I use LaTexIt to create images of mathematical equations that can be embedded in say, a word, document. In the process, I have forgotten how to use ps2gif, the TeX environment variables and even hacking out TeX macros.
It has come to the point that it is almost a badge of honor to say that “I don’t bother with those any more; my mac does it for me.” Except, if the Mac chooses to restrict me from doing it, I can no longer trash the offending pieces and replace them with what I want.
There is the key. If anti-intellectualism has become fashionable in life today, I have contributed to it by  choosing options that relived me from thinking. And, that is my sin.

FFTSVD: Where are the inconvenient results?

September 2nd, 2010

I was studying “FFTSVD: A Fast Multiscale Boundary-Element Method Solver Suitable for Bio-MEMS and Biomolecule simulation” by Altman et. al .

There are a few things that bother me about this paper. First, it is essentially a combination of ideas from  Kapur & Long’s SVD approach, the precorrected FFT, and a variation of the generalized FMM.  They use a low-rank approximation to construct what they call as the “dominant”  sources and responses. This uses a rank-revealing QR decomposition with re-orthogonalization for every box/node in the hierarchical oct-tree structure. Then, in order to integrate the pFFT ideas,  a set of equivalent grid-sources need to be constructed. This needs the evaluation of the potentials at pre-selected observation points and sub-sequently a Moore-Penrose inverse. Again, this needs to be done for every box/node. Essentially, the algorithm requires the setup operations of both pFFT and the SVD approaches. Unless, of course, I have missed something obvious and being dumb.

If my understanding is correct, then this algorithm must be terribly expensive to setup. Curiously enough, the authors do not report any  results on the setup times. Nothing. Zero.

They do, however, report  matrix-vector product timings, which show moderate improvement over existing techniques. Nothing breath-taking there either (less than a factor of 2 at best).

From a user’s perspective, it does not matter if we can get 10 times or 100 times speed-up for matrix-vector timings. What matters is if the over-all time is significantly reduced. Again, there is no report on those timings either.

My question is to the editor and the anonymous reviewers: how could you possibly accept this work without asking the most obvious and most important question? What were you doing?

Oh, well.

Desparado Dual: A Disappointing Experience

August 22nd, 2010

The scenery was beautiful for the most part. So was the weather, except the last 30 miles when there was a stiff head wind. But the overall experience was downright poor. Why? See my letter to the organizers below. I will post their reply if and when I get one.


Hello,

My name is Sanjay Velamparambil and I participated in the 2010 Desperado Dual (Century option).

My experience in this event was dismal, to say the least. There are several reasons for this, which I will discuss below. The purpose of this mail is to make you aware of my disappointment with the way the event was conducted with the hope that you will take appropriate measures to improve it in the future.

1. Number of rest stops: I am a recreational rider who participates in these events for fitness and enjoyment. At my level, I need breaks roughly one hour apart. Having just three rest stops is woefully inadequate. I am sure that I am not the only one with this need. It would be far better if there were stops for every 20 miles or so. Granted, the second rest stop was after a predominantly downhill leg, so it could be a little farther placed.

2. Food supplies at rest stops: In your website, it is claimed “Fully stocked rest stops, a great lunch, post ride dinner and more!” This is an unrealistically gross exaggeration. Rest stop 1 was alright with sufficient food and water. However, Rest Stop 2 was poorly stocked. It had nothing more than dry Nature Valley bars and some pretzels. Considering the fact that this was after 57 miles, this is the one that should have been well stocked. Instead it was the worst. Some bananas and fruits would have added a greater value to this stop.

3. Section on US89: Considering the geography, it is known that there will always be strong south winds. The effect of these winds is particularly severe in the section from Circleville to UT-20 junction. Average recreational riders are reduced to moving about 10-13mph in this section. Thus, it requires approximately 2.5 to 3hours to reach Panguitch from Rest Stop 3. Given the fact that a rider typically drinks approximately one bottle (21oz) of liquid per hour, it is practically impossible for someone like me to ride the last section without running out of water with two water bottles. In fact, I did and had to depend on the kindness of a fellow rider’s father, who was giving a personal sag, to get some water and finish the ride. This is completely unacceptable. If there was a rest stop or, at least, a water station between Rest Stop 3 and the Finish, this wouldn’t have occurred. This is especially important since there are no places, not even a gas station, to refill the bottles on US-89.

This is disgraceful.

4. Sag/support vehicles: I saw only one sag vehicle that had clear sign indicating the same. This was before reaching Circleville. On US-89, I never saw this vehicle again, to flag down and ask for water. It would go a long way if the sag wagons were well marked. This is a detail that is very important on US-89 where the traffic is fast and fairly heavy.

I have participated in many organized rides, including some multi-day ones. So far, this has been my worst experience. I will not recommend this ride to any of my biking friends until these issues are satisfactorily addressed.

Sincerely,
Sanjay Velamparambil

PS: I will be posting this letter to my blog and also any reply that I would receive from you.

A Tribute to a Song

July 30th, 2010

It’s about 10:45AM. I have been digging deep into a nasty condition number issue, an unfriendly, never too far away, companion of every numerical analyst. This unwelcome figure has been mocking me from a tiny matrix  and my arsenal is running low.

The song has been echoing in the deep canyons of the mind since morning. It is a favorite  of my brother and I had called him this morning when the song emerged, for once, from the depths. Then, as the insanity of the problem in front consumed my attention, it faded away.

I sit up, juggling the alternatives in mind. Adding just one equation raises it from 10^11 to 10^21. Why? Should the current continuity be enforced explicitly? Or should I leave the reference undefined?

I don’t know at this point in time. Perhaps, the error is in my mind.

The song emerges from the shadows, again. This time, I don’t resist. It is not hard to find the link in youtube.  The music of Devarajan and the divine voice of Yesudas fill my office. “Sourayudha pathathilengo, sangama poo virinju...”

And, for a few minutes, condition numbers and matrices seem to become abstractions in an alternate reality.

The day is still young.

Buddhism 101 for Recreational Cyclists

July 20th, 2010

According to the legend, Buddha attained enlightenment while meditating under a bunyan tree. Well, while riding up the nasty Cedar Mountain recently, I realized the Four Noble Truths of climbing:

  1. There is Suffering: every inch of your body is crying out loud “stop!” and yet you continue to pedal.
  2. There is a Cause for the Suffering: you chose to ride up the gnarly hill/mountain in the neighborhood to satisfy your own ego and for the bragging rights. You put your Ego ahead of reason.
  3. Cessation of Suffering: yes, there is an end to the suffering and you can realize it in this life time.
  4. The Eight Fold Path to end the suffering: Before you choose the next ride
    • Know that you are not a Marco Pantani or an Andy Schleck
    • Know that you generate only about 175 watts and not 350 watts, on the average
    • Know that riding up the steepest hill does not necessarily make you a stronger or better rider
    • Ask yourself: what is the purpose of this ride?
    • Know that gears are there to be used
    • Know that the Wind is not really your friend on a long winding climb
    • Know that the pain may not go away even after you stop pedaling

    and the most important of all

    • Forget the Four Noble Truths; Ride Anyway!

A Loop-Tree Conundrum and a note on Scientific Integrity

June 16th, 2010

For the last couple of weeks, I have been trying to understand the so called loop-tree and loop-star basis functions used in CEM. I had a very simple case implemented in bbmm, but that was only tested at higher frequencies. Last week, I started testing it at very low frequencies, down to about 3Hz, on simple geometries. It produced nonsensical results. Naturally, intense debugging followed.

Read the rest of this entry »

Braffit Mountain: A tale of testing the limits…

April 27th, 2010

About 15 miles to the north of our house in Cedar City, there is a semi-developed mountain called Braffits Mountain. There is a paved road that goes all the way to the top, a rarity in this part of the world. The very first time I saw this road, while driving to Cedar on I15south, I thought of riding it up. Except, at that time, I had no idea how difficult it was.

After moving, a friend of ours told how difficult it was. So Carol and I drove up one day. It turned out to be very steep indeed. Here’s a route map.

Read the rest of this entry »

For the texting-crazy world: How to spell Starbucks?

April 23rd, 2010

*$s

Get it?
Copyright (C) 2010 Sanjay Velamparambil. All rights reserved.

Wirelessly Powered Television: Is it moral?

January 16th, 2010

This site is not about  politics or morality. I am not an environmental activist either. Yet, I am forced to write about a technological development that is disturbing me from exactly those perspectives. The object of my current dilemma is the recently reported wirelessly powered television.

It is a fascinating technology, although, as an electrical engineer, not surprising. James Maxwell and Michael Faraday would have just nodded at the development.

What bothers me is the power consumption. Commercially available 32″ LCD televisions consume anywhere from 90W to 140W according to a CNET comparison. Now, that is not an insignificant number, compared to that of smaller electronic devices like cell-phones.

According to one report, 25% of the energy is lost in transmission when one such wireless technology is used. And, according to Sony’s own press release, their transmission efficiency is only 60%. So, if we take the power consumption of a 32″ LCD television to be 100W, the actual power needed to operate it wirelessly is about 166W if we were to use Sony’s technology. The lost power is more than sufficient to light a small room in a house, let alone the number of smaller devices that can be charged with it.

The world is currently scrambling for energy. One of the root causes of the two wars this country is  currently fighting  can be traced to our need for cheap energy, in one form or another. There are millions of people around the world who do not have electricity  for their basic needs.

As someone who has spent much of his adult life studying electromagnetic theory,  I like the theoretical elegance  of wirelessly transmitted power.  However,  I am asking myself: would it be moral for me to use this technology in my home?