If you’ve ever used a library based on promises such as Ember.js/Ember Data you’ve probably stumbled upon this. Or maybe you haven’t, but the app was silently failing with no error message, which is even worse.
The reason for this is simple and it is actually an intentional feature...
When using frameworks such as Ember.js, we often find ourselves forgetting the main reason why we chose to use the framework. We don’t do it because it’s cool, or at least we shouldn’t. We don’t do it because somone told us we have to use Ember (unless your boss doesn’t have much brains). We do it because want to make the user experience better. I won’t go into details about server side implementation, this is purely about UX.
View the entire content here
One of the reasons why I love working with OS X is the Emacs-like keybindings, which are available in the whole system. One of the most used ones for me are Ctrl-a
and Ctrl-e
for jumping to the start and the end of a line.
But sometimes you need more than that, for example forward...
We’re going to take a look how to create your own .vim
config in a matter of minutes. There are many ways to do this. First one is pathogen, which I’m going to describe in this article, and then there’s also janus and vundle.
I prefer pathogen because it’s dead simple, you just...
As gem developers, we sometimes need to make a decision about what JavaScript engine to use together with our code or assets. This decision usually means adding a dependency on other gem that provides such an engine.
There are choices depending on your platform, such as therubyracer
Be aware that force-pushing is a highly dangerous and unclean solution when you’re working in a shared repository. All commits in the shared repository should be considered immutable. To keep your repository consistent and keep your coworkers happy, you should use git revert
instead...
This is the blog of sensible.io, a web consultancy company providing expertise in Ruby and Javascript.