Modifying static data member in class constructor
Unresolved external symbol on static class members
How to prevent applications from discovering my phone as being Rooted I have to install an application that has discovered my device to be rooted.  So this is a two part question.   How did it discover in the first place that my phone has been rooted How to prevent the application from discovering my phone as being rooted Why is the gravitational force always attractive? Why is the gravitational force always attractive? Is there another way to explain this without the curvature of space time?   PS: If the simple answer to this question is that mass makes space-time curve in a concave fashion, I can rephrase the question as why does mass make space-time always curve concavely? 3.8 GPA, but 3 Fs and 1 D on transcript So here's a funny thing: I have 3 Fs and 1 D on my transcript, but my GPA is ~3.8, which is "high" because I double majored in math and computer science. The reason for those 4 bad grades is that I had 2 bad semesters where I suffered from depression; I didn't drop the classes before the deadline so I ended up failing the classes. However I retook the classes and got As in them (hence my GPA), and in fact got A/A-s in all subsequent classes (quite an improvement). I plan to apply to a master's for computer science, and eventually a phd. However I know the admission officers eyes will bleed when they see my transcript, despite my GPA, because my school keeps ALL grades on transcripts, even if the grades were replaced by retaking classes. Do I still have a chance at top-10 graduate school for computer science even with these grades (which were retaken and then aced)? Force alt + tab to switch only on current workspace in GNOME shell Can I use Facebook's fb:friend-selector in an iframe? Say I am logged into a remote system, how can I know what it's running? On most modern Linuxes (Linuces?), you have the lsb_release command:  $ lsb_release -ic     Distributor ID: LinuxMint Codename:       debian   Which as far as I can tell just gives the same info as /etc/lsb-release. What if that file is not present? I seem to recall that the lsb_release command is relatively new so what if I have to get the OS of an older system?  In any case, lsb stands for Linux Standard Base so I am assuming it won't work on non-Linux Unices. As far as I know, there is no way of getting this information from uname so how can I get this on systems that do not use lsb_release? In which US accent is “again” pronounced /əˈɡeɪn/ with the FACE vowel, not /əˈɡɛn/ with the DRESS vowel? Most dictionaries provide the US pronunciation of “again” as /əˈɡɛn/ (uh-gen) with the DRESS vowel. This is the most common pronunciation in the USA. However, I think I might have also come across /əˈɡeɪn/ (uh-gain) with the FACE vowel. This sounds like the word “gain” with an “a” at the beginning. Is there a US accent where “again” is pronounced this way? What characters do I need to escape when using sed in a sh script? Take the following script:  #!/bin/sh sed 's/(127\.0\.1\.1)\s/\1/' [some file]   If I try to run this in sh (dash here), it'll fail because of the parentheses, which need to be escaped. But I don't need to escape the backslashes themselves (between the octets, or in the \s or \1). What's the rule here? What about when I need to use {...} or [...]? Is there a list of what I do and don't need to escape? Nested roots sequence, how to prove it's monotone and bounded? Let $a\ge1$ and define the sequence $(x_n)$ recursively by: $$x_1 = \sqrt{a}$$ $$x_{n+1}= \sqrt{a+x_n}$$  Here's what I did:  Plugging in some values makes it seem as if the sequence is increasing. I first solve the equation $t=\sqrt{a+t}$, equivalently $t^2 -t -a =0$, to get an idea what's going on. The roots are $$t_{1,2}= \frac{1 \pm \sqrt{1+4a} }{2}.$$ Therefore, between the roots, that is for $$t\in \left( \frac{1 - \sqrt{1+4a} }{2}, \frac{1 + \sqrt{1+4a} }{2}\right)$$  we have $t^2-t-a \le 0 \iff t \le \sqrt{a+t}$. Here's my attempt at showing inductively that $$\forall n\in \mathbb{N}, \ x_n \le \frac{1 + \sqrt{1+4a} }{2}$$  For $n=1$, the statement is true (simple arithmetic). Suppose it's true for $n$. Consider  $$x_{n+1}= \sqrt{a+x_n}\le \sqrt{a+\frac{1 + \sqrt{1+4a} }{2}}=\frac{1 + \sqrt{1+4a} }{2},$$  because $\frac{1 + \sqrt{1+4a} }{2}$ satisfies $x=\sqrt{x+a}$.  So this establishes the sequence $(x_n)$ is bounded. Now, by induction again, I try to show it's monotonically increasing. The base case $x_1\le x_2$ is obvious. Assume (strong induction) $x_{n-1}\le x_n$ for all $n&gt;1$. But since we have $$x_1\le x_n \le \frac{1 + \sqrt{1+4a} }{2}, $$   then $x_n$ lies in the appropriate interval, so $x_n \le \sqrt{a+x_n}=x_{n+1}.$  Is this proof correct? Can the condition on $a$ be relaxed to $a&gt;0$? Maybe even small negative $a$? And could someone provide me with another proof of convergence of $x_n$? I absolutely hate this one! Process Unicode files with BOM correctly with POSIX tools How can i render the reflections i see in the Look Dev viewport in Blender 2.8 i'm finding blender 2.8 confusing and i'm relatively new to blender in general anyway. While looking at my model in the Look Dev view port i can see reflections.        However, when i render my scene in eevee (and cycles), the reflections aren't rendered     Is there something i'm doing wrong or an option i haven't enabled? Reading/writing an INI file Is there any class in the .NET framework that can read/write standard .ini files:  [Section] &lt;keyname&gt;=&lt;value&gt; ...   Delphi has the TIniFile component and I want to know if there is anything similar for C#? TAR 6 GB worth of files into separate 1.9 GB TAR files I have 28,000 files of size 6.7 GB in the directory aaa/input. I need create TAR files in the directory aaa/output, such that each TAR file cannot exceed 1.9 GB, so I have to tar the 28,000 files into 4 TAR files (6.7/1.9) as Log_(current date)_01.tar Log_(current date)_02.tar ... etc.  such that each tarball is less than 1.9 GB. Is there a way to do this using a Unix script? Self-explanatory title really! A student today asked me why they were called integral domains -- and I realised that the word "integral" seems to be being used in a way totally unlike any other way I hear it used in mathematics. The student suggested that "integral" was used because the integers were an example -- but I didn't buy this because by that logic they could have been called "rational domains" or "real domains".  Any ideas anyone? : So how many named special cases of each modal verb are there, in toto? There's   1. subjunctive should, and   2. mandative should, and   3. , at least;   and I s[up]pose 4. Should we? is suggestive should, and   5. Shouldn't we? is tag **should**, and I can think of a lot more.    I ask about only operative uses of this modal verb including literary and formal usage,  but please omit anything obsolete. I'm trying to classify them and learn the formal terms describing each. Are there any apt others in addition to the ones above? (I added the enumeration below)  1. What's 'subjunctive should'?  Whenever should is conjugated in the subjunctive mood? 5. What's a tag **should** ? 6. Where does  should/would  feature? What's it called? This should is detailed in   or  or . I have a question that is highly similar to this one:  However, I'm not sure how to do this when fractional powers are involved. I understand that the answer involving the binomial theorem shows this for fractions too, but I'm not sure how to go through the mechanics of it all. For example, when trying to differentiate $\sqrt{ax+b}$, I get to   $$ \lim_{h \rightarrow 0}  \frac{\sqrt{a(x+h)+b} - \sqrt{ax+b}}{h} $$  then can't get the $h$ to cancel out. I think this involves algebraic manipulation of some sort, but can't figure it out.  Thanks OK, I've been having weird problems for the last 1/2 hour trying to  on StackOverflow, and I keep getting this result (on Firefox 3.6)     The connection was reset      The connection to the server was reset while the page was loading.         The site could be temporarily unavailable or too busy. Try again in a few        moments.   If you are unable to load any pages, check your computer's network        connection.   If your computer or network is protected by a firewall or proxy, make sure        that Firefox is permitted to access the Web.      The problem seems to occur when I try to post some code with 'd--- table' in it, where 'd---' is replaced by the word drop.  I cannot post the following 3 lines, in either SO or this site, if they include the well-known SQL statements DROP.  stat.executeUpdate('d--- table if exists people;'); stat.executeUpdate('create table people (name, occupation);'); prep = conn.prepareStatement(...     'insert into people values (?, ?);');   test again:  'dro* table' 'drop ball' drop the table drop fable drop    t*ble droptable   drop a table  The evil words for me are "drop" and "table"... how come you guys can post? :(  edit: Could someone please suggest another online site that is not stackoverflow that is a quick way to try out a POST request of a text field?  UPDATE: Never mind. I don't know what the answer is, but the same problem occurs on Google's website. So it's not stackoverflow. Now to go to my IT Dept... Issue with Sorting Layers with an NPC and Tilemap I have a weird thing happening, that I can't quite explain.  I have two scenes, my starting town, and an Arcanist's shop.  When I go into the Arcanist's Shop, the Arcanist NPC stays on the same sorting layer (background layer 0) as my checkered tiles, and the table is background layer 1.  When I start the game, the NPC will switch between being "behind" the table, or on top of it whenever I reenter the Arcanist's Shop scene.  It seems to switch between background layer 0 and 1 with no cause.  I've double checked my sorting layers, they're all where they should be.  I've checked the camera's culling mask, it's fine.  I've checked to see if there are any weird components on anything in my shop scene, and there aren't  See the image attached, this is the same instance of the game, just different times when I enter the Arcanist's Shop.    Screenshot of my tilemap setup: Extraneous solution from substituting in equations I came across this example of how you could end up with an extraneous solution but I was wondering how it arose. We have the equation: $$x^2+x+1=0 $$ Since x=0 does not satisfy the equation, you can divide by x on both sides which yields: $$x+1+\frac{1}{x}=0$$ which is equivalent to our first equation. From our first eqution we can conclude that: $$-x^2=x+1$$ We now substitute that into the second equation to get:$$x^2=\frac{1}{x}$$ which results in $$x^3=1$$ which is equivalent to our previous equation since x cannot be 0. However, one solution from our last equation is x=1, which is not a solution to our original equation. I have a vague idea that it may have to do with the fact that you get a cubic equation and you began with a quadratic, and that steps imply the following and not vice versa, but can you provide a very detailed answer as to why it arises? Can you please provide more examples? Should a toggle button show its current state or the state to which it will change?