Tag Archives: RubyonRails

Announcing QuizGrid.com – A Social Network based on Quiz

logo_small I’m very happy to announce my recent hobby project – QuizGrid.com. It is a social network for people who love quiz.

I’ve been observing an increasing number of people in facebook who make and join groups to ask GK questions for information sharing and fun. But facebook group is not built for quizzing and the whole fun of finding the answer remains until the first guy finds and posts it as a comment. QuizGrid essentially solves this problem, answering and commenting on a question are different entities in QuizGrid. Also the support for questions with options is another advantage among many other features in this quizzing platform.

Unlike the traditional quiz pages over web, QuizGrid gives you a social network experience with the  feed of questions ranked according to the users you follow. QuizGrid also shows actions like ‘Bob and Alice answered this question’ or ‘John, Tom and 4 others commented on this question’, and so on if you follow Bob, Alice, John, Tom and those 4 other users. QuizGrid also has data crunching algorithms to show you relevant and concise real time notifications.

As a software developer, programming this project was immense of fun and challenging. I remember rewriting the entire code written using ORM for extracting relevant questions based on the actions of following users with raw SQL queries since the ORM implementation became very on a simulation test with thousands of questions and users. There’s definitely room for improvement and new features. Since it’s a hobby project, I develop QuizGrid during nights and weekends, I look forward to release more features and performance fixes in coming weekends.

Please sign up at QuizGrid.com if you are interested in Quiz and networking with similar minded people. Cheers!

Releasing myfest.in – A web app to find and share campus fest and events!

I’m very happy to release my little hobby project myfest.in, a place where you can find and share campus fests across India. The backend is written in ruby using Ruby on Rails framework and I’ve been having a nice time developing it for the last few weekends :)

The initial spark to build it was from the experience that I’ve been going to campus fests in Kerala and realized the necessity for a simpler way of sharing the information regarding fests. Many times I’ve seen students from other states (like from Rajasthan and Haryana) attending the fests in Kerala and I wondered how they got the necessary information. Most of them told they either got a personal invitation or came to know about fest from some website. I thought about the thousands of students who were missing the opportunities because they didn’t come to know about it on time. Also I’ve seen some campus fests without much of an outside participation. They were not able to promote the fest to interested students. I wanted to make a little solution for this and hence built myfest.in. Thanks to Arjun for the myfest.in logo :)

To those who are interested in the technologies myfest.in uses: It’s written in Ruby on Rails with  MySQL database and a little jQuery. It runs in a dedicated VPS with nginx and passenger.

I hope you liked it. If you happen to find any bug, please report it to myfest@myfest.in.  Thank you :)

Fix for Rails 3.x.x error “[FATAL] failed to allocate memory” in OS X Lion

This error happens when mysql2 gem is either installed for some other version of mysql or when it cannot find required dynamic library. To fix this error, uninstall mysql2 gem and install as follows

$ env ARCHFLAGS="-arch x86_64" gem install mysql2 -v='0.3.11' -- --with-mysql-dir=/usr/local/mysql --with-mysql-lib=/usr/local/mysql/lib --with-mysql-include=/usr/local/mysql/include --with-mysql-config=/usr/local/mysql/bin/mysql_config

Please change ‘/usr/local/mysql’ to your mysql installation path. Thank you.