Suramya's Blog : Welcome to my crazy life…

November 24, 2012

My Trip to Lakshadweep

Filed under: My Life,Travel/Trips — Suramya @ 11:26 PM

Early this month we (Me, Vinit, Surabhi, Vir, Mom and Dad) went for a week long trip to Lakshadweep. It was a much required and anticipated trip (I have been wanting to go since 2010) especially after the crazy week I had dealing with Hurricane Sandy. We left on Thursday night by train from Bangalore to Cochi and from there we took a flight to Agati island. There were ~15 passengers in the flight, including the 6 of us and the 2 airhostesses. The runway on Agati is a narrow strip of land sticking out into the ocean and when landing you can see water on both sides of the runway. Below is a shot of the island I took during our approach; the entire island is about 7 kms long and 1.5 kms wide, and we were the only tourists on the island…

Arial Shot of Agati Island
Arial Shot of Agati Island

We were there for 7 days and spent all the time on the beach, including having our lunch delivered to the beach.


The beach where we spent most of our time

Well, except for the time we spent in the water scuba diving. Both me and Vinit got our diving certificates (I actually had to study for tests) but it was worth it. We did 4 openwater dives and 5 confined water dives in 7 days plus did a lot of snorkeling as well. During the dives we saw 2 sharks (one White tip and another whose name I can’t remember), couple of dolphins, a sea turtle (while diving, lost count of ones we saw from the boat and from the beach), crabs, tuna fishes, star fish, crabs, lobsters etc etc.

We did take a ton of photos (~1500) and I have posted a selection of the pics here. I was going to post them here as well but then decided to be lazy and just provide a link to the album here. Check it out.

I have been meaning to post this for a while now but life got busy. Ah well… It was an awesome trip and I highly recommend it for anyone looking for a great vacation spot.

– Suramya

October 26, 2012

Amazon delete’s a user’s entire Kindle library, restores it and then starts lending ebooks for free to Prime members

Filed under: Books Related / Reviews,My Thoughts — Suramya @ 9:28 PM

A few days ago Amazon deleted the entire e-book library of a kindle user without explanation and the internet was in an uproar with multiple people including prominent author’s protesting against the move by Amazon; then a few days later the account was mysteriously re-enabled without any explanation. This is the *one* reason I don’t own a kindle even though its a fantastic device. I almost bought it last month during my US trip but ultimately decided not to because I don’t want the usability of my device to be on the whim & fancy of Amazon. They have deleted stuff from accounts in the past without notification and even after promising not to do it again they went ahead and wiped out this user’s kindle. I anyways don’t support DRM so that is another reason I don’t buy ebooks from Amazon (They are awesome for other stuff but not ebooks/mp3’s/online movies etc).

If you own a kindle I seriously suggest you keep a local copy of all the books you buy ’cause you never know when the book might disappear. There was an article on Lifehacker.com on how to remove the DRM that makes interesting reading as this article was prompted by the same news story as what I am talking about. Check it out, but remember only use it to break the DRM from stuff you own, don’t use it to pirate stuff ’cause that is not cool.

Today while surfing the web I saw an article on the Reg that Amazon UK will lend e-books for free to it’s Prime subscribers. I guess it could be a planned move that just coincidentally came at a time when Amazon was getting a lot of heat for their bonehead move earlier but the timing is suspicious….

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

– Suramya

Additional articles on the Kindle Wipe: Gizmodo.

October 22, 2012

Did something new. Had to use a Bookmark for my novel.

Filed under: My Life — Suramya @ 11:55 PM

As some of you know I read a lot, read quite fast and hate leaving books in the middle; which is why I normally finish a novel in one sitting and have rarely ever used a book mark for a novel. Most of the bookmarks I get with books usually end up being misplaced or stuck inside a book, never to be used. But not this time… Things have been a bit hectic for the past few weeks and because of that I actually got to use a bookmark for the purpose its supposed to and it felt weird. For the past few weeks I have been trying to finish a book (Finally finished it yesterday BTW) and by the time I got time to start reading it would be late at night and I would be so exhausted that could barely read a chapter before crashing for the night.

