Solve complex equation with $\overline z$

I need help solving this task, if anyone had a similar problem, it would help me. The task is: Solve the equation in a set of complex numbers. $z^3=\overline z$ I tried this : $z^3=\overline z\\\frac{z^3}{\overline z}=1\\z^2=1\\w_0=(\cos(0)+i\sin(0))\\w_0=1\\w_1=\cos(\pi)+i\sin(\pi)\\w_1=-1$ I only get results: $ 1,-1$ How to get complex solutions? Thanks in advance !


Is $\mathbb{R}^\omega$ a completely normal space, in the box topology?

Basically, what the title says. Is $\mathbb{R}^\omega$ a  in the  ? ($\mathbb{R}^\omega$ is the space of sequences to $\mathbb{R}$) Thanks !


I'm doing self-study in Calculus, and I'm having trouble with intuitively understanding derivatives. The definition of a derivative is: $\lim _{h\to 0}\left(\frac{f\left(x+h\right)-f\left(x\right)}{h}\right)$. Also, I will note that H Does not Equal Zero. Here is the issue I'm having: As $\lim _{h\to 0}\:$ does not equal zero, and therefore $h$ does not equal $0$, there will always be some infinitesimally small distance between $x$ and $x+h$. Therefore, the derivative is NOT a rate of change at one point, but a rate of change between $x$ and some small infinitesimal distance. I suppose one could say the slope between $x$ and $x+\text{infinitesimal}$ is close to a rate of change at a single point, but it's not the same thing. Maybe an approximation, but an approximation is not the same as the actual. What am I missing here? Thanks in advance for any assistance!


I'm new to pyqgis and I'm tryig to make a combobox with list of fields (from layer also selected in combobox).      layers = self.iface.legendInterface().layers()     layer_list = []     for layer in layers:         layer_list.append(layer.name())     self.dlg.comboBox.addItems(layer_list)       selectedLayerIndex = self.dlg.comboBox.currentIndex()     selectedLayer = layers[selectedLayerIndex]     fields = selectedLayer.pendingFields()     fieldnames = [field.name() for field in fields]     self.dlg.comboBox_2.addItems(fieldnames)   The problem is, that in second combobox there are fields from first on layerlist layer, not the selected one.


How many path-connected components does $O_{2}(\mathbb{R})$ have?  My Attempt: I believe that the answer is 2, but I'm not sure how to work with the definition and describing the path-connected components.


How did Sherlock know to use her measurements?

This  established that in A Scandal in Belgravia Irene Adler's safe combination was her measurements.  However, how did Sherlock know to use that combination?  Irene is naked and he's very observant, so he would have picked up on her measurements.  However, how did he know to use that as the code?  It may as well have been the distance apart of her curtains!  Furthermore, when Irene decides to meet him in her "battle dress" she doesn't know she's going to want Sherlock to access the safe so it's not like she could "dress" accordingly...  So, how did Sherlock know to use her measurements to open the safe?


Run an edit-mode operator on every object in the scene

I want to untriangulate every object in my scene with this script:  import bpy  for ob in bpy.data.objects:     bpy.ops.mesh.tris_convert_to_quads(limit=0.9, uvs=False, vcols=False, sharp=False, materials=False)   But it doesn't work in object mode, any ideas on how I can get it working?


Regular Expression for a string that should contain only one asterisk (*)

String can contain anything, but must have one asterisk (*) throughout the string and that asterisk can be anywhere in the string.  Also string should not contain any blank spaces.  Following are valid strings:  test* *_test test*something   Following are invalid strings:  test_** **_test test*something* test *something test * testsomething *   Someone please help me writing a regex for the above scenario.


Why did Rijndael become AES; what is wrong with Twofish and Serpent?

Why did the Rijndael cipher become the Advanced Encryption Standard instead of Twofish and Serpent? Do Serpent and Twofish have security issues or weak keys? Or is it just slower? I know that some modern cryptography programs use twofish and serpent?  Sorry for the dumb question .


Is it possible to create a new spell in Harry Potter

According to one of the theories, that the name of a spell is derived from the action of the spell, would it be possible to create new spells by saying a descriptive word explaining the desired action? Also is there any reference to this in the books/movies?


I am writing a memoir in latex. I have lot of output from Ubuntu terminal and I have tried to put in verbatim, but this is really not pretty. I was wandering if there is a latex tip to put Linux terminal output in latex and make it pretty.


Is it possible to rename a tag to its synonym?

The  tag is incorrectly named: it should be  because that is how the program it is named after called. While  is a synonym, this situation is suboptimal. As far as I can tell, SO is the only place which associates  with emacs etags program, the main meaning of  is an Entity Tag in HTTP.  Proposal: rename tag  to  and not make  its synonym.


Suppose $z \neq -1$ is a complex number of norm 1. Prove that $(\frac{1+z}{|1+z|})^2 =z $

Suppose $z\neq -1$ is a complex number of norm 1m $(|z| =1)$. I know that $z= n + mi$, what is the most straightforward way of solving this problem? I was also given the following sketch for a possible approach.


Do you know who / whom she is going to marry?

Do you know who / whom she is going to marry ?   The usage of who and whom has been already explained on SE, going by that to find which pronoun to use we need to replace he / him in the answer, so accordingly him fits here that means I need To use whom here, but my book says who is fine, I know colloquially it doesn't makes much difference and in modern English we can replace whom with who, but this isn't the cause with my exam for which I am preparing I need to strictly follow the conventional grammar so just want to confirm if its a printing error in my book ? Correct answer should be whom , Right ?


