I am trying to get Rachel Brown all on one line, and below Rachel Brown - three branches that say Mary Brown, Laura Brown and Emma Brown. I am also trying to get ages to show below each name, for example directly below Hannah Brown it needs to say (Age: 23), etc. Many Thanks!  \documentclass{article} \usepackage{tikz-qtree}  \begin{document} \tikzset{edge from parent/.style= {draw, edge from parent path={(\tikzparentnode.south) -- +(0,-8pt) -| (\tikzchildnode)}}, blank/.style={draw=none}} \begin{tikzpicture} \matrix { \node{\Tree   [.{Hannah Brown}   [.Rachel Brown ]]};\\ };            \end{tikzpicture}  \end{document}


Matrix Identity Related to the Gauss-Markov Theorem

While reading some lecture notes I have come across the following:  Consider the linear model $ Y=X\beta+\varepsilon $, $\mathrm{Var}(\varepsilon)=\sigma^2 I$ (all the usual Gauss-Markov assumptions apply). Let $\tilde{\beta}$ be an unbiased linear estimator of $\beta$ with $X\tilde{\beta}=AY$, and let $P=X(X^TX)^{-1}X^T$. First note that $AP=P$ ...  However, I can't see why $AP=P$; I've tried writing $A=P+K\implies AP=P^2+KP \implies AP=P+KP$, but I'm not sure why $KP=0$.


I want to install ubuntu on my external hdd

I am new to Ubuntu User. I would like to install ubuntu on my own external hdd. When my hardisk connect to my laptop, I can use Ubuntu, like this without external hdd, I would like to use windows without any boot errors.   The question may be already answered but I cannot find the link. Please help me how to do that or give me a link already answered.  Thanks  bawlone89  Myanmar


Logging out of all stackexchange sites with one click

Often I visit a number of stackexchange sites. There does not seem to be a way to log out of all of the sites with one click. IMHO this would be a nice feature. If there is such a feature I would appreciate learning how to use it.


Expression for misrepresenting statistics

Sometimes when a lot of data is gathered, an argument against the majority can rely on selecting the rarer case. For example, a medical procedure which usually does more harm than good can be defended by statements from the few it has benefited. Is there a word or expression for this? It could be "cherry-picking", but that doesn't signify the deception taking place.


How does "Increases bonus experience" on items work?

,  (set bonus) both give bonuses to experience worded like this:     Increases Bonus Experience by X%   I don't have either of these to test it out, but I'm curious to see if they are worth the investment.  Do these items work like a Ruby in your helm socket, increasing the experience for monster kills by 30%?  Or is the affix read literally to mean it increases only your bonus experience? I.e., with a 30% ring and you have +100 xp per kill, the effect increases that to +130 xp per kill.  If the latter, what qualifies as bonus experience? Just +XP per kill? What about NV stacks? What about a ruby in your helm?   Both seem like legal interpretations of the wording, but it is a huge difference in the attractiveness of the items.  Can anyone shed some light on exactly how Leoric's Signet and the Cain's Fate set bonus work?


Where can I find the Transmission executable

I'm trying to download a torrent, and Transmission bittorrent isn't showing up on the list of programs to run the file with, and I don't know where to locate it.


Just updated a project to Drupal 7.63. Attempting to execute updb or other commands results in the following error:  PHP Fatal error:  Uncaught TYPO3\PharStreamWrapper\Exception: Unexpected file extension in "phar:///usr/local/bin/drush/commands/core/drupal" in /app/docroot/misc/typo3/drupal-security/PharExtensionInterceptor.php:38   What is the suggested fix for this?


I think when we talk about someone else it is not hard to choose the right word between "bring" and "take".  But when we talk about ourselves it seems that it makes no difference whether we choose one or the other.  For example :        I will take three suitcases with me when I travel to Paris.   Since Mary has just moved to town, I will bring/take her with me to luncheon on Sunday.   When I opened my luggage in the hotel room, I realized I had forgotten to bring/take my new suit for the interview.   I've brought / taken my car with me.      So especially what is the right word for sentence 4 and why?


How do you guys go about controlling column padding in tables?   Update  To clarify, I'm looking for a way to control both vertical and horizontal padding. So, if I had a simple table like in the following code snippet, I could pad the columns and make them look a bit less... ugly. :P   \begin{tabular}{|l|l|}     \hline     column 1 & column 2 \\      \hline     I really would like this less & crammed\\     \hline \end{tabular}   I tried this by using the command \vspace but it leaves gaps in the vertical lines.


\begin{cases} T(1) = 1 \\ T(n) = 2T(n-1)-4 \end{cases} Solve this recursion using summation factor method or iterative method. Could someone solve for me this recursion and explain all steps?


I'm looking to build a nice little RAID array for dedicated backups. I'd like to have about 2-4TB of space available, as I have this nasty little habit of digitizing everything. Thus, I need a lot of storage and a lot of redundancy in case of drive failure. I'll also essentially be backing up 2-3 computers' /home folders using one of the "Time Machine" clones for Linux. This array will be accessible over my local network via SSH.   I'm having difficulties understanding how RAID-5 achieves parity and how many drives are actually required. One would assume that it needs 5 drives, but I could be wrong. Most of the diagrams I've seen have only yet confused me. It seems that this is how RAID-5 works, please correct me as I'm sure I'm not grasping it properly:  /---STORAGE---\    /---PARITY----\ |   DRIVE_1   |    |   DRIVE_4   | |   DRIVE_2   |----|     ...     | |   DRIVE_3   |    |             | \-------------/    \-------------/   It seems that drives 1-3 appear and work as a single, massive drive (capacity * number_of_drives) and the parity drive(s) back up those drives. What seems strange to me is that I usually see 3+ storage drives in a diagram to only 1 or 2 parity drives. Say we're running 4 1TB drives in a RAID-5 array, 3 running storage and 1 running parity, we have 3TB of actual storage, but only have 1TB of parity!?  I know I'm missing something here, can someone help me out? Also, for my use case, what would be better, RAID-5 or RAID-6? Fault tolerance is the highest priority for me at this point, since it's going to be running over a network for home use only, speed isn't hugely critical.


Lie group embeddings $SU(5) \supset SU(3) \times SU(2) \times U(1)?$

Does the special unitary Lie group $SU(5)$ contains $SU(3) \times SU(2) \times U(1)$ as a subgroup?  Can one show which of the following embeddings are possible rigorously: $$SU(5) \supset SU(3) \times SU(2) \times U(1)?$$ $$SU(5) \supset \frac{SU(3) \times SU(2) \times U(1)}{\mathbb{Z}_2}?$$ $$SU(5) \supset \frac{SU(3) \times SU(2) \times U(1)}{\mathbb{Z}_3}?$$ $$SU(5) \supset \frac{SU(3) \times SU(2) \times U(1)}{\mathbb{Z}_3 \times \mathbb{Z}_2}?$$  Here $\mathbb{Z}_n$ means the cyclic group of order $n$.  it looks to me that the first one is impossible, can we prove it is a no go?  (p.s. $SO(10)$ and $SU(5)$ are different groups - how can the two questions be duplicate to each other, without knowing the way of embedding?)


How to drop a column using prepared statement?

Is there a way to drop non primary key column from specific table using prepared statement? I tried this  $conn = new mysqli($servername, $username, $password, $dbname);  // Check connection     if ($conn->connect_error) {         die("Connection failed: " . $conn->connect_error);     }  // prepare and bind     $stmt = $conn->prepare("ALTER TABLE staff DROP COLUMN :col_name");     $stmt->bind_param(":col_name", $column_name);  // set parameters and execute     $column_name = "job_type1";     $stmt->execute();   But get this error:     Call to a member function bind_param() on boolean


Possible Duplicate:          My computer has a 32 bits processor, when I install from a clean version Ubuntu 11.10, I download a 32 version, but wubi request me a 64 bit, I don't know by a agree with this and now I have a 64 bits Ubuntu on a 32 bits processor with a lot of errors how can I fix this since I try later to installed again and happened the same.


Evidence of collinearity, yet significant coefficients – is this a problem?

I have two main explanatory variables of interest in the model I use. It is only when I include them both that the coefficients are significant. The correlation between them is 0.98 and the vif-value is high, indicating collinearity. May this bias the results? I read somewhere that multicollinearity only inflates standard errors, which make p-values too large, and that it doesn’t bias coefficients. So it shouldn’t alter the interpretation of the coefficient unless they lose statistical significance.   Is this true? Do you think the model still could be valid despite high correlations?   My objective of the model is not to make predictions but to see how particularly one central factor, which I measure through two similar explanatory variables, affects the dependent variable.


Finding a limit including an improper integral: $\lim_{n\to\infty} \int_0^{\sqrt n} \left({1-\frac{x^2}{n}}\right)^n\,dx$

I was given a task to calculate that limit, though I'm having trouble with it.. I thought about that fact that $(1-x^2/n)^n$ converges to $e^{-x^2}$ and about switching limit and integral when the convergence is uniform, though I can't really get it done properly. The limit is:  $$\lim_{n\to\infty} \int_0^{\sqrt n} \left({1-\frac{x^2}{n}}\right)^n\,dx$$  Any help would be truely appreciated!


None of my pcs are respawning after hard mode my house is not damaged in any way it is exactly how I built it but it says someone wants to move in but does not move in it is not infected and there is no invasion going on. Even when no one dies the after hard mode npc won't move in.


A normal divided by $\sqrt{\chi^2(s)/s}$

If $Z \sim N(0,1)$ and $X \sim \chi^2(s)$.  If $Z$ and $X$ are independently distributed then the variable $Y = \frac{Z}{\sqrt{X/s}}$ follows a $t$ distribution with degrees of freedom $s$.  What happens if $Z \sim N(a,b)$?  Does it simply become a location scale t distribution with mean = a,  s.d. = $\sqrt{b}$ still with s degrees of freedom?


I had just arrived home last night when I remembered that I had left my keys in the office   I had arrived home last night, and only a short time after that, I remembered that I had left my keys in the office      These two have the same meaning, right?


How has the age of the Universe been derived from the observations made by the Planck mission?

The parameters of $\rm\Lambda CDM$ model have been determined to an amazing high precision from the measurements made by the Planck mission. In particular, the Hubble "constant" (the value of Hubble parameter at the present day) has been determined to be $H_0 = (67.3 \pm 1.2 )\, \text{km} \, \text{s}^{-1} \text{Mpc}^{-1}$. They have also given values for the density parameters at the present day (the density divided by the critical density) coming from cosmological constant, $\Omega_{\Lambda,0} = 0.6817$, and from matter, $\Omega_{m,0} = 0.3183$. The age of the Universe $t_0$ can be calculated from other cosmological parameters in this way  $$t_0 = \frac{1}{H_0}\int_0^1 \frac{a\,\text{d}a} { \sqrt{\Omega_{\Lambda,0}a^{4} + \Omega_{k,0}a^{2} + \Omega_{m,0}a + \Omega_{r,0}} },$$   where $\Omega_k = 1 - \Omega$ is the space curvature parameter, $\Omega = \Omega_{m,0} + \Omega_{\Lambda,0} + \Omega_{r,0}$ is the total energy density parameter (the energy density divided by the critical density) and $\Omega_r$ is the energy density parameter coming from radiation.  I have read that the age of the Universe has been established from the Planck mission measurements as $t_0 = 13.82 \times 10^9$ years. My question is: how is this value been calculated? I mean, it has been calculated assuming a flat space geometry, that is, assuming that $\Omega_k = 1 - \Omega = 0$? If not, what values for $\Omega_{r,0}$ and $\Omega_{k,0}$ have been used to perform the calculation?


