]]>Great article, I think it describes well the moment we are living in technology. There are so many distractions that most developers forget about building things and focus too much on language A is better than B.

]]>http://gabrielrinaldi.me/you-too-may-be-a-victim-of-developaralysis/507efc00-0e7d-4c54-b732-58c90054ac41Tue, 21 Oct 2014 06:39:41 GMTGreat article, I think it describes well the moment we are living in technology. There are so many distractions that most developers forget about building things and focus too much on language A is better than B.

]]>No is the foundation that we can build our yes on. ]]>http://gabrielrinaldi.me/seth-godin/720ef2b0-940e-40fd-bd56-a297433d563cSat, 21 Jun 2014 11:34:17 GMTNo is the foundation that we can build our yes on. ]]>To install it follow these steps:

The installer should skip the OS version check and you should be able to install without any problems.

]]>You don’t need a new tool. You need to commit to getting more out of the ones you have.]]>http://gabrielrinaldi.me/garrick-van-buren/958e54ec-e80f-4674-a42d-dd3caca6d58bFri, 25 Apr 2014 05:53:59 GMTYou don’t need a new tool. You need to commit to getting more out of the ones you have.]]>One of the things that I missed when swithcing from Textmate to Sublime Text was rmate, the CLI to open files in the server your are logged in over SSH in you local editor. Since I'm too lazy to learn advanced editing in vim I started searching for an alternative,]]>http://gabrielrinaldi.me/how-to-use-sublime-text-to-edit-files-over-ssh/40d5f905-ea1f-41be-b383-611176396268Mon, 21 Apr 2014 15:15:49 GMTOne of the things that I missed when swithcing from Textmate to Sublime Text was rmate, the CLI to open files in the server your are logged in over SSH in you local editor. Since I'm too lazy to learn advanced editing in vim I started searching for an alternative, and the good news is that it exists.

The first step is install rsub on Sublime Text, it's available on Package Control. Then you should change you ~/.ssh/config to forward the port that you'll be using to your local machine:

Once that is done, log into your server (ssh my_server) e download rmate (yes, the same one we would use for Textmate) there: curl https://raw.github.com/aurora/rmate/master/rmate > rsubl. The last step is to move it to the bin volder and give it execution permission. In order to do that run the following:

sudo mv rsubl /usr/local/bin

sudo chmod +x /usr/local/bin/rsubl

From now on, as long as you have Sublime Text open in your computer, just run rsubl file.rb and it will open the file in your editor. Change it and that's it, every save on that file will auto save it remotely. It also supports sudo, so you can change your config files directly in Sublime Text.

Don't forgert to open the port in your firewall if you are using one.

]]>Unfortunately the majority of web services return dates in the ISO-8601 format and not in time interval. So to parse the date we end up using NSDateFormatter which is extremely slow at doing that.

But there is a way for you to improve date parsing performance, you can use the

]]>http://gabrielrinaldi.me/how-to-fix-performance-problems-when-using-nsdateformatter/e70dbdfe-0f1b-465a-ae57-ac1a5046817bThu, 17 Apr 2014 04:02:35 GMTUnfortunately the majority of web services return dates in the ISO-8601 format and not in time interval. So to parse the date we end up using NSDateFormatter which is extremely slow at doing that.

But there is a way for you to improve date parsing performance, you can use the SQLite library to make the conversion. You may have to write a few more lines to get the same result, but the performance gain is totally worth it.

Let's take this date as an example: 2013-09-07T23:45:00Z, if you want to convert that to time interval you could do this:

If you want to compare the results, Anurag Mishradid a script to demonstrate this. In his tests the performance gain was 1400%, or from 106 seconds to just 7.

If you want to read more on how SQLite parses the date in it's C lirabry you can go here.

]]>Wouldn't it be great if your iOS or OS X projects just take their version and build number automatically from git? Well, it can!

Using a script in your build phase, you can run a shell script to determine the version number and inject this into the Info.plist of

]]>http://gabrielrinaldi.me/ios-app-versioning-with-git-tag/6e2e95fe-bf6c-48cb-b0f4-1940891bd4a5Mon, 14 Apr 2014 00:24:15 GMTWouldn't it be great if your iOS or OS X projects just take their version and build number automatically from git? Well, it can!

Using a script in your build phase, you can run a shell script to determine the version number and inject this into the Info.plist of a build.

It will change your plist based on the last git tag that you have. If that is the current SHA it will show the version as 0.9.2, otherwise it will show how many commits since the last tag and the short version of the current SHA (0.9.2-2-d955863).

If you have uncommited changes (besides the plist) it will add a -dirty tag to the end of the version.

It will also update the build number with the number of commits in that branch, because of that remember to always release your builds from the same branch to prevent duplicated build numbers.

The last thing it will do is adding a GitSHA to your plist, I think that's very usefull when submitting bug reports from within the app.

]]>Evolution of the F1 Car http://gnr.me/tqQs]]>http://gabrielrinaldi.me/evolution-of-the-f1-car/d3730870-7312-46f2-a237-efadc3240db5Mon, 16 Dec 2013 20:00:00 GMTEvolution of the F1 Car http://gnr.me/tqQs]]>If your dreams do not scare you, they are not big enough]]>http://gabrielrinaldi.me/ellen-johnson-sirleaf/d4b5936a-407b-413c-acf3-9ffc58d8447eSun, 15 Dec 2013 20:00:00 GMTIf your dreams do not scare you, they are not big enough]]>It’s amazing how Apple loves details http://gnr.me/Wc2d]]>http://gabrielrinaldi.me/its-amazing-how-apple-loves-details/8e1151df-7041-4521-8422-ad0e9e7587c4Fri, 01 Nov 2013 19:00:00 GMTIt’s amazing how Apple loves details http://gnr.me/Wc2d]]>For I long time I wanted to write about this but was too lazy to do it. I am glad some one did it, and in a better way than what I would have done.

]]>http://gabrielrinaldi.me/androids-market-share-is-literally-a-joke/0efa531c-ad73-4295-bad3-bfff0643c8edMon, 27 May 2013 19:00:00 GMTFor I long time I wanted to write about this but was too lazy to do it. I am glad some one did it, and in a better way than what I would have done.

]]>One of the things Apple added to iOS 6 is the ability to add Emojis without any hacks and custom shortcuts to most used words.

With that in mind I decided to combine this together and I created my own list of Emoji shortcuts.

Here it is:

]]>http://gabrielrinaldi.me/fast-emoji-access/6b22ca0f-eaa0-46fa-91bc-48e6c25293bbSun, 04 Nov 2012 20:00:00 GMTOne of the things Apple added to iOS 6 is the ability to add Emojis without any hacks and custom shortcuts to most used words.

With that in mind I decided to combine this together and I created my own list of Emoji shortcuts.