Archive for category Misc

Hello World

People living in the National Capital Region (NCR) usually crib about a lot of stuff:

1/ Delhi metro’s network not enough.
2/ They are not maintaining the roads.
3/ Lately the travel time to/from office has incrased significantly due to quantum increase in traffic.
4/ There are not many places to hang out/dine.

However, once in a while few friends come from Bangalore (as they have their lay over at Delhi) and then they realize that how bad things can be and how good they are in the NCR. More over, if one has lived in Bangalore. Then he realizes the ballant truth.

The above is what happening to me now a days. But I am happy.

Ok. I understand that this is an unnecessary post but this train is taking crazy long time to reach Lucknow and I have nothing else to do.

Also I was thinking for the title of this post and i could think of nothing better. Its both semantically and technically a good fit.

Hmm sound like I have been programming a lot lately…


SimpleViewer Gallery.xml Generator

SimpleViewer is a great tool to create your own image galleries. The interface is smooth,  intuitive and user friendly.

I have been using SimpleViewer for a while. I used to generate its gallery.xml file manually. There are ways to generate the xml using Picasa and other tools, but then you need to have the images on your desktop. I have my photos on photobucket . The best part with photobucket is that it offers static URLs for all your images. So, you can download your images in full size from anywhere. Also, there is a handy Windows XP publisher plugin available to easily upload your photos in your account :)

The problem was to automatically create Simpleviewer’s gallery.xml from photobucket static links. I could not find any tool available on the internet which could help me in doing so. Hence, I decided to write a tool myself :).

Being a Java programmer, I built the tool as a Java class. The tool worked smoothly. Then I thought of making it available for everyone through the internet. I created a HTML form to call a JSP which used this class to generate the xml and print it on screen. I tried uploading these in my account on but they did not work. I then merged the JSP code and the JAVA code into a servlet and thne tried to deploy it on But all efforts went in gutter. Actually, I think its fair. The procedure to get a account is not easy. How can we expect the deployment procedure to be easy ?

So, I shifted to the server side scripting language of the heaven: PHP. I referred to and just to learn the required stuff. And yes, I have the tool up and running at

Please use it to create your own image galleries. Feel free to pass this URL to your frinds and family. Its the basic thing (kind of beta) right now. I will be enhancing its functionality as and when I get time. People who are wandering over the internet for such a tool, please accept it as my chritmas gift to you :).

And yes, please mails your comments/suggestions/bugs to SimpleViewerXMLGenerator [at] setugarg [dot] com


Ahmedabad trip

Just checking base from Ahmedabad.

I am still awake at this off hour. I came to Ahmedabad for the first time. Infact I am visting Gujarat for the first time in my life !

I have come here to attend Jashan’s sister’s marriage. Yes, the same Jashan Parikh who has contributed a lot on this site’s Photos section :D.

We (all bhatara guys from JIIT) are staying in an awesome room in an apartment on the 9th floor in a posh area in Ahmedabad. And I must say that I am feeling nostalgic. This is the way we used to live in our hostel :).

We have 2 laptops with bluetooth and my state of the art Reliance Mobile with RConnect facility. Since 4 other guys have gone to have tea at 2 am in the morning (god knows why), and the other 3 are sleeping, I am blogging ! What a great way to kill time.

I like Ahmedabad. More than the place, I like the people here. Basically, after living in Delhi, you will find that you like people from anywhere else in the country. Last time I went to Punjab for the first time and fell in love with the place and the people there :).

Gujarati food is marvellous. I have had a lot of dishes since I came in here. I am in love with their “kadhi“. Also, their marriages are a lot better than marriages in the north. No ho halla, no DJ. Just plain classical instrumental (mostly Santoor) in the background and the marriage ceremony is performed with grace. Also, I haven’t seen the complete family getting involved in such functions anywhere else. Basically, what they show in “Kyunki Saas Bhi Kabhi Bahu Thi” about Gujaratis is all true. Although that soap sucks.

I love technology. Right now I am sitting near the balcony, wirelessly connected to the internet over a bluetooth connection to my phone which is getting charged simultaneously and is lying around 10 meters away on a bed.

Anshuman Johri is trying to call me. Even after telling him that I am connected through a weak and low speed connection to the internet, he is insisting that we atleast give it a try. Hence, I have to sign off.

Some more content with pics from the marriage later…


Jive ’06

Just wanted to tell everyone that I attended 2 awesome evening shows at the Jive 2006 – the annual Techno-Cultural festival of JIIT, Noida.

I heard Silk Route and Tantrik day before yesterday and Moksha yesterday night. Silk Route gave a solid performance. The campus was spellbound with Dooba Dooba and Junoon’s Dosti. I do not ever listen to Rock, hence, I will not comment on Moksha :).

This was the best fest ever at JIIT.

With a state of the art Student Activity Center and the Jaypee Business School coming up, the Jaypee Institute of Information Technology is going to be a hot destination for students and the industry :).


Keep your fingers crossed!

If everything goes fine (and there is no natural disaster in India), you might just get to here a good news from me in the coming few days!

Well, I cannot give a hint right now, but I guess most of my friends know what it is. Anyways, its always good to have a formal announcement of such news. Patience.

For those of you who don’t know me, don’t even think about that. I am an Indian and only 21 years old ;).

No Comments


Upon recommendation by my friend Chirag, I just watched the movie Equilibrium. And I am stunned!

Its the second best Sci-Fi movie I have seen after The Matrix trio. Although the SFX doesn’t match up with that of The Matrices as such, but the concept and the direction is marvellous. As with The Matrices, every frame and the sample in this movie was important to understand the concept.

I guess I will have to add it to my orkut’s favourite movies’ list!

I recommend this movie to every geek out there.


I would be writing soon

It has been a loooong time since my last post. I couldn’t write due to certain personal reasons. Although, all the issues aren’t resolved as of yet, I cannot keep much stuff in my brain for long. I will have to drain it here.

Apart from this, making such a commitment would surely drive me to find some time and write. Oh god! where have I come!

Keep checking!

No Comments