$X$ is a normed space and for any $x \in X$ and $r \gt 0$, let $T=\{y\in X: \|y-x\|\le r\}$ and $S=\{y\in X: \|y-x\|\lt r\}$, then $\bar{S}=T$.

Let $X$ be a normed linear space and, for any $x \in X$ and $r \gt 0$, let $T=\{y\in X: \|y-x\|\le r\}$ and $S=\{y\in X: \|y-x\|\lt r\}$.  If $z\in T$ and $z_n=(1-n^{-1})z$, for $n\in \mathbb{N}$, show that $\lim z_n=z$ and hence show that $\bar{S}=T$.   Below is the solution to the problem. But I think it's wrong. It shows that $\|z_n\|\lt r$, but we need $\|z_n-x\|\lt r$, where $x$ is a fixed point in $X$, to show that $z_n \in S$. How can I show this? Perhaps the problem is wrong? I would greatly appreciate any help.


I am getting the following error msg when entering sudo apt-get update in terminal:  W: Duplicate sources.list entry cdrom://Ubuntu 13.10 _Saucy Salamander_ - Release i386 (20131016.1)/ saucy/main i386 Packages (/var/lib/apt/lists/Ubuntu%2013.10%20%5fSaucy%20Salamander%5f%20-%20Release%20i386%20(20131016.1)_dists_saucy_main_binary-i386_Packages)  W: Duplicate sources.list entry cdrom://Ubuntu 13.10 _Saucy Salamander_ - Release i386 (20131016.1)/ saucy/restricted i386 Packages (/var/lib/apt/lists/Ubuntu%2013.10%20%5fSaucy%20Salamander%5f%20-%20Release%20i386%20(20131016.1)_dists_saucy_restricted_binary-i386_Packages) W: You may want to run apt-get update to correct these problems   I'm running Ubuntu from a flash-drive. I've run apt get update several times, to no avail. How do I correct these?


I want to restrict access to Sharepoint people.aspx page.I have done changes in web.config people by authorization but still the user is able to access the page.Please suggest me how to restrict access to it. The changes done to web.config file as adding location and authorization and allow access.


When exactly does combat start and surprise take effect?

So say I'm going to ambush an orc. I successfully sneak up on him and I attack. The DM determines that the orc is surprised. The orc happens to get an initiative roll of 19, while I get a 10. How would this work? I can only think of two reasonable resolutions to this.   The orc, having a higher initiative, goes first. Since he's surprised, he does nothing. Then it's my turn. If the orc survives my attack, it is now his turn, and being that the orc has already gone through his round of surprise, he can now attack me or whatever, and combat proceeds as normal. I, having started the combat, go first. If the orc survives my attack, but he is surprised, so he does nothing. It is now my turn again, I attack again. If the orc survives my second attack, it is now his turn, and being that the orc has already gone through his round of surprise, he can now attack me or whatever, and combat proceeds as normal.   Which one of these is correct? neither? Does starting combat secure me a turn/action at the start of initiative order like in option 2? If option 1 is correct, could I ready an action to shoot the orc, effectively granting me a similar first attack as in option 2?  Sorry if this makes no sense.


What's the most elegant/concise way of printing all strings in a list into a single string?

