Universal Image Loader returns null pointer
What is a NullPointerException, and how do I fix it?
Custom script "invoked too many times" error Credit:   function getDirection(city1, city2, unit) {   var directions = Maps.newDirectionFinder()     .setOrigin(city1).setDestination(city2)     .setMode(Maps.DirectionFinder.Mode.DRIVING)     .getDirections();   var d = directions.routes[0].legs[0].distance.text;    var distance, value = d.split(" ")[0].replace(",", ""), text = d.split(" ")[1];   if(text == unit) {     distance = value;   } else if(text == "km" &amp;&amp; unit == "mi") {     distance = value / 1.6;   } else {     distance = value * 1.6;   }   return Math.round(distance); }   I have used this code snippet in one of my sheets. I am working on a dataset with roughly 6000 entries and I am getting some errors because of the large volume.      Script invoked too many times per second for this Google user account. (line 0).      Service invoked too many times for one day: route. (line 4).   I considered purchasing a Google Apps business account to increase my quota, but that might not even help. Do you maybe have any advice for me in this regard? To find out how something is called is the one thing I don't know how to use Google for.  If I have a vector $v$ and a symmetric matrix $H$, then the operation $v^T H v$ gives me some sort of projection of the matrix $H$ on the vector $v$. For example if $H$ is the Hessian, the operation gives me the second derivative in the direction of $v$.  What is the name of this operation? Handling mouse events for tool called by button? I have a dockable window with a 2 buttons that call 2 different tools (Draw Marker and Select Features), What i want to happen is when the user clicks on the relevant button on the dockable window and then clicks on the map, a onMouseUp event is called and it runs code i need to run.   Where does the onMouseUp event need to be placed so this can be done? diff a ruby string or array How do I do a diff of two strings or arrays in Ruby? Do not show the score for users during primaries I believe that showing the post score for nomination posts during primaries is a bad idea.  When I loaded the primaries page during the election, the first thing I saw was a post voted -1. This immediately colored my impression of the post. Reading his post didn't indeed make me wish he was a moderator, but at the same point I couldn't bring myself to click on the down arrow. He wasn't an awesome candidate, but he wasn't a -2 score candidate either. Actually, I kinda wanted to sympathy upvote instead.  I want to judge by myself whether a candidate is worth or not my +1. For some of those people I don't have an opinion already, and I want to form one on my own. I don't want game theory to kick in, I don't want to be tricked into sympathy upvotes.  Having those numbers in large print as the first thing I see about them honestly prevents me from doing so. I'd rather have their avatar there.     Some people on chat do not agree with me;  I imagine they'll post explaining why I want to be aware of their opinion while forming my own.      Regardless of the discussion here, if you do prefer to hide the scores as you vote, here's the jQuery oneliner that does just that:  $(".vote-count-post").hide() How much time have the Straw Hats spent with each other? Leave the door open vs Leave the door opened Is there any subtle difference between:   We need to carry in some stuff so open the door and leave it open. We need to carry in some stuff so open the door and leave it opened.   I mean "leave it like that (in that state)". Bizarre spacing with 4 $\star$s The spacing between the 3rd and 4th stars is non-existent. Anyone know what's up?    \documentclass[11pt]{article}  \usepackage{amsmath}  \begin{document}  \begin{gather*} \star\star\star\star \\ \star\star\star\,\star \\ \star\star\star\star\star \end{gather*}  \end{document} Should form 'Continue' button be disabled if validation is incomplete? In forms we often see the 'continue' button inactive until all the required fields are complete:         &ndash; Wireframes created with   Is this actually a help to the user, or a hindrance?  I imagine the Pro for this is that it's a visual indicator to the user that they haven't finished filling in the form or dealing with errors (because even with inline validation a user won't be informed if they've never actually interacted with a field so won't show any errors for those at that point).  But then the main Con for this (which I've also seen borne out in usability testing) is that users will be confused why they can't click the button.  Is the pattern of disabling the Continue button until validation is complete actually providing a negative user experience? How to understand degrees of freedom? From , there are three interpretations of the degrees of freedom of a statistic:     In statistics, the number of degrees of freedom is the number of   values in the final calculation of a statistic that are free to vary.      Estimates of statistical parameters can be based upon different   amounts of information or data. The number of independent pieces of   information that go into the estimate of a parameter is called the   degrees of freedom (df). In general, the degrees of freedom of an   estimate of a parameter is equal to the number of independent scores   that go into the estimate minus the number of parameters used as   intermediate steps in the estimation of the parameter itself (which,   in sample variance, is one, since the sample mean is the only   intermediate step).      Mathematically, degrees of freedom is the dimension of the domain of a   random vector, or essentially the number of 'free' components: how   many components need to be known before the vector is fully   determined.   The bold words are what I don't quite understand. If possible, some mathematical formulations will help clarify the concept.  Also do the three interpretations agree with each other? My equation is not showing big bracket and not showing in next line Is there any reference where Captain America's shield is made from stolen Wakanda vibranium? What does the 'static' keyword do in a class? To be specific, I was trying this code:  package hello;  public class Hello {      Clock clock = new Clock();      public static void main(String args[]) {         clock.sayTime();     } }   But it gave the error      Cannot access non-static field in static method main   So I changed the declaration of clock to this:  static Clock clock = new Clock();   And it worked. What does it mean to put that keyword before the declaration? What exactly will it do and/or restrict in terms of what can be done to that object? Proving $\int_{0}^{\infty} \mathrm{e}^{-x^2} dx = \frac{\sqrt \pi}{2}$ crm 2011 how to hide/show the ribbon button with javascript I have an iPhone with 100+ notes that I've collected over the last ten years (thanks to migrating from my PalmPilot). I realize that I can now synchronise these with Gmail, but that doesn't allow me to edit them from my computer. I'd rather switch to use a new app/website combo which allows for online editing of notes, automatic OTA syncing, etc.  It seems like Simplenote and Evernote are two of the better app/sites, as mentioned at  and from this , I think Simplenote is exactly what I'm looking for. The problem is, I can't figure out how to migrate all of my existing notes into whatever new notes app I choose.  How do I migrate my existing Apple iOS Notes into Simplenote or Evernote?  The best workaround I've found so far is to open each note, select all, copy, and create a new note in the iOS app but I'd rather not spend the time and hassle doing this for ~100 notes. I need to install more applications - can I use my external HD (samsung T5) and add an additional applications folder? I have loads of space on it and it the speeds are great. 13.04 - more than four workspace shortcuts in GNOME Flashback (No effects) I'm using GNOME Flashback (No effects) on Ubuntu 13.04 and I've got six workspaces however when entering System Settings -> Keyboard -> Shortcuts -> Navigation I only see options to address the initial four.  It used to be options up to 12 workspaces there and as I certainly don't need that much, I want to have at least enough for the amount currently active.  How can I restore or add more shotcuts specifically to navigate and move windows to workspace 5 and 6? If matrix A is invertible, is it diagonalizable as well? If a matrix A is invertible, then it is diagonalizable. Is it true or false? When should parents stop changing clothes in front of children?