How do I perform a Unit Test using threads?
How should I unit test multithreaded code?
What should children call a step-grandparent? My mom remarried to a great guy who has been absolutely wonderful to my kids. Ever since my mom and he were dating my kids have called him Mr. Joe. Lately my mom has been bugging me to get the kids to call him Grampa.  I agree that he deserves more respect than Mr.  The problem is that he isn't their real grampa so I don't really want them calling him that. Does anybody have any suggestions on what we should have the kids call him? They are 9 and 12 years old.  EDIT: I appreciate the comments regarding different variations of grampa and hearing how others have no issues with calling their step-granddad grampa. But I was hoping maybe someone has some suggestions for names that show the importance of the step-granddad without calling him some variation of the grampa name but still has a feeling of warmth and family in the name (I hope that makes sense). Inverse Green's Function identity in derivation of Hedin's equations I'm trying to work through a derivation of Hedin's Equations in Effect of Interaction on One-Electron States by Hedin and Lundqvist (1969) and I've come across an identity that is given without much explanation that I'd like to understand.   We start with an equation of motion with single particle Green's functions G:   $\left[ i\frac{\partial}{\partial t_1} - h(1) - \phi(1) - V_H(1)\right] G(1,2) - i\int v(1^{+},3) \frac{\delta G(1,2)}{\delta \phi(3)} d3 = \delta(1,2)$  where $1=(x_1,t_1)$, $h$ is the one-electron kinetic energy and ion interaction, $\phi$ is a small perturbing field that is set to zero at the end, $V_H$ is the Hartree potential, and $v$ is the Coulomb interaction.  They then insert the identity  $\frac{\delta G(1,2)}{\delta\phi(3)} = -\int G(1,4) \frac{\delta G^{-1}(4,5)}{\delta\phi(3)} G(5,2) d(4,5)$  which is then used to define the self energy  $\Sigma(1,2) =  -i \int v(1^+,3) G(1,4)\frac{\delta G^{-1}(4,2)}{\delta\phi(3)} d(3,4)$.  I know this identity is related to the definition of the inverse Green's function  $ \int G(1,3) G^{-1}(3,2) d(3) = \delta(1,2)$  but I can't figure out how to get from this definition to the identity that is inserted into the equation of motion. Any ideas?  Thank you! What is an LUT in FPGA? I have gone through various sources... But I am not quite sure what it is.I want an and gate and the logical equivalent is two inputs feeding to one gate and for Y=AB' the logical equivalent is feeding to one not gate and one and gate. But it is the same LUT for both AND and Y=AB'. I think we store the values as desired in the LUT. Someone elaborate on this An example:    O  O?   There is a triple letter tile to the right of the bottom O, indicated with a ?.  If I place an X on it, making the words OX (vertical) and OX (horizontal), do I score 50 points (scoring the tile twice) or 34 (scoring it once)? Is FFmpeg missing from the official repositories in 14.04? How to avoid overflow using \IEEEpubid on the first column? I am trying to write a journal paper using the IEEEtran.cls template.  My problem is that the Publication ID Mark overflows into my thanks section.  This is the bottom of the title page:    From the documentation of IEEEtran.cls we see that:    I included the command \IEEEpubidadjcol into the second column. This prevents the overflow in the second column as you can see in my previous image, but lets the first column run freely.  I tried including \IEEEpubidadjcol into the first column aswell, but that causes compilation errors.  Please, could you give me some hint on how to solve this problem without doing something illegal with respect to the IEEE modus operandi?  EDIT:  As the answer suggests, the problem can be solved using the \IEEEpubidadjcol command twice. When I tried this, I got an error:  Infinite glue shrinkage found in box being split   In spite of this error a correct pdf is produced. The error goes away when I do not include packages fixltx2e and dblfloatfix. Can "Mr", "Mrs", etc. be used with a first name? Is it correct to use Mr/Mrs with a first name? My friend and i would like to translate Ubuntu. where should we start? where to find translation tools? Is there a word for a person who gives out too many extraneous details? C++ Redefinition Header Files (winsock2.h) need to make salesforce app available in multiple language I want to make my appexchange app available in multiple language like Spanish, dutch etc. so that depend on the language of the user they can access the app.  Is it possible in any way..  any help will be appreciated.. Thanks Dual Canadian and British citizen - healthcare coverage in the UK? set session - custom variable to store user id I want to store user id in custom session variable and use it (read) in trigger procedures to authorize user actions. I found something like this:  set session "myapp.user" = '12345'; ... SELECT current_setting('myapp.user');   and it seems to work - I thought that "myapp.user" should be declared in .conf file but it seems that I can create session variables on the fly (I didn't change .conf file at all).  Is there any disadvantage of doing like this? How to read a single character from the user? What to put in "affiliation" field when submitting paper without affiliation? Recently my paper is reviewed (by a professor from independent third party) and accepted by a journal. But, my employer allows me to publish this paper only without its name there.  Publishing house is expecting affiliation for each author, i.e. I can not leave affiliation as blank.   What should I write as the affiliation? I am looking for a reference which has a self-contained (elementary, that is, at the "undergraduate algebra level") proof of the the fact that any one-dimensional Noetherian UFD is a PID. Does anyone know such a reference?   (Note: I have looked at the similar questions on this website but don't find them particularly useful). The whole multi-continent aspect of A Song of Ice and Fire seems to be getting out of hand. Do the other continents suffer those long winters?  Can the Others harm the other continents?  In The Lord of the Rings there were other realms than Middle-earth, but Middle-earth was still all of humanity and dwarf population and hobbits.  Sure there are stories like Romeo and Juliet where the only thing that matters is whether those 2 are going have a chance to love.  But in these fantasy / sci-fi stories there's usually danger of world domination by evil.  It's not usually just one continent is going to be a terrible (or impossible) place to live but other civilizations will flourish. This is a question from my proofs course review list that I have had trouble understanding.   I understand the concept of disjoint sets.  I'm not sure what they mean by countable. How would one prove a set is countable and furthermore, that the union of two countable sets is countable.  Please help me get started with the question by understanding this concept. How to reload a gem on every request in Development mode? Browse an UNC path using Windows CMD without mapping it to a network drive C:\&gt; cd \\somewhere '\\somewhere' CMD does not support UNC paths as current directories.   What I usually do to get around this is to map that directory to a network drive and then I could easily access it from the command prompt.  But is there an easier way on how to get around this?