Is there an elegant way (elegant meaning without an iterator or a loop) to print every member of Java's List<Sting> object into a comma-separated string?  E.g., Java's version of Perl's my $allElementsString = join(",", @myStrings);  I checked List interface and didn't find anything promising (my best guess was to use toArray and then Array's toString?)


how yield in the following code snippet works on Python

Normally people are using in a loop and tried the following code works and wondering how sum leverage yield?   # a generator that yields items instead of returning a list def firstn(n):     num = 0     while num < n:         yield num         num += 1  sum_of_first_n = sum(firstn(1000000))  print sum_of_first_n   thanks in advance, Lin


Prime element of integral domain is irreducible. Counterexample of inverse.

This is question from abstract algebra. I know that every prime element of integral domain is irreducible. And I think that its inverse does not hold in general. But I can't think about counterexample. Is there an example? Or does its inverse hold?


About change the 7 bit to a number and return that number in c++

int setBit7to1(int v) {     // TODO: set bit 7 to 1     return v; }  int setBit5to0(int v) {     // TODO: set bit 5 to 0     return v; }   for example    setBit7to1: if input: 0x01, output: 0x81  setBit5to0: if input: 0xffff, output: 0xffef    can someone help?


I have to prove the following: If $R$ is a finite-dimensional algebra over a field $F$, then $J(R)$ is nilpotent.  I thought about this, but there are some gaps:    Because $R$ is in particular a finite dimensional vector space, there is a composition series $0=R_0\subset R_1\subset\dots\subset R_k=R$ of VECTOR SPACES. Do I know that this is a composition series of $R$-modules? If yes, why? Or how can I find some?  If that is the case, I would proceed as follows: $J(R)R_n/R_{n-1}\subseteq R_n/R_{n-1}$. Now, I would like to use, that the quotient is simple, so if the above is a strict inclusion (how to show that?), then $J(R)R_n/R_{n-1}=0$. Now, by induction it is easy to see that $J(R)^k=\{0\}$.


I have a set of points in QGIS and I am trying to create drive time buffers around them, how do you do that?  I am using QGIS 3.6.3.


$ sudo update-manager -c Checking for a new Ubuntu release Please install all available updates for your release before upgrading.  Prior to upgrading I checked that the version 18.04LTS was up to date. I must have missed something possible a repository Reading package lists... Done                        Building dependency tree        Reading state information... Done 6 packages can be upgraded. Run 'apt list --upgradable' to see them. W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58 W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58  $ apt list --upgradable Listing... Done libodbc1/bionic 2.3.7 amd64 [upgradable from: 2.3.4-1.1ubuntu3] unixodbc/bionic 2.3.7 amd64 [upgradable from: 2.3.4-1.1ubuntu3] wine-stable/focal 5.0.2~focal amd64 [upgradable from: 5.0.2~bionic] wine-stable-amd64/focal 5.0.2~focal amd64 [upgradable from: 5.0.2~bionic] wine-stable-i386/focal 5.0.2~focal i386 [upgradable from: 5.0.2~bionic] winehq-stable/focal 5.0.2~focal amd64 [upgradable from: 5.0.2~bionic]  How do I upgrade these packages?


Ubuntu: errors in terminal: how to show them in english language?

i installed Ubuntu in italian language. Now I would like to see the error commands in english.  For example if i write:     $ mmmm   This is showed:     mmmm: comando non trovato    I would like that      mmmmm: command was not found   is showed.  Any idea?  Regards  Javi


Biasing circuit schematic - MABC-001000-DP000L

I am trying to design a bias controller circuit using . I am unable to find the full schematic of the same. Has any one used  for designing bias circuit? Edit:- I have updated datasheet link


Prove that $\frac{1}{15}<\frac{1}{2}*\frac{3}{4}* \dots *\frac{99}{100}<\frac{1}{10}$   My attempt:If we name the value $A$ we have:  $A^2<\left(\frac{1}{2}*\frac{3}{4}* \dots *\frac{99}{100}\right)\left(\frac{2}{3}*\frac{4}{5}* \dots \frac{100}{101}\right)=\frac{1}{101} \Rightarrow A<\frac{1}{10}$  But I don't know, how to prove the other side?


Can I use a 15w LED bulb in a fixture that says max 40w incandescent or 11w CFL?

I picked up a light fixture at a reuse store and it says max 40w incandescent or 11w CFL. It doesn't say anything about LEDs. Thoughts?


Showing that localization is an exact functor

I'm again in this awfully familiar situation where I'm struggling to prove simple statements mostly because I have no idea how a template of a proof should look like in this specified context.   I'm trying to prove these two statements:   Given a multiplicative subset of a ring $S \subset R$.  The localization functor from $R-Mod$ to $S^{-1}R-Mod$ defined by: $$M \mapsto S^{-1}M ,\phi \mapsto S^{-1}\phi=(\frac{m}{s} \mapsto \frac{\phi(m)}{s}) $$ Preserves homology of all complexes.  Let $A \to B \to C$ be a complex in $R-Mod$. If all localization by prime ideals $\mathfrak p \subset R$ make $A_{\mathfrak p} \to B_{\mathfrak p} \to C_{\mathfrak p}$ exact in $R_{\mathfrak p} -Mod$ then $A \to B \to C$ is itself exact.     My actual problem with both questions is that i keep getting confused by torsion elements of the modules and if annhilators intersect the multiplicative set i'm stuck altogether...  I think it's a partly language barrier so I would be really thankful if whoever answers this question will give a detailed answer that would demonstrate a correct and elegant use of the relevant language and tools in this context.


How does one generate a random string sequence with Apex?  I need to generate a code when a particular object is created in our Salesforce environment.  I'd like the code to contain numbers from 0-9 and letters from A-Z.  Searching their rather awful developer forums I found:  Blob blobKey = crypto.generateAesKey(128); String key = EncodingUtil.convertToHex(blobKey); return key.substring(0,len);   However this isn't going to cover a very large range of letters.  In the C# world something like the following would do the trick:  var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; var random = new Random(); var result = new string(     Enumerable.Repeat(chars, numberOfCharacters)               .Select(s => s[random.Next(s.Length)])               .ToArray() );   Is there an easy way to do something similar in Apex that I'm just not familiar with?


Unable to Mount my Android 4.4 in ubuntu 12.04

I bought the phone which has android 4.4 version and i am using ubuntu 12.04 and i am unable to connect this to my PC.


Why is gravity reduced if you go below earth surface? Asked and answered before but I do not agree with the concepts followed in several answers. The concept of calculating the gravity attraction force using the mass and the distance to its center is limited to point masses and the error in using it will increase with the ratio of size of the mass to the distance to its center. With large close bodies we need integration (not my best suit) but to illustrate try this exercise.  Consider three masses A, B & C of one mass unit each. Locate them in space one unit distance apart from left to right. Calculate the gravity attraction on the mass A due to masses B & C to its right. Force AB = 1x1/1 (one unit mass each and one unit distance apart) Force AC = 1x1/4 (one unit mass each and two units distance apart) Then Forces (AB + AC) = 1.25  Now consider masses B & C as two halves of a combined mass D (2 units with a CG at 1.5 distance units from A). Force AD = 1x2/(1.5squ) = 0.8'  An obvious disagreement, but the las calculation is in error. The principal error is that the location of center of combined masses is calculated by averaging distances. While gravity forces are calculated using squared distances. We cannot add them using a combined mass at an arithmetically averaged distance. I think a math teacher can name the discrepancy.  Now rearrange the masses to have A-B two units and B-C one unit distance apart. Repeat the calculation. You get  Force (AB + AC) = 0.36 Force AD = 0.32  The error is reduced the lower the ratio of size of mass D to distance to A.  About going down in a mine shaft towards the center of earth, thanks to the comment on this answer using integration proves the gravity effect is zero inside an even spherical, because it is zero for every element before integration.   The simplified example of masses ABC points to the error in calculating gravity outside a large mass if we use the distance to the geometric center of the mass.


Thorn Whip, polearm mastery and attack of opportunity

What about this scenario: I pull the monster towards me with thorn whip BUT I have the polearm mastery that says "While you are wielding a glaive, halberd, pike, or quarterstaff, other creatures provoke an opportunity attack from you when they enter the reach you have with that weapon."  What happens then? Can I have an attack of opportunity? Or the general rule "You also don’t provoke an opportunity attack when you teleport or when someone or something moves you without using your movement, action, or reaction" prevents my plan from happening?


single record with comma separated value

I am using the sql query like  SELECT fun_systemuser(UserID) as ConsultantName,        fun_store(UserID) as StoreName,        count(UserID) as No_of_PhoneModel,        PhoneModelID,        (select LeegraRegion            from store           where ID=claim.StoreID) as Region,        fun_network(UserID) as ChannelName,        fun_group(claim.StoreID) as GroupName,        fun_campaigns(UserID) as CampaignName     FROM `claim`   where UserID IN (SELECT id                      FROM `systemuser`                     WHERE `RoleID`=1                       and `Topconsultant`=1)     and StatusID=5   group by UserID ,PhoneModelID   I have query result like given below:    There are 4 records for single consultant with different phone model id and no. of sales of phone model id.  I want to single record for every consultant name and there should be show phone model and no.of phone model with comma separated value.  Ex. single record should display like below  Thomson 4U-Sunnypark 3,2,3,1  1,3,6,9 Pretoria Vodacom Sachar Mobile vodacom Campaigns   Is anybody know what should I use in query so I can get the result as I want. Thanks in advance.


I have an excel file that has recently become corrupted.  It was created back in 2006 and I was wondering if anyone knows of a quick and easy way to extract the data.  The exact error message is:      [filename.xls]: File format is not valid   The question: is there a way I can manually repair or at least extract the data from the file?


Correlation between a continuous variable and a discrete quantitative, count variable

I guess this is a classic statistical question but I can not find any clear answers (or at least one that I can understand) about my problem on the net. I work in biology and I try to highlight a link between two variables. The first variable is a continuous quantitative variable (it is a measure of the intensity of a given signal, between 0 and 200). The second variable is a discrete quantitative variable (it is the number of stimulations that I do, between 0 and 4; so it is integer, count variable). For each stimulation, I have a number of measurements of my signal (between 4 and 15 measurements). I have illustrated the kind of measurements that I obtain using a boxplot representation.  I try to highlight the fact that the intensity of my (continuous) signal is correlated to my stimulation number (discrete). I do not think the Pearson or Spearman tests/coefficient are adequate in my case. Could you tell me what is the statistical approach to follow? Ideally, I would like to have a value, between -1 and 1, indicating if my variables are linked or not as well as a p-value to determine if they are significantly linked. Edit Thank you very much for your feedback and answers. To answer the different points, I went to the Department of Biostatistics and discussed with some folks there. Many of them told be that I cannot use the Pearson or Spearman tests/coefficient. I went then to the conclusion that "the Pearson or Spearman tests/coefficient are adequate in my case.". From my understanding, I cannot use the Pearson test because of the fact that my data are not normally distributed.. The student gave me this paper to read: . I have no mathematical background at all but my understanding is that I can use the coefficient but non the p-value of the test.. In my case, I really need to have the p-value. It seems that I cannot have/use the test if my data are not normal, so I need to transform them... I have no idea by what to start with.. For the Spearman coefficient and its associated p-value, the software that I am using do not want to provide me a results because of the ties.. I had the feeling that many people at the Department have an idea, but they all have a different solution. I am trying to see in the literature, if someone had the exact same problem ? Regarding the Binomial regression, will it provide me a coefficient and p-value?


Did the review counter just start showing total counts?

Clicking the orange review counter used to take me right to suggested edits. As of sometime in the past couple days, it started showing the total number of waiting reviews (not just edits), and leading to /review.  When was this changed, and why? It's not on


You can see some values on all electronic devices like 5V,0.2/0.3A on mobile chargers.What do these values represent?what can we understand from them


How do I create a PPA for a working program?

Let's assume I have a working application written in C, C++ or Python. I want to create a Launchpad PPA so others can easily install it from a package. Please give step by step instructions for doing this from beginning to end. (Or provide a link that does the same ;)   Does the programming language matter? (Could it be a bash script?) Do I need to add anything to my build? Where should the build install itself to? How do I define dependencies? How do I use dependencies? How do I create a .deb? What do I need to do before uploading to Launchpad?


compute $\displaystyle \lim_{n \to \infty}\frac{\sum_{i=1}^{n-2} \sum_{j = 1} ^{n-i-1} ( n-(i + j))}{n^3}$?

I was trying to solve the following problem      If we pick k numbers from the interval (0, 1), what is the probability the sum of those numbers is <1 when ? (k = 6)   for k = 2, got $\displaystyle\lim_{n \to \infty}\frac{\sum_{i = 1}^{n-1} i}{n^2}=0.5$  for k = 3, I got the expression $\displaystyle \lim_{n \to \infty}\frac{\sum_{i=1}^{n-2} \sum_{j = 1} ^{n-i-1} ( n-(i + j))}{n^3}$  how to compute it and is there a way to generalize it for picking k numbers from the interval (0,1)?


What is wrong with a pointer during a string

char*a = "HELLO"; printf("%s\n",a);   This prints on the screen the word HELLO.  But why doesn't this work when I actually use it in the scan command,i.e.  scanf("%s",a) // Doesnt work. scanf("%c",a) // Doesnt work.   Why do the above two dont work? When I do something like,   char a[50]; scanf("%s",a); // This works.    Why the statements marked as Doesnt work dont work?


What tense to use when reporting something which has never been true or never happened?

The report said that years ago city planners had planned to build a facility that turns salt water into fresh water, but financial woes made that impossible.   In this sentence should turned be used instead of turns?


Disable the automatic rejection of questions without matching tags

Migrations can be automatically rejected, the two major reasons this happens are   the user is question banned on the target site the question does not havy any tag that exists on the target site   The first check makes a lot of sense, but I can't see why we would actually want to do the second one. Tagging varies a lot between sites, and it is easily possible to create false positives for this check, questions that would be appropriate for the target site but don't have any tags that match it. One example where this happens is between Math Overflow and Math SE because MO uses arXiv classification as a base for their tags, so they often don't match the MSE tags.  I'm not convinced the check does much good, and there is already a major system that is meant to reduce the number of migrations to completely wrong sites. The community can only migrate to sites on a short list, and those sites are selected carefully and removed if too many bad migrations happen. I think this is sufficient for most cases, and I can't imagine this tag check to prevent any significant volume of bad migrations. For such a question I find the chance for false positivies not worth it.  Another issue is that the rejection is entirely silent, which can easily confuse users.


I need to install libsdl1.2-dev for doing some graphics, but it is not allowed.   The reason is:  Die folgenden Pakete haben unerfüllte Abhängigkeiten:  libsdl1.2-dev : Hängt ab von: libx11-dev soll aber nicht installiert werden                  Hängt ab von: libglu1-mesa-dev soll aber nicht installiert werden                  Hängt ab von: libpulse-dev soll aber nicht installiert werden                  Hängt ab von: libxt-dev soll aber nicht installiert werden                  Hängt ab von: libxext-dev soll aber nicht installiert werden E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.  Update: Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass Sie eine unmögliche Situation angefordert haben oder, wenn Sie die Unstable-Distribution verwenden, dass einige erforderliche Pakete noch nicht erstellt wurden oder Incoming noch nicht verlassen haben. Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:  Die folgenden Pakete haben unerfüllte Abhängigkeiten:  libpulse-dev : Hängt ab von: libpulse0 (= 1:1.1-0ubuntu15) aber 1:1.1-0ubuntu15.4 soll installiert werden                 Hängt ab von: libpulse-mainloop-glib0 (= 1:1.1-0ubuntu15) aber 1:1.1-0ubuntu15.4 soll installiert werden                 Hängt ab von: libglib2.0-dev soll aber nicht installiert werden  libx11-dev : Hängt ab von: libx11-6 (= 2:1.4.99.1-0ubuntu2.1) aber 2:1.4.99.1-0ubuntu2.2 soll installiert werden               Empfiehlt: libx11-doc soll aber nicht installiert werden E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.   mp@ubuntu:~$ sudo apt-get install libsdl1.2-dev libx11-dev libglu1-mesa-dev libpulse-dev libxt-dev libxext-dev Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut        Statusinformationen werden eingelesen... Fertig Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass Sie eine unmögliche Situation angefordert haben oder, wenn Sie die Unstable-Distribution verwenden, dass einige erforderliche Pakete noch nicht erstellt wurden oder Incoming noch nicht verlassen haben. Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:  Die folgenden Pakete haben unerfüllte Abhängigkeiten:  libpulse-dev : Hängt ab von: libpulse0 (= 1:1.1-0ubuntu15) aber 1:1.1-0ubuntu15.4 soll installiert werden                 Hängt ab von: libpulse-mainloop-glib0 (= 1:1.1-0ubuntu15) aber 1:1.1-0ubuntu15.4 soll installiert werden                 Hängt ab von: libglib2.0-dev soll aber nicht installiert werden  libx11-dev : Hängt ab von: libx11-6 (= 2:1.4.99.1-0ubuntu2.1) aber 2:1.4.99.1-0ubuntu2.2 soll installiert werden               Empfiehlt: libx11-doc soll aber nicht installiert werden E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.


Algebraic field extensions: Why $k(\alpha)=k[\alpha]$.

If $K$ and $k$ are fields, $K\supset k$ is a field extension and $\alpha \in K$ is algebraic over $k$, then we denote by $k[\alpha]$ the set of elements of $K$ which can be obtained as polynomial expressions of $\alpha$.   $$k[\alpha] = \left\{P(\alpha): \quad P\in k[X]  \right\} $$  Also, we denote by $k(\alpha)$ the smallest subfield of $K$ containing both $k$ and $\{\alpha\}$. This is easily seen to be equal to the set of fractions of polynomial expressions in $\alpha$ (just thinking about the way the "smallest" subfield must be generated):  $$k(\alpha) = \left\{\dfrac{P(\alpha)}{Q(\alpha)}: \quad P,Q\in k[X] \text{  and } Q(\alpha)\neq 0 \right\} $$  If $M$ is the minimal polynomial of $\alpha$, it is easily shown that $k[\alpha]\simeq k[X]/\langle M\rangle$ is a field  and therefore a subfield of $k(\alpha)$ containing both $k$ and $\{\alpha\}$. Therefore $k(\alpha)=k[\alpha]$, because $k(\alpha)$ is the smallest.   It follows that all quotients $\dfrac{P(\alpha)}{Q(\alpha)}$ are equal to $H(\alpha)$ for some polynomial $H\in k[X]$.   What I want to see is a more direct proof of this fact. Given $P$ and $Q$, how do you produce this $H$?


Can a student on an F1 Visa day trade US stocks?

I am an international student on F1 visa. Can I day trade US stocks?  As a day trader I will be placing multiple buy sell orders within a day. Is there any limit to number of orders that I can place per day?  Is there a maximum limit on dollar value of trades? Is it legal for me to trade given I'd pay my taxes due on my trading profits?  I will be trading solely for myself. Will it be considered work and hence illegal?  I know long-term investing is allowed for F1 visa holders given they are in good academic standing and their visa status is maintained. Is day trading allowed too?


Good practices for patching SQL nodes in High Availability solution

Our database structure utilizes two roles in the Window Failover Cluster Manager.  One is for FCI - switching between the active/passive node in the Primary Data center. One is for SQL Availability Group setup to copy data from the primary data center to the DR data center.  This also use for manual failover in the case of disaster scenario occurs.  Our IT team wants to perform OS patching on these servers regularly on a scheduled down time, the application will be offline when this happens.  This helps us out a bit because we don't have to worry about failover to a node while patching another, but instead we can assume we can bring the database offline completely during patching period. My question is what is the best way to do this since IT team probably does not know much about FCI or Database.  I don't want our databases to failover unexpectedly because during this process one of the active SQL node may needs reboot.  I'm thinking of giving them the following instruction.  RDP into the node active Cluster Group, you can find this by running the powershell command: Get-ClusterGroup and find the OwnerNodeValue of the "Cluster Group".    Open up Failover Cluster Manager Expands to Roles, there are two    roles one for AG and one for FCI. Right click on each and select "Stop Role" Perform patch, restart ect.. Once done, RDP back in and "Start Role" on the two roles to resume.  Would this work and is it considered good practice?  I am hoping to force the failover service to stop so that the SQL nodes don't fail-over to another node during a server reboot.


How to prove that $\sum_{n=1}^{+\infty}\frac{1}{n^2+1}=\frac{-1+\pi \coth (\pi)}{2}$?

I typed into my Mathematica:$\sum _{n=1}^{\infty } \frac{1}{n^2+1}$ , and the result was: $$\frac{-1+\pi \coth (\pi)}{2}$$ I know how to estimate the aforementioned sum , but I have no idea how to get its closed form.


It's possible that someone already asked it, but I'm unable to find something about so I've to ask again.  I'm having this problem: I will put a math formula inside the text using the $ $ environment and i need to put some text in the math formula; I can use the \text{} command, but I'm trying to keep the math environment style. The problem is that it dosn't go in a new line.   The image show my problem.  Here the piece of code that is givin me the problem  per poi ottenere $Q:=P(\xi_1)\land ...\land P(\xi_m)\land P(-\xi_1)\land ...\land P(-\xi_m)="uno\ stato\ casuale\ si\ stabilizza\ in\ uno\ degli\ stati\ memorizzati\ o\ un\ suo\ opposto".$\\ A questo punto


Unable to install Ubuntu-14.04-desktop-i386

I bought a new Toshiba with Windows 10 installed.  I downloaded  “Ubuntu-14.04-desktop-i386” on a different Ubuntu computer and put it on a disk. The disk did install on the new computer. After the install finished it said remove disk and restart.  After restart all it said was    >>Start PXE over IPv6. Press [ESC] to exit.   I have installed Ubuntu several times in the past on different computers, never saw this before. What am I doing wrong?


Example of convergence of sequences in topological spaces

Given $X$ a topological space and $A\subset X$, find an example where there exists $x ∈ \overline{A}$  which no sequence in A converges to $x$


Proving $P(A\cap \overline{B})=P(A)-P(A\cap B)$

how does one formula prove that $P(A\cap \overline{B})=P(A)-P(A\cap B)$. I can show with Venn diagrams that $(A\cap \overline{B})=A\backslash(A\cap B)$ but how does one formally prove it? And is it sufficient to prove this identity to get the identity for the probabilities?


Ok, so I wanted to write a delete method that works for any "delete-case" for Binary Search Trees and this is my attempt:   public void delete(int key) {  if (root.value == key) {    root = root.right;    root.left = root.right.left;    return;  }  else {    deleteRecursive(key, root);  ***LINE 58***  }   }   public void  deleteRecursive(int key, BinaryNode node) {  if (node == null) {    System.out.println("ERROR");    return;  }  else {    if (key < node.value) {      // continue search on left      if (node.left.value == key) {        if (node.left.left == null && node.left.right == null) {          node.left = null;             }        else if (node.left.left == null){          node.left = node.left.right;        }        else if (node.left.right == null){          node.left = node.left.left;        }        else{          node.left = node.left.right;          node.left.left = node.left.right.left;  ***LINE 83***        }      }      else {        deleteRecursive (key, node.left);      }    }    else if (key > node.value){      // continue search on right      if (node.right.value == key) {        if (node.right.left == null && node.right.right == null) {          node.right = null;        }        else if (node.right.left == null){          node.right = node.right.right;        }        else if (node.right.right == null){        }        else if (node.left.left != null && node.left.right != null){          node.right = node.right.right;          node.right.left = node.right.right.left;        }      }      else {        deleteRecursive (key, node.right);      }    }  } }   But when I actually use the delete method in Main its gives out a NullPointerException.  The error-message reads :   Exception in thread "main" java.lang.NullPointerException         at BinaryTree.deleteRecursive(BinaryTree.java:83)         at BinaryTree.delete(BinaryTree.java:58)         at Main.main(Main.java:14)   So I assume that it is in line 83 and 58 (marked in code).  I've been sitting here for the last hour trying to figure it out and can't seem to get it.  I'm not the best in Java so I thought i could look for some help here! :)  Here are all the files to run the program (everything except for the delete method was already given) :


I have a program in which I am reading from a text file. Below is an extract of the text file. What I want to do is read the first 3 lines and output the unit number (TD684) to console    |12.233     |2016001     |TD684         |Prof. P           |04/01/2016     |01 |12.233     |2016035     |TD684         |Prof. P           |04/01/2016     |01 |12.233     |2016455     |TD684         |Prof. P           |04/01/2016     |01 |10.456     |2016783     |BT473         |Dr. G             |07/01/2016     |01   Below is the program I use to do this. I have initialized the variable switched to false. The first time the program is run it is supposed to assign TD684 to variable unit. After that it is supposed to check if the next line also had TD684. So ideally it should output TD684 3 times to console. But it only happens once which leads me to believe that the loop is not working.        while (switched == false){         String line = sc.nextLine();         String[] parts = line.split(Pattern.quote("|"));         if (timesrun == 0){           unit = parts[3];           timesrun++;         }         if (parts[3] == unit){           System.out.println(parts[3]);         }else{           switched = true;         }     }   Could someone please tell me the reason why my program is not looping?


I told my friend, today I went for shopping. He replied me “Good for You”. Is it rude or normal?


Been running a set of quite nice slicks at 120-140 PSI for a couple of months. Might have done 400-600 km on the bike in that time. Tonight the rear tire exploded while the bike was sitting in my entryway. It's split right along the seam, with a roughly 2 inch long gap. Very loud bang etc.  Before I go out and buy another $70 tire, I want to get an idea of what caused this. Some possibilities that I've thought of include:   Running the tire at 140 PSI. The tire is rated to that pressure, but maybe this is still too much? Some brief stretches of gravel road (1-2km) I did on it last weekend. The bike seemed fine then however. There is a central heating/cooling vent directly adjacent to where the bike is stored. Perhaps the changes in temperature were enough to damage the tire? The roads in this area are not always very good. Maybe this is just the result of accumulated damage from dozens of minor nicks and bumps? The tire could be defective.    Edit: added a picture. Looks like the tube has a ~1cm hole in it.


the caps key on my MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports) does not work. it registers occasionally but not all the time. any fix?


MySQL Workbench - How do I set a value to NULL using the GUI?

I want to set a record's value to NULL by just typing into the grid of the currently displayed table in MySQL Workbench and then pressing 'Apply', but when I try to do this, MySQL Workbench sets the value of the record to the string 'NULL'.  Does anybody know how to do what I am trying to do?   Obviously I could accomplish my objective by just typing the MySQL query, but this has happened to me a few times now while testing code and I figure there's an ever slightly easier way to do what I want.


Exporting Thunderbird from Win7 32bit to Win7 64bit

I am trying to export my thunderbird mails and mail accounts from my old win7 32bit to a new win7 64 bit.   Both have the same version (16.0.1). Earlier in this situation I just copy the Thunderbird folder found under my user data account (tried both local and roaming), but this is not working in this scenario.  I also tried to use Thunderbird export/import function, but it gives me a blank screen. This is what I am talking about:


Which Stack Exchange site is best for Microsoft Exchange questions?  It is related to public folders and exporting them out to an SMB file share with a predefined folder hierarchy. A solution could possibly include scripting.


Headphone jack apparently not working Acer Laptop

I can’t hear out of the left speaker of any headphones/earbuds unless I push down the jack connected to the computer. The mixer doesn’t work for the left ear too unless I hold the jack down.


Let $x=\displaystyle\prod_{n=1}^{180}\left(\cos{\left(\dfrac{n\pi}{180}\right)}+2\right)$ and $y=\displaystyle\sum_{n=0}^{89}\binom{180}{2n+1}\left(\dfrac{3}{4}\right)^n$. How to find $\frac{x}{y}$ ?  I have no idea to find it.  Thanks in advance.


What is more fundamental, fields or particles?

My confusion about quantum theory is twofold:    I lack an adequate understanding of how the mathematics of quantum theory is supposed to correspond to phenomena in the physical world I still have an incomplete picture in my mind of how cause and effect relationships occur at the quantum level of reality.    This is why phenomena such as "entanglement" make absolutely no sense to me. So, in an attempt to come to some understanding of all of this, I would like to know that if what we conceptualize as a "field" is merely an interaction among particles, and particles themselves are actually fluctuations in "fields", then which comes first, particles or fields?


Proving that the exponential inequality $e^x \ge x^e$ holds for all $x \ge 0$

How does one prove that $$e^x \ge x^e$$ for all $x \ge 0$?   I tried to do this by setting $f(x)=e^x-x^e$  Plotting this function shows this easily, as seen .   However, when I tried to prove this, it proved quite difficult. It seems to be increasing for $0 \le x \le e$, and seems to be increasing for all $x \ge e$.   I tried to use that $f'(x)=e^x-ex^{e-1}$ but was not able to.   Any help would be appreciated.


in trying to understand the Wu-Experiment I wonder why the $B$-Field is an axial vector. I know that $\vec{B} = \vec{\nabla} \times \vec{A}$. Under Parity transformation I'd expect $\vec{A} \rightarrow -\vec{A}$, however I don't know whether $\vec{\nabla} \rightarrow -\vec{\nabla}$.


What book features an intelligent race of robots known to humans as the Gaijin?

Long ago in a childhood far far away (around 2004), I read half of a book.  Before I could finish it, my mom returned it to the library.  Here are some things I remember about the book:   There was a race of robotic lifeforms that had their own planet.   When they showed up on Earth, the Japanese called them Gaijin (visitors).   They caused religious upheaval when they arrived.   They took some humans off planet to show them important things about the rest of the universe.     The universe they showed the humans was full of diverse and abundant lifeforms.   There was a binary star system that hosted microbial lifeforms that were regularly wiped out by radiation from the host stars.   It was not very long, probably no more than 350 pages or so.   Does this sound familiar to anyone?  I'd LOVE to finish this book!!


Seeking title / author of a story about alien first contact with Earth

As title, seeking the title of a story I read in the mid 1970s. I'm fairly sure it was a novella in an anthology.  Plot details I can remember - I think main character's family name was Monk.   His father had apparently been killed when the space station he was aboard crashed on the Moon - it later transpires that the station was deliberately crashed to conceal contact with an alien starship, and his father was still alive. The crew of the starship included various races - one appeared to be a beautiful human woman, while another ( the engineer ) looked like a giant squid.  After the main character's father died of cancer, the engineer also turned out to be a microbiologist and was able to cure the cancer and bring him back to life. Other things include a vehicle which was able to go out-of-phase with normal matter and travel through solid objects like the earth.


How can I have a guest session in Ubuntu MATE 18.04?

I know the guest session from the Unity Ubuntu, but I use Ubuntu MATE and I would like to have the guest session activated.   What I mainly want is for all the data in the home folder to be inaccessible, as well as firefox passwords, history and favorites. How can I do that?


Aside from the Force, is there magic in Star Wars?

Is there any sort of magic, besides the Force, existing in the Star Wars universe?  What triggered me to ask this question were the . The Wookieepedia article refers to their powers as "magicks" and seems to present deeds unseen in other force users:     The most powerful of them could use that ichor to summon objects out of the thin air, transform people into ghostly versions of their true forms, or even reanimate the dead.   I have found  that almost alludes to the Dark Side of the Force once; however it does so without a proper citation, and only actually says "gifted with the power to wield dark magicks", avoiding the topic.


How to add a second router that provides wifi but keep Ethernet ports enabled on both

By router I mean consumer grade that combines router/switch/wireless ap etc. I have a primary router that from the ISP. I want to connect a second router to it via Ethernet cable. The second is to provide the wi-fi (the first would have wi-fi disabled) but I want both to keep Ethernet ports enabled. I know it's strange but this is what I want.  I tried to set it up but ran into trouble. What's the best approach, dmz, port-forwarding or bridging? I had issues with one device not being able to access DNS. Also I find it confusing whether to plug Ethernet into WAN or LAN port on the second router?


How can I run a same command in mac terminal for multiple files in a folder?

How can I run the same command in mac terminal for multiple files in a folder? The files are named like 24538_7#1.fq, 24538_7#2.fq, 24538_7#3.fq, 24538_7#4.fq and so on.   The commands are:      sed -n '\|@.*/1|{N;N;N;p;}' 24538_7#2.fq > 24538_7#2_paired1.fq sed -n '\|@.*/2|{N;N;N;p;}' 24538_7#2.fq > 24538_7#2_paired2.fq  Since filename involves a counter, so, obviously the filenames need to be changed.  I was trying to write command, but I got stuck at renaming the file.  My effort for the command is below:  for file in 24538_7#*.fq; do sed -n '\|@.*/1|{N;N;N;p;}' "$file" > "${file/fq/fq}"; done   (PS- I use MacOS)


This is the first year that I pay attention to hats (I love hats!) and I wonder if I will keep my hats for next year?  Or will I start over with zero hats next year?


I am running 64-bit Debian testing. When I try to run steam I get the following error:  Package libgl1-mesa-dri:i386 needs to be installed Package libgl1-mesa-glx:i386 needs to be installed Package libc6:i386 needs to be installed   I am however, unable to apt-get the desired mesa driver:  $ sudo apt-get install libgl1-mesa-dri:i386 Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package libgl1-mesa-dri:i386


Definite integral (exact value): Help solving this definite integral

Here's the integral:  $$\int_{1}^{5}{\frac{\sqrt{x}}{\sqrt{6-x}+\sqrt{x}}dx}$$  tried rationalising the function:  $$\frac{\sqrt{x\left( 6-x \right)}-x}{6-2x}$$  which doesn't get me anywhere with substitution or integration by parts    I would appreciate if someone were to help me through hints/techniques (besides numerical methods).


Mount single partition from image of entire disk (device)

I made an image of my entire disk with  dd if=/dev/sda of=/media/external_media/sda.img   Now the problem is I'd like to mount an ext4 filesystem that was on that disk but  mount -t ext4 -o loop /media/external_media/sda.img /media/sda_image   obviously gives a superblock error since the image contains the whole disk (MBR, other partitions) not just the partition I need. So I guess I should find a way to make the disk image show up in the /dev/ folder...  Does anyone know how to do that?  PS: I can always dd back the image to the original disk, but that would be very inconvenient (I updated the OS and I'd like to keep it as it is)


JavaFx: NullPointerException in controller

I'm wondering why it is causing a null pointer exception. I'm trying to trigger Connect() function from another class which should have connect me to the database.  MainController class:  DBConnect dbConnect; @FXML private TextField logInField; @FXML private PasswordField passwordField; @FXML private Button logInButton;   @FXML private void buttonClicked() throws SQLException {     dbConnect.Connect(); }  @FXML private void initialize(DBConnect dbConnect) {     this.dbConnect=dbConnect; }   DBConnection class:  Connection conn; Statement st; ResultSet rs;  public void Connect() throws SQLException {     conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/bookcase", "root", "1234");     if(conn.isValid(10))     {         System.out.println("Connection reached");     }     else     {         System.out.println("Something went wrong!");     } }   It seems that the dbConnect property is not initialized, but i've already done it in initialize() method, which should be triggered after FXMLLoader loads the rest of the data, am I right? Am i using referance for the Connect() function from the other class correctly ? Regards


What is the correct integral of $\frac{1}{x}$?

I understand that the graphs of $\log(x)$ and $\ln(x)$ both have derivatives (changes in slope) that follow the pattern of:  $$\frac{d}{dx}\log_{b}x= \frac{1}{(x\ln(b))}$$  However, depending on the source, I have seen   for the integral of $\frac{1}{x}$:  $$\int\frac{1}{x}dx=\ln| x |+C$$  $$\int\frac{1}{x}dx=\log| x |+C$$  $$\int\frac{1}{x}dx=\ln x+C$$  $$\int\frac{1}{x}dx=\log x +C$$  I believe that only the top two definitions are close to being valid, and I also think that $\ln| x |+C$ is the only correct answer, based on the formula for the derivative given above, and the fact that $ln(e) = 1$. Is that incorrect?  Can the answer to this be shown graphically as well as algebraically?


Recently activated a product on steam that is already installed via disk. Can I move it to steam?

I recently activated my 2007 physical copy of Supreme Commander on Steam that has been installed via disk since that time. It gave me access to Supreme Commander AND Forged Alliance (yay free game! :D) but according to Steam I have to re-download and re-install SupCom, even though it is already installed.  Is there a way to move the original game files around such that Steam knows it's installed? Yes, I know I can uninstall the already installed copy and re-download it but I'd like to avoid that if I can.


I'm dragging two corners of a piece of cloth by two hooks during a cloth simulation. I'm wondering if there is a way to release the hooks at a certain point and the have the cloth simulation continue running. Thanks!  edit: I'm looking to animate the hooks moving toward the conveyor and then release the hooks so the cloth continues moving along the conveyor by physics. The conveyor and cloth parts work fine, I just can't figure out a way to release the hooks. edit: The suggested link above looks very promising to solving my issue. I'll report back after diving in.


How do I let players know that not every encounter has to be hack and slash?

My players kind of have a habit of, "If it walks like a duck and talks like a duck, WE MUST KILL IT!"  Recently they came across a small goblin camp and one of them (who speaks goblin) verbally bluffed the goblins into thinking he was their leader coming back from a meeting or some such business. "Brilliant," I thought, "let's see where they take this"... Into an ambush it turned out. Or in another example they learned of an enemy supply caravan heading from one town to another in a couple of days, so they ambushed it the road, rather than thinking of another option.  Now I have no problem with this whatsoever, I'm still new to DMing, not yet great at the role-play side of things in any case, running a published campaign, am running things more or less by the book, which my players don't seem to mind, and the caravan combat at least is in the book.  I guess what I'm getting at is; How do I encourage players to think outside the combat box and how do I, as the DM, give them other options without blatantly saying something like "maybe they don't want to fight"?  To hopefully make things a little more clear and to give another example, of which the PCs haven't actually come across yet. Say the PCs are camping in the forest and whoever's on watch hears wolves howling and getting closer, whether they wake the others up or not my lead in woud be something like;     Eventually there's a rustling in the bushes nearby and you see pairs of glowing red eyes that seem to watch your movement. After a minute or two a pack of wolves stalk out from behind the bushes and into the light of your camp fire, their eyes set with ravenous hunger and their jaws dipping with saliva.   How can I open up the possibility that if the PCs offer up some of their own food supplies than the wolves would be complacent and either back off or stick around for the night in the warmth of the fire and help protect the PCs? Not looking for answers specifically relating to that scenario but hopefully you get the idea.


MIT Integration Bee 2017 problem:$\int_0^{\pi/2}\frac 1 {1+\tan^{2017} x} \, dx$ : Need hints

$$\int_0^{\pi/2} \frac 1 {1+\tan^{2017} x} \, dx$$ I have tried substitution method, multiplying numerator and denominator with $\sec^2x$, breaking the numerator in terms of linear combination of the denominator and the derivative of it. None of these methods work. Some hints please?


Re-thinking "hover" functionality with touchscreens in mind

Take  as an example (possibly in Firefox only):    As you hover over each search result, an "+ Add to Firefox" button appears.  However, that idea of the button appearing upon hovering doesn't apply to touchscreen users. How might this functionality be re-worked for the touchscreen?  The button could be always displayed, regardless of hover. However, then you would have a long line of identical "+ Add to Firefox" buttons down along the page.


What is the value of $i^{i^{i^{\cdots}}}$

If i can find the the value of the expression in lhs. Then i can find the correct option. But i am unable to find the value of expression on lhs which is i^i^i^i^... Upto infinity . How to find that. I tried to convert this to equation i^m=m but i cant proceed further.


Incomplete desktop appears after logging in

When I started my laptop (hp pavillion series with Ubuntu 16.04) this morning, I got the usual login prompt, but when I entered my password and logged in, there was no launcher, no menu, nothing.   I searched for solutions on Ask Ubuntu and got the link to .  I did the mentioned steps and I got back my launcher only with limited icons and no menu bar. Then, I rebooted my laptop and again the launcher disappeared. So, this is the current status of my laptop.  How can I fix it?


When i fill a space, why does it look like this?


Is there any way to use moderncv inside another document class?

In my thesis I need to have a cv. It would be awesome, if I could use moderncv. The only way I so far know is, to make seperate PDF, and include this afterwards within my thesis. Do you know any direct way to use moderncv e.g. in scrbook?


Proof without solving equation that if $(1+z)^n = (1-z)^n$ then Re(z) = 0. Did I do it right?

So, I have to prove that if $(1+z)^n = (1-z)^n$ then $Re(z) = 0$ 'without actually solving the equation.' I see that I can easily transform the equation by interpreting $z$ as $a+bi$: $(1+ a + bi)^n = (1- a - bi)^n$. Then I see that the real parts on both sides must be equal, so $$1+a = 1-a \Longrightarrow a =-a$$ $$ a = 0 \Longrightarrow Re(z) = 0 $$ And here comes my question - is that any good? I mean it seems too simple, I think I don't understand something.


By definition,  A group $G$ is a direct product of the subgroups $N_1, N_2, ... , N_k$ if an only if  $i.$ $G=N_1N_2...N_k$  $ii.$ For each $j$, $N_j  \cap(N_1N_2...N_{j-1}N_{j+1}...N_k)=e$, and   $iii.$ Each of $N_1, N_2, ..., N_k $ is normal in $G$.  My question is... Is the second condition the same as saying  $(a)$ $H_i \cap H_j =e$ for $i \neq j$ ?  I am proving something. Now, I'm having difficulty in showing $(ii.)$. However, it will be easier if $(ii.)$ is the same as $(a)$. Thank you.


jquery how to select other element that is inserted by other JS/jQuery

I am running discourse and I am trying to modify what happens when one clicks the logout link, I do not want to modify discourse stock javascript...   There is an element elem1 that when clicked inserts another html menu with the logout link. So is it not present when $(document).ready.. is called. I need to modify what happens on elem2.click which is where the logout link is.   I want to do this...  $("#elem1").click(function() {     console.log("step1")     $("#elem2").click(function () {         console.log("step2")         ..do my custom logout      }) })   but I think jquery is not finding it because it was not there when it first loaded.


When is it possible to form an adjective ending in "-onian"? Could we say "Marxonian"?

Why do we use the adjective "Marxist" and not "Marxonian"? Please explain the use of these unusual suffixes. Another one that comes to mind is "Draconian". How do we decide what suffix to use? What are the rules?   I read an article about Cognitive Psychology by Albert Ellis, and the author later refers to it as "Ellisonian".  Thank you in advance. English is my second language.


Changing default Data Frame Order using ArcMap

I am using ArcMap 10.1. The background: I have an .mxd that I intend to roll out across the company as our default template for all future maps/figure production. This .mxd contains two Data Frames; the first ("Main") is larger (occupying almost the entire page) and is designed to be used to hold the majority of mapped data whilst the second ("Inset") is much smaller and is to be used as an overview map. The problem: When choosing to import this new .mxd to an existing .mxd (using the Change Layout button on the Layout toolbar) the wizard automatically selects the smaller ("Inset") Data Frame to occupy the larger part of the page. The screenshot below shows this interface with a red box indicating the two possible locations of each Data Frame:  Whilst it is possible to manually alter the order of the Data Frames using the Move Up or Move Down buttons, how do I change the default option for this setting (i.e. so that the "Main" Data Frame always appears in the larger space - "2")? The reasoning is that I would like the process of using this new .mxd template to be as simple as possible, this is especially important as we have a wide range of users with varying abilities. Does anyone know how to choose/change this default setting? It does not appear to be in the Data Frame Properties > Data Frame menu where I would expect it to be.


When to use dried herbs instead of fresh herbs

I've often heard as a rule of thumb that if you have both, go with fresh.  But are there exceptions to that?  Are there times when using dried herbs is preferred?


How do I design a user friendly survey with more than 150 questions?

I am designing UI/UX for a survey webapp which has more than 150 questions. Right now they are using 5 radio buttons for each question. Similar to the image below:      So the question is, how to make it super user friendly, easy and fun to do?   Further I am looking for a solution from responsive web design perspective too.  I hate designing it like the following image below but what are some other options.


Where does this argument fail? (my opinion; the conclusion is a non sequitur)  If you just map the reals to the naturals in a mirror image of each other you will eventually have all the reals. Like this.  1 -> 0.1  2 -> 0.2  3 -> 0.3  ...  9 -> 0.9  10 -> 0.01  11 -> 0.11  12 -> 0.21  ...  99 -> 0.99  100 -> 0.001  101 -> 0.101  102 -> 0.201  ...  ...999 -> 0.999...  If you keep going forever you will eventually have all the real numbers mapped.


Proving two sets $A, B$ are order isomorphic

Let $A, B$ be well ordered sets. If $A$ is order isomorphic to a subset of $B$, and $B$ is order isomorphic to a subset of $A$, prove that $A, B$ are order isomorphic.  I know that two well ordered set is order isomorphic iff there exists a increasing function(i.e. $x<_A y \Rightarrow f(x)<_B f(y)$) from $A$ to $B$ which is bijective. The first thing I thought was the well ordering isomorphic theorem(if $(A, \le_A), (B, \le_B )$ are well orderd, only one of $A \cong B, A \cong B[b] \ \exists!b \in B, \ A[a] \cong B \ \exists!a \in A$) must hold, and the isomorphism is unique.)  Where do I have to start the proof?


In indirect speech we generally backshift the tense. For ex - Direct speech : "I am the most powerful person." Indirect speech : "He said that he was the most powerful person."  What if someone reports like -  He denied the charges claiming that he is/was the most powerful person. So here which is correct- is or was ?  Thanks in advance.


Are there Cauchy sequence that are not bounded?

I was wondering, Is there Cauchy sequence that are not bounded ? Of course, in complete spaces is not possible. I have a theorem that says that if $(A,d)$ is not complete, then $(\bar A,d)$ is complete. But are there spaces s.t. indeed for all $\varepsilon>0$, there is $N$ s.t. $d(x_n,x_{m})<\varepsilon$ for all $n\geq N$, and all $r\geq 0$, but the ball also move to $+\infty $ ?


What do people mean when they point out that the "keys are not properly mapped" in a Linux installation when working on the command line?  Isn't the default installation OK? What extra/specific mappings are needed?    I also was told that for my Mac where my Home and End and Ctrl keys do not do what I expected.


I have a flow that goes MainActivity -> StoriesActivity -> StoryBodyActivity.  Each passes variables to the next using Intents.  I'm trying to implement a back button from StoryBodyActivity to StoriesActivity, but it's throwing a NullPointerException on authorID = extras.getInt("author_id"); in StoriesActivity.  I know what a NullPointer is. I just don't know how to fix this one! Could it be because it no longer has access to the data that was passed from the MainActivity?  Note: This works fine when clicking the back button on the device, just not the icon on the ActionBar.  Snippet from StoryBodyActivity:  @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_story_body);          getSupportActionBar().setDisplayHomeAsUpEnabled(true); }  @Override     public boolean onOptionsItemSelected(MenuItem item) {         switch (item.getItemId()) {             // Respond to the action bar's Up/Home button             case android.R.id.home:                 NavUtils.navigateUpFromSameTask(this);                 return true;         }         return super.onOptionsItemSelected(item);     }   Snippet from StoriesActivity:  private int authorID;      @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_stories);          Bundle extras = getIntent().getExtras();          authorID = extras.getInt("author_id"); // NullPointerException here         final String authorName = extras.getString("author_name");         Log.i("click", Integer.toString(authorID)); }   Snippet from MainActivity:  Intent intent = new Intent(MainActivity.this, StoriesActivity.class); intent.putExtra("author_id", author.getID()); intent.putExtra("author_name", author.getName()); startActivity(intent);   Snippet from AndroidManifest:  <application         android:allowBackup="true"         android:icon="@mipmap/ic_launcher"         android:label="@string/app_name"         android:roundIcon="@mipmap/ic_launcher_round"         android:supportsRtl="true"         android:theme="@style/AppTheme">          <activity             android:name=".MainActivity" android:theme="@style/AppTheme.NoActionBar" >             <intent-filter>                 <action android:name="android.intent.action.MAIN" />                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>         </activity>          <activity             android:name=".StoriesActivity"             android:theme="@style/AppTheme.NoActionBar" />          <activity             android:name=".StoryBodyActivity"             android:theme="@style/AppTheme"             android:parentActivityName="com.example.apple.bookshelf.StoriesActivity">         <meta-data             android:name="android.support.PARENT_ACTIVITY"             android:value="com.example.apple.bookshelf.StoriesActivity" />         </activity>      </application>


