Node.js garbage collection tip

Some node.js libraries leak memory or do not trigger garbage collection properly. This is very common problem especially when running them in a micro sized servers that have less than 2GB memory. For example when crawling web or using loops to process data can cause your long running script can hog all the memory in the system and […]

Angular 2 RC is here

On May 3th 2016, angular team finally released angular2 release candidate. As of writing this, latest version is rc.1. Not only did it change many things from betas, but also gave more incentive to consider developing your next web app with angular2. Release candidate introduced lots of package refactorings and seems to be missing animations. […]

Angular 1.5 component, $onInit and one way bindings

One of the most difficult to grasp things with angular has been directives. There are couple of problems with them: It’s uncommon name from other frameworks and therefore difficult to wrap your head around Syntax has many switches that depend on your angular version Lifecycle is complex with all the compile, link, controller hooks, leaving you wondering what […]

Angular 1.4 – what's new

Angular 1.4 has arrived with lots of new features. Here is a quick look for the top 5 features: Reworked animations. $animateCss can be used to simplify and support more complex animations than before. ng-messages evaluation. Until now you could just specify strings, now you can evaluate expressions with it. This helps with invalid form validation messages limitTo […]

Angular.js simplest possible tutorial

Angular.js is really popular technology for client-side JavaScript apps. To get started with angular.js, all you need to do is to include it into your page and it just works. No need for dependencies such as jQuery etc. Below is about the simplest possible app you can write with angular.js. app.js angular.module(‘myApp’) .controller(‘MyAppCtrl’, function($scope) { […]

Node.js introduction

Node.js is a technology that has been around for only few years, but it has matured remarkably fast during that time. Big reason of that is probably that Javascript has also risen from nice-to-have to must-have level in web development. This post will show how to get started with node.js and what it can be used for. Introduction […]

Practical Guide To Objective-C Blocks

Objective-C blocks are still fairly new feature to the language. They are not as simple as they could be, and they don’t work on older iOS versions (only 4.0 and above). This is probably why you don’t see them used that widely. However, I don’t care about old iOS versions. Blocks can be extremely useful […]