It took almost a two weeks to finish a book which would normally take me about 2-3 hours. Makes me miss the times when I used to get the time to read multiple books a day. 🙁 Ah well, hopefully I will get a bit more free time to read in the future.

Now I think I need to go crash as I have an early morning tomorrow.

– Suramya

October 10, 2012

Tired but still alive

Filed under: My Life — Suramya @ 2:18 AM

So I haven’t posted here for a while. Not because I didn’t have anything to say but because I was too busy traveling and at work. In the past few months I have done:

Banglore -> Abu Dabi -> Jersey City/New York -> Fort Worth, Texas -> Dallas, Texas -> Austin, Texas -> San Antonio, Texas -> Dallas, Texas -> New York -> Washington DC -> New York -> Abu Dabi -> Bangalore -> New Delhi -> Bangalore.

This doesn’t include the short trips I made to various places in NJ while I was there. 🙂 Have a lot of photos but need time to catch my breath now that I am back home and can stop living out of my suitcase.

Its late and I am tired plus I have an early morning meeting tomorrow so going to crash now. Will write more later.

– Suramya

August 5, 2012

Reinstall Status: 2 days later

Filed under: My Life — Suramya @ 11:59 PM

Most of the system is back to normal and is configured the way I like. However still having some problems with installing certain programs like Citrix. Basically it looks like the 32 bit version of the ia32-libs library is broken in Debian Unstable and they are expecting a fix any day now. However till its fixed it looks like I can’t install the Citrix client which is required for my work. Guess I will be using the Raspberry Pi to connect to office system till the fix is here.

Other than that, there is a slight issue with static when I skip ahead in a video, i.e. I get a lot of static on the soundtrack if I fastforward the currently playing music/video. Sounds like it could be a driver issue.

During this entire process I realized that running a 32 bit OS is a lot less work than a 64 bit OS esp if you are running on Debian unstable since in the unstable branch a lot of the 64 bit packages are broken at this time thanks to the above mentioned library.

I am debating if I should go back to the 32 bit version. Will decide in a couple of days after doing a bit more research on the topic. I might be getting a SSD in the near future so will have to reinstall any ways once that comes in and depending on my mood then I will choose 64bit or 32 bit. Not really eager to get an SSD when for a little bit more I can get a 2-3 TB drive but Krishna, Sid and Anil have done their level best to convince me of the advantages so thinking about it quite seriously.

Well this is all for now. Should go to sleep now since I have an early start tomorrow and today has been a long day. Will post more later.

– Suramya

August 4, 2012

Reinstalled system after accidental removal of KDE. Pleasantly surprised by ease of configuration

Filed under: Computer Tips,Knowledgebase,Linux/Unix Related,Tech Related — Suramya @ 11:19 PM

Last night I was trying out stuff on my computer and decided to install virtual box on the system to allow me to install Windows in a virtual environment. I ran the command to install virtual box and then said ok without paying too much attention to what it was doing. As a punishment for that, the apt-get program proceeded to uninstall most of the KDE environment on the system leaving me with Gnome as my primary desktop (and there is no way I am using Gnome as my primary desktop). I could have fixed it by reinstalling KDE but since I had been thinking about removing the 32 bit Debian and installing the 64 bit version I decided to use this opportunity to do so and downloaded the 64 bit version from the Debian site, put it on a USB drive and proceeded with the install which took about an hour to complete.

After the install completed, I upgraded the system to the latest ‘Unstable’ build (Debian Unstable has the latest software packages so I prefer using it as opposed to Stable which is rock solid but has fairly dated software versions.) which took most of the night thanks to the no of packages to download and install. Once everything was upgraded I started customizing my setup and initially was dreading the amount of time it would take to get both my monitors working (based on previous experience) but surprisingly this time I didn’t have to do a lot to get both the monitor’s working.