SQL Server group by count eliminate duplicates

My data is like below:    ClassId ClassName   StudentId   Subject     SubjectId   ----------------------------------------------------- 1         ESL        12         English      20   1         ESL        13         Science      30   1         ESL        12         Social       40   1         ESL        12         Maths        50     Required output: parameters are Subject column values    ClassId ClassName   TotalStudents   SubjectIds    -----------------------------------------------     1        ESL         2               20, 40, 50, 30     When one student takes multiple subjects then count student only once, so in the above data 12 is one student id takes multiple subjects so counted only once. TotalStudents value is 2 (1 from student id 12 and 1 from student id 13)  I wrote this query:    Declare @subjectids string   set @subjectids = '20,30,40,50'    -- will split @subjectids  and store in temp table      select      classname, classid, Count(Distinct StudentId)   from      mytable   where      SubjectsIds in @subjectIds   group by      ClassId, ClassName, SubjectId,     but I get this output:  ClassId ClassName   TotalStudents   SubjectIds   ----------------------------------------------     1        ESL         1               20   1        ESL         1               30   1        ESL         1               40   1        ESL         1               50     Any help in eliminating duplicates? Edited: My basic question is how to count student only once when the same students takes multiple subjects from same class? While counting eliminate duplicates.


I have a polygon of an area of 46,465m² and a perimeter of 136,1m.  It is a rectangular polygon and I want to split it into three equal parts (which are my treatment blocks).  Could anybody give me some ideas on how to proceed, please?      I am trying to run the code, however, it gives me some error when I introduce my target area, which it is 15.487m² (the total area of my polygon is 46,465m²). Why is that?  Slicing, No of part:  1  Slicing, Granularity remaining:  30  Traceback (most recent call last):   File "C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\code.py", line 90, in runcode     exec(code, self.locals)    File "<input>", line 1, in <module>    File "<string>", line 6, in <module>    File "<string>", line 45, in splitSelected    File "<string>", line 86, in alternatingSlice    File "<string>", line 136, in cutPoly    File "<string>", line 204, in signedDistCentroidFromLine  NameError: name 'math' is not defined


