Assume that I have a large bibliography file and a large document with a lot of citations. Now I want to know which works collected in the bibliography file aren't cited in my document.  Is there a way to achieve this?  P.S. I am aware of a recent article in Die TeXnische Kommödie where a partial solution of this problem is presented (basically, use an unsorted bibliography, use a sentinel for the last citation, and use \nocite{*}—all bibliography entries coming after the sentinel are not cited). There must be something better than that.
I need two bib-like sections: a "References" giving works explicitly cited in my text, and a "Bibliography" (or "Further reading" if you prefer) giving everything from my bibfile that didn't already appear in "References". The first is of course completely standard, but the second... I'm stumped.  Further loose constraints: I'm somewhat committed to biblatex and the biblatex-apa style. But I'll happily accept an answer not related to them if there's any chance I can adapt it.
Pattern Match symbols that begin with same letter? Removing and adding permission using numerical notation on the same line How to install LXDM instead of GDM3? I'm running Debian Wheezy and my default Display Manager is GDM3, and I would like to replace it with LXDM. The problem is that I'm trying to run # apt-get install lxde and it's not working, what am I doing wrong?  My /etc/apt/sources.list is:  deb cdrom:[Debian GNU/Linux testing _Wheezy_ - Official Snapshot i386 DVD Binar$  deb http://ftp.br.debian.org/debian wheezy main deb-src http://ftp.br.debian.org/debian/ wheezy main  deb http://security.debian.org/ wheezy/updates main contrib deb-src http://security.debian.org/ wheezy/updates main contrib Relation between AB and BA Let $A$ and B be $n\times n$ matrices over a field $F$. Then prove or disprove  $(i)\, AB$ and $BA$ have same characteristic values.  $(ii)\, AB$ and $BA $ have same characteristic polynomial.  $(iii)\, AB$ and $BA $ have same minimal polynomial.  Proof of $(i)$   Let $c$ be an eigen value of AB and v be corresponding eigen vector. Then    AB(v)=cv,    B(ABv)=B(cv),    BA(Bv)=c(Bv),   this implies $Bv$ is an eigenvector of $BA$ corr. to eigen value $c$.  But this statement holds if $Bv$ is nonzero.  What if $Bv=0$?  $(ii)$ If $A$ is invertible then ($A$ inverse)$(AB)A= BA$, i.e. $AB $ and $BA$ are similar and hence have same charateristic polynomial.   Similar proof when $B$ is invertible.  But what if both $A$ and $B$ are not invertible?  I have no idea about $(iii)$.  Please help me to complete these proofs. The game  has a very unique intro that I would like to show my friend again for the first time. I'm not sure how to reset all my progress on this game to achieve this though. Any thoughts? When is logistic regression solved in closed form? Why isn’t singular ‘they’ used with 3Sg verb forms? There are many (duplicate) questions about the acceptance, popularity and history of singular they (and their, them and themself) around here, it even got a tag of its own. If I didn’t miss anything, however, the proper verb form hasn’t been questioned yet.  As we all know, English third person singular pronouns (it, she, he and one, +body), names (Alice, Bob, …) and nouns (student, teacher, …) demand the +(e)s suffix be added to the finite verb form in simple present, where some auxiliary verbs have a “special” form (is &lt; *bes / *ares and has &lt; *haves). All other subjects don’t, including plural third person pronoun they.  When the plural you replaced thou (with thee, thy / thine), the other marked verb form that had remained in English – i.e. suffix +(e)st or +t – vanished, too. The first and second persons only ever appear as pronouns (I, we; you), not names or nouns, so there was no strong inclination to keep the verbal inflection.  The second person precedent would suggest that singular they be used with uninflected verb forms which is how it’s usually encountered in the wild. Assuming that they someday replaces he and she (and maybe it) it would lead to disagreement with the words the pronoun stands in for:        Alice         goes to her   place  by herself.   Bob           goes to his   place  by himself.   Alice and Bob go   to their place  by themselves. – (common)   Alice and Bob go   to their places by themselves. – (separate)                  She  goes to her   place  by herself.   He   goes to his   place  by himself.   They go   to their place  by themselves.   They go   to their places by themselves.                  They ?goes to their place  by themself.   ditto   They  go   to their place  by themselves.   They  go   to their places by themselves.                  They ?go to their place  by ?themselves.   ditto   They  go to their place  by  themselves.   They  go to their places by  themselves.      So why doesn’t singular they afford s on present-tense verbs like all other third person singular subjects do?   I learned about singular they only long after I had been taught English as a second language in school. That’s why it’s still a conscious decision to use it and hence I could easily adapt to use s forms with it, but would that sound and look funny / strange / wrong to native speakers? Capture stdout and stderr into different variables Writing to NTFS drive in Linux Java Strings: "String s = new String("silly");" I'm a C++ guy learning Java. I'm reading Effective Java and something confused me. It says never to write code like this:  String s = new String("silly");   Because it creates unnecessary String objects. But instead it should be written like this:  String s = "No longer silly";   Ok fine so far...However, given this class:  public final class CaseInsensitiveString {     private String s;     public CaseInsensitiveString(String s) {         if (s == null) {             throw new NullPointerException();         }         this.s = s;     }     :     : }  CaseInsensitiveString cis = new CaseInsensitiveString("Polish"); String s = "polish";    Why is the first statement ok? Shouldn't it be   CaseInsensitiveString cis = "Polish"; How do I make CaseInsensitiveString behave like String so the above statement is OK (with and without extending String)? What is it about String that makes it OK to just be able to pass it a literal like that? From my understanding there is no "copy constructor" concept in Java? Correctly typesetting a tilde How do I set the tilde (~) character correctly in LaTeX?  There’s a  on Stack Overflow, with a lot of answers. But dare I say it? They all suck:   \textasciitilde is too high, \texttildelow is too low. $\sim$ can be tweaked to look more or less acceptable: {\raise.17ex\hbox{$\scriptstyle\sim$}} – but even that is a hack and uses the wrong symbol.   The point is – the tilde character is definitely an existing glyph in any font I am tempted to use. How can I just access and typeset that character, please? Without resorting to some other, similar-looking glyph that first needs to be nudged into place using a cunning combination of font size and raised boxes?  There must be a possibility to access that glyph directly from the font definition.  To demonstrate, look at this screenshot which attempts simply to display a C++ destructor of a type T (~T):    Compare this with the symbol we get in the browser: ~ – that’s what I want. In all the Star Wars movies, R2D2 just boops and beeps his way around. And everyone understands him perfectly, though he is obviously not speaking Basic.  How do people understand him - is there like an astromech language? If so, then would one have to learn it, or is it comprised of feelings and emotions (expressed in beeps), essentially making a tonal language?  If I may be permitted to use an example from the prequels without too many lynch mobs forming, Anakin Skywalker converses frequently with Artoo while in the Naboo fighter, but he couldn't have had much schooling at the age of eleven, especially because he was a slave.  So how would people, Anakin especially, be able to understand astromechs? I'm trying to create record Type selection screen in LWC, but getting this error  afterRender threw an error in 'c:createContact' [Cannot read property 'recordTypeInfos' of undefined]  HTML:  &lt;template&gt;     &lt;lightning-combobox name="recordType" label="Record Type" placeholder="Choose Status"                         value={value}                          options={recordTypeId}&gt;      &lt;/lightning-combobox&gt; &lt;/template&gt;   JS:  import { LightningElement, track, wire, api } from 'lwc'; import { getObjectInfo } from 'lightning/uiObjectInfoApi'; import CONTACT_OBJECT from '@salesforce/schema/Contact';  export default class CreateContact extends LightningElement {      @track statusOptions;     @track value;     @api objectApiName;      @track objectInfo;      @wire(getObjectInfo, { objectApiName: CONTACT_OBJECT,})     objectInfo;       get recordTypeId() {         // Returns a map of record type Ids          console.log(this.objectInfo);         const rtis = this.objectInfo.data.recordTypeInfos;         return rtis;     }  } Is there any way in QGIS to apply service area buffers e.g if I have a point on a map I wish to show the service coverage of 1 mile, 2 mile, 3 mile, breaks using  the road network? How do you start Windows 10 in safe mode? Cloth collision with an object How did Harry breach the Statute of Secrecy? Something always bothered me with Fudge's accusations:     “Disciplinary hearing of the twelfth of August,” said Fudge in a   ringing voice, and Percy began taking notes at once, “into offences   committed under the Decree for the Reasonable Restriction of Underage   Sorcery and the International Statute of Secrecy by Harry James   Potter, resident at number four, Privet Drive, Little Whinging,   Surrey." - OotP Ch. 8 "The Hearing"   Harry cast the Patronus Charm, so he violated the Decree for Reasonable Restriction of Underage Sorcery alright - extinuating circumstances aside - but how did he breach the Statute of Secrecy?  The only witnesses were Dudley and Mrs. Figg, both of whom already knew that Harry is a wizard. Earlier, even Hermione gets it wrong (don't tell her!):     They haven’t even reported that you broke the International Statute of   Secrecy. We thought they would,... - OotP Ch. 4 "#12"   Yes, Harry does use magic in front of a Muggle, Dudley, but even Dudley is not so thick that the fact that Harry's a wizard would come as a revelation to him. Harry cannot breach the Statute of Secrecy to someone already in the know.  Shouldn't Dumbledore point out that glaring error in the indictment sooner rather than later? Or at least mention it, at all?  Is there maybe a source that mentions the Statute of Secrecy containing a clause, that even the mere possibility of magic being witnessed by an uninitiated muggle is sufficient for its breach?? Cause if so, wouldn't even adult wizards have a really tough time doing anything, ever.  Possibly related: I know from reading  that the "primary" use of the IDisposable interface is to clean up unmanaged resources.  To me, "unmanaged" means things like database connections, sockets, window handles, etc.  But, I've seen code where the Dispose() method is implemented to free managed resources, which seems redundant to me, since the garbage collector should take care of that for you.  For example:  public class MyCollection : IDisposable {     private List&lt;String&gt; _theList = new List&lt;String&gt;();     private Dictionary&lt;String, Point&gt; _theDict = new Dictionary&lt;String, Point&gt;();      // Die, clear it up! (free unmanaged resources)     public void Dispose()     {         _theList.clear();         _theDict.clear();         _theList = null;         _theDict = null;     }   My question is, does this make the garbage collector free memory used by MyCollection any faster than it normally would?  edit:  So far people have posted some good examples of using IDisposable to clean up unmanaged resources such as database connections and bitmaps.  But suppose that _theList in the above code contained a million strings, and you wanted to free that memory now, rather than waiting for the garbage collector.  Would the above code accomplish that? Windows using too much RAM, how to diagnose resource hog I have 16GB of system RAM. On startup with no applications open except the task-manager Windows is using about 3gb of RAM. I looked in the processes tab, but nothing seems to be out of the ordinary. How can I find out why my Windows is using so much RAM.    all processes from all users      Reading from the poolmon it seems that my wireless broadcom driver is using about 0.4GB of of RAM. Even if I remove  it would still be using  2.6GB on start-up, which is still too much.      After reinstalling the wireless driver associated with the memory leak. I have a new screenshot and would like to confirm that it was indeed a memory leak. I'm trying to get my head around mutable vs immutable objects. Using mutable objects gets a lot of bad press (e.g. returning an array of strings from a method) but I'm having trouble understanding what the negative impacts are of this. What are the best practices around using mutable objects? Should you avoid them whenever possible?