Had a fight with angular today, I think I won, but not without twisting its arm around more than I'd have liked to. For no reason in particular, it is nontrivial to display and properly align an icon inside of an md-option.

I'm late

Generator functions are available in node, and has been for a while, but I've not known about this. I'm still slightly uncertain about when using them will make sense.. From what I superficially understand, they are a defined interface to iterable tasks. Instead of defining a class with internal state, the Generator function seems to do some work behind the scenes, and return a iterable object when called. For each time the "next" method on such an object is called, the Generator function continues until it yields. Here is an example: function* something( times ) { //Much advanced stuff while(times > 0 ) { yield times--; } } var stuff = something(3); var r; while( ( && !r.done ) { console.log( r ) } Here is the output: { value: 3, done: false } { value: 2, done: false } { value: 1, done: false } If algorithms start supporting this, then it might become very useful.

In other news

I read about concepts in C++, I saw some syntax and decided that I don't care how awesome it is because I'm not able to decipher it. I appreciate the challenges of preserving backwards compatibility, but maybe it'd be nice at some point to break with the past, let C++ go into maintenance mode and define a new and readable syntax. I see the same thing happening at an accelerated rate to the jai language, though it's still in development, and there is still potential for a language with all those cool features, and a syntax that feels less like one is implementing brainfuck among random English words. ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.++++++ +..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>. - Tired, out!