I found this donation machine in a shop room in The Binding of Isaac: Rebirth. I have put 20 coins in it with no results. I tried to explode it, but it just spat some of my money back out at me! What does it do?


I've noticed that people from the Washington, Oregon area tend to omit "to be" when describing something that needs to be completed.  For example, just today one of my consulting engineers sent me an update on a construction project wherein he stated, "The raw water line still needs tested."  He did not make a typo.  Is this just a grammatical form used by folks in this area?


"Lunch" vs. "dinner" vs. "supper" — times and meanings?

I've seen cases where a noon-time meal is referred to as dinner, and the evening meal is called supper. There's also lunch around noon followed by dinner in the evening. Is there a particular difference between dinner and supper, or a circumstance where lunch becomes dinner?


If else, more variables for same output (JS)

I am trying to add multiple values for the same output "Maths book". I think I am missing something basic on how to format values in brackets.
Set the variable to different value and then try...


Looking for story young boy flies over wall on broomstick

Looking for a story I read many years ago, long before the Harry Potter books. Probably a short story in an anthology, but maybe a short novel?? I'm guessing I read it in the 90s or earlier.   A young boy is growing up "normally" in his world that includes magic of all sorts, but especially being able to fly (I think on broomsticks). His whole society includes magic as the norm, similar to the HP universe. He has never known a non-magical world.   The magical world is encircled by a massive wall so high that no broom can fly high enough to get over.   The drama in the story begins when he finds a way to make his broom go over the wall. On the other side, he is stuck in our non-magical world where the wall is invisible, magic doesn't exist and his world is considered fantasy.   I don't remember the rest and would like to reread it some day.


