Hilarious Git plugin: git-blame-someone-else

This plugin allows to change the commit author information. Super-useful to avoid to be the one to blame for bugs and mistakes. ;) “I love git-blame-someone-else!!” –Linus Torvalds says* *Linus Torvalds didn’t really approve of this. It’s a joke to prove it works. See his fake commit here

Kotlin RC and kotlinx

I’ve been toying with Kotlin for a while. Yesterday RC was released, making it one step closer to have a stable version. One small change that has made me scratch my head a little, even if I read the solution, has been the changes regarding Kotlin Extensions. This had been integrated with the main Kotlin […]

FizzBuzz in CSS

The next time an interviewer asks you to solve FizzBuzz, impress them by doing it without a programming language. pic.twitter.com/oYo4iAfr8h — Eric Wastl (@ericwastl) November 20, 2015

Wat

Fun moment: Wat

Re-enabling Xcode plugins

After updating my Xcode, I noticed that plugins got disabled. To reenable them, the easiest way is just “touching” all the plugin directories: $ cd ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins $ touch * After that, restart Xcode and you will get a dialog asking if plugins should be loaded. An alternate take on this is can be found […]

Easily manage windows in OS X

I’ve been using OS X for many years already, and as my primary computer OS for almost a year. Before that, I used to spend time with Windows (like 90% of it), Linux (for server) and OS X. There are two things that I missed after switching from Windows (last version I regularly used was 8.1) to […]

Four things you probably didn’t know about C++ (and C)

I’ve recently stumbled upon this interesting post of curious features of C++ I didn’t know of (being a C/C++ programmer for so many years!). One of the techniques I find really amazing (even when sometimes this kind of cleverness comes to bite you in the ass afterwards!) is Duff’s device. I’ve done my fair share of […]

In-depth article on Android touch events handling

Sometimes you need to intercept touches for a given ViewGroup, to temporarily change or disable it’s behavior. For example, recently I had to do this to temporarily intercept events for a RecyclerView during a tutorial, instructing the user how to select a particular item. In this case, I could simply add an overlaid Layout on top […]

Disabling logs on Android using ProGuard

A quick way of disabling the logs for release builds is using ProGuard to take care of it. To do it in our current project we’ve created two ProGuard configurations, the one that applies for all the builds and the one that only applies for the release build. Then, we can configure the build.gradle file […]

Android compatibility with 32-bit libraries on a 64-bit device

Recently I run into a problem with an app we’re working on: suddenly it stopped to work on a Samsung Galaxy S6 Edge. It was still working on all the other, older devices. The first idea was: the app is using a JNI library, so it’s a 64-bit compatibility problem. And bingo! This was the reason… […]