How to filter members of more than one list with LINQ?
Selecting Unique Elements From a List in C#
I’m currently in the process of reconsidering how I do bibliography management. It seems to be most sensible to use biblatex with biber. I’d like to know what tools are available on which I can build a solution that works for me. I’m interested in everything from full-blown bibliography management suites to pretty-printers for .bib files; both as traditional programs and online services.  Tools in question should fulfill the following criteria:   Unicode support. Support for the additional entry types and fields that biblatex supports. Support for biber’s improved cross-referencing. Why is the plural of "basis" "bases" and not "baseis"? Looking at the , it indicates that the plural is either bases or baseis.  It looks like the rare  comes from the Greek, but the common  just refers back to basis and that does not explain the plural etymology.  Is there a standard rule at work here, or is this just an exceptional case that arose over time by convention? Workaround for Android 4.4 not being able to write to SD cards? How do you protect a camera and lens while photographing in rain or snow? I've been trying to photograph lightning lately, as we have had some great storms in Colorado. I've had some difficulty getting a good vantage point, however, as almost all of these storms include rain as well. To keep my camera from getting drenched (I have weather-sealed lenses, but my camera body, a Canon 450D, is not weather sealed as far as I can tell), I've had to shoot under the eve of a building or under a thick canopy of trees, however that has greatly limited my ability to adapt to the changing weather and get get a vantage point on the best lightning.  Is there any equipment, something I can purchase or something home-made that has easy-to-find parts, that can help me protect my lens from the rain while still being able to shoot? Additionally, I've been getting rain on a UV filter I have on the front of my lenses, simply to prevent rain from getting on the front lens element itself. However, once a storm really gets going, so does the rain. Is there a simple solution to keep rain off the front of the lens? if $a,b$ are nilpotent elements of a commutative ring $R$, show that $a+b$ is also nilpotent How to choose capacitor for an IC I'm a beginner in electronics from the software industry. With some self-taught things, I'm trying to implement some basic Arduino circuits. My confusion is about capacitors mainly. My understanding about capacitors is that they act as power storage for few seconds or milliseconds.  I found that most IC's must have capacitors connected to their pins.  My confusion is how to find out which pins need a capacitor, and how to find the correct capacitor for a circuit or a capacitor for an IC.  Finally, why are capacitors necessary in a circuit in such situations? function main() {    Hello(); }  function Hello() {   // How do you find out the caller function is 'main'? }   Is there a way to find out the call stack? How to normalize my db schema for a quiz application? I am putting together a quiz application.   (I'm calling each quiz a "challenge")  I have a "challenge" table and a "challenge_question" table which is pretty straightforward.  challenge table: id name num_questions (I want to randomize and only display a certain number of Qs per each challenge)  challenge_question table: id challenge_id question (text of the question) required (some questions will be required to be displayed per each challenge) question_type (here I indicate what type of question: Mult. choice, T/F, Ordering, or Fill-in-the-blank)   Where I'm having trouble in normalization is with the types of question options:  Multiple choice, true/false, ordering, and fill-in-the-blank. I wonder, should I have a separate table for each type of challenge-question-option? Or is it possible to combine these into one somehow..  If I combined all possible options into a single table, it might look be something like this  challenge_options table: id challenge_question_id option (text field, can be used for both multiple choice and for fill-in-the-blank style questions) is_true (boolean field for true/false questions) is_correct (boolean, used to determine multiple choice answer) ordering_option_1  ordering_option_2 ordering_option_3 ordering_option_4 (these ordering fields would store the correct sequence of an ordering style of question)   This really strikes me as less than ideal.  Actually, I don't see how the ordering_options would work out correctly at all.  Wouldn't I need to have each of those be a separate option?  Surely there must be a better way.  Any suggestions/criticisms or alternate approaches? Why are there directories called Local, LocalLow, and Roaming under \Users\\AppData? I have a workstation running Windows Server 2008 that's logged into an  domain, and I have a dual boot with Ubuntu Linux. When running Linux, I'd like to be able to use the same Thunderbird profile I use under Windows, so I pointed Thunderbird to use a profile I found under:  \Users\(myname)\AppData\Local\Thunderbird\Profiles   It turns out it was not the correct profile -- it had the right configuration, but the Inbox was an old version. I eventually found out the correct path was:  \Users\(myname)\AppData\Roaming\Thunderbird\Profiles   What's the rationale behind those different places to store application data? Coefficient changes sign when adding a variable in logistic regression In my logistic regression the sign of coefficients of a variable (location distance of an amenity) changes based on other variables (with time -ve, with travel distance +ve) in the model. When the location distance is the only variable in the model, it has +ve sign.    Should the variable need to maintain the +ve sign no matter what other variables are added in the model? Does changing sign signify a multicollinearity issue? Some IVs are gaining significance while in a bivariate model, they didn't show significance and vice versa. Is it okay to add variables that don't have much significance (ex: travel distance has a significance of 0.33 individually, but 0.05 when added with other variables) but becomes significant in the model? thanks. Order of the Rubik's cube group Associated to the Rubik's cube is a group as described in this : $G = \langle F, B, U, L, D, R\rangle$. For example, the element $F$ corresponds to rotating the front face clockwise by $90$ degrees.  According to the article the order of the group is: $2^{27} 3^{14} 5^3 7^2 11$.  I have come across several places (for example ) where this order has been found by just counting various ways to arrange edges and such. Is there a nice way to compute the order by appealing to more "group theoretic" tools? Possible Duplicate:          Most commands I use in linux behave exactly the same whether I include the trailing slash / character on the end of a directory name or not.  For example:  ls /home/cklein ls /home/cklein/  cp foo bar cp foo/ bar/   When does this trailing slash matter?  What is the semantic meaning of the trailing slash? I am wondering what sudo apt-get update does?  What does it update? My customers are eager to show news categorized in tabs.  I recently developed it for them.  In my experience in web designing, display:none is used widely in implementing tabs. I also know that it is not good for SEO.  Is there any way to have tabs but without hurting SEO factors? How can I check if a package is installed (no superuser privileges)? At our university we can get almost any ubuntu package installed we want, but we are not superusers ourselves (we need to request packages being installed).  With some libraries it is not always easy to know whether the package is already installed or not. Is there a simple way/command to check this? Logit or arcsine transformation for proportion in meta-analysis How do I get a DOI for a dataset? A DOI is a commonly used digital object identifier to refer to an electronic document. How do I secure a DOI for a research dataset, to help share and identify it? How are Stack Exchange sites officially branded? How are sites in the Stack Exchange network, including Stack Overflow, officially branded? How are their names abbreviated? What conventions should be used in the FAQ? coloring the page numbers in the table of contents Find all natural numbers $x,y$ such that   $$3^x=2y^2+1$$  solutions are $(1,1)$, $(2,2)$, $(5,11)$. I found that parity of both is same and If $x$ Is odd it is of the form $4k+1$.