Show the "add comment" link also to users who cannot add comments

On Drupal Answers, there are many 1-reputation users with an unregistered account who write a comment, or a different question as answer. The fact they don't see an "add comment" link, and they see a text area where they can start to write, doesn't probably help.  I understand that not showing immediately a text area where to write an answer could probably be a wall for new users (although I think it would be clear what the purpose of an "Add your answer" button is), and I am not going to suggest that. I think that showing an "add comment" link that shows a dialog box explaining why the user cannot add a comment, and that comments written as answers are going to be deleted could probably help.   The link could also be disabled, and show a tooltip explaining to the users why it is disabled. That is what is done on meta sites when users cannot edit (or suggest edits for) posts written by other users:


The critical region of an exp distribution

I have trouble with calculating the critical region of an exp distribution. I know that the critical region is the region in which H0 should be rejected in favour of H1. I also know how to calculate the critical region in an normal and uniform distribution, but exponential distribution is still difficult. problem:  We assume that X has an Exp(λ) distribution with unknown λ. We want to test H0: λ=0.2 against H1<0.2  a. Calculate the critical region with significance level: 0.05. So I have to find the region in which H0 should be rejected. If this was an normal distribution I would work with Z-scores and normalising, but this isn't probably going to work with an Exp() distribution. The answer is [14.98, ∞ ). Can I have feedback on how to visualise this and come to an answer? Ter


Is entropy the same for a shifted-mean distribution?

The image below shows two identically shaped (Normal) distributions with the second only different by its mean. If I calculate the differential entropy of both separately, would the entropies of the two distributions be equal to one another? If so, doesn't this defeat the whole intuition behind statistical inference for real continuous data?


Memory allocation for 'Ref' and 'Out' parameter, any difference?

In C#, ref and out keyword.  How to it affect memory management? Is there any difference in memory management for ref and out keyword?


I have an SQL select, that gives two rows back. The SQL update gives the error message 1093 back;     mysqli error: [1093: Table 'HD_TICKET' is specified twice, both as a   target for 'UPDATE' and as a separate source for data]   update HD_TICKET, HD_STATUS as T5     set HD_TICKET.HD_STATUS_ID = T5.ID,  HD_TICKET.TIME_OPENED  = IF(T5.STATE = 'opened', NOW(), HD_TICKET.TIME_OPENED),  HD_TICKET.TIME_CLOSED  = IF(T5.STATE = 'closed', NOW(), HD_TICKET.TIME_CLOSED),  HD_TICKET.TIME_STALLED = IF(T5.STATE = 'stalled', NOW(), HD_TICKET.TIME_STALLED),  HD_TICKET.SATISFACTION_RATING = IF(T5.STATE = 'closed', NULL, HD_TICKET.SATISFACTION_RATING),  HD_TICKET.SATISFACTION_COMMENT = IF(T5.STATE = 'closed', NULL, HD_TICKET.SATISFACTION_COMMENT),  HD_TICKET.TITLE = (SELECT NAME FROM ORG1.ASSET WHERE ORG1.ASSET.ID = (SELECT ASSET_ID FROM HD_TICKET WHERE HD_TICKET.ID = HD_TICKET.PARENT_ID))   where T5.NAME = 'New' and  HD_TICKET.HD_QUEUE_ID = T5.HD_QUEUE_ID and     (HD_TICKET.ID in (<TICKET_IDS>))   Can anybody help me, please? Thanks!


can you activate abilities during a resolving stack?

So for example: I have  with  equipped. He is targeted with . In response I tap Krenko to make 1 Goblin token. I also have  to sacrifice the token. Can I sacrifice the token after it has been made to untap Krenko and make more tokens before Doom Blade resolves?


How to use current user object in Drupal 8?

The answer to "" includes this:     In Drupal 8, you simply use the static method \Drupal::currentUser()   to get the equivalent of Drupal 7 $GLOBALS['user']   I tried to use the following code:   $user = \Drupal::currentUser();  $name = $user->get('name')->value;   But that results in an error like so:     Fatal error: Call to undefined method Drupal\Core\Session\AccountProxy::get() in /home/remindme/uhoc.org/modules/testmodule/src/Form/FruitForm.php on line 173   (Line 173 is $name = $user->get('name')->value;   Do I need to used some namespace or there is some other way to access the user object?


A continuous function can't take each of its values exactly twice

Let $h:[0,1]\to \Bbb R$ be a function that takes each of its values exactly twice.      Show that $h$ is not continuous at every point.   Suppose that $h$ is continuous at every point of $[0,1]$. Then $h$ is compact on $[0,1]$ and attains its bounds therein.  Let $h(a_1)=h(a)=\max_{x\in [a,b]} h(x)$, $h(b_1)=h(b)=\min_{x\in [a,b]} h(x)$.  where I take $a<a_1<b_1<b$.  I drew pictures but I could not use the fact that $h$ is continuous to arrive at a contradiction.  Can someone please help?


upgrade from 11.10 to 12.04 - No upgrade option available in update manager

Update manger do not provide option to upgrade. It displays "Your system is up-to-date" instead. I tried Check button many times but received same message. Please help.


Is there a sandbox to post test questions?

I have noticed a behaviour that may or may not be a  bug. It is a discrepancy between the preview and the rendered result, which is why I would need to post a question to check it out.  Is there an official place to do that?


What are the origins of the White Walkers?

Just watched the 4-th episode of season 4. In the end we see the scene where      the baby is turned into one of the white walkers by a magic ritual.   That means that      The white walkers actually aren't immortal, they grow older over the time, and they perhaps even can die from old age.   But if that's how the process of reproduction is organized for the White Walkers, that brings the question:  Who was the first white walker ever and how did he come to such a state?


I know a device I am making can run continuously using two AAA non-rechargeable batteries (namely Energizer Alkaline Max, at 5 volts) for X hours, and I'd like to provide advice on what rechargeable batteries the user can also use. (also AAA) How can I calculate which mAh-rated batteries will be needed for X hrs?


A beginner's guide to SQL database design

Do you know a good source to learn how to design SQL solutions?  Beyond the basic language syntax, I'm looking for something to help me understand:   What tables to build and how to link them How to design for different scales (small client APP to a huge distributed website) How to write effective / efficient  / elegant SQL queries


Complex analysis and Cauchy Residue theorem

There is a small formula for finding definite integral by complex analysis method : If $f(x)$ containes cosine and sine functions along with polynomial functions then $f(x)$ can be treated as  a real or imaginary part of $f(z)$.Then find the singular points of $f(z)$ and check which point lies in upper half plane. CASE(a):If the singular point does not lie on real axis in this case we apply Cauchy residue theorem and may use Jordan's lemma and everything is claear to me . CASE(b):If the singular points lie on real axis ,then:       Method 1: by using cauchy residue thm and taking a semicircular contour which leaves the points of singularity on real axis.               Method 2:(short one)  $\int_{-\infty}^\infty f(z)dz$ = $\pi i$ [$\sum$ residue at poles within C] ,if jordan's lemma applied. now my question is what is proof for this short method .I thought of many things for why is there a factor of $\pi i$ in place of $2\pi i$ but they don't look right.


Given dividend and divisor, can we know the length of nonrepeating part and repeating part?

$13/92=0.14\overline{1304347826086956521739}$  In this example, the length of nonrepeating part is $2$. The length of repeating part (repeating period) is $22$.  I collected some properties related to repeating decimals.   The repeating period must be less than divisor.-- It doesn't give me the exact period.   If divisor d is a multiple of $2^m 5^n$, the length of non-repeating part of $1\div d$ is $\max(m,n)$. -- It only applies to $1\div d$. If $1 \leqslant  b < a$, and $a$ is not a multiple of $2$ or $5$, and $a$ and $b$ are  relatively prime, then the repeating period of $b\div a$ equals $\operatorname{min}\left \{ e\in \mathbb{N}:10^e\equiv 1 \pmod{a}  \right \}$. -- It has many conditions.   Without calculating the decimal, can we determine the length of the two parts of any dividend and divisor?


I want to type my thesis with this style. How can I do this in latex?


Assessing the Quality of a Normal Q-Q Plot

I am trying to fit a model to predict housing prices. My residual plots look like the following:  Should I be concerned about the large hump for the higher quantiles? Would a transformation on the response variable help?


when $\Bbb{Z}^n$ isomorphic to $\Bbb{Z}^m$

I would like to know when $H_1:=\Bbb{Z}^n$ is isomorphic (as a group) to $H_2:=\Bbb{Z}^m$, saying like that I would say only when $n=m$ but it's not a proof.   My idea : I can assume that they are isomorphic when $n\ne m$ and take $$G_1:=\{x\in H_1: y\in H_2, x=2y\}$$ and $$G_2:=\{x\in H_2: y\in H_1, x=2y\}.$$ I was thinking that it's a copy of $\Bbb{Z}/2\Bbb{Z}, n$ times and the other one $m$ times, and so it's a contradiction.  Is that correct ? I am not sure because it's more an intuitive explanation than a proof.


An image processing algorithm that can convert hand written formulae to LaTeX

I have witnessed first hand the beautiful math typesetting LaTeX can produce and also the enormous effort that goes into writing formulae in LateX. So I was wondering that an image processing software that can convert photographs of hand written formulae on paper to LateX would be a tremendous time saver for the  LateX community.   What do you all think? Since I am  relatively new to LateX (couple of years), I wanted your feedback on how useful such a tool will be in your research or design projects.  Thanks.


When do i use "i" and "i have"?  Example:  I rented a car.  I have rented a car.  So what's the Rule?   Greetings


What is the difference between "precise" and "accurate"?

I often use these two words when I try to describe my experimental results. I wonder whether they can be used in the same situation. I searched these two words with WikiDiff, but still cannot get a clear explanation.


Do you gain any proficiencies when multi-classing other than weapon and armor?

When multi-classing, do you gain any other proficiencies outside of weapon and armor. In particular do you gain saving throw proficiencies?


#include <iostream>  #include "Pizza.h"  int main() {   iFood* food;  food = new Pizza(14.0, 8);   for (int i = 0; i < 3; i++)      food->consume();  food->display();  std::cout << std::endl;   delete food;   food = new DeluxePizza(12.0, 6, "mushrooms, peppers");   for (int i = 0; i < 2; i++)      food->consume();  food->display();  std::cout << std::endl;   delete food;  }   This is my main.cpp when I run this code, it shows the warning that delete called on iFood that is abstract but has non-virtual destructor.


For an assignment I've been asked to provide a proof that k-means converges in a finite number of steps.  This is what I've written:     In the following, $C$ is a collection of all the cluster centres.    Define an “energy” function   $$E(C)=\sum_{\mathbf{x}}\min_{i=1}^{k}\left\Vert  \mathbf{x}-\mathbf{c}_{i}\right\Vert ^{2}$$  The energy function is   nonnegative. We see that steps (2)   and (3)   of the algorithm both   reduce the energy. Since the energy is bounded from below and is   constantly being reduced it must converge to a local minimum.   Iteration can be stopped when $E(C)$   changes at a rate below a   certain threshold.   Step 2 refers to the step which labels each data point by its closest cluster centre, and step 3 is the step where the centres are updated by taking a mean.  This is not sufficient to prove convergence in a finite number of steps. The energy can keep getting smaller but it doesn't rule out the possibility that the centre points can jump about without changing the energy much. In other words there might be multiple energy minima and the algorithm can jump about between them, no?


I can't mount the windows disk. I am a new Linux user.  Error mounting /dev/sda1 at /media/dimitris/CE061FB2061F9B13: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda1" "/media/dimitris/CE061FB2061F9B13"' exited with non-zero exit status 14: Windows is hibernated, refused to mount.  Failed to mount /dev/sda1: Operation not permitted: The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.


What prevented the early universe to become a black hole before inflation?

I am an ignoramus on this subject, and I assume that these statements quoted from wikipedia are more or less accurate:()  1) Prior to the expansion period, the inflaton field was at a higher-energy state.  2) Random quantum fluctuations triggered a phase transition whereby the inflaton field released its potential energy as matter and radiation as it settled to its lowest-energy state.  So, in the "classical/standard" theory (that means, no string theories, or newer ones), what was assumed to prevent the highly dense universe to become a black hole before inflation started?


