When chasing treasure goblins, should I leave them living as long as possible, if I can control it?

When hunting down treasure goblins, like the , it drops items periodically.  If I leave it living, just ensure I damage it enough once it tries to escape through a portal, will my net reward from such a goblin be affected?  Meaning, does each such goblin have a fixed amount of reward to drop, or does it have some like that + that periodic drop?  If the latter, then perhaps the longer I can keep it living but keep it from escaping, the higher my total reward would be?


Difference between electron, muon and tau neutrinos

What is the difference between the neutrinos of electron, muon and tau leptons.? They all same to be neutral and carry a very small mass. Similarly what is the difference bewteen anti neutrinos of electron, muon and tau leptons


equation $u_x+u=e^{2y+x}$ (part of the solution to $u_x+u_y+u=e^{x+2y}$)

I solved/analyzed the below PDE   $$\left\{\begin{matrix} u_x+u_y+u=e^{x+2y}\\  u(x,0)=0 \end{matrix}\right.$$  and have a question to the one of the steps involving the integration, see below    Using method of characteristic  $$ \frac{dx}{dt}=1, \ \ \frac{dy}{dt}=1, \ \ \frac{du}{dt}=-u+e^{x+2y}  $$  from the first and second ODE $$ dx=dy, \quad y=x+c. \quad c=y-x$$  and from the first and third ODE  $$\frac{du}{-u+e^{x+2y}}=dx$$ which gives $$u_x+u=e^{x+2y}$$ multiplying both sides by $e^x$ and using product rule gives $$(e^x u)'=e^{2y+x}$$ substituting for y=x+c $$(e^x u)'=e^{3x+2c}$$ integrating both sides $$e^x u = \frac{1}{4} e^{4x+2c}+ \color{red}{f(c)}$$  Question:  The only way to get the correct general solution is to add f(c) as the constant part of the above integration. My question is how do one know it should be a function of c  f(c) and not just some constant c here? Using c only gives a different equation.  Furhter substituting for c gives the general solution to the PDE $$u(x,y)=\frac{1}{4} e^{x+2y}+e^{-x}f(y-x)$$  Using the initial condition one can get the specific solution $$u(x,y)=\frac{1}{4} e^{x+2y}+\frac{1}{4} e^{x-2y}$$


Dividing value of polygon in polygon inside it

I'm working with population data. I want to divide the population value (labeled in the orange square)in the polygons inside it (blue polygons).  Any ideas?


How to edit geometry of multiple layers simultaneously in QGIS 3?

I have several line layers (route, pipes, cables) that share the same geometry and would like to edit them simultaneously.   Is there a way to easily snap the geometry of the pipes and cables layers to the route layer so that I can simply change the geometry of the route layer and don't have to repeat all changes on the other two layers as well?  To clarify, I plan a fibreglass route and have three layers. The first one describes the route that I have to take to pass all homes that have to be connected. The second one contains the pipes in which the cables lie and the third layer is the cable layer. So all features on those layers have to have the same geometry. Once I change the pathway of the route layer, I have to apply the same changes to the other two layers to ensure that they are still aligned with the route layer. I'm not sure whether I understand your comments correctly, but I use the basic editing tools in QGIS 3.


How do i find out lines of a file that are not present in another file?

I have two files A and B.  I want to find out which lines of file B are not present in the file A.   How do I do this? The lines can be at any position in file A


Is it possible to perform speed test with any Ubuntu server?

I have a home server with Ubuntu and I want to measure download and upload speed in my LAN. Is there any program for Ubuntu that will help me do this?


Use the triangle inequality to show that $|a|+|b| \leq |a+b|+|a-b|$

How would I go about proving that  $$|a|+|b| \leq |a+b|+|a-b|$$  Using the triangle inequality?  I tried squaring both sides, yielding:  $$|a|^2 +|b|^2 +2|a||b| \leq 2|a|^2+2|b|^2+2||a|^2-|b|^2|$$  Is it correct to move the terms to the other side? I tried $$2|a||b| \leq |a|^2+|b|^2+2||a|^2-|b|^2|$$ Then it is obvious that  $$0\leq |a|^2+|b|^2-2|a||b| +2||a|^2-|b|^2|$$ $$0\leq (|a|-|b|)^2 +2||a|^2-|b|^2|$$ $$0\leq ||a|-|b||^2 +2||a|^2-|b|^2|$$  But I have neither used the triangle inequality, nor it looks mathematically rigorous for my real analysis class. Any tips and tricks for solving these problems?


How can I find a bibtex entry for an article?

For example:   Albin, S.L., Barrett, J., Ito, D., Mueller, J.E., 1990. A queueing network analysis of a health center. Queueing Systems 7, 51–61.


What is the number of ways that 5 cards can be drawn from a single deck of 52 cards?Is it 52c5 or 52p5 ???


I am asking this question simply out of curiosity. Why the double differentiation is denoted by $\frac{d^{2}f(x)}{dx^2}$ and not by $\frac{d^{2}f(x)}{d^2x}$ or $\frac{d^{2}f(x)}{(dx)^2}$. Is there any mathematical reasoning behind it? It seems like a similar question has been asked before . But then the same discussion happened there, i.e., why $\frac{d^{2}f(x)}{(dx)^2}$ is not the correct notation :/


Capacitor changing output voltage from 12v to 20v

I have a transformer with two output coils I have wired them together in series and used the connection between them as 0v and used the other two leads in a diode bridge rectifier. Without any filter caps, I get +12v on one rail and -12v on the other. However when I add in any kind of cap for filtering my voltage jumps up to 20v.   The parts I am using are largely salvaged; but the only part that I have little to no info on is the transformer. It takes US AC voltage, (110-120) but I don't really know what it's intended output is.   I am very much in the learning stage with this stuff so odds are I have made a dumb mistake, but hey, that's why my parts are salvaged. No cost, none lost. Am I right?   EDIT: To clarify I am going for a dual power supply. With 0v and +/-Voltage. I would prefer +/-12v because 20 volts pushes the limit of some of my other external components, but I can change things if needed.


What is the meaning of $2^\sqrt{3}$ ?  one can explain $2^3=2\times2\times2$  But how can I explain $2^\sqrt{3}$ etc. ?  How can I explain non-integer powers? I do not want the value. I need to know whether there is an explanation for this in real analysis.


In how manys can a programming team and a hacking team be selected if Jack does not serve on both teams?

A club has $12$ members. They need to choose a programming team of $3$ members and a hacking team of $4$ members. Members can be on both teams, but Jack only wants to be on at most one team. How many ways can both teams be chosen?  I did two different ways. I solved if Jack chooses programming, $C(12,3)=220$ $C(11,4)=330$. In total there are $550$ different ways both teams can be picked.  But, if Jack chooses hacking, I solved $C(11,3)=165$ and $C(12,4)=495$. In total there are $650$ ways both teams can be chosen.  I was wondering if this is the correct method.


In laymans terms, what does 'static' mean in Java?

I have been told several definitions for it, looked on Wikipedia, but as a beginner to Java I'm still not sure what it means. Anybody fluent in Java?


Heisenberg Uncertainty principle defined as $\Delta x \Delta p_x \geq h$ versus $\Delta x \Delta p_x \geq \hbar/2$

At my university, in the during lectures and in the equation sheet for our exams, the formula for the Heisenberg Uncertainty Principle is stated as $\Delta x \Delta p_x \geq h$, for example in one of my lecture notes, the following example is illustrated using this formula    However I know that in my textbook (University Physics by Young and Freedman) and pretty much universally the Heisenberg Uncertainty Principle is stated as $\Delta x \Delta p_x \geq \frac{\hbar}{2}$. Using this formula, we can see the example above is off by a factor of $4\pi$.  Is the formula, $\Delta x \Delta p_x \geq h$, that my university uses a valid formula? If so is just a weaker version of $\Delta x \Delta p_x \geq \frac{\hbar}{2}$?


Apparently I have 10.1K on SO....I don't

Seem's to be something weird going on in chat??  I actually have 5K. Am I missing something or is this a bug?


${\pi_1(\mathbb{R}^3 \setminus A)}$ where $A$ is a circle in ${\mathbb{R}^3}$

So I was looking around for example fundamental group calculations, and I came across this one (${\pi_1(\mathbb{R}^3\setminus A)}$ where ${A}$ is a circle in ${\mathbb{R}^3}$). Apparently, this deformation retracts to ${S_1\vee S_2}$, but I can't see how / what deformation retract exactly the author had in mind. I've looked around here on Stack Exchange, and there are other explanations of the fundamental group, but I wanted to specifically understand what exactly the deformation retract is, since the author gives other similar examples using deformation retracts I also wanted to understand. If anyone could help describe in a bit more detail what deformation retract is being used exactly, that'd be great. Thanks!


How can I statistically compare two time-series?

I have two time-series. Data have been logged over time for two different objects. Is there a significance test, applicable in SPSS or Minitab, that can be used to determine whether there is a significant difference between my objects? The data are acquired at the same frequency.


For loop combined with addeventlistener not working (same output)

I'm adding click events to li tags in my html. The refresh function I attach to it works fine, just as adding the events. Although the events are all the same..  HTML:
css

images

js
   JS:  function addEvent(){     var dirLinks = document.getElementsByClassName('folder');     for(i=0; i< dirLinks.length; i++) {         var tarDir = dirLinks[i].id;         alert(tarDir);         dirLinks[i].addEventListener('click', function(){refresh('file_manager', 'file-manager.php?tarDir='+tarDir);}, false);     } }   I want each li tag to click through to a dir that's equal to it's ID. But all the events let me click through to the last found id..(JS) While the alert shows three different ID's..(css, images & js)  What am I doing wrong here? Can't figure it out.


I am new here and new with Ubuntu. I have version 15.10, connected to my macbook pro retina. I am trying to get wifi to work, but no networks are detected on my computer, so I am using an ethernet cable. I'm sure there are some drivers I am supposed to download, but I can not find them. Can someone help me find the drivers I need or help me otherwise? I can not use a different version of Ubuntu, because the program I need to run is specifically for 15.10. My computer has a BCM4360 802.11ac Wireless Network Ada. pter


What parts would one typically use for automated PCB testing?

I have a circuit board in production, primarily through-hole, to the tune of ~400 units per year. Each one is manually inspected and tested. The board has ten distinct voltage rails, four voltage feedback amps, three current feedback amps, a microprocessor with particular response characteristics, and a few other parts. That's a lot to check.  I'm considering building an automated test rig for all that. I think a PCB that feeds the appropriate input stimuli, observes the responses, and gives a go/no-go would save me a lot of time. I'm reasonably confident that this is done, commonly. However, the techniques used to do it are unknown to me.  I imagine a test rig with a circuit board of the same footprint as the unit under test (UUT). It would have a microprocessor, appropriate protection and scaling circuitry, and a large number of vertical pins sticking up from the board. Mount points would also stick up from the test rig for the UUT. When the UUT is mounted on top of the test rig, the bottom of the board makes contact with the vertical pins, allowing the test rig to feed stimuli to the UUT and observe responses.  This seems reasonable, and I have the idea I've seen something very much like this before. But the details elude me. What sorts of pins would be used on the bottom board? (Part numbers would be great!) Would I need to put specific kinds of test points on the UUT, or can I get away with just contacting the clipped pins protruding through the board? What other concerns might there be?


How many solutions are there to $ x^2 = 1 \pmod { 1155} $?

I'm wanting to work out how many solutions there are to an equation of the form $x^2 = 1 \pmod {1155}$ in $\mathbb Z/1155\mathbb Z$, and I'm a little unsure of what the correct way to work this out is. I've attempted it several times now and know that I'm not answering it correctly, so I'm hoping someone on here will be able to help me. A step by step method would be really really really helpful!!


Automatically scroll down browser window when div grows

So I have a div footer on my page that lets say has a height of 200 pixels. Now this div has a button that reveals some html objects that are within the div and therefore increases the height of the div, to lets say, 400px.  So my div that was originally 200px is now 400px and is aligned to the bottom of the page. The problem is that when the div is expanded my browser doesnt automatically scroll down the window in order to show all the div. As a result, i only see the top 200 pixels of my div ( the original size ) and I have to manually scroll down my browser window in order to see the complete div.  Is there a way using html css that I can make my browser automatically scroll down when the div expands? If not, I guess it is possible with javascript at least..


Dashed borders of my window manager (XFce) - Solution

I ran into the same problem as posted here   I now found a solution but am not able to aswer due to my newbie state.  I found out that the problem only exists on my Intel video laptops (nvidia was fine) and occured only with themes having window borders with more than 1px width.  My solution was to create a file /usr/share/X11/xorg.conf.d/20-intel.conf with the content :  Section "Device"    Identifier  "Intel Graphics"    Driver      "intel"    Option      "AccelMethod"  "uxa" EndSection   This switches off sandy bridge acceleration and turns back to slower but reliable uxa acceleration.


I have an iPhone SE, running iOS 12. As part of a programming course I do, we made some apps. 4 in total.   Whenever I try to open one of these apps I get this message:    However when I go to settings and verify it tries to verify it as shown here:    But then it goes back to say not verified. How can I fix this?  EDIT: I am connected to WIFI and it works


Where to apply for Multiple Entry Schengen Visa - Germany or Austria?

I'm an Indian national, currently living in the UK on Tier 4 Student Visa (General). I've been to Schengen territory once and planning one more trip in coming months as below;  Austria 23rd December, 2018 till 31st December, 2018. (coming back to UK). The Netherlands from 20th January, 2019 till 24th January, 2019. Germany from 24th January, 2019 till 4th February, 2019.  In this particular case, where should I make an application? I'm going to spend maximum days in Germany; however, I'll be returning from Austria without entering Germany and then again going back to Schengen area for more days including The Netherlands and Germany.  I'd really appreciate your help. Thank you!


Explain proof of irreducibility of $x^{p-1} + 2x^{p-2}+ \dots +(p-1)x + p$

This is a question from Putnam and Beyond, and I have a question about the proof. The question is:  Show $x^{p-1} + 2x^{p-2} + 3x^{p-3} + \dots + (p-1)x + p$ is irreducible over $\mathbb{Z}[X]$.  The proof first shows that the polynomial $P(x) = x^{p-1} + 2x^{p-2} + 3x^{p-3} + \dots + (p-1)x + p$ only has zeros of absolute value $> 1$. Then, it assumes it can be factored into two polynomials, namely, $P(X) = Q(X)R(X)$, and since $p = P(0) = Q(0)R(0)$, one of $Q(0), R(0) = \pm 1$, so WLOG $Q(0)$ has a zero of absolute value $> 1$ which contradicts the fact that $P(X)$ only has zeros of absolute value $> 1$. I don't see why $Q(0) = \pm 1$ means that it has a zero with absolute value greater than one. (The following is the proof in question.) "We will show that all the zeros of $P (x)$ have absolute value greater than $1$. Let $y$ be a complex zero of $P(x)$. Then $0 = (y − 1)P(y) = y^p + y^{p−1} + y^{p−2} +···+ y − p.$ Assuming $|y| ≤ 1$, we obtain $p = |y^p + y^{p−1}+ y^{p−2}+···+ y| ≤ \sum_{i=1}^p |y|^ i ≤  \sum_{i=1}^p 1 = p.$ This can happen only if the two inequalities are, in fact, equalities, in which case $y = 1$. But $P (1) > 0$, a contradiction that proves our claim. Next, let us assume that $P (x) = Q(x)R(x)$ with $Q(x)$ and $R(x)$ polynomials with integer coefficients of degree at least $1$. Then $p = P (0) = Q(0)R(0)$. Since both $Q(0)$ and $R(0)$ are integers, either $Q(0) = ±1$ or $R(0) = ±1$. Without loss of generality, we may assume $Q(0) = ±1$. This, however, is impossible, since all zeros of $Q(x)$, which are also zeros of $P (x)$, have absolute value greater than $1$. We conclude that $P(x)$ is irreducible."


I am trying to understand what is a constructor and could you tell me why I am still able to run the program without error?  As you can see I am not doing it correctly but it still works!! why?? and when I tried to put LL=(object name ) after my class DELL it is not working? but when I retrieved the LL it works why??? If I am not clear do not hesitate to tell me and I am sorry in advance for this mess  #include <iostream> #include <string> using namespace std;   class DELL{ public:     DELL(){         cout <<" bla bl bla\n";     }     void setname(string x){         name = x; }          string getname()         {             return name;} private: string name;   };  int main(){      DELL (); // Variant 1     DELL LL(); // Variant 2     return 0;  }


Why the terminal downloads things so slow?

I observed that everytime when I download something using apt it usually downloads below 1mbps, but my internet speed is like 1gbps(700-800 mbps) using wireless connection. How can I allow more bandwidth?


After failing to update my desktop to Ubuntu 20.04.1 LTS (unable to boot, kernel 5 not working etc) I am going to replace my disk with a new disk and install Ubuntu fresh. I have a few question that I would appreciate advice:  Do I need to reformat the disk? I was planning to do it, but then I read that in the process of installation this can be done automatically.(  Do I really need a USB memory? or can I use another medium? perhaps the size of the image is too large and that is why I need a USB?  I am not planning on partitioning the disk. Should I?  My original problem was that apart from not booting, the Nvidia drivers were not correctly loaded and the GPU was not recognized. Any advice on how to avoid this problem?   Any other advice will be appreciated. First time I am doing this


Does there exist a continuous surjection from $\Bbb R^3-S^2$ to $\Bbb R^2-\{(0,0)\}$?

Prove or disprove : There exists a continuous surjection from $\mathbb{R}^3- S^2$ to $\mathbb{R}^2-\{(0,0)\}$ (here $S^2\subset \mathbb{R}^3$ denotes the unit sphere defined by the equation   $x^2+y^2+z^2=1$),.     This question had appeared in TIFR GS-2018 exam for PhD admissions. How should I think about such a map?


A multiple choice exam has 175 questions.  Each question has 4 possible answers.  Only 1 answer out of the 4 possible answers is correct.  The pass rate for the exam is 70% (123 questions must be answered correctly).  We know 100 questions were answered correctly.  What is the probability of passing the exam, if one were to guess on the remaining 75 questions?


Cannot save files or links to the desktop in Ubuntu 19.10

Since upgrading to Ubuntu 19.10 I cannot save files and links to the desktop. With Ubuntu 19.04 I used a GNOME extension called "Desktop icons" to do this but it doesn't work in 19.10. I can't find anything in the setup or GNOME Tweaks to enable this. The file ~/Desktop exists and still contains the files and folders which were on my 19.04 desktop.  Out of interest, why is it nowadays regarded as a bad thing to save things on the desktop? I still find it useful to put stuff I'm either working on or use a lot there.


I'll bring you to your mother's      I'll take you to your mother's   I am a bit confuse of these.  Should it bring or take?


Error when trying to update ubuntu using sudo apt-get update

I am using ubuntu 18.04. When I try to run sudo apt-get update I am getting the following error. Can anybody try to help me solve this problem?  E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi  E: Sub-process returned an error code   Following this when I try to run sudo apt-get update It completed successfully .


Can you add dual boot to a Ubuntu box after the fact?

I don't do much Linux. I got a Dell Optiplex and set it up for someone with Ubuntu. Now, after the fact, he wants to install Windows 10 and make it a dual boot. Can that be done and is it difficult to do?


Is the preimage of a dimension $m$ subspace of the projective space under the quotient map $q$ of dimension $m+1$

Let $C\subset \mathbb P^n$ be a closed irreducible subset of dimension $m$. Is it true that the preimage by $q:\mathbb A^{n+1}\setminus \{0\}\rightarrow \mathbb P^n$ has dimension $m+1$ ?   If so, how can I prove it?   The definition of the dimension of a topological space that I am given is the following:   If $Y$ is an irreducible topological space, then $\operatorname{dim}(Y)$ is the biggest integer $m$, if it exists, such that there is a chain $Y=Y_{m} \supsetneq Y_{m-1} \supsetneq \cdots \supsetneq Y_{0} \text { with } Y_{i} \subset Y$ irreducible and closed in  $Y$ ; if such an integer does not exist then $\operatorname{dim}(Y)=\infty .$


Are any of these two phrases appropriate, or are they both wrong?        tables two and three's information are more suited for   table two's and three's information is more suited for


I have been having issues with Finder and the Dock ever since the upgrade to 10.10.1 (I can't be certain they weren't there in 10.10).   I am unable to drag items off of the Dock (to remove them). I also can't drag items from the download stack that I have beside my trash can in the dock. Dragging the item simply does nothing. If I drag it somewhere and release the mouse button, it just opens the app/file. And in Finder, I am only able to drag and move/copy 86 items. I can select more but when I drag them to a new folder or other location the most that will get moved is 86.  I have confirmed the issue with a friend but have several other friends for which everything is working fine.   I have a mid 2012 retina MBP and my friend has an older (2010 i think) non retina MBP. I have restarted several times and tried to find any sort of setting that might be turned off. Googling doesn't seem to turn up any information either. So I am mostly wondering if anyone else is having this issue and/or if it is an OSX bug or how to fix it.  Thanks.  Update  Running repair disk permissions from disk utility then restarting worked for a while. But then things went right back to not working again. Going to test some things to see what might be causing it to revert.  Update 2  It turns out that restarting does fix it temporarily and repair permissions has nothing to do with it. I am assuming I didn't notice this before because it is being caused by an application that was reopening (because I usually check off the "Reopen applications" option).  Update 3  For clarity, here are videos showing what the issue is.    In this video it is working as it should be (right after a restart): In this video it is not working:


Is Google starting to ignore link directories such as brownbook

After adding a website to brownbook.net and then claiming the business, It has not yet been indexed by google, and 2 months has passed.  I am newish to SEO and have worked out to check the robots.txt / nofollow / and meta tag no index, as well as working out post rendered java script link filling, yet brownbook seems good for a dofollow.  Mark


Is Dirac delta a function? What is its contribution to analysis?   What I know about it: It is infinite at 0 and 0 everywhere else. Its integration is 1 and I know how does it come.


Will it be unethical to ask the author of a published work to share their code?

I have been working on reproducing the implementation of a model described in a published paper. The paper was published in 2007. I have been trying for quite some time, but I am unable to make any significant progress. Can I contact the corresponding author of the paper asking them to share the code for use in my research? After I understand the implementation, I intend to modify the model based on my own research work. Will it be unethical or rude to ask the authors this directly?


In questions  and in websites everywhere it's noted that SSDs use much less power than HDDs... usually citing ~2 W vs ~6 W for HDDs, my question (and sorry if its stupid just need to be exact) is that per hour? Need to calculate costs savings in power consumption if we switched all our workstations to SSDs


How to create a 3D logo in Adobe Illustrator?

In   I found one logo which might be made in Adobe Illustrator:    It's a perfect 3D logo, how can this kind of logo be made with Illustrator?.


I am working on proving the below inequality, but I am stuck.  Let $g$ be a differentiable function such that $g(0)=0$ and $0<g'(x)\leq 1$ for all $x$. For all $x\geq 0$, prove that $$\int_{0}^{x}(g(t))^{3}dt\leq \left (\int_{0}^{x}g(t)dt  \right )^{2}$$


Why the temperature is getting lower when the universe is expanding

As we know, if an ideal gas expands in vacuum, as its energy is unchanged, the temperature remains the same. An ideal gas's energy does not depend on volume. In general, the energy is $kT$ times the total degrees of freedom, like in an ideal gas, the total degrees of freedom is $N$ particles plus three dimensions, $3N$.    Then if the total energy of the universe is $kT$ times the total degrees of freedoms of the universe, as the universe expands, its energy and entropy should not change, but if the temperature falls, the number of degrees of freedom should grow. It is quite puzzling to me that the universe is having more and more new degrees of freedom. It seems to be contradictory to the entropy argument.


If Worf was raised by humans after the age of 5, why does he "act" so Klingon?

Worf was rescued from the wreckage of the Khitomer colony by a Starfleet petty officer and raised amongst humans in a time when Klingon\Federation relations were somewhat shaky. How did Worf end up behaving with a Klingon cultural identity? How did the Klingon concepts of honor and behavior get so firmly enmeshed into his personality?


What is the difference between Ubuntu+XFCE and Xubuntu?

There are , of which  is one, using  as a desktop environment. One can install Xubuntu directly from an ISO or  on Ubuntu.  I am wondering: Is there more difference between installing Xubuntu from ISO and installing XFCE to Ubuntu?  - If so which are these difference?   - Which of the two do you recommend and why?


Both apt-get update and upgrade hang:  sudo apt-get update [sudo] password for xxx:  0% [Connecting to archive.ubuntu.com (2001:67c:1360:8001::17)]   I'm able to ping archive.ubuntu.com:  ping archive.ubuntu.com PING archive.ubuntu.com (91.189.88.162) 56(84) bytes of data. 64 bytes from yukinko.canonical.com (91.189.88.162): icmp_seq=1 ttl=50 time=42.2 ms 64 bytes from yukinko.canonical.com (91.189.88.162): icmp_seq=2 ttl=50 time=42.1 ms 64 bytes from yukinko.canonical.com (91.189.88.162): icmp_seq=3 ttl=50 time=42.1 ms ^C --- archive.ubuntu.com ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 42.169/42.206/42.265/0.240 ms   I checked , and I don't think its the same issue.  Any tips for investigating this further?


What is the meaning of "might well not be"?

We have used the verbal system, but what about the musical subsystem of the auditory system of the brain? For many people the activation of this system by a particular kind of music leads to a relaxing effect. Note that the music might well not be a gentle flute. There are people who find a heavy drum-beat relaxing.  What does "might well not be" mean in the above text? What can be used instead of that phrase?


How do I access my WAN IP internally according to my existing iptables port forwarding rules?

I have IPTABLES newly set up on my Debian Squeeze server and I have IP masquerading and port forwarding working successfully with it, however if I type into the URL bar my WAN IP or DynDNS hostname, I get a connection error. With previous consumer routers, if I had gone to , it would load 10.0.0.3:80 as specified below. This works externally (tested using a 3G phone) but not internally (using any internal browser). This is the same for all forwarded ports. I'm trying to get port forwarding to work internally as well.  If anyone knows the correct incantation(s) for this, it'd be greatly appreciated. I've tried searching Google but am unsure of the correct search terms for the issue.  My configuration is as follows:  # Generated by iptables-save v1.4.8 on Thu Apr 14 15:58:27 2011 *mangle :PREROUTING ACCEPT [1216168:676166344] :INPUT ACCEPT [2375:260404] :FORWARD ACCEPT [1213765:675875465] :OUTPUT ACCEPT [1930:203384] :POSTROUTING ACCEPT [1215695:676078849] -A FORWARD -o ppp0 -p tcp -m tcp --tcp-flags SYN,RST SYN -m tcpmss --mss 1400:65495 -j TCPMSS --clamp-mss-to-pmtu  COMMIT # Completed on Thu Apr 14 15:58:27 2011 # Generated by iptables-save v1.4.8 on Thu Apr 14 15:58:27 2011 *filter :INPUT ACCEPT [2375:260404] :FORWARD DROP [0:0] :OUTPUT ACCEPT [1930:203384] -A FORWARD -i ppp0 -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT  -A FORWARD -i eth0 -o ppp0 -j ACCEPT  -A FORWARD -d 10.0.0.8/32 -p tcp -m tcp --dport 80 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT  -A FORWARD -d 10.0.0.3/32 -p tcp -m tcp --dport 22 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT  -A FORWARD -d 10.0.0.8/32 -p tcp -m tcp --dport 1723 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT  -A FORWARD -d 10.0.0.8/32 -p udp -m udp --dport 1723 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT  -A FORWARD -d 10.0.0.3/32 -p tcp -m tcp --dport 21 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT  -A FORWARD -d 10.0.0.3/32 -p tcp -m tcp --dport 45631 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT  -A FORWARD -d 10.0.0.3/32 -p tcp -m tcp --dport 56630 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT  -A FORWARD -d 10.0.0.3/32 -p udp -m udp --dport 56630 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT  COMMIT # Completed on Thu Apr 14 15:58:27 2011 # Generated by iptables-save v1.4.8 on Thu Apr 14 15:58:27 2011 *nat :PREROUTING ACCEPT [5529:468229] :POSTROUTING ACCEPT [2335:258730] :OUTPUT ACCEPT [21:1367] -A PREROUTING -i ppp0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 10.0.0.8:80  -A PREROUTING -i ppp0 -p tcp -m tcp --dport 22 -j DNAT --to-destination 10.0.0.3:22  -A PREROUTING -i ppp0 -p tcp -m tcp --dport 1723 -j DNAT --to-destination 10.0.0.8:1723  -A PREROUTING -i ppp0 -p udp -m udp --dport 1723 -j DNAT --to-destination 10.0.0.8:1723  -A PREROUTING -i ppp0 -p tcp -m tcp --dport 21 -j DNAT --to-destination 10.0.0.3:21  -A PREROUTING -i ppp0 -p tcp -m tcp --dport 45631 -j DNAT --to-destination 10.0.0.3:45631  -A PREROUTING -i ppp0 -p tcp -m tcp --dport 56630 -j DNAT --to-destination 10.0.0.3:56630  -A PREROUTING -i ppp0 -p udp -m udp --dport 56630 -j DNAT --to-destination 10.0.0.3:56630  -A PREROUTING -i ppp0 -p tcp -m tcp --dport 443 -j DNAT --to-destination 10.0.0.3:22  -A POSTROUTING -o ppp0 -j MASQUERADE  COMMIT # Completed on Thu Apr 14 15:58:27 2011


Bound on integral implies bound on function

I don't know how to prove this example. Let $y(t):\mathbb{R}^+\to \mathbb{R}$ be a nonincreasing function. Assume that there is a constant $A>0$ such that \begin{equation} \int_{s}^{+\infty}y(t)dt \leq Ay(s), \quad 0\leq s<+\infty \end{equation} Then $y(t)\leq y(0)e^{1-\frac{t}{A}}$, for all $t>0$.


Run true multiple process instances of gnome-terminal

If you have gnome-terminal running, and want a new instance of the program, you might think that running gnome-terminal & from a shell would do the trick.  Astonishingly, this new instance behaves like some insipid Windows or Mac program; it only sends a message to the existing, running gnome-terminal to create a new window. If this one gnome-terminal process crashes, you lose all of the terminal windows!  (Of course, each window has its own shell, which is an independent process, but the actual terminal emulator and its GUI are managed from a single instance of the application.)  How can we create independent instances of gnome-terminal, each running in their own process, so that killing that process only destroys the window(s) associated with that process?


Which version of Selenium should I learn?

I am a manual tester and I want to learn test automation. I have basic knowledge of core Java and I would start to learn Selenium.   Should I start to learn Selenium IDE, Selenium1/RC or Web driver.   Also, any websites/apps on which I can practice test automation?


Using Console command set playerfollowercount to 0 my old follower leaves. Only Serana doesn't leave and I need one more than Lydia. I know there are hundreds of mods which can fix this but My friend don't want to use them


How can I linearize this IF-THEN constraint?

Let, $m=1,2,\cdots,M$  $b_{m}$ is a binary variable  $c_{m}$ is a continuous variable  I have an IF-THEN constraint like this  IF $a_{m}=1$, THEN $f_{m}> 0$  IF $a_{m}=0$, THEN $f_{m}=0$


How to calculate area of shapefile with a merged layer

so i have 'save as''d the new project and layer with my new Custom CRS project string being '+proj=laea +lat_0=70 +lon_0=0 +x_0=0 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs'.   However when I calculate area using the field calculator the numbers still don't make sense. Some of them are even in the negative. I have included a screen shot of the layer I am trying to calculate area for. Please note the column titled 'Area_Km2' are the original areas and the column titled 'Area m2' are the new areas which I am trying to calculate.   FYI I am working with a merged layer and I only clipped area in one row namely that titled 'Va2', It should be the only one with changed values. I am assuming the area will be in meters from the definition string.


How does the scope of javascript variables work?

I'm trying to understand the scope of variables in javascript when it comes to web-pages. For example, if I have let's say an index.html and I define two scripts  script One  var x = 2   script Two  var y = x   Would this work? Do both scripts work from a global pool of variables or are they each given their own space to work in?


A phrase to describe when a person is faced with 'a tough decision'?

I am translating a novel, and have reached a point where I am in doubt of how to translate it. The main character stands in a situation, where she has to make a tough decision. Which phrases could be used in English to express this? If, rather than a figure of speech, it could be a physical action, that would be preferred, but anything will do.


I think this is quite a simple question, but for some reason am finding it difficult to answer. The question is:  If $(f_n:n\in\mathbb{N})$ is a sequence of integrable functions, with $f_n \to f$ a.e. for some integrable $f$, then is it true that if $\|f_n\|_1 \to \|f\|_1 $, then $\|f_n-f\|_1\to 0$.  Any help is very good!


How can I implement an ip whitelist to protect my server?

I'm going to start running a gameserver soon and I want a way to reduce the the damage of a denial of service attack.  I want to make it so when someone joins the game their ip adress is added to a textfile (can already do this) and In the event of an attack I can simply use the text file as a whitelist and only allow connections to the server from the IPS that have joined the game in the past. Therefore allowing any user that has played before to join during an attack.  The server is running centOS. Is there anyway I can create a script that I can execute during and after an attack to enable/disable protection?  Or could anyone provide me with a command that uses iptables or whatever it is to whitelist a specified IP and a command that can pipe lines from a text file for use in this situation.  I am not very experienced at all with this kind of thing.  Thanks in advance.


Gaussian Minimizes Uncertainty - Statement Qualification

On the last page of , the following statements are made (I'll jump right to around the point of interest):  Example: Consider $A=p_x$, $B=x$. Then  $$\langle A\rangle=\langle B\rangle=0;\,\,\,\Delta A=\sqrt{p_x^2},\,\,\,\Delta B=\sqrt{x^2}$$ $$[x,p]=i\hbar\implies C=\hbar=\langle C\rangle$$ $$\Delta p_x \Delta x \geq \frac{\hbar}{2}$$ For the minimum uncertainty state we have, $$p_x\psi = \frac{i\hbar}{2(\Delta x)^2}x\psi \tag{1}$$ With $p_x=i\hbar\frac{d}{dx}$, the solution to the differential equation gives $$\psi(x)=\frac{1}{\sqrt[4]{2\pi(\Delta x)^2}}e^{-\frac{x^2}{2(\Delta x)^2}}$$  It's clear that notation is being abused like Matilda, but putting that aside I can't see where equation $(1)$ came from. This looks like a good proof that Gaussians make HUP into an equality, so I would very much appreciate if you could help point me in the right direction.


Dynamic Number of Columns in Pivot Table

I have a table to store StudentID, SubjectID, ObtainedMarks. Now I have to create a pivot table to show studentID and obtainedMarks in different subject. Number of subject may differ. I could generate pivot table for fixed subjectID like    SELECT * FROM (SELECT StudentID, SubjectID, ObtainedMarks from [Exam].[ObtainedMarkEntry]) as InvoiceResult PIVOT (     sum(ObtainedMarks) for [SubjectID] in  ([1],[2],[3],[4]) )as finalResult   This works but problem is 1,2,3 is not static it should come from same table   So I did something like   declare @minvalue int, @maxvalue int declare @myArray varchar(max) set @MyArray=''  select RowID=IDENTITY(int, 1,1), SubjectID into #tempSubject from [Exam].[ObtainedMarkEntry] select * from #tempSubject set @minvalue = (select min(RowID) from #tempSubject) set @maxvalue = (select max(RowID) from #tempSubject) while (@minvalue<=@maxvalue) begin     declare @sid nvarchar(10)     set @sid=(select SubjectID from #tempSubject where RowID=@minvalue)     set @myArray= @myArray + '[' + @sid + '], '      set @minvalue= @minvalue+1 end set @myArray= SUBSTRING(@myArray,0,len(@myArray)) drop table #tempSubject  declare @q as nvarchar(max) SELECT * FROM (SELECT StudentID, SubjectID, ObtainedMarks  from [Exam].[ObtainedMarkEntry]) as InvoiceResult PIVOT (     sum(ObtainedMarks) for [SubjectID] in  (@myArray) )as finalResult   Now I am getting error at in(@myArray) can't I assign variable in this section.


How to insert the picture to the right of this text?

I would like to insert the below image in the right of the text. Just as in the below picture:    The image I would like to insert is    The sample code of my LaTex is  % \documentclass{beamer} \usecolortheme{beaver} \usefonttheme{structurebold} \title{Project 1: EM algorithm}  \usepackage{parskip,listings,dsfont,bbm,geometry,parskip,xcolor,latexsym} \usepackage{graphicx,amsmath,amssymb,mathtools,amsthm,array,wrapfig}  \begin{document}    \frame{ \frametitle{Single Imputation by \textbf{ImputeTestData} package}  With \textbf{ImputeTestData} package, method EM is used:  \begin{itemize} \item Execution time: $28.93$ sec \item Estimated bias : $-2.217083e -03$ \item Estimated variance: $2.179828e -07$ \end{itemize}  However, all filled missing values are rounded so we have the same results for both default setting or add prior from complete data.  If we use $waget$ instead $lwaget$, the result is different and better for data set using the prior data.}  \end{document}   Could you please help me insert the picture to the right of the text in LaTex?  Thank you so much!


I have a doubt about if what I want to do is possible. I have three classes A, B y C. B extends A and C extends B.  C -> B -> A.  In C class, I want to call a method directly of A class. Something like  super.super.method();   do I have any chance of do it?  The Reason:  A and B are system classes. I am trying to make B handle some situations in a different way and I have accomplished it except for one method. In other methods what I did is to override them and pass the arguments modified.  Now I have a method that I cannot solve just modifying the arguments so I want to fully override it.  B  @Override public void draw(Canvas canvas) {     super.draw(canvas); // A method     ** other stuff ** }   What I want to do in C  @Override public void draw(Canvas canvas) {     super.super.draw(canvas); // A method     ** new stuff ** }


A chevron above a consonant, like a tilde

I want to put a wedge above a character, like a tilde can place, over an "S" or a "K".  The MWE:  \begin{equation} \begin{split} K_{ij}=\^{K}_{i,(1+j-i)} \qquad \text{para} \qquad i & =1,2,...,\text{NGDL};\\ j & = i,i+1,...,\text{SAB}+i \leq \text{NGDL}\\  \end{split} \end{equation}   The K shows without the chevron.


Here's problem $6$ in Chapter $1$ in the book Principles of Mathematical Analysis by Walter Rudin, $3$rd edition:   Fix a real number $b$, such that $b > 1$.   $(a)$ If $m, n, p, q$ are integers, $n > 0$, $q > 0$, and $r = m/n = p/q$, then (I've managed to show that)   $$\left( b^m \right)^{1/n} = \left( b^p \right)^{1/q}.$$  Hence it makes sense to define  $$b^r \colon= \left(b^m\right)^{1/n}.$$  $(b)$ (I've also managed to show that) for any rational numbers $r, s$, we have  $$b^{r+s} = b^r b^s.$$  $(c)$ For any real number $x$, define the set $B(x)$ as follows:  $$B(x) \colon= \left\{ \ b^t \ \colon \ t \ \mbox{ is rational}, \ t \leq x \ \right\}.$$  We can then prove that   $$b^r = \sup B(r)$$  when $r$ is a rational number.   Hence it makes sense to define   $$b^x \colon= \sup B(x) = \sup \left\{ \ b^t \ \colon \ t \ \mbox{ is rational}, \ t \leq x \ \right\}$$ for every real number $x$.   $(d)$ How to prove (USING THE MACHINERY DEVELOPED HERE) that $$b^{x+y} = b^x b^y$$ for all real numbers $x$ and $y$?  I've already posted this question. . However, none of the answers there seems to work for me.    My Work   Let  $X, Y$ be any two non-empty subsets of $\mathbb{R}$. Then we have the following facts:   $(1)$ If $X \subset Y$ and if $Y$ is bounded above in $\mathbb{R}$, then so is $X$ and we have the inequality $$\sup X \leq \sup Y.$$  $(2)$ If $X, Y$ are non-empty subsets of the set of non-negative real numbers and if both $X$ and $Y$ are bounded above, then so is the set  $$\{ \ xy \ \colon \ x \in X, \ y \in Y \ \};$$ moreover, we have the identity  $$\sup \{ \ xy \ \colon \ x \in X, \ y \in Y \ \} = \sup X \cdot \sup Y.$$  Thus,  $$\begin{align} b^x b^y &= \sup B(x) \sup B(y) \\ &= \sup \{ \ b^r \ \colon \ r \in \mathbb{Q}, r \leq x \ \} \sup \{ \ b^s \ \colon \ s \in \mathbb{Q}, s \leq y \ \} \\ &= \sup \{ \ b^{r+s} \ \colon \ r \in \mathbb{Q}, \ s \in \mathbb{Q}, \  r \leq x, \ s \leq y \ \}. \end{align}$$  But if $r \in \mathbb{Q}$, $s \in \mathbb{Q}$, $r \leq x$, and $s \leq y$, then the sum $r+s \in \mathbb{Q}$ and $r + s \leq x + y$ also. So   $$ \{ \ b^{r+s} \ \colon \ r \in \mathbb{Q}, \ s \in \mathbb{Q}, \  r \leq x, \ s \leq y \ \} \subseteq \{ \ b^t \ \colon \ t \in \mathbb{Q}, \ t \leq x+y \ \}.$$ Therefore,  $$\begin{align} b^x  b^y &= \sup \{ \ b^{r+s} \ \colon \ r \in \mathbb{Q}, \ s \in \mathbb{Q}, \  r \leq x, \ s \leq y \ \} \\ &\leq \sup \{ \ b^t \ \colon \ t \in \mathbb{Q}, \ t \leq x+y \ \} \\ &= \sup B(x+y) = b^{x+y}. \end{align}$$  Now we have to show that  $$b^x  b^y \geq b^{x+y}.$$  Case I. When $x+y$ is irrational:   If $t$ is a rational number such that $t \leq x+y$, then since $x+y$ is irrational, we can also conclude that $t < x+y$.   So we can find a rational number $r$ such that  $$ t-y < r < x.$$  Then   $$t-r < y < x+y -r.$$  Let's take $s \colon = t-r$. Then $s \in \mathbb{Q}$. And $s < y$.   Thus, we have written $t$ as $t = r + s$, where $r, s \in \mathbb{Q}$, with $r < x$, $s < y$.   So, when $x + y \in \mathbb{R} - \mathbb{Q}$, then we have   $$\begin{align} b^{x+y} &= \sup B(x+y) = \sup \{ \ b^t \ \colon \ t \in \mathbb{Q}, \ t \leq x+y \ \} \\ &= \sup \{ \ b^t \ \colon \ t \in \mathbb{Q}, \ t < x+y  \} \\ &= \sup \{ \ b^{r+s} \ \colon \ r \in \mathbb{Q}, \ s \in \mathbb{Q}, \ r< x, \ s < y  \}  \\ &= \sup \{ \ b^r b^s  \ \colon \ r \in \mathbb{Q}, \ s \in \mathbb{Q}, \ r< x, \ s < y  \}  \\ &= \sup \{ \ b^r \ \colon \ r \in \mathbb{Q}, \ r < x \ \} \sup  \{ \ b^s \ \colon \ s \in \mathbb{Q}, \ s < y  \} \\  &\leq \sup \{ \ b^r \ \colon \ r \in \mathbb{Q}, \ r \leq x \ \} \sup  \{ \ b^s \ \colon \ s \in \mathbb{Q}, \ s \leq y  \} \\  &= \sup B(x) \sup B(y) \\  &= b^x b^y. \end{align}$$  Case II. What if $x + y \in \mathbb{Q}$?   In this case, we can conclude that both $x$ and $y$ are irrational.   How do we proceed with showing the remaining reverse inequality in this particular case?


About Cantor set: Cantor set + Cantor set

Let us have the well-known Cantor set. We know that the Cantor set has continuum amount of numbers in the interval $[0,1]$.   Here is the thing that I need to prove: Prove, that every $x \in [0,2]$ can be written in the form $a+b$, where $a$ and $b$ are part of the Cantor set.  Edit: If I prove that Cantor set + Cantor set $= [0,2]$, is that a good solution as well?  My idea:  We can write all the elements of Cantor set instead of decimal, in 3-based number system. In this way, every number of the Cantor set has the form $0,abc...$ but it doesn't contain the digit 1, since I deleted that part of the numbers. Now, with this form, I am able to make the Cantor set $ \Rightarrow\ [0,1]$ bijection, which means I am able to write down every $x \in [0,1]$ number with the elements of Cantor set. From this part, I can pick any $a,b\in[0,1]$ and with them I can cover the interval $[0,2]$ as well.  Is my proof correct, or what you think about this task? Anything can help! :)


Is the observable region of the universe within the event horizon of a super-massive black hole?

Observations:   I have read that for a free-falling observer within the event horizon of a black hole that all lines of sight will end at the singularity which is black. I also look up and see that the sky is mostly black. I also know that by measuring the red-shifts of the galaxies that they are all accelelerating towards that blackness. (rather than accelerating away from a big-bang event, which makes less intuitive sense) The red-shifts are greatest for those galaxies closest to the singularity (i.e. furthest away from us).   I therefore conclude from these consistent observations that all the matter in at least the finite observable region of the universe in which we are located, is accelerating due to gravity towards the singularity of a super-massive black hole.  In the spirit of good science I will happy accept being wrong, but I need to understand why I am wrong.  Predictions from the theory:  The light from the universe outside the event horizon of the black hole should be visible as a small disc or point light source in the direction facing away from the singularity. Of course, if this happens to be inconveniently located on the far side of the milky way's core from us, then we will be unable to observe it.  Further Speculations:  It may be that in regions of the universe far ouside the influence of this black hole (e.g. >50 billon light years away) that the sky is white hot due to Olber's paradox.  The black hole may have been formed from a large quantity of anti-matter, which might explain the local perponderance of ordinary matter.  The microwave background radiation may be a result of Hawking radiation at the event horizon (which we are viewing fromn the inside), or, depending upon the non-euclidian geometry, we may be observing the result of matter being destroyed at the singularity.


Are cover letters sent to referees and should you highlight the contribution of your paper in the cover letter?

How to write a cover letter to journal when submitting a manuscript?   In the letter, it is expected that I propose 5 referees. Is this the only reason to write a cover letter? Will the cover letter be sent to the referees or only to Journal's staff? I feel reluctant to praise my contribution in the cover letter. The article should defend it itself. Is the praising important part of the cover letter? Is it required?


what is the difference between .function() and a function(args) in javascript

I have a question i have always written functions in javascript for returning or setting values of other elements like so:  function test(x, y){    return x*y; }   and call the function like so:   test(20, 50);   but in libraries like jquery you also see functions like so:  var test = something.test();   so my question is what is the difference between the following functions .test() or test() or are they the same and how is this other way of writing a function called?  and how do you write a .function()   Hope to learn something new, sorry if this is a bit random but i am just very curious.


Weak solutions to the Neumann's problem (Evans PDE)

Let $U$ be connected. A function $u \in H^1(U)$ is a weak solution   of Neumann's problem   \begin{equation} (*)\qquad\left\{ \begin{array}{rl} -\Delta = f & \text{in } U \\ \frac{\partial u}{\partial \nu} = 0 & \text{on } \partial U \end{array} \right. \end{equation}   if   $$ \int_U Du \cdot Dv \; dx = \int_Ufv \; dx $$   for all $v \in H^1(U)$. Let $f\in L^2(U)$. Prove $(*)$ has a weak solution   if and only if   $$ \int_U f \; dx =0. $$   For the only if part I set $v=1$. However I do not see where to start the if part. I was thinking of the Lax-Milgram theorem. That's where I'm now.


Answer draft deleted without warning when signing up

I recently saw a question I wanted to answer, so I typed out an answer in the answer box. After I finished writing it, I realized I couldn't post it because I hadn't created an account on that stack yet. I clicked the button to create an account on that stack and got no warning about navigating away from the page. When I returned to the question I found about 2/3 of my answer text was deleted from the text box.  Usually, I get a warning when navigating away from a page with an unposted answer, so I assumed here when I got no such warning that my answer would be saved for me. So it seems like something is not working right in this instance. Either I should have gotten a warning when clicking to create an account, or else my answer should have been properly saved as a draft before I left the page.  I'm running Chrome (version 79.0.3945.130) on Windows 10.


How to list files installed by a snap package?

After a snap has been installed with sudo snap install [package] how can I list the files which have been installed by the snap?


Added vertical space on first page if starting with an equation

Consider this simple MWE:  \documentclass{article} \usepackage[a6paper,showframe]{geometry} \setlength{\parindent}{0pt} \begin{document} Hello world \end{document}     This is all fine. But if I start the document with an equation, then there is some added vertical space. Does anyone know what is causing this? I'm guessing there is some \vskip command in a .cls file where this is being defined?  \documentclass{article} \usepackage[a6paper,showframe]{geometry} \usepackage[fleqn]{mathtools} \setlength{\mathindent}{0pt} \begin{document} \begin{equation*} \text{Hello world} \end{equation*} \end{document}


How can I call body.onload when using modules?

Extract from HTML file:

              ...   ... where start is an exported method in the file start_run.js.  With no type="module" it works. After I include it I get "start is not defined".   I find that it is possible to do this in the .js file:  document.body.onload = function( param ){     start( 'box1' ); }   This then runs as expected on load. But then I find that I have no obvious way for the HTML file to call this function with a parameter of its choosing.   NB I've also tried putting this as an inline attempt:     ... but that gives the error "import declarations may only appear at top level of a module".  What might I do about this?   Edit  As I understand it from ClearPerformance's answer referenced in their comment, this may then be the way to pass a parameter out:     ... though I can imagine that's probably terrible global pollution practice.


I didn't find this anywhere: who is doing the peer review of edits?


How do I get wires in fallout 4 to connect them to my generators

I am trying to obtain electrical wires to connect to my generators, but I can't figure out how. How do I connect wires to generators in Fallout 4?


Is there a way to manually place labels in QGIS?   I have a map which has almost-duplicate labels in some places (e.g. E 1st St and 1st St) and I'd like to remove some of them.   Also, I'd like to move some of the labels around and maybe label some features that aren't currently.   I'm using new labeling, with the labels curved along the features.


How to tell which variable is perfectly separated in R

I am running a logistic regression model in R using glm. I received a warning that complete separation occurred. How do I determine which variable is causing this? R doesn't tell you what variable is the issue.


Let's take a bottle (no cap) with half its volume filled with water. If we rotate the bottle at some slower average velocity, water does not drop out of it. The same principle works on . Wikipedia says that the phenomenon of  is used here. What is the physics behind this? (I mean, Which opposes or equilibrates gravity during the vertical loop?)


Can't connect to a specific WiFi network (Ubuntu 14.04)

I'm using Ubuntu 14.04 on my laptop and I can't connect to a specific WiFi networks. I managed to connect to others wifi networks in the past without any problem, and other devices (another laptop with Windows 7 and some Android smarthphones) were also able to connect to this WiFi network. Furthermore, this laptop can connect to the same router through the ethernet cable. So, as a resume, the problem is just between this particular device and this particular WiFi network.  Any hint about what may be happening?  I already tried solutions proposed on these questions but it didn't worked:     It seems that I don't have the iwlwifi but the wl instead. I also tried following those steps but replacing "iwlwifi" with "wl" but nothing.  Edit:


Just out of curiosity, there are dozens / hundreds of tutorials helping you setup a Dovecot - Postfix mail server. On the surface, both of them are email servers, why use both? Mail servers are complicated enough, why have 2 things to manage and troubleshoot?   Makes about as much sense on the surface as running CentOS inside Ubuntu and always wondering why ./configure is confused :)       Dovecot is an open source IMAP and POP3 email server for   Linux/UNIX-like systems, written with security primarily in mind.   Dovecot is an excellent choice for both small and large installations.   It's fast, simple to set up, requires no special administration and it   uses very little memory.        What is Postfix? It is Wietse Venema's mail server that started life   at IBM research as an alternative to the widely-used Sendmail program.   Now at Google, Wietse continues to support Postfix.   I did read this thread:  but it only provided information about Dovecot and not Postfix.  I followed one of those many guides and got it all working with TLS authentication to Postfix and ISPConfig, then realized at the end that I really never had to touch Dovecot, but wasn't sure if it had to be there for the spam filters, antivirus or some other thing I am not thinking of, but in general it seems that any time you have an "extra" service running you are opening yourself up to attacks and vulnerabilities and would of course love to reduce those.


Send message to author without showing email address

I'm trying to find a way to send via a simple form a message to an author (from frontend, everyone can message) without having the author email address visible in html.   Do you know if there is a plugin to manage that or we have to manually code a php function?  Thanks


Linking two theorems: on algebraic closure and on minimal splitting field

Consider following two statements from same book of Cohn: Basic Algebra.  Proposition : If $k$ is any field and $\mathcal{F}$ is a set of polynomials over $k$, then any two minimal splitting fields for $\mathcal{F}$ over $k$ are isomorphic. Theorem: If $k$ is any field then $k$ has algebraic closure and any two algebraic closures are isomorphic.  My question is, if we take $\mathcal{F}$ to be set of all the monic irreducible polynomials over $k$, then by 7.3.2, doesn't it imply that any two algebraic closures are isomorphic? Further, just after Theorem 7.3.2, the author gives also the existence of minimal splitting field for $\mathcal{F}$ (it is not visible in link). Then doesn't it imply that algebraic closure of any field exists and is unique up to isomorphism? In other words, I was thinking that Theorem 7.3.2 and existence of minimal splitting field actually gives proof of theorem 11.8.3 above. Why it was differently stated and proved I didn't understand. Are these two theorems really different?


Why change the sign of the integral when switching the limits of integration?

So I'm refreshing on integration and venture across a property of definite integrals I've been taking for granted for quite some time:  \begin{equation}\int_{a}^{b} f(x) \mathrm{d}x =-\int_{b}^{a} f(x) \mathrm{d}x \end{equation}  Stewart's Calculus claims this property is owed to $\Delta x= \dfrac{b-a}{n}$, where $\Delta x$ becomes negative when you flip $a$ and $b$. If this is true, then it would be true for the (I know it's not the exact) definition of a definite integral:  $$\int_{a}^{b} f(x) \mathrm{d}x =\lim_{n \to \infty} \sum_{i=1}^{n}f(x_i^*)\Delta x$$  So I just did a quick verification of a simple definite integral of $x^2$ from $0$ to $1$. Using the Riemann sum definition I got $1/3$ and switching the limits of integration I got $-1/3$ as expected. However, I noticed that if you take $\Delta x$ to always be positive, in the sense that it's a width of a rectangle and couldn't possibly be negative, then the answer either way would be $1/3$. Which, in conclusion, brings me back to my question: wouldn't it be simpler to take $\Delta x$ as a distance or width (always positive) and eliminate this property of integrals? Leaving us with:  $$\int_{a}^{b} f(x) \mathrm{d}x =\int_{b}^{a} f(x) \mathrm{d}x$$  To me this makes more sense, because the area under a curve should be maintained when calculated from any direction.


To Show that $\exp(tX)\exp(tY)= \exp(t(X+Y)) + (1/2)t^2[X, Y] +o(t^3)$

Problem 20-9 in Lee's Introduction to Smooth Manifolds (2nd Ed.) asks to prove that for a Lie group $G$, and for $X, Y\in \text{Lie}(G)=\mathfrak g$, there is $\epsilon>0$ and a smooth map $Z:(-\epsilon, \epsilon)\to \mathfrak g$ such that   $$(\exp tX)(\exp tY) = \exp\left(t(X+Y) + \frac{1}{2}t^2[X, Y] + t^3 Z(t)\right)$$   What we want to show is that the first and second term in the Taylor expansion of $\exp^{-1}\left((\exp tX)(\exp tY)\right)$ are $t(X+Y)$ and $\frac{1}{2}t^2[X, Y]$ respectively.  Calculating the first term is easy since we just need to differentiate $\exp^{-1}((\exp tX)(\exp tY))$ with respect to $t$ at $t=0$ once, and this gives the desired result.  But for the second term we need to take the second derivative at which I am stuck.


What is the "Free software only" option when installing Ubuntu?

When installing Ubuntu, you get a Free software only option.  Does that Free software only  option mean Free as in beer  or Free as in freedom?  When I say free as in freedom, I mean  type of freedom.    Image source:


Replacing two patterns in a text files at the same time


How do I enforce a password complexity policy?

I need to configure an Ubuntu server to follow a strict company password policy that specifies the following:   at least one upper case at least one lower case at least one digit at least one special character   I've had a look around and all I have found is the  for specifying the password length; but, I have yet to find something that relates to specifying the content of the password regarding the above points.  Any help would be appreciated.


How to set up a post word limit for a custom post type

I'm not trying to set the exerpt for a custom post type, but a word limit in the admin of my custom post type.  I have just set up a custom post type:  add_action( 'init', 'test_post_type' );  function create_post_type()      register_post_type(         'test_post_type',         array(             'labels' => array(                 'name' => __( 'test' ),                 'singular_name' => __( 'test' )             ),             'public' => true,             'has_archive' => true,         )     ); }   I would like to find out how to set a word limit for this custom post type, so when the publish button is clicked, it will display an error due to the amount of words going over the word limit.  I only know how to set up a word limit for the title on all posts:  function maxWord($title){ global $post; $title = $post->post_title; if (str_word_count($title) >= 15 ) // maximum of 15 words     wp_die( __('Your post title is over the maximum word count.') ); }  add_action('publish_post', 'maxWord');   I would like it the same as above, but a word limit on the tinymce post in my custom post type only.  Any help much appreciated.


I'be been using the longtable environment to construct the outlined below (This is only part of the data. The whole data runs over 4 pages and is much wider). The problem that I'm having is that the data runs over the right margin and I get the following error:    Overfull \hbox (605.54675pt too wide) in alignment at lines 12--40.    I've been told that there is no command which automatically adjust the table to fit in the page. However, I would like to know if    there is a way to decrease the distance between each column and  Make the font size smaller in the table so that all the columns fit in the page.    I've read the other posts that are similar to this question however I'm new to LaTeX and I'm having a hard time finding a solution to this problem. Can anyone help? Thanks  Alex  \documentclass{article} \usepackage{graphicx,booktabs,rotating,adjustbox,geometry} \usepackage{longtable} \usepackage{ltablex} \geometry{  a4paper,  total={170mm,257mm},  left=20mm,  top=20mm,} \begin{document}  \begin{longtable}{lllllll}  \toprule[1pt] & \multicolumn{4}{r}{Spectral Index} \\     \cmidrule(l{1pt}){4-5} \emph{MGI Symbols} & \emph{Protein Name} & \emph{UniProt Acc} & \emph{AveKI} & \emph{AveWT} & \emph{KI/WT Ratio} & \emph{Cluster}\vspace{5mm} \\\midrule  Title/Title\vspace{5mm}\\  $Amph$ & Amphiphysin & Q7TQF7 & 1.42E-06 & 0.00E+00 & KI Only & X6\\ $Bin1$ & Myc Box-Dependent-Interacting Protein 1 & O08539 & 1.20E-06 & 0.00E+00 & KI Only & X6\\ $Cltc$ & Clathrin Heavy Chain 1 & Q68FD5 & 5.88E-07 & 6.00E-08 & 9.80 & X6\\ $Dnm1$ & Dynamin-1 & P39053 & 1.97E-06 & 3.41E-08 & 57.76 & X6\\ $Nsf$ & Vesicle Fusing ATPase & P46460 & 3.43E-07 & 0.00E+00 & KI Only & X6\\ $Snap25$ & Synaptosomal-Associated Protein 25 & P60879 & 8.90E-06 & 3.27E-06 & 2.72 & B\\ $Stxbp1$ & Isoform 2 Of Syntaxin-Binding Protein 1 & O08599 & 1.22E-06 & 0.00E+00 & KI Only & X6\\ $Syt1$ & Synaptotagmin 1 & P21579 & 1.02E-05 & 4.81E-06 & 2.13 & B\vspace{5mm}\\  \vspace{5mm}\\\bottomrule  \hline  \end{longtable}  \end{document}


Let $F,G,H$ be groups such that $F\trianglelefteq G \trianglelefteq H$.  I am asked whether we necessarily have $F\trianglelefteq H$. I think the answer is no but I cannot find any counterexample with usual groups. Is there a simple case where this property is not true?


WD external hard drive got disconnected without eject

So my WD External Hard Drive wasn't ejected properly. It shows up in Terminal and Disk Utility, however it is unable to mount. When trying First Aid, I always get these results:  Repairing file system. File system check exit code is 8. Updating boot support partitions for the volume as required. An internal error has occurred. Operation failed…   When using diskutil list , these are my results   Cristians-MacBook-Pro:~ cristianmanuel$  diskutil list  /dev/disk0 (internal, physical):    #:      TYPE NAME                    SIZE       IDENTIFIER    0:   GUID_partition_scheme    *121.3 GB   disk0    1:     EFI EFI                     209.7 MB   disk0s1    2:    Apple_CoreStorage Macintosh HD        20.5 GB   disk0s2    3:    Apple_Boot Recovery HD             650.0 MB   disk0s3  /dev/disk1 (internal, virtual):    #: TYPE NAME                    SIZE       IDENTIFIER    0: Apple_HFS Macintosh HD   +120.1 GB   disk1   Logical Volume on disk0s2     A58A8705-F3C3-4ED1-AF90-18B03FE6F6C3                                  Unlocked Encrypted /dev/disk2 (external, physical):    #:  TYPE NAME       SIZE       IDENTIFIER    0:  GUID_partition_scheme    *4.0 TB     disk2    1:  EFI EFI              209.7 MB        disk2s1    2:  Apple_HFS Self Work    4.0 TB     disk2s2   What should I try next?


I recently upgraded to MacTeX 2016 but when I launch TeX Live Utility I have this message:     your tex live version is 0 but your default repository url appears to   be for tex live 2016. You need to manually upgrade to a newer version   of TexLive, as there will be no further upgrades to your version.   I tried to uninstall all versions of MacTeX and reinstall only the 2016 package but it keeps saying that. I am on version 1.24 of TLU. Maybe it doesn't point to the correct directory but I don't know what is the correct path.


I recently , and the  rejected it within a fraction of a second.  What causes this behavior, and what can one do to prevent it from happening?  Is this possibly related to me logging on from the computer next to the one I usually use?


How to get horizontal parts of an exercise?

My question is how may I specify that the parts to a question be typeset horizontally with the option to specify the amount of rows as well as shown below. It is also essential that the level of enumeration inside the exercises start with lowercase letters (not numbers).


Is it possible to call functions from arrays in C?

When I was making my terminal i was wondering if I can call a function by array. (This code is not done yet so please code is a bit messy.)  #include <stdio.h> #include <stdlib.h> #include <string.h> #include <windows.h> #include <unistd.h> #include <limits.h> #define true 1 #define false 0 typedef int bool;  /* Static */ static char Input[CHAR_MAX]; static char CurrentDirectory[CHAR_MAX]; static char *Command; static char *Argument; static char *Commands[]={"test","test2"};  /* Functions */ int Check_Command(); int test(); int test2(); /* --------- */  int main(){     printf("#######################\n\tterminal\n\tType \"help\" for the list of commands\n#######################\n");     prompt:     printf(">");     fgets(Input,CHAR_MAX,stdin);     int res=Check_Command();     if(res==0){printf("Unknown Command!\n");}     goto prompt; } /* Check_Command() function returns 0 if doesn't suceed and returns 1 of it suceeds */ int Check_Command(){     //Since input variable is static, no need to send in arguments     Input[strcspn(Input,"\r\n")]=0;     Command=strtok(Input," ");     Argument=strtok(NULL," ");     int x=0;     while(x<sizeof(Commands)){         if(strcmp(Command,Commands[x])==0){             Commands[x](); <----- Can I call a function like this?             return 1;         }         x++;     }     return 0; }  /* Commands */ int test(){     printf("Success!\n");     getchar();     exit(0); }  int test2(){     print("Success [2] \n");     getchar();     exit(0); }   If this possible then this would be lit, Im too lazy to make commands into a executable and using if statements for all commands.  if you are too lazy to read the whole code here is a basic concept (UNTESTED):  static *Commands[]={"test","test2"}; int main(){     char *Command="test";     int x=0;     while(x<sizeof(Commands)){         if(strcmp(Command,Commands)==0){             Commands[x]();         }         x++     } } int test(){    printf("Hi"); } int test2(){     printf("hey"); }   Edit:     static char Commands[]={test,test2};  DOES NOT WORK   This also includes the "possible duplicate" answer. (Im using Mingw, Windows 10)


How do I log all input and output in a terminal session?

How do I keep logs of all the work done via terminal? For example, I want a record of all the work done on database via terminal.


Storing Photos library on Time Machine external hard drive with partitioning

I have a Photos library on my Mac, which I want to move to an external hard drive in order to save space on my computer's internal hard drive.  I want to move the library to the same drive I use for Time Machine backups.  However, this link says it cannot be done: .        You can't move your library to a disk that's used for Time Machine backups.      But I assume that means the same volume. If I were to add a second partition to the disk, just for file storage – leaving the first partition for Time Machine backups – would I be able to move the Photos library to this second partition, as well as other files like iTunes library and documents?


After installing Ubuntu 16.04 LTS from USB drive to unallocated space on my hard disk, when I reboot the computer it boots directly into Windows 10 without showing a dual boot option.  I followed the instructions given here: . I had previously set UEFI to legacy BIOS and reinstalled Windows 10 together with Windows 7.   I then decided to install Ubuntu. I have reinstalled Ubuntu several times but I still cannot create a dual boot option on restart.  Does anyone have a solution for this problem?


What does "application/json'" really mean

I don't know application's mean in "application/json", and can I replace it with "text/json". so application = text ?


I am experience an annoying trouble in beamer:   When I open the generated PDF in presentation mode there is an annoying transition between slides that last half a second and makes the slides look like not on focus.   Which command should I use to remove this effect? I do not want any form of transition from a slide to another.


Terminal Login Screen Language between SSH and Telnet

on the login screen of a CentOS 7, when changing password is enforced with an ssh terminal I have two different languages:  login as: user1 user1@192.168.0.20's password: You are required to change your password immediately (root enforced) Last login: Mon Aug 19 14:24:21 2019 from srvfw01.dummy.lan WARNING: Your password has expired. You must change your password now and login again! Ändern Passwort für Benutzer user1. Ändern des Passworts für user1. (aktuelles) UNIX-Passwort:   In the telnet session the login looks like this:  srverp01 login: user1 Password: You are required to change your password immediately (root enforced) Changing password for user1. (current) UNIX password:   Both environments show:  >env |grep LANG LANG=de_DE.UTF-8   How can I change the whole message block to German language for telnet and ssh login?  Thank you!


I'm using mainly blender for video editing usually, (and virtualdub). (yes i know it takes a bit more time, but i prefer the finer blender control) Recently I started to use 2.8 for video editing. I kinda wonder how one might create a fast forward effect. ea start at 30fps, then smoothly go to 90fps and smoothly back to 30 fps. I have some footage that contains a bit boring period, (drone flight), but i cannot realy cut it out either (that brakes the flight route, i dont want that).


Run Ubuntu ISO live image from Windows BIOS - no USB or DVD

How to run the Ubuntu ISO live image from Windows without USB or DVD?  This is a self answered question.


Is it possible to print the content of the content of a variable with shell script? (indirect referencing)

Let's suppose I've declared the following variables:  $ var='$test' $ test="my string"   If I print their contents I see the following:  $ echo $var $test  $ echo $test my string   I'd like to find a way to print the content of the content of $var (which is the content of $test). So I tried to do the following:  $ echo $(echo $var) $test   But here the result is $test and not "my string"... Is it possible to print the content of the content of variables using bash?


Not a duplicate. I've tried the suggested post, it still doesn't work.  I have a page which allows me to select some users from a list of available users which is listed in a div

Available users

Roddy

Robert

Bob

John

   When the user clicks on one of the user in the div elements it moves into another section as a selected user and removes it from the list of available users

Selected

   I use the following code to do this  $("#external-events .fc-event").click(function(){     var title = $(this).text();     $("#imyevent").append("
"+title+"
");     $(this).remove(); });   The issue I have is now, if the person made a mistakes he/she clicks on the selected user and the selected user chosen returns to the available user section. I thought it would have been as simple as using this  $("#internal-events .fc-event").click(function(){     var title = $(this).text();     $("#emyevent").append("
"+title+"
");     $(this).remove(); });   But I'm obviously doing something wrong since it isn't work. Can somebody help please.  Thanks, Roddy


Im writing a class for a card that takes in two string parameters,   When I check the string if it's an "a" it throws the NumberFormatException error.  Card(String s, String  f)  {     suit = s;     if(f == "a")     {         value = 11;     }      else if (f == "j" || f == "k" || f == "q")     {         value = 10;     }      else     {         value = Integer.parseInt(f);     }     face  = f;  }


can I put a double 50 amp pole in a 100 amp box


How to detect using c# if a pendrive is plugged into a USB port?

Is there a way to find out when in a LAN anyone plugs in a pendrive to the USB port?  Programatically (in C# preferably) or through some tool. Basically I'd imagine a client application sits on each terminal and monitors the USB ports and sends the information to the server.   a.) Can I get the details of the file(s) being copied? b.) Is there a way to do this without a client application?   EDIT  I dont want to disable the USB port entirely. its to be on a need to have basis. Basically just want the users on the LAN to share data responsibly and know that whatever data is tranfered is monitored and logged and can be questioned later.


When abbreviating "full-time and part-time day care" to "full and part-time day care" should the word 'full' also be hyphenated even though the paired word is not stated - e.g. full- and part-time day care'? Please advise Thanks


Prove that the condition number of an invertible matrix must be at least 1.Please provide what matrices have condition number equal to 1?


I would like to set a page that has a height of 6 meters. The following code fails.  \documentclass{article} \usepackage[paperheight=600cm]{geometry} \begin{document} \end{document}   The error message is:  /usr/local/texlive/2017/texmf-dist/tex/latex/geometry/geometry.sty:995: Dimensi on too large. <to be read again>                     \relax  l.995 \Gm@process   My code compiles fine with 500cm instead of 600cm. Therefore, what I am asking for should be possible. Is there a way to increase the limit or a better to achieve the goal?


Does anyone have any idea what this kind of illustration is called, if it can be created with Adobe Illustrator or Photoshop and how?


Is there a geometric reason why two merging black holes never “decay” into two separate black holes

All black hole mergers seem to result in one Kerr black hole after ring-down.   Could it be possible, that two initial black holes with two separate event horizons form an “intermediate compound state” with one event horizon, which - at a later time - “decays” in two final black holes?  I know that the answer to this question is “no” when applying Bekenstein-Hawking entropy where the decay would violate the second law which postulates $dA/dt > 0$.   And the answer seems to be “no” when relying on numerical relativity for black hole mergers.  My question is if there is a more elegant, geometrical proof following entirely from general relativity, which rules out such a decay.  Thanks


What is the largest perfect square that divides $2014^3-2013^3+2012^3-2011^3+\ldots+2^3-1^3$


How to install driver for Broadcom Dell Wireless 1390 WLAN Mini Card


How to mount an external drive read only on the first try

How do you setup the Mac to mount the next disk you connect (through USB for example) to mount read only?    My goal is to access a disk without making any changes to it so mounting it read/writing and then changing it to read only does not work.    I can imagine two forms of solution to this question:     mount all disks read only or  don't automatically mount disks that are connected.  In the 2nd solution you could then use a terminal command to mount it read only.


Total Variation and indefinite integrals

Suppose $f$ is Lebesgue integrable on $[a,b]$ and $F(x) = \int^x_a f(t) dt$, $x \in [a,b]$. Show that $F$ has bounded variation, and the total variation $T^b_a(F)$ satisfies $$ T^b_a(F) = \int^b_a |f(t)|dt. $$  Now, here is what I have so far. Show $F$ is of BV is simple: let $a=x_0 < x_1 < \dots < x_k=b$ be any partition/subdivision of $[a,b]$. Then  $$ \sum^k_{i=1} |F(x_i)-F(x_{i-1})| = \sum^k_{i=1} \left|\int^{x_i}_{x_{i-1}} f(t) dt\right| \leq \sum^k_{i=1} \int^{x_i}_{x_{i-1}} |f(t)| dt = \int^b_a |f(t)| dt. $$ Thus $T^b_a(F) \leq \int^b_a|f(t)| dt < \infty$. Therefore $F$ is of bounded variation.   On the other hand, I also know that $F$ is an indefinite integral iff $F$ is absolutely continuous. This would have also implied $F$ is BV since AC $\Rightarrow$ BV. I also know that if $F$ is BV, then $F'$ exists a.e.(almost everywhere). I also have an old homework question I did which showed $F'=f$ a.e. with the assumptions from the start. Thus all I need is that $\int|F'| \leq T^b_a(F)$.   I think this works: for every $x \in [a,b]$, we know that $F(x) = P^x_a(F) - N^x_a(F) + F(a)$; P and N are the positive and negative variations respectively. Then $\dfrac{d}{dx} [F(x)] = \dfrac{d}{dx}[P^x_a(F)] - \dfrac{d}{dx}[N^x_a(F)]$ a.e. Thus $|F'| \leq \dfrac{d}{dx}[P^x_a(F)] + \dfrac{d}{dx}[N^x_a(F)] = \dfrac{d}{dx}[T^x_a(F)]$ a.e. Finally  $$ \int^b_a |F'| \leq \int^b_a \dfrac{d}{dx} T^x_a(F) \leq T^b_a(F). $$ Assuming I can show anything I have stated and didn't show proof of, this looks like it works to me. Any comments would be greatly appreciated.


Javascript/jQuery decrementing an input date with datepicker

i'm am new in the site and new to programming to.. I want to know if there's a way to decrement one day from date picker and put in some field of a form, so farm i could take the server date and decrement, but i need decrement a input date from other field.  Here's what i have so far:  $('inp:dateEvent').change(function() {     var date2 = $('inp:dateEvent').datepicker('getDate', '-1d');      $('dateBeforeEvent').datepicker('setDate', date2); });   I already try to change the variables from place, nothing works!  Thanks for the help and sorry if i put the post in the wrong place or something like that.  P.S: If there's a way with sql, could work for me too!


How can I remove / change the "Open With" list?

I have one problem. Just look at image:   So I want to remove one of Dev-C++ IDE and Microsoft Visual Studio Version Selector (I've tried to install Microsoft Visual Studio and it doesn't works,and one of the Dev-C++ IDE too). But I don't know how to change that list. I am using Ubuntu 11.10.


Remove dash for repeated author in biblatex-chicago

for my seminar paper, I have to quote a scientific paper. This is the corresponding .bib entry:  @article{hochreiter1991untersuchungen,   title={Untersuchungen zu dynamischen neuronalen Netzen},   author={Sepp Hochreiter},   journal={Diploma, Technische Universit{\"a}t M{\"u}nchen},   volume={91},   number={1},   year={1991} }   In my bibliography, however, the scientific paper appears as follows     — . 1991. „Untersuchungen zu dynamischen neuronalen Netzen“. Diploma,   Technische Universität München 91 (1).   The problem is that the author is replaced by a dash. Does anyone know where the error in my bibtext is?


English and Double Abbreviation Possibilities

I've always wondered (and as a child caused quite a few frowns from my English teachers) working this out..  If we can abbreviate words like:   Would and Not to Wouldn't Could and Have to Could've   What stops intertwining the two examples to:   Could and Not and Have to Couldn't've   e.g.     Joe wasn't even there so he couldn't've been in that race.   I do apologise if this comes across as a really silly question…!  Regards,  Ade  update I've seen a good post (which has a few posts leading off of it) (thanks rathony), but what I was more looking for was the correctness "grammatically speaking". (Both American English and British English sides would be interesting to hear). Although many seem to say that it goes down well in literature, loads have even thrown in a few of their own double-abbreviations in the comments (chuckle), but I can't seem to get a definitive "these are the do's and don'ts of abbreviations and grammatical (written, not spoken) correctness"  update **Another few posts which show some "vague" examples, but I see no blatant iteration of "double plurals". I've seen questions, I've seen examples but no definitive answer as to whether it's correct or not.. Both there  Oxford Dictionary and Webster Dictionary make utterances of the double plurals, but there's no exact example...  ****Wouldn't've been more logical to post links to something directly related? (sorry, had to be cheeky and post that!)  To outline my question "Is the use of double plurals correct or not". i.e if were to teach English Language (British or American) to students, how would I define this?  (Sorry, This has plagued me since I was a teen! -- even got sent to the head-master for being a Smart-Alec lol!)... So any direction would be helpful! (Both British or American English help)


I'm trying to find $\lim_{n\to\infty}(\frac{1}{\sqrt{n^2+1}} + \frac{1}{\sqrt{n^2+2}} + ... + \frac{1}{\sqrt{n^2+n}})$.   I tried to use the squeeze theorem, failed. I tried to use a sequence defined recursively: $a_{n+1} = {a_n} + \frac{1}{\sqrt{(n+1)^2 +n+1}}$. It is a monotone growing sequence, for every $n$, $a_n > 0$. I also defined $f(x) = \frac{1}{\sqrt{(x+1)^2 +x+1}}$. So $a_{n+1} = a_n + f(a_n)$. But I'm stuck.   How can I calculate it?


What is the maximum RAM supported by the desktop and server editions?

I have just downloaded "ubuntu-14.04.1-desktop-amd64.iso" and "ubuntu-14.04.1-server-amd64.iso" through "".   Please can someone confirm the maximum RAM that is supported.  According to many sites, Maximum RAM supported by the OS  ubuntu-14.04.1-desktop : " 2^64 bytes " -- Kindly confirm  ubuntu-14.04.1-server : " 2^64 bytes " -- Kindly confirm


If, Else function not working - rock, paper, scissors game javascript

I'm brand new to learning to code and can't figure out why my below function is not working as intended.  I've searched through many other questions/answers but can't seem to find a solution that works. The goal of the below code is to have the computer choose from the array (rock, paper, scissors) and then to prompt the user to input their choice.  To see if what I had so far worked, without creating the full if, else function, I simplified it for now so that the user can only win in one scenario. Even if the computer chooses scissors and I input rock as the user which is supposed to be the winning combination - it always gives the "Hmm?" message....why?! I thought perhaps it's because compsChoice is a number, but I can't seem to figure out how to make it a string.  I tried the String() and .toString methods but they did not work - maybe I wrote the syntax wrong... <script>  function computerPlay() {  const gameInputs = ['rock', 'paper', 'scissors']; let compsChoice = [Math.floor(Math.random() * gameInputs.length)];  console.log(gameInputs[compsChoice]);  }  computerPlay();   function playRound (compsChoice, userSelection) { userSelection = prompt ("Rock, Paper or Scissors?");   // only alerts HMM no matter what... if (userSelection === 'rock' && compsChoice === 'scissors') { alert ('You WIN!'); } else { alert ('HMM?'); } } playRound(); </script>


Calculating Square root of decimal number manually.

In general, it will be difficult to compute the square root of a decimal number manually? Examples : 50.73 71.21 156.45


Can I do an external splice to my chandelier wire?

My ceilings are over 20 feet tall so I want to avoid renting scaffolding to replace the chandelier at the junction box.


Is a Mexican passport needed to fly into Mexico from the United States?

I'm Mexican and a US Permanent Resident.  I'm going to fly into Mexico from the United States, and I want to know if I can use my Mexican voter's card to check in at the airport, or will I need my Mexican passport?  I'm asking because I don't have a Mexican passport, and I will need to apply for one, but it would be much easier if I could just use my Mexican voter's card.


I've finished Batman Arkham City (now with 63% complete yet), and I still don't have any option to change the skin.  How can I change my default Batman skin to Batman Beyond (or other skins) ?


I'm trying to create an array containing plot elements (from the CircuiTikZ package but it's incidental) some of which writes are on multiple lines . As I want the texts to be centered vertically and horizontally, I went with this code: \documentclass[border=2mm]{standalone}  \usepackage{array,multirow,makecell,hhline} \setcellgapes{1pt} \makegapedcells \newcolumntype{R}[1]{>{\raggedleft\arraybackslash }b{#1}} \newcolumntype{L}[1]{>{\raggedright\arraybackslash }b{#1}} \newcolumntype{C}[1]{>{\centering\arraybackslash }b{#1}} \usepackage[utf8]{inputenc} \usepackage[siunitx, european, straightvoltages, cute inductors]{circuitikz}   \begin{document} \begingroup \makegapedcells \setcellgapes{3pt} \tikzset{every picture/.style={baseline=-0.5ex}} \begin{tabular}{|C{4cm}|C{4cm}|C{3cm}|} \hline Composant & Code & Image résultant\\ \hline amplificateur opérationnel anglo-saxon & node[op amp]{} & \begin{circuitikz}                     \draw (0,0) node[op amp]{};                   \end{circuitikz} \\ \cline{1-3} amplificateur opérationnel européen & node[en amp]{} & \begin{circuitikz}             \draw (0,0) node[en amp]{};          \end{circuitikz} \\ \cline{1-3}    amplificateur opérationnel entièrement différentiel & node[fd op amp]{} & \begin{circuitikz}                         \draw (0,0) node[fd op amp]{};                             \end{circuitikz} \\       \cline{1-3}    amplificateur d'instrumentation & node[inst amp]{} & \begin{circuitikz}                         \draw (0,0) node[inst amp]{};                             \end{circuitikz} \\              \cline{1-3}    amplificateur d'instrumentation avec résistance & node[inst amp ra]{} & \begin{circuitikz}                         \draw (0,0) node[inst amp ra]{};                             \end{circuitikz} \\      \cline{1-3}            \hhline{|=|=|=|}     \end{tabular} \endgroup \end{document}  My problem is that for a line (the 4th), the text is no longer vertically centered but it is placed at the top of the cell (I also have the impression that the vertical centering of the other lines is not not very correct). How can I solve this problem? Thank you


My simple calculator is trying to display the chosen operation of the user. I understand that in C, strings must be declared as 1D char arrays.  int a, b; int oper; //operation number char operName[15];  printf("\nEnter two numbers: "); scanf("%d%d", &a, &b); printf("\nYou entered: %d and %d", a, b);  printf("\nChoose operation:"         "\n1 = +"         "\n2 = -"         "\n3 = x"         "\n4 = /"); scanf("%d", &oper);   The code compiles and runs. But when executing the switch block, it stops working. I'm using switch to choose the appropriate operation name, and assign it to operName (so I can display the chosen operation before I do the actual operation).  switch(oper){     case 1:         operName == "Addition";         break;       .     .     .     default:         operName == "Invalid input"; }  printf("\n\nYou chose: %s", oper);   I read somewhere that I need to use pointers to prevent memory leaks, but I'm new to this so maybe there's an easier way.


Homeomorphism: can $f:X\mapsto X'$ be continuous, bijective without $f^{-1}:X'\mapsto X$ being continuous?

In our definition of homeomorphic topological spaces there must exist a bijective function $f:X\mapsto X'$ such that $f$ is continuous on $X$ and $f^{-1}$ is continuous on $X'$.  Is it necessary to assure that $f^{-1}$ is continuous on $X'$?


Finding $\int_{0}^{\pi/2} \frac{\tan x}{1+m^2\tan^2{x}} \mathrm{d}x$

How do we prove that $$I(m)=\int_{0}^{\pi/2} \frac{\tan x}{1+m^2\tan^2{x}} \mathrm{d}x=\frac{\log{m}}{m^2-1}$$  I see that $$I(m)=\frac{\partial}{\partial m} \int_{0}^{\pi/2} \arctan({m\tan x}) \ \mathrm{d}x$$  But I don't see how to use this fact. Can we? Please help me out, and if possible please post a solution using differentiation under the integral sign.


What is the reason for so much big prof of Cayley-Hamilton theorem in Linear Algebra?

As I was studying linear algebra from various books I came to know about Cayley -Hamilton theorem. It states that: An $n×n$ matrix satisfies it's own characteristic equation. I see in various books that they have given a big proof for this. But this seems quite obvious to me. Because characteristic equation of an $n×n$ matrix A is given by: $det(xI_n-A)=0$, where $I_n$ is the $n×n$ identity matrix. If we put $x=A$ in the lhs of the characteristic equation we get: $det(A.I_n-A)=det(A-A)=det(O_n)=0$, where $O_n$ is the zero matrix of order n.  Is there any mistake in my idea? If not then why are they giving so much bigger proofs.


Why is it "to take someone seriously" and not "to take someone serious"?

Obviously the difference between these two sentences is that one is using an adverb while the other one is using an adjective.  The reason why I think that an adjective should be used, is that the adjective refers to the object. By my understanding, if I take someone serious, I take them as a serious person.  When using an adverb, on the other hand, it refers to the verb, so whatever I am doing (in this case "taking someone") is being done in a serious way.     I can't take him serious. -> I am not able to take him as being   serious, or as a serious person.      I can't take him seriously. -> I really am unable to take him, or I   can't take him while being serious myself.   I think in this case "to take someone (serious)" is equivalent to "to consider someone (serious)". If instead I said I can't consider him seriously, I think the sentence would be missing an adjective, and also the adverb would be in the wrong place, e.g. I seriously can't consider him a serious person.  So in conclusion I think the sentence should be either:  I can't take him serious.   or using the adverb in front of the verb, e.g.:  I seriously can't take him anymore.


is there a chance that malware will affect my windows partitions?

My question is : Same I dismount? affect my windows partitions? Sorry my english grammar


Let $G$ be the group generated by $a,b,c$ with relations $ab=b^2a$, $bc=c^2b$, and $ca=a^2c$. Show that $G$ is trivial.    A related problem is that for $G_1$ generated by $a,b,c,d$ with similar relations is NOT trivial.   I'm not sure how to start. I know that word problem for groups does not have algorithm to solve. But we should be able to tackle this particular case.   Elementary method is preferred. I am not familiar with advanced methods for word problems.


Issue with Dual-booting Ubuntu and Windows 10 on two separate hard drives

I have a 1TB HDD with only Ubuntu 16.04 installed on it. But I decided I also wanted Windows 10, so I bought a Samsung 950 PRO 512GB M.2 SSD and installed a copy of Windows 10 Home on it.  I disconnected the cables connecting my harddrive and motherboard, and disabled Launch CSM in BIOS, before installing Windows on my SSD. Windows is now installed and works great on my new SSD. I'm using Windows 10 right now.   I reconnected my harddrive (Ubuntu). I don't know what Launch CSM does, so I didn't enable it. I disabled it because I was following a tutorial. But when I restart my PC, I cannot boot into my HDD. I checked disk management in Windows 10 and my HDD is shown. But in BIOS it is not shown, Windows Boot Manager is the only boot option.  How do I boot into Ubuntu, which is on a separate HDD?


Does Android support individual sound control per app when two apps with active sound are running?

Does Android support controlling volume of every running app individually in the context mentioned below?  I have podcast app and I would like to run a game while listening to podcast. The game sounds are too high.  The question  deals with an objective of having per-app specific volume but this question at the minimum deals with two or more apps at a time, providing different sound levels simultaneously.


Not able to get all values from a table with selenium chrome webdriver using python

I want to know the way to collect all the information from a table from a web page.  At the moment I am able to get only the records which are visible in UI. (18 rows). However there are 96 rows in the table and i need to either scroll in the table frame or need some script to get all the data from the table.  please help. here's my UI page


A union of two subspaces not equal to the vector space.

Let $L,M$ two subspaces of the vector space, $V$ such that both $L,M \ne V$.   Prove: $L\cup M \ne V$.     I think this is a case of a proof by contradiction. Lets assume $L \cup M = V$.   Hence, $$\dim(V) = \dim(L) + \dim(M) - \dim(L\cap M)$$  How to proceed?


Is there a way to remove white margins when importing a pdf file?

A workaround is to use pdfcrop separately (in the terminal) to crop the PDF file we want to import.  However - is there a way to remove white margins when importing a PDF file from within the tex file?  The two common packages to import PDF files are pdfpages or graphicx. Can I 'preprocess' a file for them with pdfcrop within tex file?


I want to know about the setter and getter. I know that it is a properties of declaring variable but some time I get confused. Presently I am using a sample of code that is below:  public with sharing class hello {     public String temp{set;get;}      public hello(){         temp = 'first' ;     }      public String gettemp(){         return 'second' ;     } }   So I want to know that when I use temp on VFP than what value will show on page, what is reason for that, and what is the difference between temp and gettemp?  Thanks Ashlekh Gera


Need a way to check status of Windows service programmatically

Here is the situation:  I have been called upon to work with InstallAnywhere 8, a Java-based installer IDE, of sorts, that allows starting and stopping of windows services, but has no built-in method to query their states.  Fortunately, it allows you to create custom actions in Java which can be called at any time during the installation process (by way of what I consider to be a rather convoluted API).    I just need something that will tell me if a specific service is started or stopped.  The IDE also allows calling batch scripts, so this is an option as well, although once the script is run, there is almost no way to verify that it succeeded, so I'm trying to avoid that.  Any suggestions or criticisms are welcome.


Find files that contain a string and do not contain another

Say, I have some files, and I want to find the files among them which contain a string but do not contain another.  grep being line based, conditions such as grep -q printf file && grep -vq '#include <stdio.h>' file will not work.   How should I go about doing this?  (I am on Debian, so answers specifically targeted at GNU versions of tools are fine.)


I'm trying to achieve a basic clear glass material, but it always renders as "black" glass. I'm new to Blender, so I'm probably making a fairly simple mistake here.    Thanks for looking...


How to bulk rename files numerically, in order of modification date?

I've got some photos with quite random names, but the dates (not exif, but when they were last edited) are correct. I'd like to rename them in that order, preferably so that the first photo is named 1.jpg and so on, but anything goes. How can I do that?


I have problems with porting Windows application to Linux (GCC).  I have the following code in Windows (Visual Studio 2010 compiling it well): I have template class, that contains a structure.      template<typename bidtype>     class pst_bc_block : public pst_entries_block<bidtype>     { public:     ...     struct tag_bc         {             WORD  ID;             WORD  type;             DWORD  value;         };     ...     }   When I'm trying to do something like this:  pst_bc_block<bidtype>::tag_bc tag_value; tag_value.ID = 6;   GCC can't resolve ID member.   P.S. All windows types are defined and VS comple it well.


I have several python versions installed and I want to remove the packages installed under them

Using pip I am only able to uninstall for a few versions. I am fairly new to this, so please let me know if there is some way of deleting it. I am currently using Ubuntu 20.04. I had previously installed the packages with pip itself. But now pip no longer points to those versions. I tried commands like pip3.6 uninstall package python3.6 -m pip uninstall package  but none of that is even being recognised as a command. I do not wish to uninstall the python installation itself, just the various packages that I installed by myself when using those various versions. I have installed python3.6 version as I can see it under my /usr and home directory, however when I run this python3.6 -m pip -V or python3.6 -m pip list I get the following output Command 'python3.6' not found, did you mean:    command 'python3.9' from deb python3.9 (3.9.0-5~20.04)   command 'python3.8' from deb python3.8 (3.8.5-1~20.04.2)  Try: sudo apt install <deb name>


Show that for $n\geq 2$,   $$1^{-1/2}+2^{-1/2}+3^{-1/2}+\dots+n^{-1/2}>n^{1/2}.$$   I tried to prove this one by many ways, but couldn't make it.  Thanks.


How do I upgrade from Ubuntu 12.04 to Ubuntu 13.10. I have tried the one I this   I gives option to upgrade to 12.10 not 13.10  I want to directly upgrade to 13.10 from 12.04