You didn't miss me, right? (possible answer with correct use of English)

A)  No, I didn't miss you.  B)  Yes, I didn't miss you.  C)  No, I did miss you.  D)  Yes, I did miss you.  According to my common sense perfect answers can be C) and B) only, and reason behind it is-  "didn't" is used/asked in the question, so if the person answering the question agrees with the person asking the question he will probably say "Yes, I didn't miss you," and if he does not agree he should answer "No, I did miss you."  I have checked online everywhere and all four are treated as correct. So, just asking to the experts present here for their views on this, in any context of English language or usage.  EDIT1 : Actually i was hoping that the SPEAKER Of QUESTION can tweak the question to get the desired answers only( only (B), and (C) in my case).But, the English seems to be weak to me after reading all the answers and responses from the experts,as the SPEAKER OF ANSWER totally has the control of the responses and he can speak any of the all four answers A,B,C,D.  What if the question asked was :  Do you miss me a little?   OR Did you miss me a little?    OR SIMPLY Did you miss me?  I guess again all the previous answers A,B,C,D are correct. ;-)


Does Ubuntu come with a free Anti-Virus? I can not seem to find one. Does it have one or does it not? When I looked on the website and on searches it said nothing about this.


Google listing results from "stackoverflow.com.exactgo.com"?

I recently did a google search which resulted in links to a domain "stackoverflow.com.exactgo.com". If I enter the "Exactgo.com" domain into the browser, reddit.com content is displayed.  I am not sure if this is a phish/fraud or anything similar but I would think that the management of stackexchange might not be too happy about this - provided that the domain does not belong to them.  Here is the google query in question:    one of the results point to:     If you want to see more results, simply google for "what is exactgo.com", most of the results are similarly redirected stackexchange network pages.


Show $\lvert f\rvert\leq\lvert g\rvert\Rightarrow f=cg$

Let $f$ and $g$ be entire functions with $\lvert f\rvert\leq\lvert g\rvert$. Show that then $$ f=cg  $$     for a constant $c\in\mathbb{C}$.      Can I just do it like this:  $\lvert f(z)\rvert\leq\sup\limits_{z\in\mathbb{C}}\lvert g(z)\rvert$, so f is limited and therefore constant (Liouville), i.e. $f(z)=c~\forall~z\in\mathbb{C}$.   $c=0$: Then $0=f(z)=0\cdot g(z)$ $c\neq 0$: Then $g(z)\neq 0$ and therefore $\frac{f(z)}{g(z)}$ is defined. This is an entire function because $f$ and $g$ are entire function and it is  $$ \left\lvert\frac{f(z)}{g(z)}\right\rvert=\frac{\lvert f(z)\rvert}{\lvert g(z)\rvert}\leq 1, $$ so $\frac{f(z)}{g(z)}$ is a bounded entire function and therefore constant, lets say for a $d\in\mathbb{C}$ $$ \frac{f(z)}{g(z)}=d~\forall~z\in\mathbb{C}\Leftrightarrow f(z)=d\cdot g(z). $$   This is my proof. Is it okay or does one need a special sentence for this proof?


expression must have arithmetic or unscoped enum type C++

I am trying to make a password prompt using C++. My code is given below: #include <iostream> #include <string> std::string operator * (std::string a, unsigned int b) {     std::string output = "";     while (b--) {         output += a;     }     return output; } int main(){     std::string pword;     std::string user;     std::cout << "Enter username: ";     std::cin >> user;     std::cout << "Enter password for user '" << user << "': ";     std::cin >> pword;     std::string pword_asterix = ("*") * pword.length();  // ERROR     std::clog << "Noted user '" << user << "' and password '" << pword_asterix << "'.";  But I'm getting the following error from Visual Studio Code:  expression must have arithmetic or unscoped enum type(Line 17)  What should I do?


Is there a way to start a PC with Ubuntu from the Keyboard? Because my button "Power" is broken.


Lately, I've seen many people use  sudo apt   instead of  sudo apt-get   Also, Ubuntu keeps telling me to install things by sudo apt  The program 'foo' is currently not installed. You can install it by typing: sudo apt install foo   (remember, foo is placeholder, not an app)  So, after this popularity in the community about using apt instead of apt-get, I'm starting to think that apt-get is deprecated and can no longer be used in my bash programs.   In my bash programs,   do I have to replace all apt-get commands with apt? is apt-get dangerous? will my programs still work?


Derivative of Adjugate Matrix, $\frac{d^i}{dx^i}\operatorname {Adj}(x \mathbf I - \mathbf A)$

Let $\mathbf A$ denote an $n \times n$ matrix with $r=\operatorname{rank}\mathbf A$ and define $$ \mathbf B_i(x) \equiv \frac{d^i}{dx^i}\operatorname {Adj}(x \mathbf I - \mathbf A). $$ Conjecture:     If $n - r \ge 2$, then    $$ \mathbf B_i(0)= \mathbf 0, \quad \text{for all } i \in \{0,...,n-r-2\}.  $$


I've been starting to play around with some properties of groups, and I wanted to prove this claim to make things simpler for me in the future. If $G$ is closed under and operation $\cdot$ that is also associative, I want to show that $\forall a_1, a_2, ..., a_n \in G$, no matter how I choose to bracket $a_1 \cdot a_2 \cdot ... \cdot a_n$ while retaining the order, I will end up with the same element in $G.$ My friend told me that induction on the number of terms would probably be my best bet, and I see how the $n = 1 \wedge n = 2$ cases are trivial with the $n = 3$ case implied by associativity. However I am having some problems Figuring out how to work out the induction step. It seems to me that my induction hypothesis is not helping me when proving for brackets that include the $n+1$th element together with the $n$th element.


How do I select an id nested inside a data attribute using jQuery?

I have a delete button that when clicked triggers a popover. In that popover I have the real link doing the deleting. I want to select the id of the link inside that data-content(Bootstrap) of of the popover. I have multiple elements on a page that could be deleted so I don't know their IDs beforehand but they have the same class, so I generate an ID, then use $(this).attr('id') to select the particular delete link. This is the popover button and the link inside the data-content <button tabindex="0" role="button" class="btn btn-danger btn-sm" data-toggle="popover"               data-placement="top" data-html="true" data-content="Delete Draw">Delete Draw </button>  Now this is the jquery code $(".delete-draw").click(function () {     event.preventDefault();     var drawId = $(this).attr("id");     // make ajax delete call  });  If I move the id and .delete-draw class to the outer popover button, it works well. So I'm thinking it has to do with the id of the a tag being nested in another data-attribute


How do I prevent my Mac laptop from quitting applications trying to logout?

If I leave my computer alone for some 1-2 hours, I don't know exactly how long, it tries to logout. But I have terminal programs running (CLI tools fetching data from FTP, or doing processing of some kind, etc.), so the computer never fully logs out. I don't want it to logout though, I want it to stay logged in. It's also quitting the browser and my text editor, which I don't want it to do. What settings do I change? In System Preferences, I clicked "Start after: Never". I put Energy Saver to never sleep with or without battery. But I don't know what else to change to get it to not log out. Maybe this helps:


If $H_1, H_2\leq G$ are such that $H_1\cong H_2$ then $G/H_1\cong G/H_2$?

Let $G$ be a group and $H_1$ and $H_2$ be two subgroups of $G$. Is it true that if $H_1$ is isomorphic to $H_2$ then $G/H_1$ is isomorphic to $G/H_2$? If that is not true then in what conditions that holds? Any help will be useful.. Thanks


Why does pair production of an electron and positron only needs 1 photon whereas their annihilation releases 2 photons?

I know that in particle annihilation, for momentum to be conserved, we have to create a minimum of 2 photons moving in the opposite direction. According to Wikipedia:  Pair production often refers specifically to a photon creating an electron-positron pair near a nucleus.  My question is not why are 2 photons released during the annihilation of positron and electron, I know that 2 photons are released because there is a need to converse momentum. My question is: why does only one gamma-ray is needed to produce 2 particles, 1 positron and 1 electron?


Using Ununtu 12.04, and recently got a message that disk space is running out. Ran the Disk Usage Analyzer, which froze. After some research, I see a directory in ~ called "9fybsyiikg" which is 1065357312 bytes.  I tried opening that folder in the file manager, and nothing happens. I tried lsing in, and nothing happens.  And then I tried rm -rf 9fybsyiikg, and nothing happens.  Any ideas what this directory may be, and how to get rid of it?


Not able to locate the web element with partial xpath and text

I have web element set like below ..
              My Team
   There, the number in GHC1 change depending on place, but text "My Team" is unique for particular set of element.  I tried to locate it with   By.XPATH,'//*[contains(@id,"ctl00_LeftPanel_LeftNavigationMenu_nbMenu_GHC") AND contains(text()="My Team")]'   But failed. How to do that correctly ? can not use by.text since "My Team" text could be exist in other parts of web page.


How to know the users connected in an Ubuntu 18.04 / xrdp

I have an Ubuntu 18.04 that allows xrdp connections.  Users normally connect via an rdp client, but I would like to know who is connected at any given time.  I tried who , w , etc. but those commands never show the xrdp users.  I would appreciate any help.


What would happen if I rotated an extremely long stick?

(Exclude all movements of myself) Imagine I had a straight stick that reached far out in the universe.   If I rotated that stick, what would happen to the speed of the stick and its shape?  (First edit) These questions are difficult to ask because there will always be conditions that people are asking for. I will try to explain what I am interested about.  Question We have this unimaginably long stick that is made of a material that cannot be bent and weighs nothing. I am out in the universe holding this stick, and if you would zoom out on the universe you could see this straight stick. Now, if I started to rotate this stick, what would happen to the sticks speed and shape (seen from the persons view that is zoomed out of the universe)?.  I am asking since the speed should increase the further away it is from me. What would happen at the area and beyond that is starting to approach the speed of light. If the stick would appear to bend (as seen from the guy zoomed out) what would happen if I stopped rotating the stick? Would it be forever bent as seen from the guy zoomed out?


Let $A \in \mathbb{R}^{n \times n}$ be nonsymmetric positive definite, if $A$ can be decomposed as $A = A_1 \oplus A_2$, where $A_1 \in \mathbb{R}^{p \times p}$ and $A_2 \in \mathbb{R}^{q \times q}$, $p+q=n$,  it is known that \begin{align} W(A) = Co(W(A_1) \cup W(A_2)) \end{align} where $W(A) = \left\{\frac{(Av,v)}{(v,v)}, 0 \ne v \in \mathbb{C}^n \right\}$ is the numerical range anc $Co()$ is the convex hull.  Is there a similar property for when $A = R_1^T A_1 R_1 + R_2^T A_2 R_2$ but $p + q > n$?  $R_1:\mathbb{R}^n \rightarrow \mathbb{R}^p$ and $R_2:\mathbb{R}^n \rightarrow \mathbb{R}^q$ are orthogonal projections such that their ranges have a non null intersection and the union of their ranges is $\mathbb{R}^n$, i.e. $R_1 R_2 \ne \varnothing$, $R_2 R_1 \ne \varnothing$ and $R_1^TR_1 + R_2^T R_2$ has full rank.  I know of $W(A) \subseteq W(R_1^T A_1 R_1) + W(R_2^T A_2 R_2)$ where the sum is element-wise. But I know that if $A_1$ has no kernel in $\mathbb{R}^p$ and $A_2$ has no kernel in $\mathbb{R}^q$, then $A$ has no kernel in $\mathbb{R}^n$, and this doesn't show up in the formula since $R_1^T A_1 R_1$ and $R_2^T A_2 R_2$ obviously have a kernel in $\mathbb{R}^n$.


