lunatechian (lunatech-ian)

one relating to, belonging to, or resembling lunatech

Charlie Sheen

Charlie Sheen is in the limelight now, and even Scott Adams has weighed in his opinions. On my part, I would like to see a "Charlie Sheen" magazine. This mag would have sections completely opposite to the "Oprah" magazine. For example, instead of the "Book club", we will have "Good Porn" section. Instead of a "Health" section, we will have a "Drugs" section.

Caching is not a silver bullet

Let us take a this hypothetical situation. You have to serve a web page. You want the whole page to be sent back in 500 ms (milliseconds). If your user has a good network and he is not too far from your webserver, you can further assume that around 50 ms will be spent on the network. This means that you have 450 ms to collect all the data about this web request, do the fancy manipulations (sorting/filtering/updating files etc.) and serve it to the user. You need to make four external calls to get this data - 2 of them to an external web service and 2 of them to your own database.

Now assume that one of your external webservice calls take one second to send back the result 50% of the time and one of your database queries can take upto a second to give back the result 25% of the time. What will you do to make sure none of your users ever have to wait for more than 500 ms to get back the page? (500 ms excludes the time taken to download the images/css/do fancy javascript magic).

Read more on my website

Guns and Roses

Today is my Significant Other's birthday. Some measure of romance was added by these flowers that I put on the bedside for her in the morning

I treated her to a full day of fun.

First, I took her shopping to a few of her favorite stores and gracefully took the burnt :-) .

Next stop was at the shooting range, where we fired some rounds.

Today also happened to be the Halloween. We dressed up for the night and had dinner at a nice San Francisco restaurant on Valencia street. In case you are wondring, I dressed up as a well groomed man-witch. Throughout the dinner we were entertained by the Halloween party goers in their well done costumes.

Defined tags for this entry: ,

Death Song statue

The statue "Death Song" is one of the most moving pieces of art for me. I saw this statue at the Crazy Horse Memorial.

In my first viewing of the statue, it appeared to be the statue of a hunter standing over the animal he had just hunted.

I then read the description of the statue (quoted below)

"Death Song" depicts a heroic member of the Miwatani Society of the Western Lakota. The warriors of this elite group of fighters, called "Sash Wearers," would stake their sash to the ground in the face of an enemy attack. This allowed freedom of actions, but under no circumstance could the sash wearer pull out the lance and retreat-an action would bring scorn from fellow warriors and Tribal members. Only exceptional performance in battle would allow another warrior to remove the lance and permit the sash wearer to escape otherwise certain death. In the bronze sculpture, one warrior, with his sash pinned to the ground, is standing beside the body of his exhausted pony preparing to do battle, singing his "Death Song."

I did a double take after reading the description and looked at the statue from the side. I could see the stake and I could make out the horse lying on the ground.

The statue really amazed me. From the front, it appeared to be ahunter with his prey. But closer inspection showed it to be a warrior most probably making his last stand.

Defined tags for this entry:

Yoda was supposed to be a monkey

When George Lucas and screenwriter Lawrence Kasdan decided to make the ancient Jedi at the heart of Luke's spiritual journey into a two-foot tall, pointy-eared alien, it wasn't clear how the character could actually be realized on screen using 1980 technology. At the time, animatronic technology wasn't thought to be advanced enough to pull off Yoda. .... they decided to try putting a trained monkey in a Yoda costume, including a full Yoda face mask. Rinzler showed a picture of the monkey on set, but he explained this idea was quickly abandoned when one of the people who worked on the primate scenes in 2001: A Space Odyssey pointed out "Look, the monkey's just going to pull off the mask over and over again. It's never going to work."

In the picture, a monkey is outfitted with a cane and a mask and measured. The simian was also briefly considered for walking shots of Minch-Yoda that would have been impossible to execute with a puppet.

Pic taken from Vanity Fair

Defined tags for this entry:

make apt-get skip some packages in upgrade

When doing an apt-get upgrade on my Debian (Lenny) box yesterday I received this message

Since release 150, udev requires that support for the CONFIG_SYSFS_DEPRECATED feature is disabled in the running kernel. Please upgrade your kernel before or while upgrading udev.

This was holding back the upgrade of all the packages. Looked around a bit and it seems that the solution for this problem is to let apt know that we do not want to upgrade the udev package. The way to do this is echo "udev hold"|dpkg --set-selections and then run apt-get upgrade

Defined tags for this entry: ,

in today's odd news: Scientists use Calvin Klein cologne to lure jaguars

Biologists Rony Garcia and Jose Moreira from the Wildlife Conservation Society's (WCS) Jaguar Conservation Program rely on Obsession for Men, a cologne known for its complex scent, to help lure jaguars in the Central American country.

Note that this scent works on jaguars. There is no research of its effects on cougars :-D .

The discovery that Obsession for Men acted as a magnet for jaguars was the result of an experiment by the WCS's Bronx Zoo in New York. The WCS was looking for ways to get cheetahs in front of camera traps, and, after several years of testing with different fragrances, found spraying the musky Obsession For Men near the heat-and-motion-sensitive cameras drew the cats for longer than other scents.

Links:

Defined tags for this entry: , ,