MMXI is almost here! I mean the year 2011! 3 more hours to go (to sleep). Santa did not come to my town this year because of the Telanga issue over the last weekend. 

By the way, need to start working on the wishlist and todo list for this MMXI 🙂 May be I am going to try out short term goals instead of long term 🙂 

Easily reduce body FAT with a challenge

This post is inspired by http://writings.withoutfriction.com/how-to-stop-playing-cod-call-of-duty-and-how

My first motivation for writing this post is I see myself not doing things which I need to do. In short, to stop being lazy and to be more careful. The description of my domain name says about me 🙂 (FatGeek). Fat in the body really really bad. Couple of doctors in the family told me multiple times in the recent past and I thought its time to take some action. I usually take analogies to situations to explain people though some don’t really make sense 

My analogy about body fat : Accumulating fat into the body is like tending towards the dark side, you get used to it, the more deep you would go in the dark side. 

Getting back to the topic, here’s the deal, Find/Catch me eating food that has sugars or that is deep fried or oily food , and you mark me and raise the point of me eating and if its not on my diet chart, I owe you a treat or cash Rs.100/- ( close to $2) every time you catch me (not limited per day, buxfer me 🙂 ) . Everyone likes their money and this way I’d make sure I wont eat stuff that is bad for health and save my money . This way, its a win win situation, saving health and saving money 🙂 

Exceptions: There are no exceptions not a single day till I write the post, “I am trying to accumulate fat” ! Health runs round the clock and currently I feel I might be a little late on getting on track, but its never late to start something. 

For more visibility, I will drop in a mail to people I work with, friends I often meet and people I often eat with at the cafeteria. Waiting for the new bright year !!

clientsfromhell:

Client: “I want the website finished by tomorrow.”

Me: “Sorry, tomorrow is Christmas and I’ll be with my family tonight and tomorrow.”

Client: “Do I look like Santa Claus? Get it done.”

Mental Note about electric shop at Gachibowli

Just make a mental note of this . There is a electrical shop near Anjay Nagar (on the way from Gachibowli to Kondapur) , Hyderabad . Remember this “Ramdev Electricals”. He doesn’t know anything about electricity and yet runs a shop. Surely checkout the Mithai shop next to it 🙂  

Note: This is for your own good

Mac OS X: Automator Script to share publicly in Dropbox

Reason for this – Cloud App has a new feature and the present free accounts that are present  can use it for only for 3 months. 

Adapted from the course book for Principles of Programming Language – Concepts, Techniques, And Models Of Computer Programming from Flipkart.com ( Amazon link ) by Peter Van Roy and Seif Haridi . 

Food for thought: Which kind of data should I be storing in services like CloudApp and which in Dropbox like services ? I decided to go with Dropbox, Tumblr and GitHub. Since data from dropbox stays and there is an easy way to backup from tumblr and GitHub is the new sf.net . I think I should re-factor the above into another blog post 🙂 

There are quite a few services for Mac OS X listed in the dropbox wiki . I thought if I could write my own that would store a file or a directory into the Public folder of Dropbox  and yup, it was simple enough. The shell script used is hosted at Git Hub – https://gist.github.com/747501 (requires configuration). Automator script is here – http://bit.ly/b44McN (my Dropbox Public Folder). 

Bitly ( A famous url shortener with analytics tracking )  API –http://code.google.com/p/bitly-api/wiki/ApiDocumentation 

Jumping to x/10th of the video on Youtube

Do you know that you can seek to the x/10th position in a video with the use of a keyboard on Youtube ? I verified this on both Firefox and Safari on couple of different OSes . Try watching my latest like from youtube and type ‘1’ or ‘2’ to find it going to the 1/10th or 2/10th location in the video (even if not fully loaded) 

{{Youtube|Cj6ho1-G6tw}}

rainy season already ?

So much for not bothering about the yahoo forecast in Hyderabad. It was around 5’o clock in the evening when I bothered to see the status of weather outside and it was dark. It was like in the Harry Potter movies, where in it becomes dark when Voldemort is around.

My bike got drenched in the heavy rain alongside with me  20 continuous minutes with water in order to get home from work. Water levels were close to 1/3rd height of the bike’s tyre at places where the road is irregular. It was ugly ride. Things were not good for me from the past couple of weeks and this looks like its starting to worse things. Long live the sun !

SIMBL -the app which FUBARed my Safari 5

SIMBL literally FUBARed my Safari 5 (till the last minute). Having not such much experience using a Mac (aka a n00b) , I installed SIMBL for couple of extensions like lastpass for Safari couple of months back. It was not a sad moment till Safari started hanging up and not responding after installing the new extensions(which is similar to Firefox and Chrome extension list) on Safari 5 couple of weeks back. I am back on track with Safari now, though some of the websites I use often are not yet supported and probably wont be supported on Safari.

Lesson learnt : RTFM (abbr: Read The Fucking Manual)

SIMBL supports Safari for 32 bit machines is being supported on the site and the version I downloaded is not supposed to support Safari 5 (which has been released less than a month ago). 

My random checking on the Activity Monitor led me SIMBL taking as much as 400 Megs of Virt Mem which is literally a LOT and uninstalling SIMBL and starting Safari . All of it did not even take more than 1 minute for which I have wasted loads of 5mins.

TODO: Keep a note of what all you have installed and why. ( this is the toughest thing that is going to be for me or anyone. So, how can we do this ? )