converting some handwritten network diagram into latex

I wonder whether anyone knows how to draw the following in latex  I understand there is circuittikz but it does not quite match what is wanted here.  Thanks for any suggestions


List of favourite questions to revisit it later in Stack Exchange App

I was able to mark questions as favourite in Stack Exchange app for android, but now could not find how to get list of it to revisit them.


Total divergence term in derivation of Noether's theorem

In the Ashok Das QFT book] pg. 212-213 (), the section on Noether's theorem,  the author considered general infinitesimal transformations of the form $$x^\mu\rightarrow x'^\mu,$$ $$\phi(x)\rightarrow\phi'(x'),$$ $$\partial_\mu\phi(x)\rightarrow\partial'_\mu\phi'(x')\tag{6.3}$$ where $x^\mu$ are spacetime coordinates and $\phi(x)$ is a field. For such transformations, the invariance of the action $S$ would imply $$\delta S=\int d^4x' \mathcal L(\phi'(x'),\partial'_\mu\phi'(x')) - \int d^4x\mathcal L(\phi(x),\partial_\mu\phi(x))=0,$$ or, $$\delta S= \int d^4x \mathcal L(\phi'(x),\partial'_\mu\phi'(x)) - \int d^4x\mathcal L(\phi(x),\partial_\mu\phi(x))=0,$$ $$\delta S= \int d^4x [\mathcal L(\phi'(x),\partial'_\mu\phi'(x)) - \mathcal L(\phi(x),\partial_\mu\phi(x))]=0.\tag{6.7}$$ The author then said that the last equality will hold if $$\mathcal L(\phi'(x),\partial'_\mu\phi'(x)) - \mathcal L(\phi(x),\partial_\mu\phi(x))=\partial_\mu K^\mu,\tag{6.8}$$ where $\partial_\mu K^\mu$ is a total divergence. Why is that so? According to the Gauss theorem, for the integral $\int\partial_\mu K^\mu d^4x$ to vanish, $K^\mu$ needs to vanish at the surface boundary, which I assume is at infinity. How can we be sure that $K^\mu$ will vanish at infinity when we don't know what $K^\mu$ is?


How is it that websites like SCG or CFB created their card database inventory. How would i be able to do this myself now? I want to create a similar website where a user can search and find any card with images. Obviously entering manually into a sql server is not feasible. Any help on easiest way to get this done?


Does anyone know of a tool that can resize a batch of images to the largest size that keeps each one under a specified file size (preserving aspect ratio)?  This would be very useful when uploading to sites with different file size limits  Edit: only needs to run on Windows


An illegal choice has been detected. Please contact the site administrator is given on ajax form after programmaticly adding an item to a select list

I have a form in Drupal. On a select list I am using the ajax built into the form api to trigger a callback on change.  I need to be able to add an option to the select list via javascript. Set the value on the select list to be that new value and then trigger the ajax call.  I have something like:  var select_list = $('#edit-example');  select_list.append($("<option></option>")   .attr("value", data.ObjectID)   .text(data.Name)); select_list.val(data.ObjectID); select_list.change();   Where data is a JSON object.  So the option is being added to the select list. The value has changed to my new option. I trigger the ajax event. However I am getting the error message:     An illegal choice has been detected. Please contact the site administrator.   The callback is working fine except the error is displayed. What can I do to stop this message appearing?


The Feeds bot’s translate command is no longer working for moderators

Up till a few days ago, moderators in a chatroom were able to get the Feeds chatbot to translate things for us using the translate: blah or translate xx: unblah commands. This was disabled for regular users  but it’s always still worked for moderators.   Sometimes we can still get it do something or other, but not often, not consistently, and not well: for the most part it just sits there like a dead parrot.  This is a useful and convenient tool. Could we please get it fixed?


I have done a lot of reading to understand difference between PUT and POST and from what I have gathered, PUT should have a resource specified in the URI. Does this mean that when uploading a file, the client specified what filename it is going to be? What about the place where the file is going to be stored, do I specify this in the corresponding method in PHP for this endpoint? Should multipart data ever be sent via PUT at all?


Result of $\int \limits_{-\infty}^{+\infty}x^2\times\exp\left(\dfrac{-x^2}{2}\right)\mathrm{d}x$

I would like to read a very thorough and explained calculation process for a couple of integrals. For the life of me I just can't figure out the result on my own, and no resource on the web were able to help me.  First, a small question: Is a primitive of $\exp\left(\frac{-x^2}{2}\right)$, $-x\times\exp\left(\frac{-x^2}{2}\right)$ ? If so, what's the derivative ?  Now the real question. I would like to find the result of:  $$\int \limits_{-\infty}^{+\infty}\exp\left(\dfrac{-x^2}{2}\right)\mathrm{d}x$$  And then, the result of: $$\int \limits_{-\infty}^{+\infty}x^2\times\exp\left(\dfrac{-x^2}{2}\right)\mathrm{d}x$$  Supposedly both are equal to $\sqrt{2\pi}$, but there's no way I can get there on my own.


My question is: How come the three words "awesome," "awe," and "awe-inspiring" denote positivism with the root awe, they are virtuous too,but the 4th word "awful" denotes negativity. Even the spelling of "awe" gets pruned to "aw", as if the "e" of "awe" chewed up the virtues of "awe" like a rat and ran away with them. It leaves me clueless. Hope you help me locate the rat.


1) I have to trap URLs with a single line. 2) Several URLs are of the format:     /here-is-url For instance     /here-is-url1     /here-is-url2     /here-is-url3 I do not want to trap those URLs 3) Several other URLs are of the format:     /here-is-subfolder1/here-is-subfolder-url1-in-subfolder1     /here-is-subfolder1/here-is-subfolder-url2-in-subfolder1     /here-is-subfolder2/here-is-subfolder-url1-in-subfolder2     /here-is-subfolder3/here-is-subfolder-url1-in-subfolder3     /here-is-subfolder3/here-is-subfolder-url2-in-subfolder3 These are the URLs I need to trap.


Can I freeze left over Shake & Bake coating mix after it's used?

After coating my chicken with Shake & Bake, I transfer the remainder into a container and freeze it until I need it again. Is this an unsafe practice? I figure if I'm freezing meat so it won't spoil, then the Shake & Bake coating mix should be safe in the freezer until I need it again.


How to solve this in function of the remainder

I am trying to solve an exercise but I don't know how to do it at all :  Given $m,n \in \mathbb N$ with $m>n>0$ and $r = m \bmod n$ Find ($2^m-1) \bmod (2^n-1)$ (as a function of $r$)   I don't know at all where to start or what to do... How can the value of the remainder help me to find the required result ? Thank you.


Fermat's principle: when does light actually travel along the local maximum of accumulated phase?

In class we learned that Fermat's principle dictates that light travels either along a local minimum or a local maximum of the accumulated optical phase, but the professor only gave examples of local minimum. So in what cases does it ever travel along the local maximum?


TeXstudio and viewing multiple pdf files

I am editing two different TeX files simultaneously, the manuscript and the response for the referees, and generating pdf files through pdfLaTeX. How can I go from one pdf to another in the internal PDF viewer without recompiling the other file?


I am currently using ubuntu 13.04 along With windows 7. But I want to change my MAC address of pc. Is there any way to change it.


Solving system of linear equations in the field $Z_p.$

Consider $5x+3y=4$ and $3x+6y=1.$ List the set of primes for which this system of linear equations does not have a solution in the field $Z_p.$


"Everybody knows" that quaternions are not used for the purposes for which they were originally intended.  They are, however, used in computer graphics, and perhaps in astrogation.  Besides that, what are the current uses of quaternions?