If you remember, the last time I tried enabling the second monitor I hit a lot of hurdles mostly thanks to the mess I had made with my previous meddling and experimentation but this time it was fairly simple. I thought that I would follow the same steps I had the last time I installed the monitor so I started by installing the fglrx driver but the latest version of the driver no longer supports my chipset (ATI RS880 [Radeon HD 4250]) and the installer told me to install the free Radeon driver in the package xserver-xorg-video-radeon instead. So I did that after purging the fglrx driver (See here for instructions). I also had to install the Firmware for the Radeon card which I did by issuing the following command:

apt-get install firmware-linux-nonfree

After the driver was installed I rebooted (to make sure all systems started up clean) and setup my dual monitors by following these steps:

  • Click on Start -> System Settings
  • Click on ‘Display and Monitor’ under Hardware.
  • Under ‘Size & Orientation’ change the ‘Position’ dropdown to ‘Left Of’ the first (If your second monitor is to the left of the first one)
  • Set the Primary output to the monitor where you want the Task bar etc to show up. If you don’t know which monitor is which, click on the identify Outputs button.
  • Once you are done, Click on ‘Apply’ and if all looks good you can set it as default by clicking on the ‘Save as Default button’.

If you are ok with the resolutions available to you in the dropdowns above then you are done and you can skip the steps below.

Unfortunately for me I wanted a resolution of 1440×900 as the default instead of 1600×900 which was too small & the fonts looked pretty bad at that resolution and the 1280×1024 which was the next available size looked worse because my of my monitor shape (16:9 resolution as opposed to 4:3). So I had to do a bit more work to fix the problem.

First I tried manually setting the mode to 1440×900 using xrandr but I got an error message that “xrandr ‘cannot find mode'”. So I did a little Google search and found a forum post where another person was having the same issue. That link told me how to add a custom mode to my system which I did using the following steps:

First we need to figure out if our configuration will support the mode we are trying to use and if so get the modeline we need for the new config, so we run this command:

cvt 1440 900

If the system can support the resolution specified (1440×900 in the above example) it will return a line that looks something like:

# 1440x900 59.89 Hz (CVT 1.30MA) hsync: 55.93 kHz; pclk: 106.50 MHz
Modeline "1440x900_60.00"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync

Luckily for us my system can support the resolution so we then need to tell xrandr about the new mode using the following command:

xrandr --newmode "1440x900"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync 

Where the first paramter (“1440×900” in this case) is an identifier and the rest is the information returned by cvt. (If successful the command will return no output.)

Then we need to tell the system that both the displays (called DVI-0 and VGA-0 on my system) should use the new mode which is accomplished using the following commands:

xrandr --addmode VGA-0  "1440x900"
xrandr --output VGA-0 --mode 1440x900
xrandr --addmode DVI-0  "1440x900"
xrandr --output DVI-0 --mode 1440x900

If the commands were successful then your screen should resize and start using the new resolution. Now that this is done we want this to happen everytime we log in without having to run the commands manually.

When you click on the ‘Save as Default’ button in the ‘Size & Orientation’ dialog box, KDE saves your settings in a file at the following location: ~/.kde/share/config/krandrrc that is executed everytime you log in to KDE. So to make the changes permanent we have to modify the file with the new settings.

The file contains the following lines right at the top:

[Display]
ApplyOnStartup=true
StartupCommands= 

We need to modify the StartupCommands= line to use our new settings. Basically it should contain all the commands we used above in a single line delimited by \n. On my system the file looks like the following after I updated it:

[Display]
ApplyOnStartup=true
StartupCommands=xrandr --newmode "1440x900"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync\nxrandr --addmode DVI-0  "1440x900"\nxrandr --addmode VGA-0
  "1440x900"\nxrandr --output VGA-0 --pos 1450x0 --mode 1440x900 --refresh 59.9782\nxrandr --output DVI-0 --pos 0x0 --mode 1440x900 --refresh 59.9782\nxrandr 
--output DVI-0 --primary

