Suramya's Blog : Welcome to my crazy life…

June 16, 2009

So why do I blog? and what do I blog about?

Filed under: My Thoughts — Suramya @ 10:30 PM

Yesterday I read this post on Schneier on Security about this guy who thought his house was burglarized because he posted about his vacation on Twitter in real time; (stuff like “On the road now”, “Got here in one piece”) and reading the comments that people made to this article asking ‘Why Twitter’ made me think about ‘why Blog?’ and ‘What to blog about?’

Nowadays everyone seems to have a blog, but when I first started keeping a blog very few people did it. So I used to get this question a lot. Another popular one was: What do you blog about?

So, why do I blog? That’s a difficult question to answer for me. I Blog for multiple reasons:

1. I like writing. So it give’s me a place to post my thoughts and idea’s
2. It gives me a way to keep people (Friends/relatives) who want to know about me updated with my life
3. Allows me to post notes about how I did something or how I got something to work so that I can refer back to it later
4. It lets me talk about the stuff I do and places I visit.

Basically this blog is an expansion of the stuff I post on my website, in more detail and with a lot more regular updates. When I started out, I used to post atleast once a day. Then it went down to a couple of times a week, then to a few times a month. Now the frequency varies with how busy I am and what all is happening in my life.

What I don’t do is post about stuff that affects other people or happened to them. I also don’t post about work and my job. The reason for that is simple, what I post out here is available for everyone to read. If I complain about work or post something like ‘oh we had a hard time today because all the developers were drunk’ or ‘the code we write is so bad its a wonder anyone buys it’ or something; then anyone searching about the company or me will find it and its not good for the company or my image.

So instead of trying to figure out what to post and what not to post I avoid posting about work and work related issues. That doesn’t mean that any talk about work is banned, just that 99.999% of it is about non-work related stuff.

In the case mentioned above, did the Twitter post cause the house to be burglarized? I don’t know. It could have. All it did was tell people that they weren’t home. The same information is available from their away message on email, message on voice mail greetings, from their secretary and tons of other places.

It doesn’t make Twitter bad. You just have to use common-sense to decide what to post and what not to. Same thing with any media: blogs, websites etc etc.

Well this is all for now. Will post more later.

– Suramya

June 13, 2009

My Upgrade to Debian 5 Testing & KDE 4

Filed under: Linux/Unix Related,My Life,My Thoughts — Suramya @ 11:40 PM

Yesterday night I decided to upgrade my system from Debian 5 Stable to Testing. As you might know Debian has three branches for every version that it releases:

Stable -> The most tested branch. Everything is as stable as possible and applications should not conflict with each other. The software versions available in this branch are slightly older
Testing -> This is slightly less stable branch but contains more recent versions of programs. For example I had to upgrade to Testing to get the correct libraries to run Firefox 3 in Debian Version 4
Unstable -> As the name says this repository contains programs that might have issues integrating with other programs in Debian. Doesn’t mean that the programs themselves are unstable, just means that they might not play well with others. Usually this contains the latest versions of software.

Anyways, usually I always run the Unstable branch but this time since v5 had just been released I stuck with the Stable branch to try it out. I really liked it.

Yesterday I decided to upgrade to Testing. So I pointed the repository to Testing and ran the following commands:

apt-get update
apt-get dist-upgrade

and went off to sleep. Today all the items were downloaded and I logged in to KDE4 (the latest version) and I am not pleased. It looks like Vista. All the menu’s are changed. The control panel looks and works like the Windows Control Panel. If I wanted a Vista experience I would have installed Vista on my system.

In the old KDE I could update the wallpaper for any of my 4 desktops from one location. I this one I don’t seem to be able to do so. Plus I can’t get the system to start showing the ‘Quick Launch’ bar. When I add that widget I get a 2mm – 5 mm wide blank area added to my taskbar. To top it all Plasma is using 80%-90% of my CPU even when I am not going anything other than typing this post.

I thought I should get a screenshot of my CPU usage and loaded up GIMP, but in KDE4 this loads up two separate windows, one with the toolbox and one with the menu items. What the hell? What was wrong with the old way where the menu items were listed on top of the toolbox. Now that place is empty and the menu’s are in another window.

Ok, now I am annoyed. Now the Acquire menu item has disappeared from GIMP. This could be a change in GIMP but I am pretty sure I was using the same version earlier. So I can’t seem to get a screenshot easily. I know I can do it other ways but am too lazy to do that. So no screenshots. In anycase too many images increases the load times of the blog homepage 🙂