Using  or  to record my screen always results in a blank screen.  Google searches do not show results for 19.04, only past versions.  Any help?


Does the Hong Kong metro map give interchange direction suggestions?

On the , some of the interchange symbols have little lines and half-circles in them. They're a bit small to read on some maps, but if you zoom in they get a big clearer:    Are these suggestions for where to change depending on the direction you're going + changing to? Or do they have some other meaning?  .  Bonus marks - Assuming I am right that that these are direction interchange suggestions, what does it mean if it's an empty circle, or a "T" in one?


Help with understanding summation formula breakdown

$S_{xy} = \sum_{i=1}^n (x_i-\bar{x})(y_i-\bar{y}) = \sum_{i=1}^n x_iy_i - \frac{1}{n}(\sum_{i=1}^n x_i) (\sum_{i=1}^n y_i)$ I don't understand how it becomes $\frac{1}{n}(\sum_{i=1}^n x_i) (\sum_{i=1}^n y_i)$ $S_{xx} = \sum_{i=1}^n (x_i-\bar{x})^2 = \sum_{i=1}^n x_i^2 - \frac{1}{n}(\sum_{i=1}^n x_i)^2$ I also don't understand how the above was expanded.


Suppose $u,v$ in $V$. Prove that $ = 0$ iff $||u||$ is at most $||u+av||$