Once you make the change, save the file and log out. After loging out I usually restart X to make sure everything came up cleanly and then if all went well then the changes should take effect after you log in.

Hope others find this useful when configuring their systems.

– Suramya

PS: The best part is that after re-formating and using the Opensource version of the display driver instead of the proprietary one, my average memory usage went down from about 3GB about 1GB with all the same programs running in the background. 🙂

July 19, 2012

Sensordrone brings us one step closer to having a real life StarTrek Tricorder

Filed under: Interesting Sites,My Thoughts,Tech Related — Suramya @ 10:56 PM

Anyone who has watched Star Trek would love to get their hands on a Tricorder, but till recently Tricorders have been the stuff of Science Fiction. However slowly but steadily the technology to build them is getting there. We have the Tricorder Project which gave us the blue prints to create a basic version of the tricorder. It was cool and let you watch Magnetic field fluctuations etc (among other things) but still required you to build the thing yourself. Now comes Sensordrone, a project that pairs a sensor-heavy dongle with your smartphone and then opens them up for use using different apps. Me Want! 🙂

Its basically a sensor package that you pair with your phone and then run apps to visualize the various data, with no need to build the hardware yourself (I am more of the software building person.) Sensordrone is a Kickstarter project so its not really a real product yet but since people have pledged $153,655 for the project already (target was $25,000), it does seem like this is going to be an actual release pretty soon. They are aiming for an Oct 2012 release and it would cost about $200 or so. When it comes out I think I probably will end up buying it… Does that make me a Geek? Hell yeah… 🙂

Excerpt from their website:

If you have a Sensordrone, you can run apps on your tablet or smartphone to monitor carbon monoxide and air quality, find gas leaks, measure your child’s temperature, log the weather, and much more.

For example, apps using the capacitance sensor can work as a stud finder, a proximity monitor, or a liquid level monitor. Apps using the pressure sensor can work as a barometer, an altimeter, calculate elevation differences so you can measure the height of a building, be hooked up to a pressure cuff to work as a blood pressure monitor, and more. Humidity sensing is not just for weather, it determines comfort level for infants, finds the optimum conditions for storing foods, and could even help prevent mold from growing in your home

Sensordrone makes any sensor application as easy as running an app!

Thanks to Engadget: Sensordrone lets your smartphone monitor temperature, air quality, inebriation for the heads up.

– Suramya

July 17, 2012

Self destructing book now available for purchase.

Filed under: Books Related / Reviews,My Thoughts — Suramya @ 11:58 PM

In a release that sounds like a bad April fools joke or a tip off for a spy movie, Argentinian publishing house Eterna Cadencia is now selling a book written in disappearing ink. Basically 60 days after you open the sealed package the print in the book will disappear. I have no idea what the publisher was thinking, (although it would make a great gag book to gift to someone who is a slow reader) I wouldn’t want to purchase a book that I couldn’t go back and read over and over again, I have books that are over eighty years old and some books that I bought in college that I still go back and read at times.

If you want a self destructing book, why waste the paper it was printed on? Why not go for a digital copy which would be far cheaper and use a decryption program that stopped working after a particular amount of time. (I remember reading about a concept encryption routine that used the text of a couple of sites as the decryption code and once the pages changed beyond a certain threshold the encrypted data could no longer be decrypted.)

Would you purchase a book that deleted its text after a fixed time?

Source: One of the Tech Blog sites… Can’t remember which one. Will update when I do remember.
News links:
* Publishing: The book that self-destructs in 60 days – News – Books – The Independent and
* LA Times

– Suramya

July 15, 2012

Got the Jelly Bean Update on my Nexus

Filed under: My Thoughts,Tech Related — Suramya @ 10:21 PM

After waiting for a day for the update to show up on my Nexus, I forced the update to download on my Nexus. It was a fairly simple process which I had used before to get the 4.0.4 update as well. The steps are as following

  • Go to Settings -> Apps -> All
  • Click on Google Services Framework
  • Click on Clear Data
  • Click on ‘Force Stop

