# Blog Archives

## A Simple Interactive Map Of US Prisons With Leaflet

September 8, 2015
By

The love of one’s country is a splendid thing. But why should love stop at the border? (Pablo Casals, Spanish cellist) Some time ago, I discovered Enigma, an amazing open platform that unifies billions of records from thousands of government sources to make the world of public data universally accessible and useful. This is the … Continue reading...

## The World We Live In #5: Calories And Kilograms

August 19, 2015
By

I enjoy doing new tunes; it gives me a little bit to perk up, to pay a little bit more attention (Earl Scruggs, American musician) I recently finished reading The Signal and the Noise, a book by Nate Silver, creator of the also famous FiveThirtyEight blog. The book is a very good reading for all … Continue reading...

## Going Bananas #2: A Needle In A Haystack

August 3, 2015
By

Now I’m gonna tell my momma that I’m a traveller, I’m gonna follow the sun (The Sun, Parov Stelar) Inspired by this book I read recently, I decided to do this experiment. The idea is comparing how easy is to find sequences of numbers inside Pi, e, Golden Ratio (Phi) and a randomly generated number. … Continue reading...

## The Moon And The Sun

July 8, 2015
By

Do not swear by the moon, for she changes constantly. Then your love would also change (William Shakespeare, Romeo and Juliet) The sun is a big point ant the moon is a cardioid: Here you have the code. It is a simple example of how to use ggplot:

## Trigonometric Pattern Design

July 1, 2015
By
$Trigonometric Pattern Design$

Triangles are my favorite shape, three points where two lines meet (Tessellate, Alt-J) Inspired by recurrence plots and by the Gauss error function, I have done the following plots. The first one represents the recurrence plot of where distance between points is measured by Gauss error function: This one is the same for And this … Continue reading...

## The 2D-Harmonograph In Shiny

June 23, 2015
By

If you wish to make an apple pie from scratch, you must first invent the universe (Carl Sagan) I like Shiny and I can’t stop converting into apps some of my previous experiments: today is the turn of the harmonograph. This is a simple application since you only can press a button to generate a random harmonograph-simulated … Continue reading...

## Shiny Wool Skeins

June 15, 2015
By

Chaos is not a pit: chaos is a ladder (Littlefinger in Game of Thrones) Some time ago I wrote this post to show how my colleague Vu Anh translated into Shiny one of my experiments, opening my eyes to an amazing new world. I am very proud to present you the first Shiny experiment entirely … Continue reading...

## Simple Data Science To Maximize Return On Lottery Investment

June 1, 2015
By

Every finite game has an equilibrium point (John Nash, Non-Cooperative Games, 1950) I read recently this amazing book, where I discovered that we (humans) are not capable of generating random sequences of numbers by ourselves when we play lottery. John Haigh demonstrates this fact analyzing a sample of 282 raffles of 6/49 UK Lotto. Once … Continue reading...

## Bertrand or (The Importance of Defining Problems Properly)

May 13, 2015
By

We better keep an eye on this one: she is tricky (Michael Banks, talking about Mary Poppins) Professor Bertrand teaches Simulation and someday, ask his students: Given a circumference, what is the probability that a chord chosen at random is longer than a side of the equilateral triangle inscribed in the circle? Since they must reach the … Continue reading...

## Odd Connections Inside The NASDAQ-100

May 8, 2015
By

Distinguishing the signal from the noise requires both scientific knowledge and self-knowledge (Nate Silver, author of The Signal and the Noise) Analyzing the evolution of NASDAQ-100 stock prices can discover some interesting couples of companies which share a strong common trend despite of belonging to very different sectors. The NASDAQ-100 is made up of 107 … Continue reading...