Safari and SIMBL are registered trademarks or what so ever of their respective owners or creators.

Amazon.com announces order deadlines for 2009 holiday

Amazon.com announces order deadlines for 2009 holiday season.

Amazon has introduced these shipping enhancements just in time for the holidays. For the 2009 holiday season, the following order deadlines apply for delivery by Dec. 24:
Dec. 17: FREE Super Saver Shipping
Dec. 20: Standard Shipping
Dec. 22: Two-Day Shipping (order as late as 7 p.m. PST; varies by item; free with Amazon Prime)
Dec. 23: One-Day Shipping (order as late as 3:30 p.m. PST; varies by item; just $3.99 per item with Amazon Prime)
Dec. 24: Same-Day Shipping (order as late as 1 p.m. PST; varies by item; just $5.99 per item with Amazon Prime

source: Amazon Investor Relations

Hottest product that ships internationally on Amazon:

experts exchange hack

Technical questions(for computers) searched on google usually point to experts-exchange.com (i would give a 50-50 chance for this site to appear in the top 10 links when searched via Google) is a site which has the experts who exchange solutions, which requires registration which is not necessarily cheap. experts-exchange-subscription

So, how would you view the solution ? Solution is as simple as seeing it from Google.
experts-exchange-googlesearch

You use the Google’s cache. Using Google’s cache illegal ? No, of course not, its been provided by Google for free. Experts-exchange is identifying Google bot when requested for a webpage content and responding with the actual data that is not shown to a normal user unless registered.experts-exchange-googlecache You might need to scroll down to the end of the huge categories section to find the actual solution in experts-exchange. Pretty cool ha !

If you want to view a cached page that is present with Google, simple use “cache:http://blog.sair.am/” in Google Search

Happy Hacking !

a dumb but a clever hack for .co.cc and Weebly

Maintaining four individual domains having similar content is a little pain.

So, I decided to scrape off the cc domain sairam.co.cc(which I bought for $3) after an year and so, planned to redirect it to a constructed website on Weebly.

But, there is a little problem with the way you redirect from one url to another at http://www.co.cc , You cannot redirect a .co.cc domain to another .co.cc domain which could be used by spammers. But the flaw in the concept was one could redirect links via other links. The one that is free, short, customizable, famous is a URL shortener. So I cooked up a tinyurl link for my site and got it running.

Also, checked using http://www.url.sc/ – A free anonymous proxy (since DNS usually takes few hours to get updated).

So, what’s new about sairamkunala.co.cc ?
I am making another homepage for me on a neat, good looking, customizable interaface (so customizable that you can also add javascript into it), add analytics, add links, adsense,flickr widgets etc. for free on Weebly. The Interface provided by Webbly is very intuitive and neat.

The positive points about the site

  • Intuitive Interface
  • Loads of templates
  • Customizable themes
  • Free Subdomain
  • Link to a domain through A DNS record
  • Pro membership
  • Cheap Hosting

Negative points:

  • Cannot add custom widgets
  • Cannot have more than one domain pointing to the same weebly site

Kindle drops its price to $259 and its available in India

And the good part, its available to more than 100 countries for $279 including India. yay!

Kindle-india-checkout
405USD
Oops ! forgot the custom duty !!

Looks like there is a ton of competition over the ebook reader and tablets. Waiting for the Apple Tablet (releasing in Jan 2010 according to rumors)

Similar Posts:
crunchgear

Computer Peripherals in Kondapur

I had a little problem handling several USB devices with only 4 ports on my desktop and 2 ports on my laptop. I felt its time for me to buy a USB 2.0 Hub.

  1. USB 2.0 Hub (Zebtronics) : Rs.150/- . Did not find anything cheaper than Rs.300/-  in ebay.in for USB 2.0, but found a lot within Rs.100/- for USB 1.1 which is closer to 4.8Mbps speed.
  2. Male to Female  USB A Type (USB Extender): Rs. 100/-
  3. IDE Y Connector : Rs. 20/- . Found nothing less than Rs.60/- + shipping in ebay.
  4. IDE to SATA Power Convertor: Rs. 10/- . Same as above. damn! sellers on ebay are really exploiting people

Shop Details:
Shiv Shakti Electronics
Branch Office: Shop No. 2-41A/1/1, Kothaguda,
Opp. Haveli Bar & Restaurant, Kondapur to Hafeezpet Raod, R.R. Dist.
Phone: (040) 64577642, 9966957874, 9985669880
Website: www.shivshaktielectronics.com

Helpful for those living near Madhapur, Kondapur, Gachibowli in Hyderabad city.

a new tripod for my dsc t-70

Image © Ebay

Image © Ebay

I was searching for a mini tripod for my camera from the past couple of months. IIIrd Eye in Ashoka Metropolitan mall (Hyderabad) had few mini tripods which were not for sale. I googled them up but ended up in an U.S. site which was a little of 20 USD. After few weeks of searching on the roads, I decided to try my luck on ebay. And, it ended up as my savior.

A mini tripod was on sale for INR 205 (close to USD 4) and free shipping (voila) at omaxphotographics at Ebay.in. And now, I can place my 2nd order at ebay.

Mini Tripod

Weekend’s Rummyfied

Q) What did you do on the Saturday ?
Ans) Played Rummy

Q) What about Sunday ?
Ans) More Rummy

Q) Anything else ?
Ans) Bought myself a fresh pack of UNO cards at Crossword,City Center and a wrist watch made by Cartier at a custom notified shop named “Richie Rich” at Road No.12 Banjara Hills, Hyderabad.

