data

A Java JFreeChart x/y plot/chart/graph example alvin June 29, 2019 - 12:10pm

In an effort to share some source code (but without taking the time to explain it), here’s some Java source code that I just used to create a JFreeChart chart/graph of some data that I use in my Android football game:

You are neither right nor wrong because the crowd disagrees with you alvin April 11, 2018 - 1:59pm

“You are neither right nor wrong because the crowd disagrees with you. You are right because the data and reasoning are right.”

~ Benjamin Graham

How to populate a Scala List with sample data (examples)

As a quick note, I was just reminded that you can populate a Scala List using a Range, like this:

scala> (1 to 5).toList
res0: List[Int] = List(1, 2, 3, 4, 5)

scala> (1 to 10 by 2).toList
res1: List[Int] = List(1, 3, 5, 7, 9)

scala> (5 to 11).toList
res2: List[Int] = List(5, 6, 7, 8, 9, 10, 11)

scala> ('d' to 'h').toList
res3: List[Char] = List(d, e, f, g, h)

Those are just a few examples. For many more ways to populate Scala lists with sample data, see How to populate Scala collections with a Range, How to generate random numbers, characters, and sequences in Scala, and Different ways to create and populate Lists in Scala.

“Operation Costs in CPU Clock Cycles” alvin July 1, 2017 - 10:45am

My new favorite website (ITHare.com) has this terrific infographic that demonstrates that all CPU operations are not equal.

Bradford Cross on AI and startups alvin June 5, 2017 - 1:05pm

architecht.io has this interesting interview with Bradford Cross on AI and startup businesses. I don’t know much about AI, but from my experience with it, I’m sure that you want to “own” the data.

The plural of anecdote is not data alvin September 20, 2016 - 8:40pm

“The plural of anecdote is not data.”

To me, the most important part of a program is laying out the data structure alvin September 7, 2016 - 5:46pm

“To me, the most important part of a program is laying out the data structure.”

~ Dan Bricklin

fMRI software bugs upend years of research alvin July 7, 2016 - 1:20pm

I’ve seen several articles about major software bugs (and a lack of testing) recently, and one of them is related to MRI/fMRI image processing. From this article at theregister.co.uk:

When you see a claim that “scientists know when you're about to move an arm: these images prove it”, they're interpreting what they're told by the statistical software.

A whole pile of “this is how your brain looks like” fMRI-based science has been potentially invalidated because someone finally got around to checking the data.

Always visualize data alvin December 26, 2015 - 7:15pm

I’m sure there must be other ways to mathematically see these differences, but I agree with the general concept that it can be easy to be misled by data. (Image from this Twitter page.)

How big is your data? alvin November 24, 2015 - 6:40am

How big is your data? This slide comes from this Twitter page.