Thursday, March 20, 2014

std::exponential_distribution distribution(lambda);

Читати справжні надруковані книги, виявляеться, так захоплююче!

Monday, March 17, 2014

OpenClass

Few days ago we participated OpenClass competition. Failed. Me, Paul and Dmytro. It's ok, the tests were not so easy.
I also learned to control non-human-operated programs: main with params!!
I am so proud of myself! Ch. D. V. would be proud of me too :D

Sunday, March 16, 2014

mysql

is soooooooooo sweet, it draws some kinda little bars for me on show tables; !!! :D

mysql> show tables;
+------------------------+
| Tables_in_thevery1stdb |
+------------------------+
| thev1sttableever       |
+------------------------+
1 row in set (0.00 sec)
And Scooby-doo is damn so scary, even when I'm grown up, it's hella scary!

And it also says "Bye"!!!
yup, my first IDE-DBMS interaction!!

QSqlDatabase db = QSqlDatabase::addDatabase("QMYSQL");
   db.setHostName("localhost");
   db.setDatabaseName("test");
   db.setUserName("niam");
   db.setPassword("1111");
   bool ok = db.open();
   qDebug() << db.lastError().text();
   assert(ok);

   QSqlQuery query;
   //query.exec("CREATE TABLE NEW(id int)");
   query.exec("SHOW TABLES");
   if(query.next()){
        QString res = query.value(0).toString();
        qDebug() << res;

        qDebug() << "yes";


No, meal, NO!! Why do you mess everything up!?! I want to code, not to eat!

Thursday, March 13, 2014

:)

Today Ch. D. W. has sent me a smiley! =)

You're a SIGIOT!
Today we've been listening some words about graphs for twelfth time.

NORMAL DISTRIBUTION GRAPH IS ALIIIIIIIIIIIIIIVE! UNBELIEVABLE!

Food