I am trying to prove that these two definitions of Carmichael function are equivalent.  I am using this definition of Carmichael function:     $\lambda(n)$ is the smallest integer  such that $k^{\lambda(n)}\equiv1 \pmod n\,$ $\forall  k$ such that $\gcd(k,n)=1$.   to prove this one:     $\lambda(n) = \begin{cases}\phi(p^a) & (p=2\text{ and }a\le 2)\text{ or }(p\ge 3)\\\dfrac 1 2 \phi{(2^a)}  & a\ge 3\\ \text{lcm}\left((\lambda(p_1^{a_1}),\cdots,\lambda(p_k^{a_k})\right)& \text{for }n=\prod_{i=1}^k p_i^{a_i} \end{cases}$   Since $a^{\lambda(n)}\equiv 1 \pmod n$,  and $a^{\lambda(m)}\equiv1 \pmod m$ with $\gcd(m,n)=1 \implies a^{\text{lcm}({\lambda(n)},\lambda(m)}\equiv1 \pmod {nm} $   Hence $\lambda (mn)=\text{lcm}(\lambda(n), \lambda(n))$ for $m$ and $n$ coprime to each other.  How can I prove the other relations?


How to use one installation for MULTIPLE sites?

My question is something different. I have several Wordpress Installations in my localhost:  localhost/1 localhost/2 localhost/3 ... etc...    I want them all to use one wordpress installation folder (except wp-content - I want each site had its own wp-content).    I dont want to use Multi-Site feature (because each 1,2 and etc sites are separate Multi-site installations themselves). So, what should I do?  I want to use only 3 files in each subdirectory, i.e.  localhost/1/index.php localhost/1/.htaccess localhost/1/wp-content   and they use one predefined WP-CORE folder, from i.e.   localhost/wpcore/wp-admin localhost/wpcore/wp-includes localhost/wpcore/wp-login.php ...etc..   how to achieve that? Maybe some htaccess and wp-config tricks will be needed?


Is "Advances in Engineering" a predatory platform?

I have received an e-mail from "Advances in Engineering". Is it a predatory-platform? Is it reputable?  ...  Dear Dr. XYZ,  We are pleased to inform you that Advances in Engineering selection committee identified your paper “Another XYZ” as a key scientific article contributing to research excellence. We would like to write a feature about your paper and highlight it in our next edition of Advances in engineering news series.  AIE highlight papers of exceptional scientific importance to a broad science and engineering audience (for the latest edition ). The feature is intended to globally disseminate research excellence across academia and in the wider community, and to inspire new research directions.  AIE reaches a global audience of 850,000 professors and scientists per month who seek the key research news and accomplishments in engineering. Papers featured at AIE gain extensive visibility and increased citations.  If you accept our special invitation, our professional writers will write a high quality feature draft about your research paper (significance of the work done) and then share it with you for final approval.  AIE is not-for-profit focused on serving research excellence. However, there is a small nominal fee for featuring key scientific articles at AIE ($75 USD total fee) to cover AIE writers’ time in preparing the feature. We can send you an official invoice and we will feature your research within 14 days.  At AIE, we highlight the researchers work at the cutting edge of science, those who are developing the innovations that will lead to a brighter tomorrow. I look forward to hearing from you.  Respectfully,  ZYX  ZYX, PhD MBA VP Scientific affairs, Advances in Engineering  38 Auriga Drive, Suite 200. Ottawa, ON K2E 8A5, Canada


This question may sound weird but anyway here it goes. Is the following equation true? $$\emptyset = \{ \emptyset \}$$  The reason I think it is not true:    The empty set is an element by itself, therefore the R.H.S contains one element.  But due to L.H.S, the amount of elements of the R.H.S must be $0$.    The reason I think it is true:   The empty set is a subset of every set. Therefore, the emptyset on the R.H.S must be a subset of the L.H.S. In other words, we have the following relation: $\emptyset \supseteq \{ \emptyset \} \Rightarrow \emptyset = \{ \emptyset \}$.


Proving that a Euler Circuit has a even degree for every vertex

Theorem: Given a graph G has a Euler Circuit, then every vertex of G   has a even degree      Proof: We must show that for an arbitrary vertex v of G, v has a   positive even degree.   What does it mean by every even degree? When I think of an even degree I think of polynomial functions.   What I am trying to prove?


How to enumerate an object's properties in Python?

I C# we do it through reflection. In Javascript it is simple as:  for(var propertyName in objectName)     var currentPropertyValue = objectName[propertyName];   How to do it in Python?


Recently, we heard about the . The source of these wave are believed to be two black holes that merged. One of the most amazing things about this discovery is the phenominal amount of energy that was released in the process. Where does this energy come from? This question was addressed , so I won't repeat that question. (However, I find those answers somewhat contradictory and therefore unsatisfactory.) Instead, what I want to know concerns a slightly different scenario.  Let's consider a system of neutron stars orbiting their common center of mass as a binary system. The system would be losing energy due to gravitation waves. Eventually the two neutron stars would merge to become one, by which time the gravitational radiation would stop.  Now where did the total amount of energy that was radiated as gravitational waves come from? In my view, this could not have come from the mass of the neutron stars, because conservation laws would dictate that the combined neutron star must consist of exactly the same amount of matter that the original two stars consisted of. The other sources of energy in the system would be the kinetic energy due to the orbiting velocities and then of course a large amount of potential energy due to the separation between the two neutron stars.   So, am I right is saying that in this case the energy has to be provided purely by kinetic and potential energy in the system and not from the masses of the two bodies?  And if this is so, why wouldn't it also be the case when the two bodies happen to be black holes?


Remove VLC player from sound menu in Unity bar

I don’t use VLC that much to have it there, so I would like to remove it from the sound menu in the top right. I found a small image to show what it looks like (the sound menu is open and shows VLC along with other music players).    Sorry for giving a very low resolution image.


How to change keyboard layout from US to NO in Ubuntu 17?

I have installed Ubuntu 17 as a virtual machine in Windows 10, VMware player. Windows 10 is using Norwegian keyboard layout. When I log on to Ubuntu it used American keyboard layout.   How can I change it to Norwegian?   I dont want to change the language, only keyboard.


Is fixing a broken link not a substantial enough improvement to be allowed to bypass the 6 character edit rule?

There was a broken link on the selected answer to this question:-    However, when I made the edit to update the link it would not let me submit unless I changed 6 characters.  Should the 6 characters not include the links?  I would argue that fixing a broken link in a "link only" answer that only really provides any value through said link, is a substantial improvement from almost zero value to some value, and should be allowed


Adding a loop cut to an object with a circular profile renders the object non-circular.  This is true for any object with a circular frame e.g. plain circles, UV-spheres, cylinders, cones, etc.  Top-left is the mesh of a plain circle with Subsurf modifier applied (bottom-left).  Notice how adding one additional vertex (top-right) makes the circle skewed (bottom-right). Is there a tool/transform/way to correct the circle? Knowing the solution to this should help solve the problem for all the aforementioned objects.  I tried selecting all points and applied the To Sphere transform in vain.  It didn't help. I thought putting the vertex r radius away from the circle's centre like the rest of the vertices will help, looks like it doesn't.


Add a static IP alias to a DHCP interface on Windows 8 (and above)

I have a Windows 8 machine that has only a single Ethernet port. It needs to use DHCP and also needs a static IP. Each IP is in a different subnet, and each serves a different, incompatible purpose. This machine must use DHCP because the site network admin says this is the only supported way to get a 192.168.x.y address. Either his network scheme doesn't have a static IP block within that subnet, or he won't assign one of them to this machine. I can't risk using a DHCP-assigned IP statically, betting it won't be reassigned after the lease expires. That would let me use Windows' ability to assign multiple static IPs to the interface, but this is a production server, not something I can risk getting bounced off the network hours or days later. I realize that some DHCP servers let you set up static MAC to IP assignments, so that my machine's DHCP IP is never reassigned, but since I know of no DHCP server that will issue two different IP addresses, each in a different subnet, that's no help here. (And if there is such a DHCP server, my client probably doesn't use it and wouldn't change over to it if I asked.) Since I can't do this entirely with DHCP, I need a static IP because this machine also acts as a server to a 10.x.y.z subnet. The local network admins have given me a static IP in that scheme, but it's insufficient because I also need to talk to the 192.168.x.y side of the network. I'm aware of a similar question . I'm asking again because:  That other question was posed when Windows 7 was current. Perhaps Microsoft used those 2+ years to fix this weakness in the Windows 8 network stack implementation? (Yes, weakness: Linux allows a network interface with both a DHCP and a static IP. There's nothing about TCP/IP that prevents Microsoft from allowing this. They just have to write the code to allow it.)  It seems the network configuration GUI in Windows 8 has the same limitation as Windows 7's, but perhaps there is some low-level hack that will let us assign a static IP alias to the DHCP interface?


I am using Sony Xperia Z with android 4.3. Is there any way I can save Web pages on my device to view it offline. Will it require an app? If yes, any free app for the purpose.


Can we lock the light (photons) up inside a box? Why / Why not?

Imagine a box designed to make vacuum state inside. Is it possible for us to lock the photons up inside something completely enclosed?


$D=\{z\in\Bbb C:|z|<1\}$. Let $f(z)=\sum\limits_{n=0}^\infty a_n z^n(a_n,z\in\Bbb C)$ be a power series, the radius of convergence of $f$ is $1$,   $\sum\limits_{n=0}^\infty a_n =s$.   Give a  power series $f$ such that  $$\lim_{D\ni z\to1 }f(z)\ne s$$ If $f$ is convergent at every point of the unit circle, is there  such an power series $f$ ?   P.s. the problem is related to


Which package provides the Postgresql init scipt?

If I haven't got /etc/init.d/postgresql file in what package could I find it?


When to use a function inside a variable vs a standalone function

I'm trying to discover when to use a function defined inside a variable as opposed to just a standalone function. Take the two tests below:    // test 1 function testFn(t) {   console.log(t); }  for (let i = 0; i < 5; i++) {   testFn(i); }  // test 2 var testFn2 = function _test(t) {   console.log(t); } for (let i = 0; i < 10; i++) {   testFn2(i); }     The first test just uses a standalone function, whereas the second function uses a variable for the function. In what cases would I want to use one against the other? Could someone provide some clarification and advice here? Are both my functions correct in the above code?  Thanks for any help


Let $f,g:\mathbb R^n \rightarrow \mathbb R^n$, $(x_1,\dots, x_n)\mapsto f,g(x_1,\dots, x_n)$ be smooth functions with compact support.  Use the following notation: for an index $\alpha = (\alpha_1,\dots, \alpha_n)$ where $\alpha_i$ is a natural number, we denote by $D^{\alpha}$ the derivative with respect to $x_1$ $\alpha_1$ times, with respect to $x_2$, $\alpha_2$ times, and so on until $x_n$, $\alpha_n$ times.  Can we then say that $$\int_{\mathbb R^n} D^{\alpha} f(x_1,\dots, x_n) g(x_1,\dots, x_n)dx_1 \cdots dx_n = (-1)^{|\alpha|} \int_{\mathbb R^n} f(x_1,\dots, x_n) D^{\alpha} g(x_1,\dots, x_n)dx_1 \cdots dx_n$$ where $|\alpha| = \sum_{i=1}^n \alpha_i$.  Thanks you!


Where is the options menu for Convert mesh to Grease Pencil?

I dont understand how to find the options menu for Convert to Grease Pencil.   Object ‣ Convert to ‣ Grease Pencil from Curve/Mesh Converts the selected curve or mesh object to a Grease Pencil object with strokes matching the curve/mesh; basic materials are also add. When multiple curves/meshes are selected, they are all converted into the same Grease Pencil object. Options Keep Original Duplicates the original object before converting it. Thickness Strokes thickness. Threshold Angle Threshold value that determines the strokes end. Stroke Offset Sets offset to separate strokes from filled strokes. Only Seam Edges Convert only edges marked as seam. Export Faces Convert faces as filled strokes.


How to disable user's login without disabling the account?

I have already gone through the  in Unix & Linux and tried altering /etc/passwd manually like below  user1:x:1001:1001:,,,:/home/user1:/usr/sbin/nologin   after making change user1 is not being able to login from terminal but surprisingly can login from gnome   What's wrong?  Description:    Ubuntu 14.04.3 LTS kernel:         3.19.0-33-generic


it possible to disable HDD after 20 min idle but not SSD (Windows 7)

Hello my operating system is Windows 7.  I have 3 hard drives: 1 SSD (which hosts Windows), 2 HDD (just a file storage) Is it possible to turn off HDD after some idle time but leave active SSD?  I checked windows 'Power management settings'. It has some option like 'Turn off hard disc after', but it doesn't have a selection which one to turn off.


New Users Tend to Post Questions With Titles Containing Most Words Starting With a Capital Letter

I've been editing out tags from question titles for the past several hours, and I noticed that a lot of questions have that pattern, especially from new users. I don't know who and when decided that it's the way to go, but that is clearly:   Less readable; Obstructs readers' ability to quickly identify key words.   There should be automatic detection of that silly nonsense and notification, maybe even automatic decapitalizing if every or most (~>70%) words in the question title begins with a capital letter.


How to load a background image in my lightning component. Here is my code. **Header.css**     .THIS body{         background-image : url({!URLFOR($Resource.folder,'Images/BG.png')});         background-repeat: no-repeat;         background-position: center center;         background-attachment: fixed;         background-size: cover;      }   It shows an error as follows.


Why does the Mammal speak method get called instead?  int main() {     Mammal mammal = Cat("CatName", Blue, 9);     mammal.speak(); }  class Mammal : public Animal{ public:     virtual void speak() const {         cout << "Mammal speaks" << endl;     } };  class Cat : public Mammal { public:     void speak() const {         cout << "Cat meow!" << endl;     } };


xcolor command `\color` stops working in xelatex

Test program: \documentclass{article} \usepackage{xcolor} \begin{document} \color{red}1 \color{blue}0 ... many lines ... \color{red}1 \color{blue}0 \end{document}  Test result: Only first few lines are correctly colored. The rest is all blue. Using \textcolor{...}{...} seems OK, but not with \color{...}. The above code is MWE, with 200 repeats (400 lines) of 1 and 0. The bug appears when processed with xelatex but not pdflatex.


Why do we find eigen vectors of the co-variance matrix in PCA?

In PCA,why is finding the eigenvectors and eigenvalues of the covariance matrix of the data equivalent of fitting  principal-component lines to the variance of the data?  I have understood eigen vectors in terms of matrix transformation.But why do eigen vectors of the co-variance matrix of the data give us the lines which express maximum variance?


Finding World War 2 Army or Navy service record for resident of Sussex, England?

Peter Evelyn Graham was born in 1923 in London and died in 1972 in Sussex. He was in the services but not sure which one:   Army records, his name hasn't come up. Navy records have a leading seaman Navy auxillary.    All the sites I have tried that say they have records of that name all want me to take out a membership. I do not wish to do that, I only want that one piece of information.   I have assumed rightly or wrongly the time period would have been 1943-1945. I have tried the Sussex Army regiment but drew a blank.   I live in Australia so can only search online.  Some years ago I was able to get a grandfather's military record online and they only charged me 2 pounds. The trouble is that I cannot remember the site.


If $X$ is not Hausdorff, then does $X$ have a compact subset that is not closed?

This is something of a converse to the theorem which says if $X$ is Hausdorff and $C$ is a compact subset of $X$, then $C$ is closed in $X$.  But I do not know if true or not.  Question: If $X$ is T$_1$ but not Hausdorff, then does $X$ necessarily have a compact subset that is not closed?


Dual boot windows 8 and Ubuntu with Windows 8 Boot manager

I have two partitions on my hard-didk , I have installed ubuntu on my 1st partition and windows 8 later on another partition.Now i can only boot into windows 8 because it doesn't recognize Ubuntu.  How would i dual boot my PC without using grub . I would like using Windows 8 boot manager as its pretty neat.  This is what i have tried :  I tried using easyBCD but it doesn't work.It causes the boot manager to switch to windows 7 Boot Manager .  EasyBCD creates a C:/NST/AutoNeoGrub0.mbr file .  As EasyBCD was causing the boot manager to switch i created a manual entry to the BCD store uisng windows bcdedit command and point it to the C:/NST/AutoNeoGrub0.mbr file created by EasyBCD. This gave me the Windows 8 Boot-Manager with Ubuntu Entry,but grub is unable to find the root partition.  Is there any other work around or solution for this ?  Any help would be appreciated.  Note: The windows 8 boot Manager is sky blue color interactive menu with mouse and other options and windows 7 boot manager is the normal black and white one where you can only use your keyboard  I don't want to install grub because it would prevent my windows 8 from updating as its a genuine MSDN version and various other reasons


Am I a Moocher? If so, what can I do about it?

I am sorry to say my answer to question ratio is not very good.  It is not because I don't enjoy helping others, but just because I don't have the expertise of many of the other members.  I have no formal software training nor is my day job involved in software, I don't even have any friends involved in software and have to rely on the many knowledgeable members of Stack, and am trying to learn too many things at the same time which makes me a master of none. Recently, whenever I ask a question, I quickly receive a downvote and often with a close.  Note that I have no issues with downvotes.  If I am asking bad questions, I should be penalized to correct my behavior, and while not expected, would still appreciate a comment describing my bad doing.  Or maybe the voter wishes to enunciate that a given direction is not a good direction, and what better way than with a quantifiable score.  And I agree that duplicated questions should be closed to not dilute good answers to a specific question.  And if the question asker did zero research and asked a question that clearly has already been answered, sure a downvote is warranted to encourage behavior which doesn't waste the time of Stack's many generous members. Before posting this question, I searched for various related questions.  First, I was concerned that there was a certain answer to question ratio that I wasn't meeting, but couldn't find any quantifiable criteria.  When researching, I came across the term "moocher" and thus searched more, and while I read "Moochers suck, no question about it", I don't believe (and hope) that I fall in this criteria.  I always spend significant time researching the subject before asking the question.  I try to pose the questions so that they will be relevant to others.  I provide script and output  results when appropriate.  If a member posts a comment requesting additional information, I always try to provide it.  While I know that a bunch of "thanks" comments are not desired, I always respond appreciatively.  I never leave a question with a reasonable answer unaccepted unless I end up answering my own question in which I feel a little shady for selecting myself. Take my past three posts.  I diligently researched each topic before posting the question partially motivated by fear of the looming downvote I was sure to come.  But still I hoped, yet within minutes each of my posts were quickly downvoted.  I did get one comment on the three and if that individual downvoted my question, I have no issues and am thankful for his or her response.  But typically there is no comment, and I believe questions with negative votes and no comments will be ignored by other members even if they are good questions which need answers to help the community.      Is there an unwritten quota of answers to questions?  Are there other obligations and responsibilities which I must be aware of?  Am I a Moocher and if so, what must I change to continue being a contributing member?


Why do the Borg have physical computer interfaces?

I was watching Scorpion (VOY) parts 1 and 2 last night and a thought struck me: sure, their computer interface looks pretty cool, but why do they have a physical interface (i.e. they tap the screen physically) in the first place?  It's made quite clear that they can interface with each other through mental transceivers and they make a big deal about thoughts being a more efficient communication method than verbal communication in Scorpion Part 2 with Tuvok and Janeway.  Therefore, wouldn't a mental interface with a computer be more efficient?  Surely, then, they could have the drones in their stations for most of the time, just thinking to interact with the computer rather than having to tap their way through an interface.  Is there any reason given for this?  And, although I only recall seeing 7 of 9 using the computer via physical interaction in Scorpion, there are plenty of instances in other episodes where other drones also use physical interaction with the computer.


How much illumination does Create Bonfire provide?

Create Bonfire (XGtE p152):     You create a bonfire on ground that you can see within range. Until the spell ends, the bonfire fills a 5-foot cube. Any creature in the bonfire’s space when you cast the spell must succeed on a Dexterity saving throw or take 1d8 fire damage. A creature must also make the saving throw when it enters the bonfire’s space for the first time on a turn or ends its turn there.   I am aware that spells only do what they say they do, but usual bonfires do create light. While illumination is not mentioned, it is hard to imagine a bonfire without flames and light, and the spell does not indicate in any way that this is not a usual bonfire.  It should be brighter than a torch for sure, but how much exactly?


Question on Heisenberg's uncertainty principle

Can we measure limit of precision of measuring wavelength using ? If yes how can we do that?


Is there a comand or way to get list of all available predefined (named) colors on my actual system?  Not a question regarding xcolor or any other color enhancement. Just minimalistic setup.


In Game of Thrones S08E04 The Last of the Starks, Gendry is         legitimized by Daenerys & pronounced as Gendry Baratheon, the Lord of Storms End.      When Gendry finds Arya, he tells him that his earlier name was Gendry Rivers.         and now it's Gendry Baratheon & proposes marriage to her.      As far as I know, Gendry was born in Kings Landing.     Bastards of Kings Landing are named Waters. Bastards of Riverrun are named Rivers & Bastards of Stormlands are called Storm.     So, where exactly was Gendry born?  Was this a plot error from D&D?


Why can't I loop cut a cone? I started a new file, created a cone and did nothing but try to loop cut it, and it didn't work.


Enumerate non-isomorphic graphs on n vertices

In the following the graphs are assumed to be undirected and simple.  1.Enumerate the number of non-isomorphic graphs on $n$ vetrices where $n$ is fixed.  Here are some ideas I had:  The number of labeled graphs is $ 2^{\frac{n(n-1)}{2}} $.  So it is enough to find the number unlabeled graphs on $n$ vertices.I have no idea for this.  2.Enumerate the number of non-isomorphic graphs on $n$ vertices and $m$ edges where $n,m$ are fixed.   Can we find a closed formula for each of this?  Any help?   Thank you!


Work computer, windows 10, no iTunes, stop iphone pop up "allow this device..."

Windows 10 Professional (10.0.17134.228) and iPhone 6 (iOS 11.4.1). iTunes is not installed, can't have it, and don't want it. (Work computer) Under:      C:\Program Files\Common Files\Apple , there is no    \Mobile Device Support\Drivers   When I connect iPhone to USB for charging, there's no pop-up message in Windows, but a popup to allow this device on iPhone, every time!  How do I get rid of it?  The most commonly cited fix, updating driver manually pointing it to the folder mentioned above is not (!) an option, since the path is incomplete, meaning folder/s mentioned are missing.


What gives better performance single proc - 16 core or dual proc - 8 core each?  We are considering going for a sing proc server due to increase in license cost.   Edit: We plan to use VMWare vsan, It is costing per proc.  We plan to run multiple VMs using this server. All these servers run mostly websites based on open source and use apps like Apache, mySql and Ngnix.


I'd like to write a majuscule delta-like symbol in LaTeX but I can't find it's syntax anywhere. You can see the symbol on equation (12) of the following paper:  "".


A quick question. We used to have a code coverage highlighted in dev console on which lines of the class are covered and not covered before.   Has salesforce removed this option or do i need to activate it somewhere?


USA citizen with American passport: would I need a transit visa at Narita Airport on my way to/from Australia?


Is Shiny Xerneas possible with game restarts?

I am in the room with the Xerneas tree, and I keep reopening the game to find a shiny. Is it possible to find a shiny that way? If so, than will it show Xerneas shiny in the cutscene?


Story Identification - Trilogy about VR and an old man who eats soap

Alright, I read this trilogy almost a decade ago. And I'm pretty sure it wasn't new then. So could be from 90's or early 2000's  Basically, it was a trilogy that followed multiple people's stories. It heavily featured VR and Full Body VR Suits. There was an evil corporation whose HQ was a giant black tower in a lake (I think) and in the end the group of people who's stories all intertwined infiltrated it. Or something.  Few key things I remember, there was a young kid who lived near a weird old man. Kids parent's always told him to stay away, he didn't. And the old man ate soap. There was a brother and a sister story arc, sister was older and looking after the brother. And one of the books definitely had a gold cover.  I tried finding these books 5 years ago, and failed. Finally found them 2 years ago, and forgot their names AGAIN. Hopefully this time around I won't!


Solving complex equation $z^2 + (1+i) \overline{z} + 4i = 0$

Consider the following equation, where $z \in \mathbb{C}$, $i$ is the imaginary unit and $\overline{z}$ is the conjugate of $z$:  $$ z^2 + (1+i) \overline{z} + 4i = 0 $$  What is the method to deal with equations such as this?  I have tried various things: I tried substituting $z$ with $a+bi$, or $re^{i\theta}$, hoping I'd notice something. I thought I could somehow transform this into a quadratic equation, but I couldn't. Now I have no idea what to try. I'd appreciate ideas greatly.


Graphics issues after/while installing Ubuntu 16.04/16.10 with NVIDIA graphics

I installed or upgraded to Ubuntu 16.04, but I'm having some problems with my graphics card.   The display is blank The display flickers Items on the screen do not display correctly Certain programs complain of graphics issues The computer boots to low-graphics mode Your specific issue may not be here, but try the solutions described in the answers anyway.   This question is very broad, but each one of these issues likely has one solution.    If you are experiencing a login loop, check the last part of my answer.    If you experience one of the listed issues and have your own solution (mine didn't work, or there's a faster way), feel free to post another POLITE answer, describing your problem and how you fixed it.    Those attempting to install Ubuntu, please refer to the section titled: If you are unable to enter a TTY or are trying to install Ubuntu.


What is time complexity of nested loop where inner loop is j < i?

test = 0; for( i = 0; i < n; ++i )     for(j = 0; j < i; ++j )         test++;  My trouble is calculating the cost for the inner loop. Since it will run whenever it is less than i, i'm guessing worst runtime of that inner loop would be O(i) which is essentially O(n) so then overall would be O(n^2)?


Why can't we see ? The thing which makes everything visible is itself invisible. Why is it so?


In 5e, are DMs not supposed to hide their rolls?

I'm focusing on clarifying this  for the 5th edition.  Due to wordings like the Bardic Inspiration, it seemed clear to me that rolls should be out in the open, they should not be hidden. However, I can also see the argument where the DM rolls in secret, but then announces a fake number (maybe he rolled a 5, but he announces he rolled a 17).      You can use your reaction to expend one of your uses of Bardic Inspiration. You can choose to use this feature after the creature makes its roll, but before the GM determines whether the Attack roll or ability check succeeds or fails.    The other question's answers seem mostly focused on 3.5e, so I'm asking for RAW guidance, are DMs supposed to roll in the open, or in secret (with fumbling if necessary)? Is this mentioned in any book?


What's wrong with my simplification of $\frac1i$?

Supposedly, $\frac1i=-i$. However, my simplification reaches another result: $$\frac1i=\frac{\sqrt1}{\sqrt{-1}}=\sqrt{\frac1{-1}}=\sqrt{-1}=i\text.$$ What's wrong with my process?


How to correctly make a thread safe Singleton Factory in Java?

This is the first time I am writing a Factory class. Below is my Factory class, I am not sure whether this is the correct way of making thread safe Singleton Factory class or not. I will be returning instance of my Client using this factory?  public class ClientFactory {      private static ClientFactory instance = null;         private ClientFactory() {      }      public static ClientFactory getInstance() {          if (instance == null)         {             instance =  new ClientFactory();         }          return instance;     }      public IClient getClient() {          return new TestClient();     } }   And here is my TestClient class -   public class TestClient implements IClient {   }   And this is how I am going to use my factory -   IClient client = ClientFactory.getInstance().getClient();


Cutting out logo shape (using Boolean, or knife on a 2D plane) ruins edges when shaded smooth

Hy, sorry if there is simmilar question as mine, I tried to find answer but couldn't.        This is a model of a redbull can and the detail you see is the can opener that has that little bull cutted out.  I tried to cut out the logo from the can opener and just dont know how to do it right so the edges stay smooth when shade smooth is activated.    First I cutted out the shape using boolean tool, either on a 2d plane(and then solidify it) or on a already 3D shape. No good result.   Then I have drawn a shape with knife tool in a mesh, same result. Dont know what else to do.  On the first image you can see shade smooth activated.   On the second, shade flat.   On third, its in edit mode so you can see the mesh.  Can someone give me a hint how to do job properly? It would mean a lot to me. Im new at blender still.  Thanks a lot!!


Best way to avoid encoding/collation char errors in no english web systems (PHP / Mysql)?

Since I started working with Apache, PHP/HTML/CSS/JS and databases such as MySQL, I always had to deal with latin charset problems.   I mean, starting from the database until the views are displayed in the browser screen, through all the many instances in which charset can be altered, I never had the chance of working with no problems, except with a Wamp/Xampp installation in localhost with Windows.  I always tried to set all charsets/encoding/collation in every place I could, but I always had different results, depending on the server (Linux, Windows).  I always check:  1) Database collation.  2) Table collation.  3) Column collation.  4) Apache charset configuration in httpd.conf  5) PHP charset configuration in php.ini  6) Individual php/html file encoding.  7) Addition of meta tag in every html with same encoding/charset.  8) Addition of "header(... charset...)" with same encoding/charset;  But in many circumstances, I keep on receiving unrecognized chars instead of accents and special latin symbols. Sometimes it works ok in the screen, but I find problems with generated CSV/Excels, or as a JSON response from a webservice, etc.  I checked other posts like this one:    I try to follow the tips, but I can't fix the problem in certain cases.  Tired of trying lots of things I always end up using functions such as utf8_encode / decode, or iconv(...).  Sometimes I even get the desired result only by using both utf8_encode/decode, one inside the other. Horrible.  Is there a tidy and easy way to resolve this without having to use those scary functions that leave the code untidy?  Is the Operating System an issue? I tend to see more charset problems while running systems in Linux servers.


