data

fMRI software bugs upend years of research

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.

Android/Java: How to get your app's root data directory

If you ever need to get the root data directory of your Android application (app) from within your Java code, I can confirm that this approach works:

File rootDataDir = getActivity().getFilesDir();

When I log that directory like this:

Log.i(TAG, rootDataDir.toString());

it prints this output for my application:

/data/data/com.alvinalexander.mynewapp/files

where com.alvinalexander.mynewapp is the package name for my new Android app.

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.