What is the metric tensor on the n-sphere (hypersphere)?

I am considering the unit sphere (but an extension to one of radius $r$ would be appreciated) centered at the origin. Any coordinate system will do, though the standard angular one (with 1 radial and $n-1$ angular coordinates) would be preferable.   I know that on the 2-sphere we have $ds^2 = d\theta^2+\sin^2(\theta)d\phi^2$ (in spherical coordinates) but I'm not sure how this generalizes to $n$ dimensions.  Added note: If anything can be discovered only about the determinant of the tensor (when presented in matrix form), that would also be quite helpful.


Problem for elementary school -find letter a number such that - $SEND+MORE=MONEY$

Problem: Find the number for every letter(different letter is a different number) such that this equality holds. $$SEND+MORE=MONEY$$ My solution: Because idea of this problem isn't to solve it's to show algorithm step by step and that algorithm present to the children in school.(so no hard maths).  It's easy to see that $M=1$ (in elementary school you couldn't say that but with showing possibilities ). First case was that $S+M=9$ so that implies $S=8$(with carrying 1) if not $S+M=10$ , $S=9$. But the problem begin with next step letters $E,O$ because I didn't know anything about.


What book will teach the most rigorous way the regression analysis? I read as a mathematician myself, and now I have to improve my statistical skills to get a job. I would like to learn what kind of methods there are to measure how to fit model to data and why those methods work. I'm not afraid to work through proofs. Is, for example, "Applied Regression Analysis and Other Multivariable Methods" written by David G. Kleinbaum, Lawrence L. Kupper, Azhar Nizam and Keith E. Muller good for learning the subject rigorously? Are there books similar to "Statistical inference" written by Casella and Berger, but concentrated on regression analysis?


Which of these is correct? This is in the context of buying a surprise gift for someone and you think your gift is hilarious.     I bought myself a hilarious one!   or     I bought myself an hilarious one!   I’ve been saying both so many times that neither makes sense to me anymore.


Gantt chart is going to beyond the page boundary

I draw a gantt chart under the figure but it is going to beyond the boundary of page. I show my code below;  \begin{figure}[h] \begin{center}   \begin{landscape} \scalebox{0.6}{ \begin{gantt}[xunitlength=1cm,fontsize=\large,titlefontsize=\large,drawledgerline=true]{13}{32} \begin{ganttitle}   \titleelement{\Large \textbf{September}}{4}   \titleelement{\Large \textbf{October}}{4}   \titleelement{\Large \textbf{November}}{4}   \titleelement{\Large \textbf{December}}{4}   \titleelement{\Large \textbf{January - 14}}{4}   \titleelement{\Large \textbf{February}}{4}   \titleelement{\Large \textbf{March}}{4}   \titleelement{\Large \textbf{April}}{4}  \end{ganttitle}  \begin{ganttitle} \titleelement{\LARGE \textbf{Weeks}}{32} \end{ganttitle}  \begin{ganttitle}   \numtitle{1}{1}{4}{1}   \numtitle{1}{1}{4}{1}   \numtitle{1}{1}{4}{1}   \numtitle{1}{1}{4}{1}   \numtitle{1}{1}{4}{1}   \numtitle{1}{1}{4}{1}   \numtitle{1}{1}{4}{1}   \numtitle{1}{1}{4}{1} \end{ganttitle} \ganttbar{Litreature Review}{2}{17} \ganttbar{Project Plan}{5}{10} \ganttbar{Field Survey}{15}{3} \ganttbar{Data Collection}{20}{3} \ganttbar{Database Design}{15}{5} \ganttbar{Framework Design}{}{} \ganttbar{Prototype}{}{} \ganttbar{Implementation}{}{} \ganttbar{Testing}{}{} \ganttbar{Deployment}{}{} \end{gantt} } \end{landscape} \end{center}  \end{figure}   The output of this code is give in the image.......  Please tell me how can I set my gantt chart in boundary of page.


does Python have a list spliter like Tcl's {*}?

I'd like to call something that takes 2 arguments:  def bar(arg1, arg2):     return arg1 + arg2   But in the call I'd like to only send one thing, a list:  baz = [1, 2] foo = bar(baz)   So that wont work, but I am familiar with a concept in Tcl that would work in this situation and it would look like this:  proc bar {arg1 arg2} {    return arg1 + arg2 } set baz [list 1 2] set foo [bar {*}baz]   You'll notice the {*}. That thing, as far as I know, tells the Tcl interpreter to evaluate that and break the list apart first. so it sends in the two arguments not as one list, but as two arguments.  Does python have the same concept? I don't know what to call it, like an inline list separator or something.


A condition of linearity for a holomorphic function

Consider the following exercise from the book Complex Analysis Stein and Shakarchi  I already proved that $\varphi(z)=z+a_nz^n+O(z^{n+1})$ and $\varphi_k(z)=z+ka_nz^n+O(z^{n+1})$, but I do not see how that with the Cauchy inequalities proves the linearity of $\varphi$. The Cauchy inequalities corollary states:


What do characters need to do to level up?

I'm a new DM with a group of very new players. I've read through the rules and some of the Player's Handbook (I just haven't finished it yet). We are still within the first arc of the campaign and have plenty of time to figure everything out and for the players to reach the end goal, so I'm not super worried about them leveling up super quickly. Everyone is currently level 1, just so that had something to start out with.   Something I have yet to understand is leveling up within classes. What do I need the players to achieve in order to level up? Is it something I just decide when I think they're "ready", or do they gain experience points or something with each battle? I understand what the players will gain when they level up (like the spells and features and bonus actions and stuff). Is this covered more clearly in the handbook?


Sorry if this is a silly question but I am terribly new to blender. I have created a material and applied it to a sphere. I then added an array modifier. I expected the material to apply to the entire array, but it only applies in material view and in render view to the original sphere. All of the tutorial videos I have watched state that the material automatically transfers to the entire array, so I am at a loss.


New wifi card is not recognized. Ubuntu 16.04

I got a new network card (Intel Wireless-AC 9260) for my Dell XPS 13 running Ubuntu 16.04. The problem is that the new network card is not working. The lshw command shows that it is unclaimed. The old network card is still working, when switching back.  I updated the kernel for the firmware and also tried a lot of other things suggested in other threads. What I notized is that when I use modinfo iwlwifi that the firmware of my card is not listed, but the files are in the lib/firmware folder. I do not know if this is the problem.  So I am glad for any help!  Also I post some command outputs requested in other threads in case they help.  uname -a:  Linux xxx-XPS-13-9360 4.4.0-174-generic #204-Ubuntu SMP Wed Jan 29 06:41:01 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux   sudo lshw -C network:  *-network UNCLAIMED             description: Network controller        product: Wireless-AC 9260        vendor: Intel Corporation        physical id: 0        bus info: pci@0000:3a:00.0        version: 29        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress msix cap_list        configuration: latency=0        resources: memory:dc200000-dc203fff   modinfo iwlwifi:  filename:       /lib/modules/4.4.0-174-generic/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko license:        GPL author:         Copyright(c) 2003- 2015 Intel Corporation <ilw@linux.intel.com> description:    Intel(R) Wireless WiFi driver for Linux firmware:       iwlwifi-100-5.ucode firmware:       iwlwifi-1000-5.ucode firmware:       iwlwifi-135-6.ucode firmware:       iwlwifi-105-6.ucode firmware:       iwlwifi-2030-6.ucode firmware:       iwlwifi-2000-6.ucode firmware:       iwlwifi-5150-2.ucode firmware:       iwlwifi-5000-5.ucode firmware:       iwlwifi-6000g2b-6.ucode firmware:       iwlwifi-6000g2a-5.ucode firmware:       iwlwifi-6050-5.ucode firmware:       iwlwifi-6000-4.ucode firmware:       iwlwifi-7265D-13.ucode firmware:       iwlwifi-7265-13.ucode firmware:       iwlwifi-3160-13.ucode firmware:       iwlwifi-7260-13.ucode firmware:       iwlwifi-8000-13.ucode srcversion:     CB5AC244E1344F14798FC7E   ls /lib/firmware/ | grep 9260:  iwlwifi-9260-th-b0-jf-b0-33.ucode iwlwifi-9260-th-b0-jf-b0-34.ucode iwlwifi-9260-th-b0-jf-b0-38.ucode


Transforming projected coordinate system using QGIS?

I have two raster datasets, they have different projected coordinate systems; one in WGS_84_UTM_Zone_N34, another in Hungarian_1972_EOV,  they overlap each other perfectly if I open them in QGIS.   I would like to transform the coordinate system of the first raster into the second.  I tried Project Raster tool in Data Management toolbox (ArcGIS), it converted the first raster into Hungarian_1972_EOV, but it doesn't overlap with the second raster perfectly (There is a shift between two raster datasets fo about 10-15 meters).   Can anybody help me to find out what is the problem?


What is the ratio between the edge of this pyramids base compared to the pyramids height? Please

A sphere that has the radius of 1 has a right angle square based pyramid inside it with the maximum volume possible. What is the ratio between the edge of the pyramids base compared to the pyramids height? How do I find out the edge and the height, explanations please. Thank you.


Dell H730 in HBA mode - Why are there issues with performance and SMART data?

I recently purchased a Dell R730xd that came with an H730 RAID card. I would like to bring an existing 6 disk ZFS pool to this server as well as create an additional 6 disk hardware RAID.  In my research, I have read that the H730 DOES support HBA mode. However, there are some common issues with it. Namely:  1) Performance in HBA mode is around 30% when compared to RAID mode.  2) SMART data for the underlying disks is only sometimes passed on to the OS.   Why do these limitations occur when using HBA mode? Do these limitations still exist when using an LSI card in HBA mode?


i have an AutoNumber field which created in format IN -{0000}, this is my format.here i can insert upto 10k recoeds{0000}.what will happend if limit exceed more than 10k..?


how to include a variable value into regex pattern?

I want to include a value of variable into regex pattern.    The following code is the familiar.  var regex = /(.)\1{2}/;   I want to do like The following.  var number = 2; var regex = /(.)\1{number}/   How to do that ?


What is the difference between `man` and `man (#)`?

Just saw someone referencing man 7 regex on Stackoverflow. I tried man regex and got very similar output - there appear to be slight differences.  So what is this magical number 7? Searching man 7 unix on Google gives me more mysterious results like UNIX(7)...


I have the following homework problem.  Consider a power supply with fixed emf $ε$ and internal resistance $r$ causing current in a load resistance $R$. In this problem, $R$ is fixed and $r$ is a variable. The efficiency is defined as the energy delivered to the load divided by the energy delivered by the emf.  When the internal resistance is adjusted for maximum power transfer, what is the efficiency?  The answer is 50% but I'm confused how this is calculated. Here is my thought process so far.  The power dissipated in the load is $I^2R$ and $\displaystyle I = \frac{ε}{r+R}$ so $\displaystyle P = \frac{ε^2R}{(r+R)^2} = \frac{ε^2}{\frac{r^2}{R} + 2r + R}$ and so power transferred to the load will be maximum when $\displaystyle \frac{r^2}{R} + 2r + R$ is a minimum. Taking the first derivative $\displaystyle \frac {d}{dr}(\frac {r^2}{R} + 2r + R) = (\frac{2r}{R} + 2)$ and this equals 0 when r = -R. The second derivative is $\displaystyle \frac{2}{R} > 0$ so this point would be a minimum and therefore max power transferred when r = -R.  But having $r = -R$ doesn't make sense to me. From what I read, for maximum power transfer $r$ should equal $+R$. So I've probably done something wrong in my calculations or assumptions in the previous paragraph. Also wouldn't max power be transferred when the internal resistance is as close to zero as possible?  Can someone please show me a proof that shows why $r = R$ for max power transfer and then how to calculate the efficiency.