Let $T_n$ be the set of permutations of $\{1,2,\ldots,n\}$ which do not have $i$ immediately followed by $i+1$ for $1\le i\le n-1$; in other words, let \begin{align} T_n=\{\sigma \in S_n: \sigma(i)+1\ne\sigma(i+1) \text{ for all } 1\le i\le n-1\} . \end{align} Let $Q_n$ be the number of elements of $T_n$.    Let $D_n$ be the number of  of $\{1,2,\ldots,n\}$.  It is not hard to show algebraically that $Q_n=D_n+D_{n-1}$, but I am having difficulty coming up with a combinatorial argument to show why this is true.  (I believe there are $D_{n-1}$ elements of $T_n$ that leave $n$ fixed, and $D_n$ elements of $T_n$ that move $n$, but I don't know how to justify this combinatorially.)


If $k$ is a field in which $1 + 1 \neq 0$, prove that $\sqrt{1-x^2}$ is not a rational function. Hint. Mimic the classical proof that $\sqrt{2}$ is irrational   It seems rather odd to discuss the square root function in the context of an arbitrary field, but here goes nothing!  Proof:   Suppose that $\sqrt{1-x^2}$ is a rational function in $k(x)$. Then there exist polynomials $p(x)$ and $q(x) \neq 0$ that are relatively prime with $\sqrt{1-x^2} = \frac{p(x)}{q(x)}$; clearly we may take $p(x) \neq 0$. Then $1-x^2 = \frac{p(x)^2}{q(x)^2}$ or $q(x)^2(1-x^2) = p(x)^2$, which says $q^2 | p^2$, and since $q | q^2$, we can infer $q | p^2$. Moreover, since $p|p^2$ and $(p,q)=1$, then $pq|p^2$ or $q|p$, which contradicts the fact that the polynomials are relatively prime. Hence $\sqrt{1-x^2}$ cannot be a rational function.    How does this sound? Aside from the problem of discussing $\sqrt{~~}$ in the context of an arbitrary field, I am worried about not using the fact that $1+1 \neq 0$, at least not explicitly. Where exactly is this assumed used, if at all?  EDIT:  Suppose that $q(x) =1$, and let $f(x) = a_n x^n + ... a_1 x + a_0$. Then $1-x^2 = f(x)^2$. If $x=0$, $1 = a^2_0$ and therefore $a_0$ must be a unit. Letting $x=1$ we get $0 = (a_n + ... + a_1 + a_0)^2$; and letting $x=-1$ we get $0 = (-a_n - ... - a_1  + a_0)^2$. Since we are working in a field, there can be no nonzero nilpotent which means that $a_n + ... + a_1 + a_0$ and $-a_n - ... - a_1  + a_0$ are both zero. Adding the two equations together yields $2a_0 = 0$, and since $1+1 \neq 0$, $a_0 = 0$ which contradicts the fact that $a_0$ is a unit.   How does this sound?  Another attemtpt:  If $f(x)^2 = 1-x^2$, then $2 = \deg(f^2) = 2 \deg (f)$ implies $\deg(f) = 1$. Yet if $x=-1$, we get $f(-1)^2 = 1 - 1 = 0$ and therefore $f(-1)=0$ since there are no nonzero nilpotent elements in a field; similarly, $f(1)=0$. Since $1+1 \neq 0$, $f$ has two distinct roots in $k$ yet is only a $1$-st degree polynomial, a contradiction.


Failed to Set MokListRT: Invallid Parameter every time I boot up my laptop

Why do I get this black screen when booting my laptop?  Failed to set MokListRT: Invalid Parameter Could not create MokListRT: Invalid Parameter Importing MOK states has failed: import_mok_state() failed: Invalid Parameter   Continuing boot since secure mode is disabled.


The process "sbin: root@policykit -1/9" takes high CPU in our Ubuntu 18.04.4 LTS server. Can anyone help to find what it is? Thank You.


Does static friction do work on an accelerating car?

I have seen several questions about this on this site and quora and there seems to be no definite, unanimously agreed upon answer. Does static friction do work on an accelerating car. Heres what i think: Ignoring the affects of air resistance, since the chemical energy of the car is being converted into kinetic energy, some external net force MUST be doing work. Now, although the kinetic energy itself is coming from the chemical energy, the internal engine cant do the work itself as it is not a (external) force. So the static friction is acting as an intermediate, transferring energy? Would this be analogous to a crate on an accelerating truck. The only horizontal force acting on the crate, ignoring air resistance, is static friction and the crate is moving relative to the earth so static friction must be doing work. But the energy itself is coming from the fuel.


Can anyone tell me what a certain top bar notification icon is from?

I can't figure out what the middle gray speech bubble icon, the one between the Facebook messenger icon and the weather icon, is from. Text message? Texting app? I have no idea.


How do Gimp and Inkscape differ from Adobe Photoshop and Illustrator?

Are there significantly less features or uses for them? They seem to be quite popular, and being free and open source is definitely a plus as opposed to the Adobe suite.


Plotting function defined with Lua doesn't do anything

hopefully you can help me. I tried to plot a function with Tikz and Lua in the following way \documentclass[14pt]{book} \usepackage{marginnote} \usepackage{amsmath} \usepackage{multicol} \usepackage{tikz} \usetikzlibrary{trees} \usetikzlibrary{matrix} \usetikzlibrary{calc} \usetikzlibrary{positioning,shapes} \usetikzlibrary{tikzmark}  \usetikzlibrary{arrows} \usetikzlibrary{intersections} \usepackage{pgfplots}     \pgfplotsset{compat=newest}  \tikzstyle{abstract}=[rectangle, draw=black, rounded corners, text centered, anchor=north, text=black, text width=2.7 cm] \tikzstyle{comment}=[rectangle, draw=black, rounded corners, fill=green,  text centered, anchor=north, text=white, text width=3cm] \tikzstyle{myarrow}=[->, >=open triangle 90, thick] \tikzstyle{line}=[-, thick]  \usepackage{luacode}  \begin{luacode*} function factorial(n)     if (n == 0) then         return 1     else         return n*factorial(n-1)     end end  function binom(n,k)     return factorial(n) / (factorial(n-k) * factorial(k)) end  function nbin(t)     res = 0     for k = 0, math.floor(t), 1 do         res = res + (binom(k+2,2) * 1/8 * (1/2)^k)     end     return res end  \end{luacode*}  \begin{document} \input{code.tex} \sloppy \end{document}  And the picture is in code.tex using \begin{tikzpicture}[  declare function={nbin(\t) = \directlua{nbin(\t)};}   ]   \begin{axis}[     use fpu=false,     height=8 cm,     width = 8 cm,     samples at={0,1,...,40},     ]     \addplot{nbin(x)};   \end{axis} \end{tikzpicture}  I'm kind of new to all that Tikz stuff, but I can't find solutions here :-/ This prints just a white box with 0, 0.2, ..., 1 at the axis and no errors. What's wrong here? I edited my question because it is running in the standalone environment but not in my setting.


Subject/Object Confusion in The Silmarillion

In Tolkein's "The Silmarillion", page 216 of the chapter "Of Túrin Turambar", the following is written:     "[...] this Wildman was the Mormegil of Nargothrond, whom rumour said   was the son of Húrin of Dor-lómin."   Ignoring the array of proper nouns, shouldn't the subclause read "WHO rumour said was the son [...]", as "who was" is the main verb and subject of the clause? Even when phrased differently, one would say "Rumour said HE was the son", not "Rumour said HIM was the son".   Can somebody shed some light on Tolkein's use of the object case here?   EDIT: This is a slightly different case than the similar question that was linked, as "Rumour said" seems to take a  more gramatically accusative tone, and are able to take an object, unlike "it is forseeable".


Call an IIS Web Service without the .asmx extension

I have written a .NET web Service that is to be consumed by a client outside of my control (my server is a simulator for a live server written in PHP).  The web service works as desired but the client does not have the ability to add the .asmx extension, or any extension for that matter, in their calls.  They basically use  while IIS expects .  Is there any way to make IIS respond to requests without the .asmx extension?


How to prevent a method caller from modifying a returned collection?

I have methods returning private collections to the caller and I want to prevent the caller from modifying the returned collections.  private readonly Foo[] foos;  public IEnumerable<Foo> GetFoos() {     return this.foos; }   At the moment the private collection is a fixed array, but in the future the collection might become a list if the need for adding new items at run time arises.  There are several solutions to prevent the caller from modifying the collection. Returning IEnumerable<T> is the simplest solution, but the caller can still up-cast the return value to IList<T> and modify the collection.  ((IList<Foo>)GetFoos())[0] = otherFoo;   Cloning the collections has the obvious disadvantage that there are two collections that can evolve independently. So far I have considered the following options.   Wrapping the collection in ReadOnlyCollection<T>. Returning one of the LINQ iterators defined by the Enumerable class by performing a dummy projection like list.Select(item => item). Actually I consider using Where(item => true) because the returned iterator seems more lightweight. Writing a custom wrapper.   What I don't like about using ReadOnlyCollection<T> is that it implements IList<T> and calling Add() or accessing the indexer will cause exceptions. While this is absolutly correct in theory, almost no real code checks IList<T>.IsReadOnly or IList<T>.IsFixedSize.  Using the LINQ iterators - I wrapped the code in an extension method MakeReadOnly() - prevents this scenario, but it has the taste of a hack.  Writing a custom wrapper? Reinventing the wheel?  Any thoughts, considerations, or other solutions?    While tagging this question, I discovered  I didn't notice before. Jon Skeet suggest to use the "LINQ hack", too, but even more efficient using Skip(0).


Why do you drive on a "parkway", and park on a "driveway"?

I've always been fascinated by these two words, as they seem to have the exact opposite meaning as expected. Is it because of the etymology? Or perhaps the meanings were switched at some point in time?


Obtaining posteriors for multivariate Normal mixture models

So I want to fit a mixture model  $$f(y) = \pi_1 f_1 (y) + \pi_2 f_2 (y)$$  where $\pi_k = P(S = k)$ and $S_i$ is a latent unobserved variable.  I assume that, conditional on $S=k$, we have the model  $$y_i = \mu_k + \beta_k x_i + \epsilon_i$$  where $\epsilon_i \sim N_p (0, \Sigma_k)$.  My goal is to estimate parameters $\mu_k, \beta_k, \Sigma_k, \pi_k$ for each $k$.    Firstly, As I understand it, under this model we have likelihood function  $$L(\theta |y) = \prod_i \left( \pi_1 \phi_{1,p} \left(y_i-\mu_1 -\beta_1 x_i\right) + (1-\pi_1) \phi_{2,p} \left(y_i-\mu_2 -\beta_2 x_i\right)     \right)$$  where $\phi_{k,p} \sim N_p(0, \Sigma_k)$.    Secondly, in order to obtain point estimates of the parameters in a Bayesian framework, I need to obtain a posterior sample from the posterior distribution  $$p(\mu, \beta, \Sigma, \pi | y)$$  But as this is difficult, an alternative would be to use Gibbs sampling with posteriors  $$p(\mu |  \beta, \Sigma, \pi , y)$$  $$p(\beta |  \mu, \Sigma, \pi , y)$$  $$p(\Sigma |  \mu, \beta, \pi , y)$$  $$p(\pi |  \mu, \Sigma, \beta , y)$$  What I don't understand, is how to get from the given model equation and likelihood function to those posteriors. Once I have those posteriors, I am confident I can impliment Gibbs sampling.  Since my likelihood is not multivariate normal, it is a mixture of multivariate normals, I am unsure how to proceed, as there are no conjugates listed on the Wikipedia page for mixture distributions. Any help/advice is much appreciated!


My ethernet device has strange name on Ubuntu, is this normal?  $ uname -a Linux calculon 4.4.0-93-generic #116-Ubuntu SMP Fri Aug 11 21:17:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux  $ ifconfig enp0s31f6 Link encap:Ethernet  HWaddr ...  ~$ ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000     link/ether 1c:1b:0d:ce:a7:84 brd ff:ff:ff:ff:ff:ff  $ lspci | egrep -i --color 'network|ethernet' 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V


I'm a beginner at QGIS and I'm having trouble aligning my shapefiles.  I have two datasets: one originally in WGS84 (lat/long) and another in Corrego Alegre/UTM zone 24S. I need to convert the second into WGS84 for my work, however if I go to Vector -> Data Management Tools -> Define Current Projection and choose to do so, I'm told this is an invalid coordinate system.  By going to Save as... I'm able to save a shapefile that seems to be in WGS84, but it is dislocated from the other polygons of my first dataset.  How can I get these files to align?? This is a screenshot of the mis-alignment, even though the novo-recifes-v2.shp (coral reefs) is set as WGS84, just like the continent (global_polygon.shp)


In my textbooks,  are defined as:   “Significant figures by definition are the reliable digits in a number that are known with certainty.”  “A significant figure is the one which is known to be reasonably reliable.”    Reliable means giving the same result on successive trials or reliable information can be trusted to be accurate. However, at the end of each of the two definitions it is also written that ‘the last digit of a number is generally considered uncertain in the absence of qualifying information.' For example if the mass of an object is 12.248 gm, the last digit which is ‘8’ is uncertain by plus or minus 0.001 gm. This uncertainty is unreliability in the information. So, the digit ‘8’ is uncertain, and thus according to the definition 1 it is not a significant figure. However, the rules for significant figures say that ‘non-zero digits are all significant’. Due to the last digit ‘8’, if the object was weighed with careful handling minimizing the chances of error, the figures preceding ‘8’ that are (1, 2, 2, 4) are certain and reliable. If the mass of another object is 2 gm, then it is uncertain by plus or minus 1 gm i.e. its mass could be 3 gm or could be 1 gm.  ‘2’ is therefore not certain! What is the reason that significant figures are defined to be the reliable digits in a number? In what sense they are said to be reliable?


Calculate flow rate of air through a pressurized hole

I was wondering about this:  If there is a pressurized container, like a tank of compressed air at some pressure that is greater than the ambient air pressure, and this tank of air has a hole in it, what is the velocity of the escaping air through the hole?  Is there a formula for this?


How do I get a Canon PIXMA iP3600 printer to work?

I have a printer Canon PIXMA iP3600. Following you steps this was installed without problems, but it doesn't print. The test page is sent to the printer and I can see it in the spool, but it never prints.   What can be wrong? I run Ubuntu x64.


Considering the Complex Least Squares Problem, one can write the cost function for estimating H (where Y = XH + Z) as:  Reference: Mimo-OFDM Wireless Communications with MATLAB book (page 190)  $J(\boldsymbol H) = ||\boldsymbol Y - \boldsymbol X \boldsymbol H ||^2 = (\boldsymbol Y - \boldsymbol X \boldsymbol H)^H(\boldsymbol Y - \boldsymbol X \boldsymbol H) = \boldsymbol Y^H \boldsymbol Y - \boldsymbol Y^H \boldsymbol X \boldsymbol H - \boldsymbol H^H \boldsymbol X^H \boldsymbol Y + \boldsymbol H^H \boldsymbol X^H \boldsymbol X \boldsymbol H$  Calculating the derivative of the above function with respect to H gives:  $\frac{\partial J( \boldsymbol H)}{\partial \boldsymbol H} = -2(\boldsymbol X^H \boldsymbol Y)^* + 2(\boldsymbol X^H \boldsymbol X \boldsymbol H)^*$  How do I get to the expression above? Do I need to use some properties? I am trying to do that deriving each term separately.


Where should a physicist go to learn chemistry?

I took an introductory chemistry course long ago, but the rules seemed arbitrary, and I've forgotten most of what I learned.  Now that I have an undergraduate education in physics, I should be able to use physics to learn general chemistry more effectively.  What resources, either books or on-line, are useful for physicists to learn the fundamentals of chemistry?  I'm not enrolled at a university, so official courses and labs aren't realistic.  Please note that I am not looking for books on specialized advanced topics, but a general introduction to chemistry that takes advantage of thermodynamics, statistical mechanics, and quantum mechanics while requiring little or no prior knowledge of chemistry.


Cycles: Generate 3d coordinates before modifier stack is resolved

Im trying to create a volumetric material that uses a 3d texture. I need this volumetric to be animated along a curve. Right now, I have the material using generated coordinates. But the 3d texture does not bend with the object. Is there a way I can have a 3d coordinate space that is calculated before the bend of the object? Or perhaps a way to bend my coordinates to match the geometry?  Repro Steps:  -Create a cylinder with multiple divisions down its length.  -Rotate the cylinder 90* on the Y axis  -Scale the cylinder to 1,1,4  -Create a curve and add a curve modifier to the cylinder using the created curve   -In cycles create a musgrave texture with Generated texture coordinates as the vector input  -Create a colour ramp to clamp the texture values  -Create an emmisive shader and plug the colour ramp into the color of the shader  -plug the shader into the volumetric output  -notice how the texture does not curve with the geometry


I have a script with the following code:  command_that_could_fail || (echo "command failed"; exit 1)   However, the exit seems to just be exiting from the sub-command formed by the second part of the line (in parentheses), not from the script itself. Any way that I can make it behave as desired, and exit from the outer script?


WD USB HDD not recognized: Elements 10B8

Any idea what could be the problem and how to solve it?  Details:   HDD:  (P/N: WDBU6Y0020BBK-05) When first connecting the device to my ThinkPad T420si (), a dialog appeared stating that Windows is attempting to install a driver. The driver installation, however, failed. According to Western Digital, there is no driver anyhow, and the HDD should work without driver. In the Device Manager, the drive is displayed with an exclamation mark as Other devices / Elements 10B8:   In Disk Management, it is not displayed:   I tried all three USB ports on the machine, two USB 2.0, and one USB 3.0, all without success. Other USB HDDs work fine. When the HDD is connected, the status LED is shining, and the case vibrates, i.e. it appears to be running. An old ThinkPad T43 with Windows XP does detect the HDD. I called WD support. The support technician didn't know about this particular problem. He recommended that I reinstall the USB drivers of the machine, which I did. First, I uninstalled the driver for Elements 10B8, then uninstalled the drivers for the three USB controllers listed in Device Manager:    After restarting the machine, I installed the  available from Lenovo, then connected the WD HDD to the USB 3.0 port. Again I got a message about a failed HDD driver installation, and now everything is like before. Properties according to :


How can I prove that $27\leq \left( x^{2}+2\right) \left( y^{2}+2\right) \left( z^{2}+2\right) \leq 44,\ x+y+z=3$

If $x,y,z\in [0,\infty )$ such that $x+y+z=3$ prove that $27\leq \left( x^{2}+2\right) \left( y^{2}+2\right) \left( z^{2}+2\right) \leq 44$. I tried to use the relation $x^{2}+2\leq x^{2}+3x+2,x\geq 0$, but without success.


I'd like to cut a mesh by giving two points (in order to form a line). For example, I would be able to easily cut the mesh in the picture below (which is an arch) instead of roughly bringing each vertex to the hypothetical diagonal line.    Am I missing the tool or are there similar ways to achieve the same result?


I wish to show a calculation and update a table to help keep track of things. I use siunitx and booktabs in my beamer presentation. I want to have the numbers in the table aligned on the decimal point, which I can do no problem. However, I want to uncover data in the table as I go along. There seems to be a problem with using siunitx.  MWE showing static table...  \documentclass{beamer} \usepackage{siunitx} \usepackage{booktabs} \usepackage{chemmacros}  \begin{document}  \begin{frame}{}  \begin{exampleblock}{Step 6 --- What is the Empirical formula?} Get smallest whole number ratio of moles \begin{table}[htbp] \centering \begin{tabular}{lS[table-format=3.2]S[table-format=3.2]S[table-format=3.2]S[table-format=3.2]} \toprule             &{C}        &{H}            &{O}    & {Totals}\\ \midrule moles (\num{d-4})   &1.417  & 4.25      &0  &0\\ ratio ($\div $ 1.417)   & 1 &2.99       &0  &0  \\  \bottomrule \end{tabular} \end{table}  Empirical Formula is \ch{CH3} \end{exampleblock}  \end{frame} \end{document}   Now if I try to uncover the values in the table...  MWE...  \documentclass{beamer} \usepackage{siunitx} \usepackage{booktabs} \usepackage{chemmacros}  \begin{document}  \begin{frame}{}  \begin{exampleblock}{Step 6 --- What is the Empirical formula?} Get smallest whole number ratio of moles \onslide<2->{\begin{table}[htbp] \centering \begin{tabular}{lS[table-format=3.2]S[table-format=3.2]S[table-format=3.2]S[table-format=3.2]} \toprule             &{C}        &{H}            &{O}    & {Totals}\\ \midrule \onslide<3->{moles (\num{d-4})} & {\onslide<3->{1.417}} &  {\onslide<3->{4.25}}     & {\onslide<3->{0}} & {\onslide<3->{0}}\\ {\onslide<4->{ratio ($\div $ 1.417)}}   & {\onslide<5->{1}  }& {\onslide<5->{2.99}}     &{\onslide<3->{0}}  &{\onslide<3->{0}}  \\  \bottomrule \end{tabular} \end{table} } \onslide<6->{Empirical Formula is \ch{CH3}} \end{exampleblock}  \end{frame} \end{document}   I lose the alignment on the decimal point as enclosing the \onslide<+->{...} in { and } treats the value as text and does not align it. If I do not enclose in parentheses I get an error saying too many $'s or extra}  Now I'm not too bothered about the alignment but if it could be done I would be grateful. I doubt the students would see the misalignment (probably querying why they decided to study chemistry...;>)


padding works only after applying overflow hidden

Just a simple issue, one element has to be center horizontally. So, margin:0px auto has been applied. It was centered but other rule to this element doesn't work properly. For example If top-bottom padding is applied,  bottom padding doesn't show any changes. I set height auto, doesn't work. But when I add overflow:hidden, it works. I think adding overflow:hidden isn't best idea in here. To my knowledge, overflow:hidden is used and has to be work in that condition, where element height is less than content and to hide rest of content which cannot be covered within height.

           This is date Section               This is lang Section

          This is date Section               This is lang Section


FIles produced by compiling LaTeX source code

Every time I compile a source code of LaTeX there are a lot of files produced except the .tex file and the .pdf (obviously!). I can guess that they are really useful to some people and obviously to the program creating the final pdf file, but they are not useful to the users. So my question is if there is any way to make them either stop being created at the end or just delete themselves, as the folder in which I create my projects is vastly populated with files I don't need.  Also I really didn't know what tag to place in this post (and I don't know if the one I chose is the right one), so please edit the post with the right tags!


I'm working on a classification problem and I have a very high F1 baseline of 85%. I have trained three classification models and I want to know which one is the best. How can I do so?   I tried two ways:   To compare each model against the baseline using paired t-test. So I have tests like:    baseline vs. model 1 baseline vs. model 2 baseline vs. model 3   That tells me that only model 1 is significantly higher than the baseline and so I concluded that model 1 is the best. Is this a valid methodology given that usually classification models are compared against baselines?  To compare all models in one fell swoop with one-way ANOVA. So I entered the information of models 1-3 and the baseline which gave me a p-value of 0.02 indicating that there is a difference in means. Yet, with pairwise post-hoc tests, there is no significance between any of the pairs.   Which method is the correct one?


The following terminal command will print the output of any other command in a slow fashion.  <any command> | awk '{system("sleep .2");print}'   I often like to use this and I want to create an alias in ~/.bashrc. However I'm not able to bind it. Any combination of nested apostrophes gives me syntax errors. I'm wondering why this is happening.  Last try was:  alias slowprint="| awk '{system("sleep .2");print}'"


Show that the sequence $\{a_n\}_{n\in \mathbb{N}} = \{x: x=$ the nth decimal digit of Champernowne's constant$\}$ is not periodic.  For those who don't know what Champernowne's constant is, it's the following number:  $C_{10} = 0.123456789101112131415161718192021...$  Well, before someone says that $\{a_n\}_{n\in \mathbb{N}}$ is definitely aperiodic because Champernowne's constant is irrational(and even transcendental), I have to say that I'm well aware of the fact that a number is rational if and only if the sequence of its digits is periodic, but I'm looking for another proof that the sequence of the digits of $C_{10}$ is aperiodic that doesn't use anything but a smart way of showing that $a_{n+k} = a_n$ can't hold for any $k\in \mathbb{N}$.  I've observed that by grouping the terms of a sequence in a clever way we can show that no such $k$ can exist for some sequences. For example I created the following sequence:  $1,0,0,1,1,1,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,1,1,\cdots$  The sequence is created this way: First you put one $1$, then two $0$'s, and in the nth step you add either $1$'s or $0$'s n times depending on whether n is odd or even respectively.   It's easy to show this sequence is not periodic, because no matter how large $k$ is you can always find $n$ such that $a_n = 1$ but $a_{n+k}=0$ or $a_n=0$ but $a_{n+k}=1$. That proves the sequence is not periodic and as a corollary it' proved that the real number $0.1001110000111110000001111111\cdots$ is irrational.  After showing that I've been trying to apply this technique of grouping to the sequence in problem without much success so far.  I think if the periodicity of a sequence $\{a_n\}$ is denoted by $\Omega(\{a_n\})$ then if we define a new sequence $\bar{a}_m(n) := \bar{a}_{m,n} = [a_n]_m$ then $\Omega(\{\bar{a}_{m,n}\}) \mid \Omega({a_n})$. This shouldn't be very hard to prove  I think.  Now, to show that   $1,2,3,4,5,6,7,8,9,1,0,1,1,1,2,1,3,1,4,1,5,1,6,1,7,1,8,1,9,2,0,2,1,\cdots$  is not periodic it's sufficient to prove that the sequence   $1,0,1,0,1,0,1,0,1,1,0,1,1,1,0,1,0,1,0,1,\cdots$  is not periodic. But I haven't progressed much from here  :/


showing $\arctan(\frac{2}{3}) = \frac{1}{2} \arctan(\frac{12}{5})$

I'm having problem with showing that: $$\arctan(\frac{2}{3}) = \frac{1}{2} \arctan(\frac{12}{5})$$  I would need some help in the right direction


My solution for this function is let 0 map to 1/2, 1 to 1/3, and then for any other values map them to that value + 1/2. Is this the correct solution for this mapping?


Why does the Related question list not always show up?

I've been noticing quite often lately that the list of Related questions to the right of the screen doesn't always show up, or it takes a while (say, fifteen minutes or more) to do so.  that (at the moment) has no Related list showing up for me, even though the question is over 5 hours old.  Is the appearance of the Related list a function of the posts views? Or could it be that questions which are not adequately tagged (like the example above with only a [matlab] tag) are hard to create a Related list for?  EDIT:  ...and now a Related list just appeared for the sample question I linked to above. I feel a potential [status-norepro] in my future. But it wasn't there before, I swear! The one-armed man must have done it!


When does the error "java.net.SocketException: Connection reset." appear?

I'm not a native english speaker and I'm asking this question for me to finish my Computer Science Instrumental English homework.


Show, with the help of Fermat’s little theorem, that if $n$ is a positive integer, then $42$ divides $n^{7} − n$.  I don't really know how to show Fermat is about primes. I have a slightly idea about numbers $42-1$ and $7$, but no idea what to do with it. This is my exam practice question that prof. gave to me with no answer provided.


Will there be object slicing in this case?

given the next code:    class A {       // ... };  class B : public A {       // ... };   And:   A a;    B b;     A& ab = b;    ab = a;    Will be a slicing in the last line of this code? Why?


Round trip tickets much cheaper than one ways, considering purposely missing layover?

Round trip tickets seem much cheaper than setting up multicity one way in and one way out from a different city...  It is looking like it is cheaper to buy round trip tickets going to/from my final exit city, then bail out onto another plane on the layover in the same country, much closer to the first city I want to go to, then end up in my exit city, taking the exit flight out.  Has anyone done this before?  Would having a flight arranged in the layover city attract any unwanted attention?  Edit:  I want to enter Beijing and leave out of Hong Kong.  It looks cheaper to round trip it to Hong Kong and bail out in Shanghai on the layover.  Both tickets would be used, this is not a duplicate as suggested.  I just didn't want to finish the entire first leg of the journey.   Since the return flight would be canceled as in the answer I guess it won't work.


You used to be able to hide the dotted lines of a Parent Relationship by going to the Display tab and disabling the checkbox of "Relationship Lines". That option cannot be found there anymore. Where is it now?


I am currently an Erasmus student in Portugal. In my passport I have 2 visas one of them D type from Portugal and other one is schengen from Germany. I will stay in Portugal 6 months but my D type visa ends before my return. After my D type visa expires, is it possible for me to use my 90 days with the visa from Germany without leaving and coming back the EU zone?


Is it possible to save free windows 10 upgrade to harddisc, and upgrade in the fufure?

I've got windows 7 on my laptop, and I can do the free upgrade to windows 10. All system requirements are OK. I don't really want to do the upgrade, because I like my current Windows 7. But I know in the (near) future, I will get problems, because windows 7 will get outdated. And then I want to upgrade to windows 10. It's really annoying that the free upgrade offer ends at July 29. So there's not much time left to decide.  I searched a lot on Google, and I came to the conclusion that it's possible to save the upgrade to a medium like an USB stick. But is it also possible to save it directly to my laptop's harddisc? It says if you use an USB stick, 4 GB space must be available. So it would looks very handy to me to save the upgrade to my harddisc and later do the upgrade.  I read this question ans answers:  If I understand correctly: You can download a tool from the microsoft site. That tool can create an ISO file of your upgrade. You save the file and then you can upgrade (offline) whenever you want. Also when July 29 has passed, you can still use the ISO to upgrade (because that's just the point)


Remove the image style from node--type.tpl.php

Is there a way from a node--'type'.tpl.php template to remove the image style of an image field?


Which book should I follow to get basic understanding of Black Holes?

I have done some books on GTR like by Sean Carroll's Spacetime and Geometry, read a little bit from Kip Thorne's Gravitation, and also did Short course on General Relativity. But I didn't understand much. The problem is not mathematics but notation and line of reasoning, like I don't understand why did we use tortoise coordinate in Schwarzschild solution to explain black holes I mean what were the hints that were asking us to use tortoise coordinate. And if I am working on some problem on GTR in future how would I know that which coordinate transformation would be better and how many sort of coordinate transformation are there. I just want some or more books to understand how Physicist did solve Einstein field equation.


Replace a long string with the sed command: Argument list too long error

I'm trying to execute this command  sed -i -e "s/BASE_64/$BASE_64/" FILE_NAME   where $BASE_64 is a base 64 representation of a file content.  sed gives me an error since the string is too long.     Argument list too long   How is it possible to avoid this error?


How to add custom C++ keywords to be recognized by Minted?

I have defined several structures and types in a C++ project. I have to write some documentation for this code, and I use  to typeset my code.   I would like to be able to add some keywords to the minted database, so minted will also recognize these and give them the appropriate color. (I would like to have them colored in the same way a type, eg. double would be colored.)


Question from HNQ widget on Android doesn't load, showing last viewed question instead

I have found myself in an uncomfortable situation after clicking the Hot Network Question widget.   I click the widget, it opens Stack Exchange app and doesn't refresh. That causes me seeing the question I haven been reading a while ago. Fact is that I haven't killed the app since using it last time.   Is there any known workaround to prevent this bug occurring every time I want to read a question opened from a widget? Killing the app/deleting data every time is not a convenient option.   It happens on all Android devices, so device specs aren't relevant, I guess.   Edit: it isn't reproducible 100% of the time. Sometimes it works.


I was amazed to learn that we can use Imaginary unit iota into physical quantities like time and Temperature but how exactly?  The explanation was not something I would say stellar so I am hoping can anyone explain Imaginary Time and Temperature and other Imaginary physical quantities wrt quantum mechanics and what is wick's rotation?


We all know that a simple statement such as:  SELECT * FROM stuff;   should not produce an ordered result. However, when I try to demonstrate this, it always comes out in primary key order.  Moreover a statement such as:  SELECT thing,whatever FROM stuff GROUP BY thing,whatever;   always appears to sort thing by the last field in the GROUP BY clause, which is not at all helpful.  The question is, under what circumstances does SQL SERVER order the result even if unasked, and what can I do to stop this?  I am trying to demonstrate to my students that order is indeterminate unless specified, but this is not helping my case.  I admit that I am working with a small set of sample data.  Thanks


Making Processes inside C# to run as administrator

I made an app that removes virus shortcuts using attrib command in CMD, and I need administrator rights so I can make the command.   Currently I'm not able to do that neither by whole program nor the Process itself. Here's a piece of code that needs UAC:  private void Button2_Click(object sender, EventArgs e) {     string Disktype = null;     Disktype = ListBox1.GetItemText(ListBox1.SelectedItem); ;     if (Disktype.Contains("C:") == true)     {         MessageBox.Show("You selected C:");     }     else     {         String Message = "Cleaning" + Disk.Diskvolume + "Are you Sure?";         String Title = "Cleaning now";         MessageBoxButtons buttons = MessageBoxButtons.YesNo;         DialogResult result = MessageBox.Show(Message, Title, buttons);         if (result == DialogResult.Yes)         {             String ShowFiles = "attrib -h -r -s /s /d" + Disktype + "*.*";             String RemoveVirus = "del" + Disktype + "*.lnk";             System.Diagnostics.Process.Start("CMD.exe", ShowFiles);             System.Diagnostics.Process.Start("CMD.exe", RemoveVirus);             MessageBox.Show("Cleaning");             System.Diagnostics.Process.Start(Disktype);             Close();         }         else         {             MessageBox.Show("Cleaning done");             Close();         }     }    As you can see,  I made ShowFiles and RemoveVirus directly to the cmd, but I'm having trouble as to how make them run as administrator.  Do I need it for the whole C# application or just the Process.Start ones?


"I've got more to do than wait" or "I've got more to do than **to** wait"?

I did some reading in other places online about using the bare infinitive after the word "than," and while in a lot of cases it seems correct, I'm having a hard time telling whether it's correct in this particular case. Are both of the following valid?   1.) "I've got more to do than wait." 2.) "I've got more to do than to wait."   I also noticed that it seems like the first one sounds better if there's something after the word "wait":   3.) "I've got more to do than wait around for you."   Is this any more valid than the first sentence with the bare infinitive after "than"?


Can a Sorcerer use Flexible Casting to create more spell slots than is listed on the Sorcerer table?

A Sorcerer can create spell slots by expending sorcery points with the Flexible Casting feature.  In the rules, is there any point where it states that you can't have more spell slots than what the table shows?   One method that could potentially allow them to gain more slots than the table lists is by using a particular . The core being that they can take short rests over and over again and, using flexible casting, turn warlock slots into sorcery points and then into normal slots.  Is this supported by the rules?   Does the Sorcerer table show the maximum slots that a sorcerer can have or could they go above that?   Can the Sorcerer create spell slots in levels they don't currently have?


Install Ubuntu Touch 14.10 on Samsung Galaxy S2 I9100

como estan? mi consulta es la siguiente, quisiera saber si es posible instalar Ubuntu Touch 14.10 en un Samsung Galaxy S2 I9100.  Muchas gracias!  Hi! how are you? My question is this, I wonder if it is possible to install Ubuntu 14.10 on a Touch Samsung Galaxy S2 I9100.  Thank you very much!


If $X,Y,Z$ are PAIRWISE independent (i.e. only $X,Y$ and $Y,Z$ and $X,Z$ are) , does this imply that $X$ and $(Y,Z)$ are independent?

This question came to my mind when I was reading a theorem on Poisson Processes stating that the sum of two independent Poisson processes, $X_t$ and $Y_t$ is a Poisson process. In the proof, one has to show that $X_t + Y_t$ has independent increments, and in order to prove this one must show the question I posed. Is it true? Are there any counterexamples?


Story about a man who thinks he sees a face on a piece of trash while driving to work

I'm looking for a short story about a man who thinks he sees a face on a piece of trash while driving to work.I think it looked like a bag or a piece of cardboard blown about by the wind.Seems like it "blew" onto a piece of roadkill and ate it. He thinks he imagined it, but keeps thinking about it. He goes back to the intersection where he first saw it and it causes him to have an accident.It ended up being some type of creature that hunted by pretending it was garbage.   I can't remember if it was in a magazine or an anthology, but I first read it about 20-25 years ago. I keep thinking it was by Harlan Ellison, but I'm in no way positive about that. It may just be that I read it around the same time I first read Ellison.


How do I show that $0.101001000100001000001...$ is irrational? How do I generalize this to decimal expansions of a similar type, i.e. what is a criterion for decimal expansions with $0$'s and $1$'s involving long gaps of zeros and which guarantees irrationality?


Finding irreducible elements of the ring of entire functions

What are the irreducible elements of the ring of entire functions ? I cannot find these. please anybody help.


Thanks in advance for the replies. I own a montra trance pro hybrid cycle. The current tyre size is 700 X 35 c. Can someone suggest if I can put slimmer tyres and if yes what size can I put? Regards Jithu


This is my first time posting on this site so please forgive me if I do something wrong here. I want to try to show that the quotient ring $$\frac{F[x,y,z]}{ \langle xz - (y^2 -1) \rangle}$$ is equal to the intersection of the two polynomial rings $F(x)[y]$ and $F(z)[y]$ where $F$ is some field. In other words, I want to show $$\frac{F[x,y,z]}{ \langle xz - (y^2 -1) \rangle} = F(x)[y] \cap F(z)[y].$$ In $F$. The problem is, I am having a hard time coming up with a reason as to why they are equal in $F$. If anyone could help me, id be greatful.


Differential topology versus differential geometry

I have just finished my undergraduate studies. During last two semesters I've taken two subjects dealing with manifolds:   Analysis on manifolds, containing: definition of manifold, tangent space (as derivations and classes of curves), vector fields, vector bundles, flows, Lie derivatives, integration on manifolds (Stokes theorem), forms, Hodge decomposition theorem Introduction to differential geometry (for me it should be called introduction to Riemannian manifolds) containing: tensor calculus introduction, Riemannian manifold definition, connections, curvatures, geodesic, normal coordinates, geodesic completness theorem, classification throught curvature, jacobi fields, harmonic maps.    Now, for me differential geometry was/is a theory about manifolds, so anything dealing with manifolds is branch of differential geometry. On the other hand I am preparing for taking part in local conference called: "algebraic and differential topology".  I have read: ,  ,  , yet I still don't really know if differential topology is subtheory of differential geometry or is it seperate theory and how is it located between differential geometry and algebraic topology. For example I expect that studies on Riemmanian manifolds are part of differential geometry but would problem of classification manifolds up to diffeomorphism be a part of differential topology or geometry ?  Request: I would be grateful for your characterisation of differential topology and differential geometry possibly with examples of problems, theorems present at them.


How can the Next Generation's unfamiliarity with the Borg be explained after Archer's encounter?

In  Starfleet learns about a culture that we (as audience) know as The Borg. According to TNG, the Federation doesn't seem to know anything about these beings when . Although Archer's crew doesn't learn the name of the Borg, it would be reasonable that the Federation would inherit the information about such a menacing enemy and it would also be reasonable to assume the crew of the Enterprise-D to be able to match their encounter with their databases' information.  Obviously, out-of-universe the explanation is that the scripts weren't written in chronological order, but how can the apparent obliviousness about the Borg be explained in-universe?


k of n aides to n ministers leak information; ministers only know whether other ministers' aides leaked (not their own)

I know the relationships between the ministers in the below problem can be represented by a $K_n$ graph since each one of the n ministers has connections to the n-1 other ministers/ministries they represent. However, I can't seem to figure out where to go next. Here is the problem:  In a certain government there are n cabinet ministers. Each of these has a senior aide. Exactly k of these n aides leak important information to the press. None of the ministers know whether their own aide leaks information or not. However,because of interdepartmental rivalries, every minister has many sources in the other ministries, and thus is aware of all the leaks outside of her ministry. There is an unspoken law in this government that as soon as any minister has irrefutable proof that their aide leaked information, they must re the aide at their first press conference. Every ministry has one press conference per day at exactly 8:00 A.M. For a long time no one is fired, because no minister is aware of the leaks, if any, made by their own aide. One afternoon a newspaper runs a story, and announces that news are leaked by some of the top aides. Exactly k days later, all the guilty aides are fired. What happened?


What are the number of possible partitions of a set containing n elements?

This question rises immediately if we try to enumerate the number of possible equivalence relations on a set with n elements.


python 2 dimensions list values changed in strange way

I created a 2 d list with specified dimensions. Then I put numbers one by one into list cell. The values were correct in loop,but the list can not print correctly after loop. Someone can explain why? The code is here:   dist_list = [[1,5,9,40,8],[95,77,34,50,60]] rows = 2 ##len(dist_list)  cols = len(dist_list[1])  sort_list = [[0]*cols]*rows tempo = sorted(dist_list[1]) for i in range(cols):     index = dist_list[1].index(tempo[i])     sort_list[0][i] = dist_list[0][index]     print (sort_list[0][i]) ## values are correct     sort_list[1][i] = dist_list[1][index]     print (sort_list[0][i]) ## values are correct print(dist_list) print(sort_list[0]) # problem is here. changed strangely print(sort_list[1])   what I print like this:


Are all Linux applications run over shell?

For example when i run gui text editor and input simple text. Is this the way to have the hardware done this; gui text editor > shell > kernel? The main question I want to ask is when we perform any operation on the system, this process  always transferred over the shell to the kernel ? What confused me was the diagram below.  According to this diagram, whether the user uses a shell directly or runs any tool, all processes always seem to transfer over the shell to the kernel. Or is the shell just a tool, just like other tools? So the shell's task is to give commands and manage the system? The sharpest question is, can the linux system and other tools in it, especially gui-based tools, continue to be used without shell? What exactly is the shell and what importance in the linux system?


why shift int a=1 to left 31 bits then to right 31 bits, it becomes -1

given   int a = 1; (00000000000000000000000000000001),   what I did is just   a=(a<<31)>>31;   I assume a should still be 1 after this statement (nothing changed I think). However, it turns out to be -1 (11111111111111111111111111111111). Anyone knows why?


What's the difference between Author or Writer?

What's the difference, if any, between the noun author and writer


I'm using a MacOS. I tried to enter this environment variable inside my .bash_profile:  export CLOUD_PASSWORD=Pass4Aa$ditya  But when I do source .bash_profile and try echo $CLOUD_PASSWORD, I get this as output:  Pass4Aa  Anything after that $ sign is getting ignored. Even when I tried adding quotes like: export CLOUD_PASSWORD="Pass4Aa$ditya"  and did source later, it is still showing the same as before. How do I create environment variables with Special Characters like $ and @ present in the value?


Closing app via keyboard shortcut — should there be a confirmation dialogue?

There are many ways to close apps: mouse-and-click on an 'x' somewhere, choose "Quit" as a menu option, keyboard shortcuts (ctrl-w, cmd-q, alt-f4 etc.)  I notice some apps I use ask me "Are you sure you want to exit?" when I try to close them.  What are the UX guidelines as to when there should be an "Are you sure you want to exit?" confirmation dialogue?


I'm trying to integrate a cutom dropdown in my panel that allows to change between different display types for the created proxy objects.  The script runs without error but the dropdown is not shown in the panel. Also, I get this message in the console pointing to a certain line but I can't figure out what's the problem.  D:\XXXXXXX\XXXXXXXX\XXXXXXXXXX\scripting 2_8 wip.blend\Create Proxy Tools:326 rna_uiItemR: property not found: PROPS_UL_ProxyToolDisplayTypes.DisplayType_List   Edit: Here's a .blend with the script


How do I set up a shipping condition that accesses the value of a specific field in product?

I have a term reference field in product called "Weight" with values "Light", "Medium" & "heavy". I am using flat rate shipping service and trying to check the value of "Weight" field in Calculation rules.I know that I need to expose it by using "entity has field" but I end up having  commerce-line-item:order:commerce-line-items:0 commerce-line-item:order:commerce-line-items:1 commerce-line-item:order:commerce-line-items:2 commerce-line-item:order:commerce-line-items:3 commerce-line-item:order:commerce-line-items:0... commerce-line-item:order:commerce-line-items:1... commerce-line-item:order:commerce-line-items:2... commerce-line-item:order:commerce-line-items:3...    I was able to get to the weight field by using any of them and then did a Data Comparison  commerce-line-item:order:commerce-line-items:0:commerce-product:field-product-weight   this condition worked ok first time but not after that. can anyone please help me on this or if you think of another solution please let me know. Thanks


How can I change the position of mob limbs?

I'm in need of changing the position of the Enderman's legs when it is in the sitting pose. I have tried searching the files but I couldn't find them so asking here.


Determine if this series converges or diverges

$$\sum_{n=1}^\infty \sin^{[n]}(1)$$ Where by $\sin^{[n]}(1)$ we mean $ \sin\left(\sin\left(\dots\sin(1)\right)\right)$ composed $n$ times.   Have tried the divergence test, which fails.  Have tried Ratio test, also fails, as the limit is 1.  Integral test, or root test do not seem promising. Help is appreciated


Evaluate limit integrate: $\lim_{n \rightarrow +\infty}{\int_{0}^{\frac {\pi}{2}} \sin^{n} x dx}$

I know, when n is even, $$\int_{0}^{\frac {\pi}{2}} \sin^{n} x dx = \frac {(2m-1)!!}{(2m)!!}\frac {\pi}{2} $$ and n is odd, $$\int_{0}^{\frac {\pi}{2}} \sin^{n} x dx = \frac {(2m)!!}{(2m+1)!!} $$ But when let limit n to infinite, how can I get the limit, or if the limit exists. -- I find a good way to solve the limit:$$\lim_{x \to +\infty} \frac{(2n-1)!!}{(2n)!!} $$ as we know, $2 =\frac{1+3}{2} > \sqrt{1 \cdot 3}$ , so $2n = \frac{(2n-1)+(2n+1)}{2} > \sqrt{(2n-1)(2n+1)}$ so, $$\lim_{x \to +\infty} \frac{(2n-1)!!}{(2n)!!} = \frac{\sqrt{1 \cdot 3}\cdots \sqrt{(2n-3)(2n-1)}\sqrt{2n-1}}{\sqrt{1\cdot 3} \cdots \sqrt{(2n-3)(2n-1)} \sqrt{(2n-1)(2n+1)}} = \frac{1}{\sqrt{2n+1}} \to 0 (n \to \infty)$$


How can I get my defrosted pizza dough to transfer from peel to oven?

My defrosted dough hard to handle once I put stuff on it. I make a horrible mess getting onto the pizza stone. I wind up with at least part of the pizza dough folded over on itself. I never used to have quite so much trouble. I was using a wooden pizza peel; I just tried a metal one for the first time and still have the same problems. what am I doing wrong


How can I find which process is eating my memory?

My Linux system sometimes reaches 90% memory usage.    We are running some Java processes, and top shows overall usage as 45%.  If I stop the running processes, usage reduces to 5-10%. I want to list out which process is consuming so much memory, ideally as a table of process ids next to their memory usage.  How can I do that?


How can I color/highlight the diagonal of a matrix

I have a table such as the one below  \begin{tiny}\begin{tabular}{|l|c|c|c|} \hline &\textbf{ciao}&\textbf{ciao2}&\textbf{ciao3}\\\hline \textbf{ciao}&0.815&0.913&0.278\\\hline \textbf{ciao2}&0.906&0.632&0.547\\\hline \textbf{ciao3}&0.127&0.098&0.958\\\hline \end{tabular} \end{tiny}   How can I highlight the diagonal, the first row and the first column with different colours?


Borel functions and continuous functions

Suppose we have a set $A\subset\mathbb {R}$ and let $f\in\mathcal{B}(A)$ and $g\in\mathcal{B}_b(A)$ (Borel function on $A$ and bounded Borel function on $A$, resp.) Is it possible to approximate $f$ and/or $g$ by continuous functions on $A$ in a certain sense (pointwise, uniform, etc.)? So yes, how to prove that, or what are the references? So no, what is a counterexample?  Thanks a lot.


Boot Windows from an external usb drive whithout using the EFI partition on the Mac

I followed  to install Windows 10 on an external USB drive. It all works great. The way to allow the Mac to boot is as follows(this is done inside the command line when booting from the Windows installer USB):  To make your installation bootable, enter bcdboot W:\Windows /l en-us /s Z: /f UEFI. This will create the boot files in your EFI partition.  From what I understand, the Mac has a partition where UEFI systems can boot and in this particular case boots Windows from that partition and then control is passed to whatever is located on the external drive. I became aware of this . I would like to be able to boot this Windows installation from other Macs without running the bcdboot command as that would imply booting the Windows installer and running cumbersome operations. I also know that a USB stick can boot the system (this is what macOS installer and Windows installed do). So... my question is this: Can you create a USB stick that boots up the system and passes control to my USB drive with Windows installed on it? Or maybe change the Windows USB drive to allow it to boot? I don't understand the whole booting process but my guess would be that a bootloader could be installed on a USB stick and that would allow me to boot Windows.


Comparing two differently initialized objects doesn't seem to work using .equals()

My problem: I have 2 objects and want to use an overloaded .equals() to compare the name and color attribute of the two objects being compared and if they are the same, it will return true.  I have two objects. car1 and car2  GameCar car1 = new GameCar ("MyBuddy", "Red", 19); GameCar car2 = new GameCar();   The GameCar class has 3 private member variables:  private String name; private String color; private int position;   Here are the two constructors for GameCar -  GameCar() {     name = null;     color = null;     position = 0; }  GameCar(String n, String c, int p) {     name = n;     color = c;     position = p; }   In order for car2 to get its information, I have this:  car2.getCarInfo();   Definition of getCarInfo() -  public void getCarInfo() {     Scanner keyboard = new Scanner(System.in);     System.out.print("Enter the car name: ");     name = keyboard.next();     System.out.print("Enter the color: ");     color = keyboard.next();     System.out.print("Enter the starting position: ");     position =  keyboard.nextInt(); }   And now here's the equals() overloaded function -  public boolean equals(GameCar car) {     if (name == car.name) return true;     return false; }   Here is where I'm using the equals() -  System.out.println("Same cars? " + car1.equals(car2));   For some reason, the equals() function, even if I set the car2.name and car1.name to be exactly the same prior to going into the equals(), it still returns false.  However--- If I set name="something" and car.name="something" in the overloaded equals(), then it will work.


How to support both short and long options at the same time in bash?

I want to support both short and  long options in bash scripts, so one can:   $ foo -ax --long-key val -b -y SOME FILE NAMES   is it possible?


I want to make it so I always have 50 entities in an area. So when 1 dies/despawns/leaves the area I want it to detect that and summon in a new entity, and yes I do want them to die/despawn/leave the area so preventing those things is not an option.


How can I most efficiently batch resize images on a Mac?

I've been batch-resizing images through Preview (OS X) through the menu bar, but I want a simpler workflow, since I do this a dozen times a day.  What I want:   Select a group of image files in finder Hit a button or two (menu item or keyboard shortcut) to do the following:   Scale all the pictures to 600 pixels wide Save as JPG files at 75% quality    What I also want:   All of the above, plus step a(1): Crop images to 200 pixel height   I can do all that manually, to a batch of files, through Preview. I can do it one at a time with some keyboard shortcuts in Photoshop or Pixelmator.  Automator (using Preview) can scale to 600 pixels on the longest dimension, but it doesn't let me specify width. (It can scale specifically to width before cropping height.) It can change to JPG, but it can't specify image quality. I also can't assign a keyboard shortcut to the whole process.  Is that my best option on a Mac? Can I accomplish this more efficiently through another app like Quicksilver?


StandardSetController.getListViewOptions() only returning "All"

I have a VF page tied to a controller which utilizes "StandardSetController" to retrieve the list of views created. The problem is whenever I am trying to get those list views using getListViewOptions() on runtime, it only returns one list view which is "All". When executed independently (through console), the same code works just as expected.  Here is some snippet of my code:  VF page  <apex:selectList value="{!filterId}" size="1"> <apex:actionSupport event="onchange"     rerender="mpb,commandLinksPagination" action="{!resetFilter}"     status="idStatus" /> <apex:selectOptions value="{!listViewOptions}" />     Controller  public ApexPages.StandardSetController con {     get {          if(con == null) {             List<EUR_CRM_Account__c> accList = new List<EUR_CRM_Account__c>();              con = new ApexPages.StandardSetController(Database.getQueryLocator(                 'select name, EUR_CRM_Group_Outlet_Type__c, EUR_CRM_Outlet_Type__c,EUR_CRM_Outlet_Type__r.EUR_CRM_name__c,  EUR_CRM_City__c ,EUR_CRM_Image_Level_Name__c ,EUR_CRM_Group_Outlet_Type_Name__c ' +                 ', EUR_CRM_No_of_Active_Contracts__c, ownerid, owner.name, recordTypeId, EUR_CRM_Company_Establishment__c '  +                  'from EUR_CRM_Account__c LIMIT 1'             ));                               System.debug(con.getListViewOptions()); // "All" is printed              if(filterId != null) {                  this.con.setPageSize(pSize);                 con.setFilterId(filterId);                 this.euAccounts = null;                 this.selectedAccounts = new Set<Id>();             }         }          return con;     }     set; }  public SelectOption[] getListViewOptions() {     List<SelectOption> selOpList = new List<SelectOption>();     selOpList.add(new SelectOption('', '--None--'));     selOpList.addAll(con.getListViewOptions());      return selOpList; }   Any feedback/guidance is much appreciated!


Given $G$, $H$, $G'$, and $H'$ are cyclic groups of orders $m$, $n$, $m'$, and $n'$ respectively.   If $G*H$ is isomorphic to $G'* H'$, I would like to show that either $m = m'$ and $n = n'$ or else $m = n'$ and $n = m'$ holds. Where * denotes the free product.  My approach:  $G*H$ has an element of order $n$, thus $G' * H'$ has one too.  But already the next step is not clear to me, should I show that there is an element of length $> 1$ which has infinite order or what would be the right approach here?  Thank you.


Why votes on some answers don't increase reputation?

For some answers the reputation doesn't seem to be counted correctly. Even when the answer get a lot of upvotes it doesn't affect the reputation in any way. Here is an example: In  I have  with 28 points for which I've already got  but  is still 101 (100 is just the account Association Bonus) and on  I see:  You have no recent positive reputation changes  I have not noticed such a problem on any other of , only on Math. I tried to find a solution but I haven't found any question or answer about similar problems. How can I solve this problem so the reputation is counted correctly? Is this a matter of my account configuration or is it an internal bug in Stack Exchange? Note on the question being a duplicate: Thanks to the answers below I now know that votes on community wiki answers don't increase reputation - but for someone who doesn't know that and tries to find out why the reputation seems to be counted incorrectly it may not be obvious to ask a question: What are “Community Wiki” posts? So even though one can find the needed information in the referenced question, this one is not its duplicate.


How to calculate closed form expression for r-simplex numbers

Hello,      I've gotten far on this exercise, with the following insight:   Here is a matrix of examples (vertical-axis is n=1,2,3,4,5,6,7,8; horizontal-axis is k=1,2,3,4)  1: 1  1   1   1  2: 2  3   4   5  3: 3  6  10  15  4: 4 10  20  35  5: 5 15  35  70  6: 6 21  56 126  7: 7 28  84 210  8: 8 36 120 330  Now, there is an obvious pattern among the numbers, being triangular numbers, sum of triangular numbers, sum of sum of triangular numbers, and so on. My question is:  Can you help me find closed form expressions for the sums of the entries:   Down the columns Across the rows And for general n,k?   Thanks!


How do I concatenate a string and an integer to make a filename?

I have a series of files ( New1.BMP, New2.BMP, ...,New10.BMP).   I need to create a variable that stores the name of the above files and then use it in another code.   My current code:  int LengthFiles =10; char FilePrefix[100]="New";//This is actually passed to the function. Am changing it here for simplicity char str[200],StrNumber[1];//str holds the file name in the end. StrNumber is used to convert number value to character  SDL_Surface *DDBImage[9]; // This is a SDL (Simple DIrectMedia Library) declaration.  for (int l=0;l<LengthFiles ;l++)      {           itoa(l, StrNumber, 1);     strcat(str,FilePrefix);strcat(str,StrNumber);strcat(str,".BMP");     DDBImage[l]= SDL_DisplayFormat(SDL_LoadBMP(str));       }   As you might see, I have no clue how to code in C++, I have tried to make this work from code snippets online. Is this how it is supposed to work in C/C++, i.e. on the fly creation of variables.  How do I best approach it?


What drives this happen? Would it be the internal energy or by an external force? I did try to Google the answer, but could not find a good one.


Do they live under a dome, or inside a sphere?

What is the shape of the barrier in the TV series Under the Dome? Is it indeed a dome shape, or does it encircle the entire town like a spherical bubble, with one hemisphere above ground and the other hemisphere underground?


How do I make my friend list invisible to my other friends on my facebook? I thought making my friend list private did the job. But it didnt.


How long does Google Webmaster Tools take to index a website?

How much time does Google Webmaster Tools take to index a page? Analytics took around 24 hours to get info from the site, but since this is indexing, I guess it might take a little bit more than that. I would like to know though, an estimate so that I can start working on redirecting traffic with search engines to my sites so that it gets indexed much better.  EDIT  I just tried indexing with bingbot and the following messaged appeared when I hit on fetch as bingbot:      REDIRECTION LIMIT REACHED   What does that mean?   According to the code it brings back, only a a few parts of the site are returned, then it goes away to God knows where.   Inside my .htaccess file I wrote the following rules:   RewriteEngine on RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]  <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.php [NC,L] </IfModule>   Could it be possible that something of my .htaccess file could be redirecting the bot or something like that?


Is there something similar to the Python utility ?  Basically it allows you to install Python packages into a sandboxed environment, so easy_install django doesn't go in your system-wide site-packages directory, it would go in the virtualenv-created directory.  For example:  $ virtualenv test New python executable in test/bin/python Installing setuptools...cd .........done. $ cd test/ $ source bin/activate (test)$ easy_install tvnamer Searching for tvnamer Best match: tvnamer 0.5.1 Processing tvnamer-0.5.1-py2.5.egg Adding tvnamer 0.5.1 to easy-install.pth file Installing tvnamer script to /Users/dbr/test/bin  Using /Library/Python/2.5/site-packages/tvnamer-0.5.1-py2.5.egg Processing dependencies for tvnamer Finished processing dependencies for tvnamer (test)$ which tvnamer  /Users/dbr/test/bin/tvnamer   Is there something like this for RubyGems?


How to disable iMessage on a broken iPhone?

How can I disable iMessage for a phone number if the iPhone it's attached to has been destroyed? My sister dropped her iPhone in the bath, so she is now using an older non-Apple phone. Whenever I send her a message, it gets sent as an iMessage (and even says "Delivered"), but her device never receives the message.  The only information I could find was  which states the following:     If you plan on transferring your SIM card or phone number from an iPhone to a device that does not support iMessage, turn off iMessage in Settings > Messages first. If you do not, other iOS devices may continue to try to send a message using iMessage first, instead only using SMS or MMS.   However, since this iPhone was destroyed, we can't get into the settings to unregister her phone number.


anyone tell how is this effect created which change lips color to orange and little orange on face without brush etc tool

how to change the only lips color to orange without brush etc tool and how this is created and little orange on face


What language does referee use to communicate with soccer player?

What language does a referee has to use to communicate with players in those different situations:   FIFA matches UEFA matches National league matches   In all this case it is possible to have players coming from different nationality.  Does it exist a rule?


I'm looking for some resources for learning PyQGIS.  It would be interesting having a collection of books or websites that provide some practical examples for learning the syntax or accomplishing specific tasks.  Ideally, these resources should give a general guidance for both beginner and experienced users.   is a very similar question, but it gives help for learning QGIS, and not specifically PyQGIS (in fact, it doesn't have the PyQGIS tag).  Any help?


I had the following sentence in mind: "The conflict escalated quite rapidly, as I imagined/predicted would be the case". To my ears, the sentence sounds good, and a moderate amount of people have already used the phrases  and  before. However, I'm still concerned and not fully convinced about its grammaticality. Here are a few possible alternatives that should be "more grammatical" in my opinion:  As I imagined/predicted the case to be [...] As I imagined/predicted that the case would be [...] As I imagined/predicted what the case would be like [...] As what I imagined/predicted the case would be like [...] As what I imagined/predicted that the case would be like [...] As what I imagined/predicted the case to be like [...]  Unfortunately, none of these alternatives returns significant hits in Google search, as I imagined would be the case (pun totally intended). Is the phrase  "as I imagined would be the case" grammatically correct and why?  Answering to comments: Yes. That said, it's hard to explain why without having an argument to counter. Why do you think it's not grammatical? You imagine or predict something. So, according to this logic, the phrase should be answering the question I imagined/predicted what? I imagined/predicted what the case would be like. So now that I think of it, the most grammatical version of the phrase IMO should be "as I imagined/predicted what the case would be like, [...]", although it sounds quite convoluted to be honest. The phrase "as I imagined would be the case" omits what, like and inverts the relative order between the case and would be. Are all those changes grammatical?  What about the adverb as? As describes an event by comparing it to something else. So a phrase that begins with as should be answering the question: as what? As what I imagined/predicted that the case would be like. That's the version that makes the most grammatical sense to me. But, of course, nobody uses it :-)


RAM: 2143MiB / 3798MiB  What does this means ? I cannot even know about my laptop's RAM


i only want the ropes shadow to show but there's lots of noise around that shows the thingies.


Use de Moivre's theorem to find   $$\sum_{n=1}^{N} 2^{-n}\sin(n\theta)$$   How to find sum of imaginary parts of geometric progression, or use exponential form of complex numbers to find the summation in terms of N, sine, and cosine??


Why don't people vote up questions that they answer?

I think this is more of a question about the nature of SO users. I see a lot of questions with 5 or 6 answers, but 0 up-votes. I realize that sometimes that may be because down-votes and up-votes cancel each other out, but in a lot of cases people will just answer, and not up-vote.  Isn't answer a question implicitly indicating that you feel it is worthy of the time it takes you to answer? If I answer a question, I will (almost) always up-vote the question.  I also realize that a lot of times people will answer a question that they feel needs to be improved upon (needs to be clarified, formatted better, etc). In those cases I don't up-vote, but I find those cases to be in the minority of the questions I answer.  Any thoughts?


Lower ac voltage from 18vac to 12vac for Christmas fiber optic rotating motor and light

This picture from another thread online relates to my situation:    ()  I have a transformer from 240v ac to 18vac but need to step it further down to 12vac. What size resistor should I use in the above diagram?  Required output 12 VAC 5 W from current scrap transformer output of 18 VAC


Commutator subgroup and cyclic normal subgroup

Given a finite group $G$, its commutator subgroup $H$ of $G$ and a cyclic normal subgroup $N$ of $G$, I'm trying to show that $hn = nh$ for all $n \in N$ and $h\in H$.  That basically means that every commutator fixes any $n$. My progress so far seems hardly any progress at all; if anything I feel like I'm making things messier. But I'm just going to write them anyway.   My first thought was that since $hnh^{-1} \in N$, $hnh^{-1} = n^r$ for some $r$ and we can show $r$ must be 1, but this went nowhere.   My second approach was to write, without lost of generality, $h=aba^{-1}b^{-1}$. Then the result becomes $a^{-1}b^{-1}nba = b^{-1}a^{-1}nab$ for any two elements $a$, $b$ of $G$. I feel like this should either be trivial somehow or additionally complicated.   Also, I'm having difficulty figuring out how the cyclic-normality of N comes into play here.  Any help would be greatly appreciated!


What are the advantages of explicit interface implementation in C#?

C# supports built-in mechanism for differentiating methods that have the same names. Here is a simple example below shows how it works:  interface IVehicle{     //identify vehicle by model, make, year     void IdentifySelf();     }  interface IRobot{     //identify robot by name     void IdentifySelf(); }  class TransformingRobot : IRobot, IVehicle{      void IRobot.IdentifySelf(){         Console.WriteLine("Robot");     }      void IVehicle.IdentifySelf(){        Console.WriteLine("Vehicle");     } }   What are the use cases or benefits of this distinction? Do I really need to differentiate abstract methods in implementing classes?


lstlisting put '~' at the top of the line

I use the package listings to add code snippet in my document. my problem is for the character ~. It's placed at the top of the line, like if it was above a letter, while I want it at the middle of the line.  Here is an example:  \documentclass{report}  \usepackage{xcolor}  %%% % For source code %%% \definecolor{mgreen}{rgb}{0.0, 0.4, 0.0} \definecolor{mauve}{rgb}{0.58,0,0.82} \usepackage{listings} \lstset{frame=tblr,   language=c++,   basicstyle=\scriptsize,   aboveskip=3mm,   belowskip=3mm,   captionpos=b,   showstringspaces=false,   % Numbering   numbers=left,   numberstyle=\tiny\color{gray},   keywordstyle=\color{blue},   commentstyle=\color{mgreen},   stringstyle=\color{mauve},   breaklines=true,   breakatwhitespace=true, }  \begin{document}    \begin{lstlisting} class Foo { public:    // Constructor   Foo();    // Destructor   ~Foo(); };   \end{lstlisting}  \end{document}


What are the size limitations of Odo's ability to shape shift?

Odo seems to be able to become quite small (as small as a mouse) and much larger than humanoid form. Is there a limitation to how large (or small) he can become?  Can he become as large as a spaceship? A Planet? Can he change into something as small as a virus?


I'm planning on switching to Kubuntu once 17.04 lands (from standard Ubuntu Unity).  Right now, I'm torn between clean install or just do apt install kubuntu-desktop.  What can I expect if I decide to do apt install kubuntu-desktop, aside from the obvious (i.e. redundant apps)?  Which one do you recommend?  Will there be weird quirks?


Requirement for the exponent generation during DH protocol

The setting is classic DH protocol. Alice computes $A = g^a \bmod p$. Alice then sends $A$ to Bob. Then Bob will send $B = g^b \bmod p$ to Alice.   Are there any requirements for the values $a$ and $b$ besides they should be greater than $1$?


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 download orginal photos from iCloud Photo Library to PC?

I'am an iPhone + PC (Windows/Ubuntu) user. Nowadays, I'm used to download photos from iPhone to local folder, sort them and then backup them by myself (by syncing to remote disk and burning onto bluray discs also).  I like an idea of iCloud Photo Library + optimizing a storage on iPhone. For me, this also means that original photos are moved from iPhone storage into cloud, so I won't be able to download them via USB.  So, will it be possible (and easy and comfortable) to download all new photos (100+ at once) from iCloud Photo Library to local disk on PC? I mean a) download and keep on iCloud (copy), b) download and delete from iCloud (move)?


Package exercise: change "exercise" to French "exercice"

I am preparing a homework for my students with LaTeX, so I used \usepackage{exercise}. In the .pdf file I got "exercise" and I want it to be in French (exercice) not English.   I put \usepackage[french]{babel} but nothing changed.  Here is my code:   \documentclass[12pt,a4paper]{article} \usepackage[T1]{fontenc}      \usepackage[utf8]{inputenc} \usepackage[french]{babel} \usepackage{exercise}  \begin{document} \maketitle  \begin{Exercise}[title=...]  \Question{....}  \end{Exercise}


Is there a term that describes leaving out the implied subject of a question?

For example, "Not going? Be sure to cancel at least 24 hours in advance." has an implied "Are you…" in front. Is there a term for this concept?  Is it proper grammar (or at least accepted in business communication)? I feel I've seen this structure use a lot.  Update  Is this just an example of ? I'm guessing "conversational" means it would be generally okay for marketing and user interfaces but not for a memo to the CEO (or other more formal documents).


what will be printed and why? public class strEq { public static void main(string[]args) {     strEq s=new strEq();  }  private strEq()  {     string s="Marcus";     string s2=new string("Marcus");     if(s==s2)     {  System.out.printIn("we have a match");    }     else     {       System.out.printIn("Not equal");     }  }  }


Detect a dropper with items in it without /testfor

I was using this command to use a custom crafting table:  /execute @a ~ ~ ~ detect ~ ~-1 ~ dropper 1 {Items:[{id:minecraft:blaze_rod,Slot:1b,Count:1b,Damage:0s},{id:minecraft:blaze_rod,Slot:4b,Count:1b},{id:minecraft:stick,Slot:7b,Count:1b}]} /scoreboard players set @p LSC 1   But I get this error message when I stand on a dropper with these items:     Failed to execute '{Items:[{id:minecraft:blaze_rod,Slot:1b,Count:1b,Damage:0s},{id:minecraft:blaze_rod,Slot:4b,Count:1b},{id:minecraft:stick,Slot:7b,Count:1b}]} /scoreboard players set @p LSC 1' as TrevMCC38   By the way, Im in 16w06a


Is my US visa still valid after change in name?

I'm a Malawian national and I got US Visa years back.  Recently, due to some reasons, I had to get my first name partially changed on my passport. I have got an affidavit certificate stating the reason and proof.  Since the visa on my old passport has still not expired, but there is a difference in first name, will I face any problem?


To show for following sequence $\lim_{n \to \infty} a_n = 0$ where $a_n$ = $1.3.5 ... (2n-1)\over 2.4.6...(2n)$

How can I show   $\lim_{n \to \infty} a_n = 0$  $a_n = {1.3.5 ... (2n-1)\over 2.4.6...(2n)}$  I have shown that $a_n$ is monotonically decreasing. I thought to shown sequence is bounded from below then it automatically would converge and hence my question will be solve. But I'm unable to show its boundedness... Or there maybe another method to prove this. Thanks


How to back up VPS to local machine every month automatically

I have a VPS Server with Ubuntu 16.04 Server from vultr.com.  I want to back up its content to my local machine (Ubuntu 16.04), this task has to be repeted every month automatically (database and project files).   How can I do it?


BackboneJS how to turn text URLs into clickable links

I have a Backbone App where I fetch Twitter tweets through an API which returns the result as string. What I need is to make the http in the string clickable. How can I achieve this?  Here is the text string:   Who does John wish he could have sung with over the span of his career? See the video answer here! http://t.co/pbPXaDkGEJ    and I want it to be like   Who does John wish he could have sung with over the span of his career? See the video answer here!  click here   I tried to do something like:  function replaceURLWithHTMLLinks(text) {    var exp = /(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig;    return text.replace(exp,"$1");  }   but that didnt work...  [UPDATE]  Ok, I'm gonna add my Backbone View:  function (App, Backbone) {      var ArtistTwitter = App.module();      ArtistTwitter.View = Backbone.View.extend({         tagName: 'ul',         className: 'actweets',         template: 'artistTwitter',         initialize: function() {             this.listenTo(this.collection, 'all', this.render);         },         serialize: function() {             return this.collection ? this.collection.toJSON() : [];         }     });     ArtistTwitter.ArtistTwitterCollection = Backbone.Collection.extend({         url: function() {             return '/myproject/index.php/api/social_feeds/fetchNewTweet/' + this.artist_id;         }     });      return ArtistTwitter; }   I tried to add the above mentioned replacement code inside an afterRender-function but that didnt work...  Any suggestion is welcome...


Formal proof that $e^x$ is not algebraic

How do I give a formal proof that $e^x$ is not algebraic, like for example: $$\sum_{n\geq0}\frac{x^n}{n!}\notin\mathbb{C}_{\mathrm{alg}}[[x]]$$  Help appreciated!


Identify story about gaming in a future with augmented reality

When I was a child/teenager, I remember reading a series about someone/someones playing some sort of augmented reality games. The players all wore glasses of some sort so they could see the game world, but underneath everything was a prop or robot. So while the glasses the player wore showed the players monsters, in reality they were actually robots walking around, and instead of a razor sharp sword, it would be a sword style object.  I can't remember if the books were in a series or just in the same game world, but there was more then one. It would have been before 2000. The games they played were like live action roleplaying, it would take several days. I remember in one book they went to some desert, maybe navada or somewhere like that in the US to compete in some event.  It's been bugging me trying to think of the series, so any help would be appreciated.


In solid mode with Material or Texture, it is shown fine.   But in the Render mode, everything is pitch black. I have a sun, and the Opacity of the scene is set to 100%.    I am new to using Blender, so I have no idea what is wrong. If you could help, I would appreciate it. If you need more information to help me, I would be glad to give it.


Is it Smart to buy a carbon mountainbike?

I'm planning in buying a mountainbike but i'm not sure wether to buy a carbon or an aluminium one. My main concern is that when i fall, will the carbon frame break faster or become unusable significantly quicker than the aluminium one? It's either the Ghost htx 5 lc or the Thompson xc650 ALU.


difference between dot product and inner product

I was wondering if a dot product is technically a term used when discussing the product of $2$ vectors is equal to $0$.  And would anyone agree that an inner product is a term used when discussing the integral of the product of $2$ functions is equal to $0$?  Or is there no difference at all between a dot product and an inner product?


Is it possible to estimate prevalence from a given sample size?

I have farms in my dataset and from each farm, I have a few animals (varies for each farm) to test for a disease. I want to know, if I tested these animals, what apparent prevalence will I be able to detect in each herd. I want to estimate this for each herd.   There is a formula for estimating the sample size for a given prevalence; but how could one estimate the prevalence, if the sample size is known?


I messed up with sudo apt-get update and apt-get-repository? Now want to reset both to default

I think I have messed up with both sudo apt-get update and sudo apt-get-repository. so initially I tried to update the version of R from 3.6 to higher. so I tried this image 1. in order to update the R in I have followed these commands. sudo add-apt-repository 'deb cloud.r-project.org/bin/linux/ubuntu xenial-cran35/'  sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9  sudo apt update  sudo apt install r-base   but this did not work and thereafter whenever I was trying to update only one package get updated.  Although the further process did not go that well. but after that the problem has occurred. Now after that whenever I tried to do sudo apt-get update it just update only one package. but also gives some errors during update as well.  so I tried to figure out by looking at some solution and I did this  now I want to restore the sudo apt-get update command to its actual working so that it will update all the packages to their latest version. I tried to figure out the repository list from source.list and started adding one by one but again it didnot work.  what should I do to restore the working of apt-get update?


Inequalities where one side is represented as a character or word are stripped as HTML tags if no spaces are included.  For instance:  1 < n < 4 (works fine because of spaces)  1 < this shows up because of the space preceding "this"  The second line does not have a space after the <, so it's treated as an HTML tag, despite the fact that there is no > to close it (see the markdown of this question for a better understanding). Because of that, it's stripped, and inequalities are "invisible." I was editing a question, and this confused me for a while.  I think it's unintentional; it would be better to check for the closing > rather than assume < + a letter is an HTML tag.


How many trailing zeroes does 4617! contain?

I am getting $1151$ as answer on continuous division by $5$. Is it right?  On each division by 5, some remainder is generated...doesn't that count?  Example:  4617/5 + 923/5 + 184/5 + 36/5 + 7/5  Divisor: 923 + 184 + 36 + 7 + 1 = 1151  Remainder: 2 , 3 , 4 , 1 , 2


Does a square matrix always commute with its transpose? which means If M is a square matrix, then $M^TM=MM^T$? I just couldn't give a counterexample.


By what mechanism is lift produced on a rotating cylinder in an inviscid flow?

I am taking some introductory fluid dynamic classes, and have become very confused by the . One of the conclusions that can be derived by applying Kutta-Joukowski is that a spinning cylinder in an inviscid flow will produce lift.  But how can this be the case? Let's consider this diagram of lift on a spinning cylinder in viscous flow:    The mechanism by which this spinning cylinder would produce lift would be the unequal viscous shear on either side (due to different relative velocities to the fluid). The air on the bottom of the cylinder would be accelerated by viscous shear, whereas the air on the top would be retarded. This moves the downstream stagnation point (or equivalently, causes a deflected downstream wake), and the rest is Newton's third law.  But in an inviscid flow, there is no way for the airflow to be entrained by any viscous effects! Even if we accept the no-slip condition at the boundary of the cylinder, how does the air traveling at the boundary of the cylinder accelerate the air near it without relying on viscous shear?


Random Images On Websites.. Goes Away When I Clear My Cache

I'm facing a very weird problem. I'm using Windows 10 and Google Chrome Version 47.0.2526.80 m  The problem is that while browsing the web, sometimes one or more images of a site (any random site) is replaced by a dummy image. Usually this dummy image is a porn-related image or some "Indian Movie Media" related.  If I right-click > open image in a new tab. The dummy image is still there. If I refresh with cache cleared. The image is gone and is replaced with the original image used on the site.  I'm experiencing this problem for the past 5 to 6 months.  Where do the problem lies?  Currently active extensions:-  AdBlock  Advanced REST Client  Capture, Explain and Send Screenshots  Checker Plus for Gmail  Dimensions Legacy  Feedly  Google Dictionary (by Google)  Nimbus Screenshot App  Page Load Time  Toggl Button  I haven't listed disabled extensions.


Non-normal observations in regression modelling

I read an article that says the dependent variables in a regression model must be normally distributed. The way i understand it, is that the observations for the regression model must then be normally distributed. Or in other words if i choose sample data from a population then the sample must be normally distributed. But then i read answers to a similar question in another forum and apparently the the observations or dependent variables does not need to be normally distributed, just the error terms after the model is implemented must be normally distributed.   So now i am not sure, does the observations (dependent variables) has to be normally distributed as well as the error terms or is it just the error terms.


Counting solutions to a five-variable equation

How many solutions (using only nonnegative integers) are there to the equation   $$x_1+ x_2 + x_3 + x_4 + x_5 = 31\;?$$


I need to get just HH:MM to the code work but if I do echo %TIME%  the variable is HH:MM:SS, how can I break the string or make it show just hours and minutes?


Encode a piece of text to its HTML equivalent

I am using html,php to feed into my sql database. I want to know if there is any way to take data from HTML input tag, convert it to its HTML equivalent (eg © to &copy ) and then input into the sql database query. Can it be done with SQL or will require PDO or SQLi?  If thats not possible , please suggest some alternative


jQuery click function not working with setInterval

I'm calling an internal web page to my div every second with setInterval (that is to say reloading div). It's working fine but users should click a button inside of that reloading div and it fails.   This is my code:  HTML:

   JavaScript:        And this is the calling page's HTML:

30 Minutes
 1 BTC

                       <input type="text" class="form-control" id="hrs" value="0">                       Hrs

                       <input type="text" class="form-control" id="mnt" value="0">                       Mnt

                       <input type="text" class="form-control" id="sec" value="0">                       Sec

 Nobody
               <button class="btn btn-success pay" data-id="2">Get Ticket!</button>

   I'm trying to make this part clickable  <button class="btn btn-success pay" data-id="2">Get Ticket!</button>   with this JavaScript code below:     When I disable reloading thing, button working fine. I'm sure that the problem is setInterval part.  Thanks in advance.


I don't understand why this doesn't work:  Classes:  public abstract class BaseObj {      public bool IsValid => GetValidationErrors().Count == 0; }  public class BaseObjWithId: BaseObj  {     public int Id { get; set; } }  public class BaseReference<T> : BaseObj where T : BaseObjWithId {      public T ObjReference { get; set; }  }  public class Foo: BaseObjWithId {     public string Name{get;set;} }  public class FooRef : BaseReference<Foo> {  }   Code-Statement:      BaseReference<BaseObjWithId> foo= new FooRef();      Error CS0029  Cannot implicitly convert type...   This works:      BaseReference<Foo> foo= new FooRef();   But I don't understand why, because Foo is a BaseObjWithId...  Thank you for your explanation


What is proper term for 'composure' when mentioning it as your strength?

In reference to your strengths and weakness. How to well describe composure as your strength. I am looking for a word/strength that represent ability to not to panic in any situation(especially difficult one).


Is there an elegant way to have performant, natural sorting in a MySQL database?  For example if I have this data set:   Final Fantasy Final Fantasy 4 Final Fantasy 10 Final Fantasy 12 Final Fantasy 12: Chains of Promathia Final Fantasy Adventure Final Fantasy Origins Final Fantasy Tactics   Any other elegant solution than to split up the games' names into their components    Title: "Final Fantasy" Number: "12" Subtitle: "Chains of Promathia"   to make sure that they come out in the right order? (10 after 4, not before 2).  Doing so is a pain in the a** because every now and then there's another game that breaks that mechanism of parsing the game title (e.g. "Warhammer 40,000", "James Bond 007")


HDRi not showing up in render, evee or cycles. I've done this a thousand times but for some reason no luck, 2.91 and 2.92. Any suggestions?


How to move section label to new page if it is at the end of the page

In my report, sometimes, the section label is getting completely at the bottom, or if sometimes not completely, after the section label, there is only one or two lines, like the picture below:  How do I move the section to a new page if after the section there is less than 5 lines to obtain a new page?