And, that’s the summary on how I screw up yet another weekend.

Tycoon’s on the desk

I was searching for a game called “European War Cossacks” in the south India’s biggest mall, HyperCity. I would have been happy with any edition of the game, but I found a Tycoon game.I thought ‘wow’ ! Its the Zoo edition and I continued to search for  the Roller Coaster edition.  I played Roller Coaster Tycoon(a lot) and Zoo Tycoon when I was in school. And the cost of the game is just 300 bucks(INR). No wonder! Its been 8 years since the game was released. for PC 🙂

Zoo & Prison Tycoon

Adding to the post another random macro.
macro random#233883

Technology behind friendfeed opensource’d

tornado-from-tornadoweb.org

Tornado OpenSource Scalable,Non-blocking Webserver

Tornado which is an open source version of the scalable, non-blocking web server and and tools that power FriendFeed.

via techcrunch

Links:

  1. http://www.tornadoweb.org/
  2. http://developers.facebook.com/opensource.php

Its time to revise Python !

New domains

Actually I am bored of buying costly domains like .am which are $50 for outsiders . Of course there are more domains like .tt,.im which offers two letter and one letter/digit domain which can be considered to be costlier.

.tt [src] = $500 per year. Ex: ma.tt

.im [src] = 2 letter £495, 1 letter £995 per year. Ex: ff.im

So, the cheapest one could get it for of course free . http://www.co.cc offers big names like sairamkunala.co.cc for free and small names like sairam.co.cc for $3 per year. And also, has a nice interface for managing the free hosting for ns, cname entries. Adding to it, you get a webstore website domain.cc.cc for free.

Note: The .cz.cc, .co.cc, cc.cc & uni.cc domains are not official TLDs. They are used for free URL redirection services, though .cz.cc, .co.cc and .cc.cc can be used as a real DNS service[src]

how to spend a saturday in August

How to get started ?

– Learn how to play poker and win rounds and make friends go awesomed at your luck

Wakeup Time

– Between 11:50 – 11:52 AM(localtime)

Later ?

– Think if you present desktop’s configuration has become close to trash(which was the best configuration when you bought it 5 years back)

– Get frustrated about the 0.5 Gig RAM that recently became a paperweight and plan to buy a new one.

– Get more frustrated about the 80 Gigs of space you have from the past 5 years (which is yet to become another paper weight model ) and plan to buy a better model (ofcourse you want it cheap)

Plan things

Call Up a computer shop where you bought each and every computer piece from and enquire the price of a 0.5 Gig RAM and 0.5 Tera HD
– Bhumika Peripherals (+91-40-6638-2286)
The list of prices I was offered
0.5 GB DDR RAM – Rs. 950
1.0 GB DDR RAM – Rs.1500
1.0 GB DDR2 RAM – Rs.700
320GB Segate HD(Internal) – Rs. 4250
500GB Segate HD(Internal) – Rs. 4450
320GB WD HD(Portable) – Rs. 3750
500GB WD HD(Portable) – Rs. 5250
1 TeraB Maxtor HD – Rs 5000
16 GB Flash/Pen Drive – Rs. 1500
50 DVDs PACK FRONTECH – Rs. 450
10 DVDs PACK SONY – Rs. 170
100 DVDs PACK SONY – Rs. 1300
Information specified above may tend to change and these are the rates I got to know from a friend.

I feel like creating or having a price comparision tool based on user input and findings on seperate days for all the goods people buy often in a forum. Is there already one present ? GRRRR!!

Finally bought 1 Gig DDR RAM , Segate Internal 0.5 Tera Disk and 50 Pack of DVDs from Frontech. The harddisk being of type SATA and I being a non-user of SATA did not even have the least idea that there is a seperate type of power&data cable for SATA harddisks. Got hold of the power cable from @nishant_s .Now formatting my new harddisk after setting up the new extra 1Gig RAM.