Convergence of a sequence defined by a recurrence inequality

Let $(u_n)$ be a sequence of real numbers with the following property \begin{eqnarray*} \forall\,m,n\ge1,\quad u_{m+n}\le \frac{m}{m+n}u_m+\frac{n}{m+n}u_n \end{eqnarray*} Is it true that $(u_n)$ converges to $\inf u_n$ which is either $-\infty$ or a finite $u\in\mathbb{R}$? There's no obvious monotonicity property that I was able to use. It's not hard to see that $u_{2n}\le u_n$, but I was unable to make any use of it. My attempts to show that $(u_n)$ is Cauchy were not successful. Neither was my attempt to prove that $(u_{2n})$ and $(u_{2n+1})$ are convergent. Any hints would be appreciated.


Inverse of $I+BA$ is $(I+BA)^{-1} = I-B(I+AB)^{-1}A$

Assume $I+AB$ is invertible, prove then that $I+BA$ is invertible and $(I+BA)^{-1} = I-B(I+AB)^{-1}A$.    My work:  $(I+AB)(I+AB)^{-1} =  I$  $B(I+AB)(I+AB)^{-1} = B $  $(I+BA)B(I+AB)^{-1} = B$  $(I+BA)B(I+AB)^{-1}B^{-1} = I$  Thus $(I+BA)$ is invertible and $B(I+AB)^{-1}B^{-1}$ is its inverse. But I have no clue how to arrive to the given inverse formula. I feel like I'm missing something. Can anyone help?


Single quote in column name - how to select values

I have a table with a column name that includes a single quote '. I do not manage this table so I cannot change the column name. How do I select a value from my query?  Example: $sql['This Column's Name']


proof $\Vert a\Vert^2\Vert b\Vert^2=\Vert a \times b \Vert^2+\vert a\cdot b\vert^2$

$\Vert a\Vert^2\Vert b\Vert^2=\Vert a \times b \Vert^2+\vert a\cdot b\vert^2$, where a and b are vectors


Let S be an infinite set and A a finite subset. Prove that $|S| = |S -A|$.

I don't know if my solution is correct. This is what I have so far:  Let $S = \{ s_1, s_2,.....\}$ and $S-A = \{a_1, a_2,.....\}$ where all the elements are arranged in an fixed order. let $f(x): S \to A , f(s_i) = a_i$  if I prove $f$ is bijective will my solution be correct?


How to merge multiple Internet connections into one?

My PC has a total of 4 NICs, 2 wired Gigabit Ethernet network cards and also 2 wireless network cards. (One Broadcom with proprietary drivers and Ralink with open source software, which works much better than Broadcom.)  My cellphone can share its connection wirelessly to my PC, but I also have a wired Internet connection. So I have multiple Internet connections to access the Internet. How can I merge 2 or more connections together and balance them to enjoy one unified Internet experience that it is the sum of all Internet connections connected to it.  For example if I have a modem with an Internet connection of 1024kB/s and another one that offers 512kB/s and one small one that offers 128kB/s, after load balancing and merging all connections (Bonding or Teaming), I could download at a speed of 1664kB/s using all 3 Internet connections as one for example.  This question has always intrigued me.


Gamma Function Holomorphic  We consider a proof that shows that the Gamma function $\Gamma(z):= \int_0 ^{\infty}t^{z-1}e^{-t}dt$ is holomorphic on the complex halfplane $\{z \in \mathbb{C} \vert Re(z) >0 \}$:  The proof constructs a function sequence $(I_n)_{n \in \mathbb{N}}$ of holomorphic (?) functions converging to $\Gamma$ for every $z$ with $Re(z) >0$. A theorem from complex analysis says that the limit $\lim_n I(z)_n \to \Gamma(z)$ must be also holomorphic.  In the proof the $I_n$ are defined as  $$I_n := \int_{1/n} ^{n}t^{z-1}e^{-t}dt $$  Question: How to show formally  that all $I_n$ are holomorphic functions on the $Re( z) >0$-halfplane?  Clear is that in each $z \in \{Re>0 \}$ the integral $I_n(z)$ has a finite value. The problem is the integrand $t^{z-1}$: Why is it holomorphic?


I am using Ubuntu Server 16.04. Everytime I log in, I need to manually run my script: /home/user/ini.sh. This script calls other scripts that need sudo permissions, so I get the prompt, insert my password and done. Now I want to configure a way to run the script automatically when the system starts.  I have used crontab -eand added the line  @reboot /home/user/ini.sh   This does not seem to work. I have tried different options as suggested by other users in , ,  or .  @reboot user    /home/user/ini.sh @reboot root    /home/user/ini.sh @reboot sh      /home/user/ini.sh */1 * * * *     /home/user/ini.sh ....   adding SHELL=/bin/bash... But I cannot get it to work. I have also tried  @reboot echo "yes" > /home/user/yes.txt   And the file is created - empty though, with no content inside (this demonstrates something is working but I am making a mistake somewhere).  Where is my error?    EDIT  I have also unsuccessfully tried to sudo crontab -e and use  @reboot root    /home/user/ini.sh


How can I tell Ubuntu 14.10 to do nothing when I close my laptop lid?

The issue is solved temporary using the method in this forum, but only if I have fresh boot, if i suspend my laptop and wake it again, Ubuntu will ignore my rules, and suspend when i close the lid.


Can a multivariate function only have local minimum?

Suppose $U \in \mathbb R^n$ is an open simply connected set and $f: U \to \mathbb R$ is a real valued $C^{\infty}$ function. I am wondering whether the following is possible: $f$ has more than $1$ local minimizers, say $x_1, x_2 \in U$ but does not have any other saddle points or local maximizers.  I believe if $n=1$ this cannot happen but not sure whether things change in higher dimensions.


Take the following code in c++ #include <iostream> #include <math.h>  using namespace std;   int main(){   double one, out;     one = (pow(10, 10) - 1 ) / 9; //1111111111    out = one  * pow(10, 12) + one * 80 + 9;   cout << fixed << out << endl; }  it returns 1111111111088888872960.000000  Variable out should equal 1111111111088888888889. When I paste the following formula in , that equals varialble one (10^10 - 1)/9 * 10^12 + 80 * (10^10 - 1)/9 + 9 the result is correct. Could you tell me where I did a mistake?


Why was suggested edit rejected by Community?

The  corrected formatting issues in the code posted by the OP. In the  you can see line breaks in the code posted.   Most of the time when someone rejects a suggested edit, a proper reason is given, like This edit is too minor; suggested edits should be substantive improvements addressing multiple issues in the post.. Shouldn't  also provide some reason while rejecting suggested edits?  Update Another similar . A reviewer  approves and  rejects (ofcourse without sharing any reasons) !


pyrcc4 command not recognized as internal or external command?

The question has already been asked as  but the answers did not fit my own trouble.   I am trying to create a plug-in. I followed the Qgis Cookbook and when I start the OSGeoW4 shell I type the following code (xxx is the name of the Beta plugin) :  cd c:\Users\Guillaume\.qgis2\python\plugins\xxx   then       make   which doesn't work nor  pyrcc4 -o resources_rc.py resources.qrc   They are not recognized as internal or external command.   So little research lead me to look after the /bin from qgis and I found pyrcc4.exe but no pyrcc4.bat   I have two python version (2.7) one from the ArcGIS package which is working nicely as a shell on pyzo python interpreter, and one downloaded from the python.org.   I'm working with QGIS 2.18.23


Travel to other Schengen countries with Type D Germany national visa

I have been issued Germany National Type D visa but it is never used (no port of entry). Can I travel to other Schengen areas without going to Germany at all on that Visa?


What is the origin of the phrase "pay attention"?

If this were a "modern" phrase, you could (perhaps) justify it based on psychological science, related to the usage of energy by brain activity, including putting attention into something. As such "pay attention" could have emerged as "pay the cost of some mental energy into giving attention to something".   However, it seems this phrase dates at least from half of the XVIII century (axis below from 1600 to 2008):    So, the scientific justification given above might not apply to such phrase. I cannot find any answer for this online (other forums are unhelpful, e.g.  or ).   So, what is the origin of such phrase?  Note: there are several question in this site about when to use that or an alternative expression (e.g. , , and ), which is not what I am asking.


Are static indexers not supported in C#?

I've been trying this a few different ways, but I'm reaching the conclusion that it can't be done. It's a language feature I've enjoyed from other languages in the past. Is it just something I should just write off?


I was just checking the log table and then suddenly It came to my mind that how were log tables made before calculators/computers how did john Napier calculate so precisely the values of $\log(2),\log(5),\log(7)$ etc .   Is it even possible as I can't even estimate how much time it will take me to do this!! Did Napier use any sort of trick??


How did R.A.B get to know about Voldemort's Horcruxes?

Regulus Arcturus Black was a genius who figured out the existence of Voldemort's Horcruxes before anybody else. The question is how? Also which era did he live in? Maybe it happened that he was one of the boys at Slughorn's party when Tom Riddle was told about the Horcruxes? Then he might have overheard...?


Using ArcGIS Field Calculator to create classes in new field?

I first classified firstCol into groups and then I want to give the groups with different weighted values in another field, SecondCol. I will need to give different weighted values very often. I find it very time-consuming whenever I modify the weighted values in my script.    My column looks like this:     I use the following script to calculate the SecondCol:  def TextValue(gridcode): if gridcode <= 5:     return 1 elif  5 < gridcode <= 15:     return 2 elif  15 < gridcode <= 30:     return 3 elif  30 < gridcode <= 40:     return 4 elif  40 < gridcode <= 55:     return 5 elif  55 < gridcode <= 100:     return 6 elif  100 < gridcode :     return 7 else:     return "N/A"  TextValue( !firstCol! )   As you can see, I give the weighted value as below:  (weighted values  ,  group).  1   =   group "firstCol  < 5"     2   =   group "firstCol = 5 - 15"     3   =   group "firstCol = 15 - 30"     4   =   group "firstCol = 30 - 40"  5   =   group "firstCol = 40 - 55"     6   =   group "firstCol = 55 - 100"     7   =   group "firstCol > 100"     I wonder if there is a better way to give new weighted values more efficiently. Like, just give a new column in the beginning of the script.  61  =   group "firstCol  < 5"    8   =   group "firstCol = 5 - 15"     88  =   group "firstCol = 15 - 30"     70  =   group "firstCol = 30 - 40"    52  =   group "firstCol = 40 - 55"     2   =   group "firstCol = 55 - 100"     6   =   group "firstCol > 100"  def TextValue( gridcode): if ... ... else...  TextValue( !firstCol! )   Then, the script will use the new values, instead of me modifying it in the TextValue.


Back up iPhone that can not be unlocked--screen is broken/shattered. Need help!

