Stacks and Queues

Stacks and Queues are two types of containers and as the name says, they’re used to store content. Predictable, uh? So what’s the difference between them, you might ask. Well Sir (or Madam), it’s the way data is retrieved. Stacks support what we call LIFO (Last In, First Out). Elements are inserted at the top/end of the container, usually called push and retrieved from the same position, usually called pop....

April 8, 2014

Let's link Jenkins and Github together!

If you read A small help to get you into Continuous Integration you now have a server running Jenkins and you’re ready to start doing CI. Let’s hook it up with Github. First step is to install the necessary plugins. Let’s go over to Manage Jenkins -> Manage Plugins. Here, click Available and type Github in the search box. Select the Github plugins. To be sure, let’s restart Jenkins. You might need to refresh the page once it’s over....

April 3, 2014

__init__.py - what in the world is it for?

It’s very common when looking into python code, to see some inti.py files around. Most of the times you will see them empty, many times you will se imports or more generic stuff and sometimes a bunch of code in there. If you for example check some django code, say models, you’ll see more than you would initially expect. So, what exactly is init.py for? Let’s check the docs: The init....

March 19, 2014

A small help to get you into Continuous Integration

The more I use CI(Continuous Integration), the more I like it. Sure it can be a “pain” in the beginning, but the gains are enormous. You can easily start getting results in a short period of time and improve your software development process. If your team is not using CI, that’s no excuse for you. I’m here to help! You can easily set up, on your local machine, a VM(Virtual Machine) and run Jenkins inside....

February 27, 2014

Code review

First of all, what is Code Review? Let’s borrow from Wikipedia: Code review is systematic examination (often known as peer review) of computer source code. It is intended to find and fix mistakes overlooked in the initial development phase, improving both the overall quality of software and the developers' skills. This definition gives a good idea of what Code Review is. In my opinion there’s more to it than only that....

February 4, 2014