So my verdict? I am switching back to Debian Stable. Unfortunately it will mean reinstalling the OS ’cause there is no way to downgrade from Testing to stable. thankfully all my data is kept separately so I just have to format one partition. But still its a pain.

I will keep with this version until Debian forces me to upgrade to KDE4. After that… lets see, I might try other desktop managers or hopefully by then KDE4 will have matured and cleared up these issues.

Ah well… Let me get my system back the way it was, then I can get some work done…

– Suramya

June 5, 2009

Some Books I recommend reading

Filed under: My Thoughts — Tags: — Suramya @ 9:53 PM

As you all know I love reading and in the past few days I have read some really interesting books. The first one is “In the Beginning was the Command Line” by Neal Stephenson. It is a fun read where he compares the various operating systems and their history. Although the book was written for coders and techies it doesn’t have loads of techno babble and I find his way of comparing the OS’s unique and loads of fun. For example here is an extract from the book where he compares DOS, Windows, Mac OS and Linux:

Imagine a crossroads where four competing auto dealerships are situated. One of them (Microsoft) is much, much bigger than the others. It started out years ago selling three-speed bicycles (MS-DOS); these were not perfect, but they worked, and when they broke you could easily fix them.

There was a competing bicycle dealership next door (Apple) that one day began selling motorized vehicles–expensive but attractively styled cars with their innards hermetically sealed, so that how they worked was something of a mystery.

The big dealership responded by rushing a moped upgrade kit (the original Windows) onto the market. This was a Rube Goldberg contraption that, when bolted onto a three-speed bicycle, enabled it to keep up, just barely, with Apple-cars. The users had to wear goggles and were always picking bugs out of their teeth while Apple owners sped along in hermetically sealed comfort, sneering out the windows. But the Micro-mopeds were cheap, and easy to fix compared with the Apple-cars, and their market share waxed.

Eventually the big dealership came out with a full-fledged car: a colossal station wagon (Windows 95). It had all the aesthetic appeal of a Soviet worker housing block, it leaked oil and blew gaskets, and it was an enormous success. A little later, they also came out with a hulking off-road vehicle intended for industrial users (Windows NT) which was no more beautiful than the station wagon, and only a little more reliable.

Since then there has been a lot of noise and shouting, but little has changed. The smaller dealership continues to sell sleek Euro-styled sedans and to spend a lot of money on advertising campaigns. They have had GOING OUT OF BUSINESS! signs taped up in their windows for so long that they have gotten all yellow and curly. The big one keeps making bigger and bigger station wagons and ORVs.

On the other side of the road are two competitors that have come along more recently.

One of them (Be, Inc.) is selling fully operational Batmobiles (the BeOS). They are more beautiful and stylish even than the Euro-sedans, better designed, more technologically advanced, and at least as reliable as anything else on the market–and yet cheaper than the others.

With one exception, that is: Linux, which is right next door, and which is not a business at all. It’s a bunch of RVs, yurts, tepees, and geodesic domes set up in a field and organized by consensus. The people who live there are making tanks. These are not old-fashioned, cast-iron Soviet tanks; these are more like the M1 tanks of the U.S. Army, made of space-age materials and jammed with sophisticated technology from one end to the other. But they are better than Army tanks. They’ve been modified in such a way that they never, ever break down, are light and maneuverable enough to use on ordinary streets, and use no more fuel than a subcompact car. These tanks are being cranked out, on the spot, at a terrific pace, and a vast number of them are lined up along the edge of the road with keys in the ignition. Anyone who wants can simply climb into one and drive it away for free.

Customers come to this crossroads in throngs, day and night. Ninety percent of them go straight to the biggest dealership and buy station wagons or off-road vehicles. They do not even look at the other dealerships.

Of the remaining ten percent, most go and buy a sleek Euro-sedan, pausing only to turn up their noses at the philistines going to buy the station wagons and ORVs. If they even notice the people on the opposite side of the road, selling the cheaper, technically superior vehicles, these customers deride them cranks and half-wits.

The Batmobile outlet sells a few vehicles to the occasional car nut who wants a second vehicle to go with his station wagon, but seems to accept, at least for now, that it’s a fringe player.

The group giving away the free tanks only stays alive because it is staffed by volunteers, who are lined up at the edge of the street with bullhorns, trying to draw customers’ attention to this incredible situation. A typical conversation goes something like this:

Hacker with bullhorn: “Save your money! Accept one of our free tanks! It is invulnerable, and can drive across rocks and swamps at ninety miles an hour while getting a hundred miles to the gallon!”