I left my phone on the roof of my car and drove away on a busy road.  It was hit several times and the screen is broken/shattered and glass comes off of it.  It receives calls/text messages, and the button on the top to turn on/off still works.  The screen is just in such bad shape that it won't register the touch of my finger.  I have an appt with Genius bar in a few hours to get a new phone.  I want to save all my pictures and apps off this phone if possible (I never backed up on the computer prior to this) but it prompts me to unlock my phone and I can't do it.  I can't use another iPhone as a guide, because it won't even recognize my finger touching the screen, but the phone still works.  Can I get some ideas on how to back it up?  I am not tech savvy and this is a difficult problem!


How can I display most commented or viewed post as slide

How can I display most viewed post or most commented post as slider on my front page?


A road bike with bad tires to gravel bike upgrade

I have a road bike with tyres that aren't that great I want to upgrade for more wider and gripper tyres any recommendations?I desperately need it.The old tyres are Triban Protect 700 x 28 tyres. Tyre weight: 440g Anti-puncture protection Supple carcass for light weight Max pressure: 8 bar /116 psi. 48mm Triban inner tube with Presta valve


How do I delete the first n lines and last line of a file using shell commands?

I have a file named Element_query containing the result of a query :  SQL> select count (*) from element;  [Output of the query which I want to keep in my file]  SQL> spool off;   I want to delete 1st line and last line using shell command.


Your visa application has been concluded - what does this mean?

I got two mails from the UK embassy in Abu, saying your visa application has been concluded. I'm really confused, did I get the visa or not? What could the possible results be?


I want to store courseworks marks of n courseworks into n variables, such as cw1 and cw2 etc. Using variable variables how can I come with cw1, cw2 etc.   How can I dynamically create variables?


Computer won't boot after installing 32GB RAM kit

Computer configuration:   CPU: Intel Core i5-7600K, 7th gen MB: ASUS H110I-PLUS, allows up to 2 DIMM slots, max. 32GB and 2400MHz RAM: Corsair Vengeance LPX, 32GB (2x16GB), 2400MHz, CL16, 1.2v (CMK32GX4M2A2400C16)   Research done:   Meets MB requirements:  Is not officially tested by ASUS, but that does not mean it is not supported:  Tried also when "memory isn't detected":  Installed BIOS version is 4212 (latest currently):  Both DIMM slots and the RAM modules are functional.   The problem:   One DIMM boots flawless. Two DIMMs starts up the computer with no beep, no display, no boot, no HDD sound activity. Why?


Can the same URL be used for multiple languages and still rank in search engines?

A web rule is that the same URL shouldn't provide different contents, even the same thing in different languages. To do so, the locale should be in the URL. However, some websites ignore that rule, Youtube for instance. So I'd like to understand a few things about that:  Are there consequences if we ignore that rule for translation? (like SEO wise) What does Youtube do to avoid these consequences?  To give a context, I don't really want to use different URLs, I'd rather use the header Accept-language header, or a user setting if it exists.  I'm using Symfony.


Manually installed applications are not found in Installed Applications list after changing system language

I'm a new Linux user.  I've installed Intellij Idea and Webstorm. Everything was fine. But then I changed the system language from Bangla to English(US) (I am from Bangladesh, but I prefer to see the dates in English). And since then I cannot find Intellij Idea and WebStorm in installed apps.   So I changed back to Bangla but it didn't fix the problem. If I go to the directory where I extracted the files and run the command ./idea.sh then the program runs alright, I can code there and run it. But again when I close Intellij idea then I cannot find it in the Installed application section. I also tried Software Center. But there it shows as not installed.


Need help in deciding correct punctuation.

So, I just wrote down the following sentence.   'Now my attempt is to understand the cause of such behaviour. Is it the childhood experiences, as we find in the movie?'  I'm not sure if I've got the punctuation correct in the last sentence with the use of question mark. If reading out, you'd expect the speaker to take a pause after 'experiences' and then provide more information. However, 'as we find in the movie' isn't really an interrogative so putting the question market after it seems erroneous. Kindly suggest the correct punctuation.


Where is the backtick on iPhone keyboard

When I type on iOS keyboard, I don't find the backtick (`) character. Where is it located? If there isn't, why?


How many triangles with same color are there using $6$ and $n$ points?

How many triangles with same color are there using $6$ points?  How many triangles with same color are there using $n$ points?  It seems to be Ramsey numbers but in that we never prove there are two we prove there is minimum $1$ such triangle.For the second problem the book gave the answer   $$\binom{n}{3}-\frac{n*\lfloor{\frac{n-1}{2}}\rfloor*\lceil{\frac{n-1}{2}}\rceil}{2}$$  Which is colmpletly odd for me.Any hints?  Edit:We use two colors.None of three points are on one line and by same colore I mean both are blue or both are red.


What are good free PBR material libraries for a beginner?

I'm in the process of figuring out blender (on what could be considered my 3rd project I guess), and while browsing tutorials and youtube videos about blender, I've come across the topic of PBR materials, and have found it intriguing. I've found that using these materials makes my renders look a whole lot better than if I just slap a flat texture on the objects, but I'm a student and don't want to be spending money on this hobby just yet, which has run me into the issue that there aren't a whole lot of these materials out there that aren't reserved for some payed service. Do any of you know of any material libraries out there with PBR materials for free? So far I've been using the free materials on poliigon, and came across freepbr.com, but I can't figure out how to download any of the textures/maps from the latter of those two.  Any help is appreciated! Thanks, Ethan


Why isn't 'intuitive' vector multiplication useful?

In Axler's Linear Algebra Done Right, in the introduction to vectors it says:     We could define a multiplication on $\mathbf{F}^n$ in a similar fashion [to addition], starting with two elements in $\mathbf{F}^n$ and getting another element of $\mathbf{F}^n$ by multiplying corresponding coordinates. Experience shows us that this definition is not useful for our purposes.    In what ways was this definition tested? And how did it fail? Is there some fundamental reason why this definition of multiplication is bad for a vector space?  Are there any examples of successful application this definition of multiplication?


If $A$ has eigenvalues $\{\lambda_1,\lambda_2,...,\lambda_k\}$ then does $A^n$ have only $\{\lambda^n_1,\lambda^n_2,...,\lambda^n_k\}$ as eigenvalues?

If $A$ has $k$ distinct eigenvalues $\{\lambda_1,\lambda_2,...,\lambda_k\}$ then does $A^n$ have only $\{\lambda^n_1,\lambda^n_2,...,\lambda^n_k\}$ as eigenvalues?   It is well know that if $\lambda$ is an eigenvalues of $A$ then $\lambda^n$ is an eigenvalues of $A^n$ for $n\in \mathbb{N}$. But I am wondering whether $A^n$ has only $\lambda^n$ as eigenvalues, or are there more?


How to derive $\mathbb E(e^X)$ if $X$ is normally distributed?

Assume that $X$ is normally distributed with mean $\mu$ and variance $\sigma^2$. How do I derive $\mathbb E(e^X)$? Note I'm not asking for a mere answer, but an approach how to solve it. I end up messing with integrals, and change of variables, and it's not working.


Optimizing data structure for my text adventure?

In my text adventure I'm making, I store the story data in a hashtable (I'm using unity's javascript/unity script since I'm more comfortable with the syntax than C#).  The problem is, the way I structure the hashtable means that it gets incredibly bloated very quickly (I've used the same structure in all of my text adventures across multiple languages. It quickly grows to nearly 1k lines long) which makes it hard to edit in the future (especially if I need to go back to edit certain parts later on)  Here's the hashtable as it's currently structured:  public static var story = {     "0":     {         "text":"",         "choices":         {             "response1":             {                 "text":"",                 "nextPart":"1"             },             "response2":             {                 "text":"",                 "nextPart":"2"             },             "response3":             {                 "text":"",                 "nextPart":"3"             }         }     },     "1":     {         "text":"",         "lastPart":"0"     },     "2":     {         "text":"",         "lastPart":"0"     } };   If anyone could help me optimize the structure of the hashtable that'll make it so it's more easier for me to edit it in the future, that would be great  Quick information for parts that may not be self-explanatory:   "lastPart" indicates to the hashtable parser that the player has died and the number refers to the part where they chose the response/choice. "nextPart" refers to the part of the story the response leads to.


need to change email regex in jquery validate plugin

