Does Ubuntu 1604 LTS support Intel 2011-3 CPU and the X99 support chips?
Is Ubuntu compatible with my hardware?
Physical meaning of quantum operators Let's say we have a wavefunction $\psi$ and a measurement operator $\hat A$.  I understand how eigenvalues and eigenvectors of $\hat A$ describe the possible outcomes of the measurement.  I also understand that the average measurement can be computed as $\langle \psi|\hat A|\psi\rangle$.  It's still not clear to me what the direct meaning of $\hat A |\psi\rangle$ is. It is a wavefunction; how does its corresponding quantum state relate (in physical terms) to the original state $\psi$ and the measurement $\hat A$? I'm having this XML document with namespaces and I want to extract some nodes using XPath.  Here's the document:  &lt;ArrayOfAnyType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://tempuri.org/"&gt;   &lt;anyType xsi:type="Document"&gt;     &lt;Id&gt;5&lt;/Id&gt;     &lt;Title&gt;T1&lt;/Title&gt;   &lt;/anyType&gt;    &lt;anyType xsi:type="Document"&gt;     &lt;Id&gt;15&lt;/Id&gt;     &lt;Title&gt;T15&lt;/Title&gt;   &lt;/anyType&gt; &lt;/ArrayOfAnyType&gt;   What's the XPath expression going to be if I want to extract all "anyType" elements with xsi:type="Document"?  I've tried this:   //anyType[@xsi:type="Document"]   and it doesn't work: vs. . Which to use? Where is the .Trash folder? How can I get the current working directory? I want to have a script that takes the current working directory to a variable. The section that needs the directory is like this dir = pwd. It just prints pwd how do I get the current working directory into a variable? What does the "yield" keyword do? What is the use of the yield keyword in Python? What does it do? For example, I'm trying to understand this code1: def _get_child_candidates(self, distance, min_dist, max_dist):     if self._leftchild and distance - max_dist &lt; self._median:         yield self._leftchild     if self._rightchild and distance + max_dist &gt;= self._median:         yield self._rightchild    And this is the caller: result, candidates = [], [self] while candidates:     node = candidates.pop()     distance = node._get_dist(obj)     if distance &lt;= max_dist and distance &gt;= min_dist:         result.extend(node._values)     candidates.extend(node._get_child_candidates(distance, min_dist, max_dist)) return result  What happens when the method _get_child_candidates is called? Is a list returned? A single element? Is it called again? When will subsequent calls stop?   1. This piece of code was written by Jochen Schulz (jrschulz), who made a great Python library for metric spaces. This is the link to the complete source: [Module mspace][1]. Could "them" mean "those"? Background Nowadays, I see &quot;them&quot; used to mean &quot;those&quot; a lot. I don't know if it was as common in the past. For example, take &quot;one of &quot;. On researching about it, I found some people say it comes from a dialect of British English. Some others say it is a &quot;non-standard&quot; usage. I see this usage in Canadian English also, and it seems some people use it in a sarcastic way. Moreover, I have seen a song titled &quot;one of them days&quot;. I also read, in the book called &quot;A Broken Promise&quot;, &quot;&quot; Finally, Wikipedia says that it is a usage in  (a common name for the Southern Midland dialect of American English):  Pronouns and demonstratives &quot;Them&quot; is sometimes used in place of &quot;those&quot; as a demonstrative in both nominative and oblique constructions. Examples are &quot;Them are the pants I want&quot; and &quot;Give me some of them crackers.&quot;    Question(s): What would you say about the usage of this word? Is it correct? Could we use it in daily speech? Could this usage go beyond a specific dialect and be used in other dialects, regions, etc.? Does it really originate from Appalachian English? Why did this usage become popular among other English speakers? Note: I have already seen a similar question:  However, it only says, &quot;ungrammatical,&quot; there. This question is specific to this situation only, and there is more to it. So I'm trying to power 2 of these  together in series. I know that I have to add the voltage of the two lights together and get a resistor that restricts the power to that level. I have a 9V battery and the lights are 3V each. I brand new to all of this, and understand almost nothing, so any help would be appreciated. Can someone help me choose the correct resistor (And how to identify that resistor with the color branding thing) so two of those lights listed above can be wired in series? Thanks! I have seen similar posts but none seem to work. I simply need to remove the dots in the ToC between the chapter titles and the page numbers. I think the page numbers should line up (as if there were dots). This is using the memoir class. Here is my ToC info:  %%%% Do the ToC \let\oldtoc\tableofcontents \renewcommand{\tableofcontents}{\clearpage\pagestyle{toc}\oldtoc}  \renewcommand{\contentsname}{TABLE OF CONTENTS} \renewcommand{\listfigurename}{LIST OF FIGURES} \renewcommand{\listtablename}{LIST OF TABLES} \renewcommand*{\tocheadstart}{\vspace*{-\topfiddle}} \renewcommand*{\aftertoctitle}{\thispagestyle{plain}%   \par\nobreak \mbox{}\hfill{\normalfont Page}\par\nobreak} \renewcommand*{\cftchapterfont}{\normalfont} \renewcommand*{\cftchapterpagefont}{\normalfont} \renewcommand*{\cftchapterleader}{%   \cftchapterfont\cftdotfill{\cftchapterdotsep}} \renewcommand*{\cftchapterdotsep}{\cftdotsep} %\renewcommand*{\cftchaptername}{CHAPTER~} %%% no extra space before the entry \setlength{\cftbeforechapterskip}{0pt plus 0pt} %% no extra 'chapter' space in LoF/LoT \renewcommand*{\insertchapterspace}{}   I tried everything that was suggested. Nothing seemed to make any difference. I am stuck with this format. Any suggestions would be greately appreciated! Could you vs would you Could you write your name? Would you write your name?   When you are asked to do this, are there any situation in which you hear weird if either is used (but the other sounds pretty natural .) Computational complexity of Fibonacci Sequence How can I use JUnit4 idiomatically to test that some code throws an exception?  While I can certainly do something like this:  @Test public void testFooThrowsIndexOutOfBoundsException() {   boolean thrown = false;    try {     foo.doStuff();   } catch (IndexOutOfBoundsException e) {     thrown = true;   }    assertTrue(thrown); }   I recall that there is an annotation or an Assert.xyz or something that is far less kludgy and far more in-the-spirit of JUnit for these sorts of situations. HA configuration for KVM machines installed on shared iSCSI storage My requirement is to provide HA to a Zimbra Server. We want Zimbra files to be installed in a Netapp SAN which is providing around 5.7 TB as a SAN iSCI Drive. Since Netapp comes in with Dual Controller and stable performance, we are unlikely to have any down time.  I have 2 servers each having Xeon processor 6 Core, 32 GB RAM and 2 x 250 GB SSD. These are the two servers where I have installed CentOS 7.6. We would like to have one as primary and the second one as secondary.   Idea is to use the same principle of KVM HA ( What Redhat and even VMware) provides, so that if the primay goes down the IP gets switched to secondary, to create a simple Hot Redudant system.  We have a very few users on Zimbra, but there are a lot of automated emails coming in and we require a very large storage, and hence we are using the Netapp box.  I am able to switch between the KVMs. However I am struggling to figure out how I need to mount the iSCI target, so that the mail application stays alive.  Zimbra typically installs on /opt/. Do I mount the target on /opt/, and if so will it work? Or am I missing something else?  Or should I run the VM of the shared storage itself, and if so how can I configure it.   Zimbra itself is a combination of a database and files, and uses a number of services to keep itself active. Idea of using a shared storage is for Redundancy and high availability.  Appreciate your response and support. Is there a word for someone who won't think critically? Is there a word for someone who won't think through issues and instead comes to others hoping that they will think for them and solve problems for them?  A word that is more specific to a lack of critical thinking skills than "lazy"? I would like to filter the markers on my (geojson) layer according to two features: year and type of event, ideally using both filters (year and eventType) as check-boxes without using layerGroup at all. I would like to be able to click on a checkbox and update dynamically the markers by filtering them according to feature.properties.eventType too, in addition to the year displayed, something like    &lt;input type="checkbox" id="all" name="all" value="all"&gt;   &lt;label for="all"&gt;All&lt;/label&gt;   &lt;input type="checkbox" id="funfair" name="funfair" value="newsletter"&gt;   &lt;label for="funfair"&gt;Funfair&lt;/label&gt;   &lt;input type="checkbox" id="trade" name="trade" value="trade"&gt;   &lt;label for="trade"&gt;Trade&lt;/label&gt;   &lt;input type="checkbox" id="exhibition" name="exhibition" value="exhibition"&gt;   &lt;label for="exhibition"&gt;Paid exhibition&lt;/label&gt;   etc... which would trigger a  filter: function(feature, layer) {   return feature.properties.eventType == value-of-checkbox; }   I have five types of eventType. So, for instance, if 1890 is checked, the map is showing all 1890 events, no matter what kind of event it is (because by default it would show all events). If the user checks the 'funfair' and the 'trade' checkbox, though, I want the map to show only the 1890 events of the funfair and trade kind, and not other kind of events.  This is my complete script, which so far is working fine with filtering by year.  var oldmap = L.tileLayer('address', {   maxZoom: 12 }),  var modernmap = L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}', {   maxZoom: 12,   id: 'mapbox.streets',   accessToken: 'mytoken' });  var map = L.map('map', {   center: [40.1857864,-4.5536861],   zoom: 7,   layers: [oldmap, modernmap] });  var baseMaps = {   "Old map": oldmap,   "Modern map": modernmap };  var jsontest = {"type": "FeatureCollection",   "features": [     {       "type": "Feature",       "geometry": {         "type": "Point",         "coordinates":  [ -16.5471268,28.4136726 ]       },       "properties": {         "Name":"Point1",         "year":'1892',         "eventType":"funfair",         "notes":""       }     },     {       "type": "Feature",       "geometry": {         "type": "Point",         "coordinates":  [ 2.1753895,41.3767925 ]       },       "properties": {         "Name":"Point2",         "year":'1890',         "eventType":"trade demonstration",         "notes":""       }     }   ]};  var mapLayerGroupsYear = [];  function onEachFeature(feature, layer) {   var year = mapLayerGroupsYear[feature.properties.year];   if (year === undefined) {     year = new L.layerGroup();      //add the layer to the map     year.addTo(map);      //store layer     mapLayerGroupsYear[feature.properties.year] = year;   }    //add the feature to the layer   year.addLayer(layer);    }   var myLayer = L.geoJSON(jsontest, {   onEachFeature: onEachFeature })  L.control.layers(baseMaps, mapLayerGroupsYear).addTo(map);   I am a beginner with leaflet so please forgive the dumb question, in case it is. Efficient way to check collision with potentially hundreds of objects I am trying to make a top down shooter that could potentially have hundreds of objects at once at one point. I need to check collision with projectiles, walls, and enemies. I am currently using ArrayLists which probably won't suffice later on and was wondering if someone had a good method or knows a good method for checking all of those objects at once. This is going to be a game for smartphones and is built in java. Any ideas would be great or if you could point me in some direction that would be fantastic.  Thanks in advance! Show some indication that account is banned from asking new questions Is the function $\mbox{tr}(XAX')$ convex? Is the function $\mbox{tr}(XAX')$ convex, where $A$ is a positive semidefinite (PSD) matrix? I know that for a general $A$, the above trace function is not convex. But for a PSD $A$, is the function convex? Computing the Galois group of polynomials $x^n-a \in \mathbb{Q}[x]$ Does 'fight' involve combat?