Prospective station wagon buyer: “I know what you say is true…but…er…I don’t know how to maintain a tank!”

Bullhorn: “You don’t know how to maintain a station wagon either!”

Buyer: “But this dealership has mechanics on staff. If something goes wrong with my station wagon, I can take a day off work, bring it here, and pay them to work on it while I sit in the waiting room for hours, listening to elevator music.”

Bullhorn: “But if you accept one of our free tanks we will send volunteers to your house to fix it for free while you sleep!”

Buyer: “Stay away from my house, you freak!”

Bullhorn: “But…”

Buyer: “Can’t you see that everyone is buying station wagons?”

How can you not love this book?

The second book I have recently finished is “MythOS” by Kelly McCullough. This is the fourth book in the series and I really recommend this book to anyone who likes computers and fantasy. In the book magic has advanced with the times and gone digital so all spells are actually programs and the Universe is run on/by a Computer/Goddess called “Necessity”. The Fates (Think Greek Fates) are the systems administrators of this computer. A really fun read. Though I recommend that you read the other three books in the series before you read this one otherwise some-parts won’t make sense.

Currently reading “The Blood King” by Gail Z. Martin. It is the second book in the Chronicles of the Necromancer series and I like it so far. The plot is pretty straight forward and standard; Younger son is happy with his life and enjoying himself then suddenly the elder brother kills the king and everyone else in the family. He escapes, finds out that he has super magic powers and has to learn them before they kill him. Then has to go back to fight the evil king and his magician and save the kingdom.

But still its a good read.

Well this is all for now. My books are waiting.

– Suramya

May 28, 2009

Itna Sannata kyon Hai Bhai? (Why is it so quiet?)

Filed under: My Thoughts — Suramya @ 12:57 AM

This is a question I get when I am looking at a lot of the blogs that I follow (including my own). Is it because these people no longer have anything to say about stuff? I know that can’t be true because I still have lots of opinions about various things and so do most of these people.

So what else could be the problem? I was talking to Aditya a couple of days ago and he asked me why the blog was updated so infrequently. My response was.. just because. Basically what seems to happen is that I get an idea for a topic at a random place (driving, in the gym, at work) and at that particular time I have no way/time to compose a blog post and post it. So it gets logged or saved as a draft on my system waiting for me to get time to elaborate it and clean it up. Lots of times it happens that by the time you get time to post something it has lost its appeal or so many people have written about it that you don’t want to become ‘yet another person’ blogging about the same thing.

As an example, a couple of years ago Prince Harry wore a swastika on his dress to a party. It created a big hue and cry and I was going to write an article on it. I thought about it on a flight, made some notes but by the time I got to the point where I had the ability and time to write an article on it 2-3 weeks had passed and it was no longer an issue I wanted to write about.

What I need is a voice to text converter software for my phone so that every time I get an idea I can dictate it to my phone and have it converted to text which I can edit and publish. So far I have not been able to find such a software but I am hopeful that it might happen soon.

Currently I have 5 posts in the drafts sections of the blog. Not sure how many of them will see the light of the day anytime soon. Lets see.

– Suramya

May 25, 2009

Made up languages/words in books

Filed under: My Thoughts — Suramya @ 11:06 PM

Just finished reading ‘Vorpal Blade’ by John Ringo & Travis S Taylor and found it to be a great book except for one small thing. The author decided to replace commonly used words with nonsensical words. Actually he just replaced two words and the words he replaced were ‘shit’ (replaced with maulk) and fuck (replaced with grapp).

Its ok when an author uses new words or makes up a word for something if it makes sense but in this case there was no reason to replace the words ’cause the book is based in the near future on earth so just replacing the words just makes the book harder to read. To give you an example below is a paragraph from the book:

“You can start going through the pile that’s portside aft is what you can do!” the gunnery sergeant snapped. “That’s all your maulk. I’m going to send a runner up to Hedge to tell him his stuff is starboard side aft and that’s about all the sorting we’re doing. When we’re done loading the maulk that ain’t grapped up, y’all can fight it out to get the rest stored!”

This book is the second book in the series and this is the first time he has done this stuff. If he had done this in the first book I don’t know if I would have read the second book. It got to the point that I was thinking about doing a search & replace in the book and then reading it.

Some authors do this replacing really well, e.g. Mercedes Lackey. In one of her books she replaced bullshit with horse-manure but she only used it two or three times in the book rather than the few hundred times in this book.

What do you think?

– Suramya

May 10, 2009