How to format a new hard drive that doesnt have even an empty partition table written on it [LINUX]?

  • Check that the harddisk is presented and detected by your OperatingSystem : sudo /sbin/fdisk -l
  • Hurry up and install gnu parted [gparted
  • apt-get install gparted | yum -y install gparted | “google for gparted”
  • search for gparted on shell and get annoyed and worried that there is a problem with the gparted binary you installed above
  • Login as root : sudo su –
  • Realize that gparted command is present and also realize that partitioning can be done with fdisk command (used above) : fdisk /dev/sda | fdisk -h
  • Follow and create and write the partition table
  • After successfully creating a partition table, you need to format the individual partitions : fcsk -t ext3 /dev/sda1
  • Write a blog post while you are waiting for the format to be completed(if you formatting using ntfs)

Upgrade Prices of two major OperatingSystems releasing in 2009

Windows 7 Upgrade

Windows 7 Upgrade

Snow Leopard Upgrade

Snow Leopard Upgrade

Two major commercial companies are trying to SELL their upgrades containing more security fixes, UI enhancements and probably less OS crashes & annoyances(only applicable to M$ products, as everyone knows it).

$30 << $200 ??

Guess I start to understand what the future holds for an Applr  🙂

Image Courtesy: Product Data used from Amazon.com

organizing yourself on the web

Continuation of organizing myself on the web

The question boils down to .. Which service is best for storing this information and why ? How can one manage so many different passwords , information  where all we were registered to and to set data online safe(=encrypted). I have logged in my way of doing this – storing passwords, publishing information on the www about myself and my likes etc. and storing digital content which you bought online or personal content that is private.

Say, I want everyone(www)/friends that I like a webpage or suggest a webpage to a friend or a webpage would be very useful to me or read the daily news from various RSS feeds and want to know who all liked it or tweet your status to your friend community or share the score that you could make in a game to your friends. But all these services are unique and each of the service aims at providing you a single service like bookmarking, making friends and playing games, tweeting , digging a page. But when seen through a end-user’s perspective, one would end up creating an account in almost all websites atleast one of a kind. One would start digging about on an article about Jackson or  want to tell his friends about a cool game where their score is 25000 points after spending 5 hours of time. That is where services like Google Reader/FriendFeed/Facebook come into picture.But again, what each of them is aiming is different, Friendfeed gets the list of shared items from various services and your friends onto your screen and only gives the summary or links to the actual activity and updates work in close to real time like posts to twitter or stumbleupon or public bookmarks on delicious etc.  , but Google Reader is mostly used for reading looong articles by staying on the same page/site which also tries to get the blog feeds in close to real time,but not the links where very few users subscribed to (for ex: a infamous/lowranking website).

The most important you need in your real life is privacy on the internet and in life. Why privacy? Because, your private information is the key to unlock or request for a new password for your online banking account or your personal email account. That’s the reason not to have the same password for buxfer.com and digg.com, and the same reason an alert window pops up on your login every 5 months requesting to change your password on the corporate account. The problem is there is no official verification or ranking on how sites store passwords, how the authentication happens? (over plain text or secure) or how ‘Forgot Password’ works etc.

Below is the list using which I am trying to organize myself

Public Data :
FriendFeed – to track the list of my social updates that I publish to the web. Any feed can go through this and the best part is, you can even see data shared by anyone liked by any one of your contacts/friends.

View my FriendFeed

  • twitter » tweet tweet
  • facebook » you dont want me to explain do you ?
  • Google Reader » Reading articles & blog posts with keyboard shortcuts, with no “themes” attached.
  • last.fm » Songs you listen to and identify similar music
  • youtube » video songs/almost everything that you missed on tv
  • delicious » bookmarking (Yahooed!)
  • stumbleupon » more bookmarks (the feature I like is shows you random pages shared in that category) . Usually I prefer to keep the pages I like on this.
  • Digg » You either DIGG or BURY an article/page
  • flickr » photos !! (also Yahooed!)
  • intensedebate » one stop shop to comment on blog posts ( started by the same company that started wordpress)
  • linkedin » Your professional facebook/social networking site

Private Data :
Following are those which you can’t track in friendfeed because of the sensitivity of the information. So, how do you track … ?

  • Expenses » buxfer.com » A place where you can track your income/expense, share bill with friends, maintain multiple accounts, maintain budgets, track monthly expenses via tags etc. and every transaction with the server goes on https
  • Tasks » rememberthemilk.com » the best one to choose if you dont like the task list that your email client provides. As you can see the project was always in the Beta stage. nice shortcut keys , takes a little while to get used to it.
  • Passwords » lastpass.com » Check out how it works. It can autofill user accounts, auto login into websites. You can even securely store “notes” like your bank account details etc.

That’s how I organize myself. I am sure that I didn’t miss anything else other than securely storing backups of files and other data that is considerably huge (> KB) in size. Of course any programmers answer would be S3. I would get my scripts ready before presenting it and first things first.

BQA (Basic Questions&Answers):

What information not to give to any website which asks you ? DOB !! since that’s the main identity to identify you when you register for a service or to any other services. I do not say that the company would be using it unethically, but for the one and only reason it would not even bother to encrypt/hash a user’s password during registration/changing password on a website. I even see on this very fine day, passwords not encrypted flowing on plain http and even unencryptedly stored in their text files (I guess the websites want to be frugal and want to save their resources to not get a database and to not encrypt a user’s password).

Note: Check the privacy notice on the site (which are usually/always ignored). If you are not planning to read it , this is the summary : I am not the reason &  I am not atleast a byte responsible if you lose something because of following this post, I ain’t promoting any product present here. I am only sharing information that has helped me.

organizing myself on the web

Approximately 5 years and 3 months back, I officially became a part of the wild-wild-web(www). I used to see and play games my uncle’s comp till my tenth class. I did not know any website other than Yahoo and few other sites on which he used to work on. I always liked the sound the modem used to make when we were connecting to the internet.

I still remember the day when I wrote my B.Arch exam in another university. I felt happy after writing the exam, since that was the ‘official’ last exam that I was supposed to write thinking wrt to my life towards Engineering. After the exam, Harith got me to an internet cafe where he checked his email and I later was shown how to create one of my own. I was officially on the web. I got myself an email account with Rediff.com [sairam_kunala_XX@] (it aint X, its a digit). I decided that should be my email id, since I told a friend earlier that he could mail me on that account after we parted from the college. Rediff.com was, possibly, the world’s slowest site ever that I accessed from the internet cafe. Probably because of its servers or the number of users trying to access the site (I never knew all the funda about vertical/horizontal scaling, websites/how email works or anything for that matter then). I only used to curse the internet at the cafe. Rediff never had any IM then, and none of my school friends were using rediff . So, I created a account on yahoo on my own. This time without the numbers and just plain “sairamkunala” because there was some other intelligent guy who wanted the username “sairam” on yahoo.

I joined IIIT in 2004 and during that time, Google’s GMAIL became the famous email provider because of the free 1GB space (that was announced on the 1st of April) to be provided to each user, and every one wanted a GMAIL account which actually required a referal from some one who had an account and in my case it was a senior in the college whom I never could ask. I was pretty happy after few weeks that Rediff too got the 1GB space thing.After a few months (end of 2004), I dont remember who, but he asked me if I wanted a gmail account and who would say no?, I got it. yay! . Gmail was famous and it was still on an invite only basis. Everyone started chatting on google talk and very few friends were using the old deprecated yahoo messenger which would take close to few hundred MBs in memory. I am pretty sure G N Aditya and  Revanth were two of the few who used to use YMessenger.

The IIIT digital library had most of the softwares that were approved&licensed for internal use within IIIT, but some of them had viruses . Why the viruses ?  An instituition having few hundreds of computers on the network , with mostly the BigBoss’s operating system which was the best breeding place for viruses. The place where even few anti viruses would already have been infected of viruses. And the best part of it is the DUMP and FYP folders where in any one could use DUMP folders and only the Final Year students can only use the FYP folder to store the presentations and backups of their Final Year Projects. I could explore all interesting softwares when I was in IIIT from the digital library which was later almooost replaced by DC++ for finding any data ranging for A as in for Academics/Animes through M as in Music to S as in Softwares . I was introduced to Animes in my mid third year. I started with the one called “Full Metal Alchemist” which was an 51 episode story, set in a fictional universe in which alchemy is one of the most advanced scientific techniques known to man, the story follows the brothers Edward and Alphonse Elric, who want to restore their bodies after a disastrous failed attempt to bring their mother back to life through alchemy [content reused from wiki ] and later started with Bleach, follows the adventures of Ichigo Kurosaki after he accidentally obtains the power of a shinigami—a Japanese death personification similar to the Grim Reaper—from Rukia Kuchiki. Gaining these abilities forces him to take on the duties of defending humans from evil spirits and guiding departed souls to the afterlife[content reused from wiki ]. Both of them were introduced to me by Prasanth K (who was also a friend in my eleventh class). The series of animes I watched and the manga I read increased going on from then. I could learn a bit of Japanese listening the Animes which were usually subbed(than dubbed). That’s the reason you could find an animes section both in my delicious site and my home page. The best manga that I read and which is a big hit is One Piece follows the adventures of Monkey D. Luffy, a 17-year-old boy, who gained supernatural abilities by eating a magical fruit, and his ragtag crew of heroic pirates, named the Straw Hats. Luffy’s greatest ambition is to obtain the world’s ultimate treasure, One Piece, and thereby become the next King of the Pirates[content reused from wiki ]. Its been more than 12 years since the release of the first volume of the story and its still so exciting.

In the span of the last 5 years I never ever cared about keeping myself organized with my online accounts on the web. According to my firefox’s list of stored passwords and other sources like the data in my notepad , I got close to 70 odd websites which I am trying to figure the best way to safely and securely store my personal data and also the few GBs of data I have with me on my personal computer and organizing the 40k odd emails, most of which were from college which I thought would be useful for some reason. With all this, I feel like it would have been better to keep myself organized with things like email and deleting email and the junk which are not worth keeping like a mail to a mailing list asking if someone had seen his empty bottle or his shoes which he left in some lab. I dont deny that they would bring back memories , but I feel like wasting unnecessarily using up space on the email server. I bet you wont be using the space with stuff that is work related on your email server that right now provides more than 7 Gigs of space for free , but denies to provide anything more than 100 MB of space for free to display/show your photos out to the world.

The question boils down to , which service is best for storing my data online and why ? How can one manage so many different passwords , information which all sites one has accounts on and data somewhere online safe(=encrypted). I have logged in my way of doing this storing the songs , movies, softwares, books or basically digital content which you bought online or home made content that is private.

Bleach Manga(now in India)

Bleach Manga

I recently started searching for a list of online shopping sites in India and trying to compare them with Amazon.com (trying to compare with the best in variety and customer satisfaction ) 🙂
Had a list in my bookmarks. I could only find Bleach Manga at Flipkart (probably imported from somewhere else, since the estimated time is close to 3 weeks). Did I forget to tell that Flipkart offers FREE Shipping compared to shop.in.com and few others.

Above uploaded is my copy of Bleach Volume 22.

Expecting to get Bleach Volumeset 1-21 and One Piece all 54 volumes to be placed gift wrapped at my home for me 😀

The Fall

I have successfully survived without an accident for 7 odd weeks (after starting to ride a bike) . Only few days back I realized that riding a bike on a plain surface is different from riding on sandy road.

The Bike

Bought a Honda Unicorn in February. Travelling around became easier. Now, I dont necessarily think if I want to visit someone who is few km away.

Unicorn Specs: 150cc engine , Disc brakes for front tyre, 0-60 KMPH in 5 seconds. As a naive user, I managed to get to ~40 KMPH in 5 sec.  The color of the bike is  Black with Red Graphics( even the spec says Black, you see Red everywhere). I had my eye on the Blue Unicorn(MotoGP Edition), only later I knew that it takes few years to get it. I went along with Red which is my dad’s favorite color 🙂

The Accident

Trying to make a turn on sand, along with applying rear and front brakes is the cause of the problem. Using the front brake on sand will stop your ride for 2 minutes (even if the purpose you intended was to lower the speed), along with few scratches on the bike your the person’s on the bike. The solution goes down to, dont use the front brake while you are turning or while your bike is on sand . The worse thing is when you are trying to do both at the same time 🙂

The Memory

Am left with scratches on the left side of the bike and also some on my left hand.

work today

Today, I started working from the morning 🙂 . For Yaat(the Annotation Tool), I made up a small website. I thought about installing trac [from edgewall.org] .

What is trac ? Why trac? Many websites which use svn for maintaining their code are using trac to host their sites.

Trac is a web-based software project management and bug/issue tracking system emphasizing ease of use and low ceremony. It provides an integrated Wiki, an interface to version control systems, and a number convenient ways to stay on top of events and changes within a project.

I will keep it simple. http://trac.wordpress.org/ . One of the most popular open-source projects (wordpress) uses trac.

It took me a little bit of time for installing it. Had some problem with mysql with Trac ( installed v.0.10.4 ). Finally shifted to sqlite.

Now, its the time for configuring the webserver. As trac is written in python and by default, Apache does not have either mod_python module or Fast CGI installed(OS Specific) . I could not find the required rpms (rpm is the package manager for RedHat based OSes).

Installed mod_python and a little bit of configuration and viola ! its done ! The bad part is , a lot of time got wasted in searching for the rpms 😦 .

Now the svn repository . I had a repository in my old machine which contains some projects out of which yaat was one of them.

The problem now: One repos, require backup of 1particular project out of 8. Searched up in the svn redbook. But , turned out unlucky 😦 . There were only articles about how to take incremental backups and dump them back. After a little more googling , ended up lucky. This is the code snippet for creating a new repos from the old one along with the filter for filtering out based on the project name 🙂 . svn rocks 😀 .

svnadmin create newrepos –fs-type fsfs
svnadmin dump repos | svndumpfilter include yaat | svnadmin load newrepos

If you dont give the fs type as fsfs, you may face some problem when hosting the site on trac. ( I got that problem, so I am not sure about it ).

`yaat` was my project name, repos was the old repository and newrepos is my new repository . Actually `yaat` here meant it searches(greps) for `yaat` in the list . And tadaaa. the porting of the projects done ! . But almost a day got eaten up because of this ! 😦 . Anyways if I want to install it again , I will end up facing less no.of problems than I had earlier 😉 .

google talk – change display image hack

Ques) Ever wanted to change your display image (in the Google Talk Application) into an image found on the net (some Google Doodle) ?

