My F3 Key Won't Show My XYZ Coordinates and Everything I Try Doesn't Work

I did EVERYTHING Including setting the gamerule reducedBugInfo to false and it STILL doesn't work. Can somebody help me?


I want to implement a template in a class file instead of implement all the code in the same file. But the problem is I have a linked error and I don't know what to do in order to solve it ? If you have any idea in order to help it will be graceful.  Main.cpp   #include <iostream> #include <string> #include "Myclass.h" using namespace std;  int main() {     Myclass<int> firstObject;     firstObject.setValue(2);     int nbr = firstObject.getValue();       system("PAUSE");     return 0; }   Myclass.cpp  #include "Myclass.h"   template <class Temp> Myclass<Temp>::Myclass() { }  template <class Temp> void Myclass<Temp>::setValue(Temp a) {     first = a; }  template <class Temp> Temp Myclass<Temp>::getValue() {     return first; }   Myclass.h  #pragma once template <class Temp>  class Myclass { public:     Myclass();     void setValue(Temp a);     Temp getValue(); private:     Temp first; };


java.lang.NullPointerException: Cannot invoke method when running Groovy in Java

I am using Groovy and Java for the first time and keep getting exception while running my simple main project.  Exception:     Exception in thread "main" java.lang.NullPointerException: Cannot invoke method sell() on null object   class App Java:  public void start() throws CompilationFailedException, IOException {      File trades = uploadGroovyScript();      Binding binding = new Binding();     GroovyShell shell = new GroovyShell(binding);     shell.evaluate(trades);     TradeDsl tradeDsl = new TradeDsl();     Closure c = (Closure) binding.getVariable("trades1");      c.setDelegate(tradeDsl);     c.call(); }   file Groovy:   trades1 = {             buy 100,200 from "MSFT"              buy 1000,200 from "APPL"              buy 500,200 from "VMW"              sell 50,200 from "MSFT"              buy 1200,200 from "MSFT"              sell 200,200 from "VMW"              buy 1200,200 from "APPL"            }   class TradeDsl:  public void buy(int quantity1 , int quantity2) {     System.out.println("Buying " + quantity1 + " or " + quantity2); }  public void sell(int quantity1) {     System.out.println("Selling " + quantity1); }  public void from(String epic) {     System.out.println("from " + epic); }


Construct algebraic expression equivalent to trig function

How do I make an algebraic expression that is equivalent to this type of trig function:   cos(arcsin x)  The answer is: sqr(1 - x^2)  No clue how to get there. Teacher didn't explain very well.


Automaticly file screenshots in folder on desktop

I take lots of screenshots that fill up my desktop very quickly, what im trying to do is set a system where all screenshots will automatically get saved to a screenshots folder on my desktop.   Ive tried to set an automator action to do this, but couldn't figure out exactly how to do this, any ideas / guidance much appreciated


Does somebody know a lot of linux debian and abuse warnings?

I received the last week a lot of e-mails from the company where I have a server.. Can somebody please help me to fix this 'abuse'? Using Linux Debian 8  We have detected abuse from the IP address XX.XX.XXX.XX, which according to a whois lookup is on your network. We would appreciate if you would investigate and take action as appropriate.  Log lines are given below, but please ask if you require any further information.  (If you are not the correct person to contact about this please accept our apologies - your e-mail address was extracted from the whois record by an automated process. This mail was generated by Fail2Ban.)  Note: Local timezone is +0100 (CET) Dec 16 07:06:34 jazzmessengers sshd[27500]: Connection closed by XX.XX.XXX.XX  Dec 16 07:06:39 jazzmessengers sshd[27581]: Failed password for root from XX.XX.XXX.XX port 35074 ssh2  Dec 16 07:06:41 jazzmessengers sshd[27581]: Failed password for root from XX.XX.XXX.XX port 35074 ssh2  Dec 16 07:06:43 jazzmessengers sshd[27581]: Failed password for root from XX.XX.XXX.XX port 35074 ssh2  Dec 16 07:06:43 jazzmessengers sshd[27583]: Connection closed by XX.XX.XXX.XX  Dec 16 09:14:58 jazzmessengers sshd[10829]: Invalid user test from XX.XX.XXX.XX  Dec 16 09:15:00 jazzmessengers sshd[10850]: Invalid user test from XX.XX.XXX.XX  Dec 16 09:15:01 jazzmessengers sshd[10829]: Failed password for invalid user test from XX.XX.XXX.XX port 40769 ssh2  Dec 16 09:15:02 jazzmessengers sshd[10829]: Failed password for invalid user test from XX.XX.XXX.XX port 40769 ssh2  Dec 16 09:15:02 jazzmessengers sshd[10831]: Connection closed by XX.XX.XXX.XX  Dec 16 09:15:02 jazzmessengers sshd[10850]: Failed password for invalid user test from XX.XX.XXX.XX port 44143 ssh2  Dec 16 09:15:04 jazzmessengers sshd[10850]: Failed password for invalid user test from XX.XX.XXX.XX port 44143 ssh2  Dec 16 11:17:35 jazzmessengers sshd[28958]: Invalid user samba from XX.XX.XXX.XX  Dec 16 11:17:38 jazzmessengers sshd[28958]: Failed password for invalid user samba from XX.XX.XXX.XX port 57529 ssh2  (I removed a part because Stackoverflow thought it was spam..)  Dec 16 17:11:40 jazzmessengers sshd[28478]: Failed password for invalid user comercial from XX.XX.XXX.XX port 46737 ssh2  Dec 16 17:11:40 jazzmessengers sshd[28480]: Connection closed by XX.XX.XXX.XX  Dec 16 17:11:40 jazzmessengers sshd[28489]: Invalid user comercial from XX.XX.XXX.XX


How to turn bluetooth off as default when booting ubuntu?

I seldom use bluetooth, so I want the default status of the bluetooth is off. However I don't find any option in GUI setting application about that. Is there any way (for example, write a config file, or use command with parameters) to set bluetooth off as default?


Calculating How To Intercept a Moving Object

So I have two objects, Target and Interceptor. Target's position, direction of movement and movement speed are known, and Interceptor's position and movement speed are also known. Both movement speeds are fixed, and Target will never change course. Both are moving in three dimensions; Interceptor can move in any direction.  I want to figure out which direction Interceptor needs to move in, at its fixed movement speed, to be able to collide with Target as Target moves, as quickly as possible - or, as the case may be, I want to know if it is impossible for Interceptor to collide with Target.  I don't know how to do this, and my Google searches clearly haven't been using the right search terms, because nothing useful comes up. How do I calculate this?


SE Android App Version: 1.0.84  There is a display issue in the Feed section. The Earlier today, the below sections and the post title are not visible.  There is no exact steps to reproduce. It doesn't happen when the app is initializing. But if you open the Stack Exchange app, navigate to some other apps, then come back after few minutes, I can see this issue (but not all the time).  When the issue is there, if I manually click the Feed option in the navigation sidebar, the display issue is fixed.  I have recorded the issue:


Visitor visa refusal. What are the chances of reapplying?

I hope someone can shed some light on this.  My brother in law applied for a visitor visa along with his wife and daughter as dependents (separate applications). However, my brother-in-law's visa application was rejected and because of that the other two applications were rejected too.  Below is the refusal letter he received.  To prove the intention to leave the UK at the end of their visit, we provided letters from both his and his wife's employers and a letter from their daughter's play school.  With regard to funds, we provided a savings account statement. This isn't the account where he receives his monthly salary and there aren't a lot of transactions in this account. We didn't provide his salary account.  Can they re-apply including his salary account statement?  Any help much appreciated.      UPDATE We applied for another family (my sisters) around the same time, and their visa was approved. Almost all of the documents submitted were similar, except for the circumstances around the account. The account shown by my sisters family belongs to her husband and it's where he receives his salary as well as the account he maintains as savings. In my brother-in-law's case, his account is not the same account he receives his salary to. I never knew that we have to show the account where the salary goes. Why can't a person show a saving account where they don't put money into anymore.


Help find the distance between parallel planes

The planes are: $$2x-3y+z=4 \quad \text{and}\\ 4x-6y+2z=3,$$ my answer that I got as I tried so far is $\dfrac{5}{\sqrt{56}}$


how does a lizard walk on vertical walls?

One day I was observing a lizard walking on walls as easily as we walk on horizontal surfaces. I got curious to know the physics behind this but I couldn't get to any useful conclusion. I tried to Google it but all the hypothesis like lizards create vacuum while they walk or they secrete some sort of chemical (and few others) were rejected due to some or the other reason, so I thought maybe here I could get some help on the subject.


How to keep c++ from adding extra decimals when casting from float to double (not for IO)?

The problem I'm facing is because I'm using a library that when fed a float, it does something inside that is converting the float to double and adding a lot of decimals to the number which is not right. I mean, is right according to how doubles and floats are represented and what naturally happens when you cast, but it is not right for my application. I have 16.3 as float and I need that to be 16.3 as double. I'm trying to cast the float to double BEFORE passing the value to the library to have control over that conversion but so far I haven't found a straightforward way of doing so. I just want to know if it is possible to cast a 16.3 from float to double and have the same 16.3 as a result. float f_var = 16.3;            // f_var is 16.3 double d_var = (double)f_var;  // d_var shall be also 16.3, not 16.299999237060547  Is there even a proper way of doing this in C++? Or I would have to do something like: char float_buf[10]; float f_var = 16.3; sprintf(float_buf, "%.2f", f_var); double d_var = atof(float_buf);  Because that works, but I'd like to see if there is a "proper" way of doing this in c++. There is  in SO with another proposed solution but it involves multiplication and a division that I would like to avoid as well. This is not for displaying or any input/output operation or converting to a string, I know how to do that and there is a lot of information about it. Additionally, I'm not trying to understand "why" this happens, there is a lot of information about that as well. Also, most of the answers in SO that may cause this question to be marked as duplicate are not for C++, they are mostly for C#, Java JS, Objective C, etc. For the few I found for C/C++, most of them are dealing with this issue for IO with printf or cout and the others only explain why this happens which is also not useful. If you have indeed a duplicate for this exactly in C++ then please indicate. I'll be happy for this to be flagged as duplicate if it really is. Thanks!


Show that every group of prime order is cyclic.   I was given this problem for homework and I am not sure where to start. I know a solution using Lagrange's theorem, but we have not proven Lagrange's theorem yet, actually our teacher hasn't even mentioned it, so I am guessing there must be another solution. The only thing I could think of was showing that a group of prime order $p$ is isomorphic to $\mathbb{Z}/p\mathbb{Z}$. Would this work?    Any guidance would be appreciated.


Is there a commutative ring $R$ with zero Krull dimension such that its Jacobson radical is nil but not nilpotent?  Of course, in Noetherian case (which leads to Artinian case) for $R$ each nil ideal is nilpotent, so the ring, if it exists, should not be Noetherian.  Does any body have an answer to the raised question? Thanks!


