Starting Python

I made a gift to my son for Christmas – a book about programming in Python

My kids and I started doing couple pages every night and when we covered about a half of the book I came to conclusion that I can teach them programming better.

So I am going to work on Python class schedule. The goal is to teach my children Python and some web development in 3 months.

First class is tomorrow.


SQL Azure cost

I found this post comparing sql azure to stand-alone (vm) sql servers:

The most interesting thing I found is that P4 tier was using only 1 (one) core. And I tought it’s pretty high tier.

Assuming that SQL Server Enterprise Edition license per core is $14256, then the 3 year cost projection looks like following:


sql azure cost


When I started my MEAN path I thought that I will learn all technologies related. With Mongo-Explorer-API project I used 3 out of 4 technologies:

MongoDB (M)

Express.JS (E)

and Node.JS (N)

I was planning to continue with Angular 2 in the client project which supposed to connect the API. After some consideration I came to conclusion that I want to make a detour and instead of building a Web client project in Angular 2 (A) I will work on mobile client first using React Native (N).

So I am taking a detour with MERN. I am so excited!


Found out that examples in MongoDB use co generator to make it easier to write and read async functions:

Something very complicated (because of multiple callbacks) like:
var db = new Database('test', new Server(connectionString.server, connectionString.port));, db) {
if (err)
var adminDb = db.admin();
adminDb.listDatabases(function(err, dbs) {
if (err)
cb(null, dbFound);

becomes very simple when using co:

return co(function*() {
let db = yield MongoClient.connect(url, {ssl:connectionString.ssl});
let dbs = yield db.command({listDatabases:1});