Friday, October 19, 2007

LifeBlob is Live !!!

We are feature complete and passed out invites to our first set of users!

My Timeline
-XP

Tuesday, September 18, 2007

Running Memcached on Windows

I was trying to run memcached server on windows as that is my current development OS. Unfortunately the memcached's windows port has given only source code for libevent ( a dependency) and it needs VC to compile :P. With obvious lack ( read: interest ) in VC tools, I set on a big google hunt for finding the windows build of libevent.

I was finally able to get some luck from this site. Thanks to them, I was able to get memcached running successfully.

I have attached the memcached ( 1.2.1 ) setup here

Sets to run the server
1) Unzip the folder to any directory
2) Within the folder, run memcached.exe -d install ( One time )
3) For
starting the server: memcached.exe -d start
stopping the server: memcached.exe -d stop
4) To uninstall the service, run memcached.exe -d uninstall

You can also run memcached.exe -h to find all the properties that can be configured.

-XP

Wednesday, August 22, 2007

Excellent Y! Support

The closure Y! photo's was indeed a bad news. I was totally in love with their interface and obviously unlimited storage:P The day the news came in, I decided to move my photos ( > 2 GB ) quickly ( read: bad judgment ) to flickr. The decision was pretty much based on Flickr's brand name over other options. After the image transfer, I realized that I would have been better off using either Shutterfly/SnapFish service which offers unlimited storage.

But as expected, after doing the photo transfer to Flickr, my Y! photo account got locked. ( It was mentioned in their FAQ that the transfer is a one time only operation). I shot a mail to Y! support ( with the least expectation ) on whether it is possible for them to reactivate my Y! account so that I could migrate to another photo service.

I received a mail from their support within 2 days and was a positive reply :)

Hello,

Thank you for writing to Yahoo! Photos.

Thank you for contacting us regarding your attempted move of your Yahoo! Photos to another service. We are very sorry to hear that you are having problems moving to the affiliate of your choice.

We have released your Yahoo! Photos account so that you can attempt the move again. If you are having continuing problems moving to the same affiliate, you may want to try moving to a different affiliate or simply downloading your images to your computer yourself and then manually uploading them to the affiliate of your choice.

If you have any additional questions or concerns please let us know as soon as possible as we'd be more than happy to help!

- http://help.yahoo.com/l/us/yahoo/photos/

We appreciate your time in writing to us -- your input helps us to identify ways to help make this the easiest and most hassle-free way to transition all of your favorite photos to one of these great services above!

Thank you again for contacting Yahoo! Photos.

Regards,

Jamie Lynn

Yahoo! Photos Customer Care



This kind of support is truly amazing and very much appreciated!

PS: I moved my photos to ShutterFly. My new preference is Google Photos but sadly they don't provide "free" unlimited storage :(

Friday, August 17, 2007

Struts2 + Custom URLs

For the web application that I was building using Struts, I needed custom ( read: cool ) URLs.

Traditionally, struts URL would be of the format
http://www.myapp.com/login.do
where do is the action extension.

But rather, I wanted a clean URL like http://www.myapp.com/login

To achieve this, I had to do the following

-> In my custom struts.xml, I added a line which overrides the default ActionMapper class

->
Write the custom class which should extend ActionMapper

With a custom Mapper Class, the scope of formats of URL is limited only by imagination :P
To take up an example, lets say we want to have a "clean" search URL
http://www.myapp.com/search/abc+xyz
To achieve the above, we need the following
  • Action class called Search and corresponding function called getResults(). This class also needs to implement ServletRequestAware to get hold of the ServletRequest ( which would contain the search parameters )
  • In the custom Action Mapper Class, we would need to use regex ( split on "/" ) to understand the URL and if we find the first token is "search", we could set
actionMapping.setNamespace(namespace);
actionMapping.setName("search");
actionMapping.setMethod("getResults");
request.setAttribute(SEARCH_KEY, searchParameters);


-XP

Tuesday, April 03, 2007

MS Live Search WTF

Check out the results for "how long does it take to get a patent" on MS Live Search ( roftl ).

Looks like the live team is doing a great job in catching up google :P

Wednesday, February 21, 2007

Funny Traffic Signal

Encountered a weired traffic signal near RajajiNagar Entrance. Was wondering what to do next: "Jump" the signal or face the wrath of the vehicles behind me :P



PS: I had taken the pic using my phone ( Nokia 6270 ) without flash and while moving and hence the bad quality ;)

-XP

Family Tree

I am very bad at remembering detailed family relations and for that matter even names :P When ever I visit my native place (which is very rare) with my parents, my parents/I make sure that I get a "crash" course on all the relations again ;). So being a tech guy, I wanted a tech solution and hence entered the domain of family tree. For long I had be wanting to find a site that would really simplify creation of the family tree. I had tried various sites like Ancestry, TribalPages etc, but none of them allowed me an "easy" or "flexible" way to create a family tree :( Couple of hrs back, Pavan ( Friend and Colleague ), pinged me with the URL to this brand new "web 2.0 family tree"!

It is called Geni( That is one short name!). The first thing that strike me was with the ease it allowed me to create an account ( No email validation to start off! But then we need to validate later). The UI is flash based and mind blowing. The whole experience of creating family tree is taken to the next level. It was so much of fun that within 30 mins or so, I had added over 20+ members to my tree. The product is still in "beta" and has couple of privacy issues to be answered ( Like mother's maiden name being shown, access control etc). But in all, I really liked the whole user experience. I recommend that you take a shot at this.

A sample tree


I also manage to find couple of other new Family Tree service
  1. Famster
  2. Zooof
But none the above has an UI that is as intuitive as the Geni's one

Update
  • Check out the way they incite users to complete the profile.
-XP

Tuesday, February 20, 2007

Eclipse Callisto

I had been using Eclipse 3.1 for a long time. So thought I should give 3.2 a shot at. Eclipse site mentioned about "Callisto".

In their words
Callisto is about improving the productivity of the developers working on top of Eclipse frameworks by providing a more transparent and predictable development cycle. By releasing 10 projects at the same time, the goal is to eliminate uncertainty about version compatibility and make it easier to incorporate multiple projects into your environment.

The best part I like was the customization that it allows to choose features from various projects. Further googling landed me on Yoxos. They provide an excellent UI ( Rich AJAX Platform )create a custom Eclipse installation.
  1. Allows to create/share custom scenarios ( Eclipse installation)
  2. Allows to pick standard features and 3rd party plugins.
  3. Provides Yoxos Install Manager (YIM) which is an eclipse based update mechanism.
  4. Provides 3 months free subscription. After that YIM will not work.
I created a custom ( warning: 500 MB+ ) Eclipse Installation ( I added every plugin that I could think of:P ). It is accessible out here.

Screenshots of features for my custom Eclipse




-XP

Sunday, February 18, 2007

Resolutions

Have been thinking a lot to make life more exciting. Decided to "try" to do 2 things from now on

1) Wake up early and define a morning ritual ( Thanks to this nice read by Steve Pavlina).
I have been very erratic w.r.t to sleeping. These days I sleep at 2-3 and wake up at 11. I end up reaching office only around 2-3 :( Also alarm never helps :P. Need to bring some order back into my life. So decide to start waking up around 6. Yoga sounds a good idea.

2) Start blogging ;)
Set up my blogger account's template, widgets etc, yest night. Still not very happy about the template. Will change once I get hold of a nice template ( I really liked this page look )

-XP