Left UK without passing through Immigration, why?

Last year, I traveled to the UK for a conference. Upon entry, my passport was stamped confirming my entry via immigration. Upon my exit, surprisingly (and something I'm been wondering about ever since) I went through no immigration. The direction to board flight led me straight to flight check-in, then we boarded the flight. Below is my entry stamp. Stamped within my Visa stamp, really?  I went to the Netherlands this year, got stamped, in and out. Entering ZA, I got stamped. Even leaving and returning to my home country (Ghana), I got both stamped. I find the stamping a standard procedure/protocol. Yet, with the UK, I left the country without being stamped. I don't know if that was part of the plan or I missed something or what?:  Does the UK have a policy of not stamping when people leave the country? Was that a mistake on my part? Obviously, my stay period has expired, and on paper, I'm "not supposed" to be in the country, but without the UK exit stamp, might that affect my visit or travel visa application to UK one day in the future? Because if stamping is mandatory, and I don't have one, then I will be hot if asked, "How did you leave the country without the stamp?" In this case, those who could have determined if I overstayed or not, was the Airline  More info  My visa was for a stay up to 29/30 days or so. But I stayed only for 7 days Flight used throughout was Emirates and passed through Dubai on transit Origin was South Africa. Destination Airport was Heathrow  For comparison, below is my Netherlands stamps, both in an out.  My Readings/Researches I came , and one of the answers pointed out, its "No real reason now for UK exit stamp." Really? I see a strong reason to, otherwise, stamping me in is of no real reason then. One commentator also added: "A loophole which no doubt has been exploited by some foreigners." No idea how someone will exploit that! And considering , it can lead to some questions.


What kind of magic stops when its creator dies, which doesn't?

Through the book series there have been examples of charms stopping when its creator dies (Harry could move again after Dumbledore fell in HBP), but also of charms continue working (Protection of Privet Drive in DH, protection of Grimmauld place against Snape by Moody).  Is there further information what kind of magic is influenced by the death of its creator and which isn't?


Just got myself a new VPS hosted at VPSDime and cannot get mysql to work (mention the host since I've never had the error before). I've had 2 fresh installs of both Ubuntu 14.04 LTS and 12.04 LTS and I've used the same command to install on both. I've found a lot of "hackish" solutions for how to solve this while searching the web but non have given result. The following is the inputs and outputs, simplified, for both systems. Both systems were fresh installs.  apt-get update && apt-get upgrade ...  apt-get install lamp-server^ ... Errors were encountered while processing:  mysql-server-5.5  mysql-server E: Sub-process /usr/bin/dpkg returned an error code (1)   The apache server and PHP are both working fine. I've tried to reinstall mysql separately. I have no idea what to do. If you guys can't help me I'm gonna contact the support, don't expect them to solve it but perhaps they give me my money back at least... Thanks in advance.


Where are the user profile directories of Google Chrome located in? It may seem like a very simple question, but I couldn't find it. I checked inside %APPDATA%, but there were noting relevant there. My OS is Windows 7 Ultimate x64 SP1.


Is there a concise term for a non-real complex number?

Strictly speaking, a complex number is any number that can be represented in the form $z=a+bi$, even if $b=0$. This means that $5$ is technically a complex number. There are certainly advantages of this being the case: for example, the real numbers are a subset of the complex numbers. However, this makes it a little awkward to describe a polynomial that does not have real roots—if I say 'this quadratic has $2$ complex roots' then this is really true for any quadratic. I suppose I could say 'this quadratic has $2$ non-real roots', but this also feels a little awkward (though it may be my best option). With this in mind, is there a specific term for a non-real complex number?


Force OS X to use Bluetooth dongle instead of built in controller

I'm using a Magic Mouse with my MacBook Pro and Mountain Lion. The cursor sometimes start to lag. I figured, the reason for this could be the distance between my Mac and the mouse (about 1.5 meters / 5 foot).   I bought an external USB Bluetooth dongle I want to plug into my monitor on my desk, so the mouse is closer to the controller. However, I can't figure out how to make OS X use the external dongle instead of the built in controller.   When I go into System Prefs > Bluetooth and hold the Option key to display the reception, I see that it is the strongest when it's next to my Mac and not when it's next to the dongle. So what can I do to change that? Thanks!


Should I get post-bacc in Mathematics or go straight to Computer Science Research?

I have just been hired to work in the IT Division at a top 10 University in the U.S., and they said that I can take classes at the college.  Currently, I have a B.S. in computer science and a minor in mathematics.  I'd like to do research in machine learning, and its application to computer security in graduate school.  I have a very cool idea for a research topic, which appears that no one else has written papers on.    There are two caveats to this.  One is I only have a 3.0 GPA, which is required for acceptance into graduate school.  Second, the mathematics required for machine learning seems to go beyond what I learned for my math minor.  Advanced statistical concepts, such as Hidden Markov Chains, which I've noticed is a topic covered in graduate level mathematics courses.  Should I go for a post-bacc in applied mathematics?  Should I teach myself the advanced math topics, and try to raise my GPA by taking some higher level undergrad classes in Computer Science?    Any guidance or suggestions are greatly appreciated.


Key Points When Buying Used Camera-Body?

I'm looking to buy my first DSLR (Nikon D610), and was wondering what are they key factors to look for, when purchasing a used/refurbished camera?   I've read through,  , and the answers are great, but I'm hoping someone with experience that could point me as to how they evaluate used a camera-body.   I'm a reasonable person understanding that buying used/refurbished means potential wear/tear.


Is there a way I can change name within 30 days from last change?

By mistake, I changed my Display name. I want to change it again now. Is there a way to change it within 30 days?


I have two css files. One is GIT ignored and other is not.  I want to confirm which one is ignored and which one is not.  I can use following command to check if files are ignored.  git status --ignored  How to check for a specific file?


Is it possible to check the current Operating System with Java?  I want my program to do something different on Linux.  Something like that   if(os == Linux) {   ...  }


Movies frequently show babies being born in outside environment and judging by the look the babies do seem extremely close to new borns. Unless we are tricked by CGI, how do they film such scenes?   I would imagine it is a great risk for small babies to be exposed to outside conditions at such early stage.


Map not loading when using getLegend and showing error for getView()

I was able to run my application on using Legend earlier but now I want to update my Legend when scrolling on the map. So I tried to used this code  . And I got the gist of how he is able to do that but when I am trying the same I keeping getting the error var graphicUrl = wmsSource.getLegendUrl(currentResolution);  I think this is mainly due to the wmsSource not declare. But I tried to initialize  seems wmsSource in TileWMS but does not seems to work. var getExtent = function () {     return map.getView().calculateExtent(); } var getProjectionCode = function () {     return map.getView().getProjection().getCode(); }  var updateLegend = function() {     var currentResolution = map.getView().getResolution();     var graphicUrl = wmsSource.getLegendUrl(currentResolution);        const crs = `&CRS=${getProjectionCode()}`;     const bbox = `&BBOX=${getExtent().join(',')}`;     const height = getHeight(getExtent());     const width = getWidth(getExtent());     const heightAndWidth = `&srcwidth=${height}&srcheight=${width}` ;     const legenOptions = "&legend_options=countMatched:true;fontAntiAliasing:true;hideEmptyRules:true;forceLabels:on" ;        var img = document.getElementById('legend');     img.src = `${graphicUrl}${crs}${bbox}${heightAndWidth}${legenOptions}`; }; //Updated Legend End   //View var myview = new ol.View({     center : [8717490.201868,2788422.791843],     zoom : 4 })  var firstSel = document.getElementById("City"); var secSel = document.getElementById("Sector");  //var LayerArray = [baseLayer, firstLayer]  //Map var map = new ol.Map({       target : 'mymap',       view: myview,       layers: [         new ol.layer.Tile({             source : new ol.source.OSM({                 attributions: 'Surveyor Allpication'             })         }),         new ol.layer.Tile({             source : new ol.source.TileWMS({                url: 'http://localhost:8089/geoserver/India/wms',                params: {'LAYERS': 'India:India', 'TILED': true,'TRANSPARENT':true},                ratio: 1,                serverType: 'geoserver',                transition: 0,             })         })       ] }) updateLegend();   This here is my JS

         Legend:

  This is my HTML. How do I make this work?


Create contour line from point table in PostGIS

I have a point table containing values ranging from 0 to 100 and I would like to draw a contour line for the value 70. (See image below)  I know how to create contour lines in QGIS for raster data but now I would like to do it with vector data (my point table) using PostGIS so that it can be integrated in a python script.  Any idea on how to start?  EDIT: This question is different from  as it doesn't involve raster data (neither in the input nor in the output)


Why is $\langle \hat{A} \rangle = tr(\hat{\rho} \hat{A})$?

Given that $$\langle \hat{A} \rangle = \langle \psi|\hat{A}|\psi \rangle$$ Why does $\langle \hat{A} \rangle = \mathrm{tr}(\hat{\rho} \hat{A})$, where $\hat{\rho}$ is the density operator, $\hat{\rho} = |\psi\rangle \langle \psi|$? More importantly, how does trace manifest itself in a general operator, that is not a matrix? Because at the moment, all I think about when I think "trace" is the sum of the diagonal elements, which only applies to matrices...


The gardens stretched back to some reasonable-looking pasture land on which grazed a few cattle and sheep.  Why is this inversion valid here? I would expect maybe "on which there grazed" (as in "there comes a time") if an inversion were to be happen.


Change value of checkbox based on value of other form

I'm trying to have a checkbox called 'All' that when checked, also checks the rest of the checkboxes in my form.  I have basically no javascript experience so sorry if this is really basic.  I patched this together from looking at posts like  and .       My HTML looks like this:  <form>   <input type="checkbox" id="A" onclick="checkIt(this)">All
</input>   <input type="checkbox" id="1">One
</input>   <input type="checkbox" id="2">Two
</input> </form>   How can I get checkboxes 1 and 2 to change when I select checkbox All?  Thanks.


Why are these sites cloning my content, and how do I stop them?

So I was searching for one of my own websites on Google: http://www.botlibre.com  and to my surprise found some clones of my website, like:  http://83waystowasteyourtime.adidas.com  and:  http:// mediaiq.astral.comm  My question are:   Why are they creating clones of my website?  Some kind of SEO scheme or what? What gain could they be getting? How do they have a URL at adidas.com and astral.comm?  I assume it's not Adidas steeling my content. How do I shutdown these sites and stop people from stealing my content? (on Tomcat)


Does anyone knows why I cannot remove the letter B in the list?  Steps to reproduce:   click on "Add to list" button letter B is added to the list click on letter B in the list to remove letter B is not removed from list click on letter C or A letter C or A is removed from list   HTML:   <button id="add">Add to list</button>

A

A

A

   Jquery:   $(document).ready(function(){      $("ol").append("
C</li");      $("#add").click(function(){         $("ol").append("
B
");     });      $("li").on("click",function(){         $(this).remove();     }); });   Here you have the sample in the .  Best regards.


I have a List<string> and I want to take groups of 5 items from it.  There are no keys or anything simple to group by...but it WILL always be a multiple of 5.  e.g.  {"A","16","49","FRED","AD","17","17","17","FRED","8","B","22","22","107","64"}   Take groups of:  "A","16","49","FRED","AD" "17","17","17","FRED","8" "B","22","22","107","64"   but I can't work out a simple way to do it!  Pretty sure it can be done with enumeration and Take(5)...


Position text over image in html without putting the image as background

I've the code below       <img src="../../1021.png" alt class="img img-fluid">   </div>   i want to write some text and input field over this image without putting it as a background for some reasons , can that be done anyway ?


zsh PATH variable not properly set from another environment variable

I want to set my path (and some other environment variables) based on a certain directory, so I have the following file in my home directory  export MY_DIR="/path/to/dir" export PATH=$MY_DIR/bin:$PATH export MY_OTHER_VAR="$MY_DIR/folder"   I source that in my ~/.zshrc with the following line: [[ -e ~/my_file.sh ]] && emulate sh -c ' source ~/my_file.sh  However, when I log in, $MY_DIR/bin is not in my path. If I echo $PATH, I get %F{51}~%f where $MY_DIR/bin should be. However, both MY_DIR and MY_OTHER_VAR were set correctly.  Have I done something wrong, or is this some weird bug in zsh (it seems to work as expected with bash)?  Edit  I have used both source and ~ elsewhere in my zshrc without issue. However, I tried moving the file to /etc/zsh/my_file.sh and sourcing it from etc/zsh/zprofile. I also tried using . rather than source, but even with those changes, I still see the same %F{51}~%f in my path variable. Actually, I've noticed that I see whatever my current directory is in the PATH variable, so for example, if I navigate to /etc/zsh/ and echo $PATH, I see %F{51}/etc/zsh%f.  Full code to reproduce:  /etc/zsh/zprofile:  [[ -e /etc/zsh/my_file.sh ]] && emulate sh -c ' . /etc/zsh/my_file.sh'   /etc/zsh/my_file.sh:  export MY_DIR="/home/matt/code" export PATH="$MY_DIR/bin:$PATH" export MY_PYTHON="$MY_DIR/python"   EDIT 2  So I am using a custom prompt which prints my current path in cyan. If I disable that prompt, my PATH variable gets set properly. In the script for the prompt, I use a variable that I call path (lowercase). Apparently, while bash doesn't confuse it with PATH, zsh does. Thanks to all for the help.


Integral of a non negative function over an infinite interval.

If $f(x) \geq 0$ and for every $x \in [0, \infty)$, $f(x)$ is Riemann integrable on $[0,n]$ for all n. If $\int_{0}^{\infty}f(x)dx < \infty$ then is it true that $\lim_{x \rightarrow \infty}f(x) = 0$. If yes then how?


says, "Shell functions are faster [than aliases]. Aliases are looked up after functions and thus resolving is slower. While aliases are easier to understand, shell functions are preferred over aliases for almost every purpose."  Given that (true or not), how do shell functions compare to standalone shell scripts? Does one have particular advantages over the other, or better suited for certain types of tasks?


Is my home likely to be damaged by nearby construction activities?

They start at 7 and go all day.  What can I do...is my house at riskThe .land behind my house is being built on.There is a lot of vibration all day.It feels like an earthquake..as they take down trees ANd put in pipes etc. it actually shook several  pictures off wall yesterday...help


I know that 2 qubits are entangled if it is impossible to represent their joint state as a tensor product. But when we are given a joint state, how can we tell if it is possible to represent it as a tensor product? For example, I am asked to tell if the qubits are entangled for each of the following situations:   $$\begin{align} \left| 01 \right>\\ \frac 12(\left| 00  \right> + i\left| 01  \right> - i\left| 10  \right> +  i\left| 11  \right> )\\ \frac 12(\left| 00 \right> - \left| 11  \right>)\\ \frac 12(\left| 00  \right> + \left| 01  \right> +i\left| 10  \right> +  \left| 11  \right> )  \end{align}$$


What is the quickest way to add pairs of edge loops?

I need to create many pairs of edge loops on different objects. The way I do this is shown in the animation below.   There is a further step I often do which is moving the edge loop using its transform value in the properties panel, to ensure they are always same distance apart.  Is there an easier way to add the same number of edge loops again to the side of the original 3 loops?


Where do I get the villagers to start off an iron farm

I am building an iron farm and have almost completed it, when it struck me! Where do I get the villagers from? The simple answer is, go off and find a village, but I don't really want to be wandering around for miles looking for a village, then have to take them back by some means.  What I was wandering was, is there an easier way?  Thanks


$S^n \times S^m$ submanifold of $2S^{m+n+1}$

I would like to show that $S^n \times S^m$ is a submanifold of $2S^{m+n+1}$. With $2S^{m+n+1}$ we denote the $m+n+1$ sphere with radius $\sqrt{2}$. Here $S^n$ and $S^m$ are the unit spheres.  I have trouble with proving this, can somebody help me?   Thanks!


How do I write this letter (showed in picture)


can i install ubuntu 14.04 instead windows 8 in acer e1 572

I have Acer E1 572, and  I want to install Ubuntu 14.04. instead of windows 8  will it work(Run) will  it support  A E1-572  correctly without  any interruption   :)  thanks w


HTML element created with jQuery doesn't have an event

I have a button with the class ".test-class" that when is clicked, a checkbox is created and the message "Clicked" is shown on the console. This works great.  The checkbox must have the same event handler. But I click on the checkbox and the console doesn't show anything. It is like the checkbox doesn't have an event.   This is jQuery Code:  $(".test-class").on("click", function() {     console.log('Clicked.');     $("#myDiv").empty().append('<input type=checkbox class=test-class>'); });   This is the button and the div:  <button type="button" class="test-class">Click me</button>

   The Developer's Tool shows the elements:  <button type="button" class="test-class">Click me</button>
     <input type="checkbox" class="test-class">
    is a bit similar.


Are these spots on the sensor or the lens?

Equipment is Canon EOS 5D3 (5760x3840) with a 24-105 f/4 L lens at 105mm, ISO 200. The following are crops from the same small (676x449) section of a couple of blue sky shots I did to test for sensor dirt.  The first image is unmodified other than Raw->JPEG conversion in Lightroom with no setting changes, and shows some faint dark circles. f/22 Unedited  To enhance the circles I cranked up contrast and clarity to 100%, giving this: f/22 Contrast-Enhanced  However, the same area of an image taken 1 second earlier at f/7.1 shows no evidence of these spots, even after cranking up the contrast/clarity to 100%. f/7.1 Contrast-Enhanced  Other Information  The spots seem to be more prevalent towards the edges of the original (full-size) image, although there is one spot near the center.  None of the spots are visible at f/7.1. All the spots appear to be the same size, but have different densities.  Given all this evidence can I deduce that these are lens defects (or dirt on a lens element)? Since they're completely undetectable at "normal" apertures I don't consider this a problem.  I just would like to know what I'm seeing. BTW, the obvious test is to shoot the same image with a different lens and compare, but I won't be able to do that for several days and thought this might be an interesting question for photo.se.


If else statement doesnt reach the condition properly java

I have this block of code: It is supposed to update mysql table according to conditions: if a column has not null constraint - it is stored in strSplited and then if a condition from if is true then it updates accordingly. But it always gets the else result, even though conditions from first if are all satisfied. I dont get it what is wrong (despite this awful code) P.S I dont get strSplited.length = 1, its always > 1 String queryConstructor = null; int valoareConstr = constrMax(max); String[] strSplited = str.trim().split("\\s+");     if (strSplited.length == 2 && strSplited[0] =="ID" && strSplited[1] == "NumePersoana") {         queryConstructor = "ALTER TABLE persoane MODIFY NumePersoana char(" + valoareConstr        + ") not null, MODIFY CNP char(" + valoareConstr + "),MODIFY Adresa char(" + valoareConstr        + ");";        String queryConstr = queryConstructor;        System.out.println("Rez primul if: "+queryConstr);    } else if (strSplited.length == 2 && strSplited[0] == "NumePersoana" && strSplited[1] == "Adresa") {         queryConstructor = "ALTER TABLE persoane MODIFY NumePersoana char(" + valoareConstr        + ") not null, MODIFY CNP char(" + valoareConstr + "), MODIFY Adresa char(" + valoareConstr        + ") not null;";    } else if (strSplited.length == 2 && strSplited[0] == "CNP" && strSplited[1] == "Adresa") {         queryConstructor = "ALTER TABLE persoane MODIFY NumePersoana char(" + valoareConstr        + "), MODIFY CNP char(" + valoareConstr + ") not null, MODIFY Adresa char(" + valoareConstr        + ") not null;";    } else if (strSplited.length == 2 && strSplited[0] == "CNP" && strSplited[1] == "NumePersoana") {         queryConstructor = "ALTER TABLE persoane MODIFY NumePersoana char(" + valoareConstr        + ") not null, MODIFY CNP char(" + valoareConstr + ") not null, MODIFY Adresa char(" + valoareConstr        + ");";    }   }   else if (strSplited.length == 3 && strSplited[0] == "NumePersoana" && strSplited[1] == "CNP" && strSplited[2] == "Adresa") {      queryConstructor = "ALTER TABLE persoane MODIFY NumePersoana char(" + valoareConstr   + ") not null, MODIFY CNP char(" + valoareConstr + ") not null, MODIFY Adresa char(" + valoareConstr   + ") not null;";  } else {      queryConstructor = "ALTER TABLE persoane MODIFY NumePersoana char(" + valoareConstr      + "), MODIFY CNP char(" + valoareConstr + "),MODIFY Adresa char("      + valoareConstr + ");";      System.out.println("nu sa executat if-ul asta smecher: " + queryConstructor);  }


Book/series where people were implanted with a power giving stone after birth

The only vivid memory I have of this book is that the citizens of the story's world are all associated with a certain element, such as air or water, etc. This association brings them powers that can control that particular element. The powers, though, can only be enhanced/ used if 'special stones' are implanted in their spine after birth.   The stones themselves are plain, but once implanted in a baby's back, they turn a certain color. The stones are implanted in a special ritual performed by alien-like creatures, who are very powerful.   I have a feeling it was a part of a series, but I am unsure.  I just remembered something else. The stones are very expensive and the parents have to save up in order to afford them. Multiple stones can be implanted in one person and the number of stones implanted in a person indicates the amount of power they have.


I want to use WiFi port of my server as redundant link for copper connection to my home DSL router. My router if SAGEM 2704 with very limited functionality. So practically the only possibility is to configure something on the server. Is it possible to use WiFi for redundancy. If so, what I have to implement on my server?


I need some help.  I don't fully understand /data modify yet, but I am learning. In the meantime, I would like to modify the data of every Wandering Trader that has the x3 Emeralds > x3 Podzol trade to be a trade for x5 Emeralds > x1 Grass, I want to change ONLY THAT TRADE, I would like the rest of the trades that the Trader spawned with to remain the same.  Here's what I have:  /execute as @e[type=wandering_trader,nbt={Offers:{Recipes:[{sell:{id:"minecraft:podzol"}}]}}] run data modify entity @s ...  and here's the data that I want to replace the podzol trade with:  {maxUses:1,buyB:{id:"minecraft:air",Count:1b},buy:{id:"minecraft:emerald",Count:5},sell:{id:"minecraft:grass",Count:1b},xp:1,uses:0,priceMultiplier:0.05f,specialPrice:0,demand:0,rewardExp:1b}  and that's where my knowledge of modify is exhausted, I have tried many different commands to no avail. I'm pretty sure that I need to use /data modify ... set but I don't know how to...  Thanks in advance. :)


Why can I list other users processes without root permission?

Using ps -aux or top, I can list other users running processes, but I'm neither running as root nor making use of sudo, why?


Is there a standard term for tests run against production?

After running our normal automated tests against a test area, we releasing the change to production then run some additional tests against production to verify the roll-out ran correctly and to test some conditions that we can reasonably duplicate in testing. This testing is intended to catch errors after they are released, but before too many users see them.  Is there a standard term for this testing? I'm tempted to call it a smoke test, but that term is already used for testing packages.  Looks like this a duplicate of:


How do you color a cell if no other cell references it?

I am making a spreadsheet with a bunch of variables I want to change and some formulas that use those variables. I want to use conditional formatting (probably?) to color any cells which are "standing alone" or not affecting any other cells or not referred to in any other cells. Basically, I know the variables I need to include to make the calculations I want to make for this particular spreadsheet, but I don't yet know how each of those variables factors into the calculations I want to make. And I want to tackle the problem of how to incorporate those variables one by one. So I want to color the cells that represent "unused" variables so I can work my way through each variable and figure out how it needs to be used in the calculation. Here's an overly simplistic and perhaps quite odd example:  Bunnies I have now: 4 Time horizon (in years): 5 Bunnies I want to have in time horizon: 20 Bunnies I need to acquire per year: X  Let's just say I have X as a formula properly set up to use the "Bunnies I have now" and "Bunnies I want to have" factored in, but I'm not sure how to factor in the time horizon just yet, so I want to color the time horizon cells in order to remember that I need to factor them in. This example has three variables and one calculation, but pretend I have 20 variables (which are consequently harder to track). Does anyone know how to do this? How do you color a cell if it is not referred to in any other cells? Thanks in advance. Here is the history of the searching I did before asking this question (per request from commenter):


If a sequence converges, so does its norm

Let $\{u_k\}$ be a sequence in $\mathbb{R}^n$. Prove that if $u_k$ converges, then $\{||u_n||\}$ converges.


Nice expression for minimum of three variables?

As we saw , the minimum of two quantities can be written using elementary functions and the absolute value function.  $\min(a,b)=\frac{a+b}{2} - \frac{|a-b|}{2}$  There's even a nice intuitive explanation to go along with this: If we go to the point half way between two numbers, then going down by half their difference will take us to the smaller one. So my question is: "Is there a similar formula for three numbers?"  Obviously $\min(a,\min(b,c))$ will work, but this gives us the expression: $$\frac{a+\left(\frac{b+c}{2} - \frac{|b-c|}{2}\right)}{2} - \frac{\left|a-\left(\frac{b+c}{2} - \frac{|b-c|}{2}\right)\right|}{2},$$ which isn't intuitively the minimum of three numbers, and isn't even symmetrical in the variables, even though its output is. Is there some nicer way of expressing this function?


Installation Problem MS Office 2013 using Wine

I try to install MS office 2013 in Ubuntu 12.10 using Wine. But It says:  error: newer windows version needed.   How Can I fix this error.


Proof that there are infinitely many prime numbers starting with a given digit string

To prove the following fact: given any sequence of digits in any base, eg 314159265358979323 base 10, there are infinitely many primes that start with these digits,eg when expressed in decimal they start with 314159265358979323. I think using a prime number theorem will be helpful . But I am still not getting a point of how to start the proof.


I want to display title in the browser using title tag. I used   <script>$(document.title).html('title');</script>


How do I activate Dauntless Cathar's ability?

has the following ability:     {1}{W}, Exile Dauntless Cathar from your graveyard: Put a 1/1 white Spirit creature token with flying onto the battlefield. Activate this ability only any time you could cast a sorcery.   Please clarify. If the card is IN my hand, how can I exile if FROM the graveyard if it is not there? Did the writers mean SEND it to graveyard, or actually exile it? Confused, the writing does not make sense.


If I lift a box vertically, why is the work I do equal to the distance I lift it times the force of gravity on the box?

I have problems fully understanding the concept of work, so please forgive me if this is simple. If I take a box of mass $ m $, and lift it a distance $ d $ vertically, why is the work I have done equal to $ gmd $, where $ g $ is the force gravity exerts on the box? I understand that work is equal to force times distance--so I'm not asking about the definition of work--but if I exert an upward force equal in magnitude to gravity's, won't the box remain motionless, i.e., net zero force, in which case the velocity is constant, and displacement and work done will be equal to zero?  Edit: To be clear, what I'm asking is not a duplicate of "Why does holding something up cost energy while no work is being done?", because I'm not asking about work done on an object with zero displacement, nor is it a duplicate of "What exactly is F in W=∫baFdx?", because I'm not asking about the distinction between the work done by an individual force and net force.


How to raise a complex number to the power of another complex number?

How do I calculate the outcome of taking one complex number to the power of another, ie  $\displaystyle {(a + bi)}^{(c + di)}$?


Should I notify people I mention in the acknowledgements section?

I recently finished a paper in which I received valuable feedback from two professors (neither supervisors nor coauthors) at some specific points, which ultimately leaded to localized significant improvements. I highly appreciated it and of course I added explicit mentions in the acknowledgements section stating their suggestions.  My question now is: I hardly will see again these professors for a long time. I thought about sending an email to them commenting on their inclusion on the acknowledgements... But then I thought that it should be something understood as obvious, without too much interest for them or even spammy. So, shall I communicate their inclusion in the acknowledgements section? If so, what will be the correct etiquette for such an email?  EDIT: As @StephanKolassa comments, another important and highly related issue is what is the best timing for communication, if this is considered adequate:   First submission Acceptance Publication (early access or traditional)


I need to change several variable values by rounding them, and while it works if I specify each variable individually I'm having trouble getting it to do the same thing in a function.   Single Variable  Result = 9.5 (Works correctly)  $var = 9.54; If ($var != NULL AND $var !== "") {    $var = round($var , 1, PHP_ROUND_HALF_EVEN);  } echo $var;   Function Result = 9.54 (Doesn't work correctly)  $a = 9.54; function RoundDecimal($var) {    If ($var != NULL AND $var !== "") {       $var = round($var , 1, PHP_ROUND_HALF_EVEN);     } } RoundDecimal($a); // Calls function echo $a;


Why do Fermions (quarks specifically) have transversity while Bosons (gluons specifically) don't?

I hope this question isn't naive or anything of the sort but I am relatively new to this topic and this is the first question I ask on here. The Collins asymmetry which is exclusively a quark-fragmentation phenomena and explicitly doesn't deal with gluons.  Roughly speaking, the Collins asymmetry can be thought of as:$$ A \sim \frac{N^{\uparrow} - N^{\downarrow}}{N^{\uparrow} + N^{\downarrow}}  $$ where the numerator has the polarized piece (the quark specific phenomena because of transversity) and the denominator is the unpolarized piece (both the quarks and gluons). Thus, why don't gluons have transversity? I assume this is applicable to all Bosons?   I appreciate the help!


Using bad generator in ElGamal Encryption

Suppose Alice chooses a random Prime $p$ and a random private Key $a \in \mathbb{Z}^*_p$. By accident, she also chooses a random number $g \in \mathbb{Z}^*_p$, which is not a generator of $\mathbb{Z}^*_p$ and therefore  $$\langle g\rangle \subset \mathbb{Z}^*_p$$  as opposed to $\langle g\rangle = \mathbb{Z}^*_p$, which would yield a valid key. Alice then computes $A \equiv g^a \pmod{p} $ and publishes the Tuple $(p,g,A)$ as her public key.  Bob now encrypts a message $M$ using Alices public key by computing  $$C_1 = g^b \pmod{p}$$ $$C_2 = M \cdot A^b \pmod{p}$$  Is it possible for an attacker (Eve) to distinguish a “real” ciphertext $(C_1,C_2)$ from a random ciphertext $(Z_1,Z_2) \stackrel{$}{\longleftarrow} \mathbb{Z}^*_p$ with significant advantage (say $Adv \geq \frac12$)?    Edit: I guess it should be enough to show, that the ciphertext cannot be random, if  $$\langle g \rangle \neq \langle C_1 \rangle \quad(\text{or $Z_1$, respectively})$$  But how can Eve check for this property efficiently? Can someone point me in the right direction here?    Edit: A real-world situation where this flaw occurred


How can I prevent MBP shocks without original three prong extender?

I no longer have the original three prong extension cord for my MBP, and am experiencing the shock issue described by many other users.  I purchased a three prong travel plug and tried that, but it did not solve the problem.  Is there anything else I can do to solve the problem? I don't have access to an Apple Store, and can't modify the electrical outlets (if there is a grounding problem, for example).  Thanks.


I am trying to in a way automate the shading issue described here:   The general goal is to put a working code part in my style definition using append after command.   But actually I am trying to find out how to solve some general problems.  \documentclass{standalone} \usepackage{pgfplots} \usepackage{tikz} \usetikzlibrary{scopes} \usetikzlibrary{backgrounds}  \begin{document}  \begin{tikzpicture} \draw[step=2ex,gray!20,thin] (-10ex,-7ex) grid (10ex, 7ex);  \node[draw, rectangle, rounded corners=6pt] at (0ex, 0ex) (md) {My Design};  \begin{pgfonlayer}{background} \clip (md.north west)  [rounded corners=6pt] -- (md.north east)  -- (md.south east) -- (md.south west) -- cycle;  \newdimen\nwx \pgfextractx{\nwx}{(cd.north west)}  \begin{axis}[ % necessary to match up coordinate systems: xmin=-10ex,ymin=-7ex, anchor=origin, x=1ex,y=1ex, hide axis, ] \addplot[surf,mesh/color input=explicit,shader=interp]  table[meta=cdata] {     x y cdata     -6.5 2 color=gray!40     -6.5 -2 color=gray!40      5.5 2 color=white     5.5 -2 color=white }; \end{axis} \end{pgfonlayer}  \end{tikzpicture}  \end{document}     As in the code above the clipping-part was somewhat easy to solve.  Now I have to change the plot accordingly. For this I need the x and y values of the used coordinates in the clip-part to insert them automatically and not manual.  Trying to use the let command in \addplot didn't work. So I tried to extract the values with \pgfextractx. But this brought me to another problem:  The result is given with the unit pt and produces an error. Additionally it would be nicer if I could use ex-values in the axis and don't have to change this to pt, because I think this could be an issue when I scale the graphics.  So is there a solution to convert the value to an ex unit and then remove the unit from the string?   Better solutions in general are also welcome!  Thank you!


How to get the counter value for a reference?

The command \label{here} defines a label and \ref{here} outputs the corresponding representation in the text. Is it possible to get the correspondig (numeric) counter value for the here reference so that one could do calculations with it and use it to set a counter, for example?


I am using MySQL 5.5 version  when i try to insert the ‘ special character in database it is automatically converted into â€™ .   i changed the database character set to utf8 & character_set_connection to utf8 but i unable to get the expected result.  how to solve this issue ?  kindly help on this


How to downgrade an app if it has been updated via Play Store?

I have an app installed on my phone, which I've installed from the Google Play Store.  If I update the app and don't like the upgraded version, is there a way to undo the update and downgrade back to the version of the app that I had previously installed?  I tried searching a bunch on this site, and I found lots of questions about downgrading the OS/ROM/firmware, but nothing about downgrading app versions or reverting an app update.


A continuous function on a compact set which takes any value finitely many times.

Let $f : [0,1] \to \mathbb{R}$ be continuous function, such that it takes any value finitely many times and $f(0) \neq f(1)$, then does there exist a point $r_{0}$ in the range such that the cardinality of $f^{-1}(r_{0})$ is odd? (Note that the domain is compact.)  I feel that the answer is affirmative but not been able to come up with any concrete argument. I feel this because, as the function is continuous on $[0,1]$, it would attain its maximum and minimum. With out loss of generality, we can assume that the minimum is attained at $0$ and maximum is attained at $1$. In between, $0$ and $1$ it might oscillate any number of times. But the number of times minimum is attained and maximum is attained must have different parity.


How did Newton discover the universal law of gravitation?

I am having trouble comprehending how anyone could come up with this formula:  $$F = \frac{GMm}{d^2}.$$   Could someone walk me through this?


What does "if not" mean in the given sentence

Let there be given this sentence (which came from an ):     The contest has become personalised, if not bitter.   Then what does the phrase if not mean?   Seeking after is a general guide or rule of such usage.


Event handlers inside a Javascript loop - need a closure?

I'm working with a bit of html and Javascript code that I've taken over from someone else. The page reloads a table of data (via an asynchronous request) every ten seconds, and then re-builds the table using some DOM code. The code in question looks something like this:  var blah = xmlres.getElementsByTagName('blah'); for(var i = 0; i < blah.length; i++) {     var td = document.createElement('td');     var select = document.createElement('select');     select.setAttribute("...", "...");     select.onchange = function() {         onStatusChanged(select, callid, anotherid);     };     td.appendChild(select); }   When the onchange event is fired for a <select> element however, it seems like the same values are being passed to the onStatusChanged() method for every <select> in the table (I've verified that in each iteration of the loop, callid and anotherid are being given new, distinct values).   I suspect this is occuring because of the nature of how I am setting the event handler, with the select.onchange = function() syntax. If I understand how this is working correctly, this syntax sets a closure for the onchange event to be a function which refers to these two references, which end up having a final value of whatever they are set to on the last iteration of the loop. When the event fires, the value referenced by callid and anotherid is the value set in the last iteration, not the value set at the individual iteration.  Is there a way that I can copy the value of the parameters I am passing to onStatusChanged()?  I've changed the title to better reflect the question and the accepted answer.


Grub rescue is booting everytime instead of my windows 10 recovery flash drive HELP

So my linux experience started off by abandoning windows for a week and trying ubuntu 17.04.  then i wanted to switch back to windows so i downloaded an iso file to put it on my flash drive using etcher and when i tried to boot the flash drive it always booted ubuntu instead.  so idiot me had the idea of deleting the ubuntu partition so i did that and then rebooted and im stuck in grub rescue it says:  error: file'/boot/grub/i386-pc/normal.mod' not found. entering rescue mode... grub rescue>


How do I easily rename multiple files using command line?

One of the ways I quickly rename files in Windows is   F2 > Rename > Tab (to next file) > Rename ...   But in Ubuntu/Nautilus, I can't tab to next file. But being on Linux, I think there must be a command line alternative.  However, sometimes, I may want more control over how to rename specific files. In that case, perhaps its better to be able to tab to the next file


I want to use  function to zip up a folder from a C++ console application. No examples are given in the article of how to use the function from C++, just C# or VB, and I can't find any other code samples anywhere.  The article doesn't really even clarify whether the function is available in C++. Is this function supported in C++? And if so, how do I call it?  Thanks.


the solution of a system of nonlinear differential equations

Consider a system of differential equations can be written on the form $$ i\frac{\partial}{\partial t}\mathcal{A}(t)=\mu(t) \mathcal{A}(t) $$ where $\mu(t)$ is the coefficient matrix and is time dependent. Can we say that the solution of the considered system is equal to: $$ \mathcal{A}(t)=\mathcal{A}(0)\exp\left[ -i\int_0^t \mu(\tau) d\tau \right]. $$ ? Please help me.


How to texture a complex mesh/multiple meshes?

I am a beginner in Blender. I have created a handgun after a reference, and I believe I have made a few mistakes. When it came to dents, I used "loop cut" to manually show them, but I do not believe I will be able to do this in the future (too many polygons and loop cuts for every single dent or additive). I also did this for holes.  There are several objects/meshes that are separate. I am completely lost when it comes to texturing the gun after the reference image. Should I join all of the meshes/objects into one object and then texture? If so, how would I go about texturing every single aspect that I need present. I apologise if this seems complicated or confusing, I am a true beginner. (I have watched a few tutorials)


Is the s-v-a in this sentence correct? "Two teaspoons of sugar IS more than enough."

This sentence was made as an example by my trainer:     Is the s-v-a in this sentence correct?           Two teaspoons of sugar IS more than enough.      According to the rule: The singular verb form is usually used for units of measurement.  But, is teaspoon not considered a partitive too?


I can't use a gpu on my vm and it says: Quota 'GPUS_ALL_REGIONS' exceeded. Limit: 0.0 globally all the time and I have premium so how do I fix this?


Special package combination gives "No room for new \write."

In my special package combination I get the error No room for new \write. \tablecontents and Bad number (16). \tablecontents. The following MWE throws this error in pdflatex and lualatex with TeX Live 2015. As you can see, I add the own content register loi. I can delete nearly every package separately and the error directly vanishes.  Does anyone have an idea what is wrong with this package combination?  \documentclass{scrartcl} % load packages \usepackage{ifluatex} \ifluatex     \usepackage{fontspec} \fi \usepackage{adjustbox, amsmath, blindtext, datatool, fancybox, fixme, graphicx, marginnote, pgfplots} \usepackage{imakeidx} \usepackage{biblatex} \usepackage{glossaries} \usepackage{hyperref} % load package for code code highlighting \usepackage{minted}  % define Open Issue and corresponding List of Open Issues \newcommand{\openissue}[2][Unlabeled]{%     \par%     {\refstepcounter{loicounter}%     \phantomsection% comment out if hyperref is noy used     \addcontentsline{loi}{figure}{%         \protect\numberline{%             \ifcsname c@chapter\endcsname%                 \thechapter.%             \fi%             \theloicounter%         }{#1: #2}%     }%     \textbf{Open Issue -- #1:} #2}%     \par% } % define counter \makeatletter \ifcsname c@chapter\endcsname%     \newcounter{loicounter}[chapter]% \else     \newcounter{loicounter}% \fi% \newcommand*{\listopenissuesname}{List of Open Issues} \newcommand{\listofopenissues}{%     \ifcsname chapter\endcsname%         \chapter*{\listopenissuesname}%     \else%         \section*{\listopenissuesname}%     \fi%     \@starttoc{loi}% } \makeatother  \fxsetup{status = draft} \makeglossaries \makeindex  \begin{document}  % include open issues \listofopenissues % include list of corrections \listoffixmes % include indicies \tableofcontents                            % Inhaltsverzeichnis einbinden  \end{document}


Does a Filipino need transit visas for layovers in Istanbul, Turkey and Madrid, Spain?

I hold a Philippines passport and currently reside in Kuwait. I am planning to travel to Brazil via two different airlines passing two Schengen countries:   Kuwait to Rome (Pegasus Airlines, stop over in Istanbul, Turkey) Rome to São Paulo (Air Europa, stop over in Madrid, Spain).   Do I need airport transit visas since I will retrieve my luggage from Pegasus Airlines and check in my luggage again to Air Europa?


How to set preferred URL in Bing Webmaster Tools

My site is www.example.com and Bing Webmaster Tools keeping telling me to submit a sitemap for example.com, so it is possible to stop Bing stop bothering me the example.com?


I'm using the WordPress API to create an options page. One of the inputs need to have an email entered. I need to write a function that will validate the email entered and return it.          function nl_validate_settings( $input ) {             if ( $field_args = array( 'type' => 'email' ) ) {                 foreach( $input as $email ) {                     if ( ! preg_match( '/^[A-Za-z0-9!#$%&\'*+\/=?^_`{|}~-]+@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)+[A-Za-z]$/', $email ) ) {                         $email = "Invalid email address!";                     }                 }                 return $email;             }                     }   This isn't working and I don't know what I am doing wrong. It doesn't save emails when an email is entered correctly.   I've checked other answers on StackOverFlow but couldn't find anything that would fix the problem. Your help would be appreciated!  I don't know how to format it


I want to play miniclip multiplayer 8ball pool but can't !

I can play other table games like nine ball or quick fire but I can not play against another player and the screen doesn't load.  I have looked for several sites, downloaded what I read, changed browser to Chromium and tried to correct this problem for several hours and just wonder "am I stupid" ? ?   Could use some support an hoping I get it :)


Why does the "Back" button refresh the current page and how do I stop it?

I'm using the latest version of Chrome on the latest update of Windows 7. This happens on both my laptop and my desktop.   I'll go "Back" and the same page just reloads, and then when I press and hold on the back button, I see that the page has loaded multiple times, sometimes so many that the entire ten or so entries are filled up with the same page.   This started happening recently and I started to realize that some sites do this and some don't, which make me wonder if this is some sort of cookie or javascript code. I only use three addons; ABP, Chrome to Phone, and Reddit Enhancement Suite.   I unfortunately don't have a specific site that this happens on off the top of my head and it hasn't yet happened today, so perhaps this is more of a theoretical question.  Is it possible for a web site to modify what my back button does? Or could it be something else I am doing? It's really annoying because I have dedicated back/forward buttons on my desktop mouse and three-finger gestures for my laptop's touchpad that go back and forward, and they're really convenient but I've stopped using them because it doesn't consistently work.


Unable to install Realtek rtl8723de drivers? (networking)

I am unable to install drivers. I used these instructions:  git clone https://github.com/smlinux/rtl8723de.git -b 4.11-up dkms add ./rtl8723de dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414 depmod -a reboot   But get this error:  $ sudo dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414  Kernel preparation unnecessary for this kernel.  Skipping...  Building module: cleaning build area... 'make' all KVER=5.0.0-23-generic.....(bad exit status: 2) ERROR (dkms apport): binary package for rtl8723de: 5.1.1.8_21285.20171026_COEX20170111-1414 not found Error! Bad return status for module build on kernel: 5.0.0-23-generic (x86_64) Consult /var/lib/dkms/rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414/build/make.log for more information.   I will reinstall Kubuntu 18.04, can anyone please give me step by step instructions to install the driver?


How would you prove that via induction? $\sum_{k=1}^{n}k! \cdot k= (n+1)! -1$

Task from old exam:     Prove that $$\sum_{k=1}^{n}k! \cdot k= (n+1)! -1$$   I'd like to use induction proof and nothing else.  Here is what I did:  $n=1:$ $\sum_{k=1}^{1}1! \cdot 1= (1+1)! -1 \Leftrightarrow 1=1$  So this is true, so it will work for an $n$ already.  It worked for one $n$, now we need to show it will work for every other $n$, too.  $$\sum_{k=1}^{n+1}k! \cdot k= (n+2)! -1$$  But what can I do from this point on? There is this sum symbol on the left and I don't know how to continue with it. Any hints maybe?  I really don't want know another way of solving it. It might be easier with telescope or something else but the recommendation was induction.


While trying to understand the second law of Newton from "An Introduction to Mechanics" by Kleppner and Kolenkow, I came across the following lines that I don't understand:      "It is natural to assume that for three-dimensional motion, force, like acceleration, behaves like a vector. Although this turns out to be the case, it is not obviously true. For instance, if mass were different in different directions, acceleration would not be parallel to force and force and acceleration could not be related by a simple vector equation. Although the concept of mass having different values in different directions might sound absurd, it is not impossible. In fact, physicists have carried out very sensitive tests on this hypothesis, without finding any variation. So, we can treat mass as a scalar, i.e. a simple number, and write $\vec{F} = m\vec{a}$."   The lines above lead me to question:   Why is it not" obviously true" that force behaves like a vector?  Why is it not impossible for mass values to be different in different directions?


"Whether" or "if" in this context: "I wonder *if/whether* I will ever see this again"

I think the more common recommendation (or appropriate) style is to use "if" in this sentence, "I wonder if I will ever see this again," because there is only one "option."  Alternatively, I would write "I wonder whether or not I will ever see this again."  The question came up when a native English speaker corrected one of my sentences. I'd be happy to hear your opinion on this.


Bash Script problem with Variables from files

Trying to get this script to work how ever I get an error no matter how I try to set the varibles. After checking the varibles are not being set from the files that the information is in.


Is there a way to list all non-free software and firmware that is used/installed on my computer?

As I understand it, Ubuntu uses lots of free (FOSS/FLOSS) software but often also some closed-source proprietary software, which is why Ubuntu is not included in the FSF list of .  While I'm not a fanatic about this, I do want to support the free software movement and use as much free software as possible. So I wonder: is there some way to get a list or overview of all non-free software and firmware that is used/installed on my Ubuntu system?


Compiling ethical standards for coauthorship across academic fields and regions

One of the hot-button issues on this site is standards for coauthorship, especially variants of the question "Must I automatically include my thesis advisor as a coauthor on all my papers?"   Since these questions (sensibly) come up again and again, I thought it would be useful to have a collection of links to various ethical standards for coauthorship.  To the best of my knowledge, these standards will apply only to one particular academic field and/or to one geographic region.  For instance, most of my colleagues would point to .  It applies (explicitly) to mathematics and (implicitly, I think) to mathematics done in the US and by Americans.    I was thinking of a community-wiki question where each answer posts a link to ethical standards in some academic field(s) and geographic region(s).  To make the answers better, I would ask that respondents:   Quote in their answer the passages most relevant to coauthorship.   Please avoid "alphabet soup".  Above I wrote "American Mathematical Society" rather than "AMS": mathematicians will know what AMS means, but most other academics presumably won't.  Some other answers here refer to things like "BMJ": I certainly didn't know what that was.     (Ideally) Give commentary as to whether/how the standards in their answer differ from those posted in other answers.     The more comprehensive the list we can compile, the more authoritatively we can point future questioners to this list and tell them what is or is not an ethical practice.


How can I solve $4x + 51y = 9$ using congruences?

I'm given: $4x+51y=9$.  I am given a hint that when we use $4x=9 \pmod{51}$ we get $x = 15 + 15t$, and also if we use the congruence $51y=9 \pmod 4$ we get $y=3+4s$. They say it's handy to then find the relation between $s$ and $t$.  I have no idea how they got those suggestions and I need to know how to do that too.  I'm really stuck :(


In reported speech we generally back shift the tense. But why in news articles do I often see that this guideline is violated?                                                                For example:     a) - The president said that he wants support from other countries to combat terrorism.      Don't you think that 'wants' should be back shifted to 'wanted'?                                               b) - Secretary said that she has faced many hurdles in her life.    Don't you think that here 'had faced' should be used instead?                          P.S. My question concerns reported speech in news articles.


schema.org/Book with multiple authors using JSON-LD

How do I display multiple book authors using JSON-LD?  This question is similar to my original question, but decided to create a different one seeing that 2 different formats are used.  Here is my post using microdata:    My question is similar. I have a book with multiple authors. Am I doing it correctly by displaying the author property more than once? Below is the code using JSON-LD:  <script type="application/ld+json"> {      "@context": "http://schema.org",      "@type": "WebPage",      "mainEntity": {           "@type": "Book",           "author": {                "@type": "Person",                "familyName": "van der Westhuizon",                "givenName": "Jason",                "name": "Jason van der Westhuizon"           },           "author": {                "@type": "Person",                "familyName": "du Toit",                "givenName": "Jene",                "name": "Jene du Toit"           },           "author": {                "@type": "Person",                "familyName": "September",                "givenName": "Koos",                "name": "Koos September"           },           "bookFormat": "http://schema.org/Paperback",           "datePublished": "2014-11",           "inLanguage": "en",           "isbn": "1234567890123",           "name": "My Book Name",           "numberOfPages": "381",           "publisher": {                "@type": "Organization",                "name": "My Publisher"           },      } } </script>   The reason why I ask is because when I go to Google's structured data tester tool then in the results it only shows one author. Why doesn't it display all 3? Is my code wrong?


Can I run Ubuntu/Kubuntu on a Blade server with no graphics card?

On ebay there are some $100 hp and dell blade server units that I've seen in action in data center tours. My question is, would a single one with 32gb ram, 4 intel xeon 3ghz processors and NO graphics card be able to run ubuntu? And would ubuntu be able to actually use the entire system? I won't be using it for "big data" per se, but I am thinking of compiling my own custom android builds and building/compiling my own custom build of ubuntu (kind of just for the fun of it, maybe a little for the fact that I'll be able to show off computer prowess). Also, I want to know if a full desktop environment would even run right due to the lack of a graphics card. I might be able to get a graphics card, but if I can avoid it I will at all costs (except for if it exceeds the price of a card).


How can set optional parameter in method

I want to set an object as an optional parameter;  public async hearted(p, typeID, refID, [Optional] stud: Student) {  return ;}   how to set [Optional] stud: Student.


If $\sin(4x)=2\sin(2x)\cos(2x)$ then:  $$\int \sin(4x)=\int 2\sin(2x)\cos(2x)$$ $$\frac{-\cos(4x)}{4}=\frac{-\cos^2(2x)}{2}$$  But considering now $x=2$: $$\frac{-\cos(4\cdot 2)}{4}\neq\frac{-\cos^2(2\cdot 2)}{2}$$ $$0.036\neq -0.214$$  What's the error that is behind this process ?  Thanks in advance.


Would a fast interstellar spaceship benefit from an aerodynamic shape?

Some (generous) assumptions:   We have a spaceship that can reach a reasonable fraction of light speed. The ship is able to withstand the high energies of matter impacting at that speed.   Given the amount of matter in inter-stellar space, at high speed, would it encounter enough of it and frequently enough that an aerodynamic shape would significantly reduce its drag (and thus save fuel)?


How do you subtract different units of time using Calendar

Is there a convenient way of subtracting different units of time using the Calendar class? I am making a timer that counts down for multiple hours and prints the time to the console in hours, minutes, and seconds. I don't want to use any libraries such as Joda Time in this program. I also want to use the Calendar class, and not the Date class, unless it is too difficult.  This is my current code and it only prints the remaining time in seconds:  import java.awt.*; import java.util.*;  public class ClickWhen {     public static void main(String[] args) throws AWTException {         int minGoal = 30;         int hourGoal = 6+12;         Calendar time = Calendar.getInstance();         int minute = time.get(Calendar.MINUTE);         int hour = time.get(Calendar.HOUR_OF_DAY);         int second = time.get(Calendar.SECOND);         int sRemaining = (minGoal*60+hourGoal*3600)-(second+minute*60+hour*3600);         boolean isGoing = true;         Robot r = new Robot();         while(isGoing) {             r.delay(1000);             time = Calendar.getInstance();             minute = time.get(Calendar.MINUTE);             hour = time.get(Calendar.HOUR_OF_DAY);             second = time.get(Calendar.SECOND);             if(hour >= hourGoal && minute >= minGoal) {                 // do something                 isGoing = false;             }             if(hour >= 12) {                 System.out.println(hour-12+":"+minute+":"+second+" P.M.");             }             if(hour < 12) {                 System.out.println(hour+":"+minute+":"+second+" A.M.");             }             sRemaining--;             System.out.println("Seconds Remaining: "+sRemaining);         }     } }   This is my first question on Stack Overflow, so how did I do?


I need something like proof environment from amsthm, but with word "důkaz" (proof in my language) at start of environment. How can I define such environment?  Thanks for help.


How about adding MathJax to Hot Questions on stackexchange.com?

Almost always in  on the StackExchange.com site there are questions from Math.SE, so I think it would be so much better to have these questions rendered correctly instead of reading the ugly stuff like this:     When it's not rendered it's hard to check with a single glance if that question is interesting for someone or not. So maybe you could load MathJax only if there are questions from Math.SE (or other scientific sites that are using equations) or something smarter just to make these interesting questions a little bit more interesting.  Edit: Just to make it more clear, I'm talking about adding MathJax only on this page: , since there are a lot of questions that are coming from Math.SE.


Prove that $(X \cap Y) \cup Z = (X \cup Z) \cap (Y \cup Z)$

I've only the definition of union, intersection, subset, and complement available to me.   $$(X \cap Y) \cup Z = (X \cup Z) \cap (Y \cup Z)$$  $(X \cap Y) = \left\{a: a \in X, ~ a \in Y\right\}$  $$\begin{eqnarray} (X \cap Y) \cup Z &=& \left\{a: a \in X ~ \text{or} ~ a \in Y\right\} \cup \left\{a: a \in Z\right\}\\ &=& \left\{a: a \in X ~ \text{or} ~ a \in Y, ~ \text{and} ~ a \in Z \right\} \tag1 \\ &=& \left\{a: a \in X~ \text{and} ~ a \in Z, ~ \text{or}, ~ a \in Y ~ \text{and} ~ a \in Z \right\} \tag2\\ &=&\left\{a: a \in X~ \text{and} ~ a \in Z\right\} \cap \left\{a: ~ a \in Y ~ \text{and} ~ a \in Z \right\}\tag3\\ &=& (X \cup Z) \cap (Y \cup Z)\tag4 \end{eqnarray}$$  I numbered those last few lines to make it easier to point out my blunders. I've never proven anything with sets before, so it probably doesn't make any sense. Many thanks in advance.


best words to respond to a request for cv after graduation

Last summer I did an internship in an industry for 9 weeks. It was a great experience and my supervisor was a very formal and professional lady. On my last day, she asked about my graduation date and I told her it’s just 6 months away as it was my last semester. She responded: "Send me your CV when you graduate.”  I sent her a mail today and got this reply.   “Good to see your email and glad to know that you have achieved an important milestone.  Congratulations on your graduation. Your CV has been received and shall be forwarded to HR.  All the best for your future endeavors.”  What should be my response now? I don’t wanna sound immature  or unprofessional.  I was thinking about a thank you or something but I don’t know  if that would be appropriate.


Pointwise convergence of sine series of $x^{-2}$

I was wondering if the sine series of $x^{-2}$ converges pointwise on the open interval $(0,1)$.   What is the most general criterion to ensure pointwise convergence of a Fourier series?


I have just started to embrace web mobile design.  I have this HTML markup:

Header

Filler

Main Content

Footer

   I want to cover the whole screen.  The 'Main Content' will be of vaying fixed sizes (for each page).  The 'Filler' is just a 'blank space' and its objective is to stretch the whole page down to the bottom of the screen so the footer is at the bottom. i have played arounbd with several styles (relative, inherit, hieght:100%) and i cannot get it to what I want it to do.  Is this a problem to do for mobile devices?  Thanks


How can I encrypt my pendrive with password?

In windows 7 or windows 8, I can use BitLocker Drive Encryption to encrypt and set a password in my pendrive but i am unable to access files of my pendrive in Ubuntu.   Is there is any method to encrypt and set password in my pendrive in Ubuntu while i can access files from both in Ubuntu and Windows.   Please tell me also if there is any method to access files from a drive which is encrypted with BitLocker.


I'm trying to draw something like an inner box integral approximation but with dynamic upper bound, lower bound, and stepsize. Unfortunately the \foreach command of tikz is not cooperating.  \documentclass{article} \usepackage{tikz} \usepackage[active,tightpage]{preview} \PreviewEnvironment{tikzpicture}  \newcommand\Bbound{2.5} \newcommand\Abound{-2.25} \newcommand\stepsize{0.5} \newcommand\firststep{{(\Abound + \stepsize)}}  \begin{document}     \begin{tikzpicture}      % works fine!!     \foreach \y in {-2.25,-1.75,...,2.5} {         \draw (0, \y) -- ++(1,0);     }      % works fine!!     \foreach \y in {\Abound, -1.75,...,\Bbound}{         \draw (0,\y) --++ (-1,0);     }      % gives error (Argument of \pgffor@@dotscharcheck has an extra }. [        }])     % \foreach \y in {\Abound,\firststep,...,\Bbound}{     %     \draw (0,\y) --++ (-1,0);     % }      % gives error (Paragraph ended before \pgfmath@dimen@@ was complete. [])     % \foreach \y in {\Abound, \number\numexpr\Abound + 0.5\relax,...,\Bbound}{     %     \draw (0,\y) --++ (-1,0);     % }      % gives less useful error     % \foreach \y in {\the\numexpr\Abound, \the\numexpr\firststep,...,\the\numexpr\Bbound}{     %     \draw (0,\y) --++ (-1,0);     % }      \end{tikzpicture} \end{document}   In the first \foreach I set the bounds and stepsize manually, and it worked fine. The second attempt I use the defined upper and lower limits, but still set the stepsize manually; this also worked. The third through fifth I tried all the things I've found here on TeX.SE to address this particular issue. None of them worked.  Does anybody have any advice on how to get these dynamic bounds and step size working?  A broader question is how does TikZ/PGF/LaTeX handle computation? I've seen math enclosed in round parentheses, in brackets, and behind more TeXish commands. What is the deal?


Coloring a grid such that no white blocks are adjacent to black ones.

We have a $10×10$ grid with white blocks. First we color 9 blocks red, and after that in each step we color a red block, black and a white block, red. We continue this process until we have a black grid with 9 red blocks. Prove that there exits a step in which a black block is adjacent to a white block( two blocks are adjacent when the have a common edge. ) There are always 9 red blocks and at some point 9 red blocks won't be enough to cover all the edges of black blocks. But I don't know how to prove this without explaining a process of coloring.


Given 3 distinct primes {$p,q,r$}, then $|G|=pqr \implies G$ not simple

Here's a question I've been asked;  Given distinct primes $p,q,r$, show that any group $G$ of order $pqr$ is not simple.   So far, my idea has been to individually check each possible proper subgroup, since by Lagrange there are only $$\dbinom{3}{2} + \dbinom{3}{1} + 1$$ of them, and show that at least one of them other than the trivial group is normal. Surely there is a smarter way, since generalizing this approach wouldn't work so well if I wanted to show similar results for groups who's order is a product of $n$ distinct primes.  Is there some other approach? Thanks for any insights


Problem in creating alias, get strange messages

[Reviewers: note that the question was completely rewritten after the close votes.]  I recently found how I can define aliases for bash in the ~/.bashrc.  But since I tried that, I see the followig messages eveery time I open a terminal.  I added some bash aliases to my I was trying to create shortcuts using alias but I unsuccessful and somehow managed to get the message below every time I open up a new terminal.  bash: alias: UIC: not found bash: alias: =: not found bash: alias: sudo openvpn --config ~/vpn/UIC-alopez78.ovpn: not found bash: alias: mat: not found bash: alias: =: not found bash: alias: cd /home/alexisblopez/MATLAB/R2014a/bin/: not found bash: alias: lab: not found bash: alias: =: not found bash: alias: ./matlab: not found ~$    Its's confusing; it does not say error, but because my aliases do not work, I think I did something wrong with them - I don't know what!


Clarification: Difference between \draw and \addplot?

In below example, I get a different behavior when using /draw by itself or in conjunction with \addplot. In the former case the axis label changes (which I don't want) and the plot does not show.  In the latter case, when the \addplot coordinate line is activated, the plot behaves as I intended (no axis label, showing all three plots).  Why does that happen?     % Basierend auf einer Vorlage von: Author: Urs Zellweger (urs@zellweger.li),s. http://texample.net/tikz/examples/phasor-diagram/     % Mit Hilfe von tex.stackexchange.com https://tex.stackexchange.com/questions/398784/coordinate-system-all-set-up-how-to-fill-it-now      \documentclass[11pt]{article}     \usepackage{pgfplots}     \pgfplotsset{compat=1.15}     \usetikzlibrary{decorations, arrows}      \pgfplotsset{Diagram/.style={                 axis lines = left,         xmax=9.5,         ymax=1.5,         xlabel = {$t$},         xlabel style={at={(1,0)},anchor=west},         ylabel style={at={(0,1)},rotate={-90},anchor=north east},         ytick=\empty,         no marks,         every axis plot post/.append style={very thick, red},                         }% end of Diagram style                 }% end of pgfplotsset      %-------------------------------- show page layout, only for test     \usepackage{showframe}     \renewcommand\ShowFrameLinethickness{0.15pt}     \renewcommand*\ShowFrameColor{\color{red}}     %---------------------------------------------------------------%      \begin{document}     %%%%%%%%%%%% Diagramme f. 4TPPC %%%%%%%%%%%%     \begin{figure}               \pgfplotsset{xticklabels={ , , $DT$, $T/2$, , $T$},                                height=4cm, width=0.8\textwidth}             \centering                 \begin{tikzpicture}[trim axis left]  \begin{axis}[Diagram,ylabel = $i_L$] \addplot coordinates {(0,.4)  (2,.7)  (4,.4)  (6,.7) (8,.4) (9,.7)}; \draw [ultra thin, blue] (0,.7) --++ (9,0) ; \draw [ultra thin, blue] (0,.4) --++ (9,0) ;    \end{axis}  \end{tikzpicture}        \end{figure}     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%             \end{document}


Finite $2$-group with derived subgroup of order 8

Does there exist a finite non-abelian $2$-group $G$ such that $G^{\prime}\cong D_8$ or $G^{\prime}\cong Q_8$? By an easy inspection with GAP, I could not find any example!  Any answer or comment will be greatly appreciated!


Parsing different fields from a .csv with Java Split

I'm parsing a Twitter Archive .csv and having some problems since the fields are separeted by commas but at the tweet field (text field) there's also commas. So I've tried this:  String line; while ((line = br.readLine()) != null){      String[] split = line.split("\\s*,\\s*");     for (int i = 0; i < split.length; i++) {         if (!(split[i] == null) || !(split[i].length() == 0)) {             // adding some stuff             line.split("\\s*\"\\s*");             // adding some other stuff   The thing is, trying to change the way fields are splitted when it comes to the tweet field. But the second split doesn't work at all and tweets with commas are not added.  What should I do? Thanks a lot!


What is "summoning sickness" and how does it affect my creatures?

Note: this is intended to be a canonical question about summoning sickness.  "Summoning sickness", broadly, is the rule that stops you from attacking or paying {T} costs with a creature that you just played. But how exactly does it work? How does it interact with other rules and effects?  For example, if I'm trying to figure out how a creature is affected:   Does the status matter (tapped/untapped, face down/face up, etc.)? What if it came into play, but I didn't cast it? What if it's a token? What if it was on the battlefield when my turn started, but it wasn't a creature? What if it stops being a creature? What if it's a creature and also another card type? What if it's a double-faced card that just transformed? What if it changes control? What if it's a copy of another creature? Which of the creature's activated abilities can I use? Are any of its other abilities affected? Can I tap the creature to pay a cost that is not a {T} cost?   (These examples are primarily taken from questions about summoning sickness that have already been asked on the site)


Can't port forward on port 25565 or any other port

The Problem:  I'm unable to port forward port WAN port [25565] to server [IP: 192.168.8.100:25565]   Network Info:  IP| Dynamic Router WAN IP| 10.204.250.128 External IP| 115.164.xx.xx Server IP(LAN)| 192.168.8.100 Server Port(LAN)| 25565 Default Gateway| 192.168.8.1 Network Mask| 255.255.255.0 Broadcast IP(LAN)| 192.168.8.255 Network Interface| enp3s0 IPTABLES Default Policy| ACCEPT Additional Info: ISP| Digi Internet Plan| Mobile broadband Router| Huawei b310s-518   Port Forwarding:  My router is configured to forward [WAN Port:25565] to [SERVER IP(LAN):192.168.8.100:25565]:    IPTABLES configuration:  Only FILTER and NAT tables are uniquely configured others are left to default policy(accept):   FILTER table:  NAT table:    Solutions i've tried  Listening on port 25565:  Disabling IPTABLES entirely   Footnotes: I'm conflicted whether static ip is required for port forwarding and i've yet to try port forwarding using static ip.


Difference between Lineage os and Cyanogenmod

I want to know if there in big difference in Lineage OS and CyanogenMod ROM's ?


Is the sign of principal components meaningless?

Does the sign of the vectors returned by PCA have any significance after I center my variables?


"...the document read like a statement..." - Is this just a mistake?

When I was reading ,  in the 4th paragraph     In an op-ed for the New York Times Serratore argued that the document read like a statement from a survivor of workplace harassment. At a January 27 dinner, she noted, Comey found out he would be alone with the president.   Now everybody knows the document(s) can not read by itself.  Is this a mistake? Or grammatically correct?  I am sorry if I sound like trying to find trifle things.


how to manipulate the elements are loaded with js

I have an ajax script to load json data from server.. and I create a radio button from this data using js.. after that I want to manipulate it with jQuery but I can't.. can you explain me?  This the ajax js..  function cs_mediaJson(link,selector) { $.getJSON(link,function(data){         $.each(data,function(i,item){             var openTag = "
";             var closeTag = "
";              openTag += "<input class='media-radio' id='media-radio' type='radio' name='media-radio[]' value='"+item.id+"'>";             openTag += "";             openTag += closeTag;              $(selector).append(openTag);         }); }); }   The function of that code is to make radio button from json.. and I want to manipulate the radio button like, if I click it I will get the value and display the value to an input textbox ... please help me guys as I am new to JS


Derived from two Bases - Delete vector **strange** problem

I am hours trying to figurate out where is the problem, but it seems so strange.  I rewrote my problem in an easier way to understand.  When it gets to the line where it says delete, the debbug makes a breakpoint.  Ps. Intresting to note that, if we take int b1 and move it to Base2 it works.  Base1:  #pragma once class Base1 { public:     Base1();     ~Base1();     int b1; };   Base2.h:  #pragma once #include <iostream> #include <vector> class Derived; class Base2 { public:     Base2();     ~Base2();     std::vector <std::vector <Base2*>> vec;     void doSomething(Derived& d); };   Base2.cpp:  #include "Base2.h" #include "Derived.h"   Base2::Base2() {     //the numbers 1 and 5 does not really metter     vec.resize(1);     vec[0].resize(5); }   Base2::~Base2() { }  void Base2::doSomething(Derived& d) {     vec[0][d.b1] = new Derived();     delete vec[0][d.b1]; }   Derived:  #pragma once #include "Base1.h" #include "Base2.h" class Derived : public Base1, public Base2 { public:     Derived();     ~Derived(); };   main:  #include <iostream> #include "Derived.h"  int main() {     Derived d;     d.b1 = 1;     d.doSomething(d); }


In my .bib file I have two entries as follows: @book{si20,     title = {Introduction to Econometrics with R},     author = {Schmelzer, Martin Arnold, Alexander Gerber, and Martin, Christoph Hanck},     url = {https://www.econometrics-with-r.org/},     urldate = {2020-10-02},     year = {2020} }  @Article{pcalg,     title = {Causal Inference Using Graphical Models with the {R}       Package {pcalg}},     author = {Markus Kalisch and Martin M\"achler and Diego Colombo and       Marloes H. Maathuis and Peter B\"uhlmann},     journal = {Journal of Statistical Software},     year = {2012},     volume = {47},     number = {11},     pages = {1--26},     url = {https://www.jstatsoft.org/article/view/v047i11},   }  My  document looks like this: \documentclass{article} \usepackage[utf8]{inputenc}  \title{Test citations} \author{Jaime Sevilla} \date{November 2020} \usepackage[ backend=biber, natbib, style=numeric ]{biblatex} \addbibresource{name.bib}  \begin{document}  \maketitle  \section{Introduction}  \cite{si20}  \cite{pcalg}  \printbibliography  \end{document}  At first sight I would think that both bib entries are correctly formatted. But only the second one works!  What is going on? How do I fix the first bib entry?


How do I remove Elder Scroll: Dragon from my inventory?

I recently completed the main storyline. Now that I've used the dragon elder scroll, I don't think I need it. However, the game says it's still a quest item and I can't drop it, stash it in one of my 20 unused storage compartments (thanks, Hearthfire!), or sell it to a vendor (I don't think it has any value, though). I have all 3 DLC add-ons, and I'm assuming that either it's a bug, or it's part of either Dawnguard or a side quest in Dragonborn (I've already killed Miraak).


I've recently run across multiple needs to execute multiple different batch jobs at the same time, and almost immediately hit the (somewhat inexplicable) SFDC limit of 5 batch jobs queued at once.  I've worked around this limit in a number of ways, none of which seem ideal to me.   returning a Iterable<SObject> from the start method, which contains a mix of all the SObjects I need to act upon, and then use dynamic inspection to figure out what I'm supposed to be doing on each row in the execute method. This seems fine for small jobs, but wouldn't presumably scale to millions of records due to heap size etc. using a scheduled apex job that runs once, executes a batch, and then that batch in its finish method schedules another apex job (to run in say 1 minute) that executes the next batch in the chain, and so on.   Is there a more viable/flexible pattern that I could be using? What I really need is a flexible work queue where on-demand, not-very-time-sensitive batch jobs can be queued for future (serial) execution based on user activity. And that doesn't violate platform limits of batch jobs or scheduled jobs - really needs to contribute a max of 1 scheduled or batch job at any given point.  Not sure it will help, but the characteristics of the job set I'm envisioning are this:   each task executes on a single SObject type and does one job: e.g. setting unset fields, doing fake M-D rollups, etc. some tasks are operating on a small subset of a table, others need to walk over every Contact/Lead/etc. with potentially millions of rows per batch job. while some tasks are known to be needed every N hours / days, most of them are needed only after some user-driven operation: e.g. click a big red button in an admin console, do something to more than N records, or a new/updated record of a certain type requires its downstream records to be operated upon.


Add 'Page' above page numbers in Table of Contents

I am using my school's latex . Unfortunately, since this package was last updated, we are now required to add the word 'Page' above the topmost page number on each page of the Table of Contents. This cls file includes the following bit of code, which puts 'Page' at the top of the first page, but not any subsequent pages (see attached)  \newcommand\chapteruaf{ \if@arabic\relax\else\if@chapterone\setcounter{page}{1}\else\relax\fi\fi \@chapteronefalse                     \if@openright\cleardoublepage\else\clearpage\fi                     \thispagestyle{myheadings}%                                                                                \global\@topnum\z@                     \@afterindentfalse                     \secdef\@chapter\@schapteruaf} \def\@schapteruaf#1{\if@twocolumn                    \@topnewpage[\@makeschapterheaduaf{#1}]%                                                                                \else                    \@makeschapterheaduaf{#1}%                                                                                \@afterheading                  \fi} \def\@makeschapterheaduaf#1{%                                                                                {\parindent \z@ \centering     \reset@font     \normalsize \bfseries  #1\par                                                                                \vspace{-18.3pt}\hspace{143mm} Page                                                                                \nobreak   }}   First page of the TOC:   second page of the TOC:   Any thoughts here? I have played with this a bit, and can't get it to work. Thanks.


is a number field by definition a subfield of $ \mathbb C $?

I have seen that some authors are defing the number field as a subfield of $ \mathbb C$ which is a finite extension of the rational numbers $ \mathbb Q $, while some others without referering to complex numbers $ \mathbb C$ . I think we don't need $ K$ to be a subfield of $ \mathbb C$ in the definition. So, my question is the follwing:     Is it neceserily to define $K$ as a subfield of $ \mathbb C$ or not ?   And if no why ? Is it true that if we omit this in the definition, that then $K$ will turn out to be a subfield of $ \mathbb C$?   I came up with this question, when I saw that in order to define infinite primes in a number field then these are determined by the embeddings $ K \to \mathbb C $  Any idea would be really appreciated.  Thank you in advance.


I want to display popup with the data item, such as: name, coordinates, stationID, Attribute.  But my code has some problem that can't run.        <link rel="stylesheet" href="https://unpkg.com/leaflet@1.5.1/dist/leaflet.css"           integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="           crossorigin="" />

          This is my GeoJSON:  https://sta.ci.taiwan.gov.tw/STA_Rain/v1.0/Things?$expand=Locations&$select=name,properties&$count=true


I just noticed that you can not use standard math operators on an enum such as ++ or +=  So what is the best way to iterate through all of the values in a C++ enum?


Are Hunter's Mark and similar spells noticeable to the target?

Are Hunter's Mark / Hex / other spells like that noticeable to the target of the spell?   I've watched Critical Role, and it looks like the only thing the character needs to do is pass a sleight of hand check if they are visible to the target (but Hunter's Mark has a verbal component, not a somatic one?).   The basic question is: Can the target tell in any way if they are now marked, by way of seeing, hearing, or just feeling like, "Oh man, I feel magic on me." Would it make a difference if the target was a magic user, or a commoner, or a beast?


Finding records about members of the Indian Civil Service?

My grandmother was "in service" to a retired Indian Civil Servant. I have all his career details in the Indian Civil Service, but I would like to find out more about his actual life whilst he was in India; i.e. what were his actual duties, his social life, where did he actually live, and also what was his & his families "attitudes" with regard to the "locals", so I really need to contact an actual researcher in India.   My grandmother was "in service" to him, and his family, when he had returned to England upon retirement and it seems that (considering her life), that this period "in service" was important to her - hence my interest to find out more about her employer!


I think my sentence isn't perfectly correct, especially around the "to learn".     App helping people with special needs (e.g. autism) to learn and   practice letters, maths, logical thinking, and other important skills.   I have 140 letter limit. I have Grammarly installed to test the sentence and it has found some errors but wants me to buy the subscription to it.  I'm not a native English speaker, so I'm asking for help. Thanks.


Is there an English word or idiom that describes a person who's blissfully unaware or oblivious to their surroundings? I always thought this word was "aloof," but "aloof" seems to hold a rather negative connotation, whereas the word I'm looking would almost connote a positive, like "living in a fairy tale" - or something along these lines. Is there a word for this, or is "oblivious" as close as we get?


Consider this:  \documentclass{article} \usepackage[framemethod=TikZ]{mdframed}  \begin{document} \begin{mdframed}[innerrightmargin=0pt] TEXT\end{mdframed} \end{document}   This produces a frame that is much wider than its content:    I know this is not a bug: the mdframed documentation mentions a userdefinedwidth parameter that defaults to \linewidth. But how can I get a mdframed frame that has the same width as its content?   (What I actually need is a box with rounded corners and shading options; breaking over multiple pages isn't necessary. mdframed seemed like the easiest way to get the box, but if it's too much hassle to make it size to content, it would be useful to know so I can try pure tikz.)


How can I store value in bit in C language

I wish to store either 0 or 1 in each bit of an allocated memory. For example I have char *block_of_memory = (char *)malloc(125000 * sizeof(char)) , here I have 125000 * 8 bits = 1000,000 bits of memory. How can I access each bit and give it a value as 0 or 1. Say , I want to make the 20th bit to 1 and 21st bit as 0.


My function does not split the decimal number to two parts, instead it prints ERROR

def Answer():      A = var1.get()      if "." not in A and A.isdigit():          Right1.insert(END,str(A)+"est un entier")       elif "." in A  and A.isdigit():            B,C = A.split(".")           Right1.insert(END,str(B)+"est decimal" + str(C)+"est entier")     else :          Right1.insert(END,"ERROR")   That is my function Answer for my thinker. When I enter an Interger(12), I see the "Integer(12) est un entier". But when I enter a decimal number (12.7), it prints: ERROR instead of splitting the number to two part. I should have on my screen: "12 est decimal"   "7 est entier". Any ideas where I am doing wrong?


Given  $$x=r\,\cos\theta\\y=r\,\sin\theta$$ and $$x'=r'\,\cos\theta'\\y'=r'\,\sin\theta'$$  how can I express  $$\delta(x'-x)\delta(y'-y)$$ in terms of the polar coordinates?  And the more general case:  $$\delta(x'-x-a)\delta(y'-y-b)$$


Starcraft 2, how do I know how many games I played per race?

Where do I find the statistics of how many games I played per race?


Given the following C function in a DLL:  char * GetDir(char* path );   How would you P/Invoke this function into C# and marshal the char * properly. .NET seems to know how to do LPCTSTR but when I can't figure out any marshaling that doesn't cause a NotSupportedException to fire when calling this function.


Can't log in after upgrading to Ubuntu 17.04

Today I upgraded to Ubuntu 17.04. I get to the login page and type my password correctly, then the sign in message disappears, it stays for a few seconds, then returns and asks me to type the password again.  I am sure I am entering the password correctly since when I tried entering a wrong password, the computer displayed "Wrong password. Try again."


Prove that if $Y$ is compact then $X$ is compact

This is a prelim problem which I did not get correctly.  Let $p: X\to Y$ be a closed map. Suppose that $p^{-1}(\{y\})$ is compact for all $y\in Y$. Show that if $Y$ is compact then $X$ is compact.  In the prelim $p$ is not described as continuous so I assumed that it is not necessarily continuous. However I only get to the point where $p(X)$ is compact and I couldn't see how to use the assumption that $p^{-1}(\{y\})$ is compact for all $y$. Any help will be appreciated.


How can I get identifier style to apply to '%' (in a Perl listing)?

When using Perl variable names with sigils with listings, the $ and @ sigils somehow get coloured in identifierstyle, but the % sigil remains unstyled.  Therefore, this code:  \documentclass{article}  \usepackage{listings,xcolor}  \lstdefinestyle{perl}{    language=Perl,    basicstyle=\ttfamily,    keywordstyle=\bfseries\color{green!40!black},    commentstyle=\color{purple!40!black},    identifierstyle=\color{blue},    stringstyle=\color{orange}, }  \lstset{style=perl}  \begin{document}     \begin{lstlisting}         my ($a, $b, $c) = ('a'..'z');         my ($a, $b, @c) = ('a'..'z');         my ($a, $b, %c) = ('a'..'z');     \end{lstlisting} \end{document}   gives this result:    Is there a way I could make listings understand that % should have the same style as $ or @?  The manual is pretty clear about keywords and comments, but it didn't help me understand the difference between an identifier and an operator (?) that doesn't get styled. Looking at the Perl language definition in lstlang1.sty didn't help either since there is nothing there about either $ and @ or %.


Trying to upgrade to 20.04 from 18.04, the upgrade failed with: ERROR Dist-upgrade failed: 'E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.'  When I checked for broken packages using synaptic no broken packages were found.


How do I kill the lockscreen after the Windows 10 anniversary update?

The Windows 10 "anniversary update" is coming out tomorrow and according to some  the group policy to disable the lock screen is no longer effective on anything below the Enterprise edition. I'd like to know what options/workarounds are left to disable this nonsense on Pro editions.  Regards.


Can't access the snap apps from terminal using Ubuntu 19.10  $ vlc     Command 'vlc' is available in '/snap/bin/vlc'     The command could not be located because '/snap/bin' is not included in the PATH environment variable.   I manually linked the .desktop file to show vlc in the app menu but can't do the same with ytd. is there any permanent solution for opening vlc and ytd from terminal itself.    $ youtube-dl Command 'youtube-dl' is available in '/snap/bin/youtube-dl' The command could not be located because '/snap/bin' is not included in the PATH environment variable.


iPad still plays the music when muted - how can I truly turn off sounds?

When I mute the iPad with the buttons on the side, the iPad is still playing the music quietly. This is really annoying and I would like to turn the sound completely off. Is there a solution to this?


What is the precise definition of a rigid shape?

does not appear to actually define what a rigid shape is. Rather it defines 'same shape' and 'rigid transformations' without giving any definitions of what is necessary and sufficient for a shape to be considered rigid.  For instance, I've seen the following image:    I understand intuitively why the triangle is rigid and quadrilateral is non-rigid. It is also my understanding that inserting a single diagonal connection into the quadrilateral would make the shape rigid? However, given the following image (labeling the shapes $S_1$, $S_2$ and $S_3$ in sequence left to right):    If $S_1$ had a single diagonal connection AB, it would be possible to flip ADB over axis q to obtain a shape similar to $S_2$ with the addition of connection AB (my explanation may not be the greatest). This shape is clearly not the same as $S_1$, so how can we say $S_1$ with a single diagonal connection CD is rigid? I feel I am unclear on what the definition of rigidity actually is.


I have an exercise and I have no idea how to do it:  Let be $U$ and $V$ open sets of $\mathbb{R}^{n}$ and $f:U\rightarrow V$ an orientation-preserving diffeomorphism, then  $$f^{*}(\operatorname{vol}_{V}) = \sqrt{\det(g_{ij}(x))} \operatorname{vol}_{U}$$   Where $\operatorname{vol}_{V}$ and $\operatorname{vol}_{U}$ are the volume forms of $U$ and $V$  $f^{*}$ the pullback of $f$, and $g_{ij}(x)=D_xf(e_i)\cdot D_xf(e_j)$


Can you infuse the Arcane Armor's Weapon before you gain Armor Modifications?

An Artificer Armorer acquires the class feature "Arcane Armor" at level 3. With that, the armor provides a special simple weapon (Thunder Gauntlets or Lightning Launcher). Now all of this "Arcane Armor" is one entity (from the perspective of infusions). This changes when you are level 9, then you acquire the "Armor Modifications" class feature, which lets you count your Arcane Armor as four different entities (again from the perspective of infusions). Can you apply a weapon infusion (Enhanced Weapon) to the special simple weapon (Lightning Launcher) before you get "Armor Modifications" as early as level 3 if no other infusions currently affect the Arcane Armor (no Enhanced Defense, etc.)? I have  regarding whether or not you can infuse the weapon when you hit level 9 with "Armor Modifications".  I am asking explicitly can you do this without the "Armor Modifications" class feature.


Where can someone read up on the tools Mods have access to as opposed to high rep users?

One of my concerns about myself going for a moderator position in an election is that one of the general questions that are gathered as very common questions asked every election is     In what way do you feel that being a moderator will make you more effective as opposed to simply reaching 10k or 20k rep?     Now sure this question may not actually be asked but when I try to evaluate on whether I can be a good mod I look over all the questions and see if I can answer them all. With the above question I just wouldn't be able to give an answer. I know Mods have access to more tools that what those with high rep have access to but I don't know what these tools are or even how they work.  I want to change that. I would like to know where someone can read up on the tools Mods have access to as opposed to what high rep users have access to.


Alright so I've had Linux Ubuntu 12.04 for over a year now and I still don't know anything about it. That only thing I can do with it is use the internet. I want to start streaming games that I play on my computer to Twitch.tv., but I don't know how. All of the downloads are only for windows. I found a website that tells you how to do it, but since I know nothing about linux, I can't do it. I haven't been able to get past the first step yet. Can someone please give me a step by step tutorial on how to do it. Please do not think you are being to specific, because I am sure it will help me. The link to the website is this -


Deciding between slow beta sites and Stack Overflow

I posted . I think it was probably a better fit for the , but for the reasons I cited in my question, I posted it on SO.     I deliberated whether to post this on code review or here. I came to   the conclusion that it is a straightforward question about PHP and   with the number of supporters here, it would likely get an answer, as   code review is slow and the question has a greater chance of not being   answered.   The answers and feedback have been amazing and, I believe, will add another good resource for visitors to the site.  I have attempted to be active on the Code Review SE, but there is not a great deal of interaction.   Can anyone suggest a way to support our Beta sites and yet still get good answers?


Analytic function from $\mathbb D$ to $\mathbb D$ that preserves the boundary is a rational function

Assume that $f(z)$ is analytic on the open unit disk and continuous on the boundary $|z|=1$ with $|f(z)|=1$ if $|z|=1$. Show that $f$ is a rational function.     My attempt:  Since $f$ maps the boundary of the unit disk to the boundary of the unit disk, we can compose $f$ with some conformal map $\varphi$, such that $F\colon=\varphi^{-1}\circ f\circ\varphi$ maps the upper half-plane to the upper half-plane and preserves the real axis. For example, we may set $$ \varphi(z)=\frac{z-i}{z+i} .$$ Therefore, we can extend $F$ to an entire function with $F(z)=\overline{F(\bar z)}$ if $z$ lies in the lower half-plane.   Now it suffices to show that $\infty$ is a pole then we invoke that every meromorphic function on $\overline{\mathbb{C}}$ is a rational function to conclude. But I am stuck... Any help?    Edit:  Can we claim that $$\lim_{z\to\infty}F(z)=\lim_{z\to x_0}z=x_0$$ where $x_0\in\mathbb R\cup\{\infty\}$ by tracing the images of the point which goes to infinity?


Find the value of a and b if $( x + 1 )$ and $( x -2 )$ are factors of $ ax^3 - 4x^2 + bx - 12$

Find the value of $a$ and $b$ if $( x + 1 )$ and $( x -2 )$ are factors of $ax^3 - 4x^2 + bx - 12$. This is regarding polynomials.   Thank you