Once you do this you need to:

  • Goto Settings -> About Phone
  • Click on ‘Check for updates’

You might have to do this a couple of times (I had to do it 3 times) before the update shows up and downloads. The overall process took about 1/2 hour including the time required for the update to download.

Have been using it for about 2+ days so far and wanted to document my reactions/findings:

* System is now extremely fast, the screen switching is about 3-4 times faster and smoother.
* The Google bar on the top is a bit distracting. It had a black background previously, now its grey so is noticeable.
* Love the voice recognition. The system can do voice recognition without being connected to the web (tested in Airplane mode) and is about 90% accurate. Seems like its a bit more accurate when connected to the web, but don’t have any hard data for that.
* Battery life is a lot improved, my phone went about 2 days with regular usage. (I was getting about 1 day+ earlier)
* Camera gives a visual feedback when a photo is taken so people don’t take a million photos thinking it wasn’t taking photos.

Some downsides/issues etc:

* I think my Wireless connects gets disabled a min or so after the screen switches off. Haven’t verified it yet but if that is the case then it will be a major issue.
* The soft buttons feel a bit less reactive on some screens, but again its a bit subjective and haven’t verified it.

Overall I like the new update. I think Google did a good job with this update.

– Suramya

July 11, 2012

Are kids nowadays less techie than previous generations?

Filed under: My Thoughts — Suramya @ 1:06 AM

Since I have gotten the Pi (actually even before I got it) I have been keeping an eye on articles/news about the Pi. Found some really interesting projects, idea’s etc but then found this gem on ZDNet: Is raspberry pi a mid-life crisis?. The author’s major point is that people his age (presumably in his late 30’s or 40’s) are more techie than their children. While in some cases its true, in a lot of cases its not. Its very easy to generalize and say that kids nowadays don’t do cool things like we used to… Actually I know a few people who say that a lot and guess what, it doesn’t make you look cool or techie, it just makes you sound like a old fart.

You don’t have to program in assembly to be called Techie. Personally I have programmed in assembly only once and that too for a class I was taking. To me it wasn’t fun, fun was making the computer do stuff it wasn’t supposed to in the fastest easiest way possible. In his Article Simon states: :

When my 14 year old son couldn’t get his iPod touch to work with the wifi he didn’t try very hard, he just threw it at me and said “dad fix it”. My kids and their peers have no interest in how a computer works. Oh, they love what it does, miniclip, facebook, skype. But what makes their applications work or what is inside the black box is as interesting as the washing machine or vacuum cleaner. I’ve long thought that there is a bubble of tech; people of my age are more techie than their children.

His kid might not be a techie, a lot of folks my generation (god that makes be sound old) were not techies. Remember the 12:00 flashers? Now I have juniors working under me who are experts in Perl or PHP. There is a Nine-year-old kid who has created an iPhone application that has been downloaded over 150,000 times, another 12 year old kid has published 7 applications in 2 years. Being techie is not an age thing, its about aptitude.

There are tons of people (including kids) who are still technically inclined and are developing great new stuff. A lot of the new software development is happening in minds of kids. Sure they might not read programming manuals under the sheets (Disclosure: I never did that. I was more liable to read novels under the sheets), but they are techies and will come out with new cool stuff. True that some of the kids act like retards but its not like the previous generations were any better. Every generation has folks that are retards, forks that are average and folks that are awesome. Throughout history people have thought that the kids in that age are useless and they were so much better. Socrates is quoted as saying “The children now love luxury. They have bad manners, contempt for authority, they show disrespect to their elders…. They no longer rise when elders enter the room. They contradict their parents, chatter before company, gobble up dainties at the table, cross their
legs, and are tyrants over their teachers.”
. My response to Simon: Grow up, stop living in the ‘good old days’.

Finally, there is nothing wrong in not being a techie. If all of us were techie’s we wouldn’t have any cool movies being produced (’cause no one would be there to act in them) or great music or artists etc.

What do you think?

– Suramya

« Newer PostsOlder Posts »

Powered by WordPress