Jun
2012
Allowing remote access of MySQL database
We @ DayScholars finally managed to arrange a good PC to setup as a centralized server for our code and databases. The server is running a customized Debian Squeeze distribution with MySQL Version 5.1. So the next requirement is to allow MySQL access for all of us. This is how we managed it. You must login as root user or must have root privilege to do this.
Edit the MySQL configuration file, located at /etc/mysql/my.cnf.
We prefer using vim. You can use any others like nano or even gedit.
No Comments | Read More...May
2012
Algorithm for preparing food :)
Does it sound funny? Its real.
Its now almost 2 months since we have shifted to Kochi. Here, there are 7 people living in a 2 storied house. During the first days, everyone was interested in cooking and morning walk. But, things changed very fast. Most of us now wake up by 10 in the morning, skips breakfast, whoever feels hungry, makes the food, etc. Few among us, who ates lot, couldn’t bear this and started complaining.
Since we already have bitter experience with the human made schedule for cooking from our Hyderabad days, decided to go for a more technical solution. Thus, the food preparation schedule algorithm and the program was born.
Its a simple python program, uses the historical data to judge who has to prepare food, in our case 2 persons per group, doesn’t schedule a person for both times a day if more than 3 people are present that time, etc.
If you need to see the code, its at http://labs.bizzard.info/?a=summary&p=FoodPrepare
No Comments | Read More...