email: function( value, element ) {             // From https://html.spec.whatwg.org/multipage/forms.html#valid-e-mail-address             // Retrieved 2014-01-14             // If you have a problem with this implementation, report a bug against the above spec             // Or use custom methods to implement your own email validation             return this.optional( element ) || /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test( value );         }   i found above code in jquery validation plugin for email validation here i replaced the regex with others but still it validates email as "example@example" but in my application i want it to validate emails of type "example@example.example" only ,is this regex expression only which needs to be changed or some other part of the code too because changing regex didn't worked for me


"I'm migrating to Australia" or "I'm immigrating to Australia"?

I am confused as to which is the correct way of saying       I am migrating to Australia   OR   I am immigrating to Australia   Which one is appropriate?


I want to make a registration form How can I align this box like right under the head title?   h1 {   text-align: center; }  .registrerBoks {   width: 300px;   height: 300px;   background-color: lightblue; }
registrer


How to Make a Simpler Python Fibonacci Sequence Prompt?

So just for fun I created a small little python script that prompts the user for a number and then prints out that many digits of the Fibonacci sequence. The script that I came up with works, but I can't help but feel its a bit convoluted and there is a probably a better and simpler way to do it.  How could I simplify this script and still have it accomplish the same thing?  def fib(number):     if number == 0:         return 0     elif number == 1:         return 1     else:         numbers = [1, 1]         for i in range(number - 2):             i = numbers[-2] + numbers[-1]             numbers.append(i)         return numbers  x = int(raw_input("How many digits of the Fibonacci sequence would you like to see?"))  Results = fib(x)  print Results


Define multiplication as $(a,b) \boxdot (c,d)=(ac-bd(r^2+s^2), ad+bc+2rbd)$ where $a,b,c,d,r\in \mathbb{R}$ and $0\neq s\in \mathbb{R}$. The multiplicative inverse is $(1,0)$. I need to show that every ordered pair other than $(0,0)$ has a multiplicative inverse.   How on earth can I show that this property is satisfied (or produce a counterexample)? I'm trying to do this in the most elementary way possible. I do not have a background in abstract algebra and this problem should be done using basic algebra with an understanding of fields.


Add metabox with media uploader in a custom post type

I need to create a "media uploader metabox" and add it to my custom post type. I've already create normal metaboxes, the function to add to the custom post type and the function to save them, I only need to use the wordpress' media uploader but I can't figured out how to do that.  After that I would insert something like "Add more image" that add more metaboxes into the page.  Something like that:


I've got 364 rep, but I can't suggest edits when I'm in iPhone app. I don't know if I can suggest edits when I go to the computer/full version, though.


Moving list with contents from root site to sub-site does not keep the information of the lookup fields

I have tried the following steps to move a list from root site to subsite.   Go to list Setting > Save List as a template and include the contents At sub-site > Add app > create a list from this template   But in the sub-site the list does not contains the information of the lookup fields. I have created the lookup table. Is it possible to move with the lookup information?


How does the JVM use the "Main method" to start a Java program?

main is not a keyword in java.  How does the JVM know to execute the main method as the starting point of any program?


no such file or directory 'authorized_keys'

$ ssh-keygen -t rsa -P "" Generating public/private rsa key pair. Enter file in which to save the key (/home/dhruvhadoop1/.ssh/id_rsa): cat /home/hadoopuser/.ssh/id_rsa.pub >> /home/hadoopuser/ .ssh/authorized_keys open cat /home/hadoopuser/.ssh/id_rsa.pub >> /home/hadoopuser/ .ssh/authorized_keys failed: No such file or directory. Saving the key failed: cat /home/hadoopuser/.ssh/id_rsa.pub >> /home/hadoopuser/ .ssh/authorized_keys. $ chmod 600 authorized_keys chmod: cannot access ‘authorized_keys’: No such file or directory $ chmod 600 authorized_keys chmod: cannot access ‘authorized_keys’: No such file or directory


How to retrive back your Ubuntu files after a crash even after Live Ubuntu Boot is not working

I've been working with Ubuntu for approximately 2 years.  First my Ubuntu OS crashed and I was directed to initramfs page where it demanded I run fsck manually. Later my Windows OS also crashed and I was taken to a grub rescue> page (rescue mode).  So my friend suggested I use a Live Ubuntu Boot. I used a pen drive and I got my Windows OS running again.  The problem is that in the Ubuntu trial version, i. e. Try Ubuntu, I still can't access my Ubuntu files (pdfs, videos and stuff).    The sda4 drive which it is showing in my case (check GParted) when I try to unmount it on terminal it says:    umount: /dev/sda4: not mounted   Am I using some ghost space?  Please help me get my files back!


How did Arya avoid White Walkers and wights at the end of Season 8 Episode 3?

In 8x03, at the end of the episode, Arya      jumps to the Night King and she has an opportunity to kill him.    But I don't understand how she can avoid all the wights and the White Walkers, because there are hundreds of them and they were looking at the same point, at Bran.       The Night King was in font of Bran, so...   I don't understand how she can do it.


Consider a non-symmetric coin experiment where $p$ is the probability to get heads. I flip the coin $n$ times and try to estimate the value of $p$. The amount of heads has the binomial distribution so the Fisher information for the distribution parameter $p$ is $$I_p = \frac{n}{p(1-p)}$$ and the variance for an effective estimator is $$D_p = \frac{p(1-p)}{n}.$$ When $p$ is very small one got a very high information and low variance so I need much smaller sample size to get the same accuracy as for the case $p=1/2$.  What is the intuition behind that? Why am I almost certain about the value of $p$ after few throws if it is small?


Why is my flair not updated with my actual reputation score?

I use my Flair image on another site, and I noticed that my reputation score there is not updated.  Since a picture is better than 1000 words:    Is this a bug or a feature?


Null Pointer Exception in Adapter for recyclerview in getItemsCount()

I am trying to implement a recyclerview using a fragment. But I am always getting this error I=and I cant figure it out. Any Help is appreciated.  Here is My code for data I am trying to put in a list:  public class ItemData { public int BatImageUrl; public String BatTitle;   public int getBatImageUrl() {     return BatImageUrl; }  public void setBatImageUrl(int batImageUrl) {     BatImageUrl = batImageUrl; }  public String getBatTitle() {     return BatTitle; }  public void setBatTitle(String batTitle) {     BatTitle = batTitle; }  public ItemData(int BatImageUrl,String BatTitle){     this.BatImageUrl=BatImageUrl;     this.BatTitle=BatTitle; } public List<ItemData> itemsData; public void initializeData(){     itemsData = new ArrayList<>();     itemsData.add(new ItemData(R.drawable.batman2,"batman-1"));     itemsData.add(new ItemData(R.drawable.batman,"batman-2"));     itemsData.add(new ItemData(R.drawable.batman3,"batman-3"));  }   }  Here is My Adapter Code:     public class MyAdapter extends RecyclerView.Adapter<MyAdapter.ViewHolder> {         private List<ItemData> itemsData;      public MyAdapter(List<ItemData> itemData) {         this.itemsData = itemData;     }     @Override     public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {          View BatmanView = LayoutInflater.from(parent.getContext()).inflate(R.layout.batman_cards,parent,false);          ViewHolder viewHolder = new ViewHolder(BatmanView);         return viewHolder;     }      @Override     public void onBindViewHolder(ViewHolder viewHolder, int position) {         ItemData id = itemsData.get(position);         viewHolder.BatImage.setImageResource(id.getBatImageUrl());         viewHolder.BatTitle.setText(id.getBatTitle());      }        public class ViewHolder extends RecyclerView.ViewHolder {          ImageView BatImage;         TextView BatTitle;         CardView cv;         public ViewHolder(View itemView) {             super(itemView);             cv = (CardView) itemView.findViewById(R.id.bat_card);              BatImage = (ImageView) itemView.findViewById(R.id.bat_image);             BatTitle = (TextView) itemView.findViewById(R.id.bat_title);            }     }     @Override     public int getItemCount() {         return itemsData.size();     } }   Here is My fragment code:    public class BatmanFragment extends Fragment {       List<ItemData> itemsData;     @Override     public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {         View BatmanView = inflater.inflate(R.layout.batman_fragment,container,false);          return BatmanView;     }      @Override     public void onActivityCreated(Bundle savedInstanceState) {         super.onActivityCreated(savedInstanceState);         RecyclerView batmanRecyclerview = (RecyclerView) getView().findViewById(R.id.batman_recycler_view);         batmanRecyclerview.setHasFixedSize(true);        GridLayoutManager gm = new GridLayoutManager(getActivity(),2);         gm.setOrientation(GridLayoutManager.VERTICAL);         batmanRecyclerview.setLayoutManager(gm);           MyAdapter mAdapter = new MyAdapter(itemsData);         batmanRecyclerview.setAdapter(mAdapter);         batmanRecyclerview.setItemAnimator(new DefaultItemAnimator());     } }   And Finally My MainActivity:      public class MainActivity extends AppCompatActivity {      @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_main);          BatmanFragment fragmentS1 = new BatmanFragment();         getSupportFragmentManager().beginTransaction().replace(R.id.your_placeholder, fragmentS1).commit();     } }


Does every hermitian operator represent a measurable quantity?

In Quantum mechanics, observables are represented by hermitian operator. But does every hermitian operator represent a observable? If not , how do we know that whether a hermitian operator represent observable or not? What is the precise definition of the term "observable"?


Is there a JavaScript equivalent of Java's class.getName()?


Difference beween requests “can”, “could” and “may”?

We can use can, could, and may for requests and permissions, but is there any difference between the meanings of the following three versions?        May I go?   Can I go?   Could I go?


$$\bigcap_{n\in\mathbb N}[n,\infty)\ne\varnothing$$ I do not understand how the intersection is not empty if for every $x$ in the intersection there is $n>x$.


A per site meta shouldn't suggest me reading the tour to get the first badge

A per-site-meta shouldn't suggest me reading the tour to get my first badge, since there is no tour on per-site-metas and thus no Informed badge. Here is the screenshot for the reference:    Made at English Language & Usage Meta.


How to make an icon to enter terminal commands

Let me start by saying that I'm very new to Ubuntu in general, so I realize this may be a basic question. I'm using xubuntu 14.04. I recently got a wireless usb working by following the steps .  The instructions say that anytime the kernel updates, I must recompile by entering the following into the terminal:  cd ~/mt7601/src make clean make sudo make install sudo modprobe mt7601Usta   I'd like to know if there's anyway to create an icon on my desktop that I can just double click that will have the effect of entering the above commands into the terminal?


Possible to transfer WhatsApp history from Android to iOS?

I have an Android phone with WhatsApp installed on it. I want to move this Sim-Card to an iPhone and installing WhatsApp on it.  Is it possible to backup/transfer/restore the history over to iOS?   I saw that there are third party apps. So it seems it should work.


What is the subject of "helping" in this sentence?

Researchers suspect that early exposure to pets carrying bacteria on their fur may encourage the proper functioning of the immune system, helping it to attack only harmful things.  I'm really confused about these.  What is the subject of "helping"? If one thing is right, why are the others not? I cannot refute the ideas myself. a) early exposure to pets carrying bacteria on their fur b) early exposure to pets carrying bacteria on their fur may encourage the proper functioning of the immune system(the whole of the previous clause, if this is the subject we can rephrase the sentence as follows: "~ immune system, and this(or it) helps it to attack only harmful things") c) the proper functioning of the immune system  What does "it" after "helping" indicate? Is it "the immune system"? Am I right?


Problems opening Spotify on Ubuntu 14.04

I've just installed Spotify, and it doesn't open, just displays an error message. I'm running Ubuntu 14.04.  Error message:  [1102/172855.962775:FATAL:nss_util.cc(632)] NSS_VersionCheck("3.26") failed. NSS >= 3.26 is required. Please upgrade to the latest NSS, and if you still get this error, contact your distribution maintainer. Aborted (core dumped)


Proving if $\lim_{n\rightarrow\infty}a_n=L $ then $\lim_{n\rightarrow\infty} \frac{a_1+a_2+\cdots+a_n}n=L $

Good morning, i have a big problem with this proof. I haven't idea about this proof.   Problem:   Suppose $\lim_{n\rightarrow\infty}a_n =L  $ then $\lim_{n\rightarrow\infty}\ \frac{a_1+a_2+\cdots+a_n}n=L  $  I've tried this:  $| a_n-L|<\varepsilon\Rightarrow L-\varepsilon<a_n<L+\varepsilon$ Please help!!


Why do labels in exports using HERE tiles appear tiny?

I am trying to export images from the QGIS print composer, the exported image has a basemap that is loaded from an XML file following . The export doesn't look at all like the image I see in the print composer see below and I'm trying to understand why.   What I'm trying to do is simply make a decent looking map without obvious tiling with readable labels. Perhaps I have to use a satellite only image and remake with my own labels. The map is a HERE nokia hybrid map   This is a jpeg at 150 dpi, note the tiny labels in comparison to the screenshot at the bottom .   This is a png export at 300 dpi, which is standard for the print composer, note the labels, and tiles.    Finally, this is a screenshot of the map as it looks in the print composer with the labels readable at this zoom scale.


Review audit problem - flagged off-topic but was really a duplicate

The question was presented during review as off-topic, but was a very clear duplicate of another question with an excellent answer.  When I went to VTC I was informed that I failed the audit.    It is not appropriate to fail an audit immediately upon clicking the Close button without considering the reason to close.  This has happened to me more than once, and indicates a subtle problem with the design of the audit system: questions that deserve to be closed for reasons different from what the audit system assigns them.  Happened again:   The question is definitely "Unclear what you're asking" but was picked by the audit engine and marked as Off-topic.  Once again, just clicking "Close" brings up the verbal scolding without a chance to provide a real, valid close reason.    The audit engine behavior is broken, and is embarrassing conscientious users who are working to cope with the ever-increasing close-vote queue.


Ubuntu 20.10: There was an error creating a child procsess. fix

This is what happens when I launch the terminal  There was an error creating a child process  So I have been using the Ubuntu terminal on my Raspberry Pi 4 model B 8 GB with Ubuntu for a couple moths when Ubuntu 20.10 came out for the Pi. But now I have a problem where I launch the terminal and it gives that message. I have gone for alternatives and tried to fix it but all the solutions were outdated or they were on a different distro. Also the Ubuntu commands did not fix the issue because it only triggers upon a certain command.