MacBook Pro 2011: unable to get into terminal via Recovery Mode

I have a MacBook Pro 2011 with the well known AMD GPU failure. So I know about the procedure to de-activate the AMD GPU and activate the Intel GPU on the mainboard. This has to be done via the command line in Terminal, for which you need to start Recovery Mode and get into OSX Utilities and then start Terminal.  Unfortunately, booting in Recovery mode ends before I get into OSX Utilities. The screen goes grey and then either shuts the system down, or it starts rebooting.  The MacBook is currently installed with High Sierra.  What can I best do?


I have seen a lot of questions about similar situations, but no solution suggested have worked for me. I have broken my packages in 18.04 and now I can't uninstall anything to try and start over. I'll walk you though my process.   When running sudo apt-get remove --purge gazebo9 I get the output  You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: gazebo9-plugin-base : Depends: gazebo9 (= 9.9.0-1~bionic) ib-sim-plugins : Depends: gazebo9 ignition-acropolis : Depends: ignition-gazebo E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).  I do what it suggests and run sudo apt --fix-broken install and attempt to install the ignition-gazebo package. Here is the result:  (Reading database ... 324542 files and directories currently installed.) Preparing to unpack .../ignition-gazebo_1.1.0-1~bionic_amd64.deb ... Unpacking ignition-gazebo (1.1.0-1~bionic) ... dpkg: error processing archive /var/cache/apt/archives/ignition-gazebo_1.1.0-1~bionic_amd64.deb (--unpack): trying to overwrite '/usr/bin/ign-gazebo', which is also in package ignition-gazebo2 2.0.0-2~bionic Errors were encountered while processing: /var/cache/apt/archives/ignition-gazebo_1.1.0-1~bionic_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)  Now I try deleting the /var/cache/apt/archives/ignition-gazebo_1.1.0-1~bionic_amd64.deb file. When I try purging gazebo after this I get the same result as before.  Next I try to sudo apt remove --purge ignition-gazebo (which isnt installed so this step was never going to work). This results is the same message as step 1.   I am now left with the puzzle of wanting to remove gazebo (and then all ros-melodic packages which just lead to the same issue) but not being able to because ignition-gazebo is broken and/or missing. Been trying to resolve this absolute mess for 3 days now, does anyone know how to resolve this.  ADDITIONAL: I tried to install the synaptic package so I would have a GUI to do this in, but I can't install it and it gives me the same message as before.


How do I block direct access to a URL when not referred by a button click?

I have this local site where the second page has to only be accessible through a specific button, and not by direct access by writing the URL.  I have this simple example:  Page 1:   <title>page 1</title>  <button type="button">to page 2</button>     Page 2:   <title>page 2</title>
PAGE 2
     Thanks.


Is it possible to connect my laptop via HDMI output to external monitor with DVI input. I know it is not possible to plug it in VGA output (from HDMI) so I am interested what about DVI. I can't find any reliable answer on google.


I'm on my first playthrough and just got to Concordia.  I was surprised to find that when I approached the golden chest, I had no keys to open it!  I was expecting to have the three keys which were given by Gearbox for having the previous games installed.    What happened to my golden keys?


Let $f \in O(D)$ for some domain $D$. Prove that if $|f(z)|$ is a constant, then $f(z) =$ const on $D$.    It seems to me it is the direct application of the following version of maximum modulus principle:     Let f be a function holomorphic on some connected open subset $D$ of   the complex plane $\mathbb{C}$ and taking complex values. If $z_0$ is   a point in $D$ such that      $|f(z_0)|\ge |f(z)|$ for all z in a neighborhood of $z_0$, then the   function f is constant on D.


What happens if you use a Clone Effect on a Double Faced Card that's Transformed?

Say someone has , which is a 0/3 Defender, and after some mechanics, transforms into a 13/13 Lizard Horror with Trample.  Say this someone managed to transform said card into its 13/13 Trample form, and then cast  on it (or any other clone type card if it would matter between different ones). Does the Metamorph/Clone/etc. come into play transformed, or as the 0/3 Defender?


Can you combine multiple lists with LINQ?

Say I have two lists:  var list1 = new int[] {1, 2, 3}; var list2 = new string[] {"a", "b", "c"};   Is it possible to write a LINQ statement that will generate the following list:  var result = new []{      new {i = 1, s = "a"},     new {i = 1, s = "b"},     new {i = 1, s = "c"},     new {i = 2, s = "a"},     new {i = 2, s = "b"},     new {i = 2, s = "c"},     new {i = 3, s = "a"},     new {i = 3, s = "b"},     new {i = 3, s = "c"} };   ?  Edit: I forgot to mention I didn't want it in query syntax. Anyway, based on preetsangha's answer I've got the following:  var result = list1.SelectMany(i =>  list2.Select(s => new {i = i, s = s}));


See if a sequence $\frac{n!}{n^n}$ has a limit and find it

I need to find a candidate for the limit and then prove it is indeed one using the definition of a sequence's limit. That is, to solve inequality with a parameter $\epsilon > 0$. I suppose the limit is $0$(for intuitive reasons that $n^n$ ''grows faster'' than $n!$).  Now I need to solve the following inequality:  $\frac{n!}{n^n} < \epsilon$  Well, it is easy for $\epsilon \geq 1$ $n! < n^n \leq \epsilon n^n \ \  \forall n>1$, obviously.  If $\epsilon \in (0,1)$ we have $\epsilon n < n^n$.  By induction if $n! < \epsilon n^n$ for some $n$, then $(n+1)! < \epsilon (n+1)^(n+1) \Leftarrow !n < \epsilon n < \epsilon (n+1)^n$.   So now we need to prove that $\forall \epsilon \in (0,1)\ \ \exists n \in \mathbb{N}: n! < \epsilon n^n$  How should I approach that?


What do you call a male child of your female cousin?

OK, a nephew is a male child of your siblings. But what do you call a male child of your female cousin?  A cousin nephew? A nephew cousin? ...?


Is there a more complete way of proving this theorem (that I devised)? OR does this theorem already exist and have a name?

