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 […]
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. […]
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 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 […]
If you have a git repository that contains files with sensitive information or large binary files, you probably want to remove those files before publishing the repository for larger audience. This is actually very simple thing to do with git. Git has a feature to rewrite the history, recreating the repository commit by commit, while […]
Git has gained lately lots of support, and it’s not a bad idea to migrate all your source controls under same system. In the past I often used hg because it had some nice features and better Windows support, but this does not matter anymore these days. So after looking for a solution for a […]
Rainbows are colorful things. They make wonderful backgrounds, logos, but I think they are especially cool in texts. I’m certain that many people would like to use them in their web sites, but until lately there hasn’t been a easy and reliable way to achieve it.
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 […]