Even if rare, when can this happen? Any trustworthy examples?  11. Do Not Use a Comma Before “Because” Do not use a comma before “because” unless “because” introduces a nonrestrictive clause. That rarely happens. Incorrect: This is contradictory to the common practice, because, according to that practice, the title of ownership will not be transferred to the buyer until payment is completed. Correct: This is contradictory to the common practice because, according to that practice, the title of ownership will not be transferred to the buyer until payment is completed.  Bahrych, Merino. Legal Writing and Analysis in a Nutshell 5th edition (2017). p. 226-7.
In what situation do you put a comma before "because"?   And, when do you not put a comma before "because"?   I've always assumed that you put a comma, because the clause introduced by "because" will always be independent, because it cannot stand on its own, because it wouldn't make sense on its own.   Is this the case? Could you think of an example where it doesn't take a comma?
Visual Studio: How to break on handled exceptions? I would like Visual Studio to break when a handled exception happens (i.e. I don't just want to see a "First chance" message, I want to debug the actual exception).  e.g. I want the debugger to break at the exception:  try {    System.IO.File.Delete(someFilename); } catch (Exception) {    //we really don't care at runtime if the file couldn't be deleted }   I came across  notes for Visual Studio.NET:     1) In VS.NET go to the Debug Menu >>   "Exceptions..." >> "Common Language   Runtime Exceptions" >> "System" and   select "System.NullReferenceException"      2) In the bottom of that dialog there   is a "When the exception is thrown:"   group box, select "Break into the   debugger"       3) Run your scenario. When the   exception is thrown, the debugger will   stop and notify you with a dialog that   says something like:              "An exception of type "System.NullReferenceException" has   been thrown.              [Break] [Continue]"       Hit [Break]. This will put you on the   line of code that's causing the   problem.   But they do not apply to Visual Studio 2005 (there is no Exceptions option on the Debug menu).  Does anyone know where the find this options dialog in Visual Studio that the "When the exception is thrown" group box, with the option to "Break into the debugger"?  Update: The problem was that my Debug menu didn't have an Exceptions item. I customized the menu to manually add it. Is it possible to set a CNAME record at the top of a domain? (i.e. @ CNAME www, @ CNAME foobar.com., etc.)  My ISP says that it's only possible to use CNAME's for subdomains but I've read somewhere else that is should be possible even if not recommended. Is there canon info on shelf life of various potions in Harry Potter? Do we know how long potions (in general, or at least specific ones) are potent (no pun intended) in Harry Potter canon?  E.g. do they last a couple of hours? Minutes? Years?   I seem to vaguely remember some comments of Snape's about Wolfesbane potion therfore I think at least some information exists. Is there a way to include an entire text file as a string in a C program at compile-time?  something like:   file.txt:  This is a little text file  main.c:  #include &lt;stdio.h&gt; int main(void) {    #blackmagicinclude("file.txt", content)    /*    equiv: char[] content = "This is\na little\ntext file";    */    printf("%s", content); }    obtaining a little program that prints on stdout "This is a little text file"  At the moment I used an hackish python script, but it's butt-ugly and limited to only one variable name, can you tell me another way to do it? I have now almost completed my family tree, having each branch going back to approximately the French revolution, discovering dozens of previously unknown ancestors.  I would like to share the family tree with my family, the problem is that I cannot have a tree in a nice format that could be printed on a standard A4 sheet (maybe using both sides or whathever).  I have a SVG tree that use graphics, but it is unconventionally large and if scaled down to a A4 sheet, the text would be so small that it would not be legible. The maximum width is of about 50 ancestors of a generation, then it goes sparse again.  I'd like to know if a format exist where the family tree (with direct ancestors only) would be printable, with names but also other complementary information, and the format should be printable as not all my family users are particularly skilled with computers. How can I remove snaps without losing GUI? I want to know how to check how many snaps programs/apps I'm running. Also, how to replace them (if possible) without losing GUI? Create WiFi hotspot on ubuntu Although many questions have already been asked regarding WiFi hotspot, I didn't get any of the solutions working for me.  I connect to the Internet using a 3G Dongle of Huawei 3772 (Vodafone). The connection type is Mobile Broadband connection. I have to share this Internet connection with my other devices like mobile phones and laptops.  How can I create a WiFi hotspot connection for this connection.  I am using Ubuntu 12.04 LTS.  I would like to note that I have already tried some help links from Ubuntu but, they are so confusing that I could not understand them. Consider following structure:  . |_s |_s  |_ss  |_ss+   |_sss  |_ss |_s |_s   How can I demote a subsection to subsubsection without changing markups ?  . |_s |_s  |_ss   |_sss+    |_p  |_ss |_s |_s   How can I promote a subsection to section without changing markups ?  . |_s |_s  |_ss |_s+  |_ss  |_ss |_s |_s   A wrapper command would be excellent  \begin[+1]{level} \section{} \end{level} Get real client IP in a Servlet On the grade of an ideal I need to prove the following statment (actually a special case of it).     Let $R$ be a Noetherian ring, $M$ a finite $R$-module and $I$ an ideal of $R$. Then   $\operatorname{grade}(I,M)\geq 2$ if and only if the homomorphism $M\rightarrow$Hom$_R(I,M)$ given by $m\mapsto(i\mapsto im)$ is an isomorphism.   This is Exercise 1.2.24 in Bruns and Herzog, Cohen-Macaulay Rings. Checkout one file from Subversion How do I write a correct micro-benchmark in Java? Why are springs shaped the way they are? Why are springs coiled the way they are? Why not some other shape? Is the shape due to its elasticity or something? Opening a file with std::string What is the square root of $i^4$? What is the $\sqrt{i^4}$?   $i^4$ = $(i^2)^2$ So is $\sqrt{i^4}$ = $\sqrt{(i^2)^2}$ = $i^2$ = $-1$?  Or is $\sqrt{i^4}$ = $\sqrt{1}$ = $1$?  When I plug it into my TI-89 Titanium, I get $1$.  Edit: I now see why $i^4 \neq -1$. $$\sqrt{x^2} = \left|{x}\right| $$ So$$\sqrt{(i^2)^2} = \left|i^2\right| = \left|-1\right| = 1$$ Question: Best way to derive an ellipse formula when given bunch of points (say 60 points which when connected draws an ellipse)?  Background: Using R Momocs library function  which returns confidence ellipse coordinates. Would be nice to abstract those points into a formula.  You can see my ellipse points in the image below;    Any suggestions much appreciated, Thanks Let $f$ be differentiable at $x=a$.   Prove that if $x_n \to a^+$ and $y_n \to a^-$ then:  $$\lim_{n\to \infty} \frac{f(x_n)-f(y_n)}{x_n-y_n}=f'(a).$$  Every option that I think about seems to my very trivial, so I believe that I am doing something wrong.  Both numerator and denominator approach zero as $n\to\infty$ as the case of the formal definition of derivative, but it isn't guaranteed that the limits are equal (“$\frac{0}{0}$”).   Any direction? Laser positioning on barn door tracker I see questions come up quite often that have this underlying issue, but they're all caught up in the particulars of a given feature or tool. Here's an attempt to create a canonical answer we can refer users to when this comes up - with lots of animated examples! :)    Let's say we're making a first-person camera. The basic idea is it should yaw to look left &amp; right, and pitch to look up &amp; down. So we write a bit of code like this (using Unity as an example):  void Update() {     float speed = lookSpeed * Time.deltaTime;      // Yaw around the y axis using the player's horizontal input.             transform.Rotate(0f, Input.GetAxis("Horizontal") * speed, 0f);      // Pitch around the x axis using the player's vertical input.     transform.Rotate(-Input.GetAxis("Vertical") * speed,  0f, 0f); }   or maybe  // Construct a quaternion or a matrix representing incremental camera rotation. Quaternion rotation = Quaternion.Euler(                         -Input.GetAxis("Vertical") * speed,                          Input.GetAxis("Horizontal") * speed,                          0);  // Fold this change into the camera's current rotation. transform.rotation *= rotation;   And it mostly works, but over time the view starts to get crooked. The camera seems to be turning on its roll axis (z) even though we only told it to rotate on the x and y!    This can also happen if we're trying to manipulate an object in front of the camera - say it's a globe we want to turn to look around:    The same problem - after a while the North pole starts to wander away to the left or right. We're giving input on two axes but we're getting this confusing rotation on a third. And it happens whether we apply all our rotations around the object's local axes or the world's global axes.  In many engines you'll also see this in the inspector - rotate the object in the world, and suddenly numbers change on an axis we didn't even touch!    So, is this an engine bug? How do we tell the program we don't want it adding extra rotation?  Does it have something to do with Euler angles? Should I use Quaternions or Rotation Matrices or Basis Vectors instead? How do I read a resource file from a Java jar file?