Given the sentence,     This exception was thrown __ invalid input.    Which preposition should I use to fill in the blank — because of or due to?   Is either generally preferable for specifying cause or reason?
Is it fine to use due to in place of because of ? How about the other way around? Are any of these sentences ungrammatical?   He was lost because of the storm. He was lost due to the storm. He lost his way due to the storm. He  lost his way because of the storm.
A standard proof for press needs crop marks and color bars as below    With the package crop, the crop marks can be easily added.  But how about the color bar ?  Is there a way or a package to make it ?  An example is   \documentclass[b5paper,10pt]{article} \usepackage[utf8]{inputenc} \usepackage[cross,a4,center,info,axes]{crop}  \title{Test} \author{User} \begin{document} \maketitle \section{Fox} The quick brown fox jumps over a lazy dog. \end{document} Can I use a card with "Add one mana of any color to your mana pool" in any Elder Dragon Highlander (EDH) deck? I recently tried /, and found it to be a ton of fun.  I've started customizing one of the pre-cons I got, but I'm a little confused by some of the deck-building requirements.  According to the deck-building rules:   A card's color identity is its color plus the color of any mana symbols in the card's rules text. A card's color identity is established before the game begins, and cannot be changed by game effects. Cards in a deck may not have any colors in their identity which are not shared with the commander of the deck. (The identity of each card in the deck must be a subset of the General's)    If I'm using  as my general, my deck's identity is Red, Blue and Green.  I couldn't use  in my deck, because it has a black mana symbol in the rules text.  My question is:  can I add a card to my deck that has the phrase "Add one mana of any color to your mana pool" (such as  or )?  Even though those cards could conceivably add black mana to my mana pool, they don't have a black or white (or any for that matter) mana symbol in their rules text, so they would be valid for inclusion in any deck? I am totally aware a question of similar nature is asked before. But the answer there is not doing any good for me.  I have installed python 2.7.6 in addition to system default 2.7.3. And now my system is screwed up completely. Now I want to remove the 2.7.6 and get back to my system default. update-alternatives command on python is not working!  I have installed the 2.7.6 by downloading source and triggering "config, make, sudo make install" commands.  Please help. In Peter Jackson's film The Fellowship of the Ring, when the Council of Elrond takes place it shows a total of 22 members:    We all know the names of the ones who were part of the Fellowship, but I want to know who are the rest of the people in the council. Who are the elves that came with Legolas? The men next to the dwarves? The three old men sitting next to Boromir? Or the two elves next to Aragorn?  Starting from left to right:   Frodo Gandalf Elf Elf Legolas Elf Old Man Old Man Dwalin Gloin Gimli Nori Old Man Boromir Old Man Old Man Elf Elf Aragorn Elladan Elrond Elrohir I can enter U+0008 (backspace character) into a chat message I typed . I believe I tab-completed @rumtscho and fully typed @MarthaF (since she doesn't tab complete). However, other people tell me that a Unicode character was inserted into the message; I can't see it:  Originally, I abandoned this bug report for a lack of reproducibility. But on another machine, I can see the character and managed to reproduce it: press tab, then press backspace. It works anywhere in a message, not just in a @-ping. (Actually, it seems that you just need to un-focus the input box; clicking elsewhere then hitting backspace works, too)  First machine is Firefox 12 (Iceweasel) on Debian GNU/Linux AMD64, testing+unstable. No user scripts. Greasemonkey is installed, but disabled in the extension manager Second machine is Firefox 10 (Iceweasel) on Debian GNU/Linux AMD64, testing+unstable. No user scripts, Greasemonkey not even installed Third machine (just tested) is Firefox 11 (Iceweasel) on Debian GNU/Linux AMD64. Greasemonkey installed and enabled, and there is a global userscript. Does not happen on Chromium 18.0.1025.151, running on machine #3.  So far, that's all the machines I've tested on, and it happens on all of them. It only happens in chat. Easiest way to produce it is to click on the page background, somewhere outside the text box, to un-focus the text box. Then press backspace. Note that not all browsers will display the character, even if its there (check  to see if yours does) Test for convergence of the series $\sum_{n=2}^\infty\frac{1}{(\ln n)^{\ln n}}$ Could I have a hint for testing the convergence of the following series please?  $$\sum_{n=2}^\infty\frac{1}{(\ln n)^{\ln n}}$$  Edit  The integral test does not work because $\int_1^n\frac{1}{(\ln x)^{\ln x}}dx$ has not an elementary primitive.  Thank You. Ability to update profile from the Stack Exchange Android App It would be nice to update the profile page from within the app.  Perhaps not many people update their profiles more frequently, but when required to do so, I would prefer to do it from the app instead of the mobile browser. What would you consider to be the best exception type to throw when an extension method is called on a null instance (where the extension method does not allow it)? Since extension methods are nothing but static methods you could argue that it should be ArgumentNullException, but on the other hand they're used like instance methods so it might be more natural to use the NullReferenceException. Let's take the following example:  public static string ToInvariantString(this IFormattable value, string format) {     return value.ToString(format, CultureInfo.InvariantCulture); }   This way a NullReferenceException will be thrown if the value parameter is null.   The other example would be:  public static string ToInvariantString(this IFormattable value, string format) {     if (value == null) throw new ArgumentNullException("value");     return value.ToString(format, CultureInfo.InvariantCulture); }   EDIT: In some of the answers you have pointed out that an extension methods can be called like a static method and in those cases a null reference exception would be wrong, which is a great point, and actually one of my concerns, not sure why I forgot to mention that in the question in the first place.   Someone also pointed out that it's wrong to throw a NullReferenceException, and yes, it is. That's why I don't throw it, I just let it happen (let the CLR throw it) by not guarding the method.  I think I favor the ArgumentNullException (that's what I've use so far) but I still think there is at least room to argue for an against the NullReferenceException since it seems more natural in most places where the method is going to be used. How can I disable the "Open File Security Warning" when I want to run downloaded executable files? How to let PHP to create subdomain automatically for each user? How do I create subdomain like  ? Do i have to access htaccess somehow? Is it actually simply possible to create it via pure php code or I need to use some external script-server side language?  To those who answered: Well, then, should i ask my hosting if they provide some sort of DNS access?? Terminal command 'login' fails with error message Coming from Mac OS X, there is a possibility for every ordinary user to open Terminal and type in 'login' to change to a different user account.  When I do this with Ubuntu, it provides the following error message:  login: Cannot possibly work without effective root   Is there any way to remedy this?  Which file do I need to edit and with what to enable the use of this command (even for a standard user)? Proof of A ⊆ C and B ⊆ C ⇔ A ∪ B ⊆ C I know that this is valid because by thinking about it, you can see it's true, but I'm just not sure how I would go about actually proving it mathematically. I've kind of tried proof by contradiction, since that's what I use most of the time, but it doesn't seem to work.    In my mind, A ∪ B ⊆ C kind of just implies that A ⊆ C and B ⊆ C. The version of python2 on my Ubuntu 14.04 machine is Python 2.7.6. How can I upgrade it to the the latest version of Python 2.X? The latest is currently 2.7.11.  I have tried apt-get update/upgrade, but the repository doesn't seem to have the latest version. I am considering buying a Dell XPS 15 laptop. The laptop has a Nvidia 420m card which should work with Linux but I keep reading that the Nvidia Optimus technology isn't supported on Linux. I am not really interested in switching from Nvidia to Intel to save power but need to know that the Nvidia card will in fact work if I installed Ubuntu.  If anyone has experience using a Nvidia card with Optimus technology or even better the exact laptop in question (Dell XPS 15 with 1GB NVIDIA® GeForce®  GT 420M) it would be great.  A major problem holding people back from adopting Linux is this sort of hardware issue. I am a long term Ubuntu user and supporter who can't afford to make a mistake with a purchase like this. I don't want to spend £500+ to find I have no graphics acceleration because Windows 7 is not an option. Why does the variance of the Random walk increase? How do I bulkify queries for directly or indirectly related records? What is the significance of Lie groups $SO(3)$ and $SU(2)$ to particle physics? I was hoping someone could give an overview as to how the Lie groups $SO(3)$ and $SU(2)$ and their representations can be applied to describe particle physics?  The application of Lie groups and their representations is an enormous field, with vast implications for physics with respect to such things as unification, but I what specifically made these groups of physical importance and why there study is useful.  I have just started studying these two groups in particular, but from a mathematical perspective, I'd very much appreciate understanding some sort of physical motivation. TeXnicCenter & Adobe Reader DC C++ catching all exceptions Avoiding if statement inside a for loop?