Efficient Column Looping with R

I’d bet most R developers have - or will have - faced the issue of having to optimise a big piece of code. Some processes might take way too much time, or they are filling memory space until the session explodes and everything crashes. One of the most infamous caveats of programming with R is how slow it can be to loop through columns of a data... Read more

My First R Package: harrypotter

I want to present you my first R package, already published in CRAN. I have to say that has been a challenging but very exciting experience. I’ve learned a lot of stuff and now I can appreciate that the way packages are structured, and the existence of the CRAN is one of the highlights of R, and one of its strongest advantages over other ... Read more

Testing Financial Strategies with R: Stock Picking

One of the most common financial advices that you can hear in every christmas meal is that you should be saving a fixed amount of money each month. Not only that, but you should avoid pre-cooked schemes offered by your bank and simply invest your savings in the stock market. Investing in the U.S. market or even the global stock market has been a... Read more

Genetic Algorithms: Solving the N-Queens problem

Purpose Throughout this article, I aim to provide with a very simple replicable and practical manual on how to use Genetic Algorithms on optimisation problems. During this, I’ll try to outline the philosophy of applying Genetic Algorithms (GA) and the implications of the many decisions involved in building such algorithms. With this goal in m... Read more

The value of Bitcoin

Year 2008. An unidentifed person, nicknamed as Satoshi Nakamoto, registers the domain bitcoin.org and publishes a paper titled Bitcoin: A Peer-To-Peer Electronic Cash System. Claiming that a system for electronic transactions can be build without relying on trust of a centralised party. In January 2009, Satoshi Nakamoto releases the bitcoin net... Read more

A short story of Rubidium

Today I want to introduce you to the wonderfully unstable element of 37 protons: Rubidium. This element is extremely rare to find in the universe and in our planet. Its creation is prohibitevly difficult. They can only be forged in the fires of huge explosions. And I mean huge as a Supernova explosion or even the Big Bang explosion kind of huge.... Read more

Behaviorism on Videogames

Have you ever felt the sensation of playing a videogame way past the point where it was fun? Have you ever finished a game, and then looked back a few weeks later and thought What the hell was I doing with my life? Why does that happen? Some games are strongly build around reward schedules, where its design is aimed to make you continually re... Read more