Categories
Management

Work from home – what is important?

I love working from home. Since beginning of my software developer career when I was working as a freelancer I fell in love with this kind of work. I am the most creative and concentrated when I can make my own office set-up with light, music, snacks, coffee, turned off phones etc.. In order to […]

Categories
Productivity

Farewell to paper notebooks

I’ve always used paper notebooks for my personal notes, plans, tasks, organization etc. I really love having paper and pen always with me so I can write down whatever comes exactly when it comes. During the time I moved my task maintenance to the digital form – I am using HyperSwiss for that purpose at […]

Categories
Citations

Joe Strummer quote

When you blame yourself, you learn from it. If you blame someone else, you don’t learn nothing, cause hey, it’s not your fault, it’s his fault, over there. That is the hardest thing of all. That’s a grown-up. You’ve gotta grow up in this world. This world’s full of kids playing with their bloody Playstations […]

Categories
Git

Start new private project by forking public repository on #GitHub

Let’s assume you found some very interesting public repository on a GitHub that has nice features fitting perfectly into your ideas for the new software as a service project (SaaS). Let’s also assume that you want to make some additional features that you want to keep private, so you can differentiate your SaaS from the […]

Categories
Citations

Douglas Crockford about code commenting

I think about comments as a time machine that I use to send important messages to future me Douglas Crockford (about comments in the code)

Categories
JavaScript

Sencha app build failed: Mixed-Mode x-compile and microload markup is currently unsupported

If you use Sencha Command tool to build ExtJs application like this: sencha app build and experience something similar to the following error [ERR] [ERR] BUILD FAILED [ERR] com.sencha.exceptions.ExBuild: Mixed-Mode x-compile and microload markup is currently unsupported [ERR] here is the solution for your problem. The problem is that there are two parallel places where […]

Categories
JavaScript

Sorting an array of Objects in JavaScript

If you have an array in JavaScript that doesn’t contain just simple numeric or string values, but objects with properties instead: var employees=[]; employees[0] = {name:”Petar”, age:32}; employees[1] = {name:”Nikola”, age:17}; employees[2] = {name:”Milutin”, age:58}; employees[3] = {name:”Slavisa”, age:62}; The employees array above is an array of objects with properties of different data types, string […]

Categories
JavaScript Meteor

Hosting #Meteor app with #Modulus

Currently I am trying/learning development with Meteor framework. My first impressions are great! Some things were never that easy as they are with Meteor, it’s super fast, made with simplicity as core philosophy… I will write about Meteor in a separate post, when I learn enough of it and try it with some real world projects. At this […]

Categories
JavaScript Mobile apps

Create online/offline proxy using #SenchaTouch

If you want to develop mobile app using Sencha Touch that will behave the same when device is online or offline, read the following: Nice and useful blog post about creating online/offline proxy in Sencha Touch

Categories
JavaScript

Proper date comparison in #JavaScript

If you want to check if some variable contains valid date in JavaScript, this is the way that works properly in all cases: isValidDate: function(d) { if ( Object.prototype.toString.call(d) === “[object Date]” ) { // it is a date, but still it could be ‘Invalid date’ which could make trouble if ( isNaN( d.getTime() ) […]