UK Visa Refusal: Provenance of funds/parking

I have applied recently for a general visitor visa to the UK to spend 10 days during Christmas with my British unmarried partner and it has been turned down.   The Entry Clearance Officer stated on his refusal notice the following:     I note that you have never previously travelled to the UK or any country with similar immigration requirements and you therefore do not have a history of travel and compliance to consider.      You have submitted an employment letter to confirm your occupation in KSA but I am required to also assess your personal, domestic and economic circumstances in determining whether you are genuine visitor travelling to the UK for the period and purpose you state.      You claim an income of SAR ........ per month which equal ........ GBP and from the evidence submitted this appears to be your sole source of income.   I note that this monthly income is reflected on your bank statements. However, the bank statement you have presented show a recent large deposit that are in excess of your stated income and inconsistent with the account history. You haven't provided evidence toward the origin of this recent deposit and in the absence of reasonable evidence I am not satisfied that these bank statements accurately reflect your personal circumstances.      In view of the above, I am not satisfied you have demonstrated that your circumstances are as you claim and therefore I am not satisfied that you're travelling to the UK for the period and purpose you stated. 41(i)and(ii).   Its true that I have deposited that sum of money right before I apply and it was a commission I received from work earlier this month.   So, could you please give me your advice on the above as I am planning to apply again soon. and how to avoid my application being refused again?


Let $$a$$ be the partial derivative symbol with respect to $x$. What is $$\langle x|a|x \rangle$$ equal to? I think it is 0 but not sure.


What would a rogue call him/herself in game?

I just thought that they wouldn't announce themselves as such. So what would they say if they are trying to get the message across but not be open about it. Anyway I wanted an opinion so why not here?


Facebook message notification showing blank message

Since I updated the system to 10.11.5, the Facebook message notification is not showing message text.   Is this a bug in this software upgrade of OSX?


How can I test code with History records?

I've recently developed a small visualforce component that displays any object's child's __History records.  I have to make tests with the @IsTest(SeeAllData=true) because I can't retrieve the historical records in the own test execution context (I imagine because they have not yet been inserted?).  Well, the problem I have encountered is that when deploying to a Production environment sometimes the tests don't pass because the data that my queries bring isn't consistent. But, I can't actually make them consistent because the field Field can't be used as a filter with LIKE operand and NewValue and OldValue can't be used as filters either.  Is there any way to make my tests more consistent when working with _History records?  Thanks


Why is my Nginx location rule not taking precedence?