Claim: Suppose $u,v$  ∈  V. Then $<u,v>$ $=$ $0$ iff $||u|| $ ≤  $||u+av||$  ∀ $a$ ∈ $F$ Proof. ( ⟹) Suppose $<u,v>$ $=$ $0$. By properties of the inner product we have that  ∀ $a$ ∈ $F$ $<u,av>$ $=$ conjugate of a $<u,v>$. So $<u,av>$ $=$ $0$ since $<u,v>$ $=$ $0$. Now since   $u$ ⊥ $av$  ⟹ $||u||^2$ $+$ $||av||^2$ $=$ $||u+av||^2$ by the Pythagorean Theorem. Thus $||u||^2$  ≤  $||u+av||^2$  ⟹ $||u||$  ≤ $||u+av||$ as claimed. I'm stuck on the second part of the proof where I have to prove the other direction.


Differences between derivatives and strong derivatives

Definition: Let $f$ be a real valued function. We say $f$ is $\mathbf{strongly}$ $\mathbf{differentiable}$ at $x = a$ if the following limits exists and is finite:  $$ \lim_{x \to a, y \to a, x \neq y} \frac{ f(x)-f(y)}{x-y} = f^*(a) $$  and we can $f^*(a)$ the strong derivative of $f$ at $a$. Why is this definition of derivative different than the usual one? What is the main crucial point to understand here that makes it different?


Is there a word for when a word is pleasing to say? I've found the word:  Euphonious (of sound, especially speech) pleasing to the ear.  But I'm looking for one that is specifically nice to say. E.g.  Phychopathy Specificity


Nuget Version Mismatch Error occurs in two Solutions

I'm working on my Mobile Backend/Web API for my Azure Mobile Service and I got this message when I tried to debug the code. The Azure Configuration code exists in a different C# Class Library and I believe there's a version mismatch between them.     Additional information: Could not load file or assembly   'Microsoft.WindowsAzure.Configuration, Version=3.0.0.0,   Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its   dependencies. The located assembly's manifest definition does not   match the assembly reference. (Exception from HRESULT: 0x80131040)   The error comes form this line:  CloudStorageAccount storageAccount = CloudStorageAccount.Parse(                 CloudConfigurationManager.GetSetting("StorageConnectionString")); CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient(); CloudBlobContainer container = blobClient.GetContainerReference("photos");   The above lines are used to upload an image blob to my Blob Storage. I believe it's a version mismatch between the backend and the Azure Cloud APIs. What do you think this error means?


I've got 'Webform 7.x.3.20" installed on my Drupal 7 and it works perfectly, apart from it seems to have 'broken' the MySQL database. I first noticed this when I tried to use the 'Backup and Migrate' module - I got the following error: Additional uncaught exception thrown while handling exception.  Additional uncaught exception thrown while handling exception. Original PDOException: SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query: show table status; Array ( ) in backup_migrate_source_db_mysql->query() (line 435 of /home/example.com/public_html/sites/all/modules/backup_migrate/includes/sources.db.mysql.inc). Additional PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array ( [:db_insert_placeholder_0] => 1 [:db_insert_placeholder_1] => php [:db_insert_placeholder_2] => %type: !message in %function (line %line of %file). [:db_insert_placeholder_3] => a:6:{s:5:"%type";s:12:"PDOException";s:8:"!message";s:112:"SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query: show table status; Array ( ) ";s:9:"%function";s:39:"backup_migrate_source_db_mysql->query()";s:5:"%file";s:96:"/home/example.com/public_html/sites/all/modules/backup_migrate/includes/sources.db.mysql.inc";s:5:"%line";i:435;s:14:"severity_level";i:3;} [:db_insert_placeholder_4] => 3 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] =>  [:db_insert_placeholder_7] =>  [:db_insert_placeholder_8] => 82.29.92.127 [:db_insert_placeholder_9] => 1409596675 ) in dblog_watchdog() (line 160 of /home/example.com/public_html/modules/dblog/dblog.module). Uncaught exception thrown in session handler. PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT 1 AS expression FROM {sessions} sessions WHERE ( (sid = :db_condition_placeholder_0) AND (ssid = :db_condition_placeholder_1) ); Array ( [:db_condition_placeholder_0] => Zy8B5O3kHHKb5uIZnFFODRyXl9C_a82Ek-o9why5wNU [:db_condition_placeholder_1] => ) in _drupal_session_write() (line 209 of /home/example.com/public_html/includes/session.inc).  I then went to look on phpMyAdmin to find that if I clicked on the database itself, it showed that there were no tables and has started logging me out of phpMyAdmin almost immediately. However, if I click on the '+' to the left of database name on the left hand side, I can view all of the tables in the database and even browse them individually. Finally, I have used mysqlcheck over SSH and found that all the tables are OK until it reaches any belonging to webforms, and then I get "Got error: 2013..." again. I know for definite it is the module because I tried removing the tables for the database, and everything goes back to normal. Any ideas why this is happening and how this can be fixed? The webform module is excelllent and I do make good usage of it, however I'm going to have to find an alternative if this continues as I can't even update Drupal core or backup the database at the minute!


Composition of convex function and affine function

Let $g: E^{m} \rightarrow E^{1}$ be a convex function, and let $h: E^{n} \rightarrow E^{m} $ be an affine function of the form $h(x)=Ax+b$, where $A$ is an $m \times n$ matrix and $b$ is an $m \times 1 $ vector. Then, show that the composite function $f : E^n \rightarrow E^{1} $ defined as $f(x)=g(h(x))$ is a convex function.      Also, assuming twice differentiability of $g$, derive the expression for the hessian of $f$


What does the line del taglist[:] do in the code below?  import urllib from bs4 import BeautifulSoup taglist=list() url=raw_input("Enter URL: ") count=int(raw_input("Enter count:")) position=int(raw_input("Enter position:")) for i in range(count):     print "Retrieving:",url     html=urllib.urlopen(url).read()     soup=BeautifulSoup(html)     tags=soup('a')     for tag in tags:         taglist.append(tag)     url = taglist[position-1].get('href', None)     del taglist[:] print "Retrieving:",url   The question is "write a Python program that expands on . The program will use urllib to read the HTML from the data files below, extract the href= vaues from the anchor tags, scan for a tag that is in a particular position relative to the first name in the list, follow that link and repeat the process a number of times and report the last name you find".  Sample problem: Start at   Find the link at position 3 (the first name is 1). Follow that link. Repeat this process 4 times. The answer is the last name that you retrieve. Sequence of names: Fikret Montgomery Mhairade Butchi Anayah  Last name in sequence: Anayah


wifi 8821ce is not working on ubuntu 19.04

I installed ubuntu 19.04 on Lenovo ideapad s130-14IGM and the wifi is not recognised. lspci : 02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01) 03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter


Missing delimiter (. inserted) .- : Can't write curly brackets

I'm trying for so long now to write this   $ \displaystyle{ x = \Big{ -\frac{b}{2} + \sqrt{\frac{a^3}{27} + \frac{b^2}{4}} \Big}^{\frac{1}{3}} + \{-\frac{b}{2} - \sqrt{\frac{a^3}{27} + \frac{b^2}{4}} \}^{ \frac{1}{3}} } $   The problem is it won't accept me adding those curly brackets in any form, be it    \{ \} \left{ \right} \Big{  \Big}    etc. Without adding curly braces visible in the output, it works fine  These are all my packages   \documentclass[12pt]{article}   \usepackage{amsmath} % allows piecewise functions \usepackage{amsfonts} % allows using additional font commands \usepackage{amssymb} % for varpropto - proportion symbol \usepackage{graphicx} % include graphics / image package \usepackage{fullpage} % page formatting \usepackage{tabto}    % required by \tab command (sometimes glitches, use \quad, or \qquad instead) \usepackage{mathtools} % needed for under / over braces \usepackage{textcomp} % needed for \sim (tilde) and \texttildelow  \usepackage{amssymb} % for (small)setminus \usepackage{mathrsfs} % for caligraphic letters \usepackage[normalem]{ulem} % for underlining \uline{}  \usepackage[utf8]{inputenc} %\usepackage[T1]{fontenc} % OT1 (Old Text encoding) = not a good idea to have \usepackage[greek, english]{babel} \usepackage{lmodern}   I cannot get past this sentence after almost 1 hour of troubleshooting! What's wrong? I'm using TexMaker. Thanks in advance!


Triggering commands to Terminal by using java code

Can anyone suggest me that how to trigger the commands like cd,ls by using java with code.


What's the real focal length for 18-55mm in my APS-C camera?