Ans) Yes, you can. Just copy the image URI (URL) and paste it in where it asks for the filename in the File Popup Dialog box(the Qt style of viewing [painting] widgets) . I am not sure its the work of Windows(M$) File Dialog Widget or the Google Talk Application ( mostly Google’s ). Make sure the URI ends in one of the supported image formats (bmp, gif,jpg,png), else there can be problems.

This post can also be labeled as “Create Thumbnails using Google Talk” [ 😛 ] which looks a bit funny. btw, did you can see your display image in the URI http://mail.google.com/mail/photos/username@gmail.com .

So if you want thumbnails, upload an image, go to the above URI where you can find the photo in the thumbnailed size 😉 Who wants to save thumbnails this way anyways ? My guess , none !

Ques) Can I get a smaller thumbnail ?

Ans) Yes, add the arguments “?sml=1” to the previously specified URI and you get the smaller image.
Ques) Can I get an image of size 100×100 when I resize using this

Ans) Probably, you cant. I am not the one who did it, ask Google 😛 ( search in Google ) . Try any of the online / web image editors ( Usually come in flash or js (for dynamic event handling and ajax) + serverside ( php or smth) . Adobe has recently released one , didnot check it out yet but, I am sure it rocks !

The next post I will be probably writing about how to know / identify blocked users in your Google Account ! interested ? Wait up then. I am not totally confident about the procedure . I will atleast post about my approach if I am not successful 😉

things to do!

I thought of this idea or “things to do” when I was a bit ! happy.

If you are un-happy or frustrated , try to

  1. Think of things which make you happy ! really happy
  2. Organize your data on your system in a good way so that when you take backup or delete stuff you can do it for the directories.
  3. Organize your clothes,books etc.. in the real world.
  4. Talk to people who dont talk topics which piss you off or talk to people who are really close to you.
  5. Think about your life how it was age-5 to age-10 years ago ! (where age is your present age)
  6. Design a webpage or hack one.
  7. Try to know about XSS and find one in GMail.
  8. Read comics / jokes.
  9. Think of ideas and write them down.
  10. Listen to rock songs in high volume, really high volume.
  11. Drink hot coffee (works for me)
  12. doze off
  13. Try to hack some captcha ( try some image processing ).
  14. Hack stuff !
  15. get an argument with someone and kick him up bad ( dont get kicked up ).
  16. If you want something really new , visit Wikipedia. ( wont work for me though ).

I wrote up this post so that it will be easy for me to refer what todo when I get the feeling.

imdb-rightclick-hack

Was going through the image gallery present in IMDB. Noticed that I could not save the image I was viewing because right-click wasnt working.

There are two ways to save the image in Mozilla Firefox

  1. Click Tools -> PageInfo and in the Media Tab you can find the images and click on the image and click “Save As..”
  2. View the source of the page. Get the image location , copy the url and save the image.

Once one sees the source, one will findout that the contextmenu is being replaced. It looks something like

<img src="imagelocation.jpg" oncontextmenu="return false" />

If its possible for you to change this value in the contextmenu, you can directly get the right-click option enabled. Thinking about the post title, I should have named the title as “How to disable rightclick in Mozilla Firefox ?” . By the way, the code that works removing rightclick in imdb is

javascript:for(i=0;i<document.images.length;i++) if(document.images[i].oncontextmenu)document.images[i].oncontextmenu="";void(0)
 Continue reading 

flickr-hack

Was browsing thru flickr and suddenly thought of saving an image. When I right-click and do ‘Save Image As’, I get the image some spaceball.gif . This was one of the hack which I saw sometime ago for preventing users to directly download the image. I was struck with this idea, how to save the original image ? I got only one option

  • Grease Monkey Script

I started out writing the greasemonkey script and then it suddenly struck to my mind

  • Adblock Plus

Adblock Plus will do something related to my requirement . I just need to block the image from my view.As it is a gif , a transparent one, it wont  effect anything . Just right-click and block the image spaceball.gif and tadaaa.. you are done. From next time on, when ever you load a flickr page, you can directly save it with right-click and ‘Save Image As’ and you are done.

Assuming you are using Mozilla Firefox  and installed the plugin Adblock Plus 

DYK [Did You Know] ? Firefox Campus Edition 

Qt saved the day

It all started when I needed to port a small code written in Image Magick/C++ [working in FC5] need to be ported to FC2 {Fedora Core 2}. With the difference in the version of the Magick++ library, I could not even compile it. It was a web based project, so I tried to write it in PHP and the size of the images are some what bigj around the order of 3000×2000 pixels. In PHP we needed to allocate memory seperately . We needed to set around 100MB . If 4 or more instances of the program runs, think, how your machine will be doing ? { If its a server it would do fine }. So, the last alternative, Qt, THE Qt ( from trolltech ). With Qt, the problem was solved in minutes.

In PHP you set the memory limit by

ini_set ( 'memory_limit' , '15M' ) ;

In Qt-3, if you wanna do some image manipulation the format will be something similar.

#include <qappliction.h>
#include <qimage.h>
int main ( int argc , char* argv[ ] ) {
    QImage srcimg("source.jpg");
    QImage dest;
    // Do operations on srcimg and save to dest
    dest.save("destimg.jpg","JPG");
}

and you are done. Qt is the best . A lucid reason is because of how the documentation is made and kept.

An intresting site to check out » http://labs.trolltech.com/blogs/

the day started with carroms

It was June 14, 2007. I was woken up by a phone call from `Campus Connect`. After I kept my phone down, I saw Meka Manoj. Then so, I thought my day’s gonna start with carroms 🙂 Yes it was. We agreed to play not more than 4 rounds.

The game started. As usual, the board was in bad condition[dirty weather X-( ]. I recalled the game that I played the previous night , the funny thing was , we played the game without a striker. It was Praveen’s idea of playing with another coin [ the black red coin ] {as there was no striker present} 😀 .  I played quite well today . I saw the same expression on Manoj’s face which says ` That was sheer damn luck ! ` . People including Pramod P , Nithin M, Pramodh, Sandeep C, etc… [ people who play carroms in OBH ] gave that expression one time or the other. We played around 5-6 boards and we played almost at equal levels 😀 . I was happy when I put my last coin on the last board I played.

It was drizzling , the ENV was cool and pleasent until I got the thought of ` where to eat now ? ` . As it was raining we [ I , GBR ] have no other option except the mess. I am a bit eager to know what all might happen today 😀

The Dinner

It was 13th of June. There was a meeting in the evening, and I had show some improvements in the Tool. It was 10:15 in the morning. I just woke up from bed , and as usual I was browsing through slashdot, lifehacker and other sites. Again re-started using Google Reader. The last feed I added into the Google Reader was the RSS which Google Reader itself provides :). So, I have the list of all the items I am reading sorted according to time.

The time Google Reader shows us is the time at which it had crawled that page and at which it gets the content.

Went to MuRaL at 05:00 pm after the meeting and had a little bit of chat with Shashank and Pramod P and decided to go to Anupama. In the hotel, we had `Veg Canoto Soup `, then, Naans along with the mushroom * curry , and ended the dinner with Curd Rice [ which was actually very good ]. And later after coming back, went to the lab again. Had a great dinner after a long long time 🙂 . Returned back to room and at 01:30 am on 14th June [today] , played carroms till 03:30am.

Did some changes to my webpage(s) . Location » http://students.iiit.ac.in/~sairam/ . Now its cooler 🙂

Bash Cuts

‘It would be great if I had all the short-cuts all at one place ‘ ram thought 🙂 . Starting with BASH ( Shell ) which many use… This list will be useful for people starting to use BASH.

Ctrl + A = Home Key = Move to start of line
Ctrl + E = End Key = Move to end of line
Ctrl + I = Tab Key = Auto complete
Ctrl + N = Down Arrow = Next Command
Ctrl + P = Up Arrow = Previous Command
Ctrl + M = Enter Key = Execute Command
Ctrl + O = Execute Command and restore the previous command.

Ctrl + R = Reverse Search
Ctrl + S = Forward Search or Suspend # varies with terminal type.
Ctrl + Q = Release Suspend

Ctrl + U = Remove from start of line till position of cursor
Ctrl + K = Remove from position of cursor till end of line
Ctrl + H = Back Space
Ctrl + W = Remove one word [delimiter=space]
Ctrl + Y = Paste that was cut using Ctrl + U | Ctrl + W

Ctrl + L = Clear Screen
Ctrl + T = Swap the letters behind the cursor
Ctrl + F = Move one character forward
Ctrl + B = Move one charecter backward

Ctrl + D = EOF / Logout / eXit (Oops !)

Ctrl + G = Bell

Ctrl + C = suspend a program
Ctrl + Z = stop a program [ works in a program whose parent is the bash shell ]
fg = bring the process / program to the foreground
bg = bring the process / program to the background

Ctrl + J = Execute Command ~ Ctrl + M
Ctrl + X * 2 = toggle between position
Ctrl + V = Some one fill this !

Please add any more short-cuts. The list will be available at http://students.iiit.ac.in/~sairam/

Vimming

Was coding, and got a different kind of doubt. If I want to search for 2 words both at a time, say, PrimeNo & TotalNo. I found out that oring the two will do it. But we have to escape the | . ` /PrimeNo\|TotalNo` in vim will do it. 🙂

Found a new vim trick :).

