How to put exclamation mark in loop to stdout
Batch files: How to read a file?
Preposition confusion - Do you learn somthing 'at' school OR 'in' school? I know that we use the preposition at to describe a place. I learned French at school is one of the examples I can think of.   I came across two examples that use the preposition 'in' with 'schools' in the context of 'learning'.   Example #1 from the  website:      Eleven things that you will never learn in school.   Example #2 from      Do you think the skills you learn in school will help you get the job you want?   The use that I had in my mind is here on      Should Parents Control What Kids Learn at School? Why can't we use double pointer to represent two dimensional arrays? How to prove that the center of the dihedral group $D_{2n}$ is $\{1,r^{n}\}$ and the center of $D_{2n-1}$ is $\{1\}$?  I don't know how to prove it in this general case. 9 rows is just way too small by default. Is this a text-editor for ants? What is the Mediator in this Feynman Diagram $q\bar{q} \rightarrow gg$? Let's consider the t-channel version of the process $q\bar{q} \rightarrow gg$. What is the mediator in this case, a $q$ or a $\bar{q}$? Naively, I would have thought a $q$ (as to have one fermion line), but I am not $100 \%$ sure. Say $R$ is a commutative ring and $I\in R$ is an ideal. Let us consider the quotient $R/I$. It is created by taking every element $a\in R$, and adding all the elements of $I$ to it. The elements of $R/I$ are of the form $a+I$ and $b+I$, $\forall a,b\in R$.   Now $$(a+I).(b+I)=(a+i_{1}).(b+i_{2}),\forall (i_{1},i_{2})\in I \times I$$  $$(a+i_{1}).(b+i_{2})=ab+a.i_{2}+b.i_{1}+i_{1}i_{2}=ab+I$$  We know that $a.i_{2}+b.i_{1}+i_{1}i_{2}\in I$.   If $(a+I).(b+I)=ab+I$, then taking suitable $(i_{1},i_{2})\in I\times I$, we should be able to prove $(a+i_{1}).(b+i_{2})=ab+i_{3},\forall i_{3}\in I$. However, can every element in $I$ be generated by taking suitable $i_{1},i_{2}\in I$? And if not, is that the reason why $(a+I).(b+I)$ has to be defined as equal to $ab+I$ in violation of the distributive property of ring elements? This has confused me for a long time.   EDIT: I figured addition does not have to be defined as such because $(a+i_{1})+(b+i_{2})=a+b+i_{1}+i_{2}$, where $i_{1}+i_{2}\in I$. In fact, every element $i\in I$ can be constructed by taking $i_{1}=0$ and $i_{2}=i$. Hence, $(a+I) + (b+I)=a+b+I$ naturally. This is the logic I followed to determine that $(a+I).(b+I)$ doesn't quite work as nicey. I'm not sure if this logic is flawed or not as I haven't had the opportunity to ask anybody.   Thanks for your help in advance! wp_get_nav_menu_items order doesn't work How to give a medicine with really bad taste My 4 year old daughter recently have scarlet fever. It seems antibiotics are non-negociable for it, and since she has great chance of being allergic to Penicillin, there is only one antibiotic she can get. It is not the first time we have to give it to her, and probably not the last time.  Apparently, that medicine tastes really REALLY bad. She cries a lot, panics every time we say it's time for this medicine, and vomit it most of the time, resulting in even more medicine being force into her mouth.  It is only this medicine that causes problem. She does not tantrum for other medicine, and most of them, she can take the dose we give her all by herself.  We tried reassuring her, explaining why it is mandatory to get it, explaining it will make the scarlet fever go away. We tried mixing it into other food (which seems clearly worse, taste-wise). We tried asking her to take her herself. It seems we tried everything, and the only thing that achieve it for the moment is actually forcing it into her.  We really do not want to force her in any way. Her mother cried yesterday because we had to force her, and we need to do it twice a day. It is very exhausting, and we would welcome any input or new ideas on how to give her this really bad tasting medicine to her.  EDIT : For clarification, it is a liquid medicine that is administrated with a syringe. It seems there are no alternative, although we will check with the doctor again (particularly if pills are available) Trigger Setup Wizard at next boot using command-line I am looking for a way to use ADB to trigger Setup Wizard at next boot. I know I can run the following command and get it to pop up. However, I can't figure out what triggers it to start at boot.  adb shell am start -a android.intent.action.MAIN -n com.google.android.setupwizard/.SetupWizardTestActivity   The phone I am currently using is stock and I would like to keep it that way.   I've read the  question: Drawing Mechanical Systems in LaTeX I really like CircuiTikZ for drawing diagrams in my LaTeX documents. However I mostly draw mechanical and not electronic systems, which is why I'm looking for some similar way to draw mechanical systems. What I want is something to draw masses, springs, dampers and ground (boundary condition).  are typical examples:     Anybody got some suggestions or am I out of luck? Alright Ubuntu wizards, I jacked up my system a bit unnecessarily, which is now giving me the chance to learn more about how to fix it...a vicious cycle. Anyway, I have it mostly up and running again to my liking, though I am receiving this (photo attached) prompt when my system boots:  libkmod: ERROR ../libkmod/libkmod-config.c:686 kmod_config_parse: /etc/modprobe.d/blacklist.conf line 56: ignoring bad line starting with 'rt2800usb'   Other users had success with just deleting the bad line from their blacklist.conf file, which I have done. Line 56 no longer exists, but I'm still receiving the same error. So am I missing something? Is there some follow-up command I need to give Ubuntu after saving the conf file? Winforms issue - Error creating window handle We are seeing this error in a Winform application.  Can anyone help on why you would see this error, and more importantly how to fix it or avoid it from happening.   System.ComponentModel.Win32Exception: Error creating window handle.    at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)    at System.Windows.Forms.Control.CreateHandle()    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)    at System.Windows.Forms.Control.CreateControl()    at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)    at System.Windows.Forms.ButtonBase.OnVisibleChanged(EventArgs e) What GUI applications are there to assist in generating graphics for TeX? I found  to be a useful tool to help generate code for graphs. I suppose there must be other tools to help draw diagrams such as Sets/Venn Diagrams or Electrical Circuits (Logic Gates). Which ones would you suggest? How to simulate from a Gaussian copula? Suppose that I have two univariate marginal distributions, say $F$ and $G$, which I can simulate from. Now, construct their joint distribution using a , denoted $C(F,G;\Sigma)$. All the parameters are known.  Is there a non-MCMC method for simulating from this copula? "many a time" means "many times"? If $\lambda$ is an eigenvalue of $A^2$, then either $\sqrt{\lambda}$ or $-\sqrt{\lambda}$ is an eigenvalue of $A$ $A$ is an $n\times n$ matrix of complex numbers. Prove that if $\lambda$ is an eigenvalue of $A^2,$ then $\sqrt{\lambda}$ or $-\sqrt{\lambda}$ is an eigenvalue of $A.$    If $\lambda$ is an eigenvalue of $A^2,$ we have $\lambda\alpha=A^2\alpha$ for some $\alpha.$ Then how can we find a $\beta$ s.t. $\sqrt{\lambda}\beta=A\beta?$ Conditional expectation of $\mathbb{E}(X - Y | (X, Y)\in\mathcal{A})$ Given two independent random variables $X \sim \mathcal{U}[-1,5]$ and $Y \sim \mathcal{U}[-5,5]$, what is $$\mathbb{E}\{Y - X | X \le 1, Y &gt; X, Y \in [-1,1] \}\,?$$  I managed to compute the respective probability   $$ \mathbb{P}\{ X \le 1, Y &gt; X, Y \in [-1,1] \} = \mathbb{P}(X \le 1) \mathbb{P}(Y &gt; X) \mathbb{P}(Y \in [-1,1]) = 1/3 * 1/2 * 1/5 = 1/30$$  How do I continue from there? I just spilt coffee on my laptop, what should I do? How to run grep on a single column? IE11 making background image text blurry