Weird behaviour of id function in cpython

I did the following:  >>> a=10 >>> id(a) 31817408L >>> >>> id(10) 31817408L   So, we can see that id(a) equals id(10)  Now,i do  >>>a='what is this' >>> id(a)    35412416L >>> >>> >>> >>> id('what is this')    31951968L   why in this case id(a) not equal to id('what is this')? What is actually happening behind the scenes?


What work is done by the wall when a ball hits it?

So, in my physics textbook it's written that the kinetic energy possessed by a body is equal to the amount of work done by an opposing force to stop the body, now that got me thinking that when a ball hits a wall, the wall which is the opposing force does no work  because there is no displacement, so to say isn't the kinetic energy possessed by the ball zero?


1.one of the boys who "has/have" met the prime minister is absent   one of the boys represent singular.what should we use in sentence have or has?


Formally proving that $\lim\left[ n^2/2^n \right] = 0$

Not sure how to formally prove this (specifically regarding the choice of $\epsilon$ in the formal limit definition)... Any suggestions?


Dropping articles in the title (of an article or a section) or in the caption (of a figure or a table)? What's the general rule?

It is said that "To give added punch, articles are often dropped in the titles"  Source:   Is there any general rule or reference about dropping articles, especially in academic research papers?


Can anyone explain step by step process (recursion) for below example :

I referred this link () but i can't get the answer by applying those steps ,can anyone explain please?  let sum = 5; function sumTo(n) {      if(n==1) return n;     else {         return sum + sumTo(n-1);     } } let ss = sumTo(5);


Creating a digit Datatype with restriction, an int between -10 and 10

I really need a new datatype in my application, which will only store numbers from -10 to 10. Is there a way to create a datatype with specific values, which will raise an error if the value is invalid? I used:  typedef int digit;   The thing that happens is a new datatype which is actually int is created. I also tried this:  typedef int{-10 > int value < 10} digit;   but it raised this:  exit status 1 main.cpp:3:12: error: expected unqualified-id before '{' token typedef int{-10 > int value < 10} digit;            ^ main.cpp:3:35: error: 'digit' does not name a type; did you mean 'div_t'? typedef int{-10 > int value < 10} digit;                                     ^~~~~                                   div_t


A word or idiom similar to sour grapes but simply not hating the object you cannot obtain?

I am looking for a word or idiom which can express a feeling similar to the sour grapes idiom but instead of putting down or hating the thing you cannot obtain, you just simply do not want it anymore.  You know, when you don't get anything you want at all that simply any desire to want something or future things simply disappears. Something similar to not caring but deep down it still affects you a little and you know you won't get it/ achieve it.


Sum of the series $\sum _{ r=1 }^{ \infty }{ \frac { { r }^{ 3 } }{ r! } } $


Suppose that $f$ is a continuous and real function on $[0,\infty]$. How can we show that if $\lim_{n\rightarrow\infty}(f(na))=0$ for all $a>0$ then $\lim_{x\rightarrow+\infty} f(x)=0$?


Serve Internet to remote machine via SSH session?

The machine via which I'm SSHing to the remote/host machine (same network/LAN) has access to the Internet but the host doesn't.  Running updates and installing packages on the host gets quite inconvenient because then I have to start a proxy locally and then configure the remote machine to use it.  So I was wondering if there is a easier way of doing this via, maybe, SSH or something else?  I have a realization of the complexities that lie within, but was curious to know.  Using plink through Emacs (if it matters).