Permission for Using SO website style for creating Similar Question and Answer site

Is there any permission required to built similar style of (Stackoverflow)? I reviewed both:  and  but they not mentioned Website Style?


Mount error: "unknown filesystem type 'exfat'"

When trying to mount an exfat filesystem, I get the following error:  Error mounting /dev/sda6 at /media/gkp/Backup: Command-line  `mount -t "exfat" -o "uhelper=udisks2,nodev,nosuid" "/dev/sda6" "/media/gkp/Backup"'  exited with non-zero exit status 32: mount: unknown filesystem type 'exfat'   Exfat is used on some USB sticks and camera sd cards. What can I do to mount this type of filesystem?


Error while installating pip for Python3

When i tried to install PIP for python3 in Ubuntu 18.04.2 LTS  Command I used:   root@DESKTOP-0BEE3OD:/mnt/c# apt install python3-pip  E: Could not read response to hello message from hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true: Success   I am not able to fix this error.


How long should we wait to close a question based on "unclear what you are asking"?

How long should we wait for voting to close a question based on 'unclear what you are asking'?  Thanks !


Is there any non-experimental way to determine what substances are radioactive?

Is there any way to determine if a substance is radioactive and if so, is there any way to determine in what form the radiation will appear, like β- or α-radiation? For example, if I am making a decay chain, is there any way to determine if the daughter isotope is radioactive without searching for information on the internet (or testing it, of course)?


Is there an easy way to print "\\" in a Latex document? I tried using \\\ and it threw an error.


what's the biggest integer that can not be made up by 6, 9, and 20?  for example, 35 can be expressed as 35 = 20 + 9 + 6 46 can be expressed as 46 = 20 * 2 + 6; 27 can be expressed as 27 = 9 * 3 or 27 = 6 * 3 + 9  so, what's the biggest integer that can not be made up by 6, 9, and 20?


Is there a tool which I can user to send files between two remote servers? For example, I have hosting at hostgator and I create a directory there. Then I use that tool to send files from some other remote storage to that directory.   I want to skip the step of downloading files to my computer and uploading it to another storage.


How do I get particular textNode value of a DOM with Selenium

Hello I am trying to find Load # detail from . Also You can  too.  I have tried with xpath: //div[@class='equipment_item']//text()[preceding-sibling::strong[text()='Load #:']][1]    But getting the below error:  org.openqa.selenium.InvalidSelectorException: The given selector //div[@class=' equipment_item']//text()[preceding-sibling::strong[text()='Load #:']][1] is either invalid or does not result in a WebElement. The following error occurred: InvalidSelectorError: The result of the xpath expression "//div[@class=' equipment_item']//text()[preceding-sibling::strong[text()='Load #:']][1]" is: [object Text]. It should be an element. Command duration or timeout: 31 milliseconds


If matrix A is orthogonal, show that transpose of A is equal to the inverse of A

If matrix A is orthogonal (dot product of each pair of its columns is zero; also dot product of each pair of its rows is 0; dot product of each row or column with itself is 1), show that $A^T = A^{-1}$.  I'm stuck with this proof because I'm not sure how to theoretically calculate $A^TA$ and $AA^T$.


How would you do a "not in" query with LINQ?

I have two collections which have property Email in both collections. I need to get a list of the items in the first list where Email does not exist in the second list. With SQL I would just use "not in", but I do not know the equivalent in LINQ. How is that done?  So far I have a join, like...  var matches = from item1 in list1 join item2 in list2 on item1.Email equals item2.Email select new { Email = list1.Email };   But I cannot join since I need the difference and the join would fail. I need some way of using Contains or Exists I believe. I just have not found an example to do that yet.


A person unaware his confidence exceeds his talent

So, yesterday, I got this text message from my own mother:    Now, after laughing for a good 5 minutes and then racking my brain for half a day, I still don't know how to help my mom insult this guy.  So, what's a good word or pithy phrase which describes:     An adult whose confidence exceeds his talent, but doesn't seem to recognize that.   ?  And before you question the wisdom of helping her find such a word ... hey, the lady brought me into this world.  I owe her.


pagestyle{fancy} will cause second page to have different alignment

In the below image I copied the second and third page above one another. As you can see the alignment is incorrect. After the third page (including the third page) everything works fine. I am using \renewcommand\maketitle{ and \pagestyle{fancy} to make a custom front page and header and footer. But I have no idea what causes this behavior.    Update 1  \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} \usepackage{comment} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \usepackage{float} \usepackage{geometry} \usepackage{fancyhdr} \usepackage{longtable} \usepackage{listings} \usepackage{subfigure} \usepackage{acronym} \usepackage[usenames,svgnames,table]{xcolor} \usepackage[hidelinks]{hyperref}  %to be able to use your file as a template  \newcommand{\TitleOfReport}{Long Header bla bla bla some other words\\  bla bla bla some other words } \newcommand{\DateOfReport}{2014} \newcommand{\AuthorOfReport}{ONE}  %changing the layout \geometry{hmargin=2.5cm, vmargin=2.5cm }  \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} \fancyhead[C]{ \textcolor{Gray}{\small\TitleOfReport}} \fancyfoot[C]{ \textcolor{Gray}{\small\AuthorOfReport ~~ \vline ~~ Another phrase goes here ~~ \vline ~~ \DateOfReport}} \fancyfoot[RO]{\thepage} \fancyhead[L,R]{}  %make custom frontpage \makeatletter \renewcommand\maketitle{   \begin{titlepage}   \begin{center}    \end{center}\par   \end{titlepage}   \setcounter{footnote}{0} } \makeatother   \begin{document}  \title{\TitleOfReport} \date{\DateOfReport} \author{\AuthorOfReport}  \pagestyle{fancy} \pagenumbering{Alph} \maketitle     \pagenumbering{Roman} \newpage  \tableofcontents \newpage  \listoffigures \listoftables  \end{document}   Update 2  As lockstep pointed out simply put the \headheight somewhere in the preamble in this case the following will do the job:  \headheight27.0pt   or  \setlength{\headheight}{27.0pt}


I want to run gradient boosting regression on a dataset whose rows are not independent. Specifically, the rows are clustered, and you could consider the clustering variable to be a random effect.    What is the effect of ignoring the random effect, i.e. simply running the classifier on the target and the other features? What open source packages are available that can account for clustered data for gradient boosting? Any caveats to using the procedures from 2?   Edit: I saw . I will now restrict my question to GBMs.


Failed to download repository information on Xubuntu 12.04 64-bit

I know this question has been asked a million times before but I have checked out the previous posts and none of the advice given in them has worked for me. I'm getting this with the medibuntu repository.    I'm running Xubuntu 12.04 so I know it's not an EOL issue.  My internet connection is fine. I'm using it at the same time I'm doing the update. I'm able to surf the net, etc. I have a proxy but if that was the issue wouldn't all the repositories and PPAs be affected? Also, I've never had issues with the proxy server doing this before. This is the first time I have run across this error. I changed servers twice to different servers. I tried to select the best server and I tried the main server I tried the following three commands all without error sudo apt-get autoclean, sudo apt-get clean, and sudo apt-get autoremove. Then I tried running the update again and it still came up with the 404 error I ran sudo apt-get update | grep NO_PUBKEY and it just came up with the same error message   I don't know what else to do at this point.


Can't install vlc and other software : packages not coming from authenticated sources

After installing Ubuntu 11.10 last week I couldn't install any mp3 or videoplayers such as vlc or any others. They show me something about a failure to install packages, and when I click on details I see this:     The action would require the installation of packages from not authenticated sources: libdvdread4 libvlc5 libvlccore4 vlc vlc-data vlc-nox vlc-plugin-notify vlc-plugin-pulse


Some strange behavior in Js Number.parseInt function, can someone explain it?

I found some strange behavior in the javascript parse int function. Check the following code:   console.log([..."111"].map(Number.parseInt)) console.log([..."111"].map(x => Number.parseInt(x)))    When you run the first line, you get: [1, Nan, 1] When you run the second line, you get: [1, 1, 1] Can someone explain this strange behavior?


Identifying DDOS Attacks on Windows 2008 Servers

I recently was notified by my monitoring service that a few Windows 2008 servers (hyper-v instances) were down.  I logged into the Hyper-V box and noticed everything was super slow. I opened task manager and saw that while CPU and RAM were fine, network utilization on our "Public" NIC was at 99%.  This lasted for about 10 minutes, during which time I found that disabling inbound connections for one of the servers caused the network saturation to drop to normal levels. I disabled that server's inbound connections to allow the other servers to operate, and eventually the traffic went away.  I suspect this was a DDOS or regular Denial of Service attack, but it seems pretty random. The server in question is very low visibility and not a lot of value would come from someone taking it down.  What would be the best way to tell if I am experiencing a DDOS attack? Is there anything else that you could think of that would cause this, and, if so, what should I look for?  EDIT: This happened again. I tried netstat -noa but didn't see anything useful. I was hoping there was some command or program I could run that would show me how much bandwidth each IP is using (i.e., it says network utilization is 100%, but how does that add up). Does anything like that exist?


Identifying Between Refresh And Close Browser Actions

When we refresh the page (F5, or icon in browser), it will first trigger ONUNLOAD event. When we close the browser (X on right top icon),It will trigger ONUNLOAD event. Now when ONUNLOAD event is triggered, there is no way to distinguish between refresh the page or close the browser.   If you have any solution then give me.


Are there any journals that pay reviewers?

Being a young researcher myself I received a comment from my colleague that some of the journals are paying reviewers for the reviewing process.  When I gave it a thought, it started to make more sense. In case of high quality, respected journal, an institution may consider itself privileged to have a reviewer of such journal and allow the reviewer to dedicate small proportion of his/her daily activities just on the reviewing process.  The reviewer being paid, has more obligations to provide thorough in depth review.  Does that hold true for some journals or is it just a myth?


Can an animated show created outside Japan be called Anime?

is created outside Japan but is called Anime officially, can a cartoonic show created outside Japan be called anime?   the official trailer by the official account of the studio on YouTube,  in the description it officially states that it is an Anime.


Django wrong url resolve - leads to example.com

I'm trying to reverse url for django admin "view on site button".  My route  (r'^product/(?P<num>.*)/(?P<url>.*)/$', set),   Models get_absolute_url method looks fine:  def get_absolute_url(self):         from django.core.urlresolvers import reverse         return reverse('core.views.set', kwargs={'num': self.url_num, 'url': self.url})   SO, it should be like this: http://127.0.0.1:8000/product/97/n3/ But when it rendered in django admin form, it is http://example.com/product/97/n3/  How can I fix it?


I work with CentOS and the only shell I work with is Bash. I am trying to develop a Bash script which configures a content management system and I seek a way to make this script web application directory agnostic so that script users would be prompted about their web application directory path instead of me presenting them an hardcoded directory path which might be different than the one in their environment. The only way I know to prompt data from a user and store it in a variable is read but I have a problem using it because the data might be variables and the current release of read can't naturally produce variables.   read web_application_root   $HOME/www  Brings '$HOME/www' (string) instead HOME_DIRECTORY_NAME/www (expanded variable). This situation is a problem for me by itself but it creates a bigger problem for me in case the user input the prompt with even more complicated variable structures such as:  read domain read domain_dir   $web_application_root/$domain/public_html   How to prompt a user for variables without read?


On Gnome Ubuntu 16.04, my battery icon is mostly useless. The visual gauge is always far behind the true level, which I display as percentage, next to the gauge. For instance, I'm now at 11% but the icon shows something that would be above 50%. Only when I'm below 10% it shows a low red gauge.    Is there a fix or will I just remove it and live with the % ?


Can you check my proof that $H$ is characteristic?

Suppose $|G|=pm$,where $p\nmid m$. Then if $H\mathrel{\unlhd}G$ and $|H|=p$, than $H$ has to be characteristic. We call a subgroup characteristic when $\varphi(T)\subset T$, $\forall \varphi \in Aut(G)$.  My proof: Suppose $g\in \varphi(H)$ and $g \notin H$. Since $\varphi$ is bijective $|\varphi(H)|=|H|=p$. So $\langle g\rangle|p$ i.e. $\langle g\rangle =p$. Since $H$ is a normal group and $\langle g\rangle$ is another subgroup, $\langle g\rangle H$ is also subgroup of $G$. So $p^2||G|=pm$ which contradicts to the fact that $p\nmid m$.  Is the idea right? Which parts would you advice to fix?


How to password protect Grub menu from the ro recovery nomodeset command. I want it to where no one unless you have the password to make changes to the menu to try to get into recovery.grub


How do I temporarily disable an app when there is no "Disable" option

There are two memory hungry apps, Facebook and Facebook Messenger, which I want to disable at times but not always. I used:   settings → apps → downloaded → Facebook → force stop settings → apps → running → Facebook → <weird service name(s)> → stop settings → apps → all → Facebook → force stop   But the app restarts after few minutes, often accompanied by lots of thrashing. Ideally I would like to disable the app and remove it from memory until I decide to use it. What is the best possible solution?  Android version is 4.4.4, almost stock, not rooted.


I'm trying to redirect my application from ajax call but it isn't working. Inspecting browser's NetWork i could see that the result is 200 - OK  but the view isn't changing.    $.ajax({   type: "GET",   url: "Index",   data: { codCliente: codCliente, numProcesso: numProcesso } });     public ActionResult Index(string codCliente = null, string numProcesso = null) {     return View(); }


Using Input Radio in Visualforce page with Apex Controller

I am having trouble using apex:selectradio because of 508 compliance issues. The selectradio is creating html table tags with role="presentation" and the tool my client is using treats it as a layout table and not data table and fails to read the labels for the radio button.   The solution I have come up with is to use input type radio and pass the values to to controller, but I cannot fire submitSatisfactionComment method.  Here is my code.  VisualForce Page:  <input type="radio" onclick="satisfactionComment"  name="satisfaction" value="1"> {!$Label.One}         <apex:actionFunction name="satisfactionComment" action="{!ctrl.submitSatisfactionComment}" rerender="myPanel"/>     </input> <input type="radio" onclick="satisfactionComment"  name="satisfaction" value="2"> {!$Label.Two}         <apex:actionFunction name="satisfactionComment" action="{!ctrl.submitSatisfactionComment}" rerender="myPanel"/>     </input>   Apex Code:  public PageReference submitSatisfactionComment() {     //do something here with the selected value of the radio button     return null; }


Title of a book telling about people teleported to a hostile planet while in deep meditation

I read it sometime in the 90's but it seemed at least 15 years old at that time. The title might be containing something with 'wolves' or 'wilderness'.  Alert - Spoilers below      The book tells of some (I think) earth cult that dictates the practice of meditation. This cult is somewhat of a scam as When reaching the top level of meditation the meditator is either teleported or his consciousness abducted (I can't remember..) to be used as a calculation machine by the abductors.   Any references would be greatly appreciated.


How would one format an Excel sheet so numeric fields are set to numeric field types when importing to ArcGIS 10.2?

I have a large Excel spreadsheet that contains lots of numeric data that I would like to import to ArcGIS 10.2 as a table using the  tool.   The frustrating thing is that the numeric fields in Excel are repeatedly not recognised and are assumed as being text. I have set the cell format to numeric, cleared any possible blank cells, tried importing as CSV, removed invalid characters in the field headers. yet any possible iota of success evades me.  Does anyone know why this may be happening and/or how it can be resolved?


Python multiple nested while True continue/end looping error

Here's a piece of code from my project software:  def fun_1(self, i):     print("")     print("Welcome to Option 1: View Passwords")     while True:         print("")         which_o1 = input("1: Input a New Account details \n2: Exit \nPlease Input the option number: ")          if which_o1 == str(1):             with open(str(i)+'.txt', 'a+') as file:                 while True:                     print("")                     web_n = input("Please Input Website name: ")                     print("")                     e_u = input("Please input email/username: ")                     print("")                     pass_w = input("Please input password: ")                      while True:                         print("")                         sure = input("Website- " +web_n+"\nEmail/Username- "+e_u+"\nPassword- "+pass_w+"\nAre You sure about these details? Yes/No: ")                          if (sure.lower()[0]) != 'y' and (sure.lower()[0]) != 'n':                             print("")                             print("Please input a valid response Yes/No!")                             continue                          elif (sure.lower()[0]) == 'y' and (sure.lower()[0]) != 'n':                             list_log = [web_n, e_u, pass_w]                             file.write(str(list_log) + '\n')                             break                             break                             continue                          elif (sure.lower()[0]) == 'n' and (sure.lower()[0]) != 'y':                             break                             continue          elif which_o1 == str(2):             return (i)         else:             print("")             print("Please Enter a Valid Response!")             continue   So has you can see that it has 3 while True loop. The problem is occurring while breaking and looping the loop.  If you see the latest While True under "pass_w" in the middle elif, where it says elif (sure.lower()[0]) == 'y' and (sure.lower()[0]) != 'n':, in it I have 2 break and 1 continue because what I wanted to do is that when that elif executes it just break middle 3rd while true, 2nd while true and continue means loop the first while true at the start of the code, but it just keep looping 3rd While True in the middle of the code instead of breaking it.  Is there a way I can make it possible?


if $\sum_{n=1}^{\infty} a_n$ converges absolutely then prove that $\sum_{n=1}^{\infty} a_n^2$ converges

I am self studying real analysis.I have come up with following proof and I know that other proofs exist. But, Can someone just tell me if there is anything wrong with the following proof.Thanks in advance     1.we will show that it satisfies cauchy criterion for series  2.consider arbitrary $\epsilon > 0$  3.since we know that $\sum a_n$ converges absolutely  we know that there exists a N s.t forall $n > m \geq N$ s.t $|\sum_{k=m+1}^{n} |a_k|| = \sum_{k=m+1}^{n} |a_k| < \sqrt{\epsilon}$  4.we know show that this N indeed suffices  5.consider arbitrary $n > m \geq N$  $|\sum_{k=m+1}^{n} a_k^2|  =  \sum_{k=m+1}^{n} a_k^2 \leq  (\sum_{k=m+1}^{n} |a_k|)^2 < \sqrt{\epsilon}^2 = \epsilon$  6.so conclude that $\sum a_n^2$ converges


Biblatex using biber as backend seems suddenly to be broken. I don't think I updated anything, but this worked last night and will not work today. I have TeX Live 2020, on macOS Big Sur 11.2.3. Here is a MWE \documentclass{article}   \begin{filecontents}{TESTrefs.bib} @article{Dummy2015,   title={A testing reference},   author={Dummy Author and Ann O Nymous},   journal={Journal of Testing},   year={2015} } \end{filecontents}  \usepackage[backend=biber]{biblatex} \addbibresource{TESTrefs.bib}   \begin{document}  Testing~\cite{Dummy2015}. \printbibliography  \end{document}  It compiles (using (xe)latex the file, which is called TEST.tex), but there are no references printed, and the output PDF just contains the text of the cite key ("test [Dummy2015]") I get the following warnings, LaTeX Warning: Citation 'Dummy2015' on page 1 undefined on input line 20. LaTeX Warning: Empty bibliography on input line 21. [1] (./TEST.aux) LaTeX Warning: There were undefined references. Package biblatex Warning: Please (re)run Biber on the file: (biblatex)                TEST (biblatex)                and rerun LaTeX afterwards.  If I run biber TEST as suggested, it completes without error, but if I rerun latex I get the same warnings, and same output PDF. TEST.blg reads: [0] Config.pm:304> INFO - This is Biber 2.14 [0] Config.pm:307> INFO - Logfile is 'TEST.blg' [98] biber-darwin:322> INFO - === Wed Mar 24, 2021, 11:31:53 [120] Biber.pm:415> INFO - Reading 'TEST.bcf' [243] Biber.pm:943> INFO - Found 1 citekeys in bib section 0 [259] Biber.pm:4256> INFO - Processing section 0 [260] Utils.pm:75> INFO - Globbing data source 'TESTrefs.bib' [260] Utils.pm:91> INFO - Globbed data source 'TESTrefs.bib' to TESTrefs.bib [274] Biber.pm:4455> INFO - Looking for bibtex format file 'TESTrefs.bib' for section 0 [276] bibtex.pm:1653> INFO - LaTeX decoding ... [279] bibtex.pm:1471> INFO - Found BibTeX data source 'TESTrefs.bib'  If I use backend=bibtex instead of backend=biber, it works. But I want to use biber (because it is able to deal with UTF-8 encoded .bib files, among other reasons).  How did this happen, and how can I get around it? Did something break on my system, or is this something others can replicate?


Just a while ago while I was reading news paper, I saw an amazing article. Someone had caught a photo of a 360 Degree Rainbow.  But how is it possible. I mean after refraction the only rainbows that should form are either VIBGYOR Rainbow or the ROYGBIV Rainbow due to the change in angles.  So how can a 360 degree rainbow be formed?


I bought a samsung 370R, it has BIOS version P07RAN, I followed the instruction to install 13.04, it created partition all good and then   whenever I restart computer, and hit on "ubuntu" as one of the options to load, it gives me this error "Windows failed to start....  File: \ubuntu\winboot\wubildr.mbr  Status: 0xc000007b  Info: The application or operating system could not be loaded because required file is missing or contains error   Big thanks for any help in advance.


Why the 'low' part of the sky looks lite blue?

When looking on the sky its lower part looks lite blue instead blue like the rest of the sky. Why is it so?


Lagrange remainder of Taylor expansion: proof $\ge 0 $

How could I prove that the following is greater than or equal to $0$? $$\sum_{n=2}^\infty \frac{(-x)^n}{n!}$$  And is this series equal to:$$\frac{e^{-x}}{2}x^2$$ if yes, why?  Question related to:


Proving the inequality $|a-b| \leq |a-c| + |c-b|$ for real $a,b,c$

Let $a,b,c$ real numbers. Prove the inequality $|a-b| \leq |a-c| + |c-b|$. Prove that equality holds if and only if $a \leq c \leq b$ or $b \leq c \leq a$.   I've tried starting with just $a \leq c$ and using field properties to reconstruct the inequality, however I haven't been able to make it work. I also tried making the negatives positive and stripping the inequalities and making something happen but again I don't know if that's a proper rule and it didn't seem to get me anywhere.


I am trying to do kriging by gstat package through R.   Here is my Code:  krg<-krige(var ~ 1,data,grid,model=vgm,nmax=30)   But each time I recive this warning:  1: In predict.gstat(g, newdata = newdata, block = block,  ... :    Warning: Covariance matrix (nearly) singular at location [1,4501,0]: skipping...   and when I try to plot it by spplot this error appears:  Error in seq.default(zrng[1], zrng[2], length.out = cuts + 2) :    'from' cannot be NA, NaN or infinite In addition: Warning messages: 1: In asMethod(object) :   complete map seems to be NA's -- no selection was made 2: In min(x) : no non-missing arguments to min; returning Inf 3: In max(x) : no non-missing arguments to max; returning -Inf   Here is the full code: You can download my data through this link:  and here is my full code:  library(gstat)                                          library(sp) library(raster)  coordinates(Mydata) <- ~East + North proj4string(Mydata) <- CRS("+proj=utm +zone=10+datum=WGS84") ext <- as(extent(Mydata), "SpatialPolygons") r <- rasterToPoints(raster(ext), spatial = TRUE) proj4string(r) <- proj4string(Mydata)  v1 <- variogram(cpue_female ~ 1, Mydata) vgm_mod_omni <- vgm(psill = 0.0003, model = "Mat", range = 50000, nugget = 33, kappa = 0.5) G1 <- krige(cpue_female ~ 1, Mydata, r, vgm_mod_omni, nmax = 30) gridded(G1) <- TRUE spplot(G1)


Let f be an entire function such that for every z in the complex plain Re(f)>0, can it be said that f is constant?

I think that it's a correct statement and that it can be proven by negation, but I'm having difficulty doing so, any help will be appreciated.


Does Google index/crawl display:none divs?

My website has a message on the index file and it will be shown on a special condition. When I search for my site via keywords, google search shows the message.  My code looks like as below

For               instructions on how to resolve this issue contact admin . Thank you!.

   On some special condition, the message "For instructions on how to resolve this issue contact admin. Thank you!" will be displayed on the index page.  By default, the div will be display properly will have the value none via JavaScript and users will not see the div and the message. For special users who access our website via query parameters like index.html?cc=splashMessage will able to see the message by enabling the div display with value block.  In the google search engine, when I search about my website it always shows my website with the splash message. Google indexed my index file with the splash message, also via Google analytics I didn't see traffic via query parameters.  How to ignore this splash message on google search results from SEO?


Can we convert .class file into .exe file

**Is there any way to convert class file into exe file ? Suppose i created a java desktop application and want to convert into exe **


Why is my attempt at downloading Big Sur failing?

I am currently using a MacBook Pro 13" Mid 2018 with Touch Bar. Today macOS Big Sur was released and I tried to download it but it's getting stuck at 484.4 MB. Initially, it shows 16-17 minutes left, but as soon as it reaches 484.4 MB it's stuck and the timer goes till 10 hours! My Wi-Fi is totally stable with a speed of 100 Mbps. I tried to restart my Mac but it still gets stuck. Earlier there were similar issues in the App Store (even now they are). The issue was I was not able to download an app unless I connect to the US VPN. I even contacted support but they were not able to help out. It wasn't a big deal as a VPN could be used. But now even with VPN, it gets stuck.


I have the series $\sum_{n=0}^{\infty}\frac{n}{n+1}x^n$. It is convergent for $-1<x<1$.   I want to find the sum function. I've tried the following: \begin{align*} \sum_{n=0}^{\infty} x^n &\sim \frac{1}{1-x}\\ \sum_{n=0}^{\infty} \frac{x^{n+1}}{1+n}&\sim -\log(1-x)&\text{Integrating both sides}\\ \sum_{n=0}^{\infty} \frac{x^{n}}{1+n}&\sim-\frac{\log(1-x)}{x}&\text{Divide with $x$}\\ \sum_{n=0}^{\infty}\frac{nx^{n-1}}{1+n}&\sim\frac{1}{(1-x)x}+\frac{\log(1-x)}{x^2}&\text{Derivative with respect to $x$}\\ \sum_{n=0}^{\infty}\frac{nx^{n}}{1+n}&\sim\frac{1}{(1-x)}+\frac{\log(1-x)}{x}&\text{Multiply by $x$} \end{align*}  I can't decide on what to do from this point. I seem to miss the $n$ in the nominator, but changing index does not really help med out. Can you point me in the right direction?  Edit: I used the tips and finished it. Thank you.


I have a virtual machine running ubuntu and I am trying to host some files on ubuntu and map the drive in windows PC.  Following the steps , I am able to see (from windows) the "work" folder after typing in \ubuntu_ip. But when trying to access or map it with "svc_acct" from windows, I get "0x80070043 error the network name cannot be found". I guess I am not accessing correctly from windows.   SAMBA config below (svc_acct is an account set up under linux). When accessing the folder from windows, I get prompted for username/password. Not sure what credential to type in exactly.  samba config: [work] path = /home/svc_acct/work valid users = svc_acct available = yes read only = no browsable = yes public = yes writable = yes force user = svc_acct create mask = 0777 directory mask = 0777   UPDATE:  All I did to resolve this is by changing samba config's path from path = /home/svc_acct/work to path = /home/svc_acct following  post  (last sentence). Then no more prompt for password in windows when I try to click into the folder. Thanks to @sancho.s for suggesting the link.


Mittag-Leffler Theorem Exercise - Find Sum of Series

The exercise asks to find the closed form of $$\sum_{n=-\infty}^{\infty}\frac{1}{(z+n)^2+a^2}$$where $a$ is a complex number.  I know that $\frac{\pi^2}{\sin^2(\pi z)}=\sum_{n=-\infty}^{\infty}\frac{1}{(z+n)^2}$, but don't how to develop this fact. Is this some kind of a shift of this series?  Thank you!


I have a load of tools that are kept in the /opt directory. The tools are organised like this: /opt/toolname/tool.sh. My question is, how can I add the tools in my /opt folder to my path, so i can run them from any directory in a terminal.  I have managed to do this with some tools by creating a symlinks in /usr/bin; but with over 200 tools it is a very tedious way of doing things. is there a better way to do this?


How can i insert missing dates from a query i created.  The result below:  Date          Frequency 2014-05-18    5 2014-05-20    7 2014-05-25    7 2014-05-27    6   I want the result to have missing dates with 0 value as shown below:  Date          Frequency 2014-05-18    5 2014-05-19    0 2014-05-20    7 2014-05-21    0 2014-05-22    0 2014-05-23    0 2014-05-24    0 2014-05-25    7 2014-05-26    0 2014-05-27    6   Please note that I have read only access to the server.


How to print byte array in hexadecimal - c++

I have a piece of code here: #include <iostream> #include <iomanip> using namespace std;  int main(void) {         unsigned char bytes[] = {0x43,0x4d,0x30,0x30,0x0f,0x0D};      std::cout << std::hex << bytes[0] <<std::endl;     }  The above program is printing C to command line. How can I make the program to print 43 to commandline. My OS is Windows 10, 64 bit.


Getting a [[01: command not found error at the if statement line

For the following script:  for f in $FILES do      fname="$(basename "${f}")"     fn="${fname:6:2}"     if [["$fn" == "01"]]; then #error here         echo "yes"     fi done


Bibliography - Only the cited items appear

I have written a text and I included the bibliography.   I have cited only two of the items of the bibliography and now only these two appear in the bibliography. Why?   I used the following comands:   \bibliographystyle{plain}  \bibliography{mybibliography}    For the bibliography I created a .bib file.     When I use   \bibliographystyle{alpha}  \bibliography{mybibliography}    some of the errors I get are the following:            What do these errors mean?


Prove that the sum to $n$ terms of a sequence:  $$\frac{1^2}{1\times 3}+\frac{2^2}{3\times 5}+\frac{3^2}{5\times 7}+\cdots $$ is  $$ \frac{n(n+1)}{2(2n+1)} $$


Can I download China Rising maps from xbox market place on a pc then send to a USB to use with my Xbox 360?

Ive purchased china rising maps for xbox but I'm low on data and was wondering if I could download Battlefield 4: China Rising from a friend's PC and save it to an USB formatted for Xbox 360? I have enough data to play online for awhile but not enough to install the new china map pack.


How to remove/ignore most recent kernel?

After the most recent kernel upgrade, my system hangs during boot.  Since my machine seems especially persnickety about pulling up the grub menu*, what is the best way to set the previous kernel as the default until the next upgrade?  *I have to hit ESC at exactly the right moment, which usually means rebooting several times until I get it.


I was playing around with a TreeMap and decided to do a simple performance test by comparing System.currentTimeMillis(). The results were quite unexpected: after some more testing I found out that a TreeMap with a Comparator took very long to be created. I have the following code:  public static void main(String[] args) {     final long millis1 = System.currentTimeMillis();     final TreeMap<Integer,Integer> natural = new TreeMap<>();     final long millis2 = System.currentTimeMillis();     System.out.println(millis2 - millis1);     final TreeMap<Integer,Integer> compare = new TreeMap<>(Integer::compare);     System.out.println(System.currentTimeMillis() - millis2); }   Output:  0 114   Is this normal? Why does this happen?


Can I continue to use an iterator after an item has been deleted from std::multimap?

Can I continue to use an multimap iterator even after a call to multimap::erase()?  For example:  Blah::iterator iter; for ( iter = mm.begin();       iter != mm.end();       iter ++ ) {     if ( iter->second == something )     {         mm.erase( iter );     } }   Should this be expected to run correctly, or is the iterator invalidated following the call to erase?  Reference sites like  are strangely quiet on this topic of the lifespans of iterators, or the effects of constructive/destructive methods on iterators.


Do complex quantities and irrational numbers exist in nature?

Completeness Theorems of Model Theory, a branch of Mathematical Logic. Together, these two Theorems show that: under the Field Axioms (the rules of the game for scalars) existence of rationals is provable, but existence of irrationals and complex numbers is neither provable nor disprovable ,Now I want whethere exist such new theorem in philosophy which prove or disprove existence of complex quantities and irrational numbers in nature ?


Change module's weight - by module or manualy

I am looking for solution how to change particular module's weight in D7. I know that it is possible to do in config tables in database, but I don't know how. Another solution that I found in Drupal.org is to use hooks - but I need more detail explanation or some guidance where I could get some tutorials about that.   The thing that I need to do is to make some priorities of some particular modules higher for it to load faster than other modules as otherwise they will not work. One of the examples is video streaming using Lightbox2 popup watching that on Safari browser on OS X - it's not loading until you change the priority of Lightbox module.


Citing a range of papers? cite package error

While citing a range of papers, i want the output to be:     ... a range of citations  [1-4]    Not :     ... a range of citations [1,2,3,4]    I followed the answers in this  but i found the following errors:   1- while using Cite package,this error comes:     ! Paragraph ended before \@citex was   complete.   2- And by using Natbib package, nothing changes.     ... a range of citations [1,2,3,4]   here you are the used packages in my code:  \documentclass[review]{elsarticle}  \usepackage{caption} \usepackage{subcaption} \usepackage{tabularx} \usepackage{rotating} \usepackage{graphicx}  \usepackage{adjustbox}   \usepackage{circuitikz} \usepackage{siunitx} \usepackage{floatrow} \usepackage{array} \usepackage{booktabs} \usepackage{ltablex} \usepackage{lineno,hyperref} %\usepackage{cite} %\usepackage{natbib}


Technical term for associating a group with the actions of a few

What is the technical term for when people thinks the actions of the few represent the many.  Like when people thinks everyone in a specific group behaves a certain way cause of how a few people in the group behave, including non stereotypical behaviours. I thought it was "generalisation" but I couldn't find any articles using that term.


How is this statement including an if statement evaluated?

Suppose that I have the following Python Code:  def fun5(a, b, c):     return a <= b if b <= c else False fun5(2, 4, 6)   The output of fun5 is True. How is this code being evaluated by Python?  I was expecting a SyntaxError because of the lack of indentations and Python requires indentation.


I was wondering why the following that when I have list in python , lis Why does lis[1:3] only includes the 2nd and 3rd element of the list rather than 2nd, 3rd and 4th element?


If A is a finite set and B is an infinite set, then B\A is an infinite set

Prove: If $A$ is a finite set and $B$ is an infinite set, then $B \setminus A$ is an infinite set.   I've tried proving the contrapositive, that if $B \setminus A$ is a finite set then $A$ is infinite or $B$ is finite, but I don't think this is the way to go.


Getting root permissions on a file inside of nano?

I have completely the same problem as the guy in this . So basically I am using nano somefile.txt editing it and then permissions denied because I forgot to use sudo. The only difference from the question is that I am using nano and therefore accepted solution does not work.  Is there anything similar for nano?


I have two paths in my drawing. I'm trying to sort out how to join them so that I can fill the inner parf of the F. Thoughts?


Did Palpatine have the very same powers as Darth Plagueis?

In the Senate, and later again in his office, chancellor Palpatine tells Anakin how Darth Plagueis taught him everything before being slain by Palpatine. Does this include the power to save lives and to make midi-chlorians create life? Palpatine later tells Anakin (now Darth Vader) that only Plagueis was capable of this, which is a contradiction to his former statements, but that when working together they can lift the veil. How much power did Palpatine / Darth Sidious have over the midi-chlorians?


I am attempting to set a reverse proxy using the nginx container with a few other containerized app being routed too behind. I have modified the default.config in nginx to below. I have not changed anything in nginx.config.   server {     listen       80;     server_name  localhost;      location / {         root   /usr/share/nginx/html;         index  index.html index.htm;     }      location /mailhog {         proxy_pass http://mailhog:8025;     }      location /httpd {         proxy_pass http://httpd:8080;     }      error_page   500 502 503 504  /50x.html;     location = /50x.html {         root   /usr/share/nginx/html;     } }   My dockerfile uses the nginx image and just replaces the default.config.  Docker run command  docker run -d --name mailhog -p 8025:8025 mailhog/mailhog docker run -d --name httpd -p 8080:80 httpd     docker run -d --name mynginx --link=httpd --link=mailhog -p 80:80 mynginx   When I navigate to / I get the standard nginx index page. Mailhog give a 404 and httpd give a 502. I have tried a couple variations of the docker runs command such as using --expose or not opening any ports. If I navigate the actual url, the apps work fine, just not through the reverse proxy.  I got this strategy from . I have looked at using nginx-proxy but I don't want to use subdomain.domain url pattern.


Please how to write this series $$\sum_{n=1}^{\infty} \left(1+\frac{1}{2}+\ldots+\frac{1}{n}\right) z^n,\ z\in\Bbb C$$ into a product of power series? Thank you


Self-deleted posts and the 3 vote / 60 day rule

With regards to  post about  and the part about retaining reputation earned from deleted posts that have a score of 3 or better and were visible on the site for 60 days, does this also apply to self-deleted posts and will it continue to do so? I culled a few of my own answers over the weekend that were less than stellar, and my reputation dropped 1.8k, but the rep is back today after the changes were announced. I thought it would be useful to clarify that this also applies to self-deleted stuff.


I want to get txt files from directory with using c++. I searched in google and found "dirent.h" but I can't using this library. It gives me a C1083 fault. Here is my codes.I'm already included fstream,dirent.h vs...  ifstream fin; string dir, filepath; int num; DIR *dp; struct dirent *dirp; struct stat filestat;  cout << "dir to get files of: " << flush; getline(cin, dir);    dp = opendir(dir.c_str()); if (dp == NULL) {     cout << "Error(" << errno << ") opening " << dir << endl;     return errno; }  while ((dirp = readdir(dp))) {     filepath = dir + "/" + dirp->d_name;       if (stat(filepath.c_str(), &filestat)) continue;     if (S_ISDIR(filestat.st_mode))         continue;       fin.open(filepath.c_str());     if (fin >> num)         cout << filepath << ": " << num << endl;     fin.close(); }   `


_g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for  ‘gio-vfs’ # Error constructing proxy for org.gnome.Terminal:/org/gnome /Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal:  Timeout was reached