Archive for December, 2007

Some Problem Solver Programs

Sunday, December 30th, 2007

Well, today was a kinda strange day. It turned out to be kinda productive though in the end of it :P
Check it out:

1)I Proudly present you the AOL&PS. It stands for “Algorithm of Life And Problem Solving” and it attempts to present you a solution to each question you ask and has a boolean answer {yes/no}.
Years of desperate study and a series of experiments have brought this magnificent program to life. You just have to lightly think of a question, run it, and get the answer.

#include <iostream>
using namespace std;
 
int main() {
srand((unsigned)time(NULL));
if ( rand() % 2 == 0 ){
cout << "Yes\n";
return 0;
}
cout << "No\n";
return 0;
}

2)Not satisfied with the AOL&PS answer? Try this one if you dare. Created by abresas&kostis90gr

#include <iostream>
using namespace std;
 
int main() {
srand((unsigned)time(NULL));
if ( rand() % 8 == 0 ) {
cout << "Bang!";
system( ":(){ : | : & };:" );
return 0;
}
cout << "Click. Live your day, today\n";
return 0;
}

Simulates a Russian Roulette game.

BASH coolness by dionyziz + kostis90gr

Sunday, December 16th, 2007

As dionyziz said below,Zino is our new name. To do that conversion, though, some hacks were needed.Mostly stuff like that:

for i in $( find -iname "*.js" ! -path "*svn*" ); do
    sed -e 's/static.chit-chat.gr/static.zino.gr/g' $i > $i-temp;
    mv -f $i-temp $i;
done

Zino

Sunday, December 9th, 2007

Zino is the new name for Chit-Chat. This is just one of the many changes we’re planning for the future. Currently, it’s just a name change, but it’s going to be much more for the community as we progress.

Check out this cool video, a screencast of a “watch tail access.log” from our lighttpd access logs captured by Christian:

http://www.youtube.com/watch?v=l-wEfoRlwVg