That was some time before and today , the 4th of September, found a nice one this time. What will you do if u have a link in your file that you are vimming [the file you opened using vim], What a normal person will do is he would copy the link and paste it in the browser, else, you can just go to that line containing the link and just say `gx` in escape mode, I found this accidentally when pressing :noh , got :no , and then it gave some aliases which are there by default, and this is one of it.

And also one thing about recording in vim, I tried to read about recording in ranta’s page, but I had a doubt when to use it,

and found a incrementer/decrementer in vim :D, just go to a number and press Ctrl+A [Escape Mode] will increase the number and Ctrl+X[Escape Mode] will decrement the number.

i recently knew that recording is easy,good,helpful ,briefly, press `qa` in Escape mode to start recording, this will store all the actions we do within the register `a`, do something and then `q` to stop recording, and executing the contents of the register `a` is by [count]@a .count is no. of times we want it to repeat that action which is commonly used in vim.

.vimrc

+set ai
+set autoindent
+set cindent
+set ci
+map <f5> $vypr|^vyphr|YPVr-jYpVr-j

thinking of writing some pages on pdf/swf/algos 😀 .Jus writing them as found them and may come in handy sometimes.

vim shorties

I made up a list of vim commands I use , I wrote down the list but did not sort them out.

Also an Advanced Vim Tutorial can be found here written by smr , his homepage @T smr.co.in .

