HelloGlass

Recently I’ve messing around with a Google Glass and started working on a small prototype to interface Glass with our internal systems. Let’s build a very simple, Hello World style application, using the GDK. The features of our application will be: Add a command to the main menu; Use voice to trigger that command; Launch an activity from that trigger. Let’s start by setting the string that will be added to the menu and be used as a trigger....

September 20, 2014

Speed, Speed, Speed!

I recently saw a talk from Brian Lonsdorf, where he talks about the obsession with speed in the JavaScript world. I have to say, I agree with him in many points. As a matter of fact, I don’t think it’s only in the JavaScript world (although it might be more evident nowadays) but it’s more or less generalized. It’s all about speed and scale! Many of us have participated in discussions where an idea is being pitched and, it’s not even a full idea yet, and people are already focussing on “if it scales”....

August 15, 2014

Why not try Python 3?

So, you’ve been using Python 2 since forever right? Well, Python 2 is still strong but you will, eventually, have to move on. The will be no Python 2.8. Python 3 is currently on version 3.4.1 and all of us should at least try it out. Or maybe you want to try some other “Python flavor”, like PyPy for example. Virtualenv will help us. Sure, you might be working professionally with Python 2 and you still want that to be your default....

August 10, 2014

LAMP development environment

Disclaimer: I’m not a PHP developer. Any of the practices here described do not claim to be _“good practices”_. Improvements and/or other solutions, tricks and tips are much appreciated. A while back I was asked for some support/analysis on a PHP web application (CakePHP to be a little more specific) . Well, my knowledge of PHP is (to be kind!) limited. Apart for some PHP coding back in college I never had any professional experience with it nor with any of it’s frameworks....

July 15, 2014

Merge Sort in Scala

Following my last post, on Merge Sort, I decided to try out a possible implementation in Scala. Furthermore we’ll see here a parametrized implementation, to sort lists of any type. My previous post on the subject was aimed at explaining the algorithm and was exemplified, for simplicity, with a concrete example for lists of integers. Let’s extend that. As a first step, let’s start simple and analyse a possible implementation only lists of integers....

June 5, 2014