Calculate the limit of $a_n = n(2^{1/n}-1)$

On an exam we were asked to prove the sequence converges and find the value of: $$\lim_{n\to \infty}a_n = n(2^{1/n}-1)$$  On the test I tried every common convergence test we learned, to no avail.  Monotone and bounded, pinch theorem, n-th root, ratio test, and so on.  Does anyone have any idea how to solve this?  Thanks


Countable Product of Sequentially Compact spaces is Sequentially Compact

I would like to prove that a countable product $$\prod_{i \in \mathbb{N}}X_i $$ of sequentially compact spaces $X_i$ is sequentially compact. That is, any sequence in the product space has a convergent subsequence (where the product has the usual product topology).   The result is easily proved for a finite product: a sequence in the product space is a sequence of sequences. Looking just at the "first component", this forms a sequence in $X_1$ which has a convergent subsequence in $X_1$. This allows us to consider the corresponding subsequence in the "second component", which again has a convergent subsequence. After a finite number of steps we end up with a subsequence in the full space, each component of which converges in its corresponding factor space.  For a countable product, the proof uses a "diagonal argument". I read a vague description of the argument but am unable to follow it through. Please prove nicely!


not getting actionfunction parameters on controller method

hi i am sending some data to controller method through action function using jquery. but in controller method i am getting null value, please help. i am getting a response from ajax method and then want to send that response to controller method through action function. using apex:param but getting null values in debug  visualforce page          <apex:page controller="SendAgreementExt">   <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>    <form id="data" method="post" enctype="multipart/form-data">      <apex:pageBlock >     <apex:pageBlockSection showHeader="false" columns="2">     <apex:pageBlockSectionItem >         <apex:outputLabel value="File Name" for="fileName" />    <input type="text" name="File-Name" value="" />   <input type="hidden" name="Mime-Type" value="application/pdf" />   </apex:pageBlockSectionItem>   <apex:pageBlockSectionItem >   <apex:outputLabel value="File" for="file" />  <input name="File" type="file" />  </apex:pageBlockSectionItem>  </apex:pageBlockSection>    <apex:pageBlockButtons >         <button>Submit</button>      </apex:pageBlockButtons>         </apex:pageBlock>      </form>     <script type="text/javascript">  $("form#data").submit(function(){   var formData = new FormData($(this)[0]);  $.ajax({ url: 'https://api.na1.echosign.com/api/rest/v5/transientDocuments', type: 'POST',     headers: {'Access-Token' :'3AAABLblqZhCG8fU-alud8zcDf-N8I68P7yfB6nIi6U_PcCQsnobiSYzIpfzmgYaCMnl2PwcuVlSbk7yS_uNV8BkF8ymc3f2m'}, data: formData, async: false, success: function (data) {      document.getElementById("myHiddendid").value = data.transientDocumentId;       myFun(data.transientDocumentId);     //SendAgreementExt.send(data); }, cache: false, contentType: false, processData: false  });    return false;  });  </script>  <apex:form >  <input type="hidden" value="{!documentid}" id="myHiddendid"/>   <apex:actionFunction name="myFun" action="{!send}">    <apex:param name="myParam" value="" id="y" assignTo="{!documentid}" />    </apex:actionFunction>   </apex:form>  </apex:page>   Controller       Public with Sharing Class SendAgreementExt   {   public string LeadMessage{get;set;}  public string documentid{get; set;} public string docid{get; set;}  public PageReference send() {     System.debug('VARIABLE documentid------' + documentid);                        documentid=Apexpages.currentPage().getParameters().get('documentid');    System.debug('VARIABLE documentid------' + documentid);   //system.debug('==in method');  string passedParam1 =Apexpages.currentPage().getParameters().get('myParam');  string passedParam2 =    system.CurrentPageReference().getParameters().get('myParam');   system.debug(passedParam1);   system.debug(passedParam2);     return null;               }      }


Will the mana that has been added to your mana pool by 's -2 ability empty as your turn ends, or is the mana from the -2 ability added for the rest of the game?


Can I backup my entire Ubuntu installation to ISO DVD?

This is the third time I have installed Ubuntu on my pc along with Windows 7, but every time I install, I have to upgrade all packages. (Almost 300 - 400 Mb). Is it possible to make a bootable DVD of my current installation so that I don't have to upgrade all the packages next time?


I am using gdal_rasterize to create a raster of a huge file containing polygons. I managed to generate the raster file with the right color and with the minimum size to tile it after with the gdal2tile.  gdal_rasterize -of GTiff -co COMPRESS=DEFLATE  -b 1 -b 2 -b 3 -burn 136-burn 46 -burn 17 -co PREDICTOR=2  -co ZLEVEL=9 -ot Byte  -a_nodata 255  -a Niveau  -ts 500000 500000  -l layer W:/layer.shp W:/layer.tif   Tile will be used to overlay Google Maps so the polygon must be transparent.  Has anybody experimented with this usage of gdal_rasterize and succeeded in setting the opacity of the output raster?


"the 3.2 kilometers stretch" or "the 3.2-kilometer stretch"

History  enthusiasts  can  bask  in  historical  enclaves scattered  throughout  the  island  while  beach  lovers  can  relax  and  enjoy  sea  sports  along  the  3.2 kilometres stretch of Siloso, Central and Tanjong Beaches.    This sentence is from an article about "Travel in Southeast Asia". The phrase "the 3.2 kilometres stretch of Siloso" is a question to me. I think it should be  "the 3.2- kilometer stretch of Siloso" as I have learn that" When Noun + noun is used in measurements, with a number before the first noun,the number is usually joined to the first noun by a hyphen (-)."  Please give me some advice on it. Thanks in advance.


When I jump in the air I have a sudden increase in kinetic energy, this energy  must have come from the work done due normal force on the system (me). My question is since the work done is (force)$\times$(displacement of point of contact) Why does the normal force do work since the point of contact (At my foot) has no displacement during the jump.  is similar to my question, but I do not agree with the answer. The answer there uses an internal forces argument. I mentioned the system to be me, so internal forces (muscles) should not have any role in my increase in kinetic energy.


How to access Ubuntu desktop from a Windows system?

When using Terminal Server Client, it is possible to access the Windows desktop (remote desktop), from an Ubuntu PC.   Is the reverse possible?  What is the Windows XP application used to connect to an Ubuntu desktop?   Is the default mstsc application sufficient? If yes, what are the required settings on Ubuntu and Windows?  I want to view the desktop, not just an SSH terminal access.


OSX terminal: how to move thousand of files that match a specific name pattern

I have some 70,000 files (basically duplicates) most of which match a name pattern like name(1).ext, name(2).ext .... name(10).ext. However among these files there are others named name (xwz).ext.   Now what I want to do is finding all the first type files and move all of them to a destination folder; I looked to several answers on superuser and I manage to do the following:  first I used the find command to find the files this way:  find ~/sourcedir -name "*([0-9]).*" -o -name "*([0-9][0-9]).*"   which retrieve all the files I want (I printed them on a file and got more than 73,000 files); then I tried to pass them to the Move command this way:  find ~/sourcedir -name "*([0-9]).*" -o -name "*([0-9][0-9]).*" -type f -exec mv {} ~/destinationdir \;   however doing that, just one file is moved to destination (the last one in the list) or none ; what's wrong here? why can't I move all the files in destination dir ?  yet, if I use only one option in the find command, say:  find ~/sourcedir -name "*([0-9]).*"    and then do the -execmv it works, but not if use both options;   indeed it looks like it's processing just the second option (as the only moved file is the one which match the second option); how can I pass all the files matching either the first or the second option to 'move'?


Difference between the usage of "a" and "any"

In the following writing of mine, can you please tell me "a" or "any", which one would you prefer? I know both can be used in the given context but want to which one is better. Can anyone having good knowledge in the language please answer this?  1- According to grammarians, "it is I" is grammatical. "It is me" is ungrammatical because Any/A pronoun that follows a linking verb should be in its subject case.


Simplification of $\displaystyle{0 \binom{n}{0} + 2 \binom{n}{2} + 4 \binom{n}{4} + 6 \binom{n}{6} + \cdots}$

Simplify $$0 \binom{n}{0} + 2 \binom{n}{2} + 4 \binom{n}{4} + 6 \binom{n}{6} + \cdots,$$ where $n \ge 2.$  I think we can write this as the summation $\displaystyle\sum_{i=0}^{n} 2i\binom{n}{2i},$ which simplifies to $\boxed{n\cdot2^{n-2}}.$ Am I on the right track?


How to automatically enable chatter feed tracking in sales force?

My requirement is, we have completed our package installation and tested in another org. in that org Feed Tracking is not enabled for some of custom objects.  How can we enable feed tracking for the objects from our package in the install org ?


What phrases can lead to an instant comment deletion when flagged?

One not-so-well-known hidden feature of Stack Exchange is that, if a comment contains certain phrases, they may be instantly removed after a single flag.  For instance, any comment beginning with +1 can be deleted after a single "Not Constructive" flag.  Is there a list of phrases which, when included in comments, can trigger an instant deletion when flagged?


I've installed GitKraken from Snap.  When I try to open a repository from my second disk, I see no /disk2/ directory in the list of directories under /.  I suspect this is caused by application confinement.  How can I access /disk2/ from GitKraken? And how does this (the thing which causes a directory to be missing) work in general?


When does the 'Lost City' become Atlantis in Stargate

In Stargate SG-1 they are searching for the Lost City in season 8, however in the Stargate Atlantis pilot it is referred to as Atlantis. When is the name found? Or the connection between the Lost City and Atlantis made?


how to schedule report or dashboard as different user?

I have a lightning community with two profiles types.  Managers and Promoters.  I need a way to email schedule reports or dashboards to the managers with the informacion of its own promoters.  it is possible to login as all my managers (13 in total) create a report for each one, and schedule for each one?


I've been working with loads of shapefiles projected according to OSGB 1936 (CRS 27700). The project CRS is set to EPSG:27700 and "On the fly reprojection" to EPSG:27700 is set (I keep this as a default as I work with OSGB 1936 95% of my time).  I decided to download OSM layers from the OpenLayers plugin. When I load this, the EPSG in the bottom right of the screen goes from EPSG:27700 to EPSG:3857   Question 1: should this be happening anyway as it would suggest that the whole project has been re-projected to EPSG:3857?   As soon as the OSM layer is loaded it's way out of alignment but a quick pan seems to bring it altogether quiet nicely.   What I have noted is that (Question 2), if I try to re-specify the CRS to 27700, then the shapefiles "move" by a few tens of meters with respect to the OSM. Does this suggest that QGIS is doing a second re-projection (from what to what?)?   Also (Question 3), does it mean that if I import another shapefile that would be originally a dataset digitised with EPSG:27700 it would be re-projected to EPSG:3857 because the CRS in the bottom right of the screen was set to EPSG:3857 after the OSM import. This is all a bit confusing and logic would suggest that the import of a non-ESPG:27700 (project default CRS) should not go and change the EPSG setting in the bottom right of the screen. Anita Graser's book says on page 34 "Your project CRS will automatically be changed to Pseudo Mercator when you load a background map using the OpenLayers plugin option".   Does that mean there is no way of keeping ESPG:27700 active in the project when importing basemaps from OpenLayers? If so, what alternatives are there?  What I am trying to bottom out is to understand the correct way of importing basemaps (usually Google, Bing or OSM through the OpenLayers plugin) into my projects (always EPSG:27700) without losing alignment and getting layers to correctly re-project. I'm trying to support greater use of QGIS in my company but don't want to lose credibility by promoting the use of a tool that is misaligning datasets. Don't get me wrong. QGIS is a great tool and I am very fond of it but importing layers with different CRS's is quite common these days and getting this right from the start is half the job done.  I did quite an extensive Google search before posting and didn't come up with a recent, clear cut answer to my questions above. There is a bit of content out there on problems with older versions of QGIS, PROJ4, etc. but nothing recent for QGIS 2.0 so worth an update.


Find all positive integers $n$ such that $\phi(n) + \tau(n) > n$.

How do I find all positive integers $n$ such that $\phi(n) + \tau(n) > n$? I attempted using the formulas for $\phi(n)$ and $\tau(n)$, but I feel this approach is kind of handwavy...


A reflexive Banach space is separable iff its dual is separable

Let $(X,||\cdot||)$ be a reflexive Banach space. Prove that $X$ is separable if and only if $X'$ (the dual space of $X$) is separable. Does anyone have a hint for me? I have no idea where to begin


HttpPostedFile.FileName - Different from IE

When I upload a file to a site using the ASP:File control the FileName property is different in IE and Firefox.  In Firefox, it just provides the name of the file, but IE provides the full path to the file.  I have worked around this by adding the code:  Dim FileName As String = file.FileName If FileName.LastIndexOf("\") > 0 Then     FileName = FileName.Substring(FileName.LastIndexOf("\") + 1) End If   But I'm not sure why that would be different between the different browsers.  Does anyone know the reason for this?  Thanks.


I lost my house in minecraft. How can I find it?

I was in creative mode on minecraft PE. I made this really awesome house plus a hotel! I was finishing up my house but decided to explore first. I explored for about 10 minutes and then stopped. Suddenly, I started worrying because I didn't know where I was. I couldn't find my house on a map, a compass, and I didn't make a beacon or keep track of what side of the sun it was on either. How can I find my house again???


I use the LaTeX and specific MikTeX and i have a problem.   I finish a text.It works good,i take the pdf.Now,if i do an error into preamble it won't run.a Ok until now there isn't problem.Now i correct the false statement or command.The curiousness is that i must delete the file ending with .aux to run the text.If i don't delete it,the latex can't translate the text into pdf,although,the preamble doesn't errors.  This is the problems.If someone could help me,i would be grateful.


Let $e$ be an edge of $K_n$- the complete graph on $n$ vertices. Prove that the number of labelled spanning trees of $K_n-e$ is $(n-2)n^{n-3}$.  I think the answer lies in using some modified form of Prüfer's sequence but I can't quite nail it.


I recently downloaded Blender to do some 2d cut-out animation, so I'm a complete newbie.  After separating my drawing into parts in Photoshop (with transparent backgrounds), and saving them as PNG's. I tried importing them into Blender as separate planes but, can't see the transparency.  I tried saving the files different ways, and the individual pieces display properly on Photoshop and Gimp.  There's probably an obvious answer but, I just don't see it  I'm using version 2.76  Any help would be greatly appreciated


Torrent magnet links open new window but not transmission

I've installed Ubuntu and Lubuntu a few times now and some of those times I've had the following problem, which I currently have. When I click a torrent magnet link in Chrome (usually from Pirate bay), instead of opening transmission, the only thing that happens is a new Chrome window opens.  Upon other installations, I've not had this problem; transmission opened just as I'd like.  I've tried using Chrome's extension .torrent to Transmission, but I get the error      unable to contact http ://localhost:9091/transmission/rpc       no response


Google says my sitemap index was "processed successfully", yet "total discovered URLs" is 0

I submitted a new version of the sitemap index for my site in Google Search Console two days ago. Soon after submission, GSC started saying that the index was "processed successfully", and yet has continued to display zero as the number of discovered URLs.  Note that my sitemap index points to about 11000 sitemaps, which provide actual links to pages.  I'm pretty sure the format of both the sitemap index and the individual sitemaps is correct.  Screenshot:    Should I worry about this? What does it mean?  Edit on 2020-02-03:  Google finally started displaying the right number in Total discovered URLs. It must have happened sometime in January. Why so late - I have no idea...


$sql = "SELECT Kill FROM tbl_pvporderview";   Problem is that I end up with: Incorrect syntax near the keyword 'Kill'.  Because kill is a T-SQL command... any way to bypass it?  I can't change the column name because it's used by the software a lot and I cant change the software that's using the database.  So it simply fails if I use sqlserv to select data from that column. '' or "" wont help.  The complete statement would be:  $sql = "SELECT serial,Kill FROM tbl_pvporderview WHERE Kill > (?) ORDER BY Kill DESC ";


It is often stated that the Lagrangian formalism and the Hamiltonian formalism are equivalent.   We often hear people talk about eigenvalues of Hamiltonians but I have never ever heard a word about eigenvalues of Lagrangians.   Why is this so? Is it not useful? is it not possible to do it?


I have the following code in c++:  typedef struct {    int a;    int b;    float c; } Data;  class DataInfo : public Data {    // some code here };   my question is can class inherit struct in C++? how this happens?


How can I use A2DP Sink and microphone simultaniously on my bluetooth headsets?

I have a couple of really cool headsets that are both Bluetooth. One is like a beanie that has Bluetooth speakers built in (by Rotibox) and the other one is just a regular headset by Bluedio which is called a Turbine. Both of these headsets have A2DP Sink in them which sounds really good. However, I have Skype calls sometimes and it's nice to be able to talk to people from another room. I also would like to be able to do voice recordings with them which I do often. The problem is that when I set the headset to H2DP Sink it can't access the microphone. If I set the microphone to the high fidelity feedback it switches the speaker to HSP/HFP. Can I fix this and use H2DP Sink and the high fidelity feedback simultaniously? I was able to do this sometimes on Ubuntu Unity 16.10.  I am using Pulseaudio 10.0 on Ubuntu 17.10 with the Deepin Desktop Environment.


A basic question on expectation of distribution composed random variables

Suppose that $X$ and $Y$ are random variables with distribution functions $F$ and $G$. If $F$ and $G$ have no common jumps then I need to show that $E[F(Y)] + E[G(X)] = 1$.  How to proceed here ? Shall I try to show that the LHS is some probability of almost sure events or product of two almost sure events. Clearly, $F(Y)$ and $G(X)$ are random variables with range in $[0,1]$.


I bought some chestnuts last week. The package date said December 4th and I want to cook them. It's the 5th today. I kept them out on kitchen counter all week. Are they safe to cook and eat still?  If the chestnuts are safe to eat, how long do I keep them in oven to cook them? I have never cooked chestnuts before so I have no way to compare notes to how I cook chestnuts.


Create an image using vector and Raster layer QGIS

I want to create a map with one vector layer (a state shapefile) and another vector layer/raster layer containing desired data in QGIS. When I load both the layers in QGIS, in order to obtain image I always save as JPEG (under Project -- save as image) and then edit it in paint tool of Windows by removing the unnecessary areas around the state image, by rubbing it with an eraser.   Is their a method by which this eraser practice can be skipped to save time?


How to draw nearly-arbitrary curved lines simply? For example, how to draw this graph:    Source Introduction to Algorithms (3rd edition) by Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, Clifford Stein | Page 45 | Figure 3.1  Now I have two ideas of how to draw such figures:   Divide each curved line to many smaller curved lines which can be drawn by a TikZ command, for example  \draw (0,0) to [in=80, out=-30] (3,2);   This way is quite natural. However, it is difficult to divide, for instance, the lines in the above figure, in this way. Also, when I have already divided, it is very possible that I will get confused with the coordinates. Find a formula for each of the curved line, and then draw the graph of the curved line.  This way is good for normal graphs, but for the complicated curved lines as in the above figure, it seems to be impossible.   So none of the ways stated is good enough. Do you have any idea to draw such figures? Your help is much appreciated!     Notes   I'm sorry if the question is a duplicate. I have searched for a while without success. Your help will be great if you can help me draw the above figure. However, I strongly prefer a general solution for this, because the aim of the question is not just to ask how to draw the figure only. You can see that there is no MWE in my question. As I explained above, all of my idea so far are just bad, so I haven't applied any of them. I strongly prefer using TikZ. However, answers using PGF, PStricks, etc. are all very useful to me.


Lets say I have a 5x5 matrix. I want to place 2 leftrightarrows (with descriptions "3", "2") underneath the matrix, but really close to it: first pointing from col1 to col3 and second from col4 to col5. Plus updownarrows with similar outcome. How can I achieve that?  draft:  1 1 1 | 1 1  <--> <->


The blue color of light of the sky is due to Rayleigh scattering.  But the sun itself appears yellow in color whereas the scattered sunlight itself appears blue.  Why does this happen? Should the sun then not also appear blue in color?


How to add the word "Figure" to the list of figures?

I have a problem when trying to add the word "Figure" before the actual number in the list of figures. I guess it will be the same for all languages, since the langauge setting will make it in my language automatically. But what I have so far is only the number like the upper line, and it should be like the second line (which was poorly made with paint, just in case you wonder).    Here is the code I am using for figures so far:  \begin{figure}[ht] \centering \includegraphics[width=1.0\textwidth]{imageName.png} \caption[CaptionText]{CaptionText\footnotemark.} \end{figure} \footnotetext{CaptionTextn. Available under \url{www.nowhere.com}, seen on Date.}


Proving the limit of $\left(\frac n{n+1}\right)^n$is $e^{-1}$

Find the limit of $\lim_{n \to \infty}({n\over n+1})^n$.   $$\lim_{n \to \infty}({n\over n+1})^n=\lim_{n \to \infty}({n+1-1\over n+1})^n=\lim_{n \to \infty}(1-{1\over n+1})^n$$  What Should I do next?


Is the Arrowverse watching order a bit jumbled?

So I've been looking at plenty of watching orders for Arrow season 4, The Flash season 2, Legends of Tomorrow season 1 and Supergirl season 1.  As most of you know, there are crossovers but the airing order isn't all that clear.  [SEMI-SPOILER] In the 18th episode of Supergirl, The Flash appears and helps her do stuff. In the 17th episode of The Flash however, The Flash doesn't even come remotely close to going anywhere near Supergirl, which means that the 18th episode of The Flash should cover this.   Episode 18 of Supergirl aired last week but the 18th of The Flash should air on the 19th of April. Fun fact? Supergirl episode 19 will be aired on the 11th of April. Also Arrow episode 18 will be aired on the 6th of April, which is also before The Flash even remotely reaches the 18th episode. [/SEMI-SPOILER]  This really confuses me as most watch orders don't even cover these episodes. So what's up? Did the watching order get screwed over like it was back with Arrow season 3 and The Flash season 1?   Is this actually going wrong and if so, what should the actual order be?  Sorry if this is asked like 5000 times before but I can't seem to find any clear answer to what is happening.  Thanks in advance!


Allow prepopulating the tags field when linking to the Ask Question page

On Gaming, we would like to use game-specific and genre-specific tags. As such, it would be helpful to have links to the Ask question page which have the tag field prepopulated.  For example, one could post the following link on the Braid forums:


Canned comments when downvoting new users

I find that a lot of new users will make one of several mistakes asking questions:   failure to check Google failure to show any effort failure to read any introductory material on the language in question very bad English   Many users will respond by downvoting the question (maybe flagging or voting to close) and moving on. The idea of  is nothing new, but the upvoted comments are often something like "what have you tried?", which isn't as useful to new users as a more thorough explanation. To a new user who may barely understand English, we just look like a black-box full of jerks.  Given that any comments explaining the issues tend to get upvoted, I propose some small set of "canned" comment buttons that appear after I've downvoted a question. Clicking on them would do one of the following:   Leave an anonymous comment Leave a named comment Leave a vote for the user to be notified (via comment or something else)   These comments could include links to the FAQs, which would save us the trouble of putting links in every bad post, and would be more useful to the poster than a single snarky comment with three upvotes.


I'm stuck in a login loop on my first account. I can, however, log in with the guest account and with a new account I created on terminal.  This is the log errors, please help me understand what is causing the sigterm.


TexStudio IEEEtrantools package issue. User .cwl file?

I am using TexStudio 2.9.4 on Windows 7. There is a problem that has been raised here at least once. It is that TexStudio flags unrecognised command  to  \begin{IEEEeqnarray}{rCl} and then within the environment flags expressions like \mathrm as being used outside the math environment. The fix (on Windows) is to manually edit the file C:\Users\USER\AppData\Roaming\texstudio\IEEEtrantools.cwl adding:  \begin{IEEEeqnarray}{cols}#\math,array \end{IEEEeqnarray} \begin{IEEEeqnarray*}{cols}#\math,array \end{IEEEeqnarray*}   in place of the \IEEEeqnarray entry there.   This works but is there a separate file that I could add (eg myfixes.cwl) which TexStudio would read? Burying the fix in a big autogenerated file is not ideal.  BTW is there any documentation on the format of .cwl files?


How to read from two input files using while loop

I wanted to know if there is any way of reading from two input files in a nested while loop one line at a time. For example, lets say I have two files FileA and FileB.   FileA:  [jaypal:~/Temp] cat filea this is File A line1 this is File A line2 this is File A line3   FileB:  [jaypal:~/Temp] cat fileb this is File B line1 this is File B line2 this is File B line3   Current Sample Script:  [jaypal:~/Temp] cat read.sh  #!/bin/bash while read lineA     do echo $lineA      while read lineB         do echo $lineB          done < fileb done < filea   Execution:  [jaypal:~/Temp] ./read.sh  this is File A line1 this is File B line1 this is File B line2 this is File B line3 this is File A line2 this is File B line1 this is File B line2 this is File B line3 this is File A line3 this is File B line1 this is File B line2 this is File B line3   Problem and desired output:  This loops over FileB completely for each line in FileA. I tried using continue, break, exit but none of them are meant for achieving the output I am looking for. I would like the script to read just one line from File A and then one line from FileB and exit the loop and continue with second line of File A and second line of File B. Something similar to the following script -  [jaypal:~/Temp] cat read1.sh  #!/bin/bash count=1 while read lineA     do echo $lineA          lineB=`sed -n "$count"p fileb`         echo $lineB         count=`expr $count + 1` done < filea  [jaypal:~/Temp] ./read1.sh  this is File A line1 this is File B line1 this is File A line2 this is File B line2 this is File A line3 this is File B line3   Is this possible to achieve with while loop?


I often get stuck when forming or formatting a sentence with one or more parentheses. For example, I wrote an answer on another Stack Exchange site, in which I wrote:     ...whereas, my phone(xperia x10 mini)   comes with several widgets...   which, afterwards, I thought should be:     ...whereas, my phone (xperia x10 mini)   comes with several widgets...   But in some cases I feel the former way is correct, like:     ... phones which have a camera include   IPhone(5MP), Nokia N8(12MP), Nokia X6(3MP)....   Is there any rule for the placement of space after and before parentheses?


What is a short cut I can use to switch applications?

In Mac OS it was command+tab. It is one of the most helpful tools, and I was wondering what was it's Ubuntu equivalent?


How can I successfully escape apostrophe using php & mysql

I know this has been asked many times before but I'm still stumped. I'm obviously missing something but I have been unable to figure out how to successfully escape the apostrophe when sending a mysql query from php. Why does this not work when everything I have read says it should.  <?php $title = "havin' fun"; $con=mysqli_connect($server,$username,$password,$database); if (mysqli_connect_errno())   {   echo "Failed to connect to MySQL: " . mysqli_connect_error();   }  $title = mysqli_real_escape_string($title);   $result = mysqli_query($con,"SELECT id,artist,title FROM songs WHERE title     = '$title'"); if($result) {     while($row = mysqli_fetch_assoc($result)) {     $id = $row['id'];        $artist = $row['artist'];     $title = $row['title'];     echo $id.' - '.$artist.' - '.$title.'<br>';     } }else echo 'No Results'; mysqli_close($mysqli); ?>


Ubuntu 16.04 Desktop Menu Bar and upper panel missing, windows cannot be dragged, closed etc

I spent the entire day yesterday til 3am trying to fix this, and all the possible solutions you can find on the web just don't work for me.  I agreed to some regular updates on Ubuntu 16.04.4 LTS, all worked fine. Ever since starting back up, only the stuff that was lying around on my Desktop is to be seen. One of the "fixes" even caused a blackscreen and I couldn't even boot my OS anymore, I had to start a Ubuntu safe session and reconfigure lightdm in the terminal to even make my OS work again. I'm also still confused on why it allows you to choose between lightdm and gdm as a manager.   I checked the .xsession-errors file and it reports  ... upstart: unity7 main process ended, respawning upstart: unity7 main process (4644) terminated with status 1 ...   metacity --replace & disown at least temporarily allows me to minimise, drag and close windows.  ccsm won't apply any changes made at all after I close it.  I've tried everything google can find for you...  dconf reset -f /org/compiz setsid unity unity --reset-icons reinstall unity reinstall ubuntu desktop initctl restart unity-panel-service update, upgrade, dist-upgrade aptitude etc....   Absolutely NOTHING works!!  Any ideas?


Java - Infinite loop terminates in an impossible manner

I have code such as below:  @Override     protected Void doInBackground() throws Exception {         try {             while(true) cpu.step();         } catch(Throwable t) {             throw new RuntimeException(t);         } finally {             System.out.println("EmulationWorked task completed");         }     }   This loop should always exit by throwing an exception, but in my case I see that the control reaches the println statement without doing so.   My Java/JVM version is as below:  java version "1.7.0_45" Java(TM) SE Runtime Environment (build 1.7.0_45-b18) Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)   This question is related to an issue I was seeing as part of another issue I posted previously:   Is this a known JVM bug of some kind?


Recently I changed my default file manager to Krusader and it seems that my computer crashes constantly; How does I change it back to Nautilus?


Broken links for changing page in SO -> Users

The page links in squares at the bottom of  are broken, as in this example:  https://stackoverflow.com/users?page=2&amp;tab=reputation&amp;filter=week   Note extra "amp;" after "&".  Actually, the links do work, but the GET attributes are lost. For instance, if you choose filter=ALL and then try to pass to page 2, you go back to default filter=WEEK.


water heater draining hot water continuously from an outlet (seems tp valve outlet to me)

My gas water heater, continuously lets hot water out from the outlet (seems it is connected to tp valve, it goes through the wall to outside the home).   If I turn the water heater to low (much below the normal setting with the recommended arrow), it stops after a few minutes.   What could be the problem and I am worried if this is something dangerous, in addition to wastage of water and gas..?  Also, I noticed that my heater is making more noise than ever..It is a 3-4 years old heater..


Going back twice required to return to search results in the tags view

This looks a little bit like a variation on  but specific to the tags view.  Reproduction (app version 1.0.71):   Select any site (say Meta) from the sidebar Switch to the tags view using the top bar Choose a tag, any tag ( is nice)   optionaly refine your search with more terms  Go to any question found, go back   you end on the unfiltered tags view  Go back again   lucky you, your search is here


Error 1146 when integrating a MySQL database in an already existing remote MySQL server

I have one remote server with MySQL databases running on it and I would like to move one database I have on my personal computer in this remote MySQL server to centralize everything.  Global configurations:   Personal Computer (origin): MySQL 5.7 and Ubuntu 16.04 Server (target): macOS El Capitan + MySQL 5.7   If I move only the database file to the new computer (using secure copy) I’m running into an error saying tables doesn’t exit but I’m still able to select the database name in the list:   ERROR 1146 (42S02): Table ´database_name.table_name´ doesn´t exist   If I also move configurations files, I will erase existing configuration for currently running databases.   How can I merge MySQL configuration files to merge all those databases on the same device without loosing any data?


I wish to execute a video in my PC and stream it in the LAN so anybody can connect to it and watch it. What steps do I need to do to accomplish this in an easy manner.


Why does `rm` claim my symlink is a directory?

I made a symlink to a directory like this:  ln -s /some/directory symlink   Now I'd like to remove the symlink:  rm symlink/   This doesn't work. The error message is:   rm: cannot remove 'symlink/': Is a directory    What am I doing wrong? Why does rm claim my symlink is a directory? How to remove the symlink properly?


Why/how does Luke happen to land on Dagobah so close to Yoda's home?

In The Empire Strikes Back, Luke Skywalker travels to Dagobah and receives training from Yoda.  But how does he know where on Dagobah Yoda resides? Per Wookieepedia, , making it slightly larger than Earth. In the scene where Luke reaches Dagobah, he says to R2-D2 that there are no signs of cities or technology, but massive lifeforms. He then seemingly descends into the planet's atmosphere at random, loses control and crash lands into a swamp.  Luke then proceeds to transfer equipment and supplies from the X-Wing fighter to dry land to make camp. Soon after, Yoda wanders into Luke's camp. Such a planet would have a surface area of about 600,000,000 square kilometers. It seems quite fortuitous that Luke just happened to crash land right next door to Yoda's home!  Is there any explanation in the canon as to how or why Luke is able to, seemingly at random, crash land within walking distance of Yoda's home?


How to I extract a date from the following Python string '2021-05-16T13:24:31+0000'?

I have the following date string which I tried to extract the date from. I am getting an error as I am obviously not parsing it correctly. from datetime import datetime  date_string = '2021-05-16T13:24:31+0000' date_format = "%Y-%m-%d'T'%H:%M:%S'+0000'" date_object = datetime.strptime(date_string, date_format) print(date_object.date)  What would be the correct parsing format for this date string '2021-05-16T13:24:31+0000'? Thank you.


Showing 2 users with reputation +2000 in area51 proposal board while there is only one, case of a less-then-90-days beta proposal?

In , it shows that there are 2 users with reputation greater then 2000 while in reality there is only one:      It seems that it is also wrong for 200+ rep: showing 22 users where  there are only 13.  I checked the accepted answer for the question  but it didn't explain the case of a less-then-90-days beta proposal? The other answer do, but letting the explanation why wrong open.


Integer program in which at least one of three inequalities holds

Formulate the following Integer Program considering alternative constraints  \begin{align}\max \qquad &2x-79y\\[0.2cm]\text{ subject to}\qquad& 0\le x\le 20 \, \text{ and }\, 0\le y\le 30\end{align}  and at least one of the following inequalities holds: \begin{align}-2x+3y&\ge 0\\[0.2cm]5x-4y&\ge0\\[0.2cm]7x+8y&\le40\end{align}


No notification was received for an edit to a post

Normally, when a user edits one of my posts, I receive a notification like on the following depending on the case   User has editing privilege (click to visit revision)   Users' edit is submitted to review queue (click to visit review queue)     The above notifications were received instantaneously (or less than 30 minutes, in case caching is supposed to be the answer) as the edit was done/suggested.  But I did not receive any such notification today (yet) on an edit made on my . I think it is a possible bug and should be looked at. The recent notifications list I have is shown below:


How to list of all the tables defined for the database when using active record?

How do I get a list of all the tables defined for the database when using active record?


I told Lydia to wait near the bridge at whiterun so I could go kill some giants, in my way I encountered a dragon and when I go back to the bridge I can't seem to find her there? What do I do?


I am completely new to Ubuntu and I must say AskUbuntu and you folks are of great help. So now when I have started installing and playing with apps, my question is what is the best place to install/download apps? Like in Windows it usually goes under your C: drive and then you manage it under Program Files. Linux structure is quite different with a different folder hierarchy. I have attached the directory structure of my machine as well. I thought this question would help lot of beginners.


When I run sudo apt-get update on Ubuntu 19.04 it results in:  Err:1 http://lt.archive.ubuntu.com/ubuntu disco InRelease   Could not connect to lt.archive.ubuntu.com:80 (193.219.61.87). - connect (111: Connection refused) Cannot initiate the connection to lt.archive.ubuntu.com:80 (2001:778::87). - connect (101: Network is unreachable) Err:2 http://lt.archive.ubuntu.com/ubuntu disco-updates InRelease                 Cannot initiate the connection to lt.archive.ubuntu.com:80 (2001:778::87). - connect (101: Network is unreachable) Get:3 http://deb.playonlinux.com trusty InRelease [2,590 B]                     Hit:4 http://security.ubuntu.com/ubuntu disco-security InRelease                Ign:5 http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu disco InRelease Err:6 http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu disco Release   404  Not Found [IP: 91.189.95.83 80] Ign:7 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04  InRelease Get:8 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04  Release [986 B] Get:9 http://deb.playonlinux.com trusty/main amd64 Packages [564 B] Get:10 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04  Release.gpg [481 B] Get:11 http://deb.playonlinux.com trusty/main i386 Packages [564 B] Get:12 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04  Packages [831 B] Reading package lists... Done      E: The repository 'http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu disco Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.   I cannot install any program with sudo apt-get install. How can I fix this situation?


, shares the following:    // Hello! I'm a self-increasing number! console.log( 9999999999999999 ); // shows 10000000000000000     I don't get why 9,999,999,999,999,999 is turned into 10,000,000,000,000,000. If we have 53 bits to store a number (out of the 64), given that representing the number above requires more bits than available (precisely 54 ?), why not return all the 53 bits we have oned, meaning we are representing the maximum number we possibly can (9,007,199,254,740,991) ?   The post here mentions 52 bits to store a number out of the 64, but I changed it to 53 after checking Number.MAX_SAFE_INTEGER and putting it into Window's calculator in programming mode - it gives 53 bits oned.


I need some advice/help with my Schengen visa renewal.  I am currently in France and will end my season on 31 October on my current boat. Afterwards I will be joining another boat in France on a new contract.  My visa is valid until March 2018 and I still have 80+ days left to stay within the Schengen area.  I would like to know if it is possible for me to renew my visa in Europe or do I need to travel back to South Africa, and is it possible to renew/lengthen my visa while mine is currently still valid and I have days left?  Thank you in advance.


Should I lower my price for having no reputation?

First of all, I'm 16, and I've been using Adobe applications for 6 years. Since 2014, I've been "working" as a freelancer. When it comes to pricing, I have a lot of problems:   I haven't developed a portfolio yet My age doesn't help I'm too kind   Recently I made a logo and a badge for 13$. By now, I'm developing a book cover for 10$.  I consider theses prices to be really low, sorry if you don't agree  Why? Because when I try to charge my real price, people refuse to pay.   " Too young and too high " " I know a guy that does it for less " " I can only pay X$ " (this one refers to kindness)"   What should I do?


On a hot day, when it's cooler outside than in; is it better to put a fan in an open window pointing inwards or outwards?

If it's really hot inside, but cooler outside; what is the best way to place a single fan to try and cool a room down?  I always assumed it would be better pointing inwards (and  suggests the same).  However; today I had a thought - if the room had a bad smell in it, we would probably expect a fan blowing air out would remove the smell faster than a fan blowing inwards. Is a smell really any different to heat? Would it be more efficient to remove heat by blowing the fan a different way to a smell?


What does this warning mean? (fancyhdr and headheight)

My LaTeX file compiles fine. However, in reading my .log file, I see many repeated instances of  Package Fancyhdr Warning: \headheight is too small   Looking for it in google, I found some 'fixes', but first I'd like to know what the error is about.  What is fancyhdr? What is \headheight? What does the error mean?


I have got a table 'payments'  user_id amount 1       300 1       100 2       100 2       100 3       10 4       200   What query should I make to display result by groups:  diapason       number 0 -10          0 10 - 100       1 100 -200       3 more than 200  2   I think I should use 'having'?


Consider the two entries on the following theoretical form,  Name        _______________  or  Name:       _______________  Which is more correct?


The version of MySQL is 8.0.16. This is installed on an EC2 Linux and is a fresh install. I have run the mysql_secure_installation command after installation and was able to change the root password successfully and was also able to add a second user with basic privileges.   To test the connection I made a simple script:  $link = mysqli_connect($dbhost, $dbuser, $dbpass);           if (mysqli_connect_error() ){         echo "Debugging errno: " . mysqli_connect_errno() . PHP_EOL;     }else{         echo "Connection successful";     }   I have double checked the values of the variables and they are all correct. When I try to visit the URL it says:     Debugging errno: 2054   How to resolve this?


How do I record the name of the files in a folder?

for example i have : file directory: C:\Users\Desktop\program files in directory: cheese(folder) ,veggie(txt file), meat(doc file) How do i record down the names of the files and folder in the directory? Thanks in advance!!


I want to make non-www domain redirect to my www domain

I was wondering on how would I make my non-www domain would be direct to www domain. I've tried to configure my .htacces to redirect my non-www to www but since non-www was defualt it was infinitely looping to each other. How am I going to resolve this? Thanks      #Force www: RewriteEngine on RewriteCond %{HTTP_HOST} ^example.com [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301,NC]   I wanted to make my domain SEO friendly, what should I do? should I add WWW as a CNAME or as a A My wordpress files were in public_html, do I have to make a new subfolder to do this kind of canonical?


Do continuous functors generalise continuous maps?

In category theory we say a functor is continuous if it preserves limits.   At first glance this seems like a totally obvious analogue of the notion of a continuous mapping in topology. However, at second glance it looks like a play on words, because the category-theoretic notion of "limit of a diagram" doesn't have a lot to do with the topological notion of "limit of a sequence".   Can one regard continuity of maps as a special case of continuity of functors? That is, if I have topological spaces $X, Y$ and an arbitrary mapping $f: X \to Y$, is there a natural way to cook up a functor $F_f$ between some categories such that $F_f$ is a continuous functor iff $f$ is a continuous map?


What is the equation for a string fixed at both ends without simplifying assumptions?

The book Mathematical Physics by Eugene Butkov has, on Chapter 8, the equation for a held string (by held I mean with endpoints fixed and both at the same height) as being $$T\frac{\partial^2 u}{\partial x^2}+F(x)-\rho(x)g=\rho(x)\frac{\partial^2 u}{\partial t^2},$$ where $T$ is the tension, $F$ an external force, $\rho$ the density, $g$ gravity and $u$ transversal (vertical) displacement.  However, the book derives this equation assuming the string deforms little from the horizontal position and the tension is contant. Such assumptions are strong, I think.  Plus, for the stationary case $\frac{\partial u}{\partial t}=0$ it doesn't seem to differentiate between a string hanging by its own weight and a string being pulled by a constant force. And we know these two situations are different since the solution for them is a catenary and a parabola, respectively.  What is the exact equation for a held string?


I have a string of numbers like this  i = '584,569.2,11515,632'   want to convert it to list of number like this.  [584,569.2,11515,632]


How can I hide windows from another workspace from showing in the taskbar?

How do I prevent windows from another workspace showing an icon in the taskbar (Ubuntu Dock)?  Example:    Firefox running on workspace 1 Files running on workspace 2 When I am in workspace 1 I would like to have only Firefox shown in the taskbar. When I switch to workspace 2 I would no longer see Firefox in the taskbar but instead I would see Files   This is configurable in other desktop systems such as LDXE but I cannot find the options in a standard Ubuntu 20.04 installation (running GNOME).


How to automatically write bold commands in a bash script in Latex using listings

I wanna include a bash script in a black box in a pdf using latex. I achieved everything I want, except bold commands in the script using the following code:  \documentclass[11pt,a4paper,DIV=15]{scrartcl} \usepackage[ngerman]{babel}  \usepackage[utf8]{inputenc}  \usepackage{amsmath} \usepackage{graphicx} \usepackage{float} \usepackage{xcolor} \usepackage[colorlinks,linkcolor=blue]{hyperref} \usepackage{listings}  \lstset{language=bash,backgroundcolor=\color{lightgray},frame=lrbt,basicstyle=\ttfamily}   \begin{document}   \begin{lstlisting} #!/bin/bash  pdflatex  $1 echo Anstatt  dieses  Skriptes  haettest  Du  pdflatex echo auch  einfach  direkt  aufrufen  koennen  ... \end{lstlisting}  \end{document}   I dont get why listing automatically writes my comments italic, but doesnt recognize echo as an command. As commands should be written bold when using language=bash.


How can I take this input:     71.3.162.181.in-addr.arpa   and turn it in to this:     181.162.3.71   I'm hoping sed and awk can do this, but just don't know where to start?


I have a big table with a problem, when I want to rotate the text in a \multirow cell, the text is placed outside and is bigger than the dimensions of the cell, I took some advice from here, using\parbox, and then \rotatebox. But I don't get good results.           \documentclass{article}  \usepackage{array,multirow,graphicx}  \begin{document}  \begin{table}[H]  \centering  \begin{tabular}{|c|l|r|r|r|r|}  \hline  & \multicolumn{1}{|c|}{Text} & \multicolumn{1}{|c|}{Text} & \multicolumn{1}{|c|}{Text} & \multicolumn{1}{|c|}{Text} & \multicolumn{1}{|c|}{text}\\  \hline  \rotatebox{90}{\parbox{2mm}{\multirow{3}{*}{rota}}} & text &&&&\\  & text &&&&\\  & text &&&&\\  \hline  \end{tabular}  \end{table}  \end{document}   Which results in:


How do I make the f curve 'non-existent', and have simple on/off motions?

I animated a bunch of blinking LED lights, and put key frames on the spots where I want the LED on and off. The LED lights have an f curve to them, currently it's on the more logarithmic curve. I am aware of how to turn the f curves into linear slopes, or how to manually edit an individual curve into a shape I want. What I want is to have the curves non-existent - once it hits the key frame that says "on" it holds this level until it reaches the key frame that says "off". For onstance:  Frame 100: on 106: off 112: on  I have twenty LED lights, almost two hundred frames and key frame changes every quarter second. Please tell me there is an easy way to do this:(  Also, is there a way to copy key frames and paste them later on in the dope sheet? Every 48 frames my animation resets, so copying 48 frames four times is easier than doing 192 frames.


Is there a simple condition on a module $M$ over a ring $R$ which will ensure that $M$ is isomorphic to its double dual, $M^{**} = \operatorname{Hom} (\operatorname{Hom}(M,R),R)$? What about a condition on $R$ which guarantees this will hold for all $R$-modues $M$? Can we find conditions which are necessary, as well as sufficient?


How can I get sql string from hibernate criteria?

I work in mysql, and using hibernate criteria to build query. But I don't know how to get sql query from that criteria, so any one can help me, that could be grate, many thanks ?  tungosper


sum of absolute differences $|\sigma(i)-i|$ is even

I have to show that for all $\sigma \in S_n$ following equation holds: $\sum_{i=1}^n|\sigma(i)-i|=2k$ for $k\in \mathbb{Z}$.  I have no idea how to show it and would be very grateful for any hint.


Inserting multiple values in rows in SQL

I don't know that why I am unable to get these values inserted into the table.For below table: create table info  (serial_no number(10),  name varchar(10));  insert into info(serial_no,name) values(1,'g'),(2,'u');     /*For this query an error is coming*/  ERROR:  ORA-00933: SQL command not properly ended


$\frac{d}{d\mathbf{x}}[\lambda( \mathbf{x}^T \mathbf{x} - 1)]$

I am trying to take the derivative  $$\dfrac{d}{d\mathbf{x}}[\lambda( \mathbf{x}^T \mathbf{x} - 1)]$$  By my reasoning, I get  $$\dfrac{d}{d\mathbf{x}}[\lambda( \mathbf{x}^T \mathbf{x} - 1)] = 2 \lambda \mathbf{x}'$$  However, according to my textbook, the derivative is apparently   $$\dfrac{d}{d\mathbf{x}}[\lambda( \mathbf{x}^T \mathbf{x} - 1)] = 2 \lambda \mathbf{x}$$  I don't understand why the $\mathbf{x}$ are not differentiated in the textbook solution? If my calculation is incorrect, then what is the correct reasoning?   I would appreciate it if people would please take the time to clarify this.


What is a better word for "exponentially"?

I often hear news reports of rapidly increasing problems use the word "exponentially" for emphasis.  For example, tonight's BBC America World News included a segment on the growing Syrian refugee problem, saying the number of refugees was "increasing exponentially".  Now clearly this usage is not consistent with mathematically accurate usage and though I'm sure most understand the intent, it still bothers me.  For reference, the number of registered Syrian refugees increased from 471,808 on 2012-12-31 to 2,241,100 on 2013-12-13.  Neither "five-fold increase" nor "quintupling" seem to have the same impact.   Can anyone suggest an alternative word that is not so mathematical in nature to describe such an increase?  Of course, I'm looking for a word to describe future growth, not past.


Can Gideon, Champion of Justice be exiled the moment he becomes a creature with his 0 ability?

Here is . After using his +0 ability to become a creature, can he be removed with something like ?


Well, we all know the twin prime conjecture. There are infinitely many primes $p$, such that $p+2$ is also prime. Well, I actually got asked in a discrete mathematics course, to prove that there are infinitely many primes $p$ such that $p + 2$ is NOT prime.


I've been using tabularx and \begin{tabularx}{\textwidth}{X X} to get two equally spaced columns with text aligned to the left. Example:  \begin{table}[H]     \begin{tabularx}{\textwidth}{X X}         die Kleidung & clothes \\         der Schuh & shoe     \end{tabularx} \end{table}   The problem is that if I create a long table, the content goes outside the bottom page margins, like this:  How can I break this table automatically while keeping exactly the same alignment?  I've tried using the packages longtable, ltablex and ltxtable, unsuccessfully. Whenever I get the break to work properly at the end of the page, the alignment does not. See below.  However, this solution is still pretty bad... not only due to the alignment I can't fix, but also because it spoils all other tabularx tables. The next image shows how a table using \begin{tabularx}{\textwidth}{@{}Y|Y|Y@{}} becomes different. See how it changes below.


A coworker just pointed out something odd, and I'm curious what the explanation might be.  On the systems I've tried, cd /', 'cd //', and 'cd ///' all have the effect of changing directory to the file system root. However, 'cd /; pwd' and 'cd ///; pwd' return a response of '/', but 'cd //; pwd' returns '//', even though it's the file system root, as in the other cases.  What gives?


Which is more efficient for looping through the Dictionary, foreach or for-loop using LINQ?

I have a Dictionary<String, Object> with some data in it.  I want to loop through each element, I know I can use foreach for that. But I little bit concerned about the performance and the memory usage for it.  But here's the thing, we know that for (;;) is faster and use less RAM ( if I remember correctly ) than foreach () since it doesn't create new instance for each element.  But we can't use for (;;) directly to iterate through it, so we need LINQ's ElementAt() or something similar for it.  So which is more efficient, is using foreach () more efficient   private Dictionary <String, Object> items; foreach (var entry in items) {   // do something with entry }   or using for (;;) combined with LINQ is more efficient  private Dictionary <String, Object> items; for (var c = 0; c < items.Count; c++) {   // do something with items.ElementAt(c) }   or for (;;) combined with LINQ is the same as foreach () because items.ElementAt() may also create instance ?  EDIT : If there's discussion discussing about it and maybe has the answer, feel free to mark this as duplicate, but let me know the reference.


How large does an air gap have to be to allow for heat transfer by convection?

Heat transfer by convection is often prevented by using fibers that have small air voids between the fibers crisscrossing so that air has a lot of trouble flowing. After doing some research I was not able to find how large those air gaps must be for convection to be significant. Specifically, how densely packed would a given substance have to be to avoid convective heat transfer? In my case this would be granular aerogel, but I suppose something like loosely packed asbestos would also be an item of interest.   The R values of aerogel and air are 10 and 0.29, respectively (if that is of any help).


Why does a vertical line have a SLOPE (steepness) of undefined?

The curve shows :   x goes 1 to right  y goes up by 3   the SLOPE is defined as the ratio of rise to the step  SLOPE = rise/step = 3/1 = 3  Now that :   Horizontal line has SLOPE of 0. Vertical line has SLOPE of undefined.   It makes sense for me to imagine horizontal line has SLOPE of 0 since there is no rise at all. But why the vertical has SLOPE of undefined.?


Would two identical universes evolve identically?

What if there were 2 universes (completely disconnected - not part of the same multiverse) which were identical and a given point in time (say when they first began). Would these 2 universes evolve in exactly the same way?  My understanding of quantum uncertainty would lead me to be believe they would not evolve in the same way (in other words, reality is inherently non-deterministic), but I'd like to hear what others think. Also, just to check my understanding, if we say the universe were indeed "deterministic", the 2 universes would always evolve the same, correct?


How to test if the first letter of a passed String is equal to a char in java?

Here is my code:  private String studentId;      public void setStudentId(String studentId) {          if (studentId != null && studentId.trim().length() > 0 && studentId != " ") {             if (studentId.charAt(0) = 'a') {                 this.name = studentId;             }         } else {             System.out.println("Error. Not Valid.");         }     }   I'm getting this error:      "Unexpected type, required : variable, found : value".   I'm supposed to make sure if the first letter of the the passed String is equal to 'A' or not. If anyone can help me to fix this, I would appreciate it.   Also, if there are any other mistakes in my code I would be happy to be informed.


How to obtain $f(x)$, if it is known that $f(f(x))=x^2+x$?

How to get $f(x)$, if we know that $f(f(x))=x^2+x$?  Is there an elementary function $f(x)$ that satisfies the equation?


Error while installing MongoDB in Ubunut 18.04 Bionic

I am trying to install MongoDB using the official docs at   But after running     sudo apt-get update   I get the following error     E: The repository ' bionic Release' does not have a Release file.      E: The repository ' bionic/mongodb-org/3.2 Release' does not have a Release file   At first i ignored the errors and i run the next command on terminal     sudo apt-get install -y mongodb-org   And then i got the following error     Errors were encountered while processing:      /tmp/apt-dpkg-install-VXd3AM/2-mongodb-org-server_4.0.11_amd64.deb      /tmp/apt-dpkg-install-VXd3AM/3-mongodb-org-mongos_4.0.11_amd64.deb      E: Sub-process /usr/bin/dpkg returned an error code (1)   I still tried to verify the problem by running      sudo service mongod start   but i got the following error     Failed to start mongod.service: Unit mongod.service not found.   I purged the whole thing.  After this i checked using other sources and most of them recommended making mongod.service in lib/sytemd/system but i was not able to get access as root. I have already spent more than 6 hours on this problem. Any way you can help?


Will gate agents in London know if I'm "undesirable" before my stop-over in Johannesburg?

I was recently deemed "undesirable" in South Africa for overstaying my visa. I want to visit my South African fiance in Botswana but all of the affordable flights stop at OR Tambo. Will the gate agents for my connecting flight before SA know I am not allowed in the country and prevent me from boarding? I don't want to get stopped in London/Zurich and not have Christmas with my fiance.


Screen turns off new install of 14.04 help

I have just installed Ubuntu 14.04 yesterday and it worked fine but now the screen goes black at random times and I have to do a hard shutdown. does any one have any ideas.  I have a refurbished Lenovo t61 750gb hard drive 32 bit it is a dual boot with windows 7  The screen does not go blank but actually turns off but the stirs light I.e caps lock are still on


No Man's Sky and Steam Family Library...can we play at the same time?

My husband bought me No Man's Sky (NMS) for xmas.  He saw how much I was enjoying it, and started playing it himself via the Steam Family Library (we share with each other). Every other game we have, if one of us (person A) is playing a game from the other's library, and the person whose game it is (person B) starts playing another game, Person A will get a Steam pop-up notice that Person B is playing another game from their own library, and that Person A has 5 minutes before their game will be closed automatically.  Additionally, if Person A is playing a game from their own library, Person B is not able to start playing a game from Person A's library until Person A quits the game they're playing. However, with NMS, I am able to play any game from my library (all of which are shared with him) without Steam booting him from No Man's Sky.  He can also start playing No Man's Sky (which is in my library) while I am playing another game from my library.  Finally, I am able to start playing any of his games while he is playing NMS, which also normally wouldn't work (at least for us). So this got me wondering...does anyone know if we can both play NMS at the same time, even though only one of us (me) actually owns a copy?  Does the fact that he bought the game through his Steam account and gifted it to me have anything to do with it?


Finding the set of strings over {a, b} that do not contain the substring aaa

I need to identify the set of all possible strings over $\sum$ {a, b} that do not contain the substring aaa.      I have becoming more familiar with regular-language and languages explored in Automata Theory, and have been defining a particular language through regular-expressions.           I am having a hard time trying to find the set of substrings {a, b} = $\sum^*$ (where {a, b} = $\sum$) where the strings found in $\sum^*$ do not contain the substring aaa.       Any advice on how to generate the regular-expression that will define this language would be helpful.


If $g\circ f$ is surjective, then $f$ is surjective.

Note :This may be similar to some questions but its not the same, i checked.  The question is : Decide if the following statement is true or false and prove your claim :  If  $ f \colon A \to B \text{ and } g \colon B \to C $ such that $ g \circ f$ is surjective, then $f$ is surjective.


Can Aspire One D260 run Ubuntu 14.04 LTS?

If so then I am going to install it formatting Windows XP.


Output two sided, but only on recto page -- occasional images on verso

I am preparing a thesis. In order to reduce the number of physical sheets of paper, I need to print certain figures/tables on the verso side. However the university regs state that, while figs/tables may appear on the verso, the body text must appear on the recto side.  I would like to therefore output the vast bulk of the work on the recto page, but with occasional verso pages. Ideally they would be numbered as a "subpage" of the preceeding recto page (e.g. 131, 131a, 132...) or similar.  The approach which I will tentatively adopt is to use a "twoside" flag, then have "empty" and non-numbered verso pages until a page with content is required.   I'm sure I'm not the first person to have had a similar issue, but am unable to imagine other ways of posing the question.


Print file content without the first and last lines

Is there a simple way I can echo a file, skipping the first and last lines? I was looking at piping from head into tail, but for those it seems like I would have to know the total lines from the outset. I was also looking at split, but I don't see a way to do it with that either.


There seems to be a lot of questions on askubuntu and info on the web on how to install Ubuntu and Windows in dual boot, but everywhere Ubuntu is installed afterwards. I would like to install Windows on the system which is already running Ubuntu. It uses UEFI and has free space on HDD so it is possible to arrange a partition for Windows without much trouble. On MBR based systems it was possible as long as you copy MBR and restore it after Windows installation. Is it possible on a UEFI system? Will I have any problems?


When is $\mathbb{Z}_m\times\mathbb{Z}_n$ isomorphic to $\mathbb{Z}_{mn}$?

Prove that $\mathbb{Z}_m\times\mathbb{Z}_n$ is isomorphic to  $\mathbb{Z}_{mn}$ whenever $m$ and $n$ are coprime.   $\mathbb{Z}_m$ represents a cyclic group of order $m$.  I have no knowledge of rings and fields. I only know group theory.  In general, I would like to know how to prove that $2$ groups are isomorphic to each other? Is the only way to solve it is to show a bijective homomorphism?


Why do we assume $a+b=b+a$ in a Ring with 1. Also, is it true with Rings without 1?

I was wondering why do some people use redundant axioms in definitions?  If you just expand $(a+1)(b+1)=(a+1)b+a+1=ab+b+a+1$ $(a+1)(b+1)=a(b+1)+b+1=ab+a+b+1$. Hence, $ab+a+b+1=ab+b+a+1$, then cancel ab and 1. Then, you get it's commutative for free.   Why do we then assume it?   Also, is it even stronger. If we drop the condition that 1 is in R, then can we still deduce a+b=b+a? As clearly the argument just done falls apart if you haven't got 1 in R.


Example of a monoid with two distinct left inverses

I read this statement:      In a monoid, if an element has two distinct left inverses, it cannot   have a right inverse, and hence cannot have a two-sided inverse.   I'm wondering if there's an easy example that I could use to illustrate this fact.


Why do burgers sometimes fall apart on the grill?

Sometimes when cooking a burger I have had it completely fall apart for no apparent reason. Is this due to using a ground meat that is too lean? I don't add anything to the meat and don't spend too much time working the meat in forming the patty.


What causes a soccer ball to follow a curved path?

Soccer players kick the ball in a linear kick, though you find it to turn sideways, not even in one direction. Just mid air it changes that curve's direction, i.e., it swings, as footballers say. Is there any physical explanation?    Maybe this video will better emphasize this phenomenon:


Why cannot massless particles carry charges?

How to show that massless particles do not carry charges from QFT's point of view?


Solving Variance of Time Series AR process

I am trying to solve for the variance of $x[n]$, a time series process.  $$x[n] +a_1x[n-1]=w[n]$$where $w[n]$ is white noise with zero mean and variance $\sigma^2_v$. Also $|a_1|<1$.  I am aware that the equation can be solved using the Yule Walker Equations, but I was trying to solve it brute force using expectation.  Here is what I did:  Take the z-transform of the process, $$X(z) + a_1X(z)z^{-1} = W(z)$$ Solving for the system function, $$ H(z) = \frac{X(z)}{W(z)} = \frac{1}{1+a_1z^{-1}}$$ Inverse z-transform, $$h[n] = (-a_1)^nu[n]$$ Using convolution, $$x[n] = \sum_{k=0}^{n-1}(-a_1)^kw[n-k]$$ Solving for the variance, $$E[x[n]x^*[n]]=E[\sum_{k=0}^{n-1}(-a_1)^kw[n-k]\sum_{l=0}^{n-1}(-a_1)^lw[n-l]]$$ $$E[x[n]x^*[n]] = \sum_{k=0}^{n-1}(-a_1)^k\sum_{l=0}^{n-1}(-a_1)^lE[w[n-k]w[n-l]]$$ Since w[n] is a white noise process, $$E[w[n-k]w[n-l]] = 0, k\neq l $$ $$E[w[n-k][w[n-l]] = \sigma^2_v, k=l$$ So the expectation becomes, $$E[x[n]x^*[n]] = \sum_{m=0}^{n-1}(a_1^2)^m \sigma^2_v$$ Therefore, $$Var[x[n]]= \sigma^2_v \frac{1-(a_1^2)^n}{1-a_1^2} $$  But this is not correct, this answer is nonstationary, and we should expect a stationary solution for the zero mean white noise.  The correct answer is $\frac{\sigma^2_v}{1-a^2_1}$  It would be very helpful if someone could point out what I did wrong. I would like to solve this problem using this method. That way I can more appreciate using Yule-Walker equations. Thank you!


number field plus minus buttons stop working seconds after page load

I am using the following code to implement plus / minus quantity buttons for a Woocommerce cart solution:   console.log('rental') // make quantity buttons work $('.qib-container').on('click', '.plus, .minus', function () {   console.log('clicked')   // Get current quantity values   var qty = $(this).closest('.qib-container').find('.qty')   var val = parseFloat(qty.val())   var max = parseFloat(qty.attr('max'))   var min = parseFloat(qty.attr('min'))   var step = parseFloat(qty.attr('step'))    // Change the value if plus or minus   if ($(this).is('.plus')) {     console.log('plus')     if (max && (max <= val)) {       qty.val(max)     } else {       qty.val(val + step)     }   } else {     if (min && (min >= val)) {       console.log('else')       qty.val(min)     } else if (val > 1) {       qty.val(val - step)       console.log('else > 1')     }   }   And the HTML is as follows:
         <button type="button" class="minus qib-button">-</button>
             Contenur prügikonteiner 140L kogus           <input type="number" id="quantity_5dd507573790b" class="input-text qty text" step="1" min="0" max="" name="raq[9bb59b8531b987176485dff07c07c672][qty]" value="1" title="Kogus" size="4" inputmode="numeric">
         <button type="button" class="plus qib-button">+</button>
   Everything works fine on the product listing page but when adding products to cart and going to the cart page the buttons stop working after 1-2 seconds like pointer-events arent working and the script is not running anymore.   Test issue yourself:   Step 1 Listing page:  (Add product to cart, quantity buttons work with same script like normal)  Step 2 Cart page (after adding product):  (try to change quantity fast after loading: initially works but it resets back to original state and does not work after that)  Any ideas what might be causing this?


I've accidentally formatted and installed ubuntu on my ntfs partition (d drive in Windows, I wanted to install on c drive instead)which had many important data.  Now I still have my c drive, but lost the d drive. Is there anyway I can recover those files?


Sections and subsections in Latin Modern

I'm using pdfTeX in MikTeX and have included   \fontfamily{cmss}\selectfont   in my preamble to make all fonts look like Latin Modern. However, this does not seem to apply to the font used in section and subsection names, and neither does the math typography change. Am I missing something?


Logistic Regression Get 100% R-square but no predictors are significant?

How could that be possible? The model is significant too.  The null model already predicted 70% correctly. After adding predictors, the model predicts 100%. But no single predictors are significant. I used SPSS. Here are the results captures


The pictures I place into questions and answers appear very huge. They are always scaled to the width of the text that is good for the wide, low pictures but not for the narrow and high pictures. Some screenshot may span over all screen creating the wrong impression that the contributor proves something crucial for humanity or at least SO community with that figure. See .  Would it be possible to have an option to scale the picture half width of text area and use another half for text like in Wikipedia? Or at least have an option like "half text area width centered?". These should be options for the text editor, not for the viewer.


If I intend to earn on the side doing different category of things should I do it as an individual or as a small business?

If I have a few areas of expertise (that can't fit a classification of services/products) and I'd like to make use of those and provide products or services based on those, should I do it as an individual or should I register a business?  Examples of things I have in mind:   Gardening work Teaching Computer Programming in community colleges or private institutes Selling art work of mine and possibly of some friends and family Marketing for other businesses   Examples of concerns:   Tax complications Liability (in case someone decides to sue me) Other benefits or issues I may not be thinking about   So instead of providing the above services as a person, could I provide it under LLC/LLP/Inc where I am the sole contributor. There are somewhat similar questions but here I don't have a fixed business category and it is also a mix of selling things and services.  Another point that I want to focus on is if there is a point beyond which establishing a small business (instead of an individual provider) doesn't make financial sense - tax (esp when the business may make losses on consecutive years).


Backup with duplicity on Google Cloud Storage

I have already set a backup routine that backups all my files to Amazon S3 using duplicity. I would like to create a similar backup routine with Google Cloud Storage. Is it possible to get duplicity to work with GCS?


arr = [  {    id:1  },  {    id:2  } ]   This is an example object structure. I want to delete first object in this array.    delete arr[0];   Resulting structure is  [ {   undefined * 1 }, {   id:2 } ]   I have searched a lot and found that deleting an entire object will lead to dangling pointer problems. But i want resulting array to have only one object after deletion. Is there any other way to achieve this?       EDIT    How to do if the object is neither first nor last?


I have an old steel frame (Columbus Number 2 I think) that has the seat post (Suntour Superbe Pro - see, I said it was old!) rusted in. I have tried lots of WD-40 but it will not budge. Any tips on how I can get it out without having to cut the frame up?


What is the difference between $U(r)=mgr$ and $U(r)=-G\frac{M_{1}M_{2}}{r}$?

As I know gravitational potential energy of an object relative to $U=0$ point is defined as $U(h)=mgh$ and this came from work-energy theorem.  But In my book, there is another definition for it.  Consider that we have 2 objects that can interract with each other by gravitational force. Set the first object steady. Now, there is $\vec{r_{0}}$ distance between these two objects. Move the second object $d\vec{r}$ in direction $\vec{r_{0}}$/$\hat{r_{0}}$. Let's call $\vec{r}$ to new distance.  Work done by us (agent),  $$\vec{F}_{g}=-G\frac{M_{1}M_{2}}{r^2}\hat{r}$$  $$\vec{F}_{ag}=-\vec{F}_{g}=G\frac{M_{1}M_{2}}{r^2}\hat{r}$$  $$W(\text{done by us})=W_{ag}=\int_{r_{0}}^{r}\vec{F}_{ag}.d\vec{r}$$  $$W_{ag}=\int_{r_{0}}^{r}{G\frac{M_{1}M_{2}}{r^2}\hat{r}.dr\hat{r}}$$  $$W_{ag}=GM_{1}M_{2}\int_{r_{0}}^{r}{\frac{1}{r^2}dr}$$  $$W_{ag}=GM_{1}M_{2}(-\frac{1}{r}+\frac{1}{r_{0}})$$  $$W_{ag}=-G\frac{M_{1}M_{2}}{r}+G\frac{M_{1}M_{2}}{r_{0}}$$  $$r_{0}\to\infty\Rightarrow G\frac{M_{1}M_{2}}{r_{0}}=0$$  $$U(r)=-G\frac{M_{1}M_{2}}{r}$$  This is it. What is the difference?


Okay, so I had Ubuntu 20.04 installed alongside with Windows 10 on dual boot grub. Then I decoy to get rid of Ubuntu so from windows I deleted the Ubuntu partition and restarted my computer hoping I’d load into windows directly. After rebooting from windows, I got stuck on this grub screen instead of loading into windows. I’m working on a DELL Inspiron. I've tried booting into the DELL recovery and startup manager but it goes straight to this error on grub again. The error: "Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions." Also whenever I type into the grub thing I get random letters instead of the ones I press. PLEASE HELP ME!! Also I’ve tried typing command ‘exit’ but that doesn’t work for me. I’ve tried other solutions and nothing works. I’m stuck and can’t load into windows In any way. Please please please help me!


Found on my deck. We live next to a lake. Don’t know if a bird dropped it?  Not sure whether to save it?  Has scalloped front legs and a point from the end of what I think are wings. Antennae, mouthparts. Back legs either deformed or partly missing because can’t propel forward, just rolling side to side   I put it in a pen to keep it safe for now.


Is the product of symmetric positive semidefinite matrices positive definite?

I see on Wikipedia that the product of two commuting symmetric positive definite matrices is also positive definite. Does the same result hold for the product of two positive semidefinite matrices?  My proof of the positive definite case falls apart for the semidefinite case because of the possibility of division by zero...


Simple question from a newbie here...  I am trying to create a function that accepts an array and an empty string. The function will then perform the .join() method on the array, and is supposed to set the result to the empty string.  The function seems to join (checked with console.log), however it doesn't set the result to the variable outside. What am I missing here?  The code  //empty string var newStr ='';  var myArr = ['it','was', 'the', 'best', 'of', 'times'];  var rejoiner = function (arr, str) {   str = arr.join(' ');   //checking that the function is working   console.log(str); }   Then, run the function rejoiner, passing in myArr and newStr...  rejoiner(myArr, newStr);   Then check to see if newStr was set (failure! not set!)...  newStr;


Licensing and Editions of Microsoft BizTalk and SQL for Development, QA, Stage vs Production

My question is similar to , but I am gearing mine more toward which edition to use.  In the past places I've worked, these decisions were made by other teams, and now I'm being asked to advise.    Edition: Do most sites consider it satisfactory to have a Developer edition running in DEV, QA, and STAGE environments, and then only run Enterprise Edition in Production?  I'm specifically referring to server products such as BizTalk (2010/2013) and SQL Server (2008/R2 and 2012).   In other words, if some software runs on Developer Edition, does Microsoft guarantee it will run on Enterprise.  I realize of course that 99.9% of the time it will, but is it a safe and best practice?  Licensing: The developer edition is significantly lower priced; I think Premium MSDN includes the rights to run the Enterprise edition non-Prod environments. If QA accesses a file on a QA server, which license do they need?  Clustering: Further, we run clustered environment in production.  I've rarely been anywhere that we have clustering in QA or even STAGE.


Typing “python” on Windows 10 (version 1903) command prompt opens Microsoft store

This is strange issue I have observed. I installed Active Python 2.7 on Windows 10 (version 1903).  On typing “python” from search, opens the Python 2.7 prompt but when I type from command prompt window, it triggers the Microsoft Store.  Don't know how to fix it and this never happened on previous versions of Windows (RS5, RS4…)  Edit 2: Please suggest the solution to turn this off: either via command prompt or using answer file to get this after unattended installation.


Who reviews flagged comments? Is that a community vote process, or is it done by individual moderators?


Let $R=M_n(D)$, $D$ is a division ring. Prove that every $R-$simple module is isomorphic to each other.  I need some hints to prove it.  Thank you very much.


Can I make an unarmed strike while holding a two handed weapon?

My barbarian Gus uses a Greataxe, a two handed weapon.  While raging in combat against harpies, a round passed without Gus taking damage. On his turn, all harpies were out of his melee range, and he had used all his javelins.  To maintain his rage, he slapped the fighter with an unarmed strike.  The DM ruled that Gus could not make a unarmed strike, as he was wielding a 2 handed weapon.  I argued that he was not wielding the 2 handed weapon, just holding it; my DM didn't see the difference, and as long as Gus held a 2 handed weapon his weapon attacks must be made with that weapon.  In the end I dropped the weapon, slap the fighter, then pick up the weapon as a free object interaction.  Then he reminded me that rage is only maintained by attacking a hostile opponent, but that's not important here. I understand that , and my DM agrees with that.  The only debate is whether you can, while holding the weapon with 1 hand, make an unarmed strike with your other hand.  The description for unarmed strikes seems to imply that you could make an unarmed strike with full hands:  Instead of using a weapon to make a melee weapon Attack, you can use an Unarmed Strike: a punch, kick, head-butt, or similar forceful blow.  Even if I did have full hands, could I have head butted the fighter here? Was my DM correct in this ruling, or was I?


If $X$ is well-ordered set, how to prove that $\mathcal{P}(X)$ can be linearly ordered?

I'm having troubles solving the following exercise, proposed in T. Jech, 'Set theory' Exercises 5.4.     Let $X$ is well-ordered set then $\mathcal{P}(X)$ can be linear ordered.       [Let $X<Y$ if the least element of $X\triangle Y$ belongs to $X$.]   I can prove that $<$ satisfies totality (i.e. $X<Y$ or $X=Y$ or $Y<X$) and $X\not< X$, but I can't prove transitivity of $<$. Thanks for any help.


Ubuntu doesn't ask for password after booting

I'm using Ubuntu 15.04 and already changed the settings refered to password. But my PC doesn't ask for any when I start it. There is only my user available.


How to create a new window on the current directory in tmux?

Is is possible to open a new-window with its working directory set to the one I am currently in. I am using zsh, if it matters.


In sentences such as:     We could go down to the fishing village, just ______ we used to.   Is there a right or wrong preposition to use, between "as" and "like"?  What would be the difference?


Random variable with finite logarithmic first moment, infinite logarithmic variance

Could you provide an example of a random variable $X$ such that $|\mathbb{E}(\ln(X))|<\infty$ but $\text{Var}(\ln(X))=\infty$, if such a random variable exists at all? Related:  Motivated by .


An operator on the other side of the Schrödinger equation

A form of the  is  $$     \left[-\frac{\hbar^2}{2m} \nabla^2 + V(\vec{r}, t)\right]\Psi = i\hbar \frac{\partial}{\partial t} \Psi $$  The bracketed term is of course the Hamiltonian, and the whole equation can hence be written as  $$     \hat{H}\Psi = i\hbar \frac{\partial}{\partial t} \Psi $$  My question is, is there a existing/named operator represented by $i\hbar \frac{\partial}{\partial t}$? That is, can we further rewrite the equation as  $$     \hat{H}\Psi = \hat{\Theta}\Psi $$  For some predefined operator $\hat{\Theta} = i\hbar \frac{\partial}{\partial t}$?


Can I leave the US with my Canadian passport and come back with my US passport?

I am leaving soon to visit my country for emergency purposes and I have sent my US passport application in, but for routine service only and then all of a sudden we decided to go back to our country sooner than expected as soon as we booked the flight, I have called in to expedite it but they have the right to say no, they said. I am also not sure if it will come before my flight. Can I leave with my Canadian passport and let my mother bring my U.S passport to me once it finishes processing and enter with it when I come back to the U.S? and also will the immigration know that my US passport is still processing when I present my Canadian passport when I leave? (that is if I don't receive my  passport by the time of my flight) hoping to get answers on this..


Is it possible to make armour that can survive /kill?

/kill is said to be infinity damage but I have a question can you really survive it in Java edition. However, it is possible that you can pretty much survive this if you are on Minecraft Java Edition in 1.8 or lower and you can just have resistance 5 and you will survive this but can you make armour that helps you survive in 1.16 and in java-edition.


How do I copy and paste files from ubuntu as host OS to Windows XP as guest OS in VirtualBox?

I just installed a virtual machine with Windows XP, but I am not able to copy and paste files from guest to host and vice versa, I set up clipboard setting on bidirectional but still i cant.


How can I pause a render in progress and then resume it at a later time?

I would like to pause a render that I have started, with the intention of resuming it at a later time (but during the same Blender session).  How can I do this?