Recently I've had brute force attack attempts on some of my WordPress sites and the attackers are using actual usernames other than the default admin (which was removed).   How is it possible for them to know the usernames in a site's database without administrator privileges? (assuming they didn't get it from me directly using malware)  What are ways to prevent this from happening?  btw: All of my sites use the current version of WordPress.  Thanks for your help!


mdframed: unable to reproduce the example environment with figures

I used mdframed but I am unable to reproduce the example environment (?) from . The main problem is with figures (graphics, plots), of course. Any help?


Is there a way to get the year a file was created with python?

The title says it all. I am trying to get the year a file was created for indexing purposes. Also, I'm on windows if that matters.


I would like to calculate how much of the land in the European Union exhibits slopes above a certain threshold (let's say 15%) in order to have a precise measure for undevelopable land. I'm working with NUTS-3 level data and would need to match it with some kind of elevation data. I found a few possible data sources for this:     Has anyone worked with this kind of data? I'm a bit lost on how to proceed.


D'Alembert's principle derivation in Goldstein's Classical Mechanics book

(I could not find any answer to the following question in other related questions posted on SE, so asking it here.)  In the derivation of D'Alembert's principle in his , Goldstein uses the relation,     Where the set {ri} is the set of cartesian coordinates used to describe the configuration of a given system and {qi} is the set of independent coordinates such that each ri can be expressed in terms of qi's. i.e. ri=ri(q1,q2,.......,t) where 't' is time. vi is given by the equation,      Now, my question is how is the expression (1.51)(given in the first image) obtained? I tried to directly differentiate the expression of vi, but it will give another term on the RHS of (1.51).  I tried to find out on google, and I got  pdf which also agrees with my doubt.


I am trying to auto-mount my NFS drives, but it doesn't work too well sadly.  What does work is mounting from CLI:  me@client:/$ sudo mount 192.168.178.4:/mountdir /mnt/mountdir me@client:/$ mount -t nfs 192.168.178.4:/mountdir on /mnt/mountdir type nfs (rw,addr=192.168.178.4)   when I try to add mountdir in the fstab, I cannot mount it due to "protocol not supported" (which seems strange as I can mount it)  $ sudo mount films_d3 mount.nfs: Protocol not supported   So there might be something wrong with my fstab entry. This is my current entry:  192.168.178.4:/mountdir /mnt/mountdir  nfs auto,_netdev,noatime,nolock,bg,nfsvers=4,intr,tcp,actimeo=1800 0 0   During startup I also get this error twice: I was trying to fix the mount-from-fstab first, then worry about that, but nevertheless this might be a different problem:  init: idmapd-mounting (/mnt/kazemat/films_d3) main process (445) killed by TERM signal   This seems to be before the eth0 is initialised, while I thought the "_netdev" option would make the entry wait for the network to be up?  can anywone see the mistake in my fstab entry?


We all know that _spPageContextInfo is a very useful thing in Client side development. I need something equivalent of _spPageContextInfo in SPFX. Currently I am unable to use it directly from typescript. It gives error like     Can not find '_spPageContextInfo'   Finally, I have gone through the API documentation of  and  found . PageContext has dependence with . My qestion is: How to use PageContext? I need to use it my BaseService class. constructor of my class is:  constructor(private $http: ng.IHttpService, private $q: ng.IQService, serviceScope: ServiceScope) {     serviceScope.whenFinished(() => {       this.pageContext = new PageContext(serviceScope);       console.log(this.pageContext);     });   }   Inside the constructor serviceScope is undefined. I know the reason: As I am not injecting/initialising serviceScope anywhere like other angular services. So what is the approach of injecting/initialising serviceScope in angular service class?


How many chances do you get to become a Vampire Lord

So, I am working on a new playthrough of Skyrim with the two new DLCs and I would like to work in being a vampire lord early into the game. Doing a bit of reading however it seems I have to select to be a dawnguard if I want to be able to craft crossbows and bolts... which I do want..  Can I choose to join the dawnguard up front and then become a vampire lord later down the road or is this the only time this option will come up?


i am new in ubuntu. i just install ubuntu server 9.04(old because my server only support this version).setup is complete .ip set perfectly i can ssh from other computer so ip setup is good. but i cant assess internet. when i put  =====apt-get update======  W: Failed to fetch http//us.archive.ubuntu.com/ubuntu/dists/jaunty-updates/multiverse/source/Sources 404 Not Found  E: Some index files failed to download, they have been ignored, or old ones used instead. .i guess in proxy there some problem happen. i donot have any user or password for proxy my proxy adress is 172.22.0.2:8080  i did this  export http_proxy=http://username:password@172.22.0.2:8080   but no luck. i did changes in vi /etc/bash.bashrc adding  export http_proxy=http://username:password@172.22.0.2:8080/   but no luck can you help me.how can i set my internet works .


What would happen if I used regeneration on a creature that was the target of Annihilating Fire?

For example, what would happen if a freshly cast  were to be regenerated in response to ?  My hypothesis is that it depends on whose turn it is. The regeneration being essentially a replacement effect, when two replacement effects were to be applied simultaneously, they are to be chosen in APNAP order. Is this correct?  I haven't thought this through to the end, though, so I'm not sure what would happen in the end.


I am not able to set it up after full download

I downloaded the full ubuntu install .iso and I have it normally on  my PC, yet I am not able to set it up and it is saved as a normal file.  I tried to open it with many apps as file mnager, WinRar and many other apps yet it doesn't seem to do anything.  I am currently using windows 8 pro.


Russell's paradox: a set cannot contain its own powerset

I've been trying to challenge myself but with no luck. Maybe one of you will have a better idea. How can it be proven that there can't be a set which contains its own powerset, using only russell's paradox? I've managed to prove it with other principles or axioms, such as that a set can not belong to itself, or that a powerset cannot belong to itself.


Using 9-test or 11-test to find digit x in 52817*3212146 = 169655x15282

David Burton Elementary Number Theory Revised Printing question 4.3.5(a) is as follows:  Using the 9-test or 11-test, find the missing digits in the calculations below:  $(52817 * 3212146) = 169655x15282$  I can tell the number of the right isn't divisible by 9 or 11 since 5+2+8+1+7 = 23 and 3+2+1+2+1+4+6=19 are both not a multiple of 9 while 5-2+8-1+7=17 and 3-2+1-2+1-4+6=3 are both not a multiple of 11 so neither of the factors of 169655x15282 have 9 or 11 as factors.  Thus, $1+6+9+6+5+5+x+1+5+2+8+2 \not \equiv 0$ (mod 9) and $1-6+9-6+5-5+x-1+5-2+8-2 \not \equiv 0$ (mod 11)  so $x \ne 4$ and $x \ne 5$  Now, if I simply multiply 52817 by 3212146, I can see that $x = 9$ but I'm not sure how to get there from what I have.    How might I bridge this gap or is this just a typo in the text? Later editions seem to have altered the numbers involved.  Thanks


Fixing some drawbacks of the fragmented login system

SE intentionally set up the whole account system so that each site is treated separately. Joining a specific SE site doesn't create an account on any other site. If you want to use multiple SE sites, you have to explicitly create accounts on each one.  This fragmentation has quite a few drawbacks, the main ones I encountered are the following:   Visting a site where you're not logged in means that you lose your personalized top bar, the most useful navigation mechanism and your notifications. You also see the big banner for new users, and a different frontpage there. Anyone using multiple SE sites, especially from multiple computers or devices will see the annoying "you've been automatically logged in" banner very often. That is just an annoying experience   The main reason that accounts are per site, and not SE-wide is that users might not want to be associated with a specific site they never participated in. That is a valid concern, but I don't think it is necessary to fragment the actual login system as far as currently implemented to meet this requirement. Being logged into SE, and being shown as having an account on a specific SE site should be entirely separated concepts.  The way I'd like the login system to work would be the following:   logging into any SE site would log me into all my SE sites at once. No more "you've been automatically logged in" banners visiting an SE site where I don't have an account would still appear to me as if I was logged in, with my personalized top bar (but "sign up" instead of my user name and avatar), and the frontpage for non-anonymous users.   These changes would hide the more annoying consequences of the fragmented account and login system, but still preserve the benefits. The system encourages me to visit other sites via the hot questions sidebar, eliminating some more friction in using multiple sites would be a good thing in my opinion.


I am hoping to get the flight number of a BA flight from LHR to Sydney Airport (Kingsford smith) leaving LHR on Monday 14th October 1974 and arriving in Sydney on Wednesday 16th October 1974 Travelling via Frankfurt, Tehran, Bombay, Hong Kong and Darwin.


I have 8 Tesla K80 GPUs that I want to use! I do not want to use cpu it would be slower right?


How to extract the last inserted row in SQL Server?

When an insert statement is executed one or more rows is inserted into the table, is there any way to extract the last inserted row in SQL Server?


How to store a single \ in a string variable?

file_name = file_path.split('\')  Gives me an error because \' is to represent a single quote in python. I want to split a file name using single backslash.


Do moderators have the authority to suspend *other* moderators?

Suppose a moderator has politically incorrect "inclinations" as observed (fairly often) in, say, a chat room. In the event that a couple of users take offence at this, can another moderator possibly "deal with" (and not remove) the offending moderator?  By "deal with", I mean chat kicks, bans and such. Also, can this be done single-handedly or would it require the broad consensus of other moderators (who belong to the SE site the offending moderator is from) as well?  Additionally, in a such an event, can the kicked/banned moderator appeal this "verdict". If so, how would he go about it?    Note: This has nothing to do with any actual moderator out there. I'm (relatively) new to SE, so it's just a curiosity question.  The kind of "offending" moderator that I have in mind, is one who performs his duty pretty diligently, doesn't slack, and is fairly active... but can be a pain in the butt sometimes during chat. Opinions he expresses in chat aren't outright offensive, but they do tend to cause a stir. Hence this wouldn't warrant a removal, merely a kick or a chat ban.


Spatial data? Geodata? Geographic Data? Geospatial data?

What word indicates spatial data within the geographical and geological domains? In particular, what word is precise enough for a science journal article (i.e., formal prose)? Candidates might include "spatial data," "geodata," "geospatial data," and "geographic data." "Spatial data" seems too generic (not necessarily within the geographical and geological domains). What is the consensus, if any exists?


Serial number is F5065423 there's also another number is fw22107 I can't find it on the Internet. Need to know what year was it made.  Thanks


Is there a way to make sure that my keystrokes are not being tracked?

Is there a way to make sure that my keystrokes (for passwords) are not being tracked?  I need to change my passwords and was wondering if there is a way to make it so that my keystrokes are not being recorded.


agree:  When you make an attack and succeed with a natural 20 (the number on the die is 20), or if the result of your attack exceeds the target's AC by 10, you achieve a critical success (also known as a critical hit).   disagrees:  If you rolled a 20 on the die (a “natural 20”), your result is one degree of success better than it would be by numbers alone. This means that a natural 20 usually results in a critical success and natural 1 usually results in a critical failure. However, if you were going up against a very high DC, you might get only a success with a natural 20, or even a failure if 20 plus your total modifier is 10 or more below the DC.  So if I roll a 20 on my third attack, but it is stil lower than the enemy AC (because of MAP for example), is it a critical hit, or a normal hit?


I just upgraded to QGIS 3.0 (OS X as well on Windows 10) and can not find out how to do some georeferencing. I am told by the software, that GDAL georeferencing is still installed and that I could not remove it, and that it should be in the category "raster". But I can not find it there, also not in other parts of the menu.    new profile created, but the same issue...:


i came across a photo where the gradient looks like it s smeared from cream. It is hard to explained by saying so here is the  Let say i create 2 similar shapes with the gradient pattern then adjust the opacity but the edges will still remain. But in the example the edges are appeared to be soft and hard randomly. Thanks in advance !


Different Fontsize and Linespacing for document

So here it goes once again:  I am currently using this template   What I want to do is to have different linespacing and fontsize settings for the title page and the main document  The title page should be 11pt and singlelinespacing and the main document should be 12pt and onehalfspacing.   What i have tried is to use \setlinespace{1.5} for each chapter, but this doesn't work.  ------Edit------  I should also add the document class is BOOK, so in theory fontsize and linespacing for the titlepage should be 11pt and singlelinespacing  And additionally the chapters should be 12pt and onehalfspacing it that makes it clearer.


How to solve this elementary induction proof: $\frac{1}{1^2}+ \cdots+\frac{1}{n^2}\le\ 2-\frac{1}{n}$?

This is a seemingly simple induction question that has me confused about perhaps my understanding of how to apply induction  the question;  $$\frac{1}{1^2}+ \cdots+\frac{1}{n^2}\ \le\ 2-\frac{1}{n},\ \forall\ n \ge1.$$  this true for $n=1$, so assume the expression is true for $n\le k$. which produces the expression,   $$\frac{1}{1^2} + \cdots + \frac{1}{k^2} \le\ 2-\frac{1}{k}.$$  now to show the expression is true for $k+1$,  $$\frac{1}{1^2}+\cdots+ \frac{1}{k^2} + \frac{1}{(k+1)^2} \le\ 2-\frac{1}{k}+\frac{1}{(k+1)^2}.$$  this the part I am troubled by, because after some mathemagical algebraic massaging, I should be able to equate,  $$2-\frac{1}{k}+\frac{1}{(k+1)^2}=2-\frac{1}{(k+1)},$$  which would prove the expression is true for $k+1$ and I'd be done. right? but these two are not equivalent for even $k=1$, because setting $k=1$ you wind up with $\frac{5}{4}=\frac{3}{2}$, so somewhere i am slipping up and I'm not sure how else to show this if someone has some insight into this induction that I'm not getting. thanks.


So, I got my 74190 counter shows number like this  9-8-7-6-5-4-3-2-1-0-5-4-3-2-1-0-5-4-3-2-1-0-5-4-3-2-1-0 and so on.  My questions:   What can I do to change the output count down into 5-4-3-2-1-0-5-4-3-2-1-0 and so on? When it changes 0 into 5 it moves so fast. How could I fix this one?


How to switch to editing command in text editor

When typing a complicated command that started on the command line in Bash, how do I switch to editing it with ViM?


Multiplying two radicals with negatives, simple algebra?

Evaluate $$ \sqrt{-9}\sqrt{-4} $$ Now, I am told that $\sqrt{a}\sqrt{b}=\sqrt{ab}$, so I should be able to simply write $$ \sqrt{-9}\sqrt{-4} = \sqrt{(-9)(-4)}=\sqrt{36} = 6 $$ However, I am also told that I can simplify things like $\sqrt{-9}$ to $\sqrt{9(-1)}=\sqrt{9}\sqrt{-1}=3i$.  Following this reasoning, instead of the above value of 6 I get $$ \sqrt{-9}\sqrt{-4}=\sqrt{9(-1)}\sqrt{4(-1)}=(3i)(2i)=6i^2=-6 $$ So is the answer $\pm6$?  The first line of thought does not seem to be missing anything but does not include $-6$.  The second line does not include the $6$.  Are both simultaneously needed for completeness?


How to set Interval Timer on D7000 to take 180 x 25 second exposures with 2 seconds interval?

I am trying to take 180 x 25 second exposures (changed down from 30 second ones) with say a 2 second interval, either with the internal Interval Timer or an external one. How would the menu read? Thanks to the previous reply to my first question regarding the same problem. On the 30 second exposure, the camera fired a shot and the green light flashed every 30 seconds for one hour or 100 shots.


How to restrict SMTP login to its own address in sasldb2?

I'm using sasldb2 (without saslauthd) for SMTP authentication with Postfix. To create a new user, I run saslpasswd2 -u example.com mail which creates a login mail@example.com. However, using these credentials, I can successfully connect to and send as other@example.com. How can I restrict users to only send as their own mail address?  What I've tried:   Installed postfix-pcre. Set up a file /etc/postfix/login_map with content /^(.*)$/   ${1}. Reference in Postfix config: smtpd_sender_login_maps = pcre:/etc/postfix/login_map. Restart postfix.   The mail server just happily sends mails as other user names. There is nothing special in the logs.


Dementors seemed to have had some distance effects on humans - the feeling of coldness, moral depression, darkness.  Is there canon evidence that these area effects were targeted at specific individuals (or that Dementors excluded individuals from such effects)?  Or was the effect 100% determined by distance of Dementor and the individual's personal "Dementor resistance"?


Is there a process for reporting or otherwise dealing with malicious downvotes?

The automated software doesn't seem to catch them if they happen gradually:


How do I run a command when a player right clicks?

I want to assign an item to perform a specific command that will place down a redstone block at some coordinates when I right click it. How would I do this?


How to cite first and (maximum) second author and year?

Goodmorning everyone. In my thesis I need to cite authors with the following rules,but with the citation style authoryear it doesn't work (I'm using biblatex):  Author et al. year - if there is more than two authors Author and coauthor year - if there are two authors Author et al. year a - if there is more than a pubblication with the same author  An example: This is my database: @article{sism,     author = {Mantovani, E.  and Tamburelli, C. and Babbucci, D. and Viti, M. and Cenni, N.},     date = {2020}, } @article{geodin,     author = {Mantovani, E. and Viti, M. and Babbucci, D. and Tamburelli, C. and Cenni, N.},     date = {2020}, } @article{mant14,     author = {Mantovani, E.  and Viti, M. and Babbucci, D. and Tamburelli, C. and Cenni, N. and Baglione, M. and D'Intinosante, V.},     date = {2014}, }  @article{savage70,     author = {Savage, J. C. and Burford, R. O.},     date = {1970}, }  If I cite \cite{sism} it shows Mantovani, Tamburelli et al. 2020 instead of Mantovani et al. 2020a If I cite \cite{geodin} it shows Mantovani, Viti, Babbucci, Tamburelli and Cenni 2020 instead of Mantovani et al. 2020b If I cite \cite{mant14} it shows Mantovani, Viti, Babbucci, Tamburelli, Cenni, Baglione and D'Intinosante 2014 instead of Mantovani et al. 2014 If I cite \cite{savage70} it shows Savage and Burford 1970 and it's ok. I tried to set maxcitenames=1 but doing so if I \cite{savage70} it shows Savage et. al 1970 instead of Savage and Burford 1970. Thanks for the help! EDIT: with maxcitename the three first long citations don't change, don't know why.


Should I take the effort to correct spelling mistakes in titles? I get a +2 from correcting, but this is a never-ending-task. Is this useful or should I spend my energy in something else?


Preventing manga books from having yellow pages

I just started collecting mangas I wonder how am I going to prevent them from having yellow pages. Currently, I store them in a glass shelf without a cover.  Are there any other ways?


Why is the mole/"amount of substance" a dimensional quantity?

According to the BIPM and Wikipedia, "amount of substance" (as measured in moles) is one of the base quantities in our system of weights and measures. Why?  I get why the mole is useful as a unit. In fact, my question isn't really about the mole at all; I just mention it because what little information I could find generally talked about moles, not about "amount of substance". Nor am I asking about why it's chosen as a base quantity and not a derived quantity. I get that any particular choice of bases is more or less arbitrary.  I don't understand why it's a dimensional quantity at all. It is, after all, just a count of things; every student is taught to think of it as "like 'a dozen', only more sciencey". Can't we just call it a dimensionless number?  No, says SI; molar mass doesn't just have dimensions of $\mathsf{M}$, it has dimensions of $\mathsf{M}\cdot\mathsf{N}^{-1}$; and Avogadro's number isn't just a number, it's got units of "per mole" (or dimensions of $\mathsf{N}^{-1}$).  Contrast this with an "actual" dimensionless quantity, plane angle (and its unit the radian). Now, you might say that it's dimensionless because radians are defined as arc length over radius, and so plane angle is just $\mathsf{L}\cdot\mathsf{L}^{-1}$; cancel out and you have no dimensions. That strikes me as arbitrary. We could just as easily argue that arc length is "really" a quantity of $\mathsf{a}\cdot \mathsf{L}$ (where $\mathsf{a}$ is plane angle), because it's the measurement of a quantity that subtends $\mathsf{a}$ at distance $\mathsf{L}$.  But this isn't needed; plane angle isn't even a derived quantity, it's a non-quantity. Plane angle is accepted as dimensionless. Why isn't amount of substance?  As I said, I've found very little on this question. From , I found a PDF of . It acknowledges the argument (as does the Wikipedia article), but dismisses it out of hand by saying (essentially) "of course counting things is a way of measuring things, so of course we need a unit of measurement for it".  Other than that, Wikipedia (as far as I can tell) touches on eliminating the mole only in the context of eliminating other units (as for example in natural systems of units). The  blithely cuts moles from the base units as being "just a count of things", but doesn't go into why SI says it is necessary.  Is there any official rationale for the inclusion of "amount of substance" as a dimension? Failing that, can anyone provide, or point me to, some good reasons why it's so special?  EDIT: Thank you all for your input. The more I've thought about it, the more I've come to feel that there's no reason why "count of stuff" shouldn't be a dimension (it's clearly different from, say, a dimensionless number included as a scale factor), and that my unease with the idea comes from simple habit: in any case not involving moles, it tends to get left out. Really, I'm now more wondering why angles are considered dimensionless...    Reading before coming here:    (I thought maybe a committee with this name would be in charge of explaining why amount of substance is needed, but no; it seems they just deal with standardising it)  Wikipedia:    (including a PDF from BIPM linked at bottom, which only confirms that "amount of substance" is one of the base quantities)  (including the PDF from IUPAC mentioned above)


I am going to school. I am going to the school. I'm going to my school.   Clearly, number 2 is grammatically wrong but has its exceptions.  What are they?  Also, students would number one.  Do teachers say number 2?  Parents say number 2 when they are off the pick up their child or going to the school for whatever reason.  What does a university student say? 1. I am going to the university. 2. I am going to university. 3. I am going to my university.  What about college? 1. I am going to the college. 2. I am going to college. 3. I am going to my college.   I am going to the temple. / I am going to my temple. I am going to church. / I am going to my church. I am going to the mosque. / I am going to my mosque.   The church is a social institution but are the temple and mosque not?  Is my wrong?   I am going to the apartment. I am going to my apartment. I am going to the apartment over there.   Number 2 is most common and grammatically correct.  Is number 1 grammatically wrong?  Why?  When do you use "the"?  Number 3 is correct and purposely vague.   I am going to the classroom. I am going to my classroom.   Both are correct but does number 2 mean the student's homeroom?  Does "the" sometimes imply not yours?   I am going to the concert. I am going to a concert.   Number 1 is wrong but why is "the concert" wrong?   I am going the doctor. I am going to the doctor's office.   Can both of their locations be in the hospital?  Do they mean the same thing?  I know the doctor's office can possibly be in the hospital but also it can be at their facility not having to do with the hospital.  But can you explain if there is a difference.   I'm going to bed. I'm going to my bed.   Are they both the same?  Thanks in advance!!!


Hover over a disabled item to know why it's disabled. What do you think?

How many times did you use a desktop app or an online page and you come across one or more menu items which are disabled and you have no idea why its disabled. Using help or documentation is of no use. It gets frustrating because it's stopping you from moving forward.  I have NEVER seen this usability practice used. Hover over the disabled item and a tooltip lists you the reasons and you go "Oh.. ok. now I know". Your other option is you have to contact support or post in a forum, explain what you were doing. Wait for what possibly be days tell you get an answer, if any. This is the difference between black & white. Getting instant help by a simple hover or get frustrated and wait for hours.   If you are the one developing the app, you know exactly why an item is disabled because you disabled it in your code. So it's not hard to show the reasons to the user. Is it?  This little tip could have saved thousands of tech support calls. There are millions of posts on the web of Why something is disabled or grayed out.


How to install a package from a repository which is missing some architectures?

I tried to install syncthing on Debian Jessie (i386 architecture) following :  curl -s https://syncthing.net/release-key.txt | sudo apt-key add - echo "deb http://apt.syncthing.net/ syncthing release" | sudo tee /etc/apt/sources.list.d/syncthing.list sudo apt-get update   At this point, apt-get fails with the following message:     W: Failed to fetch   Unable to find expected entry 'release/binary-arm64/Packages' in Release file (Wrong sources.list entry or malformed file)   Now, I do have arm64 as a foreign architecture, and syncthing seems to miss packages for it. That shouldn't be a problem, since I only want to install syncthing on my host architecture, i386.  How can I proceed with the installation without removing arm64 from my foreign architectures?


Setup IIS 7.5 with multiple website bindings and SSL?

On IIS 7.5 I am trying to achieve this with two websites:  Default Web Site is bound to:  (blank host header port 80 - http) (blank host header port 443 - https) go.example.com www71.example.com the IP address of go.example.com  2nd web site "Beta" is bound to:  beta.example.com (blank host header port 443 - https) * using blank only because it doesn't seem to be possible to    bind https to a named host header   And both need to work with SSL.  But I have these problems:   When I type in beta.example.com, I see the go.example.com site instead I can not seem to add the SSL binding to both websites at once (I have a single *.example.com wildcard certificate).  The beta site will not even start if I add the https binding to it.   This is how I have set it up:    What is the correct way to set it up?


What is the expected response to "What's up?"

When somebody ask me What's up? I answer I am well, thank you.  Is that the expected answer, or should I answer something else? What does a native speaker understand when I reply like that?


Regular expression to match DNS hostname or IP Address?

Does anyone have a regular expression handy that will match any legal DNS hostname or IP address?  It's easy to write one that works 95% of the time, but I'm hoping to get something that's well tested to exactly match the latest RFC specs for DNS hostnames.


So i'm following a guide by blender guru and i'm following his exact steps. when he goes into the node editor it shows the nodes for the quick smoke. when i do it its just blank. help?


Getting redirected to http://stackexchange.com/promos

All of a sudden I am getting redirected to  when I am trying to access . The other Stack Exchange websites are working perfectly and I already tried it on a different computer as well. What is going wrong?


Electric force between charges in two different media

As far as I know, Coulomb's law of electrostatic force is applicable on two different charges situated in same medium. But if two individual charges are in different media (say one charge on a iron surface another on a plastic surface), then how does one calculate the force between them?  And if I have wrong conception , please correct me.


If $\textbf{x} \in \mathbb{R}^n$, show that the following inequalities hold.

$$\|\textbf{x}\|_2 \leq \sqrt{\|\textbf{x}\|_1\|\textbf{x}\|_\infty} \leq \frac{1+\sqrt{n}}{2}\|\textbf{x}\|_2$$ I know the basic inequality relationship of $\|x\|_1$,$\|x\|_2$ and $\|x||_\infty$, such as $$||x\|_\infty \leq \|x\|_2 \leq \|x\|_1 \leq \sqrt{n}\|x\|_\infty$$ but I just cannot figure out this variant.


change order of objects in array while keeping 1 value

Ok,  I am really new to java (and programming in general) so don't be too surprised when you see something strange.  Basically what I am trying to do is change the order of array elements because I want to "remove" one element from the array.  For example participant 2 gets knocked out, I want to remove him. I want the participant with the highest index to replace participant 2 and then reset the highest index participants values to default.  Fighter k1=participant[jList1.getSelectedIndex()]; Fighter k2=participant[jList2.getSelectedIndex()];  k1.fightsWith(k2); if (k1.refresh()==true) {       if (k1.getHP()<=0) {     participant[k1.getID()]=participant[amount];     participant[k1.getID()].setID(k1.getID());     participant[amount].reset();     amount-=1;   } else if(k2.getHP()<=0){     participant[k2.getID()]=participant[amount];     participant[k2.getID()].setID(k2.getID());     participant[anzahl].reset();     amount-=1;   }    jList1Model.clear();   jList2Model.clear();   for (int i=0;i<amount;i++) {     if (participant[i].getID()<=20) {       jList1Model.addElement(participant[i].getName());       jList2Model.addElement(participant[i].getName());     }   }    }   The lines participant[k1.getID()]=participant[amount];  participant[amount].reset();     are giving me trouble here.   Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException


Problem of BIG RUDIN: Chapter 3 , Q. 5 . last part

Suppose $\mu (X) = 1$ & $||f||_{r} < \infty$ for some $r>0$ . Show that: $lim_{p \to 0} ||f||_{p} =$ $exp. [\int_{X} {log|f|} d\mu ]$ .  Now, there are arising lot of questions:   1) How the existence of limit is assured??  2) After assuming the existence of limit is assured, to prove the equality.  My Thoughts:  1) $||f||_{p} ^{p} = \int|f|^{p} d\mu = \int(|f|^{r})^{p/r} d\mu \le [\int |f|^{r}d\mu]^{p/r} < \infty$ for $0<p<r$ ; by Jensen's Inequality.  But how does it imply the limit exist??  2) to prove the equality, again by Jensen's Inequality ,   $log ||f||_{p} = log [ (\int_{X}|f|^{p} d\mu)^{1/p}]=\frac{1}{p}log[ \int_{X}|f|^{p} d\mu] \ge \frac{1}{p} \int_{X}(log |f|^{p}) d\mu = \int_{X} log|f| d\mu$ .But then???  Please help in this regard...Thank You!!


Is there any book on statistical distributions?

I am a civil engineering student and my research area is traffic engineering. I have encountered different types of statistical distributions e.g. Poisson, binomial, Gumbel, Gaussian, Pearson type III, etc in traffic engineering literature. I understand some of the distributions and what kind of data they fit. But there are many distributions (e.g. Pearson distributions, Gumbel distribution, etc.) which are completely alien to me: I can't find a thorough explanation online or in any book which I could understand and apply in my research. Is there any book or online resource covering all statistical distributions with their applications?


I have a top down game. The player moves the avatar with WASD where W rotates the avator to 180, S rotates to 0, A rotates to 90 and D rotates to 270. I also do diagonal movement so if they hold SA it rotates to 45, WA it rotates to 135, WD it rotates to 225, and SD it rotates to 315.  I smoothly rotate from the current rotation to the hardcoded desired rotation based on those key combo's. Of course what happens is if I'm rotating from anything > 180 to 0 it goes the long way back to 0. So if I'm at 270 rotation and I press S key it sends it back to 0 but that goes from 270 to 0 vs going from 270 to 360 which would result in the same end result but how it got there would be shorter.  I was looking at this () and trying to translate it but it's not working. Below is my translation.  function Script:CalcShortestRot(current, target)     --if current == target then return from end      local dist = target - current + 180     dist = dist - math.floor(dist / 2 / 180) * 2 * 180 - 180      System:Print("Dist = "..dist)      if dist < 0 then         System:Print("Value 1 = "..target - current)         return current - dist     else         System:Print("Value 2 = "..current + target)         return current + dist     end end   The usage is:  -- determine the model rotation based on direction we are going     if move > 0 then         if strafe > 0 then             self.targetRot = self:CalcShortestRot(self.targetRot, 225)             --self.targetRot = 225         elseif strafe < 0 then             --self.targetRot = 135             self.targetRot = self:CalcShortestRot(self.targetRot, 135)         else             --self.targetRot = 180             self.targetRot = self:CalcShortestRot(self.targetRot, 180)         end     elseif move < 0 then         if strafe > 0 then             --self.targetRot = 315             self.targetRot = self:CalcShortestRot(self.targetRot, 315)         elseif strafe < 0 then             --self.targetRot = 45             self.targetRot = self:CalcShortestRot(self.targetRot, 45)         else             --self.targetRot = 0             self.targetRot = self:CalcShortestRot(self.targetRot, 0)         end     elseif strafe > 0 then         --self.targetRot = 270         self.targetRot = self:CalcShortestRot(self.targetRot, 270)     elseif strafe < 0 then         --self.targetRot = 90         self.targetRot = self:CalcShortestRot(self.targetRot, 90)     end      self.rot = Math:Curve(self.targetRot, self.rot, self.damping)   EDIT: updated my CalcShortestRot() function per comments below but still not working. It spins all around


Are there any guidelines for having a low risk of getting audited by IRS?

I know the question might be too broad. But maybe top 5-10 guidelines will suffice.


Any Implications of Fermat's Last Theorem?

In our discourse FLT is Fermat's Last Theorem. I am unaware of any theorems or conjectures that begin assuming FLT is true, or otherwise use FLT as a starting point or tool. The small amount of literature review I've done on this question reveals nothing.  My question is: Where can I find a work requiring FLT, or some useful implication of FLT? Even an implication of a polynomial inequality, that may not be FLT, may be a good answer to this question, as I'll likely try to use it to find something regarding FLT.  The following is not acceptable as an answer to this question:  $$ (a^{x_{1}}_{1} + b^{x_{1}}_{1} - c^{x_{1}}_{1}) \ldots (a^{x_{n}}_{n} + b^{x_{n}}_{n} - c^{x_{n}}_{n}) \not= 0 : x_{i} > 2 $$  and it's expansions imply (something trivial)  Another acceptable answer to this question would be a proof requiring FLT to be false.  Thanks and please let me know if I can ask this question in a way more fitting math.se (new user).


I am sitting inside a closed room with a cement ceiling just above my head. The pressure of the atmosphere is exerted on the ceiling from above(outside). But solid cement not being a fluid does not transport that pressure into my room. But i still feel the atm pressure which has no way to be transported into the room.I do not boil to death or anything. How does this happen?


For normalized X and Y, how can the slope be equal in lm(Y~X) and lm(X~Y)

Lets consider normalized variables X and Y. Slope of a lm(Y~X) is Cor(Y,X)*sd(Y)/sd(X) and for lm(X~Y) its Cor(X,Y)*sd(X)/sd(Y). Since sd(X) = sd(Y) = 1. The slopes of lm(Y~X) and lm(X~Y) are always bound to be equal.   That would mean the regression lines for both of the models will be, $Y = mX$ and $X = mY$.   Lets take an example.   x = rnorm(20) y = rnorm(20) x = (x-mean(x))/sd(x) y = (y-mean(y))/sd(y) lm(x~y)  Call: lm(formula = x ~ y)  Coefficients: (Intercept)            y     4.333e-17   -1.272e-01    lm(y~x)  Call: lm(formula = y ~ x)  Coefficients: (Intercept)            x    -4.333e-17     -1.272e-01      Suppose we have two normalized variables X and Y as shown above. They have Cor(X,Y) = Cor(Y,X) = -0.127.   If I use X as a predictor variable of Y, I get Y = -0.127X; then, I expect X = -1/0.127 Y.  If I use X as a predictor variable of Y, I get Y = -0.127X;    It looks like both statements are inconsistent. How to interpret this result?


Saving Firefox (or other applications) windows to open up verbatim on next reboot

On Windows 7 Home Premium, I sometimes need to reboot my system, but I don't want to lose the URLs in the various Firefox open windows and tabs. Basically, I would like to save the layout of the firefox windows so that upon finishing the reboot process, when I relaunch firefox, I can restore the saved state of windows and tabs. The same might also go for other running applications before rebooting.  To achieve this, I usually resort to killing Firefox, rebooting, and then restoring the windows from the "Well, this is embarrassing." window that says "Firefox is having trouble recovering your windows and tabs. This is usually caused by a recently opened web page." when I relaunch Firefox, and I press the "Resotore" button to get my windows and tabs back, but this is not a very clean solution.  Anyone have a better idea of how to achieve the effect of restoring application windows and tabs to a previous state after system reboot?  Thanks.    EDIT:  The behavior I'm asking for is application-specific and the place where the "Save Desktop Layout upon Quitting" functionality can be enabled varies from application to application. However, in Firefox 34.0.5 to use this setting one must enable it in `Menu icon -> General -> When Firefox starts: Show my windows and tabs from last time -> OK".  Regards.


I have a problem: I render images, and if Blender accidentally quits while performing some sort of operation, I lose my rendered data. (If only a single unsaved image).  I have external data > 'Pack all into .blend' enabled, but this does not pack rendered images into the file.   Is there a way to pack single rendered images into the .blend along with all of my already packed textures?  This would be extremely helpful, and would save a lot of render time!


A stabiliser of a smooth action is a Lie subgroup

I have got the question at my Lie Groups course.  The Lie subgroup is a submanifold of a Lie Group which is also a subgroup.  Assume the Lie Group $G$ acts on a smooth manifold $M$. The stabilizer of a point $G_x$ is a subgroup, I need to show that it is a Lie subgroup as well, i.e. a submanifold.  The statement is mentioned in  question.  I know that every subgroup of a topological group is closed, so $G_x$ is closed, but looks like we should use that M is a manifold and that the acting is continuous, but I have no clue how to make the coordinate definition of a submanifold work here.  UPD , ,   Looks like this question was answered two times already but I didn't find it in a brief inspection.


YVR (Vancouver) to DUB (Dublin) through MUC (Munich)

I bought a return YVR to DUB for around $860 with a layover in MUC. I will be travelling without luggage.  I want to get off in MUC but still use the return from DUB. YVR/DUB is operated by Lufthansa. DUB/YVR is operated by Air Canada.  If I don't board the connector MUC to DUB, will my return DUB to YVR be cancelled?


Why couldn't River Song's memories bring back The Doctor in the rebooted universe?

In the season 5 finale of Doctor Who, in the wedding ceremony of Amy, River Song showed up outside the door. Moments later, we discovered that she gifted Amy her blank diary which was supposed to contain information about The Doctor. It means River Song remembered The Doctor.  Memories of The Doctor was able to bring The Doctor back to existence in the rebooted Spacetime. Why couldn't River Song's memories work?


Highway/motorway speed limit for non EU tourist in Germany

I will be visiting my friend who lives in Germany in August. I would rent a car and drive from Frankfurt to Milan along with my friend who is an EU citizen. I have read in different forums that there is no speed limit on the highway in Germany. I would like to ask 2 questions here:   Is there really no speed limit on highways in Germany? If there is no speed limit, can non EU citizens also drive cars in Germany without any speed limitations?


How to typset $:\iff$ (logical equivalence)?

How shall I typeset ":<=>" in Latex which means ? After typing A :\iff B I get    Comparing it with A \coloneqq B (cf.  ):    We see that there is a bigger space between the colon and the \iff symbol in A :\iff B. Unfortunately I haven't found a symbol in  for this purpose...  My attempts: The result of A \ordinarycolon\iff B    and A \vcentcolon\iff B:


Norm of the quotient map for a normed space

Let $X$ be a normed space and $F$ a closed subspace. On $X/F$ let us take the quotient norm $||[x]|| = \inf_{y \in F} ||x - y||$. Consider the quotient $q : X \rightarrow X/F$. I can see that, if $||x|| = 1$, then $||q(x)|| = \inf_{y \in F} ||x - y|| \leq ||x - 0|| = 1$ since $0 \in F$. This proves that $q$ is bounded and $||q|| \leq 1$. How may I show that $||q|| = 1$?


I do understand that the female has to prepare for possible fertilization and make sure that the egg is of the best quality, so they try to remove aged egga from the uterine. However why cant the body just simply get rid of the egg not the uterine lining?  Maybe like reabsorb the egg or pass them out as waste? I mean its extremely energy consuming etc and it would be an evolutionary disadvantage since many other mammals dont go through menses.


I have a process that gets started by a damon running as root, now I want to "downgrade" this process's privileges to those of your average user. Is this possible? If yes how?  PS: Running unix on a mac


Equations of lines tangent to an ellipse

Determine the equations of the lines that are tangent to the ellipse $\displaystyle{\frac{1}{16}x^2 + \frac{1}{4}y^2 = 1}$ and pass through $(4,6)$.  I know one tangent should be $x = 4$ because it goes through $(4,6)$ and is tangent to the ellipse but I don't know how to find the other tangents. Any help is appreciated.


Two-page view in full screen for Adobe Acrobat

Since i'm using a wide screen, i want to view two page in full screen while reading PDF. I can view two page in Reading Mode or normal view. however, whenever i switch to full screen mode, acrobat show only one page. I guess there must be some way to view two page when you're in full screen mode in Adobe Acrobat?


Should I apply for a Spanish or Italian visa?

I am Indian, travelling to Spain (Madrid 2 nights, Barcelona 3 nights) and then to Italy (Venice 2 nights. Florence 2 nights, Rome 3 nights). Which visa should I apply for?


The objects look fine in rendered view, but once I render out the frames these seams appear. Super subtle but want to get rid of them. Any ideas?


I'm writing an article for Elsevier Journal which follows APA6e references; everything is fine except that the article starts from page 2 leaving page 1 blank with just double hyphen (==) in the middle. Here is how I write.  \documentclass[preprint,12pt,authoryear]{elsarticle} \usepackage[natbibapa]{apacite} \usepackage{float} \usepackage{hyperref} \usepackage[ruled,vlined,commentsnumbered]{algorithm2e} \journal{Expert Systems with Applications}  \begin{document} \begin{frontmatter}  \bibliographystyle{apacite} \bibliography{myrefers}  \end{document}   How Can I rectify the problem?