I want to buy a new lens (canon ef 50mm f/1.8 stm) that I know that the real focal length in my camera is around 80mm, but my question is if this happens in the same way whit my actual lens (18-55mm).  If I take a photo whit the 18-55mm in 50mm and take another one whit the 50mm will I have the same focal length?  edit: First of all, thank you for your answers! I know that the focal length is in the lens and it doesn't change.  I think that I wont to say it was about the 'crop factor' or "how many people enter the two photos without me or the people moving?" the same? less in the EF? more in the EF? I think that the same.  Thank you again and sorry for my bad English.


Using "non-" to prefix a two-word phrase

Does "non-" prefixed to a two word phrase permit another hyphen before the second word?  If I want to refer to an entity which is defined as the negation of another entity by attaching "non-" it seems strange to attach the "non-" only to the first word when the second one is really the word naming the entity. For example,     non-control freak   looks like a person obsessed with not being in control rather than one who is simply not obsessed with control.     non-control-freak   actually looks better because the "freak" is attached to the "non-" as much as it is to "control-", without the space implying the presence of a phrase break.    and its answers make it sound like totally detaching the "non" could be an option, but if I were following the convention of hyphenating "non-" could I add a hyphen after the next word to resolve this problem?


How do I move a file to the Recycle Bin using PowerShell?

By default when you delete a file using PowerShell it's permanently deleted.  I would like to actually have the deleted item go to the recycle bin just like I would have happen via a shell delete.  How can you do this in PowerShell on a file object?


In .Net, I found this great library,  that allows you  to easily parse non-well-formed HTML using XPath.  I've used this for a couple years in my .Net sites, but I've had to settle for more painful libraries for my Python, Ruby and other projects.  Is anyone aware of similar libraries for other languages?


LinLibertineT font not found but available in filesystem

