Archive for the 'Updates' Category

Main Bhi Bookie - Challenge your friends on World Cup Cricket

nirav March 12th, 2007

Main Bhi Bookie

Are you a cricket fan? Do you challenge your friends about the match outcomes? We do that very much during the World Cup! So we setup a website to let you also do that! MainBhiBookie allows you to select lineup of three batsmen, three bowlers, man of the match and winning team. You then challenge your friends for selecting their lineup. Once the match is over, the system will calculate and award points. And you will come to know who amongst your friends won the challenge.

The site is launched today in beta mode, one day before the world cup begins. We are going to keep enhancing it as we go. I invite you to register and start playing! Let’s see who’s better!

Main Bhi Bookie - Select a match and add your lineup

By the way, there is no money involved in challenging your friends! There is no money you have to pay to the site either. You can be on the first page of MainBhiBookie if you are scoring better than others! And you can easily invite your friends to setup their own lineups and challenge with you!

Start by registering on Main Bhi Bookie!

Coming soon: an interesting post on India’s largest ecommerce site

nirav March 4th, 2007

Middle of this week, I will be posting an interesting note on IRCTC - India’s largest ecommerce site. If you have used IRCTC, you will find it worth reading. If you have not used it, you might want to try it out after reading the post.

In any case, I would like to hear your opinions on IRCTC! Go ahead, comment on this post.

Saturday Blast, again!

nirav February 6th, 2007

We had a Saturday full of fun in 2005. And then it was time to have another one. Saturday Blast 2006 - 30 December 2006 - was a synonym for frolic, craziness and full dhamaal! I am posting this very late, so excuse me on that.

By 9.30 in the morning, everyone was being stamped! Whoever came in, had to pass the registration desk. I got a nametag with my Hawaiian name (Niwala) and the team I was in (Daffodil). Being the official photographer for the event, I started clicking around. Everyone was excited - stamps on the face, funny costumes, running commentary on people who entered, and unabashed expression of enthusiasm.

The office was soon packed with people in colorful cloths and colorful moods. We started with prayers. Actually, KG poems! Humpty Dumpty et al. Then the “lemon & spoon” game and “blow the paper”! It was too funny watching people blowing a crushed paper ball to take it to the other side.

The “Tol Mol Ke Bol” turned out to be a game where people just crowded around and kept shouting prices of the items shown! It was more enjoyable to see the people, then the items and their prices!

We then watched a movie, and enacted scenes from it in a funny way. Imagine The Great Indian Laughter Challenge dialogs being delivered over a muted horror movie. That’s how it was! By this time, we were hungry, so hogged onto the Pav Bhaji and Gulab Jamun.

Got lazy after the movie, but the scene changed quickly as we got into the Ad Mad World! This was one of the best parts of the day. Amazing level of energy and creativity in the Magneteers. The Rajdhaani Anti Loose Motion tablet ad was one of the best, and we will never forget it! (We actually took a lot of videos, and have a Saturday Blast 2006 movie also made! The movie is superb, and a great comedy show!)

Next show was Tom & Jerry! Over chips and samosas, this was a good timepass that got us ready for Nach Baliye! This dance competition turned out to be a major hit, semi final and final rounds getting hotter. The performances were very good - even people who said they do not know dancing, were dancing. Audience had a great time, I must say!

Everyone was in the mood to rock the floor now, and that’s what followed! Like the Mumbai Suburban Trains, if you even stood still, you would be dancing. There were some star performers and some who provided humor. But the enthusiasm was contagious.

What followed was the prize distribution, lot of group photographs, sharing the chocolates won in the prize and elated Magneteers wishing a very happy new year to each other in advance.

Another memorable Saturday Blast on Magnet’s timeline, and a golden day for the Magneteers!

Selected pictures in the gallery!

Hacked!

nirav January 25th, 2007

Somebody played a little hacking trick on me the other day. He used some Wordpress SQL injection vulnerability and changed the title of the blog!

I am hacked!

It was interesting to see this. I actually liked his efforts. Cleaning up the thing was not difficult and thankfully we did not have any left overs! WP is now upgraded to 2.1. That should make things better for now!

Magnet HackFest01 Report

nirav December 24th, 2006

And it is over! We completed Magnet’s first HackFest at 5pm today. A bunch of hackers came together on 23rd December at 5pm, and hacked internals of systems, coded cool ideas, researched on future trends, watched movies, ate pizzas and vada pavs, goofed around, and had a tremendous experience in 24 hours.

