What Digital (eBook) and Print sales look like for a computer programming book alvin January 22, 2018 - 10:27am

If you ever wondered what Digital and Print book sales look like for a technical book (a computer programming book, in this case), here you go. This is a slightly cleaned up chart that O’Reilly provides to me for sales of the Scala Cookbook over time, showing eBook sales vs the printed book sales.

A large collection of Gnuplot examples

I needed to use Gnuplot a little bit over the last few days, mostly to create 2D line charts, and these are my brief notes on how to get started with Gnuplot. If you haven’t used it before, it’s a pretty amazing tool.

Jumping right in ...

Back to top

Installing gnuplot

Use MacPorts or Homebrew to install Gnuplot on Mac OS X systems:

port install gnuplot
brew install gnuplot
Back to top

Sample data files

My examples use the following 2-column and 4-column data files:

Back to top
A visual guide to graph traversal algorithms alvin June 20, 2016 - 10:08pm

A visual guide to graph traversal algorithms” is a fun website. As their docs state, “You can draw a new node by clicking anywhere on the visualization canvas. To add an edge between nodes, drag your mouse from one node to another.”

Predictor of career success alvin August 18, 2015 - 10:27am

Per this article, the #1 predictor of career success is not necessarily who you know, but how many people you know. (Though I’m sure it doesn’t hurt to be born with a silver spoon in mouth.)

Is the "War on Drugs" working?

This article shares the graph shown that says the “War on Drugs” isn’t working. That appears to be true, but unfortunately you can’t really know that it’s true because there is no control group. What I mean is that we have no idea what the drug addiction rate would be like if we had not spent all this money on this so-called war. Maybe the rate would be 1.3%, or maybe it would be 5%; we don’t know.

Reasons most charts and graphs are ugly alvin June 14, 2014 - 9:46am

From this series of examples showing examples of how to make charts and graphs look better.

Sencha chart and graph examples

I still have a hard time finding what I want on the Sencha website, so I’m trying to add links here to make their documentation and examples easier for me to find. Here are two examples of the charts and graphs that they offer. This first set of Sencha chart examples comes from this link: