Blog archive

Tabs, spaces and your salary - how is it really?

Jun 20, 2017

A couple of days ago, David Robinson published an article on the Stack Overflow blog with a very provocative title: Developers Who Use Spaces Make More Money Than Those Who Use Tabs. It uses the data from Stack Overflow developer survey to show that indeed, using spaces is associated with higher salaries, even when we account for experience level. So, should you start using spaces instead of tabs to increase your salary?


[ Continue reading...]

Tabs, spaces and salaries

Star Wars social networks: The Force Awakens

Jan 25, 2016

Warning: contains spoilers If you have seen the new addition to the Star Wars franchise - The Force Awakens - you have probably noticed some similarities to the plots of some of the earlier movies, especially Episode IV: A New Hope. Does the similarity in the story translate to similarity in the social network of the new film? I downloaded the movie script, extracted the social network of characters and compared it to the social networks from the earlier movies.


[ Continue reading...]

Social network - episode 7

The Star Wars social network

Dec 15, 2015

Some of us are looking forward to Christmas, and some of us are looking forward to the new film in the Star Wars franchise, The Force Awakens. Meanwhile, I decided to look at the whole 6-movie cycle from a quantitative point of view and extract the Star Wars social networks, both within each film and across the whole Star Wars universe. Looking at the social network structure reveals some surprising differences between the original trilogy and the prequels.


[ Continue reading...]

Social network - episode 4

Everything you always wanted to know about using ggplot2 from F# (but were afraid to ask)

Dec 3, 2015

In my previous blog post I visualized data on James Bond films both with Google Charts and with ggplot2. Because I skipped the code relating to ggplot2, here I’d like to look in detail at how to use ggplot2 from F#. Currently ggplot2 is my go-to visualization library (unless I need to embed a plot - check out the James Bond bubble chart!). Here I summarize some of my experiences with using ggplot2 from F# through the RProvider.


[ Continue reading...]

ggplot2 sample graph

F# tackles James Bond

Nov 18, 2015

Earlier this week I read an interesting article on visualizing box office success of James Bond films using R and ggplot2 by Christoph Safferling ( you can find it here). The blog post shows how to pull information from Wikipedia and visualize the budget, box office and rating of each film - all this using R. While reading the blog post, I couldn’t help wondering how would a similar analysis look in F# using the HTML type provider from the F# Data library.


[ Continue reading...]

James Bond box office visualization