I have a PHP application (Wordpress) in the root folder of my site, and all requests to the site run through it happily.   However, I have a subfolder, _links, which I would like to use to execute another, different php script.  Eg, if a user goes to site.com/_links/221312, then the index.php script from /_links takes over.  I formerly used a .htaccess file to achieve this, but since moving to nginx I can't make it work.   Here is the old .htaccess file.  RewriteEngine On RewriteRule    ^([0-9]+)/?$    index.php?linkid=$1    [NC,L]   Obviously, I'm passing the last bit of the URL to the script as a parameter.  Here is my nginx config. Requests to eg site.com/_links/23423 are picked up by if (!-e $request_filename) and rewritten to /index.php?q=/_links/23423 instead of being picked up by the location block.   server {         listen  127.0.0.1:8080;         server_name site.com www.site.com m.site.com;          root /var/www/site;         location ^~ /_links/ {                 add_header location 1;                 root /var/www/site/_links;                 rewrite "^([0-9]+)/?$" /index.php?linkid=$1 break;                 location ~ \.php$ {                         try_files $uri =404;                         fastcgi_pass unix:/var/run/php5-fpm.sock;                         fastcgi_index index.php;                         fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;                         include fastcgi_params;                  }          }         index index.php index.html;         if (!-e $request_filename)             {                 rewrite ^(.+)$ /index.php?q=$1 last;             }         location / {                 try_files $uri $uri/ =404;         }          # pass the PHP scripts to FastCGI server listening on the php-fpm socket         location ~ \.php$ {                 try_files $uri =404;                 fastcgi_pass unix:/var/run/php5-fpm.sock;                 fastcgi_index index.php;                 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;                 include fastcgi_params;          }         access_log /var/log/nginx/site.com.access.log;         error_log /var/log/nginx/site.com.error.log notice; }   I'm really confused. What's going on here?


Consider two blocks, one on top of the other on a frictionless table, with masses $m_1$ and $m_2$ respectively. There is appreciable friction between the blocks, with coefficients $\mu_s$ and $\mu_k$ for static and kinetic respectively. I'm considering the fairly routine problem of determining the maximum horizontal force $F$ (say, to the right) that can be applied to the top block so that the two blocks accelerate together.  The problem is not hard to solve symbolically. If the two blocks move together, their accelerations are the same, and the top block doesn't move with respect to the bottom block, so only static friction is in play. In a standard coordinate system (with $x$ oriented to the right), the sum of horizontal forces for the top block is  $$F-F_{sf}=m_1a$$  and for the bottom block  $$F_{sf}=m_2a$$  where $F_{sf}$ is the force of static friction. Solving for $a$ in these two expressions, and then equating them, gives  $$F=\frac{(m_1+m_2)F_{sf}}{m_2}$$  The maximum such force will therefore be achieved when $F_{sf}$ is maxed out at $\mu_s m_1g$, so  $$F_{max}=\frac{m_1}{m_2}\mu_s(m_1+m_2)g$$  I understand this solution, but conceptually I don't have a response to the following nagging question: $F_{max}$ is clearly larger than the max static friction force $\mu_sm_1g$ (because $\frac{m_1+m_2}{m_2}>1$), so why doesn't the application of a force of magnitude $F_{max}$ to the top block cause kinetic friction to take over? This line of reasoning would suggest that applying a force $F$ of magnitude greater than $\mu_sm_1g$ would cause the top block to start moving with respect to the bottom block (in which case the blocks no longer accelerate together, as in the above solution). I'm at a loss, conceptually, to say what's wrong here. I suspect it has something to do with being careful about reference frames, but a clear explanation would be much appreciated.


Expressing a Countable Union of Sets as the Countable Union of Disjoint Sets (e.g. Eliminating Duplicate Intersections)

Consider a set $E=\bigcup_{j=1}^{\infty}E_{j}$.  How can I re-express $E$ in such a way that all of the contributions to $E_{n}$ are covered only once.  Presumably, such a re-expression of $E$ will be some kind of countable union of disjoint sets.  The end-goal is to answer the following problem: to show that if $m'$ is any map from the Lebesgue measurable sets of $\mathbb{R}^{d}$ to $[0,\infty]$ which obeys countable additivity and $m'(\emptyset)=0$, then $m'$ also obeys monotonicity and sub-additivity.  Showing that $m'$ obeys monotonicity is easy.  Sub-additivity seems easy at first glance, until you actually have to prove it.  Perhaps there are better ways to do it, but my strategy is to write $E=\bigcup_{j=1}^{\infty}E'_{j}$ where the $E'_{j}$ are all disjoint "components" of $E$.  Then applying additivity I could expand out $m\left(\bigcup_{j=1}^{\infty}E'_{j}\right)$ using additivity (I assume the $E'$ will be  sets formed by multiple set operations of the original $E_{j}$, so applying additivity could be potentially tricky).  Once this expression is obtained, I presume it will be easy to compare it to $\sum_{j=1}^{\infty}m'(E_{j})$ and show that it is smaller, hence proving sub-additivity.  UPDATE  From the answer below...  \begin{align*} m'(E) &=m\left(\bigcup\limits_{j=1}^{\infty}E_{j}\right)\\ &=m\left(\bigcup\limits_{j=1}^{\infty}\left(E_{j}-\bigcup\limits_{k=1}^{j-1}E_{k}\right)\right)&\text{(remove duplicate inersections)}\\ &=\sum\limits_{j=1}^{\infty}m\left(E_{j}-\bigcup\limits_{k=1}^{j-1}E_{k}\right)&\text{(apply assumed additivity)}\\ &\leq\sum\limits_{j=1}^{\infty}m(E_{j}) &\text{(apply aleady proved monotonicity)} \end{align*} so that $m'$ is also sub-additive as required.


Why do repunit primes have only a prime number of consecutive $1$s?

Repunit primes are primes of the form $\frac{10^n - 1}{9} = 1111\dots11 \space (n-1 \space ones)$. Each repunit prime is denoted by $R_i$, where $i$ is the number of consecutive $1$s it has.   So far, very few of these have been found: $R_2, R_{19}, R_{23}, R_{317}, R_{1031}, R_{49081}, R_{86453}, R_{109297}, R_{270343}$.  One thing to observe in all of these is that all of these have a prime subscript. Is this a prerequisite for all repunit primes. Does each repunit prime written as $R_p$ have to have $p$ as prime?   I tried my hand at this: A repunit prime $R_i$, can be written as $10^{i-1} + 10^{i-2} \dots + 10^{2} + 10 + 1$. We are required to prove that if $i$ is composite then $R_i$ is composite. Clearly, if $i$ is even, then $R_i$ is divisible by $11$. $3|i$, then $3|R_i$.   So, $i$ has to be of the form $6n \pm 1$. I could not put any more constraints of this. Is there an elementary proof for this?


Stopping Google from crawling my static domain

I use a cookieless sub domain static.example.com to serve all images, js, and css files. This static sub domain has as its root directory the same directory as the parent http://example.com. So static.example.com/index.php will result in calling the same file as http://example.com/index.php  Google has taken up indexing static.example.com and I need to stop this.  I can't modify robots.txt since it would apply to both domains. Webmaster tools allows "temporary" removal of a link, but this needs to be permanent.  I registered this static domain through google as a separate site from example.com, but this doesn't seem to buy me anything since I can't see a way to block crawling without using robots.txt - which would block it from the parent domain.  Any other ideas?  UPDATE  Found this conversation on   I am looking into whether it's possible to insert a META tag dynamically into the header of every page called on the static domain using php  CLARIFICATION  I am not putting any content on static.domain.com. There are NO webpages on it that are called - it only serves images. I have it redirecting to the same root directory as the main site for ease of coding image links (not every image is fed from the same image path).  Google got a hold of the static web root address - probably because .htaccess redirects to index.php if a file is missing and then crawled it. Now Google is showing the static version of the same pages with search results.


Are there medical imaging devices to look inside artery? If yes, what is there sensitivity i.e. smallest object they can detect?


How do I rotate and duplicate a line in Illustrator

I am trying to recreate the line swirl in our compliment slip in Adobe Illustrator? I have been struggling for hours with transforming straight lines, creating waves, rotating, etc. but still can't get there?     If anyone can help it would be greatly appreciated!  Anne


Windows 7 not booting after installing Ubuntu 14.04.03

I installed Ubuntu 14.04 to make a dual boot system after a fresh installation of Windows 7 (64-bit, Professional). Windows 7 was installed in UEFI mode on an SSD, after that I shrunk the main partition and booted the Ubuntu boot stick in UEFI as well. Windows at that point worked without any problems.  I was following a guide, but was not aware of the specifics of UEFI, and here is where I believe I went wrong the first time.   While installing Ubuntu I I created a swap space bigger than my RAM on the SSD and a partition for root formatted in ext4. I also created a home partition on an HDD. What the guide I was using at the time did not mention was telling the installer to change the “Device for boot loader installation” to the EFI partition already there. Instead, it remained on /dev/sda.  Installing Ubuntu went off without a hitch, and when I tried to boot there was the list containing Ubuntu and Windows. I then chose Windows, but it would only show a loading bar with "Windows is loading files" and then return to GRUB.  Following additional posts I found, I used boot-repair, which resulted in GRUB showing Windows 3 times, but still not Windows loading. I tried a few things more, but it was hard to find information as most of it seemed to pertain to Legacy mode or Windows 8.  I deleted the partitions, re-formatted the drive again and repeated the process a few times, doing a few things differently, but always returned to the same problem with Windows not booting.  The last time, I installed Ubuntu to the HDD instead, with Windows on the SSD, and Ubuntu again works fine, but Windows won't boot. I ran the Windows repair utilities, ran chkdsk /f, but the only thing that produced any change was the physical memory repair. When I did that, when booting Windows, the Windows 7 welcome screen flashed for a second, but returned to GRUB after that.   Running chkdsk for the first time also showed a few errors on the SSD, but after that it did not show any more. I also ran TestDisk, which showed everything as ok.  At this point I've been at it for two days, and I don't know what to do.


I've heard people say "be king" (as in "I can't wait to be king") in movies and TV. Why don't they say "be a king"? Which is correct?


How to change font for a particular section?

Let us consider the following scenario.  This is the partial code in the main.tex file and which includes code from other tex files like certificate.tex, abstract.tex etc.,   .................... \include{certificate} \include{abstract} \include{introduction} ...................   Now I want to incorporate separate font size and font style to each one of the above. For example let us say I want certificate to be of font size 12pt with font family Arial, abstract to be of font size 11pt with font family Courier. And finally the abstract should follow font size and font family, which I declare globally for whole document.  Is it possible to change for particular chapters without changing remaining document.   I am expecting some code like this  .................... \font{12pt}{Arial}{\include{certificate}} \font{11pt}{Courier}{\include{abstract}} \include{introduction} ...................


Why isn't it mathematically rigorous to treat dx's and dy's as variables?

If I do something like:    $$\frac{dy}{dx} = D$$  $$dy = D \times dx$$  People would often say that it is not rigorous to do so. But if we start from the definition of the derivative:    $$\lim_{h \to 0}{\frac{f(x + h) - f(x)}{h}} = D$$  And by using the properties of limits we can say:    $$\frac{\lim_{h \to 0}{f(x + h) - f(x)}}{\lim_{h \to 0}{h}} = D$$  And then finally:    $$\lim_{h \to 0}(f(x + h) - f(x)) = D \times (\lim_{h \to 0} h)$$  Isn't this the same? Or am I missing something?


Is there some kind of gadget that allows you to record your gameplay on a console? I have a friend asking me a bunch of questions on Final Fantasy 12 and it would be much easier for me to simply send a decent quality video of me playing the game to him (or burn it to DVD).  The best tactic for me would be if I could just record what's on the TV and not put the console itself into the equation.  Feel free to offer pricier suggestions.


Travelling from India to Ukraine. Do I need Transit Visa for Vienna?

I am traveling from Delhi to Kiev( Ukraine) via Vienna. Do I need a transit Visa? Transit time is 2 hrs.  I hold an Indian passport and Visa for Ukraine.


I am a young person and I want to know what is the minimum age for Stack Overflow users, because if I type in my true age I don't want to be deleted or blocked from Stack Overflow due to my age.


Started W8/Ubuntu 12.04 dual boot but got scared. How can I make sure to just run Windows again like always?

I have a pre-installed W8 laptop, and since I had always had no trouble dual-booting Ubuntu with my older laptops, I saw no reason why I'd have trouble now. However, I see that W8 is giving Linux users a bit of trouble.  Anyway, I made an Ubuntu 12.04 64-bit DVD, booted from the DVD, installed Ubuntu 12.04 alongside W8 (creating a partition for Ubuntu through the installer), and it said it completed successfully.   My laptop only boots to W8. No hint of Ubuntu. I read that turning of secure boot, running boot-repair in Ubuntu, and a few other methods might fix this, but I also read of so many users not being able to boot back into W8.   I decided I'm not cut out for this and will just keep my laptop how it is - running Windows just fine.  I'm willing to sacrifice that partitioned harddrive space, but is there going to be any issue in my foreseeable future with my laptop like this? I would delete the Ubuntu partition, but I read about some people then having trouble since the GRUB menu replaced the windows boot manager. Are there any precautionary measures I should take to ensure I have no trouble running W8?


What is this Disney scifi movie from the late 80s/early 90s?

When I was a kid we had a VHS tape of some Disney live action (not animated) sci-fi movie. It may have been a mini-series or a made-for-tv movie, but I'm not sure. I'm also not sure about the year but it would probably have been late 80s or early 90s based on when I would have seen it. I know it was Disney because they had some live action Goofy and Mickey running around the movie's set as an introduction discussing the plot with a host before the movie.  The plot is basically as follows:   A starship is loaded with mostly children and teenagers as a cross-galaxy human settling effort. Accidents (which are not really accidents and later revealed) cause adult crew members to be killed.  They travel to another planet and face all sorts of troubles. It arrives at the new planet after overcoming obstacles.   Other memorable scenes that may help:   Navigating out of earth's asteroid belt made out of space junk. One of the adults was killed via an airlock malfunction. The ship was supposed to be peaceful with no weapons. At one point they bring on board some crazy guy who puts together a rail gun. There's a memorable line like "Do you want no weapons at all or a well aimed rock?"  There's a planet or space station (I can't remember which) that has a fight scene with the evil bad guy. This scene takes place on what looks to be a carnival or fairground. The bad guys are trying to steal the ship the kids are on because it has some kind of really good futuristic space drive.   Hopefully you remember it better than I do! I've tried looking online for it before with no luck.


How to push an object into an array without passing that object by reference?

So I have a property in a class called 'tiles' which contains information about a checkers board game's state. I'm trying to push this property to an array called 'moves' every time I make a legal move and at the start of the game. But the problem is, every time I push the new tiles property, the previous elements in the moves array change to the values of the latest pushed tiles.  I understand this is happening because the object is being passed by reference and hence replaces old elements in array because they now point to the same object, which is the latest value of the property tiles. So with my code given below, is there a way I can push this object not by reference but each different individual state of 'tiles' that resulted due to legal moves.  Here is my snippet: App.js    App = function () {   var self = this;   self.tiles = [];    // this is populated with objects from a json file   //code to fetch json and save it to self.tiles   //more code    this.startGame = function () {     //other code     self.moves.push(self.tiles);   };   this.makeMove = function () {     //other code     self.moves.push(self.tiles);   }; };   So what I expect is in self.moves array, the tiles should point to different objects instead of the same object. It should contain different states of self.tiles but right now, as I push the property, the elements of 'moves' array is overwritten by the latest self.tiles value.  Any help to solve this problem will be highly appreciated. Thanks!


Would a very small creature inside a sealed container carried by a character take damage from AOE spells?

Assume character A is in the AOE of a damaging spell.  Character A is carrying a closed container inside his backpack, alongside several sheets of parchment.  Damaging spell description specifically states that items carried by a creature are not damaged even on a failed save. Unattended objects are damaged, though.  Inside said container there is a small creature. Creature has no problem living inside container for a long amount of time.  Does this creature take damage from the spell? If it does not, what mechanic prevents damage?


"Object oriented" vs. "object orientated"

I've heard both used interchangeably with regards to object-[oriented/orientated] programming. What's SE's opinion on it?


I'm on Ubuntu Mate,  and I would like the system to run the command homebridgeat boot.  Do I just need to   sudo nano /etc/rc.local   and add this  #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. homebridge exit 0


What's the difference between a shunt resistor and a four-terminal resistor?

I want to know if the four-terminal resistor and the shunt resistor are the same.   Is there another use for the four-terminal resistor except measuring current?


Suppose that $X_{n} \rightarrow_{p} X$ and $f$ is continuous. Show that $f(X_{n}) \rightarrow_{p} f(X)$.  $X_{n} \rightarrow_{p} X$ means for all $\epsilon >0, \lim_{n \rightarrow \infty} \mathbb{P}[|X_{n}-X|\geq \epsilon]=0$   HINT: You can use the following sets $$B_{\delta}=\{x| \text{ exists } y \text{ with } |x-y|<\delta \text{ and } |f(x)-f(y)|\ge \epsilon \}, \{ |f(X_{n})-f(x)|\geq \epsilon \}, \{|X_{n}-X|\geq \epsilon \} \text{ and } \{x \in B_{\delta} \}$$  But I don't know how to use it


Which is the best way to extract part of a vector? If I have  std::vector<int> v1(9);  for(int i = 0; i < 9; i++)     v1[i] = i + 1;   I need a code that put in  std::vector<int> v2(2);   the second and third element of v1. I have to do a cycle or there is a smartest way?


Integrals involving exponential functions and the gamma function

I'm having trouble evaluating this integral  $$\int_0^\infty {e^{-ax^2}} \,dx $$  My guess is that it would evaluate into something like  $$\int_0^\infty \frac 12e^{-s}s^{\frac 12} \ldots \,dx = \frac {\Gamma\left(\frac 12\right)}{\frac{a^{\frac 12}}{2}}$$   When you do a substitution $ \sqrt{s}= \sqrt{a}x $ so that $ s = ax^2 $. I'm having trouble convincing myself though that $ \frac {d}{ds}\sqrt{s} = \left(\ldots a^\frac 12\right) $ which would satisfy the answer that I provided.  Am I doing something wrong or is my guess wrong?


I encountered a problem decoding text files.  Encryption works, but when the program is restarted, decryption throws an exception. The same similar Exception was thrown with apache.common.Base64. Maybe someone knows how to solve this?  private String decrypt(String encrypted) throws Exception {     Cipher cipher = getCipher(Cipher.DECRYPT_MODE);     //byte[] plainBytes = cipher.doFinal(Base64.decodeBase64(encrypted));      /*this line throw an exception*/                                           byte[] plainBytes = cipher.doFinal(Base64.getDecoder().decode(encrypted));      return new String(plainBytes); }  private Cipher getCipher(int cipherMode) throws Exception {     String encryptionAlgorithm = "AES";     SecretKeySpec keySpecification = new SecretKeySpec(             encryptionKey.getBytes("UTF-8"), encryptionAlgorithm);     Cipher cipher = Cipher.getInstance(encryptionAlgorithm);     cipher.init(cipherMode, keySpecification);      return cipher; }     Exception in thread "main" java.lang.NullPointerException at java.util.Base64$Decoder.decode(Base64.java:549) at edmaker.EdMaker.decrypt(EdMaker.java:148)   Listening on javadebug Not able to submit breakpoint MethodBreakpoint [fsiteratetest.FsIterateTest$1].visitFile '(Ljava/nio/file/Path;LBasicFileAttributes;)Ljava/nio/file/FileVisitResult;', reason: Breakpoint belongs to disabled source root 'C:\Users\win7p\Documents\NetBeansProjects\FsIterateTest\src'. See Window/Debugging/Sources. User program running User program stopped Debugger stopped on uncompilable source code. User program running User program finished


I understand sed will    Applies all instructions on line 1, then line 2... Previous instructions may change the pattern space so the next instruction will operate on that modified pattern space (instead of the original text)   The example is:  sample.txt file  pig cow  Command  sed -e 's/pig/cow/; s/cow/horse/;' sample.txt  Expected Output  horse horse  Real Output  horse cow  The reason for my expected output is:   First instruction substituted pig with cow in the pattern space Second instruction substituted 2 pigs with 2 horses in the pattern space


How do we manually call (child) LWC component method from (parent) Aura component?

I've two components:  <c:Lightning_component_Aura>   <c:lwcLightningWebComponent aura:id="myLwcComponent" /> </c:Lightning_component_Aura>   I've declared a function inside LWC using @api. Now the documentation says, this method can be called from Parent component but the way they provided is for if parent component is also LWC component.  I would like to call this child LWC component from a parent Aura component. Like we do by provideding a aura:id to an Aura component and find that instance and call the aura method.  Aura Example:  component.find('childComponent').method1();   I tried supplying LWC an aura:id and call the @api method like this but it did not work.  Any suggestions on how to do that?


I am experiencing difficulties understanding the concept of convolution and especially convolution of 2 independent indicator functions. I would be really thankful if someone can help understand the intuition behind it. Thank you in advance


Find expected value $\mathbb E[e^{\lambda\tau_a}]$

Let $\tau_a = \inf\{t: W_t > a\}$, where $W_t$ is a Wiener Process. I am interested in expected value $\mathbb E \left[e^{-\lambda\tau_a}\right]$, where $\lambda \in \mathbb R$. I think that I should use the fact that $M_t = e^{\lambda W_t-\frac{\lambda^2}{2}t}$ is a martingale, but no I idea how to go from there. Thanks for any hints.


Should enclosing commas be treated as parentheses?

I just read the following in Dan Ariely's book ,     [...] Zoe, and the other kids to whom I offered the same deal, was   completely blinded by [...] p. 57   To me it would have seemed more natural to have written 'were completely blinded'. On the other hand, commas are often used in place of parentheses, in which case the following would, presumably, be incorrect,     Zoe (and the other kids to whom I offered the same deal) were completely blinded by [...]   Should 'was' or 'were' be used in the sentence separated with commas?


Consider your typical  scenario.  You are standing on the inner side of the sphere.  You look up and see the shining sun far away.    My question (or thought experiment rather) is: Completely negating the gravitational forces, mass, etc. of the sun, if you could be placed anywhere within the radius of the Sphere, is there a point within the Sphere where you would float freely? The center seems the most obvious answer, but is it the only one? Keep in mind: standing at any point on the ground you have a "small" amount of mass beneath your feet, and FAR much more mass "above" you. Does this mass pull you more than the ground beneath your feet?


So, i've got a recursive method in Java for getting the 'n'th fibonacci number - The only question i have, is: what's the time complexity? I think it's O(2^n), but i may be mistaken? (I know that iterative is way better, but it's an exercise)  public int fibonacciRecursive(int n) {     if(n == 1 || n == 2) return 1;     else return fibonacciRecursive(n-2) + fibonacciRecursive(n-1); }


Why are not "infamous" and "inflammable" the opposite of "famous" and "flammable"?

Why are not infamous and inflammable the opposite of famous and flammable, like incomplete, inactivity, inappropriate and so on?


Why did the Final Five get this particular song stuck in their heads?

I just started watching season 4 of Battlestar Galactica (2004), and I'm having a hard time suspending my disbelief on this plot point. The Final Five become aware of their nature due to that song they collectively get stuck in their heads.      All Along the Watchtower, by Bob Dylan.   Why did they get this song stuck in their heads? Of all the songs possible, this song shouldn't exist in the universe which the Galactica crew inhabits.  It's also confusing that these characters would immediately recognize their Cylon nature as a result of a song getting stuck in their heads, but that's another matter and somewhat easier to explain.


When will my device get the Android 5.1 update (Lollipop)?

Android 5.1 (Lollipop) was officially announced on March 9th, 2015.  You can review the high-level changes at the announcement on the official .  Of course, not all devices will get this update right away and others won't get it at all. Each manufacturer and carrier often choose to add their custom modifications which tend to delay the official release.  When will each device get Android 5.1, either officially or unofficially, if ever?  See also:


How do i keep HDR background without having to see it when rendering?

Can anyone tell me how to maintain HDR as a background light source, without seeing it through the rendered room window?


"Tired of stuffing your phone in your bra?" Is this sentence correct, or do I need to say "into your bra"


Prove that if a,b.c are distinct positive integers that $$a^4+b^4+c^4>abc(a+b+c)$$ My attempt:  I used the inequality A.M>G.M to get two inequalities First inequality $$\frac{a^4+b^4+c^4}{3} > \sqrt[3]{a^4b^4c^4}$$  or $$\frac{a^4+b^4+c^4}{3} > abc \sqrt[3]{abc}$$ or new -- first inequality $$\frac{a^4+b^4+c^4}{3abc} > \sqrt[3]{abc}$$  second inequality: $$\frac{a+b+c}{3} > \sqrt[3]{abc}$$ I am seeing the numbers in the required equation variables here but am not able to manipulate these to get the inequality I want?? Please direct me on which step should I take after this??


Evaluation of given limit where $ n \to \infty$

Evaluate the given limit:  $$ \lim_{n \to \infty} \bigg[ \bigg(\frac{n}{n} \bigg)^n +\bigg(\frac{n-1}{n} \bigg)^n + \bigg(\frac{n-2}{n} \bigg)^n+....+\bigg(\frac{1}{n} \bigg)^n \bigg]$$  I was trying to calculate each limit separately. First bracket equals $1$, second bracket equals $1/e$ , third bracket equals $1/e^2$ and so on. But how to add up after that? Could someone help me with this?


How to use MathJax on the mobile web chat?

How do I make MathJax work on the mobile web chat without using Tampermonkey?


Dash, command substitution not inserting newline?

Basically, this is the issue:  $ echo Hello"$(printf '\n')"World HelloWorld   What did I overlook ?


How many different/unique $4$-letter arrangements are there of the letters in the word Mississauga?  I'm thinking we need permutations? I already tried finding each letter and still don't get it... any help?   So far I've broken it off to:-  $M=1$  $I=2$  $S=4$  $A=2$  $U=1$  $G=1$  However, I don't really know what to do next.


How to prove $\sqrt{5+\sqrt{5+\sqrt{5-\sqrt{5+\sqrt{5+\sqrt{5+\sqrt{5-\cdots}}}}}}} = \frac{2+\sqrt 5 +\sqrt{15-6\sqrt 5}}{2}$

Ramanujan stated this radical in his lost notebook:  $$\sqrt{5+\sqrt{5+\sqrt{5-\sqrt{5+\sqrt{5+\sqrt{5+\sqrt{5-\cdots}}}}}}} = \frac{2+\sqrt 5 +\sqrt{15-6\sqrt 5}}{2}$$   I don't have any idea on how to prove this.  Any help appreciated.  Thanks.


how can I put a legend outside on a single line under the x axis  \documentclass[a4paper,12pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english,italian]{babel} \usepackage{url,amsfonts,epsfig} \usepackage{amsmath} \usepackage{caption} \usepackage{subcaption} \usepackage[backend=biber]{biblatex}  \usepackage{matlab-prettifier} %pacchetto per scrivere come Matlab  \usepackage{tikz} \usetikzlibrary{calc,quotes,angles} \usepgflibrary{arrows.meta} \usepackage{pgfplots} \usetikzlibrary{calc}  \begin{document}    \begin{figure}[h]     \centering     \begin{tikzpicture}     \begin{axis}[name=plot,     %xmin=49.9,      %xmax=50,      xlabel={$[s]$},      ylabel={$amplitude$},     %ymin=0.651,     %ymax=0.6535,     width=1\textwidth,     %yticklabel style={/pgf/number format/.cd,fixed zerofill,precision=5},     xticklabel style={rotate=-90,/pgf/number format/.cd,fixed zerofill,precision=2},     legend style={at={(0.5,-0.17)},anchor=north,legend cell align=left},     ]               \addplot{x}; \label{x}     \addplot{-x + 10}; \label{x10}     \addplot{x*x}; \label{x2}          \end{axis}          \end{tikzpicture}     \caption{\textit{legend outside on a line}}   \label{fig:legend} \end{figure}   \end{document}


Probablility of a dart landing closer to the center than the edge of a square dartboard?

The question is: There is a square dart board with a side length of $2$m, and a dart has equal probability to land anywhere on the board. What is the probability that the dart will land closer to the center than to the edges? So I know that if I center the square at the origin, I have to find $f(x)$ such that every point on $f(x)$ is equidistant between the origin and the line $x=1$ or $y=1$ (I'm only working with the first quadrant since by symmetry the probability should be the same). Another reasonable assumption that I made is that $f(x)$ is reflected over $y=x$, so I only have to work with the first $45$ degrees of the first quadrant. So to find $f(x)$ I did the following: $\sqrt{x^2+[f(x)]^2}=1-x$, so $f(x)=\sqrt{1-2x}$. Now I know that I just find the area under this curve and divide it by $1/8$ the area of the square to find the probability. I just wanted to know if my $f(x)$ was okay? Thanks!


Two internet connections at once in Windows 7


I installed Ubuntu on my HP Stream 11, I was pleased to find out that my WiFi worked but the range is terrible. To have a good signal I have to be right next router.  How can I improve the quality of the signal?  $ lspci 00:00.0 Host bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SoC Transaction Register (rev 21) 00:02.0 VGA compatible controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller (rev 21) 00:0b.0 Signal processing controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Power Management Controller (rev 21) 00:14.0 USB controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series USB xHCI Controller (rev 21) 00:1a.0 Encryption controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Trusted Execution Engine (rev 21) 00:1b.0 Audio device: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series High Definition Audio Controller (rev 21) 00:1c.0 PCI bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Express Port #1 (rev 21) 00:1c.3 PCI bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Express Port #4 (rev 21) 00:1f.0 ISA bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCU (rev 21) 00:1f.3 SMBus: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx SMBus Controller (rev 21) 01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01) 02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter


Scripting a deployment of an org-wide email address to a scratch org

I'm setting up a CI/CD and currently I'm facing some challenges regarding  org wide verified emails and scratch orgs. Do you know if there is some workaround on this? I can start to work on a script to change "on the fly" all the email alerts on flows to use the "current user" solution, but I'm a little bit short of time to do this from scratch. Any advice would be appreciate.


Can every signature scheme be transformed into a public-key encryption scheme?

I am reading about Signing vs. Public-Key encryption and a question pop up in mind that is it possible to transform any signature scheme to a public-key encryption scheme?


All operating systems freeze sometimes, and Ubuntu is no exception. What should I do to regain control when...   just one program stops responding? nothing at all responds to mouse clicks or key presses? the mouse stops moving entirely? I have an    In what order should I try various solutions before deciding to pull the power plug?  What should I do when starting up Ubuntu fails?  Is there a diagnostic procedure I can follow?


Multi paragraph list items, OR preventing numbered list auto formatting

How do I either:   Create a numbered list item that has multiple paragraphs (broken with newlines), or  As a workaround, prevent the editor from automatically formatting lists marked with "N." (since it restarts at 1 no matter what number I enter)?


'==' does not work while checking string values, but '.equals()'does. Can anyone tell me why?

import java.util.Scanner; public class RandomTest {  public static void main(String[] args) {     Scanner input=new Scanner(System.in);     String[] alphabets={"a","b"};     String [] cipher={"b","c"};     System.out.println("Please enter a letter.");                 String word=input.nextLine();      for (int i=0;i<2;i++){         if (word.equals(alphabets[i])){             System.out.println("Preparing a cipher");             System.out.println("Here is the cipher: "+cipher[i]);              }     } } }   This code above works perfectly fine, but instead of saying (word.equals(alphabets[i])), if i put word==alphabets[i] it wouldn't work at all. While using the later, the program does not check if the input is equal to a value in the array. Why does this happen?


How do I format a backslash as code with backticks in comments?

I'm trying to write a single backslash in a comment as code formatted by backtick. Like this:  `\`   but it escapes the backtick and doesn't close the "inline code block".  I've read  but couldn't figure out.  How do I format a single backslash in comment as code?


How can I map an elliptic curve over R to the unit circle?

Lawrence Washington, in his book 'Elliptic Curves: Number Theory and Cryptography', says:  If $E$ is defined over $R$, then $E(R)$ is isomorphic to the unit circle $S^1$ or to $S^1 \oplus Z_2$.  Conceptually, I understand the point via provided graphs and explanation, but how can I map the elliptic curve to the unit circle?


Can you please explain why \begin{align*} \lim_{x\to 0^+}{x^{x^x}} &= 0 \end{align*}


Make CMD-Delete a keyboard shortcut in Apple Mail to move a message to the archive?

The delete key moves mail to the trash in Apple Mail, which is fine.  But is there a way to make CMD-delete the keyboard shortcut to move the selected message to the archive?  I know there is the shortcut CMD-Ctrl-A , but that is too slow for me. (I spend about 3 hours a day on mail.)  I tried to define the shortcut in System Preferences / Keyboard / shortcuts, but it wouldn't allow me to do it (when I type the shortcut in the "Shortcut text field" , I get the "doh" sound). I also tried Alt-delete and Ctrl-delete, none is allowed.


What is the most "pythonic" way to iterate over a list in chunks?

I have a Python script which takes as input a list of integers, which I need to work with four integers at a time.  Unfortunately, I don't have control of the input, or I'd have it passed in as a list of four-element tuples.  Currently, I'm iterating over it this way: for i in range(0, len(ints), 4):     # dummy op for example code     foo += ints[i] * ints[i + 1] + ints[i + 2] * ints[i + 3]  It looks a lot like "C-think", though, which makes me suspect there's a more pythonic way of dealing with this situation.  The list is discarded after iterating, so it needn't be preserved.  Perhaps something like this would be better? while ints:     foo += ints[0] * ints[1] + ints[2] * ints[3]     ints[0:4] = []  Still doesn't quite "feel" right, though.  :-/ Related question:


Minitoc is really great when using it within various chapters. But what should be used when a toc is required, which lists only parts and chapters? I called it abstracttoc to show the position where it should be applied.  e.g.  \begin{document}  A few words initially.  \abstracttoc % only parts and chapters  And a few words. \tableofcontents % as usual \part{One}  \chapter{A}  a few words  \section{SEC A}  a few words \section{SEC AA}  a few words \chapter{B}  a few words  \section{SEC B}  a few words \section{SEC BB}  a few words \part{Two}  \chapter{Z}  a few words  \section{SEC ZZ}  a few words \section{SEC ZZZ}  a few words    \chapter{C}  a few words  \section{SEC CC} a few words \section{SEC CCC} a few words \end{document}


Canon 700d with stock lens or cheaper model with better lens?

I'm torn between getting a 700d kit as it is or a cheaper model (ie. 1200d) with a better lens. Mainly plan on using it for short films. Opinions?


Add value using prototype in function instance

I have one constructor function in my code. I have create instance of that constructor. In newly created instance I want to add value or function by using prototype method. But I getting error while doing this. Here is my code   function a(){ this.d=9 } a.prototype.one=1; a.prototype.two=2;   var j= new a(); j.prototype.three=3;  console.log(j)


If $P(x^5)+xQ(x^5)+x^2R(x^5)=(x^4+x^3+x^2+x+1)S(x)$ , then prove that $P(x)$ is divisible by $x-1$

$P,Q,R,S$ are polynomials such that: $P(x^5)+xQ(x^5)+x^2R(x^5)=(x^4+x^3+x^2+x+1)S(x)$ , then prove that $P(x)$ is divisible by $x-1$   I thought a lot on this but no result!! By the way,one idea is to insert some values for $x$ and try to produce a system of equations for the given polynomials,but I'm not sure it works.


For which primes p is 3 a quadratic residue modulo p?  From Quadratic Reciprocity -1/p = 1 if p = 1 mod 4 means that -1 is a quadratic residue mod p iff p = 1 mod 4. Similarly I know that I'm supposed to use 3/p = (p/3)(-1)^((p-1)/2) but how do I convert this to a similar form that gives the desired value of p?


What is the meaning of 'a little too + adjective'?

What is the meaning of the phrase "a little too + adjective" ?  For example:     This is a little too hard for me.   Does it mean same as:      This is slightly hard for me.   ?  How are the following sentences different from the above sentence ?        This is a little hard for me .   This is little hard for me.


Bash script to relay another script's output

I have two bash scripts: one is a script that deploys my infrastructure, and line by line echoes it's progress, e.g. Deploy started, then after some time Deploy in progress and finally Deploy finished The second script takes a string as an argument and posts it in my slack channel. It contains the next line: slack_post "#my-channel" "$1"  and I call that script like so: FIRST_SCRIPT_OUTPUT=$(first_command) ./post.sh "$FIRST_SCRIPT_OUTPUT"  but this relays all my output in a single message. How do I send my first script's output to my second one line by line?


What do I do if I forgot my Gmail password?

Do I need to contact Google if I've forgotten my Gmail password?


Remove account on a single Stack Exchange site

How I can remove myself from some Stack Exchange sites, but keep my profile? (For example, I subscribed to some sites just for curiosity; I just browsed without posting or replying.)  I found a delete option but I am afraid to click!   Would it be possible also to unsubscribe from sites where I have been active?


Let $n$ and $1\leq k \leq n$ be natural numbers. Prove the inequality     $$\sum_{i=k}^n \binom{n}{i}\bigg(\frac{k}{n+1}\bigg)^i\bigg(1-\frac{k}{n+1}\bigg)^{n-i} \leq 1 - \frac{1}{e} $$  Equivalently, if $X\sim$ Bin($n$,$\frac{k}{n+1}$), prove that $\mathbb{P}[X\geq k] \leq 1 - \frac{1}{e}$.   My attempt: It may be helpful to show that the LHS tends to a limit less than $1-\frac{1}{e}$ as $n \to \infty$ (already did that) and that the LHS is an increasing function on $n$ (have not done that).


Align successive equations through the entire document

I am fairly new to TeX and need to create my math assignment with TeX.  I have succeeded aligning all my calculations with the use of \begin{align*} and \intertext{}, however in my document i have sections and subsections and if I \end{align*} and begin after the sections or subsections the alignment is off.  I have gone through google but all I can find is about \begin{equation} and has no mentioning of sections nor graphics.  How do I (if it is possible) make the alignment through the entire document?  Example:  \section{Opgave 1}  \subsection{a) Beregn arealet, der begrænses af kurven for $f(x) = x^{3}$, x-aksen og linjerne $x = -1$ og $x = 1$.} \begin{align*} % This \intertext{Først beregnes det bestemte integrale imellem $x = 0$ og $x = 1$:} \int_0^1 x^{3}\ dx &= 0.25\\ \intertext{Da den er symetrisk omkring 0 kan vi tage det dobbelte areal:} 0.25 \cdot 2 &= 0.50\\ \end{align*}  \begin{center} \includegraphics[width=100mm]{opg1graph.png}\\ Opg. 1, a) \end{center}  \pagebreak  \subsection{b) Bestem arealet af den lukkede figur, der dannes af parablen med regneforskriften $f(x) = -x^2 + 2x + 1$ og den rette linje med regneforskriften $g(x) = -0,5x + 1$} \begin{align*} % Is not aligned with this \intertext{Først findes de punkter hvor $g(x)$ afgrænser $f(x)$:} f(x) &= g(x) \\ -x^2 + 2\cdot x + 1 &= -0.5\cdot x + 1 \\ solve(-x^2 + 2\cdot x + 1 &= -0.5\cdot x + 1,x) \\ x &= 0\\ x &= 2.5\\ \intertext{Så tager vi det bestemte integrale imellem $x = 0$ og $x = 2.5$:} \int_0^{2.5} -x^2 + 2x + 1\ dx &= 3.54167 \pagebreak \intertext{Og det bestemte integrale for $g(x)$, for at fjerne arealet under linjen:} \int_0^{2.5} -0.5\cdot x + 1 dx &= 0.9375 \intertext{Nu trækkes arealet under linjen fra:} 3.54167 - 0.9375 &= 2.60417\\ \end{align*}


I have written this code for json in python and i am getting this error "JSONDecodeError: Expecting property name enclosed in double quotes"

My code : import json  a=''' {       "abc" : "2",      "phone" : {       "ss" : "22"       },      "def" : "5" ,       }'''  info = json.loads(a)  print("Number", info["abc"])  It is giving me this error: "JSONDecodeError: Expecting property name enclosed in double quotes"  I tried removing the comma but then it gives  me the error "JSONDecodeError: Expecting ',' delimiter"


command to layout tab separated list nicely

Sometimes, I'm getting as an input tab separated list, which is not quite aligned, for instance  var1  var2  var3 var_with_long_name_which_ruins_alignment  var2 var3   Is there an easy way to render them aligned?  var1                                      var2  var3 var_with_long_name_which_ruins_alignment  var2  var3


do you have some informations about Ubuntu phone at the moment?  I saw few articles about Ubuntu Edge but I thought that it is dead. Also I saw for UBPorts with Ubuntu Touch.  I was really interested for project Ubuntu Edge. So my question, is there some idea of ubuntu phones in 2019 or everything is dead?


Why can certain commands be ran through a variable, while others can't?

So if I put some simple commands into a variable, and then call that variable at the beginning of the line, it actually uses those commands. For example:  yes@no:~$ nnn="ls -l Super" yes@no:~$ $nnn -rw-rw-rw- 1 yes yes 6 May 29 19:46 Super   But if I try it with anything that has any special characters, or if I try with something like case or if, it doesn't work:  yes@no:~$ nnn="ls -l|grep Super" yes@no:~$ $nnn ls: invalid option -- '\' Try 'ls --help' for more information.   Or:  yes@no:~$ duper="if [[ ${ar} -eq 2 ]]; then echo yes; else echo no; fi" yes@no:~$ "$duper" if [[  -eq 2 ]]; then echo yes; else echo no; fi: command not found   Obviously there's something deeper here that I do not understand.


Linking to C++ static library on linux throws linker errors while building an execuatble

I have a static library test1.a built on linux. When I am trying to link against it, the linker throws undefined reference errors:  CMakeFiles/Testserver.dir/src/audio/TestEncoderFactory.cpp.o: In function TestEncoderFactory::GetSupportedEncoders(): TestH264BypassedEncoder.cpp:(.text._ZN10H264BypassedEncoderC2ERKN7cricket10VideoCodecERNS_14TestClientE+0x191): undefined reference to absl::EqualsIgnoreCase(std::basic_string_view<char, std::char_traits<char> >, std::basic_string_view<char, std::char_traits<char> >)   TestEncoderFactory.cpp:(.text._ZN10TestEncoderFactory20GetSupportedEncodersEv+0x20b): undefined reference to `test::SdpAudioFormat::SdpAudioFormat(std::basic_string_view<char, std::char_traits >, int, unsigned long, std::map<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::less<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, std::__cxx11::basic_string<char, std::char_traits, std::allocator > > > >&&)'  But then I created a sample program using the same line of code leading to linker errors as shown below and when I build it by linking against the same test.a the executable is building perfectly fine: #include <string> #include <rtc_base/logging.h> #include <rtc_base/checks.h> #include <iostream> #include <absl/strings/match.h> #include <memory>  using namespace std;  int main() {  cout << "testing\n";  RTC_CHECK(absl::EqualsIgnoreCase("", ""));  //RTC_LOG(INFO) << "Testing libwebrtc linking";  bool res = absl::EqualsIgnoreCase("ab", ""); cout << res;  cout << "\nending";  }  I built above using g++ -I./include -I./include/third_party/abseil-cpp  test.cpp -L./lib -ltest1 -o final_ex the executable final_ex builds successfully. The other program is a bigger one(and is private and thus can't share) and trying to link against test1.a and other are .so as mentioned in the command below:  /usr/bin/g++ -pthread -g -rdynamic CMakeFiles/testServer.dir/src/Main.cpp.o testxyz.cpp.o -o bin/testServer  -L<lib_loc> -Wl,-rpath,<path....> -static-libstdc++ -static-libgcc -ltest1 -lprotobuf  -lgio-2.0 -lgobject-2.0 -lglib-2.0 -ljson-glib-1.0 -lffmpeg -lX11 -ldl  I also checked many different questions on Stackoverflow but couldn't fix the issue. Can linking against static and dynamic libs be the cause behind the issue? Fix As question is closed so adding the fix details in question itself. One important detail I forgot to mention was I used cxx_std_17 to build my code. Also I was not aware that the static lib test1.a was built using cxx_std_14. Once I got to know this I used cxx_std_14 and all the linker errors were resolved. I didn't think about it earlier as I was of the understanding that it's safe to link C++17 and C++14 as mentioned in answer to  stackoverflow question. But found the hard way that it may not be the case.


I use Blender to create my 3D models for my Android app that uses OpenGL ES. The default output format for a Wavefront file (.obj) is not compatible with my Wavefront file parser. How do I get Blender to output a Wavefront file that has the following elements:   All Verticies and Faces (faces as triangles, not quads) Texture coordinates (UV Mapped) Preprocessed Normals


How can I make the same diagram like this in LaTeX?    I see that i could use package  but i don´t like placement of x.


I have been struggling for too long, Does anyone have an idea how to solve this one ? $a_1 =π/4\:$ and $a_{n+1}=\cos(a_n)$  Prove that $$\lim_{a_n \to \infty} =c\;\text{ when } \; c = \cos(c)$$


other way of proving the limit of $\frac{10^n}{n!}$?

My textbook is asking me to find the limit of $\frac{10^n}{n!}$. Here is how they do it:  My question is: Is this the only way to prove that the limit is $0$ ?   I know the fact that factorials diverge 'faster' than exponential, so can I just state this? I mean how am I supposed to know that at $n>20$ the ratio is $<\frac{1}{2}$ ?  Or should I just say that for some $N$, there is $n>N$ s.t. the ratio of the successive terms become less than $1$ and hence the limit is $0$?


I heard about . I know that they are paths that can be got by contracting spacetime. But, how does a wormhole form?


Can anyone help please? I need to know how to make the sum of value S(n) = 0+1+2+3+4...+(n-1)+n (example: 0+1+2+3 = 6 , 0+1+2+3+4+5+6+7 = 28 and so on) on Latex


How to modify the page at admin/structure/types?

Using Drupal 8, I'm trying to modify the page at "/admin/structure/types" .This page is not a form (instead it is an entity list), so it cannot be modified with hook_form_alter.  _entity_list: The value is entity_type. Provides a list of entities using the EntityListController of the respective entity. E.g. _entity_list: view_mode returns the render array of a list of view modes.  Which hook can I use to modify an entity list ?  I have tried    mymodule_structure_types_prepare_form  mymodule_structure_prepare_form   and none of those is triggered.


In 2018, Skynet has Kyle Reese at the top of its kill list. Why?  I first thought it was because Kyle is John Connor's father. But only John and his mother know about that. (Even Kyle himself doesn't know ;)  This element is central to the plot of Terminator Salvation, but I can't remember it ever being explained or justified in any way in Salvation or the other movies.


Explain why $E(X) = \int_0^\infty (1-F_X (t)) \, dt$ for every nonnegative random variable $X$

Let $X$ be a non-negative random variable and $F_{X}$ the corresponding CDF. Show,   $$E(X) = \int_0^\infty (1-F_X (t)) \, dt$$   when $X$ has : a) a discrete distribution, b) a continuous distribution.   I assumed that for the case of a continuous distribution, since $F_X (t) = \mathbb{P}(X\leq t)$, then $1-F_X (t) = 1- \mathbb{P}(X\leq t) = \mathbb{P}(X>  t)$. Although how useful integrating that is, I really have no idea.


How to echo `single quote` when using single quote to wrap special characters in shell?

I'm reading shell tutorial today from   In which it mentions:     If a single quote appears within a string to be output, you should not put the whole string within single quotes instead you whould preceed that using a backslash () as follows:   echo 'It\'s Shell Programming'   I tried this on my centos server, it doesn't work, a > prompts out to hint me type more.  I was wondering, since two single quotes transform every special characters into normal characters,  which include escape symbol \, but exclude itself, the ', how should I represent a single single quote 'in a single-quoted phrase?


Debugging some finance-related SQL code found a strange issue with numeric(24,8) mathematics precision.  Running the following query on your MSSQL you would get A + B * C expression result to be 0.123457  SELECT A,        B,        C,        A + B * C FROM ( SELECT CAST(0.12345678 AS NUMERIC(24,8)) AS A,        CAST(0 AS NUMERIC(24,8)) AS B,        CAST(500 AS NUMERIC(24,8)) AS C ) T  So we have lost 2 significant symbols. Trying to get this fixed in different ways i got that conversion of the intermediate multiplication result (which is Zero!) to numeric (24,8) would work fine.  And finally a have a solution. But still I hace a question - why MSSQL behaves in this way and which type conversions actually occured in my sample?


Connect Galaxy S3 to Wi-Fi ad hoc network

Are there any tricks/tips to connect my Samsung Galaxy S3 to Wi-Fi ad hoc network shared by my laptop?


As a Linux newcomer that really wants to understand Linux rather than just work with it automatically, I understand that the term "Shell" basically describes a software layer which is above the kernel that includes services that can run and be manipulated by utilities much more "easily" then the kernel can. If I understand correct, web server software (such as Apache, MySQL and PHP) are titillates written in "high" programming languages and can use shell software pieces to operate together as a "Web Server" so that software from both layers will compromise that "Web server". If so, what is the difference between this software layer named "Shell" to the terminal I use in Ubuntu ? It seems to me that either there are two "Contexts" to the phrase "Shell" In Linux, or the terminal (such as Bash terminal) is mistakenly called "Shell" by some users.


Can I write into an NTFS system from Linux?

I have two hard drives, one have Arch Linux and the other one Windows 10, I know I can't write from W10 to linux (although there are applications for that but is not recommended). But what about writing from Linux to W10? I mean I actually write from Linux to my NTFS external hard drive all the time, but I wanted to ask this just in case that there were some differences between an external hard drive (which is just for storing files) and a normal hard drive which have an OS installed (in this case windows 10).


Proving that cartesian product is a group

I need to prove that $(\mathbb{Z}_2,+)\times (\mathbb{Z}_2,+)$ is a group. Now, I am familiar with the conditions of being a group, but still, I can't see how can I show that she has a natural number, the existence of opposite numbers, etc... My idea by intuition was to show that  $(\mathbb{Z}_2,+)$ is a group, and therefore his cartesian product by itself is a group, but I don't know of such theorem. Thanks!


How to prove that the sum and product of two algebraic numbers is algebraic?

Suppose $E/F$ is a field extension and $\alpha, \beta \in E$ are algebraic over $F$. Then it is not too hard to see that when $\alpha$ is nonzero, $1/\alpha$ is also algebraic. If $a_0 + a_1\alpha + \cdots + a_n \alpha^n = 0$, then dividing by $\alpha^{n}$ gives $$a_0\frac{1}{\alpha^n} + a_1\frac{1}{\alpha^{n-1}} + \cdots + a_n = 0.$$     Is there a similar elementary way to show that $\alpha + \beta$ and $\alpha \beta$ are also algebraic (i.e. finding an explicit formula for a polynomial that has $\alpha + \beta$ or $\alpha\beta$ as its root)?    The only proof I know for this fact is the one where you show that $F(\alpha, \beta) / F$ is a finite field extension and thus an algebraic extension.


I am very good at modelling but now I need T-pose male, female, animals and vehicles blueprint. Please suggest me websites to get a front and a side view of real-world objects. What I need right now is the front, side and top view of T-posed female. I know it is not a blender question but I wanted to ask this to a community familiar with 3D. I am not sure of the tags I have used.


Ubuntu 16.04 doesn't seem to see my gtx 1060 gpu

Hi :) I've recently bought a new PC with Palit GeForce GTX 1060 6GB Dual video card. Unfortunately, it seems like Ubuntu has some problems with it. When I type "sudo lshw -C display", I get this message:    *-display UNCLAIMED    description: VGA compatible controller    product: NVIDIA Corporation    vendor: NVIDIA Corporation    physical id: 0    bus info: pci@0000:01:00.0    version: a1    width: 64 bits    clock: 33MHz    capabilities: pm msi pciexpress vga_controller cap_list    configuration: latency=0    resources: memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:f7000000-f707ffff    *-display    description: VGA compatible controller    product: Sky Lake Integrated Graphics    vendor: Intel Corporation    physical id: 2    bus info: pci@0000:00:02.0    version: 06    width: 64 bits    clock: 33MHz    capabilities: pciexpress msi pm vga_controller bus_master cap_list rom    configuration: driver=i915_bpo latency=0    resources: irq:124 memory:f5000000-f5ffffff memory:d0000000-dfffffff ioport:f000(size=64)    and when I go to "Additional drivers", I get this:


How to install free software with Software without registration?

I tried to install Arduino IDE software through 'Software'-named software in ubuntu. It failed with message 'authentication was required'. I think Linux is free software. Why I need to register? Who collect that information and what purpose? Then I tried to register and it was successfull but this stupidly named 'Software'-software does not accept my password. Why? Why I need to register for free software? I have been used Ubuntu for years and not never before needed to register anywhere. How I can break that software registration so that I can again freely use Ubuntu?  And, why this forum forces to use tags on this post? And then it does not allow tags like 'install', 'software' or 'ubuntu-should-be-free'... First I tried to post question to ubuntu forum, but it was read only! What sense is that?


Buckle up kids, it's story time.. and this is a good one.  So about a week ago I sold my iPhone 6s Plus on eBay to an older couple in Ohio. I erased my phone, made sure it was unlocked from my iCloud account and off it went in the mail. Well sure enough the couple contacted me claiming that the iPhone was "iCloud locked." Seeing as the eBay account had a very high positive feedback rate, I was kind enough to talk to them on the phone to walk through the unlocking process.  Well, that didn't work. They kept claiming it was STILL locked despite me letting them have a modified simple password for my iCloud account for one-time use. So a few days later they got a refund and I got my iPhone back.  After receiving the phone I made sure it was mine. I checked the IMEI number on the box and compared it with the phone. They are the same. I also cross-checked the serial number and is the same serial number. This is in fact the very phone I shipped to them a week ago and it is now back in my possession.  PHEW! So here is where the issue comes in. I booted the phone and connected to my WiFi network to find out that the phone is IN FACT iCloud locked... but not on my account. Instead it is locked to a COMPLETELY FOREIGN iCloud account (email starting with the letter q).  So good god wouldn't you know it, this phone, which is mine, and is verified to by my ORIGINAL PHONE, has been locked by SOMEBODY ELSE (presumably the couple that had the iPhone for a few days).   So here is the deal, I have an iCloud backup of this phone, but I am not sure if it will even let me restore to that (can anyone verify?). I will try this on my own soon and report back as well. I also have this phone under Apple Care+ and have proof of purchase. In a worst case scenario, would Apple allow me to exchange it?  Finally, does anyone have any advice to get me out of this hell?  UPDATE  Ok everyone... the problem just got weirder.  I got the phone back and took it to Apple. I was able to verify the phone was mine and the Apple Genius at the Apple Store unlocked my phone from iCloud and I was on my way. We verified it was completely untied to an Apple account and I re-sold the phone.  Well... the new individual got the phone. And after a day of use, she called me directly and said it was iCloud locked to an account that started with a q. Just like the original buyers. She was more investigative and called Apple, and that is where things got weird.  The Apple representative on the phone looked up the serial number of the phone, and it turns out that during transit from my house to her house, an iPhone with my exact same serial number was checked into an Apple Store in NYC (via mail) and replaced for a cracked screen. The screen replacement came out of my Apple Care+ as well. It appears my SN was somehow duplicated on a different iPhone and this is being abused somehow. If anyone else has experienced this please let me know.


A field Isomorphism $f:\mathbb{C} \rightarrow \mathbb{C}$

Any suggestions for a field Isomorphism $f:\mathbb{C} \rightarrow \mathbb{C}$ other than the identity map?


Hi while trying to get the drivers for my "EDIMAX AC600 Dual-Band High Gain Wi-Fi USB Adapter" I run into the following problem:  After sudo apt-get install build-essential  and cd /home/"USERNAME"  I try to tar vxzf rtl8812AU_linux_v4.2.0_6952.20130315.tar.gz  but I get:  tar (child): rtl8812AU_linux_v4.2.0_6952.20130315.tar.gz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now   as result  I can't find the folder where it is supossed to be, the sudo apt-get doesn't show me where it put it.  I am Running Xubuntu and I'm totally new to it, borrowed that laptop a week ago for my travels.  Thank your for you attention


Give a bijection that maps from $[-1,1]$ to $\mathbb{R}$

So I'm supposed to come up with a bijection that fulfills the criteria above but I have no idea how to approach this problem. I know that $f(x)=\tan(\frac{\pi}{2}x)$ would work if the domain was restricted to $(-1,1)$ but I don't know how to expand this to include the endpoints of the interval? Any hints in the right direction appreciated!! EDIT: I also know that no such continuous map exists but just don't know an alternate approach or how to split the problem up.


I am designing a comparator circuit based on a simple opamp (not a dedicated comparator). But, I read that using an opamp as a comnparator is foolish and undesirable. Why so ? A comparator is nothing but an opamp. WHat is the reason? Also, the reference I am giving a voltage via voltage divider and a Zener. This is shown in fig below -  This zener will make sure that the voltage at inverting terminal is constant 3V. The other input is fed ideally 3V and when it shoots up to , say 5V, the output of the opamp goes high to 5V. Now, in one of my posts it was stated that there should not be a resistor in parallel with zener . Why so ? If I dont step it down how can the refernce voltage work ?


I have two shell script abc.sh and def.sh. abc.sh executes def.sh inside it and the control comes back to abc.sh through a return statement.  I have an echo command followed by an exit command which is apparently not working.  Below you will see content for abc.sh  sleep 60; bash ./gen_files/def.sh ./gen_files/regress_rpt_1_0.txt sleep 60; bash ./gen_files/def.sh ./gen_files/regress_rpt_1_1.txt sleep 10; echo "COMPLETED **** EXITING NOW ****"; exit 0;   Please find the content for def.sh  #!/bin/bash  function build_status()               {                 FILE=$1                 if test -f "$FILE"; then                   echo "$FILE File Exists"                   if `grep -q "Build Job" $FILE`;then                     echo "Build found,Continuing to next launch statement"                     return                   else                     echo "Build Not Found,Waiting for the build"                     sleep 120                     build_status $FILE                   fi                 else                   echo "$FILE Not Found"                   #build_status $FILE                 fi               }             FILE=$1             build_status $FILE   I expect the script to exit after the print COMPLETED **** EXITING NOW **** and come back to terminal. However what I am seeing now is the script doesn't exit by its own. I can see the print in the terminal and shell script is still running with no activity


There are many actions that create persistent zones and have a trigger for their effect of among others: "...enters the zone..." What are the things that qualify as entering the zone?  Things that would seem to fit this would be:   Willing movement into the zone. Forced movement into the zone. Teleporting into the zone. Appearing inside the zone. Having the zone moved to include the square you occupy.   Do any of those listed not count as having entered the zone and why? And are there any that are not listed that would count as having entered the zone?  This is for D&D 4e.


I work three days a week and need to set an out of office for Mondays and Thursdays, but I do not remember to set it each Friday and Wednesday before I leave. Can I set up a recurring out of office for just these days?


Let $f: [0, \infty) \to [0,\infty)$ be concave, meaning;  $$ f(tx + (1-t)y) \ge tf(x) + (1-t)f(y)$$  for $t \in [0,1]$. Also, assume $f(0) = 0$. I trying to show $f(x+y) \le f(x) + f(y)$ but I fail. Is there any advise you can give me for help? I appreciate.


No matter where I look, I just can't find gnome number [insert number here]. Where can I find every gnome in the game?


Given distance (in meters) what is the angle in geographic reference systems?

In QGIS and other systems sometimes I have a layer in geographic reference system (typically WGS84, EPSG:4326) and I'd like to calculate a buffer of say 5000m around a point.  So, given a point coordinate (lat/lon) and a distance (in meters), what is the geographic length (angle) in a geographic reference system (for geographic lengths shorter than 180 degrees)?  I'm referring to two implementations (QGIS, postgis.net/docs/ST_Buffer.html ) which offer just that one "buffer radius" parameter.   Remarks:   - I'm aware of Cosine Formula and Vincenty (like question 109562) but    can't resolve the formulas to angle.  - For the solution I prefer standalone implementations, say in Excel, pl/pgsql, Python or R.


Is a transit visa required for layover in Montreal?

I am a student from India. I have a study permit (temporary resident visa). I was just checking a flight from New Delhi to Toronto. One of the flights I was interested in was New Delhi -> London, London -> Montreal, Montreal -> Toronto.  In Montreal it says I require a transit visa. Do I really need it even though I have a student permit?


Shallow underwater wireless sensor network

I need to make shallow (max 2m) underwater wireless sensor network. Data payload is about 10kB/s. I know that VLF band (~3-30kHz)could be the best solutions for that, but cause of time-to-market I cannot make hardware and software from the ground.   Maybe someone could share own-self experience in this filed.  If band 100-900MHz could be enough to send 10kB/s from one device to another - from 2m underwater to over a dozen cm from water surface?  Maybe some IC for ultrasonic communication exist? Another ideas?  Thanks


I need to apply a query hint (like NOWAIT or NOLOCK) to the CROSS APPLY in this query. How do I do it: SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;  SELECT * FROM sys.objects obj WITH (NOLOCK)  INNER JOIN sys.stats stat WITH (NOLOCK) ON stat.object_id = obj.object_id   CROSS APPLY sys.dm_db_stats_properties(stat.object_id, stat.stats_id) sp  I don't have access to the function contents (for obvious reasons.) I went ahead and removed the repro from the question to make it more clear. I'm less concerned about the ability to reproduce the blocking. (It's also happening at customer environments, and in the First Responder Kit in issue # 2548.)


I can't seem to know how to concatenate two char pointer strings using strcat, is it not correct?

I can't concatenate two pointer strings using strcat, is it not possible?  I tried using them like strcat(s1,s2), and strcat(*s1,*s2), and all and it still doesn't work.  char *s1="Hello"; char *s2="Bye"; printf("%s\n",s1); strcat(s1,s2); printf("%s",s1);   When I run it prints the first "Hello" that is before the strcat, but the code doesn't display the remaining output and doesn't return 0.


how to get c, c++, and java compilers in linux ubuntu?

I installed Ubuntu on windows 7 using wubi software, now i want to practice c,c++ and java programming. As I am new to Ubuntu, I don't know how to get those compilers. I saw so many comments on google search. there they mentioned commands sudo apt-get install build essential, but i don't have cd - I installed ubuntu through wubi. So can you please guide me how to get those.  Kind Regards Munisekhar


I'm Turkish however my english not so good :D Ok , I was installed Ati Radeon Mobility Xpress Driver , After that I restarted . After enter password , screen get dark and I seed background image and desktop elements but I couldn't  see menu on left and top menu :/ here so you understand you're going good :) Do you can help me  Thanks  LlS|DarkBOY


Erase old iPhone - forgotten restrictions passcode and no WiFi

I have an old iPhone 4 that has been sitting unused since I got my new phone - it has now sold and I have to clean it out so it's ready for the next person.  Here's the problem:   The wifi doesn't work and the phone's inactivated (so I can't get online). It is asking for a restrictions passcode I don't ever remember setting.   I tried the default (0000) but no luck. What can I do to get this phone back to factory settings?


The universe is said to have begun as a singularity, but how do we know nothing else existed?

When I imagine the big bang, I first imagine a tiny ball surrounded by black void. Then the ball explodes and the universe begins. I assume most physicists have the same basic idea.  But how do we know nothing was around that tiny ball when it exploded? It seems like any existing energy/matter at the time of the big bang would have become mixed up with the energy/matter from the singularity, thus rendering it indistinguishable. That means something else could have existed at the time of the big bang, but we can't say for sure.   Has this been ruled out? If so, why? If not, how is it taken into account?


Reinstall 14.04.2 without erasing? Need to fix keyboard/mouse drivers

Short version: where did the Reinstall without erasing option go?  A friend's machine has been running 14.04 for almost a year. Some time in the last week or so the keyboard and mouse stopped working. I have tried both PS/2 and USB types and neither work with his current setup. However, it's clearly not a hardware issue because if I put in a Live CD everything works great.  I tried using the "Install Ubuntu" icon on the desktop top, but the only options it offers appear to be Erase the existing install, including /home and all of the installed software.  I have found references on the net (e.g. ) that show pictures where the first option is to reinstall and preserve home directories and installed programs, but an ISO downloaded this morning does not give me that option.  I'm sure I'm missing something obvious.


Reduction Integration of $I_n=\int{\frac{x^n}{\sqrt{x^2+a^2}} dx}$

How do I derive this using reduction formula?  $$I_n=\int{\frac{x^n}{\sqrt{x^2+a^2}} dx}$$  I got $\sqrt{x^2+a^2}(x^n) - \frac{1}{n-1}(x^{n-1})\sqrt{x^2+a^2} + \frac{1}{n-1}(I_n) $ . I'm not too sure if this is correct. I would appreciate any form of help or correction to my answer. Thank you.


What statistical distribution test to use for comparing Dataset and its subset?

I have two sets, A and B ,containing height of students. Set A contains height of all students in the class and Set B contains height of some students from the same class. Hence, Set B is a subset of Set A.  I am interested in finding whether the distribution of Set B is same as that of Set A or not and do hypothesis testing on it. But am unsure of what test (KS, Mann-Whitney, etc.) to use given the relation between Set A and Set B.  It would be great to know what test to use and rationale behind it.  Edit: A  focuses on mean comparison but it differs in a way that this question is asking for suggestions on tests that compares the distribution which may or may not depend on mean comparison.


When I try to log into Minecraft it connects online and my skin is there in single player but when I try to go onto a server it says bad login (If I try to login on Minecraft.net it lets me)


What happened after the Ring was dropped into Mount Doom?

In the Peter Jackson movie, once the One Ring is thrown into the volcano in Mount Doom, why does the mountain and tower collapse, and the ground disappears everywhere where the orcs are standing but not where the humans are? Where are all the orcs running to, what do they do next?


overbrace/underbrace but with an arrow instead

Is there a similar command to \overbrace{foo}^{bar} but instead of braces, an arrow pointing up/down?  EDIT: Here's a little demonstration of how I'd expect something like this to work:    And possible syntax would be \overarrow{a=b}^{\text{theorem X}}


Start Button won't show Start Menu on Windows 10

I am not sure what started this, but my start button, when pressed won't show the start menu button. The start menu also won't show when pressing on the windows button. This issue also affects some buttons on the taskbar, like the Network, Time, Sound and some others that usually gives a popup, but now does nothing when pressed.  After  around, I tried some suggestions online, and found out that sfc reported that I have corrupted files (Error messsage: Windows Resource Protection found corrupt files but was unable to fix some (or all) of them).  sfc /scannow   Running dism also fails (Error message: Error: 0x800f081f. The source files could not be found.). Since I don't have the installation media, this isn't a good option as for now.  DISM /Online /Cleanup-Image /RestoreHealth   Trying it on another user, shows that start menu still works fine which indicates the issue is not actually with Windows itself, but my account (connected to Live).  Assuming that I don't want to go to drastic measures like doing a Refresh, or changing accounts, is there a way to solve this?  Update: I don't think it is a , since the answer given seems to be outdated according to the source I used above, it gives issues when executed from builds after November. I am currently using the latest build. Also, according to the given answer there, the solution is to execute command via powershell to reinstall packages. Doing only that part doesn't resolve the issue, in my case. (See comment below).


It is possible to connect amplifier output of speakers to my PC?

Can I connect the sound that was destinated to speakers from an amplifier to a PC sound card line-in? Won't my sound card burn? I don't have any other outputs on amplifier (line-out or headphones) and I don't have any other way to obtain that sound. Thanks


Why quotient of a division is different than sum of quotients of dividends and divisors, which sums makes the real dividend and divisor

For example if you divide 56 to 14 result is 4 56 / 14 = 4 But when you have 56 and 14 in separate numbers, the sum of their quotients is not same as the above one. 14 / 2 = 7 16 / 2 = 8 8 / 4 = 2 9 / 3 = 3 9 / 3 = 3 Sum of dividends -> (14 + 16 + 8 + 9 +9) = 56 Sum of dividers -> (2 + 2 + 4 + 3 + 3) = 14 Sum of quotients -> (7 + 8 + 2 + 3 + 3) = 23 Here the sum of quotients is 23, NOT 4 Even after divide 23 to count of operation (5 in our case) the result is 4.6 not 4 I am sorry for my bad explanation


When is it OK to start a sentence with "But"?

Is starting a sentence with a "But" still bad? I know some Harvard graduates who are native English speakers and do this when they write. Is it acceptable now?  What are some of the examples where "But" is and is not acceptable?  Is there ever a situation when replacing a "But" with "However" makes the sentence better?


If $k, m, n$, are natural numbers and $k \leq n$ What is the final answer of this :

If $k, m, n$, are natural numbers and $k \leq n$ What is the final answer of this:  $$\sum_{r=0}^{m}\frac{k\binom{m}{r}\binom{n}{k}}{(r+k)\binom{m+n}{r+k}}$$


My mother and I recently both got visit visa refusal, although we have visited the UK 6-7 times and never got any refusal.  The refusal point for my mum was that:     in your previous application you have stated that you intend to stay   in UK for a period of one month, however you remained in the UK for   more than 4 months and you have not mentioned the reason why you   stayed for this long period.   The reason we stayed there for more than the intended period was that my brother was buying property and he wanted my mum and dad to receive the keys and step in the house first. They left the UK one week after he got the house keys and documents etc. Also, the EID festivals fell in the same dates, which we wanted to celebrate together.  My refusal point was that, in addition to the above mentioned point of length of stay, I provided employment letter and salary slips but my bank statement does not show the monthly salary. My company pays cash if the salary is less than Rupees 50,000/- so it's not showing in my bank statement.  How can I prove my employment? Can I add some office pictures, a letter from my employer that they are paying my in cash, pictures of some conferences and training I participate in? Any other ideas?


Why is Edward Elric known as the 'Fullmetal Alchemist' not simply as 'Metal Alchemist'? Is there any reason besides the names sounding better?  I've only watched the 2nd episode of FMA brotherhood.


Redirect all subsequent commands' stderr using exec

I have a bash file that I need to redirect all output to one file, debug log as well as to the terminal. I need to redirect both stdout and stderr to the debug and log it for all commands in the script.  I do not want to add 2>&1 | tee -a $DEBUG for every single command in the file. I could live with | tee -a $DEBUG.  I remember there was a way to do it with something like exec 2>&1.  Currently I'm using something like the following:  #!/bin/bash DEBUGLOG=/tmp/debug exec 2>&1 somecommand | tee -a $DEBUGLOG somecommand2 | tee -a $DEBUGLOG somecommand3 | tee -a $DEBUGLOG   but it does not work. Does anyone have a solution/can explain the cause?


What Ubuntu can I run on my PowerEdge 840?

So I recently got my hands on a old Dell PowerEdge 840 With a Intel Pentium D Processor with a whopping speed at 3.00 GHz, in the bios it says that the system memory is 1024 MB ECC DDR2 even though I should have 2GB.. Anyways, I've tried booting it up with Windows 8.1, Ubuntu Desktop 16.4 and Windows Server 2003, the only thing that actually went through the boot screen was the windows server, the other ones gave me an error saying "No boot device available" when trying to boot them, I would assume its because this machine doesnt support windows 8.1 and ubuntu desktop? Im new to this so there might of been a few flaws in what I just wrote.


I tried to search about adding a database to my android application but all solutions I found create a database at run time and start inserting and selecting from that database.   What I need is to add a database to my android application before run time because my database has data inside so I don't need to create an empty database once the application is run.  Thanks anyway.


How do I make a bottle image transparent?

I've taken some stock photography of lots of clear bottles, and now want to remove the background (which is white-ish, because at a pinch I could leave it...) so that the bottle becomes transparent with highlighting.  My bottles are clear with different colored liquids with multiple refraction and reflection surfaces.  I am looking for a background color subtraction effect that will allow me to get to transparent (hopefully with some sort of effect/opacity slider).  Ideas that I can't pull off yet:   Combine layer with a color fill layer (keyed off the "transparent color") in some manner to produce some output that could be used as the starting point of a layer mask Same layer combination as above, but somehow translating "pure white" to transparency.   Notes for what doesn't work (Photoshop terminology):   "Color Range" and delete (fuzzy select, but not graded/alpha) - results in harsh lines and only leaves the pure white and dark highlights and shadow refractions/reflections Magic wand selections for the same reason "Background Eraser" because although it is able to only subtract a certain color and leave "the rest", it (like all tolerance based tools) eventually hits a colour slightly outside of the range that it just won't touch.   I'll add more if I can remember what I've found


What is the physical meaning of $\epsilon_0$?

I was reading some information about the constant of electromagnetism  $\epsilon_0$ $[\frac{C^2}{N\cdot M^2}]$ and according to my understanding it is the amount how much electric field is permitted in the space (vacuum). I do not understand this idea so much and I would like for an example in real life when the $\epsilon_0$ plays role.


Is there a good app/service for listening to private audio files?

I have a lot of audio lecture mp3 files. They tend to run 30-90 minutes long. I've uploaded many of them to Google Play Music, and listen to them on my Mac and iPhone using the Google Play Music web site or app. It works okay, but the main problem is it doesn't have 15-second rewind/forward buttons in case I want to hear something again. Is there an app that would be better for that, particularly that can use iCloud or some cloud service that can store all these files to make syncing easier? It seems that Apple Music / iTunes might work okay for listening on iPad, since the Apple Music iPad app has a 15-second rewind button, but the iPhone and Mac apps do not have this button. The Podcasts app functionality works nice, but I don't think it supports private uploads.


"You should be well-organised" or "You should be well organised"?

Should I hyphenate the term 'well organised'? The context, if it matters, is the following sentence:     For this role you should be well organised and analytical with some research ability.   (I see there are other question here about hyphenation; do point me to one if this falls under a general rule, I just couldn't see it.)