Last night, I was working on re-solidifying my understanding of parametric equations, and came up with a neat trick for evaluating certain definite integrals. I'm not sure if it exists as a formal theorem, though I refuse to believe I'm the first to notice such a relation. The 'theorem' is a useful trick to evaluate the definite integral of a continuous function over an interval where the function is either strictly increasing or strictly decreasing, given that the inverse of the function is 'nicer' to work with than the function itself. My idea goes as follows:  If $y = f(x)$ is a continuous function over the interval $I$, and either:  $f'(x) > 0$   OR   $f'(x) < 0$   for all values of $x \epsilon I$, then:  $\int_{a}^{b}{f(x)dx} = bf(b) - af(a) - \int_{f(a)}^{f(b)}{f^{-1}(x)dx}$  where $a,b \epsilon I$  Quasi-proof:  Clearly, if a function is strictly increasing or decreasing, it is injective. This is clear because no two values in the domain can correspond to a single value in the range. I feel intuitively that it must also be surjective (though I'm not entirely sure how to prove this part). Assuming it is both injective and surjective over $I$, the function must have an inverse.   If we were to draw two rectangles out of our bounds, they will have areas:  $af(a)$ and $bf(b)$, so that   $bf(b) - af(a)$ will be the area of the region we are observing.  This area is equivalent to the sum of the areas connecting the curve $f(x)$ to the $x$-axis and to the $y$-axis. Thus:  $bf(b) - af(a) = \int_{a}^{b}{f(x)dx} + \int_{f(a)}^{f(b)}{f^{-1}(x)dx}$  Solving for $\int_{a}^{b}{f(x)dx}$, we get:  $\int_{a}^{b}{f(x)dx} = bf(b) - af(a) - \int_{f(a)}^{f(b)}{f^{-1}(x)dx}$  A particularly illuminating example is evaluating:  $\int_{a}^{b}{ln(x)dx}$  $ln(x)$ is strictly increasing over any interval, so the 'theorem' applies.  $\int_{a}^{b}{ln(x)dx} = bln(b) - aln(a) - \int_{ln(a)}^{ln(b)}{e^xdx}$  $\int_{a}^{b}{ln(x)dx} = ln(b^b/a^a) - (e^{ln(b)} - e^{ln(a)})$  $\int_{a}^{b}{ln(x)dx} = ln(b^b/a^a) + a - b$  and so we've evaluated the integral without the need of integrating the function itself (by method of integration by parts), but rather by integrating its inverse, which is trivial to evaluate.!  Response to Jason DeVito's answer: [This image was taken from   ()


Is there any way I can print String array without using for loop?

Is there any function in java like toString() to print a String array?  This is a silly question but I want to know if there is any other way than writing a for loop.  Thanks.


How to display value in View global text field if another field has specific value

In my scenario I'm trying to display a flag (Font Awesome icon) in Views Global Text Field if another field in the same row of a type "Date" has a value of, say, a week from now. I tried  but it has some bugs with filters I'm using, so I thought that using the above approach would be better.


Proving a subring of $\mathbb{Q}$ containing $\mathbb{Z}$ is a PID

Let $S$ be a subring of $\mathbb{Q}$ containing $\mathbb{Z}$. Prove that it is a principal ideal domain.  So here is what I tried. Take any ideal $I\subset S$. Take any two elements, say $a=p/q, b=r/s$ in $I$. Rationalize denominators (we can do that since $\mathbb{Z}\subset S$. Now we have $aqs=p=K(r)=K(bqs)+R$, that is, just apply the Euclidean Algorithm. Now, $a-Kb=R/qs\in I$, so take the set of all such remainders $R/qs$.   There are two possibilities. Either this set has a smallest positive element, or it does not.   Suppose it has a smallest such element, call it $x=m/n$. Let $a=p/q\in I$. We show $a=lx$. For suppose not. Rationalizing denominators with $n, q>1$, $p=Lm+Z$, so then $Z<m$ so $Z/qn<m/n=x$, giving a contradiction.   Now though, I am stuck on the case where there is no such smallest element :(  Any thoughts?  EDIT: For those marking it as a duplicate: The first answer in the linked question, as mentioned in the comments, feels somewhat unnatural and requires all this extra machinery. On the other hand, the second answer given is incomplete: The poster says "Now show that the ideal generated by $t=\frac{t}{1}$ in R is the ideal you started out with." But if $\frac{r}{s}\in I$, then there exists $k$ such that $r=kt$, so $\frac{r}{s}=\frac{k}{s}\cdot \frac{t}{1}$, but $\frac{k}{s}$ is not necessarily in $S$.


The Monty Hall Problem - where does our intuition fail us?

From Wikipedia :     Suppose you're on a game show, and   you're given the choice of three   doors: Behind one door is a car;   behind the others, goats. You pick a   door, say No. 1, and the host, who   knows what's behind the doors, opens   another door, say No. 3, which has a   goat. He then says to you, "Do you   want to pick door No. 2?" Is it to   your advantage to switch your choice?   The answer is, of course, yes - but it's incredibly un-inituitive. What misunderstanding do most people have about probability that leads to us scratching our heads -- or better put; what general rule can we take away from this puzzle to better train our intuition in the future?


Constructing the reciprocal of a segment

How can one construct the reciprocal length of a line segment? For example, given any line segment a, how can $\frac{1}{a}$ be constructed?  I was told that it can be solved by creating similar triangles, but I do not get it.


How can I put a moving square into a PDF-document using tikz-, animate-package (and arara?)?

How can I produce something like that    into a PDF using TikZ? (Note: It does not need colors or shadows, a simple square would be fine)  I remember there was an arara-methode, which produces the single pics for the animated gif.   % arara: pdflatex % #arara:  I DON'T KNOW  \documentclass[border=5pt]{standalone} \usepackage{amsmath} \usepackage{tikz} \usetikzlibrary{animate}  \begin{document}  \begin{tikzpicture}[]  %I DON'T KNOW \end{tikzpicture}  \end{document}


Is it okay to ask whether my understanding about something is correct?

I am new to the stack overflow forums.   I have been dealing with a question which was answered in stackoverflow about a year ago.  My question is directly related to the topic in this thread:    by the responses in the thread, it seems that some of the readers "accepted" the answer but did not really understand the theory on which it is based.  I would like to know if it is "proper" for me to ask what is basically the same question, while providing the answer as I understand it with the goal of having someone confirm that my understanding is correct.


Does gravity have any effect on sound waves?

If gravity at a place increases or decreases, does it affect the sound wave propagating through that place. If for certain place gravity increases on earth will there be change in direction or wavelength of the sound wave.


I am facing an issue in if statement for below code. I am not able to log into if statement even with correct condition. Is my syntax correct?  String NicotineProduct="Not in the last 5 years"  if (NicotineProduct=="No, Never"||NicotineProduct=="Not in the last 5 years"||NicotineProduct=="Not in the last 3 years")  {         if (rateclass=="Pref Best No Nicotine")              rateclassval=1;     else if (rateclass=="Pref No Nicotine")            rateclassval=2;     else if (rateclass=="Select No Nicotine")            rateclassval=3;     else if (rateclass=="Standard No Nicotine")            rateclassval=4;  }


Using USB stick to save and access steam games

I am fairly new to Ubuntu and I have just installed it like 10 minutes ago to replace Chrome OS. I do not know any commands currently or how to explore any Linux system to be exact. My question is; is it possible to use a USB drive for steam games and if so, how? When I try to download them onto the 16gb exsisting ssd I get the out of space message. When I try to save it on the usb I get a message saying something about the drive not having excute permission. Can I turn the FlashDrive into a harddrive?


Fan running at full speed using xorg drivers

I'm running my fourth fresh install of Ubuntu. I've tried using the fglrx drivers but it always results in a catastrophic failure where I login to a black screen. I'm using the default xorg drivers but the fan is always at a continuous speed.  My laptop is a Dell Insprion 15 and my video card is an Radeon HD 7730M. How can I control the fans?


Which indefinite article should precede hour — a or an?        an hour     a hour      Does the usage of an vs a depend on the pronunciation — a history, a hobby, but an hour, an honor?


Are new domainnames propagated to DNS servers

After receiving spam on my newly registered, unused domain within a day I was curious about how they found it. With the help of google I found a site called  which lists all Addition to the zone file which gives an idea of the new domains that are registered. And my gTLD domain was indeed listed on the day I bought it.   I googled some more to find out how you could monitor these changes, to perhaps try it myself. But I quickly found  that says DNS records are not propagated, but only cached. That means at least one request to my domain must have been made via a DNS server they monitor, which seems unlikely, unless they are very high in the DNS food chain.  More google brought me to Root name servers and several network tools, but they all require you to enter the domain name to get more information.  What am I missing, because it does look like some servers are propagating DNS zones without a request. Or am I going at this all wrong and are they capturing new domains in another way?  It's not a duplicate of "How does DNS work", because that is based on "REQUEST domainname" and this site doesn't request names, it receives them without knowing them. So it basically goes against the entire principle of how a DNS server works.  I also highly doubt they just download the zone file from a lot of nameservers, because as stated in this       no sanely configured DNS server should still allow this nowadays


Okay so I'm having major issues installing/running iTunes through Wine, but I'm in major need to create (and be able to restore from) a full, complete backup for my iPhone since I'm doing a ton of tweaking to it. I don't really know what I'm doing, so there's a 110% chance I'm gonna screw it up, but hey, no one ever learned anything about technology without crashing it a good 100 times right? =P


Liferay cluster with SAN storage with ext3

I'm deploying an liferay portal in a cluster which has 2 node load balanced, and config both to access to the same data location in a SAN storage devide. The problem is each node can not see the other changing, i.e when node 1 add new image, node 2 can not find this image without mounting the san devide. So, any one ever successfully deployed a cluster like this.  I've found one solution is GFS2, but I want to use ext3, because it very simple. Thanks!


Integer solutions to combinations of floating point numbers round 2

Couldn't find how to re-open a topic so I'll re-ask. Imagine two kids each sitting in the center of their own tilt-a whirl®, each holding steady a flashlight (or laser) whose beam is parallel to the deck. Each machine rotates and precesses (we'll leave out nutation) at different, real, rates. How do we determine the least number of rotations to alignment, for each kid. If you prefer another analogy: Saturn and Jupiter orbit with different (real) periods. How many orbits for each until conjunction in precisely the same position in space? Simplify by assuming circular, observer-centric, orbits. specifically solutions to: aC1 + bC2 = N where a, b, N are positive integers of your own choosing and C1, C2 are constant, unique, positive, non-integer(real) numbers where C1 < C2. I am hoping to avoid rigorous computational methods involving modulus tests. Hope I clarified the ambiguities. Thanks, @DonThousand the Bezout identity looks interesting.


How to handle duplicate question from another server?

I found basically identical questions - I saw one on  and immediately saw something rotten in the state of Denmark because this question has definitely been asked before. So I went and googled it for the OP and found  question, which is basically the same. The problems are:   I can't flag that it is duplicate of question on another server. I can't flag that this question belongs to Ask Different because it is not in the list of off-topic choices. Even if I did manage to do 2. I would introduce duplicate question on Ask Different.   What I did was simply comment that there are two similar questions out there, but surely that doesn't really fix this issue. What would be the best way to approach this?


All votes to close a question (not an answer) should be accompanied by a helpful comment or resource

I'm getting tired and irritated of people going to a question and voting to close without bothering to add clarification.   For example, I ask a question and then someone votes to close because it's unclear, fair enough. To me, I have asked exactly what I'm asking, It's clear as day, It's literally the last line in the OP. To simply vote to close like that gives the impression that the person that voted didn't bother to read the entire question.  How exactly is the OP supposed to improve their question so it can be answered  if you just vote to close and then wander off?  Why should the person that voted to close just be able to vote to close without leaving something helpful to improve the question?  I understand that sometimes it's obvious as why the question should be closed and that you don't have the time to to give a reason for every question; but I'd like to point out that even if poorly written the writer took the time to ask the question, the least you can do is give a reason or link to specific thing that would improve the question so that they can get a useful response.  Help them so they can help themselves and so on, aren't we about improvements? How exactly can we be about that if we don't help people to do that or point people in the right direction or give them the correct tools to do that.  So I propose, You can't vote to close a question without leaving some form of critique or a useful link that would improve the question.


How can I handle a hover the Polymer way without external libraries?

I figured I would need to do something like:
blah
 because handling clicks looks like this:
blah
  I've tried using the way shown in the documentation here:  , but on-mouseenter and on-mouseover aren't working as expected.  I'm also having trouble passing parameters to my handlers, but that's a different story.


Android app: account is not allowed to suggest edits

Official SEx app 1.0.35 (Android 4.2.1), posting on ServerFault. Can suggest edits via browser, cannot do the same through the app.


Open Windows Terminal as admin with WIN+R

I use shortcut  +R to run Windows Terminal [wt], but I cannot run it as Admin, which causes problems when I install something via choco.   To open it as Admin, I have to:  Press  > Right-click Terminal > More > Run as Admin  > ◀ > ENTER Some solutions say to use the following, but it can only open powershell, not wt:  +X > A > ◀ > ENTER While  say to use the following, but it also doesn't work:  +R > SHIFT+CTRL+ENTER   How do I open Windows Terminal as Admin via a command?


How to create a list of key:value pairs in a for loop?

I have a for loop which outputs a list of 15 values:   for line in data:      line # type(line) is `<class 'list'>`         # do things with line   This line is always a Python list of 11 values, i.e.   ['value1', 'value2', 'value3', 'value4', ... ]    I have a list of dictionary keys, which I have manually created:   ['key1', 'key2', 'key3', ...]   I would like to join my keys to each of the values for each line in my for loop. Therefore, I can define a new line that looks like    ['key1': 'value1', 'key2': 'value2', 'key3': 'value3', ... ]   This would be used in the for loop, i.e.   for line in data:      line # values     # join key-value pairs     # new_line = ['key1': 'value1', 'key2': 'value2', 'key3': 'value3', ... ]         # do things with new_line   EDIT: I don't believe this is a repeat question. zip(keys, values) does not produce the desired result.   EDIT2: Would it be easier to create one large dictionary within a list?  [{'key1': 'value1', 'key2': 'value2', 'key3': 'value3', ... }]   or perhaps a tab-delimited test file?   key1:value1  key2:value2  key3:value3   ....


Set a theme on a specific QT application in Ubuntu 16.04

How can I set a specific theme for a specific QT application? Globally I used a dark theme but for some applications I want to use the default theme of Ubuntu 16.04 (Ambiance). This is for a specific QT application.  I tried these commands inside my spreadsheet.desktop  Exec=env GTK2_RC_FILES=/usr/share/themes/Ambiance/gtk-2.0/gtkrc /usr/bin/et   or  Exec=env GTK2_RC_FILES=$HOME/.themes/Ambiance/gtk-2.0/gtkrc /usr/bin/et   or  Exec=env GTK_THEME=Ambiance:Default /usr/bin/et   But none worked.


Convergence in quadratic mean and in mean

Let $\mathrm{X, (X_n)_{n\in\mathbb{N}}, Y, (Y_n)_{n\in\mathbb{N}}}$ $\in$ $\mathcal{L^2}$ be random variables. Prove that  ($\mathrm{X_n}$ converge to $\mathrm{X}$ in $\mathcal{L^2}$ and $\mathrm{Y_n}$ converge to $\mathrm{Y}$ in $\mathcal{L^2}$) $\Rightarrow$ $\mathrm{X_nY_n}$ converge to $\mathrm{XY}$ in $\mathcal{L^1}$.  My attempts: I think Jensen's inequality is needed here, with the function $\phi$($\mathcal{x}$)=$\vert$$\mathcal{x}$$\vert$, because the assumption is similar to a property stated here , but I am unable to clearly formulate a strategy to solve this problem


In Java, are enum types inside a class static?

I can't seem to access instance members of the surrounding class from inside an enum, as I could from inside an inner class. Does that mean enums are static? Is there any access to the scope of the surrounding class's instance, or do I have to pass the instance into the enum's method where I need it?  public class Universe {     public final int theAnswer;      public enum Planet {         // ...         EARTH(...);         // ...          // ... constructor etc.          public int deepThought() {             // -> "No enclosing instance of type 'Universe' is accessible in this scope"             return Universe.this.theAnswer;         }     }      public Universe(int locallyUniversalAnswer) {         this.theAnswer = locallyUniversalAnswer;     } }


I have a large point cloud (LAS file) and I am trying to thin this using a complex technique. I know it is possible to thin a point cloud using simple techniques such as extracting every nth point. However the point cloud I am working with is more dense in some areas and less dense in other areas. I would like to be able to thin the cloud so that the denser areas are thinned more heavily than the less dense areas. To do this manually one could create a grid and select certain number of points within each cell. (ie one at each corner and one in the center) However this point cloud is much too large for this task. I am trying to figure out if there are any existing solutions to this problem such as a complex selection query, other automated process, or existing software application that could be used.


Given $P(z)=z^6+6z+10$, find how many roots are in each quadrant    I have already seen that $P(z)$ has six different roots, and that none of them are real or of the form $ki$, $k\in \Bbb R$. Since the coefficients of $P(z)$ are real, then it's roots are 3 conjugate pairs, and therefore the possibilities are limited to two.  Defining $f(z)=z^6$, $g(z)=z^6+6z+10$ and applying Rouche in $|z|<2$, $|f(z)-g(z)|<|f(z)|$ I get that all roots are contained in the disc, but how do I go about splitting them into the four quadrants? From what I know about this polynomial, finding zeros in one quadrant is enough to determine the rest, but I'm stuck trying to apply rouche to a quarter circle (basically I'm having trouble finding a suitable f and g)


Manually setting page headers using fancyhdr

How do I manually set page headers? In my example below, all the page headers are the same as the last instance of \rhead{7}. Is there any way to renew the page header to the first instance of \rhead{#} on that specific page?  As an example, say I typeset a bible and after compilation a page happens to contain a bit of overflow from Genesis 1, the whole of Genesis 2, and the first bit of Genesis 3 and say I respectively evoked \rhead{Genesis 1}, \rhead{Genesis 2}, and \rhead{Genesis 3} after the chapter definitions in the source, I would want the header of the page to then be Genesis 1.  As a bonus, it would be even nicer if the header contains the accumulation of chapters on the page so that the header is Genesis 1, 2, 3, but I am not sure if that is easily achievable.   This process also don't have to be fully automatic; my document is the output of a python script and I can iteratively inject complex latex code anywhere in the document as my heart pleases.  \documentclass[afrikaans, english, oneside,openany,a4paper]{book} \usepackage{parcolumns} \setlength{\parindent}{0.0em}  \setlength{\parskip}{0.0em} \usepackage{xunicode}  \usepackage[T1]{fontenc} \usepackage[margin=1.0in]{geometry}  \usepackage{fancyhdr} \pagestyle{fancy}  \begin{document} 0 \\ \\ \vspace{100 mm} \\ \\ \vspace{100 mm} \\ \\ \vspace{100 mm} \\ \\ 1\rhead{1} \vspace{100 mm} \\ \\ 2\rhead{2} \\ \\ 3\rhead{3} \\ \\ 4\rhead{4} \\ \\ \vspace{100 mm} \\ \\ \vspace{100 mm} \\ \\ \vspace{100 mm} \\ \\ \vspace{100 mm} \\ \\ 5\rhead{5} \\ \\ \vspace{100 mm} \\ \\ \vspace{100 mm} \\ \\ \vspace{100 mm} \\ \\ \vspace{100 mm} \\ \\ 6\rhead{6} \\ \\ 7\rhead{7} \end{document}


Definite article before schools, colleges, and universities

Is the always used before the name of a school, college, or university?


I installed gmail desktop app using following command, sudo snap install gmail-desktop  But it was not letting me sign in, so I want to uninstall it. How to do so?


I've installed IBM Installation Manager on Ubuntu 18.04 but when I started the following message pops up: Could not find the program 'gksudo'  I've tried to install it by running the commands below: sudo apt install gksudo sudo apt install gksu  But they don't seem to be a part of Ubuntu anymore. I've also read it somewhere. How to workaround the problem? Adding the universe repository didn't help: $ sudo add-apt-repository universe 'universe' distribution component is already enabled for all sources.  $ sudo apt update Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]                                                                                Hit:3 http://ru.archive.ubuntu.com/ubuntu bionic InRelease                                                                                Hit:4 http://ru.archive.ubuntu.com/ubuntu bionic-updates InRelease                                                                                Hit:5 https://download.docker.com/linux/ubuntu bionic InRelease                                                                                Hit:6 http://ru.archive.ubuntu.com/ubuntu bionic-backports InRelease                                                                            Hit:7 https://repo.skype.com/deb stable InRelease                                                                                Hit:8 https://deb.nodesource.com/node_12.x bionic InRelease                                                              Fetched 88,7 kB in 1s (94,6 kB/s)                   Reading package lists... Done Building dependency tree        Reading state information... Done All packages are up to date.  $ sudo apt install gksu Reading package lists... Done Building dependency tree        Reading state information... Done Package gksu is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'gksu' has no installation candidate  I also tried to solve it in almost the same way suggested here:  But I created a bash script with the command suggested there (pkexec ...)and created a link /usr/bin/gksudo to it. After that I started the IBM installation manager. The password dialog appeared, but after I entered the password the dialog was closed and nothing else happened. As a workaround I start the IBM Installation Manager in terminal by issuing the command: sudo /opt/IBM/InstallationManager/eclipse/IBMIM


Use the substitution $u = \frac{1}{x}$ to show that $\int_{0}^{\infty} \frac{\ln(x)}{1+x^2} dx = 0$    I know that this is improper and I could rewrite this as   $$\lim_{A\to0^+} \int_{A}^{1} f(x)dx + \lim_{B\to\infty} \int_{1}^{B} f(x)dx$$  Now I'm currently trying to figure out the integration of this  Using u = $\frac{1}{x}$, then $-du = \frac{1}{x^2} dx$. We also have $x = \frac{1}{u}$  $$= - \int\frac{ln \left(\frac{1}{u}\right)}{1+ \frac{1}{u^2}}\frac{1}{u^2}du = -\int \frac{\ln(\frac{1}{u})}{u^2+1}du$$  No idea how to do do this after that.


In how many inequivalent ways can 8 people be seated at a round table?

How many different arrangements are there of eight people seated at a round table, where two arrangements are considered the same if one can be obtained from the other by a rotation?


PCA before Random Forest Regression provide better predictive scores for my dataset than just Random Forest Regression, how to explain it?

I have a regression dataset where the features are on the order of ~ 400 variables and the dataset itself is around 300 samples. I tried to use Random Forest Regression (RFR) on the dataset and used either out-of-bag (oob) score or k-fold cv score to judge its performance. The kind of behavior I see right now that I'm trying to make sense of is that if I directly use RFR, no matter how many trees I use or what kind of parameter tuning I incorporate, I won't get a good performance, whereas if I incorporate a PCA before RFR, I can run a grid search for the number of PCs before RFR and at around 8 or 9 PCs, the processing flow could provide a somewhat descent score. The score would rise and fall around this "optimal PC number" when I sweep the number of PCs.  I'm trying to make sense of this behavior as I tried to use the same processing flow on a couple of toy datasets I found and usually with or without PCA won't change much for RFR performance. One of the concerns I had is that my dataset is a very noisy dataset, and most of the regression methods I tried so far won't provide much good performance except for this PCA-RFR flow. So I'm not sure if this is a garbage-in-garbage-out situation where this PCA-RFR thing just somehow overfit my dataset. On the other hand, my features are quite collinear to each other and I don't have that many data to train my model, so it kind of make sense that a PCA-preprocessing can help de-noise the dataset a bit and may also help to reduce the overfit of my training set with a smaller set of "reduced features", but RFR is kind of new to me so I'm not aware if there is any theory behind all these.  If anyone has seen this before and have a good explanation or have any reference paper on PCA-RFR behavior, please let me know and I'd be very much grateful.


Is it possible to extend an Indian business visa from India?

I'm an Egyptian girl from Cairo. I'm planning a six-month trip to India in December for training purposes, but getting a six-month visa is so hard from my country.  If I can only get 3 months instead of 6 months, is it possible to extend the business visa in India?


Say if we had a case:  $y=α+βmale+βeduc+ε$    $y=α+βmale+βeduc+βmale*educ+ε$   let's say that both male and educ are indicator variables. What exactly does the interactive term mean in plain English, does male*educ mean that "male and educated"   If this was the case why couldn't we just use the first regression and set male =1 and educ =1.  Obviously $y$ values are different between the two models the interaction term will have extra values added to the predicted y but what exactly does this additional value mean compared to the first model?   Thank you!


RC circuit charging and discharging by square wave not giving a square wave across input on oscilloscope


A big core dump appeared in my home folder - what is it and how can I delete it?

A large x-core file with name core appeared in my home directory. I don't know what it is and what to do with it.  I can't upload the core dump because when I tried to copy it somewhere, I couldn't even open it because it is so big.  I'd still appreciate finding out what this file is, and whether I can delete it.


What grammatical role "proper" (and related) plays postpositionally?

Consider the following sentence (modified from ):     It is now widely accepted that an archaeal host likely gave rise to the cell proper.   (Talking about eukaryotic origins.) What exactly the grammatical role of "proper" is here? Is "cell proper" standing for the concept of "a proper cell" and thus "proper" is a ? Or is it an adverb meaning "properly"? I have the feeling that the former is closer to the truth. I understand that words representing attributes can be positioned after the noun, for example:        money unspent   heir apparent   people unharmed   star visible   people responsible      though it seems to me that these are mostly verb derivatives that perhaps are shorthands for e.g.:      Every star (that is) visible (by an anonymous grammatical subject) is named after a famous astronomer.   Clearly, "proper" is not a verb and does not behave in this way. I'm sure I've encountred similar cases with other non-verbs, but unfortunately, nothing comes to my mind at the moment. Also, can you use "proper" (and related) any time postpositionally? Are these valid? If not, how should one cumulate adjectives with a postpositional attribute?        This is an argument proper.   This was a breakfast proper. (might be ok but too formal?)   This was an English breakfast proper. (doesn't sound right at all)   This was a breakfast English proper. (ugh)      So how is the very first example with "proper" to be understood? Is "proper" a special word that conveys some extra meaning here that I fail to grasp and which justifies its special position? Can someone provide some historical background and insight on this formula? Also, what other (non-verb) words can be used this way?  Please don't close this question being a duplicate of  or  because it isn't. I'm asking for the grammatical role of a specific part of the sentence, what kind of words can play this role (if not verb-derived) and why these particular words ended up with this somewhat special role. Unfortunately, the answers at  are either simply stating the fact that it is a postpositive adjective form (with no further context) or list a few examples but with no explanation and background at all.


Logistic regression - linearity and non linearity

Is logistic regression a linear model which separates the two classes with linear decision boundary?   Can we use logistic regression for non linear problems as well?   I looked at python sklearn and I don't see how to make a non linear logistic regression, so wondering if logistic regression cab be applicable for non linear problems as well.  Considering the hypothesis function h(theta) = 1/1+exp(z)  where z is theraT * X. I hope we can make z as a non linear function by increasing the degree. Does it affect the linear decision boundary to be a non linear?


When to use RSA and when ElGamal asymmetric encryption

If i am not wrong in cryptography there are 2 basic cryptographic schemes for public key cryptography.  encryption whose security is based on the infeasibility of solving the factoring of big primes problem and the  encryption which is as secure as the discrete logarithmic problem. The question is whether or not there are specific circumstances where you must use ElGamal instead RSA and vice versa. What are the weak and the strong points of each?  To sum up is it harder under the same attacking model to solve the factoring problem or the discrete logarithmic problem?


Does there always exist an irreducible polynomial of degree $d$ over $\mathbb{Z}/p\mathbb{Z}$?

Let $p$ be a prime and let $d$ be a positive integer. Does there always exist an irreducible (i.e. unfactorable) polynomial of degree $d$ over $\mathbb{Z}/p\mathbb{Z}$?


How can Captain America's shield make any sound?

In Captain America: The First Avenger, Howard Stark introduces Vibranium to us, saying that it's 'a lot stronger than steel, and a third the weight, and it's completely vibration-absorbent'. This is while Steve is trying out the Vibranium shield.  And we all know that when you hit something, the reason it might make a sound, like the ringing of a bell or the sound of a gong, it's because hitting the object causes it to vibrate, thus causing the air around it to vibrate, and so we perceive this as sound. For a bell, the surface is smaller, so it vibrates faster (higher frequency) so the note we hear is higher. For a gong, the vibration frequency is lower, so the note is lower.   Then in Captain America: The Winter Soldier, Bucky Barnes punches the shield in the fight sequence on the bridge, just after he shoots Natasha. And the shield made a sound very similar to a gong.  How is this possible if Vibranium is supposed to absorb all vibration (being completely vibration-absorbent). The shield should not be making any sound at all when hit...


Badge notification in Achievements drop down links only to relevant post

When I get such item in the inbox:     You've earned the "X" badge for "Y". See your profile.   The "See your profile" used to be a link to the profile badges tab while only the "Y" was link to the relevant post.  Now the whole item is one big link to "Y":        Can this be changed please?


Let $A,B\in M_{n\times n}(\mathbb{R})$, prove that $$(\frac{d}{dt}\det(A+tB))_{t=0} = Tr(cof(A)^{T}\cdot B), $$ where $cof(A)$ is the cofactor matrix of $A$. I tried expanding it using row expansion, but it gets messed up. Any help?


What software development methodology was used to develop Stack Overflow?

Do you use agile or waterfall? What documentation is kept?


How to convince myself that capacitance cannot be a function of voltage?

My textbook states that:  ...The capacitance $C$ depends only on the geometrical configuration (shape, size, separation)of the system of two conductors. [As we shall see, later, it also depends on the nature of the insulator (dielectric) separating the two conductors.]...  Now I wanted to know if these were the only two factors on which the capacitance of a conductor depends. So I tried thinking about it from the basic definition, which is:  Capacitance is the ratio of the change in electric charge of a system to the corresponding change in its electric potential. (Source: )  i.e., $$C= \frac {dQ}{dV}$$ where, $V$ is the potential of the conductor with respect to zero potential at infinity. Now, I can not think of why $C = f(V)$ isn't a possible scenario, assuming that shape size, etc remains constant. So:  Why cannot $C$ be a function of $V$?


Prove that the limit of $\sin n$ as $n \rightarrow \infty$ does not exist

Using only the delta definition of a limit, how can we prove that the sequence $\{a_n\}$, where $a_n = \sin n$, as $n$ tends to infinity does not have a limit?  Thanks!


For the past two weeks, I've been getting this BSOD error on my Lenovo laptop. I have even reset my laptop ("rest this PC"), but it's still happening.  My laptop details:     I have the latest Nvidia driver for my Nvidia Geforce MX150: 431.60 released on 23 Jul 2019.  I have the latest BIOS for my laptop: 8TCN53WW15  released on 15 Jul 2019.     I have run WhoCrashed, it says it says the problem was caused by some driver which could not be identified. If I get to know the problematic driver I will update/uninstall it.  How can I analyze my dump files, so that I can find the problematic driver?  Edit 1: If you get "Oops there was a problem with the network" on google drive page while accessing dump files, just click on download. They will be downloaded. I don't know what's causing this.


Icons for some sites look like messed up in user profile

Icons for MSE, SO, Programmers look like messed up in user profile. Am I only one observing this? Below is example screen shot showing messed up icons in  to the left and as a reference the correct icons as they appear in  to the right:


How can I change my node group interface to more easily edit the Group Input/Output nodes?

I was watching a  and the Node Editor interface is totally different than mine at factory settings, when inside of a node group.    My default interface when entering a node group is that the background is translucent green and there is a Group Input/Output node that must be managed in the Interface roll out of the Properties Shelf (N). The tutor doesn't account for this discrepancy, but carries on as if his setup is just how Blender works/looks by default.   How do I get my interface to look like this, where everything is easily managed right in the Node Editor? Is this an add-on? If so, which one?


On my website, I will have an error message that says:  * Please Choose an Option   Should an be upper or lower case?


Test Code for Apex Trigger... HELP PLEASE

Good morning, I have written the following APEX Trigger and it does seem to work in my Full Sandbox.  My question being I am trying to learn on the fly here is can anyone help me with TestCode for it PLEASE so that I can move it into production? Thank you in advance!!!  trigger newContactRequestConvert on Account_Request__c (before Update)  {     List<Contact> contacts = new List<Contact>();     List<Contact> Update_contacts = new List<Contact>();     List<Account_Request__c> aRequest = Trigger.new;     for (Account_Request__c ar : Trigger.new) {         if (ar.Contact_Request_Status__c == 'Convert') {             Boolean Enterprise = ar.Contact_Type__c == 'Enterprise';             Boolean Media = ar.Contact_Type__c == 'Media';             if (Enterprise || Media) {                 Id rtId = Enterprise ? '012000000000lHu' : '012000000000lGm';                 Contact converted = new Contact(                         RecordTypeId = rtId,                         FirstName = ar.First_Name__c,                         LastName = ar.Last_Name__c,                         Title = ar.Contact_Title__c,                         Email = ar.Contact_Email__c,                         Phone = ar.Contact_Phone_Number__c,                         Contact_Requested_By__c = ar.Contact_Requested_By__c,                         Contact_Requested__c = 'Yes'                         );                  List<Contact> con = [select id from Contact where FirstName=:ar.First_Name__c and LastName= :ar.Last_Name__c];                  if( con.isEmpty() ){                      System.debug('Check if the contact already exists');                      contacts.add(converted);                   }                                     }                                                              }                                                     }  insert contacts;


Showing that if n is a natural number larger than 3, then $n!>2^n$

Showing that if n is a natural number larger than $3$, then $n! > 2^n$.  My try:  Base Case:  If $n=4$, then $4!>2^4$  $24>16$  So, the base case is true.  Assuming $P(k)$ is true.  $k!>2^k$  Now we need to show that $P(k+1)$ is true.  $(k+1)!=2^{k+1}$  Proof:  $(k+1)!>(k+1)k!$  $\implies (k+1)2^k$  After this I have no idea how to solve further.  Can anyone explain how to continue.


I need to connect 24 monitors to one PC. The requirement is to run different web browsers windows on each monitor for exhibition purposes.  Is there any way to accomplish this mission?   Does anybody know about some kind of splitter that makes this?


I'm using Razor View and i have list . I'm sending this list controller to view and filling inside "div" but when i fill this div's i want to format some numbers in my list?  Do you have any idea?  Here my view code  @{ var statuslist = ViewBag.List; for (int i = 0; i < statuslist.Count; i++) {
@statuslist.Count

         @statuslist[i].StationCode - @statuslist[i].StationName
@statuslist[i].Status - Last Check : @statuslist[i].LastCheck
<input id="alertid_@i" type="text" style="display:none;" value="@statuslist[i].Alert"/>

FUEL - @statuslist[i].TotalWet
 // here i want to format
DRY  - @statuslist[i].TotalDry
 // here i want to format             @if (statuslist[i].Alert == "ONLINE")             {                              }             else if (statuslist[i].Alert == "WARNING")             {                              }             else             {                              }

  } }


Not enough space between name and rep in questions list on MSE

Today I noticed this squished spacing on the  (using the new navigation with defaults) here on MSE:    The space between the name (and optional diamond) and the reputation number is smaller than on other sites and, I think, smaller than it was a week or so ago.  I've circled a couple cases that look particularly bad with this styling.  In all my screenshots I've attempted to include both diamond and regular users, and reps with and without collapsing (up to 4 digits is given exactly; after it's, e.g., "10.7k").  I don't see this spacing problem on The Workplace, which has the new base CSS:    And I don't see it on Mi Yodeya, which is still awaiting the CSS update:    So the spacing isn't only due to new-versus-old CSS, and that might be a red herring.  MSE is the only site that has the new navigation (right?), so I'm not sure how to test that variable.  Anyway, whatever's causing it, it looks kind of weird.  If it only occurs on MSE then that's minor, but if it's caused by something that's being tested on MSE before being rolled out to the whole network, we might want to fix it.


Place large image into a post to go full width of its container

I'd like to insert a huge infographics image into a post. The problem I'm facing with is that WordPress provides smaller versions of the image even though I choose "large" thus the image won't go full width of its container and smaller texts in the image are not readable. In the image details, the full size option isn't the original full size, but smaller. I'd need an option for 960px width.  These are the physical files created by WP:  srcset: Infographic2-min-46x300.jpg 46w, Infographic2-min-157x1024.jpg 157w, Infographic2-min-768x4998.jpg 768w, Infographic2-min-236x1536.jpg 236w, Infographic2-min-315x2048.jpg 315w, Infographic2-min-scaled.jpg 393w  sizes: (max-width: 393px) 100vw, 393px  I noticed that WP uses srcset & sizes to make images responsive. Is it possible to override/customise it? Or how should these kind of large images be displayed?


Scanner sc - Output number to 2 decimal places

I am new to JAVA and programming in general. So please be patient with this. I am trying to output the PI in 2 decimal places, however when I input 3.14 I get an   Exception in thread "main" java.util.InputMismatchException   I feel like I am close and that I just need to adjust the code very little for this to work. I have scanned the forums for a couple of days and can't seem to get it to work. Any explanation / help would be appreciated!  public static void main(String[] args) {   Scanner sc = new Scanner(System.in);   System.out.println("What is the value of PI to two decimal places? : ");   int pi = sc.nextInt();   System.out.println("PI is: " + pi); }


What is the fastest way to send massive amounts of data between two computers?

This is a situation I am frequently in:   I have a source server with a 320GB hard-drive inside of it, and 16GB of ram (, but as this is an issue I run into frequently on other machines as well, I would prefer the answer to work on any "reasonable" Linux machine) I have a backup server with several terabytes of hard-drive space (, see disclaimer above)   I want to transfer 320GB of data from the source server to the target server (specifically, the data from /dev/sda).   The two computers are physically next to each other, so I can run cables between them. I'm on a LAN, and , which means my network speeds should "ideally" be 1000Mbit, right? Security is not an issue. I am on a local network, and I trust all machines on the network, including the router. (optional) I don't necessarily need a signed checksum of the data, but basic error checking (such as dropped packets, or the drive becoming unreadable) should be detected rather than just disappear into the output.     I searched for this question online, and have tested several commands. The one that appears the most often is this:  ssh user@192.168.1.100 'dd bs=16M if=/dev/sda | gzip' > backup_sda.gz   This command has proven too slow (it ran for an hour, only got about 80GB through the data). It took about 1 minute and 22 seconds for the 1GB test packet, and ended up being twice as fast when not compressed. The results may also have been skewed by the fact that the transferred file is less than the amount of RAM on the source system.  Moreover (and this was tested on 1GB test pieces), I'm getting issues if I use the gzip command and dd; the resulting file has a different checksum when extracted on the target, than it does if piped directly. I'm still trying to figure out why this is happening.


I have a child form and I want to get the total of the child forms to update the parent with the sum total. I am struggling with the CAML query to get the total back. The below returns zero records at present because (i suspect) the query isn't quite right.          var query = '<Query><Where><Eq><FieldRef Name="Engagement" /><Value Type="Lookup">';             query += ParentEngagementID + ";#" + ParentEngagementText + "</Value></Eq></Where></Query>";           console.log("Query is " + query);         //Checked in chrome this is: Query is <Query><Where><Eq><FieldRef Name="Engagement"></FieldRef><Value Type="Lookup">106;#ABC Ltd - 31/03/2016 - Year End</Value></Eq></Where></Query>          var viewFields = '<ViewFields><FieldRef Name="Budget_x0020_hours" /><FieldRef Name="Actual_x0020_hours" />';             viewFields += '</ViewFields>';          var NewBudgetTotal = 0.00;         var NewActualTotal = 0.00;         $().SPServices({             operation: "GetListItems",             async: false,             listName: "Work tracker - Products",             webURL: "/sites/UKIAsuDataAnalytics",             CAMLViewFields: viewFields,             CAMLQuery: query,             completefunc: function (xData, Status) {                 console.log("---------------------");                 console.log(status);                 console.log(xData.responseText);                 console.log("---------------------");                 $(xData.responseXML).SPFilterNode('z:row').each(function() {                     console.log('Processing list of returned CAML items');                     if($(this).attr("ows_Budget_x0020_hours")) {                         NewBudgetTotal += Number(parseFloat($(this).attr("ows_Budget_x0020_hours").split(";#")[0],2).toFixed(2));                     }                     if($(this).attr("ows_Actual_x0020_hours")) {                         NewActualTotal += Number(parseFloat($(this).attr("ows_Actual_x0020_hours").split(";#")[0],2).toFixed(2));                      }                 });             }         });   If I comment out the query the XML responses coming back are like the below, and you can see the Engagement field should match:      "<z:row ows_Budget_x0020_hours='3.00000000000000' ows_Actual_x0020_hours='0' ows_MetaInfo='80;#' ows__ModerationStatus='0' ows__Level='1' ows_ID='80'      ows_UniqueId='80;#{E91295D7-EF93-4F11-B486-E00F6A6AB7DF}' ows_owshiddenversion='16' ows_FSObjType='80;#0' ows_Created='2016-07-13 10:17:15' ows_PermMask='0x7fffffffffffffff' ows_Modified='2016-08-26 18:58:30'      ows_Engagement='106;#ABC Ltd - 31/03/2016 - Year End' ows_FileRef='80;#sites/MySite/Lists/Work Tracker  Tools/80_.000' />"   I have tried all sorts of changes to the query for the content of "Engagement" but nothing helps. Any thoughts?  (Please don't blame me on design here - I am trying to patch up some Sharepoint "work" done by a colleague. I am certainly not the best person to do the patchup, as much as they weren't the person do to the work.)


How to type Sinhala, Tamil or other Asian languages in Ubuntu?

If you used Google input tools to type in Asian languages when using Microsoft Windows, you might wonder how to do it in Ubuntu...


Is there a way to disable the hardware on/off switch for the Wireless interface?

I have an  and is running the latest Ubuntu 11.10. The hardware works fine with Ubuntu with one exception: The device has a hardware switch for turning the wifi on and off. Every time the wi-fi is disabled through the hardware switch, I am unable to bring it on again. The message on the networking popup would be device not ready.  What I am looking for is a way to disable the hardware switch altogether so that when users accidentally press the button, the wifi would not be disabled.   There is no setting to disable the switch in the BIOS.   Hardware info from lspci -nn:  00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GME Express Memory Controller Hub [8086:27ac] (rev 03) 00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GME Express Integrated Graphics Controller [8086:27ae] (rev 03) 00:02.1 Display controller [0380]: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller [8086:27a6] (rev 03) 00:1b.0 Audio device [0403]: Intel Corporation N10/ICH 7 Family High Definition Audio Controller [8086:27d8] (rev 01) 00:1c.0 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 1 [8086:27d0] (rev 01) 00:1c.1 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 2 [8086:27d2] (rev 01) 00:1d.0 USB Controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 [8086:27c8] (rev 01) 00:1d.7 USB Controller [0c03]: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller [8086:27cc] (rev 01) 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e1) 00:1f.0 ISA bridge [0601]: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge [8086:27b9] (rev 01) 00:1f.2 IDE interface [0101]: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller [8086:27c4] (rev 01) 02:06.0 CardBus bridge [0607]: ENE Technology Inc CB1410 Cardbus Controller [1524:1410] (rev 01) 02:08.0 Ethernet controller [0200]: Intel Corporation 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller Mobile [8086:1068] (rev 01) 10:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection [8086:4222] (rev 02)   The output from lsmod | grep iwl:  iwl3945                73329  0  iwl_legacy             71499  1 iwl3945 mac80211              272785  2 iwl3945,iwl_legacy cfg80211              172392  3 iwl3945,iwl_legacy,mac80211


What would happen if I use a power supply with a different wattage than the system is designed for?

My girlfriend has a Macbook Air.  The power supply is smaller and lighter than the Pro.  It has an output of 14.85V and 3.05Amps.  My Pro Retina has a power supply that is 20V and 4.25 Amps.    Both supplies have the same Magsafe adapter, so the power supplies seem interchangeable at a physical level, but what would happen if one of us plugs in using each other's adapter?    Could damage result from under-powering my MacBook Pro? (like a brownout)? Could damage result from over-powering her Air? (like a power surge)? Will the Macbook Air charge faster with a Pro adapter?


Center of Direct Product is the Direct Product of Centers

The exercise for which I am seeking feedback wants me to prove that the center of a direct product is the direct product of the centers. That is, $$Z(G_1 \times \cdots \times G_n)=Z(G_1) \times \cdots \times Z(G_n).$$  $\textbf{Attempt at Solution:}$ We proceed by induction on $n$. First, we prove our desired for $n=2$; this will establish our basis step. Let $(g_{1},g_{2}) \in Z(G_{1} \times G_{2})$. Then $(g_{1},g_{2})(x_{1},x_{2})=(x_{1},x_{2})(g_{1},g_{2})$ for all $(x_{1},x_{2}) \in G_{1} \times G_{2}.$ This implies $g_{1}x_{1}=x_{1}g_{1}$ and $g_{2}x_{2}=x_{2}g_{2}$ for all $x_{1} \in G_{1}$ and for all $x_{2} \in G_{2}$. Hence, $g_{1} \in Z(G_{1})$ and $g_{2} \in Z(G_{2})$. To prove the reverse inclusion, this time let $(g_{1},g_{2}) \in Z(G_{1}) \times Z(G_{2})$ Then, $g_{1}x_{1}=x_{1}g_{1}$ and $g_{2}x_{2}=x_{2}g_{2}$ for all $x_{1} \in G_{1}$ and for all $x_{2} \in G_{2}$; it, of course, follows that $(g_{1},g_{2})(x_{1},x_{2})=(x_{1},x_{2})(g_{1},g_{2})$ for all $(x_{1},x_{2}) \in G_{1} \times G_{2}.$ Indeed, $(g_{1},g_{2}) \in Z(G_{1} \times G_{2})$  For our induction step, assume that desired result holds for some $n$; that is, assume $$Z(G_1 \times \cdots \times G_n)=Z(G_1) \times \cdots \times Z(G_n).$$ We show $$Z(G_1 \times \cdots \times G_n \times G_{n+1})=Z(G_1) \times \cdots \times Z(G_n) \times Z(G_{n+1}).$$ By our basis step, $$Z(G_1 \times \cdots \times G_n \times G_{n+1})=Z(G_1 \times \cdots \times G_n) \times Z(G_{n+1}).$$ Then, using our induction hypothesis, we obtain $$Z(G_1 \times \cdots \times G_n) \times Z(G_{n+1})=Z(G_1) \times \cdots \times Z(G_n) \times Z(G_{n+1}).$$ Hence, our induction step has been established. Finally, by the principle of mathematical induction, we conclude $$Z(G_1 \times \cdots \times G_n)=Z(G_1) \times \cdots \times Z(G_n),$$ for any finite collection of groups $G_{1}, \ldots , G_{n}.$  $\blacksquare$  $\textbf{Question:}$ This may be a stupid question; but, I'll ask anyway! Would it be wrong if I completed the proof by letting $(g_{1},\ldots , g_{n}) \in Z(G_1 \times \cdots \times G_n)$ and showing $(g_{1},\ldots , g_{n}) \in Z(G_1) \times \cdots \times Z(G_n)$? (Then, of course, proceed by proving the reverse inclusion.) Thank you!


Full desktop experience to another computer

I have two computers: one is a very robust desktop with Ryzen 3600, 16GB of RAM, SSD storage and a RX 5700; the other is a weak laptop with a i5-4200u, 4GB of RAM and HDD storage. Most of the time I'm using my desktop I notice that I barely use a quarter of it's power, while while I use my laptop it always struggles to complete a few tasks and takes a lot of time to load programs. So my objective is to borrow the desktop's horsepower to the laptop, while I'm still using.  I've studied a little about Xserver and Xclient but I don't know if it fits my objective: let the laptop have a full desktop experience, as if it's running the OS itself (have a Desktop Environment up and running, open programs from the DE, close, maybe even play games in it).  I'm currently running Windows 10 on the desktop, but I have access to Linux Subsystems for Windows and I can also emulate Linux distros via VirtualBox; the laptop currently runs Linux Mint with Xfce.


how do I get the 'tool' back to my selection?

I can't figure out how on earth I get the tool back to normal mode..... right now it's stuck at whereever my cursor-thing is located.  I can switch between 4 modes, but none of them get's me back at how it was.  I tried deleting the program and reinstalling because I can't figure it out and it seems like such a small thing, probably some hotkey I miss-clicked. Anyways, after deleting and reinstalling it just starts up with the same UI :(  such a small thing can be so god damn annoying!


Trying to find 5.5" surface mount doorbell button

I really like my doorbell and the plastic push button is broken thus not working. It came with the home when we bought the house from the builder. Now it's hard to find builder materials. It's 5.5" height and 1.2" width. Kinda antique brass gold type finish. I did lots of googling but not able to find. Picture is attached if anyone can help me find this price. I appreciate it.  Thanks


When are the integers extended with the nth root of unity a unique factorization domain?

Let $\zeta_n$ be the $n$th .  The wikipedia page for  (UFD) states that for $n \in \mathbb Z$, $1 \le n \le 22$, $\mathbb Z[\zeta_n]$ is a UFD, but not for $n = 23$.  Is there a general formula for determining when an integer extension with a root of unity is a UFD?  Failing that, is it known for higher $n$ than $23$?


I have a string value like this "0.00050722" and I want to convert its data type to .  I've been trying  and  but it always returns me a value of 0.  I need to get the exact of amount of 0.00050722 in a float datatype.


Update iOS 5.1.1 on iPad 1 to at least iOS 6

I have read many post about updating an iPad 1 (iOS 5.1.1) to iOS 8 but all I need at the moment is to update my iPad 1 to at least iOS 6. Is there any way I can update it to iOS 6? No jail breaking or anything, just a normal way of updating.


Which is the correct phrase, "I am on Palmyra Atoll," or "I am at Palmyra Atoll?"

Palmyra Atoll, like all atolls, is a collection of features - islands, lagoons, coral reef and the surrounding ocean habitat.  Many of my colleages use the preposition "on" when refering to events occuring "at" Palmyra. Is "on" the correct preposition in this case, or would "at" be more appropriate?


Modeling binary outcomes - inaccurate model when using logistic regression?

I am trying to model the probability of a binary outcome with the independent variable being an hour variable. I understand that linear regression is not the correct method for this type of task (I wont go into my simplified understanding of why, if someone wants to add a succinct explanation I'm all for it).  The problem I am running into is that logistic regression does not seem to accurately capture the trend in my data, which is inverse parabolic (low probability early, increasing to a peak at the middle of day and decreasing at the end).  My test data is as follows, I just supplied the ggplot and stat_smooth() curve I am looking at vs. the model itself:  testset <- data.frame(              hour=c(rep(100,100),rep(200,100),rep(300,100),rep(400,100),rep(500,100)),                data=c(rbinom(100,1,.25),rbinom(100,1,.3),rbinom(100,1,.5),                       rbinom(100,1,.25),rbinom(100,1,.1)))  ggplot(data=testset,aes(hour,data))+stat_smooth(method=glm,family=binomial)   Notice that is I allow the stat_smooth function to default to a fitting/smoothing method (loess in this case), the representation is closer to the actual data.  I know I am missing something terribly simple, or misunderstanding something in a silly way, but that is why I am asking the question, search didn't help.  ggplot(data=testset,aes(hour,data))+stat_smooth()


Finding all software packages in Debian that provide a particular alternative

The Debian distribution has the . From the Wiki:     The Debian alternatives system creates a way for several programs that   fulfill the same or similar functions to be listed as alternative   implementations that are installed simultaneously but with one   particular implementation designated as the default. For example many   systems have several text editors installed at the same time. The vi   program is a classic example of an editor that has many   implementations such as nvi, elvis, vim, etc. but which one should be   designated as the default?   In general, there are multiple packages in Debian that provide a particular alternative. How does one obtain a complete list of all such packages that exist in the Debian repositories? Let us use the vi alternative as an example.  NOTE: Doing such a query against the list of installed packages is easy, but that is not what this question asks.


Pass length of argument into bash command substitution

I'm trying to write a quick bash function that populates a README.md with a $1\n followed by underscores the length of $1.  The code I found in other stackexchange questions showed that to print a character <n> times, use  printf '=%.0s' {1..<n>}   and indeed, this works (obviously replacing <n> with a number).  To create my README.md, I thought the function would look something like this:  make_readme() {     echo "$1 $(printf '=%.0s' {1..${#1}})" > README.md }  make_readme "Some project"   This, however, produces a file with this text:  Some project =   As far as I can tell, ${#1} within the $(...) is being replaced with the empty string.  My guess is that command substitutions get their own argument scopes, and since there are no arguments passed to the substitution, $1 is being replaced with nothing.  I did finally finagle a couple workarounds:  make_readme() {     underline="printf '=%.0s' {1..${#1}}"     echo "$1 $(eval "$underline")" > README.md }   or  make_readme() {     echo "$1" > README.md     printf '=%.0s' {1..${#1}} >> README.md }   but it seems like there should be a way to do this in one line.


I have 3 questions regarding she/her and my logic is posted below:   Only one of the contestants was chosen, she/her.   I think the answer is "she" and here's my logic:  This sentence is written in the passive voice so the subject no longer "does" an action or "is" something, but rather is acted upon. "One" is the simple subject here despite the fact that she is not choosing.  And I believe the "she/her" is an appositive that's placed at the end of the sentence instead of placed right next to the word it's describing; therefore, the proper pronoun here is "she" because subjects take the nominative case. If I place the pronoun right after "one of the contestants", "she" would be the appropriate appositive here in formal language.   "Only one of the contestants, she, was chosen"   Was it she/her you hoped to find?   I think it's "she" because "she" is a predicate nominative here so it takes the subject form in formal language. If I mess with the syntax, I can get the following:   "It was she you hoped to find."   In this rearranged sentence, "she" is the predicate nominative and takes the subject case, while "you hoped to find" is just some adjective clause describing this woman.    Congratulations on beating everyone else in the Pokemon League...but there's still one more opponent left--me!"    I'm assuming the "me" part is shortened for "It is me" In that case, I would go with "I" because it's the predicate nominative of the clause.  Do we choose "me" or "I" in this sentence? "Me" sounds better, but is there some rule here I'm missing?  -  I'm not sure if my reasoning is entirely correct. Thanks in advance.  Link on Predicate Nominatives:


Have guns in Westworld started operating differently?

In the first episode of the show Westworld, Ed Harris (a "guest" / human) is being shot at by James Marsden (a "host" / robot). It is as though Ed Harris has a force field around him; the bullets all miss or are blocked.  In the third episode of the series, guest Jimmi Simpson is shot by a host in town. The "bullet" knocks Jimmi Simpson down, and leaves a mark on his chest.  Is this an inconsistency in the scripts, or has the Westworld park changed the way guns work, or do guests get to determine how they'll be affected by being shot by hosts?


Number of surjections from $\{1,...,m\}$ to $\{1,...,n\}$

Let $m,n$ be two integers such that, $m\ge n$. Compute the number of surjections from $\{1,...,m\}$ to $\{1,...,n\}$   There are $n^m$ functions (total).  we subtract from $n^m$ the number of non-surjective functions.  There are $\binom{n}{1}(n-1)^m$ functions missing one element.  There are $\binom{n}{2}(n-2)^m$ functions missing two elements, but how many times did we count this in the previous count ?  Then we have to add this again by inclusion-exclusion but why is the difference always 1?


In Ubuntu 12.04 and newer, . How can I enable this back?


What is the best way to get from this:  ['\n    62\n    ', '\n    178\n    ', '\n    7,800\n    ']   ...to this in Python?  ['62', '178', '7,800']   I am trying to strip all non-alphanumeric characters from the strings like below,  import re re.sub(r'\W+', '', my_string)   ...but with lists/arrays.


Need of a subject after 'and' conjunction

Sometimes i see "She went there and she started working." And often i see "She went there and started working." should I use the subject again after 'and' or not? What is the rule?  Thanks in advance.


How to allocate more space inside a cell in a table?

I'd like to create an evenly distributed two columns table on a page. In order to have the vertical division centered, I used tabularx:  \begin{table}[H] \begin{tabularx}{\textwidth}{X X} a & b \\ c & d \\ e & f \\ \end{tabularx} \end{table}   However, I have two problems:   for long words, I want it to look like this (made in MS Word - ignore the borders, they are there just to help visualize):    but in LaTeX I have:    I've tried a solution with multirow, unsuccessfully. I keep getting the message Overfull \hbox (86.11789pt too wide), but I don't understand why... maybe because the word is too long for its cell?


The UK has voted to leave the EU. How does Brexit affect people traveling to the UK and vice-versa?

On 23rd of June, 2016, the UK . This leads to the following questions:   Are UK citizens traveling to the EU affected? Are EU citizens traveling to the UK affected? Are UK/EU family members traveling both way affected? Are Commonwealth citizens traveling to the UK affected? Are other visa-free nationals (such as US/Canada citizens) affected? What other consequences might 'Brexit' have on travelers?   Also, see the  on Expats.SE.


Can somebody tell me what was the size of the universe and the expansion rate at the big bang?

I want to know the exact numbers and preferably the calculations that gives the size of the universe at the Big Bang and the initial rate of expansion at the moment of big bang. Does somebody know this? thanks!


Should i change EXISTING (NOT NEW) Urls with underscores to hyphens for SEO?

Please note that this is for existing URLs, not new.  I know that Google says it is recommended to have Url's to display a hyphen(-) instead of a underscore(_) in the url as a keyword seperator otherwise google views it as one phrase.  We plan to convert all our website Urls to this format.  However, the problem is that the Urls have existed for years and have a significant google ranking.   I know that the would be a dip in SEO ranking if we change them but we can obviously use 301 to reduce that.  Realistically, would it be better for our SEO if we simply kept these Url's as they are and instead use hyphens on new urls we create or would it be better to change all the existing Urls from underscores to hyphen and 301 them to their new locations?  Thank you in advance


How to install a deb file, by dpkg -i or by apt?

I have a deb package for installation.  Shall I install by dpkg -i my.deb, or by apt?  Will both handle the software dependency problem well?  If by apt, how can I install from the deb by apt?


For some reason my Steam just broke today after working perfectly since I installed it a few days ago.  It was originally installed via the deb from the Steam site. So I uninstalled that using the Ubuntu Software Center. Then I installed steam-launcher. When I run it from the menu it does nothing at all. When I go through terminal it gives this message, no error:  $ steam/usr/bin/steam:  line 196: /home/andrew/.local/share/Steam/steam.sh: Success   So I purge-removed it and removed the .steams directory from my home directory but on re-installation its the same story.  I am using Xubuntu 12.10 64bit.  It appears that steam .local/share/Steam/steam.sh is blank. What is it meant to have in it? I am so confused with how reinstalling it doesn't fix it.


Is it possible to balance load between multiple Nginx load balancers without using a hardware load balancer?

I plan to balance load between my app servers using a separate Nginx server as a software load balancer. But actually, it's because a load balancer in front of the app servers allows me to update an app server (OS, application, etc.) when I want without downtime.  Then I realized, how do I update the load balancer itself? i.e. my site is still going to go down when I need to update the OS and Nginx on the server that acts as the load balancer for my application.  As hard load balancing is out of question, I was wondering if it's possible to connect two Nginx webservers together so that they balance load across app servers together, while enabling me to update one at a time, when I need to, without causing downtime.  Is this realistic?


Why won't Excel autofit my row height? [Microsoft Excel 2013]

[Microsoft Excel 2013]  This row looks like it should auto fit to the height of just 1 line, but autofit is not working here. I've checked and there are no merged cells, and I've even disabled wrap text on all the columns just in case it's causing some weird behavior. Does anyone have any ideas?  Like this:


I am compiling my project with TexMaker 4.1-1 in Ubuntu 14.04. I have TexLive 2013 and Biber 1.8-1.  I have to compile it running first the TexMaker Quick Build with LuaLaTeX + View PDF, then running biber on the terminal, and then running the TexMaker Quick Build again.  I would like to be able to run biber on TexMaker. Following , I naively set the 1: User Command as biber %.bcf, but it does not work. Anybody knows how I should proceed? Many thanks!


If G/H is a cyclic group, then G is a cyclic group

I know "If $G$ is cyclic, then $G/H$ is cyclic" is true, but I was wondering if it true if, "If $G/H$ is a cyclic group, then $G$ is a cyclic group"? I think this would be true since $H$ is a subgroup of $G$ then $G/H \in G$ and since it's cyclic then $G$ must be cyclic right? Do I have the right reasoning/is this this a true statement?


How to extract the code blocks between multiple script tags with JavaScript?

I have the following function which pulls in a Javascript block via AJAX from a URI and executes it:  function loadViewViaAjax(url, callbackOnSuccess) {     Ext.Ajax.request({         url: url,         success: function(objServerResponse) {             var responseText = objServerResponse.responseText;             var scripts, scriptsFinder=/   How can I change the loadViewViaAjax function so that it executes everything between multiple script tags?, e.g.:


I've been using texstudio for a while on ubuntu 16.04, and one day the toolbar graphics became very big and very ugly  They used to be smaller. I'm not sure but I think it has somtheing to do with a package I installed "libqt5scripttools".   Now I can't figure out how to fix this problem.  Any kind of help is appreciated. Thanks.


Spawning random GameObject in map (no repetitions)

Im making a terror game, and i want to spawn little collectibles in my scene, my code works fine, but they repeat the world location in every instantiate: using UnityEngine;  public class objectivesGeneration : MonoBehaviour {     GameObject[] objSpawn;     GameObject objActual;     public GameObject obj;     int index;     void Start()     {         objSpawn = GameObject.FindGameObjectsWithTag("spawnObj");     }      void Update()     {         if (Input.GetKeyDown(KeyCode.I))         {             generateNewObj();         }     }      public void generateNewObj()     {         index = Random.Range(0, objSpawn.Length);         objActual = objSpawn[index];         createObj();     }     public void createObj()     {                  Instantiate(obj, objActual.transform.position, objActual.transform.rotation);     } }  Can somebody help me?


Where can I find the maximum lens weight for my camera?

Where can I find information about maximum allowed lens weight for my camera?  I'm asking because I have an opportunity to get an old Soviet-built 80-200mm lens for my Nikon D3100 for a very attractive price. But then it occurred to me: the lens weighs 960g (more than camera itself) and the camera has plastic body, so could it damage my camera?  Nikon website only list compatible types of lenses, but not maximum weight. I'm pretty sure this particular lens will be OK, but this kind of information would be very useful when considering purchasing heavy lenses.  While I'm asking about Nikon, I think the question will be relevant for any camera brand.


How to find my Office for Mac key within the program?

I just removed my CD Optical drive from my Macbook Pro 2009 and replaced it with an SSD. I cloned my original drive using disk utility and now boot to the SSD. Everything transfered well except for Office. It now asks me to input my key again. Unfortunately I do not have the original key as I purchased the MBP from someone else. Is there a way to find the key within Office on the old hard drive?


Let $g_n= {2^2}^n +1 $. Prove $g_0 · g_1 · · · g_{n−1} = g_{n} − 2$.    I'm not sure how to start this proof, if it should be done algebraically or if I should try to use a proof by induction.


I was reading through Google's material design spec on the topic of  (under the Shadows section), and it seems the button states are backwards.  It shows the pressed state with a deeper shadow indicating that it has a higher elevation, but if I'm pressing a button, shouldn't it have a lower elevation?


I don't understand what's the meaning of "cited after" in books, when they cite a source, e.g.,       (cited after Manin 1997: 3)


I want to write a sentence like "physics (from ancient greek φύσις)". But I don't know how to typeset the character "ύ" properly. Also I am not sure, if it is a good idea simply to use math-mode here to typeset the greek letters. So, what's the best way to typeset the ancient greek word φύσις?  Edit: I should add that I just copied the word from wikipedia in this case, so the xelatex or babel solutions work very well since I can just copy the greek word into my latex source. But I don't know how I can insert those greek letters directly with my normal german keyboard layout.


I've recently discovered Bayesian statistics, currently I am experimenting with Openbugs, yet I cant grasp the concept of what happens with the inputted data. I understand mcmc, yet all of examples I've seen were connected with some sort of integration, not the actual fitting of model to data.  Can someone explain to me, what happens with the inputted data in context of Gibbs Sampler?  Thank you.


Windows 7 not in boot menu on dual boot system

I installed Lubuntu and created 3 partitions:   1 swap 1 Lubuntu 1 Windows   I turned my laptop on and I got the boot menu and I looked for Windows 7, but there's just Lubuntu.  The device is a Toshiba Satellite c855-s5203 with 2 GB RAM.  I have checked in the drive application and Windows does not show up.  How can I fix this?


Does Simulacrum copy the proficiencies and class features of the original?

Does the copy obtained using the spell simulacrum also copy all proficiencies and class features (such as the ones obtained through one's school of magic) of the original humanoid/beast?


Ubuntu 17.10 on Wayland - (How) can I install the NVIDIA drivers?

I have a NVIDIA GEFORCE GTX 1060 graphics card - how do I have to install the NVIDIA drivers properly in Ubuntu 17.10? Is it the same procedure as in 17.04 or does the fact that Ubuntu 17.10 uses the Wayland session by default change something?


How do the Death Stars retain atmosphere in the landing bays?

In episodes IV: A New Hope and VI: Return of the Jedi we are shown ships landing in Death Star 1 and Death Star 2 landing bays seemingly exposed to the vacuum of space, and yet non-suited Imperial personnel are seen standing on deck (for example in about the 3rd minute of Episode VI). How does this work in-world?  If there are some kind of shields, what happens to them when the ships cross the threshold? Why don't we see de/repressurization?  What, in short, is the deal?


How to restore System/Library Files without Time Machine

I fell for the tarp. In an attempt to fix an installation issue with Python and Pygame I read something stupid online telling me to delete this file and that file to completely get rid of python on my machine so I could install it. One of the files was Library/Frameworks/Python and the other was System/Library/Frameworks/Python. Obviously when I tried to reinstall Python it wouldn't let me. So now the real dilemma. I'm even more of an idiot because I've never had any kind of backups. I don't have an external to save backups to anyways so I just never did it. Now I find myself unable to do anything with Python anymore and I can't restore from a backup because I'm stupid. So is there any way I can get python reinstalled again without completely restoring my computer and losing everything I have?


How to handle const/non const combination of getters without duplicate code?

Suppose I have a struct that has a name and some value associated with it:  struct Season {   std::string name;   // Mean temperature over the season   double meanTemperature;   // Days since the start of year when it's strongest   float strongestAt;   // Fraction of a year it applies to, compared to other seasons   float yearFraction; }   This class describes a season per year. Suppose I have a collection of them, which fills in the entire year:  // made up method that is supposed to find a season (I don't use it in real code) int findIndex(const std::vector<Season>& in, std::function<bool(const Season&)>); class SeasonCollection { public:   const Season* GetSeason(const std::string& name) const   {     const int index = findIndex(_seasons, [name](const Season& s) { return s.seasonName == name; });     return index != -1 ? &_seasons[index] : nullptr;   }   Season* GetSeason(const std::string& name)   {     const int index = findIndex(_seasons, [name](const Season& s) { return s.seasonName == name; });     return index != -1 ? &_seasons[index] : nullptr;   } private:   //! Settings for seasons   std::vector<Season> _seasons; };    In that collection you can see that I need to get both const Season* and Season*. That's because in some contexts, the collection is meant to be read-only and in some others, it is writeable.  There will also be other ways of getting a season, such as day of the year (eg. Christmas day 24.12). I want to have a const getter for each method of getting them, but I also do not want to copy-paste each of them and just add const.  What's the best approach?


Local APT repository for specific packages

I'm trying to set up an APT repository on my local network that will work similar to apt-mirror except, I don't want to mirror an entire repository, I only want to serve specific packages of my choosing. I need to be able to download the packages I want from the public APT repositories and serve them from mine. I've had a look into apt-mirror, apt-cacher and reprepo.   Apt-mirror doesn't look like it will work as it mirrors an entire repository and automatically downloads updates, which I want to do manually. Apt-cacher just caches packages downloaded by people on the network so that's not what I'm looking for either. Reprepro looks like it is what I want but I can't figure out how make it serve packages I download from public repositories. Everything I have managed to find uses reprepro to create, sign and serve your own packages that aren't in official repositories.  How would I go about setting this up and adding specific packages? I don't want to resign the packages myself, I would rather leave them signed by the public repository.  I would also like to control what happens if the client tries to install a package that is not in this repository, I'm not sure what exactly I want to do in this situation yet but I'm tossing up between blocking/disallowing the download, and redirecting them to the public repository.  EDIT: For this to work would I need each package to be set-up exactly the same as it is on the public repository? ie. Would it need to be in the same sub directories (stable, testing, main, contrib, etc) and have the same entry in the packages.gz file? If so, how would I find out all this information about the package and is there an automatic way to ensure it is correct in my repository? Much like apt-mirror/apt-cache how they automatically copy the official repo?