Watched the new Star Trek movie today

Filed under: My Thoughts — Suramya @ 10:11 PM

Finally watched the new Star Trek Movie today. Wanted to watch it since the day it came out but for some stupid reason the movie distributors are on strike so no new movies have been released in India for the past 1 month and there is no end in sight so far. 🙁

Anyways, I liked the movie.

BTW: The rest of the post might contain spoilers so if you haven’t seen the movie I recommend that you don’t read the rest of the post.

Not going to discuss much of the movie as it will probably spoil it for some. But still. you have been warned.

The first few minutes of the movie didn’t really make sense but after that the movie started picking up. What I found strange was that the Star Fleet decided to send the cadets to actual starships even though they weren’t trained. Where was the rest of the StarFleet? Why did they have to send the cadets to a planet that was being attacked and not the actual fleet?

Also at the end of the movie, how did Kirk go straight to being a Captain from a Cadet? What happened to the ranks in the middle? What about the rest of them, shouldn’t they also have gotten similar rank boosts?

Anyway, all said and done it was a decent movie and not the disaster I was expecting. Definitely better than the last two movies.

– Suramya

May 7, 2009

Finally Voted today

Filed under: My Life,My Thoughts — Suramya @ 8:39 PM

After ~10 years (2 elections) of never being in the country when the elections were held I finally was in town during the elections and voted. 🙂

We got up at 8am and went to the sector 44 community center that was the local polling booth. There weren’t a lot of people there at the time (only about 7-8) but it was still early as the voting started at 7am.

Security wise the elections was decent. I don’t know how secure the machine itself but I don’t think its possible easily for one person to enter more than one vote (which used to happen with paper votes). Now when a person enters their vote a loud buzz would sound telling people that a vote had been cast. So if a person tried entering multiple votes they would first have to figure out how to switch the machine back on after a vote had been cast (It is activated by a guy sitting outside who verifies your ID) then they would have to disable the buzzer that sounds when votes are cast.

Total time to vote, about 30 mins. This includes the time to drive there and back with a stop to buy groceries on the way back.

– Suramya

May 5, 2009

My experience using a system with 378MB of RAM

Filed under: My Life,My Thoughts — Suramya @ 10:29 PM

My laptop charger died so I have been using my old desktop for a while now at home. This is a 1 GHz machine with 350MB of RAM running Debian. At first I was a bit worried that the system wouldn’t support my working habits because of the low RAM but while using it I have realized that Debian works great with ~378MB of RAM. Obviously the system is not as responsive as it would be with 1GB of RAM but its definitely usable.

Actually it works fine with 250MB also, as my 128 MB RAM chip died I had to take it out and I could still use the system with a single 250MB chip. This is with Firefox (with upto 8-10 tabs), Thunderbird, uTorrent (using wine), Konqueror and Konsole (multiple sessions) running. I could even watch videos without issues. Though a couple of times I did have to close Firefox when viewing a video because the video would take ages to startup.

The main issue I had during this time was with Firefox. I found that I would have to restart it after using it for a while (day or so) or when I went to a page with a lot of flash. It used an average of about 130MB of RAM on my system. At times it went up to 60% usage on 378MB (according to top). [Don’t feel like calculating it right now]

Flash was a pain during this time. Pages with a lot of Flash slowed the system down to a crawl. So it looks like a lot of the memory leakage/excessive memory use in Firefox has to do with the Flash plugin in use.

If this machine was running XP or any other flavor of windows apart from 98/95 etc it would have been completely unusable. I did try booting into windows XP on this system to do some OCR (I can’t seem to find a good OCR client in Linux) but the system was pretty much unusable with about 2-5 second wait while opening windows etc.

My usage is a lot more intensive than most regular users so for a normal user Linux will be even more responsive. I mean does average Joe have 10 Tabs open at the same time while OpenOffice is converting a 95 MB document to HTML? (Don’t ask. It was a PDF converted to .doc which I needed in html) Oh and I usually listen to music when I work so Amarok was also running in the background at the time.

BTW, in case you are wondering I am running KDE v3.5.10 so its not an old version and most of the effects are still on (Except for the transparent panel, which I find annoying)

Another thing I learnt was that USB transfers take longer if you have low RAM for some reason. Atleast they do when you are using a USB pendrive, my external harddisk seems to work with the same speed even with low RAM.

So if you have an old machine, don’t throw it. Install Linux on it and donate it to someone or use it as a extra server or something.

– Suramya

PS: I have finally upgraded the RAM on this system to 1GB so it works even better. 🙂

