Wednesday, April 11, 2007

Funny: Pistachio Laptop Cooler

Image Hosted by ImageShack.us

My roommate's Sony Vaio was running exceptionally hot during one of his extended cyberchatting sessions. He's too lazy to go out and buy a laptop cooler, and can't afford to shut the machine down for a few minutes. So this is his innovative way to cool his laptop: Place it on a bowl of Pistachios. The pistachios are a very effective cooling agent for laptops - please call a computer researcher to confirm this :)

(As a side effect, the pistachios will last longer too)

Tuesday, April 10, 2007

Linux: The non-stop performer

I am hosting five websites from my home server using Linux. This "server" is a very old computer barely capable of running modern operating systems, but is running Apache web server on Ubuntu Linux successfully. I had configured this as a server many months back, and then just forgot about it. I never had any downtime problems so far (except once when I filled up the entire 1GB HDD by installing some updates leading to a kernel panic), and no crashes!

Yesterday, I just remembered I have a web-server which has been running all day and all night, and I became curious how many days it has been up. I checked, and here is what I saw:




The server was up for 91 days non-stop! I didn't have to worry about it at all! This is truly great, and I can now feel why the Linux community is so enthusiastic about their software!
Thank you Linus!

Thursday, March 15, 2007

MacBook insomnia

My MacBook bought 7 months back was working flawlessly until recently, when it started failing to sleep when I close the lid. This used to happen once in a while, and I had to reboot it to fix it. But the problem returned after some time of use.

The failure to go into sleep mode took some serious turns two weeks back when the MacBook would never go to sleep whatsoever, reboots after reboots. I didn't install any new applications as far as I remember, nor did I change any hardware in the MacBook.

I repaired permissions, repaired the disk, to no avail! I even reinstalled the entire Mac OS X and updated it completely, didn't work either. I reset the PRAM etc. as described on Apple support website, even that didn't solve the problem.

Now the status is, the MacBook can go to sleep if it's rebooted freshly. But as I keep using it, it fails to go to sleep, and the only way I can transport my MacBook to school is by turning it off completely, which is quite like a Dell notebook (in fact, worse) and I don't like it.

The Apple website doesn't mention anything about MacBooks failing to sleep. Searching on other Mac help sites has revealed that several people have this problem, but there is no solid solution.

Can someone help me?

Monday, January 08, 2007

My first experience with Linux kernel panic

I was running a web server from my apartment using Ubuntu Linux. During vacations, I traveled to Washington DC and was managing the server by SSH. I installed a kernel update, and then the server wanted restart. After restart, I couldn't login!

Sending a (-technologically challenged) friend for investigation revealed that the server now has a kernel panic each time it boots up. This was because I filled up its capacious 1GB hard drive by installing the update, and that led to kernel panic.

I agree not many people are running Linux on a 1GB hard disk. Still it has ruined my server in no time at all! My suggestion to the Linux developers is to have an intelligent software updater that can recognize updates that will fill up the entire HD. It should be pretty simple to do, just takes some thought.

Sunday, November 05, 2006

Socrates and his teachings

Socrates was a Greek philosopher who remains an enigma to the world. He never wrote a book, but still influenced the philosophical and political realms of his times significantly.

Socrates said that good looks and proper bearing pave way for a man's political prospects. Though originally stated in the context of contemporary politics, the statement stands true when generalized to the social setup of current times. Simply stating, good looks and proper bearing pave way for a man's social prospects in current times.

Socrates taught by asking a series of questions - one question leading to another. This is branded as "Socratic method of teaching". Some people also call it the "Didactic" method of teaching. The questions asked cause one to explore his beliefs and knowledge, thereby eliminating doubts in small steps. This is a negative method of hypothesis elimination where you strive to gain knowledge by removing your doubts, rather than gaining "knowledge" as it is. The latter could be equivalent to spoon-feeding sometimes.

Socrates said that wisdom is limited to our own ignorance - the more we learn about ignorance, the more knowledgeable we will be. This again propounds the philosophy of learning by elimination of doubts.

Socrates was against the pursuit of material wealth (e.g. money and leisurely comforts) and spent his life like an ascetic - though sometimes he was mistaken for a madman. This "renunciation" of worldly pleasures goes in line with some of the Oriental philosophies, but renunciation in the West was perhaps never popular, other than Socrates.

We should concentrate more on "friendship" and "community" rather than pursuit of material wealth. Friends and family are our real bank-balance.

Socrates could feel a "daemonic" voice inside him whenever he was about to make mistakes. He was able to recognize this voice, and take necessary actions to prevent himself from making mistakes. This is sometimes described as a synonym of "intuition", but some of Plato's writings suggest it's a slightly different form of intuition in the sense that Socratic Daemonic Voice principle incorporates more spirituality and philosophy than simply acting on natural patterns. It is possible to cultivate your skills to listen to the Daemonic Voice, so that you can reduce the chances of making a mistake, or perhaps eliminate them altogether.

Socrates considered "creativity" a form of "divine insanity" which is a gift from God, that makes us to write poetry, fall in love, and think about the meaning of life. This is in line with one of Gandhi's sayings that "Freedom is not worth having if it does not include the freedom to make mistakes." In fact, making mistakes is sometimes deemed essential so that you can identify the factors that caused the mistakes, learn from them, and thereby move one step closer to knowledge.

Socrates placed heavy reliance on remembering as a method of learning, in addition to thinking and analysis.

Summary: It is important for a man to have good looks and proper bearing to succeed in his social-political ambitions. One can improve himself by making mistakes, and learning from his mistakes. The lessons learnt must be remembered for a long time. The best way to live is to pursue knowledge rather than material comforts. In order to reduce mistakes, one must learn to listen to the Daemonic Voice that propels us to make mistakes. Your people around you are your real strength. There's nothing wrong in being wrong as long as you're able to correct yourself next time. Asking questions is an integral component of learning, and one must never be afraid of asking questions.