The following minimal not-working example (mnwe) gives me an issue with the used libertine font:  \documentclass{article} \usepackage{libertine} \begin{document}   \section{Hello World}   Lorem ipsum, ... \end{document}   When building with pdflatex, I get the following error:  pdfTeX error: pdflatex (file LinLibertineT-tlf-ot1--base): Font LinLibertineT-tlf-ot1--base at 600 not found Check the TeX log file for more information   The missfont.log file contains the following:  mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 LinLibertineT-tlf-t1--base mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 LinLibertineT-tlf-ot1--base   And the TeX log:  (/usr/share/texmf-dist/tex/latex/libertine/libertine.sty Package: libertine 2014/11/25 (Bob Tennent) Supports Libertine and Biolinum fon ts for all LaTeX engines.   (/usr/share/texmf-dist/tex/latex/libertine/LinLibertine_I.tex)) (./mwe.aux) \openout1 = `mwe.aux'.  LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 3. LaTeX Font Info:    ... okay on input line 3. LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 3. LaTeX Font Info:    ... okay on input line 3. LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 3. LaTeX Font Info:    ... okay on input line 3. LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 3. LaTeX Font Info:    ... okay on input line 3. LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 3. LaTeX Font Info:    ... okay on input line 3. LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 3. LaTeX Font Info:    ... okay on input line 3. LaTeX Font Info:    Checking defaults for TS1/cmr/m/n on input line 3. LaTeX Font Info:    Try loading font information for TS1+cmr on input line 3.  (/usr/share/texmf-dist/tex/latex/base/ts1cmr.fd File: ts1cmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions ) LaTeX Font Info:    ... okay on input line 3. LaTeX Font Info:    Try loading font information for OT1+LinuxLibertineT-TLF on  input line 3.  (/usr/share/texmf-dist/tex/latex/libertine/OT1LinuxLibertineT-TLF.fd File: OT1LinuxLibertineT-TLF.fd 2012/11/26 (autoinst) Font definitions for OT1/ LinuxLibertineT-TLF. ) LaTeX Font Info:    Font shape `OT1/LinuxLibertineT-TLF/m/n' will be (Font)              scaled to size 10.0pt on input line 3. \c@mv@tabular=\count88 \c@mv@boldtabular=\count89 LaTeX Font Info:    Font shape `OT1/LinuxLibertineT-TLF/m/n' will be (Font)              scaled to size 14.4pt on input line 4. LaTeX Font Info:    Font shape `OT1/LinuxLibertineT-TLF/b/n' will be (Font)              scaled to size 14.4pt on input line 4.  [1  {/home/user/.texlive/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./mwe.aux)  )  Here is how much of TeX's memory you used:  2013 strings out of 493013  34424 string characters out of 6139316  70831 words of memory out of 5000000  5586 multiletter control sequences out of 15000+600000  8253 words of font info for 19 fonts, out of 8000000 for 9000  1141 hyphenation exceptions out of 8191  27i,4n,33p,172b,109s stack positions out of 5000i,500n,10000p,200000b,80000s  !pdfTeX error: pdflatex (file LinLibertineT-tlf-ot1--base): Font LinLibertineT- tlf-ot1--base at 600 not found  ==> Fatal error occurred, no output PDF file produced!   I have texlive 2016.42515-2 installed on ArchLinux with kernel 4.8.13-1-ARCH. I tried to manually locate the missing font and was able to find it:   0 ✓ user@alcor ~ $ find /usr/share/texmf-dist/ | grep -i "LinLibertineT\-tlf\-ot1\-\-base" /usr/share/texmf-dist/fonts/tfm/public/libertine/LinLibertineT-tlf-ot1--base.tfm   Now I am wondering why pdflatex does not recognize that font?


How to get the number of rows from a JDBC ResultSet?

I'm trying to get the row count from ResultSet/ResultSetMetaData but its not giving row count methods. Can anyone help to find the row count of resultSet?  I took all the value from database table Using selenium.


I want to remove the contents from Google index. Google index include my websites huge number of pages indexed in Google index about 5,000,000 pages earlier but now left pages are 3,025,000.  I have made the following things but the removal of pages are very slow pace.  robots.txt:  User-agent: * Disallow: /   .htaccess:  rewriteengine on rewritecond %{HTTP_USER_AGENT} ^.*Googlebot/2.1.*$ rewriterule .* - [F,L]   The is the content returned to Googlebot when it try's to crawl the content:  HTTP/1.1 410 Gone Date: Sat, 05 Jan 2013 12:39:23 GMT Server: Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/0.9.8e-fips-rhel5         mod_fastcgi/2.4.6 mod_jk/1.2.37 mod_auth_passthrough/2.1 mod_bwlimited/         1.4 FrontPage/5.0.2.2635 PHP/5.3.19 Content-Length: 661 Connection: close Content-Type: text/html; charset=iso-8859-1   I had also used the HTML meta tag noindex, no follow but no effect as:  <meta name="googlebot" content="noindex,nofollow">   I had also submitted for website removal but the speed of removing of contents is very slow. In last 35 days the only few are pages are removed. My website is also removed from Google search index but Google Webmasters Tools - Health -> Index status still showing 3,025,000 page and if I re-submit the site they will show already indexed pages. How can I increase the speed to remove pages?


JAVA Returning an object or pass by reference

Here a beginners question.  Is there any difference in JAVA between passing an object as argument to a method or returning that object from the method. For instance: Is it better to pass a List as an argument and fill it in the method or just allow the method to return a list?  My guess is that it should be no difference since a reference is returned and nothing is copied. But is there something more subtle behind?  thanks in advance  Altober


Spinor indices in $\not p = m_P$ (mass renormalization)

I'm reading Schwartz QFT, Chapter 18 (mass renormalization) and I'm confused about the equations about on-shell subtraction/pole mass. He writes:  The renormalized propagator should have a single pole at $\not p = m_P$ with residue $i$. The location of the pole is a definition of mass.  But $\not p$ has two spinor indices (i.e. a 4x4 matrix) while $m_P$ is just a number, so how does this make sense? I thought maybe it means $\not p = m_P \mathbf{1}$, but in the Weyl representation for instance, the $\gamma^\mu$ have zeros on the main diagonal so $p_\mu \gamma^\mu$ can't be proportional to $\mathbf{1}$ (unless it's all zeros). He also goes on to write the equation, $$i = \lim_{\not{p}\to m_P} (\not p - m_P) \frac{i}{\not p - m_R + \Sigma_R(\not p)} = \lim_{\not{p} \to m_P} \frac{i}{1 + \frac{d}{d\not{p}} \Sigma_R(\not p)} \tag{18.41}$$ I don't understand what $\lim_{\not{p}\to m_P}$ and $\frac{d}{d\not{p}}$ mean if $\not p$ is a 4x4 matrix. Is it a limit/derivative in the 16-dimensional space of the matrix entries? Edit: It did occur to me that maybe $\not p = m_P$ is a shorthand for $m_P = \sqrt{p^2} = \sqrt{\not p^2}$. However, for there to be a pole at $\not p = m_P$ they would have to coincide fully. $m_P = \sqrt{p^2}$ seems insufficient.


25 students, each gives a chocolate to 5 other students. Could every student receive a chocolate from exactly the 5 students they've sent to?

There are 25 students, and every student gives a chocolate to 5 other students. Is it possible for every student to receive a chocolate from exactly the 5 students they've sent chocolate to?  My first though is to construct this as a graph, with each student as a vertex so there are 25 vertices. And each vertex has a minimum degree of 5 since every student is sending out 5 chocolate.   Am I on the right track? How should I proceed next?


17.04 Mate. Can't set background with setbg

I am trying to set my background using setbg with the following command xsetbg -fullscreen Libraries/Pictures/Pictures/1998_Chicago/565462-R10-04-21.jpg  When I do, nothing happens and the return code is 0. The file and path are valid.  I found this link         and tried the command  gsettings set org.gnome.settings-daemon.plugins.background active true   mentioned in the thread but it did not help. I have the latest mate-settings-daemon so that wasn't the issue. Any ideas?


How do I reverse the text in a file / stream in UNIX / Cygwin?

I have a block of text that I want to put in reverse-characer order (backmasking). Is there a simple way to do that via a Unix / Cygwin command-line?


Why when i assign a object stored in a variable to another variable both change when i change one?

So i was trying to do this:        var obj1 = {test:0};     var obj2 = obj1;     obj2.test= 2;     console.log(obj1,obj2);     and I expected to return      {test:0} {test:2}   but returned this     {test:2} {test:2}   Is this a bug or this is how object behaves?


What are the advantages of having a python method, like lower(), being applied to an appropriate object, s, via the dot notation (i.e., s.lower()) versus a method, like len(), being also applied appropriately receiving the object as an argument, e.g. len(s) ? If I want to create such a method / function, what are the critical points I should consider choosing the first or the second implementation? Thanks!


Prove that $\{f_n\cdot g\}\rightarrow f\cdot g$ in measure.

From Royden's Analysis book (4th Edition) Chapter 5 Section 2 Problem 7:     Let $E$ have finite measure, $\{f_n\}\rightarrow f$ in measure on $E$ and $g$ be a measurable function on $E$ that is finite a.e. on $E$. Prove that $\{f_n \cdot g\} \rightarrow f\cdot g$ in measure.   I've attempted many different approaches, but to no avail. If anyone could give a starting hint (not necessarily a solution), I would be extremely grateful.


I've always been too embarrassed to ask, but the notion of "ground" has always puzzled me. The way I understand it, in theory, is that the earth acts as a giant sink/pool of electron and thus will maintain its potential. Thus, if I connect one electrode of a battery to the ground, the other to a lamp and the other end of the lamp to the ground, the lamp should turn on.  However, if I try this with a 5V battery and a small incandescent light bulb, planting a small wire into the dirt, it doesn't work. And hum, why should it, it's not like the dirt is particularly conductive...  So is this something that only works for high potentials? When you have a lot of contact area between the electrode and the "ground"? What exactly constitutes a valid ground?


Why inverse square not inverse cube law?

So as I understand, the inverse-square law which shows up in a variety of physical laws (Newton's universal law of gravitation, Coulomb's law, etc.) is a mathematical consequence of point-like particle emanating a certain physical quantity in all directions in the form of a sphere, and the density of that quantity is inversely proportional the surface area of that sphere on which that physical quantity gets spread out at a certain  distance (radius), and since the surface area of a sphere is directly proportional to its radius squared, therefore the density of that physical quantity is inversely proportional to the distance squared.   My question is:  consider the specific example of point-like particle with a certain gravitational mass, now if we pictured the gravitational field of that particle through gravitational flux that emanates out of it isotropically, the density of that gravitational lines is inversely proportional to the volume of the sphere at a certain given distance (radius), and since the volume of sphere is directly proportional to the radius cubed.   Therefore the force of gravity (or the electrostatic force or whatever) is inversely proportional to the distance cubed.  What is wrong with this analysis?


Number of conjugated to (12)(34) in $S_6$ of rank 6

I need to find the number of conjugated to the permutation (12)(34) in the symmetric group $S_6$ of rank 6 My answer is 6! = 720 Is this correct? I concluded that (12)(34)=(12)(34)(5)(6) and the number of combinations for $S_6$ is 6! as they need to be the same partition type Edit: It seems to be $6! / (2*2*1*1) = 180$


I would like to create a custom Ubuntu-based distro, how do I remaster?

I would Like to remaster Ubuntu 15.04 into my own Linux distro is there a easy way? I would also like to know a list of different ways to create my own distro varying in difficulty.


Match all the instances of [ ... ] in java using pattern.matcher

What is the correct way to match all the instances of [ ] in a string.  I'm trying with   String content = "ZZZ AA PP [AA] Q[QQ] AAA ZZ";    String string = "\\[.*\\]";   Pattern pattern = Pattern.compile(string);   Matcher matcher = pattern.matcher(content);   It matches from [AA] Q[QQ] as a single instance whereas I want to get both the instances between [].  Any help would be appreciated.


Why did jazz musicians start referring to an engagement as a "gig"?   If any, could anyone provide a couple of quotations from eminent authors to show where a word was first used in this sense?      | noun, a live performance by a musician or group   playing popular or jazz music. | verb, perform a gig or gigs.


I don't even know if it's possible to do this, but what I'm trying to do is to change how my name on YouTube shows up to others (when I post videos or comments or the like). I just want to change the name while keeping my channel, the videos I've posted, and suchlike.  I read (I think) that you can do this by unlinking your YouTube account to the Google+ account it's currently linked to, then link it to a different Google+ account—is this accurate? Currently it is forcing me to use my real name as my YouTube channel name. This is downright obnoxious; I want anonymity, I don't want every video I post to be emblazoned with my real name for every person who googles me to see! How can I change it to a username that is not my real name?


I am on Ubuntu 14.04, with Google Chrome I have problem with these journal and Facebook notifications that pop up all the time. I have set up content settings, do not allow any site to show notifications. What should I try next?


Quantum Mechanics reference book similar to Classical Electrodynamics by Jackson (without QFT)

Are there any good reference books for QM?, similar to Gravitation by MTW, Classical Electrodynamics by Jackson or Modern Classical Physics by Thorne and Blandford, preferably up to introductory relativistic QM, I know the subject is really vast.


How to get record Id from Lightning record edit form on record insert

I have a requirement where I am making use of lightning:recordEditForm to create a new record. I am using standard save functionality. After successful save of record I need to make use of the record Id. Is there is any native way to get Id of record without making server call?  Following is my UI code  <lightning:recordEditForm  onsuccess="{!c.handleSuccess}" onerror="{!c.handleError}"         aura:id="recordEditForm"        objectApiName="Address__c">              <lightning:messages />             <lightning:inputField fieldName="Customer__c" value="{!v.accountRecord.Id}" class='slds-hide'/>               <aura:iteration items="{!v.displayListAddress}" var="item" >                 <lightning:inputField fieldName="{!item}" onchange="{!c.fieldValChange}"/>                                          </aura:iteration>

               <lightning:button label="Cancel" title="Neutral action" onclick="{! c.closeEdit }"/>               <lightning:button variant="brand" type="submit" name="save" label="Save" />

     I thought that after successful record creation the recordId attribute will get populated with appropriate value and will give proper value via this  alert("Id : "+component.find("recordEditForm").get("v.recordId"));   But this returns undefined.  Though I can make a server call with appropriate filters in SOQL to get Id of the record, but seems there should be some easier way around without server call.


was doing math and I came across this series     $$\sum_{n=1}^\infty\sin n\cdot\sin\left(\dfrac1n\right)$$   I managed to prove that this series is convergent, but I was wondering what value the series converges to $?$ I've put it on Scientific workplace and got a value of around $0.92 $ But I have no idea how to get there.


How To Stop Apache Logging Client Denied By Server Errors

I get an annoying amount of spam traffic from the Ukrane, Russia, Korea etc. I have setup rules in my .htaccess file to block all of these countries and it's working great. The problem i have now is my error logs are insanely large. Last weeks log was 2gb. The entire log is just full of      client denied by server configuration:...   I dont need to read these. They are making it impossible for me to monitor genuine errors and the disk space they take up is also annoying. Is there a better way to do this or a way to stop apache from writing these messages to the log?  Its important that i still have errors written to this log. If i block everything that is an error or lower i will loose out on everything that i currently use the error log for. I want errors to still get written to the log. It helps me track any errors in the code.


i got a little problem with my code. When i write "exit" still shows statement "Unknown command" and i want to show "Bye". Can you help me?  import java.util.Scanner;  public class Hello{     public static void main(String[] args){         Scanner odczyt = new Scanner(System.in);         String word;          do{             word = odczyt.nextLine();             System.out.println("Unknown command");         }         while(word!="exit");             System.out.println("Bye");     } }


Subtraction of Double type Values in C++

I am trying to subtract a small double number from a large double number in C++. Here is my code  int main()  { double a=166666166667000000.000000; double b=1.0; double c=4.0; double d=10.0;  double ans_b=a-b; double ans_c=a-c; double ans_d=a-d;  printf("%f\n%f\n%f\n",ans_b,ans_c,ans_d); return 0; }   This Code is giving me following output -   166666166667000000.000000 166666166667000000.000000 166666166667000000.000000   However, all three are supposed to be different. Why does subtraction with double type behaves this way?


I am currently creating two similar maps with the same basic layers, including same basemap.  I am exporting the mxd as a pdf with the exact same parameters, yet one comes out pixelated, and one is smooth (see attachments).  I have tried different options for export from Compression to Picture Symbol (i.e. switch default from "rasterize layers with bitmap markers/fills" to "vectorize..." yet no improvement on pixelated figure.  Data is the same for figure samples. Pixelated map is 3Mb and the smooth map is 1Mb. Has anybody experienced a similar issue? ArcMap 10.6  Smooth figure  Pixelated figure


Along the lines of the discussion (poll) on , what is the policy for them in chat?  In my mind, there is a very large difference between proper SE site content (posts and comments) and chat.  Chat far more fluid than the "fixed content" of the site, and the occasional expletive here and there rapidly fades into the past.  True, there's a transcript for chat, but one needs to go reaching into the past.  Also, just to be explicit, I'm simply talking about vocabulary, not intent or context.  Saying "F*** these g**d*** if statements" is wholly apart from "Abc's mother looks like a coprolite"  This is part of the   , where people in different rooms see a flagged message containing profanity, and without context reach far too easily for the "valid" button.  If we don't care so much about the language as the idea, that would go a long way (people could instead click "not sure", not that they would, but that's another matter).


trying to delete a file called search protect

have a file called, search protect, which I am trying to delete but cannot. every time I try a message comes up and says, You do not have sufficient access to uninstall Search Protect. Please contact you system administrator. I have gone into the file properties to try and change the administrator but am not allowed to. please help me in trying to get rid of this file. I have windows 7 home premium. thanks


What causes exactly magnets to become a permanent magnet?

Take fe magnetite (Fe2+Fe3+2O4). If I'm right most magnets can exist because the metals have an unpaired electron in their orbitals so these unpaired electrons are aligned to create a permanent magnet. I'm not sure but the unpaired electron comes from Fe3? Now there a more molecules with unpaired electrons which are not magnetic, so what causes magnetite to stay magnetic? Is this due to the shape of this molecule?  The other answers were really general (because of difficulty). But to go one time deeper into it I'd like to know a bit more for magnetite (Fe2+Fe3+2O4) how this (natural magnet) molecule is so permanent. So the inner foreces like exchange 'forces' are involved but what is meant by them?


If $\lambda_1, \cdots, \lambda_n, \cdots$ are positive real numbers such that $\displaystyle\sum_{k=1}^{\infty}(\lambda_1+\cdots+\lambda_k)=+\infty$, we can affirm that $\displaystyle\sum_{k=1}^{\infty}\frac{\lambda_k}{(\lambda_1+\cdots+\lambda_k)^2}$ converges?  I try use some comparison test, but I have not success. Can someone help me? Thanks.


Sending email from PHP using SMTP and email goes to spam.What will be easiest way to send email to inbox?

I am trying to send email from PHP using SMTP but every time I am getting emails in my spam. I searched on google and got some solution but still I am getting email in spam. Would you help me in this?  //$mail->isSMTP();                                      // Set mailer to use SMTP  $mail->Host = 'smtp.gmail.com';                       // Specify main and backup server $mail->SMTPAuth = true;                               // Enable SMTP authentication $mail->Username = 'abc@gmail.com';                   // SMTP username $mail->Password = '***';               // SMTP password $mail->SMTPSecure = 'tls';         // Enable encryption,'ssl' also accepted $mail->Port = 587;                                    //Set the SMTP port number - 587 for authenticated TLS $mail->setFrom('abc@gmail.com', 'admin');     //Set who the message is to be sent from $mail->addReplyTo('abc@gmail.co', 'First Last');  //Set an alternative reply-to address $mail->addAddress($to, 'user');  // Add a recipient $mail->isHTML(true);                                  // Set email format to HTML $mail->Subject = 'Hello'; $mail->Body    = "  <title>HTML email</title>   Create your password here  "; if(!$mail->send()) {    echo 'Message could not be sent.';    echo 'Mailer Error: ' . $mail->ErrorInfo;    exit; }