What's the command line to find out if the OS is running a 32-bit version or 64-bit of Windows?
What's the best and quickest way to detect whether you're running a 32 or 64-bit version of Windows Server from the command line?  (Cygwin is installed)
Insert a "Let us continue this discussion in chat" comment before thread gets messy I've seen , but there seem to be no proper solution.  I suggest an ability to insert a "Let us continue this discussion in chat" comment before the thread gets messy enough to fit the requirement. The point is to prevent the problem before it occurs.  Perhaps this should become a privilege for users of X reputation or more?  Your opinions on the subject? Including sections of source code as a listing, while being robust to source code edits Meaning of "stackexchange" What does stackexchange mean? I have checked out this  to read about the Stack Exchange Network. Real Analysis, Folland Problem 1.3.15 Measures Given a measure $\mu$ on $(X,M)$, define $\mu_0$ on $M$ by $$\mu_0(E) = \sup\{\mu(F): F\subset E \ \text{and} \ \mu(F) &lt; \infty\}$$ a.) $\mu_0$ is a semifinite measure. It is called the semifinite part of $\mu$. b.) If $\mu$ is semifinite, then $\mu = \mu_0$ (Use Exercise 14) c.) There is a measure $\nu$ on $M$ (in general, not unique) which assumes only the values of $0$ and $\infty$ such that $\mu = \mu_0 + \nu$.  The proof of Exercise 14 can be found  For a.) I believe we need to show that $\mu_0(E) = \infty$. Perhaps we can do this by proof of contradiction, similarly to what the proof in the link above does (actually it seems identical). For b.) I am not sure how we can show $\mu = \mu_0$ I think maybe we have to show by construction that $\mu \leq \mu_0$ and $\mu \geq \mu_0$ For c.) I haven't any idea for. Any suggestions is greatly appreciated. I'd like to setup a WCF service to send emails. The System.Net.MailMessage doesn't seem to be serializable, and cannot be passed in a [DataContract]  The error I receive is      Type 'System.Net.Mail.MailAddress'   cannot be serialized. Consider marking   it with the DataContractAttribute   Any suggestions? Command/macro name cannot include numbers and symbols I would like put picture into table, and my idea is define new command as below>   \newcommand{\EJ471}{\includegraphics[scale=0.150]{EJ_471.jpg}}   But compiler reports an error. If I use the command name for example \EJa, everything is all right. I've read similar questions as      But still I don't understand why it does not work. Is this arthropod non-intrusive and recommended to be left alive? I am in Portugal (Lisbon) at the moment, and when leaving my room late at night (12 pm ~ 04 am) I usually face about 4 of these arthropods in the corridors:    (For reference, the "line" in the image is a standard separation on the floor. This particular example of the animal is a little smaller than a nail.) They seem to have quite variable sizes and walk primarily on ground. Also, as implicit above, they seem to be active primarily during the late night. (I don't see them much often, if at all, during the morning/afternoon.) They can be quite fast, but if left unharmed do not move much. They also appear to take shelter inside the walls.  From what I searched, it seems possible that they are centipedes. I've seen sites saying that they are useful to keep other less pleasant animals at bay. My questions are: What are those animals, and should I leave them be or not? $\displaystyle\int_0^0\frac 1x\:dx$ This integral is defined ? If it define, what is the value ?  Please,step by step When I read about , I see that they should appear as solution to prevent  and  but when I actually try to write a code which would use Lightning promises it still doesn't look like synchronous code, it still resembles both pyramid of doom and callback hell.  main: function(component, helper) {     helper.promise1(component, helper).then(         $A.getCallback(function(record) {             return helper.promise2(component, helper, record).then(                 $A.getCallback(function(){                     console.log("Success");                     helper.showToastMessage(component, "Great Success!!!!")                 }),                  $A.getCallback(function(errorMessage){                     console.log("Rejected by second promise2");                     helper.showToastMessage(component, "Failure " + errorMessage);                 })              )         }),          $A.getCallback(function(errors){             console.log("Rejected by first promise1");             let message = errors &amp;&amp; Array.isArray(errors) &amp;&amp; errors.length &gt; 0 ? errors[0].message :'Unknown error';             helper.showToastMessage(component, "Failure " + message);         })      ) }   Is that possible to refactor this code to look more like synchronous code and without callback hell or pyramid of doom? Dynamic google-code-prettify doesn't work What is the Big-O time complexity of the following nested loops: for (int i = 0; i &lt; N; i++) {     for (int j = i + 1; j &lt; N; j++) {         System.out.println(&quot;i = &quot; + i + &quot; j = &quot; + j);     } }  Would it be O(N^2) still? Calculate $I=\int_0^1\frac{\ln(1+x)}{1+x^2}\,dx$ How can I calculate the integral $I=\int_0^1\frac{\ln(1+x)}{1+x^2}\,dx$ by substituting $t=\frac{1-x}{1+x}$. Are there popular but poorly paved roads on Big Island which require an SUV? My grandparents will drive only on roads recommended in printed travel guides; they'll ask the rental car company if Waipio Valley Road and the road to the top of Mauna Kea are sanctioned.       A rented 4WD vehicle is allowed by law to travel ANY public roadway in Hawaii. AND there are some places that require a 4WD vehicle.      [...]      If you travel down into  or to the top of , you are legally allowed to do so, but your rental company will expect you to pay for any damage incurred whether you selected the insurance or not, as the insurance is null and void when you violate the contract.        I do not believe a 4x4 rental is necessary for 99% of visitors. For the other 1%, "necessary" is too strong a word!      But, being in that "1%" category, there ARE worthy places to go on the BI that require 4x4 (the kind you can rent from a normal rental outlet, not the kind locals may drive). I won't publicize those places because I don't want such places to become overused. [I bolded.] Just don't believe it when you read here that there is absolutely no place at all worth visiting that would require 4x4.    I doubt the Tripadvisor comments overhead, as none of them discussed potholes:          Please see the bolded phrase. Where on the BI requires an SUV? If $(X,\|\cdot\|)$ is a normed linear space, then how to show any ball $B(x,r)$ is convex? I know that if $x,y\in A\subset V$ then $[x,y]\subset A$, where $A$ is a convex subset of vector space $V$ and $[x,y]=\{(1-t)x+ty\mid 0\leq t \leq 1\}$. Please give me some hint.  I tried the following:  Claim. $[a,b] \subset B(x,r)$ Let $a,b \in B(x,r).$ Then I get $\|x-a\|&lt;r$ and $\|x-b\|&lt;r$.  Is it right? Can I run Android apps on Ubuntu? Is it possible to run Android apps on Ubuntu? And I don't mean inside an emulator, but natively, as you would with any other application installed using the Ubuntu Software Center. We are currently working on a windows based application where users capture data. Some data is captured in a table where other data is captured in text blocks. Im currently faced with the dilemma of how to align contents specifically decimal values.  Editable cells in a grid are indicated with a pencil icon which disappears once in edit mode. You will notice that the table consists of various field types, decimals and text. So what should I do and why?  A> right align all cell content  B> left align all cell content  C> right align only decimal values in cells  D> Whatever else you can suggest Is the solution to a question regarding four smaller masses on a rotating hollow sphere accurate? I was doing the question :     A uniform 8.40-kg spherical shell, 50.0 cm in diameter has four small   2.00-kg masses attached to its outer surface and equally spaced around it. This combination is spinning about an axis running through the   center of the sphere and two of the small masses (see ). What friction torque is needed to reduce its angular speed   from 75.0 rpm to 50.0 rpm in 30.0 s?   I understand how to get $\alpha$, and how to get $\tau$ from $I$ and $\alpha$. What I do not understand is their computation of the moment of inertia. The question did not provide any information regarding the shapes of the masses, but the solution (which writes $I=\frac{2}{3}MR^2+2mR^2$) seems to assume that the masses are point particles. Thus, the two masses along the rotational axis have a moment of inertia of 0 ($r=0$), and each of the other two masses has a moment of inertia of $I=mr^2 =mR^2$, where $R$ is the radius of the sphere and $r$ is the distance from the axis.  But why are the masses considered to be point particles? I wanted to use the parallel-axis theorem to determine the moment of inertia about the rotational axis; not knowing the shape of the masses made this impossible, since I couldn’t find the moment of inertia about the CM. If I knew $I_{CM}$, then couldn’t I use $I_{axis}=I_{CM}+mR^2$ for the two masses not on the rotational axis and $I_{CM}$ for the two that are? That would make $I_{total}=\frac{2}{3}MR^2+4I_{CM,\:mass}+2mR^2$ Would that not be a better way of solving this problem? How to show that $\mathfrak{sl}_n(\mathbb{R})$ and $\mathfrak{sl}_n(\mathbb{C})$ are simple? $d_1(x_1,y_1)$ and  $d_2(x_2,y_2)$ are metric on $X$ and $d(x,y)$ is defined as: $$d(x,y)= \sqrt{d_1(x_1,y_1)^2+d_2(x_2,y_2)^2}.$$ I am trying to show this is a metric. Can you give me some clue about proving the triangle inequality for $d$ ? Thank you for your help. There does not exist group $G$ such that Aut$(G)\cong \mathbb{Z}_n$ (for odd $n$)