App crashes while using custom adapter and custom class in Listview
What is a NullPointerException, and how do I fix it?
The case of the bleeding monospace font! What is the first movie to show this hard work message at the very end? What is the first movie to show this hard work message at the very end? Unmet dependencies unable to fix I'm running ubuntu 14.04. I cannot use software center to install anything, even a local deb package so I have to rely on Terminal.  Recently I was trying to install mysql-server which generated error which I could pin-point was the required version of libstdc++6 . My system had 4.8.x while mysql 5.6 required >=4.9. Trying the usual upgrading process and unsuccessful, I consulted my sys admin, who tried installing the 4.9 package manually(using a local .deb package), which failed as well citing unmet dependencies.   At present, what I have is a system with error saying no new software can be installed.  The sudo apt-get install -f gives following output:  Reading package lists... Done Building dependency tree        Reading state information... Done Correcting dependencies... failed. The following packages have unmet dependencies:  libstdc++6 : Depends: gcc-4.9-base (= 4.9.2-10) but 4.9.1-0ubuntu1 is installed  libstdc++6:i386 : Depends: gcc-4.9-base:i386 (= 4.9.2-10) but 4.9.1-0ubuntu1 is installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.   I checked for held packages using  dpkg -l | grep ^h dpkg -l | grep hold   Result: nothing.  Also tried to find the broken package, if any but the file  /var/log/dist-upgrade/apt.log doesn't exist.  So, what should/can I do now. Is there an expression to indicate the strategy of wearing someone down with numerous small irritations? I would use rope-a-dope, but it's got connotations of pretending to lose that I don't need. I'm trying to describe the behavior of someone who sends twenty detailed emails a day about various projects, and the recipient of his emails has finally gotten tired of trying to parse them, so the recipient just agrees to whatever he proposes. I'd like an expression that evokes both outward earnestness and hidden creepiness, like Uriah Heep, Dickens's "Humble servant" with veiled ambition, who overdoes it with professions of humility until he's in power. Water torture would work, but comes too close to a more racist expression that I'm not comfortable with. Topic models and word co-occurrence methods Custom URL Hack - anybody know how can i find the fields IDs from "User" object? I'm new in custom URL hacking.  I am trying to write a custom URL in a custom button. It is suppose to clone the User record, and while doing so, I want some user fields to be cleared. However, I need help identifying those fields IDs (e.g. Email, Name, etc).  How can i refer these fields when writing the custom URL code? I would like to know if there is any way to add custom behaviour to the auto property get/set methods.  An obvious case I can think of is wanting every set property method to call on any PropertyChanged event handlers as part of a System.ComponentModel.INotifyPropertyChanged implementation.  This would allow a class to have numerous properties that can be observed, where each property is defined using auto property syntax.  Basically I'm wondering if there is anything similar to either a get/set template or post get/set hook with class scope.  (I know the same end functionality can easily be achieved in slightly more verbose ways - I just hate duplication of a pattern) How do I show that the sum $(a+\frac12)^n+(b+\frac12)^n$ is an integer for only finitely many $n$? Show that if $a$ and $b$ are positive integers, then $$\left(a +\frac12\right)^n + \left(b+\frac{1}{2}\right)^n$$is an integer for only finitely many positive integers $n$.   I tried hard but nothing seems to work. :( Git keeps prompting me for a password I am a physics Master's student.  I have good grades, with CGPA above 9(/10)(However, all courses in my university are graded on a curve so the actual marks are significantly lower than 90%). This has been my marks throughout my undergraduate and graduate courses and I was happy because this was above average. Also, my summer projects in UG were usually computational and any difficulty I had in theoretical aspects I attributed it to my inexperience in advanced Physics.   However, recently I have started to work on pure theoretical project and while reading for the project I realized that I consistently miss some details from each topic. I understand the general idea, can re-derive most of the equations(with some effort) however when I discuss things with my professor or when I read further topics I realize that I have missed certain key-details. This is exactly similar to the case of me missing a few key questions in my exams and getting that 9 grade point instead of 10(or at-least I think so). I was not worried about this before but now I realize that there is some flaw in the way I study (but I do not know what).   Since I want to apply for Physics PhD I realized that I will need to have solid concepts and it would be best to correct my mistakes but I do not know how or even what could be the reason for my imperfect understanding.  Any direct suggestion would help or even certain general guidelines on what I can do.    Things I've tried recently -   1) I've started to written down almost everything I read. This is slightly laborious but is certainly helping. It also helps me to gloss over the things I read previously when I come back the next day.  2) I completely avoid smartphone when I'm library/study room so that I won't get distracted. Not sure if it helps me solve the above problem but certainly helps me study better in general.  3) I've tried to read the topics from several sources. The books I am reading is somewhat like a collection of research papers and hence does not have a exercises. So I though reading from various sources might help get better ideas but it's not really helping because most other sources are too high level as an introductory text. But this will probably help me in cases where it's practical to do this.  4) Somewhat similar to point (1)- I am trying reread, whenever I can, what I've done until that point. But not sure how much this will help me in filling the gaps. What is a "static" function in C? The question was about plain  functions, not  static methods, as clarified in comments.  I understand what a static variable is, but what is a static function?  And why is it that if I declare a function, let's say void print_matrix, in let's say a.c (WITHOUT a.h) and include "a.c" -  I get "print_matrix@@....) already defined in a.obj", BUT if I declare it as static void print_matrix then it compiles?  UPDATE Just to clear things up - I know that including .c is bad, as many of you pointed out. I just do it to temporarily clear space in main.c until I have a better idea of how to group all those functions into proper .h and .c files. Just a temporary, quick solution. Nilpotent matrix and basis for $F^n$ PBKDF vs HKDF for pretty long key I'm developing a messenger application with encrypted chats.   In the first version of the app I've used PBKDF2 (10000 iterations, SHA1, random salt) to extend a short user password and generate keys to encrypt (AES256) and sign message (HMAC).  In the current version of the app I generate a random 130-bit key and use it instead of a user password. I think that using PBKDF2 with such a key has some overhead.   I see 2 possible ways to improve the current approach:   Keep using PBKDF2 and decrease iterations to 1 or 10. Don't use PBKDF2 and use HKDF instead.   What are the advantages and disadvantages of each approach? Are there any other options? Clipping image with Basic (ArcView) level license of ArcGIS Desktop? Is there a way to trim a geo-referenced air photo to an irregularly shaped boundary?    I tried the clip tool shown in my attachment, but it didn't work.  It looks as though the output extent field requires a rectangularly shaped polygon as the clipping feature.    Can I even do this in ArcView?    I've never had a request to do anything like this before.        I do use Photoshop and other similar software packages.  I could just go in to an environment like this &amp; start painting everything outside of my boundary in white, but then I would have to come back in and geo-reference the image again, and it just strikes me that there must be a faster and easier way (even though I only have ArcView 9.3). I want to find the conjugacy classes of this group: $$G=\{(a_1,a_2,a_3):a_i=\pm e_j\}\subset GL_3(\mathbb C)$$ I know that $S_3$ is one of the subgroups of this group, so I can check which elements of $S_3$ continues to be conjugate in our group, I know that in $Z(G)$ there is two elements $I,-I$. I know that I have to check the diagonal matrices on which ones are conjugate, but I don't know how to finish and find the others conjugacy class of this group, and I don't Know how to find the number of the elements of the conjugacy class. I'll be thankful for help Diagram Software I study computing on an advanced level and I need a program that will make it easier to create flowcharts and other diagrams efficiently. I don't need too many features; I just want something that works! I'm aware that there are many website that do exactly what I need but most of the times when I need to draw diagrams I don't have access to the internet How do I diagnose the source of focus problem in a camera? Probably a novice question, but how do I correctly diagnose from a photo for what reason that camera wasn't able to focus properly?  It can be any 1 of the following   Unsteady hand Lens issue Metering Re-Calibration required in camera or ...   Is there a set of unsaid protocols that needs to be followed by a photographer?  Goal is to get a sharp and crisp image prior to editing.  [PS: I own a Nikon D5200.] Is there a word for someone with the same name? If a person shares my name, in Dutch there is the word &quot;naamgenoot&quot;, meaning roughly 'member of the same name'.  John A: Hi, my name is &quot;John&quot;  John B: O, then we're insert solution word here!  Similarly,  'classmate' is 'klasgenoot' in Dutch 'roommate' is 'kamergenoot' in Dutch  I'm pretty sure I cannot call someone with the same name as mine a 'namemate' :)  Edit Because sceptics appear to be frustrated mightily by an apparent lack of research, there was  in chat, with no satisfactory conclusion. /Merriam Webster namesake appears to be linked to intentional name correspondance (being named after someone). There may be a US/UK English divide there.  &quot;I was named after my grandfather. I am his namesake.&quot; -   Also, the introduction seems to hint at much broader meaning:  &quot;Namesake is a term used to characterize a person, place, thing, quality, action, state, or idea that has the same, or a similar, name to another&quot;   Do you know of a better word/phrase to describe this succinctly? How to typeset subscript in usual text mode? It's easy to make subscripts in math mode: $a_i$.   How do I make a subscript outside math environment, likethis? How to implement custom icons for my script/addon?