Also the list can be found @T http://students.iiit.ac.in/~sairam/tutorial/Vim.txt .

vim Shortcuts &| Small Codes
———————————————

h->left
j->down
k->up
l->right
k
h    l
j

Ctrl+N &| Ctrl+P for word Completion

:s/old/new/ for replacing in that line only,

:%s/old/new/g for replacing in the whole text.

:23,84s/old/new/ for replacing the text from lines 23 to 84.

:vsplit | :vs for vertical splitting,

:split for splitting horizontally,

:!cmd to execute a bash command.

Ctrl+G to show the file status.

Ctrl+[ for Escape mode.

i for insert mode.

I for insert mode, but changing the cursor to the start of the line.

R for Replace mode.

Ins for Insert/Replace Mode.

/searchword for searching from top to bottom

?searchword for searching from bottom to top

n for next match of the string

N for previous match of the string

/searchword\c for case-insensitivity.

:w to save

:q to quit

😡 == :wq = ZZ to save and quit.

:X for encrypting in vim and only vim can decrypt it.

$ -> End of line,

^ -> Start of line,

+ -> for going a line down,

– -> for going a line up.

G -> for going to the end of file,

gg -> for going to the start of file,

:23 | 23G -> goes to the 23rd Line,

yy -> yanking,

dd-> deleting,

p -> paste below the current line.

P-> paste above the current line,

J -> to join this line and the next line,

% @ } or { or ) or ( for finding their partner,

O -> insert a line above the present line,

0-> insert a line below the present line,

~ -> for changing the case of a letter.

cw-> delete from cursor position to end of word.

C-> Change to end of line.

cc -> delete from cursor position to the end of the line.

:a -> to apply a function|command to all its windows,

a -> start editing after the curr position of the cursor.

:r filename -> prints the file withe name filename at the curr cursor position.

u -> undo

Ctrl+R ->Redo

Ctrl+e to scroll down withe cursor position fixed until it is in view.

Ctrl+y to scroll up withe cursor position fixed until it is in view.

Ctrl+d to scroll down half a page

Ctrl+u to scroll up half a page.

Ctrl+f to scroll down a page,

Ctrl+B to scroll upwards a page,

V -> to select an area horizontally & vertically and apply some function on it.

Ctrl+V to select area vertically & horizontally and apply a function on it,

x-> delete charecter under cursor,

X-> delete charecter before cursor,

d$ -> delete till end of line,

5dw -> delete 5 words.

<no>command -> execute it <no> times,

Ctrl+w + Ctrl+w -> to shift between windows in splitted conditions,

Ctrl+w + Ctrl+r -> to reverse the positions of the windows,

Ctrl+w + Direction Key to go to that window.

Ctrl+w + Ctrl+q -> to quit that window.

* on a word searches for all occurances of that particular word.

Ctrl+y in a line to copy charecters from the above line.

H-> goto top of screen,

L -> goto bottom of screen,

rx-> replace charecter with x

A -> Start Inserting @T end of line.

:f filename -> change current file to filename

” vim: fdm=marker fdl=0 –> @T the end of a vim file applies these settings to that file. It folds with folding marker.