There Goes Gravity: A Life in Rock and Roll

Kurt von Behrmann's view

A Take on There Goes Gravity: A Life in Rock and Roll

There Goes Gravity There Goes Gravity


By: Kurt von Behrmann

Access is crucial to any journalist. However, acquiring it in the rarefied realm of contemporary music presents special challenges. The biggest obstacle is gaining the trust of musicians, particular those who have achieved stratospheric success. Lisa Robinson had entrée into that world, and all that comes with it, the good, the bad, the ugly and even the boring.

“There Goes Gravity: A Life in Rock and Roll” chronicles Robinson’s encounters with acts that achieved iconic status and those that were seminal in the underground music scene of 70’s in New York. The thrust of the book focuses on her stint as a traveling journalist with the Rolling Stones and Led Zepplin.   Both from the U.K., wildly successful and huge fans of African-American music, their respective tours included the obligatory chartered…

View original post 1,523 more words


Android for Beginners: Booleans

One interesting thing that I have discovered recently is that in java (and in Android), when we declare a boolean as an instance variable in the class without instantiating it, java automatically instantiates it as false. Let’s take a practical example, one that I have encountered recently.

Inside an app, there a boolean instance variable was declared:

public class example {

    private Boolean test;

…do something …


Inside the class, we have an if statement which is driven by the boolean variable that has just been created, in other words, we have the following:

if (test) { …do something …}

But since we never instantiated the test variable, one would assume a nullpointerexception would be returned, since we never instantiated “test”. However, from my research, I found out that booleans are actually primitive types and therefore they cannot be null. Only reference types can be null. 

See the following website for description of the two different types:

  • primitive types are the basic types of data
    • byte, short, int, long, float, double, boolean, char
    • primitive variables store primitive values
  • reference types are any instantiable class as well as arrays
    • String, Scanner, Random, Die, int[], String[], etc.
    • reference variables store addresses

Furthermore, if you do not instantiate booleans, the boolean is automatically instantiated by android to “false”. See the boolean section on the android site and look under the section called constructor:

Therefore our if statement will be skipped as we will have if (test) which is the same as if (false).