April 21, 2009

Common misconception about the kind of books people read

Filed under: My Thoughts — Suramya @ 3:12 AM

A common misconception that people have is that while boys/men read ‘dirty’ magazines/books girls don’t do that and I have heard loads of comments about this from my friends, online in book forums etc. From what I have seen this is utter nonsense. Yes, guys read dirty magazines but atleast they are known and clearly visible/marked as such. Girls tend to hide their dirty magazines/novels under the title of ‘Romance novels’.

You are probably wondering, how could I possibly know this, right? No. I don’t read Romance novels. However I love Paranormal books, unfortunately a lot of the paranormal books are actually Paranormal Romances which has given me a lot closer look at the Romance novel genre that I ever wanted. I am not saying all these paranormal romances are bad, just that some of them are very explicit and some don’t have any story at all, just sex.

The last few Anita Blake novels by Laurell K Hamilton are a good example. In another one of the books I read, the summary of the book was awesome: Something about demons appearing randomly in this one village and a hunter who would go out and kill them. Can’t remember the author’s name or the name of the book but it sounded really interesting. When I actually read the book I found out that out of 100 pages 80 pages were descriptions of really explicit sex and the remaining 20 pages was the actual story line. Needless to say I was pretty irritated with the book. Other examples are the Dark Realm series by Delilah Devlin, books by Lydia Parks etc.

I have no issues with people reading erotica. Its their choice. But don’t label erotica as “Paranormal Romance” or Romance and then act all superior/snotty and pretend that you are reading something different.

This blog is read by people of all ages otherwise I would post an extract from one of these books. If you have some time read one of these books, then come and tell me that they are not porn novels masquerading as “Romance” novels.

This was something I had been meaning to blog about for a long time and I have finally gotten around to doing it. Yay Me 🙂

Well this is all for now. Will post more later.

– Suramya

April 20, 2009

Choice. What the ‘Desktop wars’ are all about

Filed under: My Thoughts — Suramya @ 4:55 AM

I was reading an article on Linux Journal titled “I am switching back to Windows” and my reaction was “ok. So?” I am tired of reading articles about how switching to Linux rocks or how windows is much better/or worse. Personally I think people should use whatever they are most comfortable with and stop bothering the rest of us.

I personally like Linux, have been using it almost constantly since 1999. My sister likes Vista (which I really hate). That’s her choice and I am fine with it. I like the way linux works and if I don’t like something about it or some software on it I can change it or download something new.

But that doesn’t mean that I think Windows is bad. I had to switch back to it for a year when I worked with a company that did .NET development and I liked it. Actually I got used to it, which is pretty much the same thing.

When I switched jobs after that I decided to switch back to Linux and it was a pain, mainly because I had forgotten a lot of Linux and had to search for a lot of stuff (This is where keeping notes/blog entries helped) plus it was the first time I was installing it on a laptop and that caused some issues. (Mainly with the wireless). That’s the main problem with switching to Linux. People are used to of working on Windows and that makes it hard for them to use Linux because the system doesn’t react the way they are used to.

But then again it was my choice to switch and that’s the whole idea behind the Linux philosophy (atleast as I see it) You have the ability to make a choice (And you get free stuff. Which is always good 😉 ). You don’t like Windows fine. Try Linux. You don’t like Redhat, try Debian or Ubuntu or Fedora or Slackware or Linux Mint. If that’s not to your liking try a Mac or try Solaris. The choices are endless and that’s what makes life interesting. Choice. Do I read this book or that? Do I drive to work or work from home? Do I wear formals or casuals? Do I use KDE or Gnome?

You don’t like Linux based software use Windows software on Linux. For example now even though I use Linux I still use some Windows based software like EditPlus. Its one of the best editors I have used: Its fast/simple and does exactly what I want it to. Before you start sprouting off about how I should try Linux based editors and not contaminate Linux with Windows based software, let me tell you. I have used Emacs/Vi/Kate/Keditor/Pico/nano. Vi is awesome for working on the command line to make a quick edit, but I don’t like it for extended work. Emacs is very powerful but is overkill for the stuff I need to do. The rest are too limited. So I use EditPlus. Plus I like having the same set of software on both my Linux and Windows systems. Makes life simpler when I have to switch between the two.

Ah well, this is all for now. BTW, if the above post didn’t make sense then I blame it on the solar radiation and not on my inability to type sense at 4:45 am 😉

Cya.

– Suramya

« Newer Posts — Older Posts »

Powered by WordPress