A Very Simple Database Library for PHP and MySQL

There are plenty of complicated and complete libraries available for MySQL and PHP- which are used widely in big projects. For small projects we either use our own small library or we don’t use anything at all. The bad thing about not using anything at all are: a) The database information gets spread all over the places and b)we often forget to check security and c) a lot of code duplication.
(more…)

Read More

IEEEXtreme 3.0 Feedback

By now, IEEEXtreme 3.0 should be over. This year there were about 700 teams participated in the contest- which means about 2100 competitors. In terms of number, it was a great success- I believe it was beyond organizers’ expectation. I was worried if the server will be able to handle the huge traffic. Eventually it did. Problem set was pretty standard – well defined and organized. The contest went very smooth. However, talking about the organization, I felt the contest could be better. So here are some feedback from me:

(more…)

Read More

Happy Programmer Day!!!

Today, 13th September, I am wishing every programmer in the world Happy Programmer Day!!! :) Technically the 256th day of the year is the Programmer Day. Why 256? That is two to the power eight (eight bits = one byte) and also in binary 256 has 1 and eight 0s. That is the significance of the power eight.  I am going to print this using few programming languages (here eight) I use most frequently:

In C:

1
2
3
4
5
6
7
#include <stdio .h>

int main() {
printf("Happy Programmer Day!!!\n");
return 0;

}

In C++:

1
2
3
4
5
6
7
#include <iostream>
using namespace std;

int main () {
cout< <"Happy Programmer Day!!!"<<endl;
return 0;
}

(more…)

Read More

Starting with PHP, MySQL and Apache on Windows machine

I believe, there is enough resources on this topic. But this article is intended mostly for my friends who shows ineterest in learning, but I may not find enough time to help them out. It is very elementary tutorial. Assuming you already know what html is. If you don’t, then consider reading this, before you go further.

What is PHP, MySQL, and Apache and why?

Very briefly, PHP is a programming language (for web), MySQL is a database management and Apache is a webserver. (more…)

Read More