As I already wrote yesterday, we settled in, brainstormed about ideas, and then played Quake. It was 9pm by then. Some had started working on their ideas, some were interested in playing more. We ordered pizzas. The pizza guy came in on the 27th minute (30 minutes, nahi to free, right?). Asked the pizza guy about who pays the bill if he gets late. Have seen and heard in the movies that the pizza guy has to take the loss. He said the company pays. The pizzas were good, and we were stuffed by the time we finished half of what we ordered.

Resident EvilThat was right time for a movie. Juggled with a few options and finally decided to watch Resident Evil. Watched the first part, and half of the hackers were already on their computers by then. Some even watched the second part. It was getting pretty exciting by that time.

My first hack task was over, thanks to the automatic fix on the popularity contest plugin for WordPress. So I started looking around for other things. Wanted to try out Photoshop CS3, so kept that on download. Guess when I finished the download? No, not in the morning, it’s still not done! The Adobe Labs’ download process is a little finicky. For one, it requires you to login to download the beta. And then it would not work with wget / other download manager. I am on a Mac, and I started the download in Firefox. Now Firefox has this big annoying problem with downloads. If you loose connection in between, or pause the download, sometimes you have to start it all over again. I did not want to put a 685MB download on Firefox, but then I did not have wget on the Mac. So I said let me start the download, and download and compile wget in the meanwhile. I had been delaying it for quite some time anways. So I downloaded wget source code and went to compile it. Realized there was no gcc on the machine yet! Got the Mac OS X DVDs and installed the developer tools and gcc. The compile would still now work and failed with the error message: “C compiler cannot create executables”.

Now that was something I got for the first time! A little bit digging around, and reinstalling the packages did not solve the problem. Installed gcc-4 instead of 3.3 and then it was ready to be compiled. But by this time, I found out that though wget does not come with the Mac anymore, there is cURL. And I can do more things with cURL. So tried to hook up my CS3 download on cURL, but it wouldn’t go ahead without a login. Gave up on the attempts as the download was progressing well.

Started looking at doing something to show related contents from other blogs when you are seeing a blog entry. I already have a “related posts” plugin to WordPress, and thought it would be good to have links to other blogs who are related. Naveen did some research and found out Sphere - it does the same thing. Albeit with an unfriendly interface. And then I found out that Google too has a “related links” provision. Had seen some wonderful visualization done on the principle though. And I think this is still an open idea - visualizing the related content - similar to what LivePlasma does for CNet news via big picture.

I also wanted to solve some long pending problems during the hackfest. So took on doing something to manage the software updates for the Macs we have in office. We have 3 MacBooks, a PowerBook, a Mac Mini, and an iMac. I wanted to have a system for software update for the MacBook, so that we don’t have to download the updates individually on each laptop. Now if you know the Software Update process on the Mac, it’s pretty much automatic. There are not real options on the interface to point to an update repository. I had done some research on this earlier and knew that the Mac OS X Server has a feature to update all Macs from a single update server. We did not have the OS X Server, so I had to do something else. A lot of reading and some Google later, I found two things - the Software Update Enabler which allows me to point to a URL of my choice for getting the updates, and a shell script - sumirror - that can mirror the Software Update repository one machine for you. This was very much what we wanted, so I started working on it. A few hours of hacking, and we now have a solution that works for us. I modified the shell script to detect the requests made by the client, and which were not found (via 404 messages in httpd.log). Then took that list and got the IDs of the packages that were queried for. Remember, we did not want to download anything extra - the Mac software and updates are very heavy and I don’t want to kill my bandwidth on them. So I made it pick up only those software which the client checked for. After getting this list, it was a bit of processing on the software update catalog file to get the correct URLs to download the files, not downloading languages other than English, and testing things out. I am very happy that this worked, I wanted to do it for quite some time. I will write up a detailed note on this in the coming days, so if you want to do it, you can do it easily.

Did a lot of other research while all this was going on. I am actually thrilled that I learnt so many new things. Here are a few things I tried / read:

And then probably a few other things! I had downloaded the Photoshop CS3 setup on our server, using an SSH and lynx, and was downloading the balance 163mb after the connection broke. And a few minutes ago, the download completed. And vanished! I can’t find the file anywhere now. Will have to download the whole thing again now! This is really a pain.

Apart from that, it’s been a great hackfest! Vishal is working on profiling database queries for optimization, Kartik is working on having festival speak in Gujarati. Arun worked on shutting off all the servers from a single machine, and is looking into fax support for Asterisk. And I just heard some noises from Vinay and Mohan, looks like they got something done!

And here is an interesting panorama that Ameya took. Vinay, Arun and Mohan interviewed me and Kartik - about programming, hacking and general questions. This photo is of that time.

Panorama 2 - HackFest

« Prev - Next »