pgfplot: Prevent `ybar`-plots from shifting if multiple bar plots are added

I have this setup:  \begin{axis}[     ybar,     ylabel near ticks,     bar width=.005cm,     width=\textwidth,     height=3.5cm,     xmin = 0,     xmax = 200,     ymin = 0,     xtick distance = {10},     xlabel={Latency in $\mu$s},     ylabel = {Amount}],     \addplot[       draw={rgb:red,171;green,12;blue,39},       fill={rgb:red,171;green,12;blue,39}     ] table [         x={LATENCY},         y={AMNT},         restrict expr to domain={y}{1:65535}       ]{\datatable};     \addlegendentry{AF-XDP}      \addplot[mark=none, draw=blue, fill=blue] coordinates {       (7, 0)       (7, 1500)     };     \addlegendentry{Median};      \addplot[mark=none, draw=green, fill=green] coordinates {       (7, 0)       (7, 1500)     };     \addlegendentry{Mean}; \end{axis}   But for whatever reason, the second and third plot (coordinates) are moved right on the x-axis. This is especially noticable, because the second and third plot have the same coordinates but they are not displayed on the same x-Position. Is there a way to prevent that?  Thiis


Why does it say 'Could not connect to server.' when I try to login to my Mojang account and how do I fix it?

When I open my launcher and type in my correct e-mail and my correct password, I press login and it says: 'Could not connect to server'. Does anyone know how to fix this or is Minecraft down?


Difference between git add ., git add -A and git add -u

What is the difference between the following commands?   git add .  git add -A git add -u   I tried to execute them, and they create the same results.


I am trying to call a future method from my scheduled apex but it is giving this error message   Scheduled class  global class Scheduledbacthfuture Implements Schedulable{  public Interface IScheduleDispached{     void execute(SchedulableContext sc); }  global void execute(SchedulableContext sc){     Type targetType = Type.forName('HANDLERNAME');     if(targetType != null){         IScheduleDispached obj = (IScheduleDispached)targetType.newInstance();         obj.execute(sc);     } } }   Handler   public class HANDLERNAME implements Scheduledbacthfuture.IScheduleDispached             {    public void execute(SchedulableContext sc)    {     //Call your Future Method Here    List<User> newusers = [Select Id,CFS_Activation_Date__c from user where (Profile.Name='CTCT Solution Provider (Login Based)'OR Profile.Name='CTCT Solution Provider (Named)')AND lmscons__Cornerstone_ID__c=NULL AND lmscons__CFS_Status__c='Not CFS user'];      if(newusers.size()>0)     System.debug(newusers.size()+' new users found will give them license in a sometime');     if(newusers.size()>0)    {     UserHandler.convertListToSet(newusers);   // lmscons.ConsumerUserWebservice.CreateConsumerUsers(newusers, false);     }   }    }      FATAL_ERROR System.CalloutException: Callout from scheduled Apex not   supported.


How can I view man pages for apps installed via snaps?

I have a fresh installation of Ubuntu 16.04 LTS, and tried to install a few apps using the new snap packages. The installation of those packages goes easy, but when I try to do man <package> I cannot open the man page. For example:  $ man tmux   No manual entry for tmux   See 'man 7 undocumented' for help when manual pages are not available.   The whereis command gives me this output:  $ whereis tmux   tmux: /snap/bin/tmux   But the truth is that the man page file exists:  $ ls -l $PWD/*   -rw-r--r-- 1 root root 100394 Abr 20 06:46 /snap/tmux/current/share/man/man1/tmux.1   How can I get this to work? Is there any problem with the snap package management?


Is it possible to use the =today() function (or something else) to insert the current date but then not update each time the file is opened?  I want to create a numbers template for my invoices. I'd like it to auto fill invoice date and date due then, when I save the document, store the values, not the function.


In Windows you can visualize the desktop with the combination Windows-key + d.  Is there something like this in Ubuntu (16.04)? Can I implement it in some way?


How can tangential acceleration from a radial force be explained?

A mass is attached to a rope, and put into a circular motion. If I pull the string from the center, the tangential speed of the mass will increase (by conservation of angular momentum).   I am applying a force only in the radial direction, so how can the tangential velocity increase if there is no tangential force?


Story about a girl surviving a nuclear bomb in an isolated rural town

I read a book in English class at school around 1997/1998, about a girl who is the only survivor in a post nuclear war. The girl lives on a small farm and has somehow managed to avoid radiation, she has a .22 rifle for hunting/defence. There is a man in a Biohazard suit that turns up at her house and she believes he is a scientist, he turns out to be a murderer that stole the suit and made his way out of the war zone to the farm. The girl realises this as she finds bullet holes in his suit once he has taken it off and hung it up in the house. It then becomes a fight for survival for the girl... We didn't finish the story at school for some reason, I can't remember any of the names to help either.


I understand that Hegel intends to justify the history of mankind by stating that every town and society that has existed has been a test indirectly arranged by the 'world spirit' in order to eventually create a town in which people would live ethically, and that this process has been done in order for the 'world spirit' to become aware of its freedom. But what exactly is this 'world spirit'?   In the last quiz of a course I'm taking (I´ve taken this year a philosophy course at college), I wrote that the 'world spirit' was some kind of parasitic entity which inhabits every human being that has existed and is going to exist. Does this seem right?


How to restore accidentally truncate mysql table

I have accidentally truncate mysql table table1. The truncated data are very very important. I used wampserver latest version. Unfortunately I do not have binary logs. I have wamp folder under drive C in Windows 10. Now I am trying to restore the database folder using Windows data recovery tool. Is there any other possibilities to restore my truncated table?


$\sum_{n=1}^\infty u_n $ converges uniformly on $[a,b]$, but $\sum_{n=1}^\infty |u_n| $ doesn't

Find an example of a function sum $\sum_{n=1}^\infty u_n $ that converges   uniformly on $[a,b]$ and converges absolutely pointwise, but   $\sum_{n=1}^\infty |u_n| $ doesn't converge uniformly on $[a,b]$.   This seems pretty straightfoawrd but it's really hard to find an example. The choice of $u_n$ must be very specific. You can actually prove any power series wont work (due to Abel's theorem)  In addition, in order to prove the uniform convergence, $u_n$ must not satisfy Weierstrass' M-Test (because then $\sum |u_n|$ would converge uniformly aswell)


How to evaluate the integral $\int_0^\infty \frac{1}{(1+x^2)(1+x^\alpha)} \mathbb dx$?

I see somewhere that the value of the integral $$ I(\alpha)=\int_0^\infty \frac{1}{(1+x^2)(1+x^\alpha)} \mathbb dx,\alpha\in \mathbb R^+ $$ does not depend on $\alpha$. So $I=\pi/4$ for all $\alpha$. How can I prove this?  I tackled the special case $\alpha=2$ quite easily by contour integration, but find it quite awkward to deal with general $\alpha$. Contour integration doesn't seem to work for $\alpha=\sqrt 2$, for example.  I tried $dI/d\alpha$ and $I(\alpha)-I(\beta)$, but both lead to very complicated functions that don't lead to anywhere.


When I can get to the install menu under UEFI but when I attempt to install I get a black screen that only responds to CTRL+ALT+DEL restart command.   Try Ubuntu Install OEM install Check disk   I tried the "nomodeset" thing by editing the Install script-thingy and it didn't work.  However, it looks like I'm in over my head.  I'm using an ASRock a75M-HVS with an AMD A6-3500.  I have no optical drive and am trying to install Ubuntu 13.04 using a USB stick.  I have updated the BIOS which did nothing (not that I expected it would).


Google webmaster Tool showing : 170 not found 404 errors!

I have a website which is 2 years old and it is simple PHP pages.  I had set up Google Analytics and Google Webmaster Tools for it.  Just last week I removed that PHP website and installed a new WordPress website. I just created pages with the old site's content and also add few new images.  The issue is: when I logged into my Google Webmaster Tools account there were 170 404 not found errors!  How do I resolve the error messages saying 404 not found?  How can I remove not existing page links from Google Webmaster Tools?  Will it affect my website traffic?


could not download R Studio using ubuntu

I want to install R Studio based on  but I got stuck at part sudo gdebi –n rstudio-0.99.896-amd64.deb and it says gdebi error, file not found: –n I m using Ubuntu 18.04.3 LTS


Help! Going a little mad trying to track down a film I saw when I was young.  A few things in the film stand out for me:  The male protagonist is some sort of ships pilot, who lands on a planet and drives around for a bit in a vehicle that is on stilts and has wheels on the end. It crashes into a boulder and he's reduced to carrying on on foot.  He encounters a man (or robot) in a crater, whose job it is is to push metal scrap boulders into holes. I think the pilot jumps into one of these holes and follows the tunnel. The tunnel ends at the top of a mountain where the boulder that has been pushed down rolls down into the crater, for the cycle of pushing to start again.  I watched it on the television twice - late 70s and again in the early 80s.


Is it dangerous to travel in Russia, as a dark-skinned Muslim?   while travelling by train from St Petersburg to Vladivostok. Skolkovo, Moscow Oblast Sankt-Peterburg, Russia Moscow, Russia   Robbery, racist attacks, forced feeding of pork and alcohol, and so on?  Explain why.


I have installed the GNOME Shell Theming extension and enabled it in the gnome-tweak-tool.  I have installed some themes in my ~/.themes folder but still I cannot select any shell themes.   How can I enable and select GNOME Shell themes?


What does end of Windows XP support in 2014/04 mean for the end users?

Support of Windows XP . There is a lot of fuss and fear around this and many  on what you should do but I haven't found a clear explanation: What does the end of support actually mean?   There won't be any new updates. This is the only thing which is clear. Will we be able to get the old updates?  weakly suggests that yes, but I haven't found any more confirmation of that. Will we be able to install Windows XP on new machines? There was some procedure of confirming the key over the network (registering windows), so will this work as before? Are there any other direct changes for users of Windows XP?     Note: I am not asking on security consequences of the above, and have my own opinion on updates of this product, so please be so kind and skip the big warnings and disclaimers how it's impossible to use XP without updates. There have been a lot of scaring people and no actual explanation of what actually is going on - this question is meant to fill in the gap.


Autocomplete for PHP Objects with classes in PDT/Netbeans?

When I define an object of a class using new like this  $blah = new Whatever();   I get autocomplete for $blah. But how do I do it when I have $blah as a function parameter? Without autocomplete I am incomplete.  Edit: How do I do it if it's in an include and PDT or Netbeans can't figure it out? Is there any way to declare types for variables in PHP?


In nonfiction, can the hyphen be used for dual purposes (i.e., between figures and in compound modifiers) within the same phrase? Unfortunately, I cannot recast these commonly uttered phrases. This would supersede unsightly suspended hyphenation. Good to all below - yes or no?  a group of 45-55-year-old men  a $90-$95-million-a-year industry  20-25-, 30-35-, and 40-45-year-old men 75-95-cent-per-week raises  a 5½-10-minute explanation  10-20-gallon containers  within a 50-100-mile radius  a 20-30-mile commute  Thank you.


If someone is electrocuted, do they have to die or can they just be injured?

Is it correct to say I electrocuted my friend if he was only injured by electricity?


C++ reading from file - last element gets read twice

I'm trying to read a file containing several variable length lists. Each list is on one line and I read it into a vector. But the last element on each line is getting stored into the vector twice.   I've coded it along the following lines:  ifstream file; file.open("myfile.txt", ifstream::in); string line; while(!file.eof()) {         getline(file, line);         stringstream buffer(line);         vector<int> temp;         while (!buffer.eof())         {                 buffer >> num;                 temp.push_back(num);         }         for(vector<int>::iterator i = temp.begin(); i != temp.end(); ++i)                 cout << *i << ' '; }   Lines of input consist of tab separated integers. There is also a tab after the last element of each line. For a line like  1    3    4    2       The expected output is  1 3 4 2   The output I'm getting is  1 3 4 2 2


Geometric interpretation of the tensor product of two projectif spaces $\mathbb{R} P^n \otimes \mathbb{R} P^n$

We define a Projective space of a vector space as follow :   Given a vector space $V$ over a field $\mathbb{K}$,   its associated projective space $\mathbb{P}(V)$ is by definition :  $\mathbb{P}(V) = V - \{0\}/\sim$ where $\sim$ is the equivalence relation    $u \sim v$ iff $u = \lambda v$ for $u, v\in V - \{0\}$ and $\lambda \in \mathbb{K}$.  In particular,  The real projective space  $\mathbb{R} P^n$  is   the quotient space of $\mathbb{R}^{n+1}-\{0\}$ by the equivalence relation defined  on $\mathbb{R}^{n+1}-\{0\}$ by  $$x\sim y \iff y=tx$$  for some nonzero real number $t$, where $x,y\in\mathbb{R}^{n+1}-\{0\}$. Geometrically, two nonzero points in $\mathbb{R}^{n+1}$ are equivalent if and only if they lie on the same line through the origin, so $\mathbb{R} P^n$ can be interpreted as the set of all lines through the origin in $\mathbb{R}^{n+1}$.  In other hand,  For two  real vector spaces $V$ and $W$, the  Tensor-Product $V \otimes W$ is the  Quotient space $K^{V\times W} / R(V,W)$, where $R(V,W)$ is generated by the vectors  \begin{align*}  (v,\lambda w) - \lambda (v,w) & \\ (v,w+w')-(v,w)-(v,w') & \\ (\lambda v,w) - \lambda(v,w) & \\ (v+v',w)-(v,w)-(v',w) & \\ \text{and} \quad K^{V\times W} := \{f: V\times W \rightarrow\ K\}. &  \end{align*}  for any basis $(v_i)_{i\in I}$ of V and $(w_j)_{j\in J}$ of W, $(v_i\otimes w_j)_{i\in I,j\in J}$ is a basis of $V\otimes W$, so any $a\in V\otimes W$ is a linear combination of some vectors $v_i\otimes w_j$. And a tensor of type $(n, m)$ is an element of $V^{\ast \otimes m} \otimes V^{\otimes n}$. For example,  - A tensor of type $(0, 0)$ is a scalar. - A tensor of type $(1, 0)$ is a vector.  How can Intemperate geometrically the tensor product of two projectifs space ? What is interpretation of the tensor product of  two Grassmannians ?  Thanks in advance.


Deductible expenses paid with credit card: In which tax year would they fall?

If I paid my business expenses with a credit card during the month of December, which year can I deduct them from my taxes? 2011 (when the purchase was made) or 2012 (when I paid off the credit card)?  IRS pub reference greatly appreciated


This well-observed phenomenon has, besides several others, always been a fascination to me. We are well aware of several theories, experiments, and practical applications of this well-known phenomenon, but is it established what goes on at the grassroots of reflection?  My high school teacher once told me that whenever light is incident on any reflecting surface, its electrons absorb the energy of the photon and release back the same energy. If this is actually true, then I have plenty of questions to continue, but if it is not, then what is reflection, and how and why does it take place?


What is transition function of scheme theoretic vector bundle ??

Let X be a scheme X and $\mathscr{F}$ be a locally free sheaf of rank $n$ over $X$. I want to consider a vector bundle over an algebraic variety $X$ , that is ,   the relative spec over $X$ of symmetric algebra of $\mathscr{F}$ ; $V=Spec(Sym \mathscr{F})$. We write $\rho$ as the natural morphism $V \longrightarrow X$.    Can you define '' transition function of $\rho:V \longrightarrow X$ '' $??$ If it is possible to define that , how can you do it $??$


Show that $\mathrm{rank}(I_n-A^TA)-\mathrm{rank}(I_m-AA^T) \geq n-m.$

For any $m×n$ matrix $A$, where $n>m$ and $\mathrm{rank}(A)=m,$ show that $$\mathrm{rank}(I_n-A^TA)-\mathrm{rank}(I_m-AA^T) \geq n-m$$   Using the hint by Omnomnomnom, I've known that $AB$ and $BA$ have the same nonzero eigenvalues with the same geometric multiplicity when they are both square. It seems that I should consider geometric multiplicity of eigenvalue $1$ of $A^TA$ and $AA^T$, but I couldn't see how to make it. Any help will be appreciated.


The following code get's an error when compiled. I know it's missing something but I just can't figure out what.  public class Books {     String title;     String author;      public static void main(String[] args) {         // TODO Auto-generated method stub          Books[] myBooks = new Books[3];          myBooks[0].title = "Learn Java";         myBooks[1].title = "Java Development";         myBooks[2].title = "Java Today!";         myBooks[0].author = "S";         myBooks[1].author = "Mr. S";         myBooks[2].author = "SN";          int x = 0;         while (x < myBooks.length) {             x = x + 1;             System.out.print(myBooks[x].title);             System.out.print(" by ");             System.out.println(myBooks[x].author);         }      }  }


I know it's a relatively new and unstable application but I figured if anyone has suffered through the issue and solved it then they can help me  The Problem  when I click on the Anbox icon from gnome app drawer it stays in launcher for 5 secs or so and disappears but it doesn't launch


SQL Server 2016 login language display is wrong

Even after changing the language for a login from Arabic to us_english it doesn't save it. It continues to show Arabic. The server default language is us_english. How do I fix this. Thanks !


given $f(-x)=-f(x)$ how to prove that $\int_{-a}^{a} f(x)dx =0 $?

I think I have an intuitive understanding of why this is true but I can't prove it I just don't know how to relate $F(-a)$ to the information that was given


Checking If x^4 + x^3 + x^2 + x +1 Irreducible over Z

How I can check if the polynomial $x^4 + x^3 + x^2 + x +1$ is Irreducible or Not over $Z$ ?  Here, Eisenstein's criteria isn't applicable neither Mod P irreducible Test.  How should I proceed?


Limit of $S_n = \sum_{i = 1}^n \frac{i^k}{n^{k+1}} $

Let $S_n = \sum_{i = 1}^n \frac{i^k}{n^{k+1}} $ . For what values of $k$ the series $S_n$ is convergent and what is the value of convergence ? I'm really unable to understand $S_n$ because I haven't seen any series which is similar to that , so applying tests isn't possible for me . Also I've searched over the internet but didn't find any useful result .


Lightning Components: can aura:id be set to an component attribute?

I know it was never possible in Visualforce, but I wonder if it might be possible now in Lightning Components to have an aura:id not hardcoded but bound on an element like:   <div aura:id="{!v.whatever}" />


Can an adjective come after a noun? For example;   Deep caverns  /Caverns deep  What 's the difference between them?  What's the purpose of the second one? Why do we use it?


"Delay Action" instead of "Ready Action"

I really don't like the Ready Action. Smart (and/or tactical) players might be able to use readied actions to great effect and without problems, but my players and I find this game mechanic to be unnecessarily convoluted and not intuitive.  In my opinion, having a high Initiative should lead to an advantageous position throughout the combat encounter. Most of the time, this doesn’t seem to be the case. Sure, if you can defeat the enemy before it is even their turn, that’s awesome. But usually, combat encounters take longer and devolve to a simple back and forth between the parties.  The Ready Action should give characters with higher Initiative the possibility to wait and respond to the actions of their enemies. But that seems cumbersome. Readying a spell consumes a spell slot AND requires concentration. Plus, you have to use your reaction in order to take the readied action, which is bad for anybody who likes for example the Shield spell. This also screws with characters who have Multiattack.  That’s why I would like to make some changes to my home game and replace the Ready Action with Delay Action.  When it is your turn, you could just delay your turn. In order to do so, you would still have to define what you are waiting for. For example, you could wait for somebody to move, cast a spell, drop their weapon, etc. . Your turn could then happen immediately before or after the event that triggered your delayed action, but not during the event.  I think I read somewhere that the designers of DND 5e didn’t like delaying actions, because this could screw with the duration of effects that last “until your next turn”. I don’t think that’s a problem. Effects like that would just last until your original place in the initiative order, not until your delayed turn.  I am not a game designer and I don’t possess the foresight to predict all the consequences such a change could have on my game. That’s why I came here ^^. My question is:  What are potential problems or drawbacks this change could cause? Are there major balancing issues with delaying actions instead of readying actions?


True or false? $\bigwedge_{i \in I} \bigvee_{j \in J}a_{i,j} \equiv \bigvee_{j \in J} \bigwedge_{i \in I}a_{i,j}$

Let $I = \left\{i_1,...,i_m\right\}$ and $J = \left\{j_1,...,j_n\right\}$ be finite sets, and for every $i \in I$ and $j \in J$, there is a formula $a_{i,j}$ given. Do you always have that   $$\bigwedge_{i \in I} \bigvee_{j \in J}a_{i,j} \equiv \bigvee_{j \in J} \bigwedge_{i \in I}a_{i,j}$$    In my other question I ask how can write as example $$\bigwedge_{i=1}^{2} \bigvee_{j=1}^{2}a_{ij}$$  You write it like this:  $$ (a_{11} \lor a_{12} \lor a_{13} \lor a_{14}) \land (a_{21} \lor a_{22} \lor a_{23} \lor a_{24})$$  Now when we swap the symbol (look at right side of equivalence symbol) we have:  $$ (a_{11} \land a_{12} \land a_{13} \land a_{14}) \lor (a_{21} \land a_{22} \land a_{23} \land a_{24})$$  From this example we see that not same because sign is all opposite, never the same.. And also the index $i,j$ can be different, then also no same.  That why this is false?


Clarification for inverse trigonometric fuctions.

Since sin⁻¹(x) means the inverse of sin(x), also written as arcsin(x), how would you write 1/sin(x)? Since sin²(x) actually does mean sin(x) * sin(x), can you write 1/(sinx *sinx) as sin⁻²(x)?


Can I change the color of Trello Boards?

Are they always blue?  I'm using it for Christmas and would like a more seasonal color.  What can I do?


How to write a piecewise function with equation number?

I have an equation written in the following way  \usepackage{amsmath} .................  \[ f(x)= \begin{cases}  e^x, & x\in [-1,1], \\ [x], &  x\notin [-1,1]. \end{cases} \]   However, this leaves the equation with no number. Adding a \label{test} does not help. How do I fix that?


Publish Platform Event in SF org and subscribe to it in other org

The requirement is to publish a platform event in one salesforce org and subscribe to it in another salesforce org. In simple words, I need to publish a platform event from a salesforce app/org for an external app which is another salesforce app/org. I am not aware with APIs and stuff. I have already done Trailhead on Platform Event Basics. How do I connect or create channel between two different salesforce orgs so that platform event is flown between them. Thanks in Advance..!


Is there a program equivalent to lint for LaTeX? (lint checks C code for syntax errors and possible mistakes.)


AUC Scores greater than 1 with multi class classification in R?

I am implementing machine learning algorithm for multiclass classification problem in R programming. The problem is that when I predict the accuracy I am getting around 90% accuracy but when I calculate the AUC score I am getting more than 1. Will the AUC support multi-class classification?  Which is the better approach to consider the evaluation metric of machine learning model for multi class classification?  Below is my code   library(dplyr) smp_size <- floor(0.80 * nrow(New_data)) set.seed(123) train_ind <- sample(seq_len(nrow(New_data)), size = smp_size) train <- New_data[train_ind, ] test <- New_data[-train_ind, ]  train_features <- train[,-ncol(train)] train_labels <- train[,ncol(train)] test_features <- test[,-ncol(test)] test_labels <- test[,ncol(test)]  library(e1071) library(rpart) library(mlbench) svm.model <- svm(as.factor(train$labels) ~ ., data = train,cross = 10) class(svm.model) summary(svm.model) print(svm.model) svm_pred <- predict(svm.model,test_features)  length(svm_pred) length(test_labels) table(pred = svm_pred, true = t(test_labels)) conf_matrix <- table(svm_pred, test_labels) conf_matrix   library(MLmetrics) Accuracy(svm_pred, test_labels) AUC(svm_pred, test_labels)   Output:  > conf_matrix         test_labels svm_pred    0    1    2    3    4        0  896   75   50   18   28        1   71  919   28   13   16        2    7    6  112    1    9        3   31   44   12 1023    2        4    1    5    9    0   55 > library(MLmetrics) > Accuracy(svm_pred, test_labels) [1] 0.8758379 > AUC(svm_pred, test_labels) [1] 1.047074


I would like to redefine the enumerate environment so that each \item automatically sets \label{en:\arabic{page}\alph{enumi}}. I already tried  \usepackage{etoolbox} \gappto{\item}{\label{en:\arabic{page}\alph{enumi}}}   but this also triggers in the center environement, where I don't want it.  How can I do this, avoiding conflict with enumitem.sty if possible.  (Don't worry about non-uniqueness of labels - the document layout assures that.)


Can anyone please provide me the proof of the following?  When a planet is made stop at its orbit supposed to be circular with time period $T$ around the sun then it will hit the sun after a time which is equal to the $\frac{\sqrt{2}}{8} T$.


Why would a GFCI trip on refrigerator circuit?

My refrigerator is tripping the GFCI on the socket into which it is plugged.  Searching about this topic seems to indicate that this is a reasonably common complaint.  However, I can't find any concrete information about general causes or potential solutions other than suggestions to replace everything and hope for the best; this seems unsatisfying.  This is a new fridge and all new electrical work by licensed professionals.  I believe that the electrical is installed correctly and grounded, and that there is no damage to the fridge. I believe this is a dedicated circuit from the breaker panel to the outlet for the fridge. Nothing else is on this circuit and nothing else is plugged into the other socket. Low humidity. Kitchen installation. No water, no ice-maker. This has never happened before, but now it trips the GFCI immediately after reset.  I've done the following things:   Reset the GFCI, then re-plugged the fridge; GFCI tripped again. Plugged other things (alone) into the fridge's GFCI outlet: they work fine and GFCI does not trip. Plugged refrigerator into other GFCI-protected outlet with nothing else on it; this GFCI outlet also tripped. Plugged refrigerator into other non-GFCI outlet; works and doesn't trip the breaker. Tested the socket wiring (using 3-lamp receptacle tester) -- it's correct. Measured resistance between prongs on the refrigerator's electrical cord; ~300 kOhms between hot and neutral; no continuity to ground from either.  This all seems reasonable.   EDIT: per comment below, I should also note that I called the service line for the manufacturer: they said only that, if the appliance works when plugged into a non-GFCI outlet, that there's nothing more they can do.  To me, this seems to suggest the fridge is broken -- but it's brand new!  Why would my fridge be tripping the GFCI? Is this to be expected for a refrigerator? Should I just plug it into non-GFCI and ignore it "like any normal person"? ;-)  Several other questions on this site suggest solutions for other GFCI issues, but I don't see any about refrigerators and GFCI.   seems to suggest that refrigerators shouldn't be on GFCI in the first place.  However, my electrician said it's now code to have refrigerator's on GFCI (at least locally), but  about The Rules.  Other discussions quickly devolve to inaccurate and imprecise citing of NEC, or straying from erudite matters:    that suggests it's common for older refrigerators;  that suggests certain components of the fridge that could be causing it.   Other topics about humidity, garages, other stuff, wiring, etc. don't seem to apply here.


Legs twists after adding a pole target to IK

I just got finished adding IK to the leg bones of my model, but when I add a pole target the leg twists immediately, I tried fixing this by rotating the pole angle but this results in the IK not following the pole target as it should,  I checked the axes of the bones to make sure everything was in order, and I could not find anything wrong what should I do?  The following img shows the before and after of attaching the pole target   .blend download :


Is there a surjective map $f:X\to X$ on compact metric spcace $(X, d)$ with the following condition?  There is $0<L<1$ such that $d(f(x), f(y))<Ld(x, y)$  for all $x,y\in X$


What is causing disabled options when adding a mesh/curve object to the scene?

Sometimes when adding an object to the scene I see that all options (on toolbar or in window after pressing F6) are disabled. Can anyone tell me when can this happen? What is causing it and how to revert it - make it enabled again. It worked for me when I restarted Blender and reloaded the scene. However I would really like to know what can cause it?


Why can i store only 465 GB in 500 GB hard disk?

Possible Duplicate:          If one buys a 500 GB hard disk, why it shows only 465 GB. Where does the extra space go? Same for other secondary storage devices like pen drives. What is the reason?


If a run the watch command containing an alias, it will not expand the alias. I have tried both with single quote and double quotes, in fact given the following alias:  # alias ll alias ll='ls -l --color=tty'   The following command will fail  # watch ll sh: ll: command not found   Shouldn't command line expansion work in this case?


Stuck while doing question 10, can't proceed onto doing. Need some advice/solutions regarding this. Managed to solve question 11 already so don't need solution for that question anymore.  Thanks in advance!


Let f be a function twice differentiable and with derivatives continuous on an interval $[a,b]$ containing $0$. Prove the following statement:

$$\lim_{x\to0}  \frac{f'(x) - \frac{f(x)-f(0)}{x}}{x} = \frac{f''(0)}{2}$$  I have been thinking about this for a bit of time now, but I'm not getting anything. What I have done: write $f'(x)$ as it's defined: $$f'(x) = \lim_{h\to x}\frac{f(h) - f(x)}{h-x}$$  Now we can write:  $$\lim_{x\to0}  \frac{f'(x) - \frac{f(x)-f(0)}{x}}{x} = \lim_{x\to0}  \frac{\lim_{h\to x}\frac{f(h) - f(x)}{h-x} - \frac{f(x)-f(0)}{x}}{x}  $$  I have tried lots of algebraic manipulation after this, but nothing has come out so far. Could someone steer me in the right direction?  EDIT: I just opened Rudin, which has a similar question that indicates that l'Hopital's should be used. Indeed:  $$\lim_{x\to0} \frac{f'(x) - \frac{f(x)-f(0)}{x}}{x} = \lim_{x\to0} \frac{xf'(x) - f(x)-f(0)}{x^2}$$  We can apply l'Hôpital: $$ \lim_{x\to0} \frac{xf'(x) - f(x)-f(0)}{x^2} = \lim_{x\to0}\frac{f'(x) + xf''(x) - f'(x)}{2x} = \frac{f''(0)}{2}$$  EDIT #2Using Taylor's theorem, as suggested in the comments. We choose to perform the Taylor expansion of $f(0)$ at $x_0 = x $. Then: $\exists c $ between $x$ and $0$ such that:  $$f(0) = f(x) - xf'(x) + \frac{x^2f''(c)}{2} \implies \frac{f''(c)}{2} = \frac{f'(x) - \frac{f(x)-f(0)}{x}}{x}   $$  As $x\to 0$, $c\to 0 $ and we have   $$\lim_{x\to0}  \frac{f'(x) - \frac{f(x)-f(0)}{x}}{x} = \frac{f''(0)}{2}$$


I was wondering if anyone has heard of or knows and plans for Ubuntu on Nokia Lumia 610. I am fed up with the current operating system on Nokia Lumia 610 and I want to replace it with Ubuntu, or if Ubuntu is not currently available I would like to replace it with any other operating system which is stable.  Thank you for taking your time to read my question.  M.Aslam


How to fetch the network interface of a socket after binding it to 0.0.0.0

I have a UDP socket which I bind to 0.0.0.0. After doing that, how can I know the exact network interface on which I am receiving the packets? I tried getsockname, but it returns 0.0.0.0.


why did my hp officejet pro stop printing when I updated ubuntu 20.10

hp officejet pro 8715 Ubuntu 20.10 computer software have tried eithernet and usb neither works. If I ever get my printer operating again I have learned my lession, don't update to new software!!!


Let $f$ be a real function defined on $\mathbb{R}$ satisfying the condition:  $$\lim_{h\rightarrow 0} [f(x+h)-f(x-h)]=0 \mbox{}$$  for any $x\in\mathbb{R}$. Does it imply continuity of $f$?    I believe the counterexample to that statement is the following function:  $$g(x)=\mathbb{1}_{\{0\}}\mbox{,}$$ which is clearly not continuous at $x=0$.


How does Const and ReadOnly Keyword work in C# 7.3

While looking at the most common mistakes while working with const & readonly. I came across .  I tried doing with an example where an assembly AssemblyA contains the const and readonly 100 & 100 respectively. And now while consuming AssemblyA in AssemblyB, the application takes corrects values.  But when I changed the Const & ReadOnly to 200 & 200 and rebuilt AssemblyB. AssemblyB is consuming the 200 & 200. I just really want to replicate the scenario for when const value is being changed.  Below are scenarios    When const & readonly values are changed from (100,100) to (200,200) AssemblyA is build, run AssemblyB it consumes the updated values(200,200) When const & readonly values are changed from (100,100) to (200,200) and .cs is saved. Then AssemblyB it consumes the  values(100,100). Is this what the post tells us?? When const & readonly values are changed from (100,100) to (200,200) and .cs is saved. Then AssemblyB is rebuilt,it consumes the updated values(200,200).   So anybody tell me how these const and readonly variable work when dealing with different assemblies.  Please help in this understanding. It would be great help Thanks in advance Below is the code :  AssemblyA  public class ClassA {     public const int Constant = 400;     public readonly int ReadOnly = 400; }   AssemblyB  using ConstantAndReadOnly;  namespace ConsumerClass {     class Program     {         public void GetConstAndReadOnly()         {             Console.WriteLine(ClassA.Constant);             ClassA obj = new ClassA();             var readOnly = obj.ReadOnly;             Console.WriteLine(readOnly);          }          static void Main(string[] args)         {             Program objClass = new Program();             objClass.GetConstAndReadOnly();             Console.ReadKey();         }     } }


Centos Apache sending spam from my server

This question is not a duplicate of the other, the other is general, this is very specific.  my question is similar to -  but slightly different.  I have Centos 6.3, Apache/2.2.15, PHP 5.6.24 running Moodle, Passenger 4.0.41 and Postfix 2.6.6-6.el6_7.1 hosted at rackspace.   I dont believe my rails server sends mail through postfix, but moodle does for sure send password resets etc through postfix.  Bad guys are somehow sending spam from my server.  Here is what the postfix log looks like:  Aug 26 18:37:32 myserver postfix/error[18958]: CEF352EDAA:     to=<someemailvictim@yahoo.com.br>, relay=none, delay=7714,  delays=7714/0.03/0/0, dsn=4.4.2, status=deferred (delivery temporarily  suspended: lost connection with mta5.am0.yahoodns.net[98.136.216.26] while  sending RCPT TO)   Here is what the email looks like (from postfixq)  *** ENVELOPE RECORDS deferred/C/CEF352EDAA *** message_size:           13583             190               1               0           13583 message_arrival_time: Fri Aug 26 16:28:58 2016 create_time: Fri Aug 26 18:37:31 2016 named_attribute: rewrite_context=local sender_fullname: Apache sender: apache@myserver.localdomain *** MESSAGE CONTENTS deferred/C/CEF352EDAA *** regular_text: Received: by myserver.localdomain (Postfix, from userid 48) regular_text:   id CEF352EDAA; Fri, 26 Aug 2016 16:28:58 +0000 (UTC) regular_text: content-type: text/html regular_text: Subject: Parabens, agora você pode desfrutar do melhor do cinema - Anote seu voucher: NETFLIX440140 regular_text: From: voucher@myserver.localdomain   I added & bounced apache  mail.add_x_header = On mail.log = /var/log/phpmail.log   I get no log files from php....so I think it is not php...  The other interesting thing is I had postfix off at the time the message says it "arrived", notice the 2 hour delta between create and arrived.  The other interesting thing is my root mailbox is huge (/var/mail/root).  The last interesting thing is the bad guys put 200k spam in my queue last Thursday/Friday, I found and cleaned the queue by Sunday. Only ran postfix during the day all week, and nothing...then all of a sudden today turned it on, and bamm, slammed again.  I don't see anything nefarious in any apache log files.  I ran maldat and it found nothing.  My server is fairly well locked down at this point (but may not have been before), certificate login only, nothing scary in last...only running open ports on 80,443 and 22.  Any ideas? Any suggestions of where to look next, yes I am going to nuke this vm eventually.....but I hate the idea of not understanding where the bad guys got in and how they are doing it...


I've that variable      data = {         'username' : self.username,         'attributes' : self._get_attrs(),         }   What does it mean when I reference it like  **data ?


How to reprompt user for a valid string input?

I am creating a program that simulates Rock, Paper, Scissors, and I need the user to input either "Rock","Paper", or "Scissors". My Code is:      Scanner input = new Scanner(System.in);     String userIn = null;      while ((userIn != "Rock") || (userIn != "Paper") || (userIn != "Scissors")) {         System.out.println("Please Type either: Rock, Paper or Scissors");         userIn = input.next();      }   I created a scanner for the input and set the initial input to null. When the program runs, since the input is not either "Rock","Paper", or "Scissors", it will prompt the user to enter one of those three, the problem is even when I enter "Rock","Paper", or "Scissors" correctly, it still reprompts me to "Please Type either: Rock, Paper or Scissors".  what am I doing wrong?


Does a face down creature get the bonus from Muraganda Petroglyphs?

Does a face down creature get the bonus from  ?


I downloaded Ubuntu 14.04 64-bit .iso from official Ubuntu site. While installing it from a bootable USB drive I selected to replace Windows 8. The installer removed all my partitions and replaced it with an Ubuntu one.  I then installed Windows 8 by making a separate partition out of the Ubuntu space. I did not get any option to boot Ubuntu.  Why can't I boot Ubuntu and how do I fix this? And is there any way to get back my files(a whole lot collection of Programmes, Movies, Games and Music?


How can I generate randomness with commands in Bedrock Edition?

What is the most efficient way to get a random output with my commands? In Java there are tons of ways to do this, but a lot of them don’t seem to work for Bedrock Edition.


bash - What do the brackets in if-statements do?

Perhaps this applies to more than just bash, but I am confused about the role of brackets in if-statements. Most  seem to have the following format  if [ expression ]; then     #do stuff fi   But this doesn't always work for me. For example I have the following script test.sh:  #!/bin/bash  flag=False if ! $flag; then     echo "No brackets: Flag is $flag" fi if [ ! $flag ]; then     echo "With brackets: Flag is $flag" fi echo "The end."   Which prints  $ ./test.sh No brackets: Flag is False The end.   So the statement using brackets is either ignored or it evaluates to False. Why does this happen? What do the brackets do?  I've also seen double brackets. How are those used?   --  Edit: the questions claimed as duplicates ( and ) answer only a small part of this question. I'm still unclear why the syntax with brackets would fail (it seems to me that test ! false should evaluate to true) and why the syntax without brackets succeeds (although, as @ilkkachu mentions in the comment, it seems like it should actually fail as well?).


cube collider losing shape upon rotation

I'm not sure what's going on here. I have a cube which I have turned into a rectangle; it's a child of a plane which is the "ground" so that they share rotation (this is a pinball table).   To create these cubes, I just used the create => 3d shape => cube/plane option. No packages are used.   The issue is when I rotate the rectangle, the collider visibly becomes wrong.  This is before rotation:    This is after rotating on the y axis:    The collider does seem to rotate, but not at the correct amount. Can anyone shed some light as to what's going on here?  Here's the inspector and hierarchy:      I also tried making the plane a cube, it didn't change anything.


Is the C# Programming Guide right on pretending that arrays implement `IEnumerable`?

I recently answered this question on Code Review: . The question is about determining whether an array of arbitrary dimension contains a specific element. Based on this statement found in :  Array types are reference types derived from the abstract base type Array. Since this type implements IEnumerable and IEnumerable<T>, you can use foreach iteration on all arrays in C#.  and given the declaration int[,,,] array4, I first gave the answer: bool result = array4.Any(x => x == 1);  However, according to a comment of @JimmyHu, the compiler generates a:  Error  CS1061  'int[,,,]' does not contain a definition for 'Any' and no accessible extension method 'Any' accepting a first argument of type 'int[,,,]' could be found (are you missing a using directive or an assembly reference?)  Apparently, the correct answer must be: bool result = array4.Cast<int>().Any(x => x == 1);  This other attempt bool result2 = ((IEnumerable<int>)array4).Any(x => x == 1);  does not work either and yields:  Error  CS0030  Cannot convert type 'int[,,,]' to 'System.Collections.Generic.IEnumerable<T>'  Question: is the C# Programming Guide wrong on this point or I am missing something. Do arrays derive from Array which implement the generic interface or not?


nVidia GeForce Go 7600? can it ever run unity?

My laptop, a Toshiba Qosmio G30, has a nVidia  GeForce Go 7600 graphics card and it's suppose to support 3D . I am running unity 2d now . The graphic driver is --VESA: G73 Board - toshg73m-- by Ubuntu. When I run /usr/lib/nux/unity_support_test -p I got this list:  Not software rendered: no  Not blacklisted: yes  GLX fbconfig: yes  GLX texture from pixmap: yes  GL npot or rect textures:  yes GL vertex program: yes  GL fragment program: yes  GL vertex buffer object: yes  GL framebuffer object: yes  GL version is 1.4+: yes Unity 3D supported: no   The card is not blacklisted but a similar one with GT is!  Do you think that there is a chance the laptop can run the unity 3d? Maybe I could change the resolution of the screen to a higher one too! I tried all the nvidia drivers provided but none works (except 96 in ubuntu 12.04 ). I get a black screen or terminal screen.  Best Wishes to All


Re declaring class variables as instance variables in python

I am learning OOP in Python and have a query related to class and instance variables.  >>> class Something: ...     val = 10 ...     def __init__(self): ...             self.instval = 100 ... >>> some = Something() >>> some.val 10 >>> some.instval 100 >>> dir(some) ['__doc__', '__init__', '__module__', 'instval', 'val'] >>> some.val = 1000 >>> dir(some) ['__doc__', '__init__', '__module__', 'instval', 'val'] >>> some.val 1000 >>> Something.val 10 >>> del some.val >>> some.val 10 >>> dir(some) ['__doc__', '__init__', '__module__', 'instval', 'val']   In this class i have val a class variable and instval an instance variable. I re declare the val class variable to 1000. So some.val gives me 1000 but Something.val still gives me 10. When i delete some.val it reverts back to class variable value.   I know that the interpreter first looks up a variable at instance level and then at class level. Then what is happening here ?  I have gone through some of the answers, I think  was most appropriate, but i didn't fully understand it's implications.


Intermediate ring between a field and an algebraic extension.

This is an exercise in some textbooks.     Let $E$ be an algebraic extension of $F$. Suppose $R$ is ring that contains $F$ and is contained in $E$. Prove that $R$ is a field.   The trouble is really with the inverse of $r$, where $r\in R$. How to prove that $r^{-1}\in R$, in apparent lack of a characterization of $R$.  It occurred to me to use the smallest field containing $R$ ($R$ is easily shown to be an integral domain), that's the field of quotients, and proving that it's $R$ itself, but I don't really know how to proceed.  A not-too-weak, not-too-strong hint will be much appreciated.   Beware $ $ Readers seeking only hints should  beware that there is now a complete answer.


Because the input to  must be sorted, often the command is called similarly to:  join <(sort file1) <(sort file2)   This is not portable as it uses process substitution, which is not specified by POSIX.  join can also use the standard input by specifying - as one of the file arguments.  However, this only allows for sorting one of the files through a pipeline:  sort file1 | join - <(sort file2)   It seems there should be a simple way to accomplish sorting of both files and then joining the results using POSIX-specified features only.  Perhaps something using redirection to a third file descriptor, or perhaps it will require created a FIFO.  However, I'm having trouble visualizing it.  How can join be used POSIXly on unsorted files?


What is the correct positioning of "Please" in a sentence or indeed is there one?

Please can you help me with this question?   Can you please help me with this question?   Can you help me with this question please?      Is there a correct place for please in this question or is it just a matter of choice?


public String toString() { if(zipCode < 10000) {     if(zipCode < 1000)     {         if(zipCode < 100)         {             if(zipCode < 10)             {                 return "0" + "0" + "0" + "0" + Integer.toString(zipCode);             }             return "0" + "0" + "0" + Integer.toString(zipCode);         }         return "0" + "0" + Integer.toString(zipCode);     }     return "0" + Integer.toString(zipCode); } else {     return Integer.toString(zipCode); } }   Is there a loop that i could do that would add a zero in front of the string depending on what exponent of 10 the number stored in zipCode is? I'm not looking to get rid of the zeroes I'm looking to keep the zeroes, but the zeroes are taken away.


What are all the common undefined behaviours that a C++ programmer should know about?  Say, like:  a[i] = i++;


I just read on , about the difference between a class and a set.      A class that is not a set (informally in Zermelo–Fraenkel) is called a proper class, and a class that is a set is sometimes called a small class.    So apparently, there are classes that are not sets. However, in the definition of class on the same page it says:      a class is a collection of sets (or sometimes other mathematical objects) that can be unambiguously defined by a property that all its members share.    If we take collection to be a synonym of set, then these two statements contradict eachother. I don't see the difference between "collection" and "set".  So my question is: How can a class not be a set, if it is defined to be a "collection" (i.e. set) of objects based on a well defined property?


propper way to not make the object pointer be the same

i want to assign one object to an other object to change one object and still have the original object remain unchanged. Since the two objects become just one in the storage with two pointers pointing at it this does not work. How do copie objects with different pointers but the same values.  What is the propper way to do that? $(document).ready(function(){          var object1 = new theObject("hello");              var object2 = new theObject("hello again");              object1 = object2;          object1.value = "newValue";          //  object1.value = "new Value"     //  object2.value = "new Value"  //should be "hello again"        alert("object1: " + object1.value + " object2: " + object2.value );    });  class theObject{     constructor(value){         this.value = value;     } }  this works but its not so nice if you have a return value that is an object: var objKeys = Object.keys(object1); for (let objKey of objKeys){     object1[objKey] = object2[objKey]; }


How can I handle heavy Database interaction at peak hours?

We run an application more like competition organizing websites like , . When the tasks start, we see huge load on our server. The problem is, we need to interact with Postgres heavily in order to give random questions and then submitting their answers. There are JOINS between multiple tables and searching and other things, which results in a lot of data traffic and it makes our system slow and unresponsive many times, which is embarrassing.  What can we do in order to make it better? How to handle things which interacts a lot with RDBMS, any caching or in-memory database usage. I searched a lot over various sources, but couldn't find concrete solutions for our needs. How companies organise database and user interactions? What are some good architectures for models like these? Any insight would be helpful.


I know that we can get the MAC address of a user via IE (ActiveX objects).  Is there a way to obtain a user's MAC address using JavaScript?


I am searching for those graphs $G$ where $G$ is a tree and its complement is also a tree. I came out with one such graph $P_4$. Are there any other too? I am not getting any other example. thanks


I exported a 3D model with textures and materials from Sketchup as a .obj file. Then, I imported the .obj file in Blender, but the textures and materials from the original file are missing. Do you know what could be the issue?


I've got a figure, which is displayed fine:      \begin{figure}[htbp]     \centering         \begin{subfigure}[b]{0.48\textwidth}                 \includegraphics[width=\textwidth]{xp_potato.eps}                 \caption{X and P in the complex plane}                 %\label{fig:xp_potato}         \end{subfigure}%         \begin{subfigure}[b]{0.48\textwidth}                 \includegraphics[width=\textwidth]{xp_amp.eps}                 \caption{Phase modulated amplitdue}                 %\label{fig:xp_amp}         \end{subfigure}      \label{fig:xp}   \caption{\textbf{Quadrature balancing problem.} ...} \end{figure}   and now I would like to reference it (after the figure):  \hyperref[fig:xp]{Figure ~\ref{fig:xp}}   But I get this result: "Figure ??"  However when I click on it, my viewer jumps to the right figure. This scheme works fine through out my whole thesis. How can I fix this reference?


How do I show that the integral of $e^{inx}$ over a set of measure $1$ is nonzero for some nonzero $n$?

I'm trying to solve a problem from an old qualifying exam that asks to show that $\displaystyle\int_{E}e^{inx}dx$ is nonzero for some integer $n\neq 0$. Here $E$ is assumed to be a measurable set of measure 1.  How do I approach this problem? Do I need to use some result from Fourier analysis or is this a problem from Lebesgue integration theory. So far, the results I know of don't seem to work at all.


Why isn't "giraves" the plural of "giraffe" like "wolves" is for "wolf"?

The plural of giraffe, according to  and some other dictionaries I checked, is "giraffes". Normally when the final sound of an English word is F, its plural ends in V sound. But not always. Examples:  knife → knives wife → wives life → lives wolf → wolves leaf → leaves.  But giraffe → giraffes? My best guess would be that the former words are all native English words while "giraffe" is not. I searched "wolf" in Etymology Dictionary and :  from Old English wulf  For "life" :  Old English life (dative lif)  For "wife" :  Middle English wif, wyf, from Old English wif  For "knife" :  late Old English cnif  BUT for "" the entry is quite different:  long-necked ruminant animal of Africa, 1590s, giraffa, from Italian giraffa, from Arabic zarafa, probably from an African language. Earlier Middle English spellings varied wildly, depending on the foreign source, and included jarraf, ziraph, and gerfauntz, some apparently directly from Arabic, the last reflecting some confusion with olifaunt "elephant. The modern form of the English word is attested by c. 1600 and is via French girafe (13c.). Replaced earlier camelopard (from Latin camelopardalis), which was the basis form the name of the "giraffe" constellation Camelopardalis, among those added to the map 1590s by Flemish cartographer Petrus Plancius.  So why is the plural of giraffe different than the other similar words? Why is it not "giraves"?


Correct typesetting of aligned (or multiline etc) equations after a pagebreak

I was writing a block of mathematical formulas using the align environment. While I was writing these aligned equations I reached a pagebreak and the whole block moved to the next page so it made me wonder what is the right way to typeset my aligned equations in that case so to have the best output.  That environment doesn't allow pagebreaks as it is mentioned in the Amsmath's user manual so in such a case the author to be responsible for the breaking of the equations.  So in such a case should I leave most of the equations in the align environment till the pagebreak and the rest of them in a new align? If there is only one equation left that doesn't fit in the page should I use again align or a simple equation environment in order to have the same alignment with the previous block of equations? Does the equation environment aligns the one leftover equation the same as the block of equations in the previous page?  Also what should I do in the case that I had used the multiline or one of the other environments?


Is a sentence always grammatically incorrect if it has no verb?

Is the following grammatically correct? My friend says the second sentence is grammatically incorrect, but couldn't explain why.     I have always been fascinated by statistics. The different ways in   which you could look at data and infer knowledge from it.


Are there any rules for the pronunciation of Ch words. In words like, for example, chess, chemistry, school, etc. I want to know when should we pronounce 'ch' as "K' and when this has to be pronounced as "tʃ" as in chess.


Can the weak force create a bound state?

My understanding is that the exchange of Z bosons could yield an attractive or repulsive "force" between two fermions. For most combinations the electromagnetic or strong interactions will take place.  However, if we have two neutrinos, or a neutrino and a charged lepton, only the weak interaction comes into play. Are these possible bound states?


When I try to bevel this edge one side is much longer than the other. I realize this is because the rectangle is much longer than how tall it is but I want to be able to evenly bevel it? Can someone help me


Can a new unseasoned carbon steel wok be seasoned after one use (used it for steaming)? It now has some rust on it. Can it be salvaged?


How do you know when two objects are entangled?

I’m not asking how would you entangle two objects. I want to know how would you know they are entangled?


Installing wine uninstalls other programs

I am using Ubuntu 18.04 ..Using apt and synaptic when trying to install apt says that I have broken packages and synaptic wants to uninstall programs that I use in order to install wine what is a good way to install wine with out going through the headache of removing packages just to have it installed?   Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies: winehq-devel : Depends: wine-devel (= 4.2~bionic) E: Unable to correct problems, you have held broken packages.   the problem came because I needed to uninstall then reinstall wine for other purposes this is not a duplicate of  because I did not update Ubuntu. the problem its self came from having to reinstall wine not updating ubuntu


Why doesn't this tee with process substitution produce the 1st and chosen lines?

What I want is printing the output the first line ( table head ) of ps aux and the grep result.  After search, I come up with following.  ps aux | tee >(head -1 > /dev/tty) | grep mongo   But I find the stdin of grep mongo is cut off.   Also, if I omit > /dev/tty, what will the stdout of head -1 direct to? Why isn't it the console?  (Yes, I know I can achive my purpose by command awk. I am just curious about why my command doesn't work?)


Can't Sync Windows 10 Clock to The Internet

I am having a serious problem with my computer. I simply can't sync the clock on my windows 10 running machine to the internet. When I go to "Date and time settings" and turn the "Set time automatically" switch off and then back on, it either loads extremely long or just immediately displays the wrong time. I searched the internet for so long, but nothing seems to work there. Even when I completely restore my windows, it still wont work. And whats really strange is, that the clock sometimes even runs backwards!  Can it be that there is a problem with my mainboard or something like that?


Can I travel with cremated remains (father's ashes) from USA to India?

Recently our beloved father passed away in the USA. We have already performed his cremation, and now we are planning to take the cremated remains to India. We don't know anything regarding the procedure.  Can we carry cremated remains while we travel to India?  What are the rules and regulations we must follow?


I am trying to extract IPs from multiple web generated lists, and need to isolate the ones that do not end with 0.  Eg, in the list below, it has text, regular IPs and IP ranges. What I'm trying to do is to get only regular IPs and not anything that ends in a 0 or a subnet mask:  ; Spamhaus DROP List 2016/07/03 - (c) 2016 The Spamhaus Project ; http://www.spamhaus.org/drop/drop.txt ; Last-Modified: Sun,  3 Jul 2016 21:18:32 GMT ; Expires: Sun, 03 Jul 2016 23:26:45 GMT  1.0.1.0/24 223.223.176.0 129.130.100.100 1.160.118.30   If I run grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}'  it gives me:  1.0.1.0 223.223.176.0 129.130.100.100 1.160.118.30   I've tried to substitute the last part of the regex as:  grep -Eo '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[^1-255]'   but it doesn't work.   I'm trying to minimize the use of multiple piped greps (or sed/awk) to speed up the search process.  Eg what I'm hoping to avoid is to:  grep <all IPs from list> | grep -v <all those that end in 0 or subnet>    Is it possible to use grep/sed/awk in a single line to get me those IPs? In the above example, the result should be:  129.130.100.100 1.160.118.30   Thanks


Does there exist a non-trivial, associative Lie algebra?

In a Linear Algebra text I'm reading the author states that a Lie Algebra $K$ is non-associative unless we have $[x, y] = 0$ for all $x, y \in K$ (i.e, if $[v, [u, w]] = [[v, u], w]$ for all $v, u, w \in K$, then $[x, y] = 0$ for all $x, y \in K$). Is this true? Because I don't see it. By the way, the text is 'The Linear Algebra a Beginning Graduate Student Ought to Know' by Johnathan S. Golan. Thanks.


G is a graph with 100 vertices and $G \cong \overline{G}$. Is it possible that there is ONLY 1 vertex of valency 50 in G?

As far as I understand, there exists such a graph, but I don't know if we can possibly prove its unicity as well.


Why did Admiral Janeway choose to travel back in time to 2378?

In the series finale, Admiral Janeway travels back to 2378 to take Voyager back to Earth. Out-of-universe, of course, this point in time was chosen to fit in with the continuity of the rest of the series. In-universe, however, it seems that Janeway could have chosen any point in time, since she had the ability to travel to and from the Delta Quadrant at will. Is there a reason given, in-universe, for why she chose that particular incident to travel back to?


I would like to align the equation like this but instead have the label (40.a) and (40.b) for the last two lines. I don't know how to do this with subequations because of the \times\left{ that should be aligned with the =.    The code (moved from comment):  \documentclass{article}  \begin{document} \begin{eqnarray}  \begin{array}{cl} a & =b(x)\[10pt] & \times\left\{ \begin{matrix}   c&\text{if }x<1, \[10pt] d&\text{if }x>1.    \end{matrix} \right.  \end{array}  \end{eqnarray}. \end{document}


How to record device audio output (record while listening songs online)

How to record songs while listening (from online source) on Android 4.4/Nexus 5.  I am not able to find any apps for this. All voice recorder apps seems to be supporting only background sound, and not the device sound output (in earphone).


If I have a jQuery obj as;  var input = $('<input />',                {'type': 'text','name':currElmModelAttr, 'style':'width:100px' ,                'data-model-id': currElmModelId, 'data-model-attr': currElmModelAttr,                'class':'datePicker', 'value': $(this).html()}              );   Can I use any method to convert it into the form   <input type="text".... />   So that I can directly say  $(this).html(aboveHTMLCode);


Has anyone successfully downgraded there moto G v2 from lollipop?

I made the mistake of upgrading OTA to Lollipop (5.0.2) since then have been considering flushing the device down the toilet:   Unable to answer incoming calls half the time. Unintuitive UI update. Regular drop outs when using as data hotspot.   Has anyone managed to get there phone back to KitKat and if so how did you do it?  My phone is the Australian Dual Sim unlocked retail version.  Apologies to anyone that thinks it is lazy for me not to wade through every generic answer and roll the dice on bricking the phone without at least asking if someone has succeeded (or failed) with identical circumstances.


Recover data from unresponsive PC using second PC?

Please forgive any ignorance I display in the course of this question. Is it possible to plug in a second machine somehow to an unresponsive machine to recover data? I'm very desperate right now and am scouring the internet for any possible options. I'm running Ubuntu off a Live CD.   There was a lack of information provided. Here is updated information:  Running Ubuntu off of a live disk. At first the computer was completely unresponsive. After a few hours, the screen woke up, now there's been a black screen for twelve hours with only the mouse cursor showing. So far I've tried Ctrl+Alt+F1, which didn't work. I have no idea what to use as the second machine; I could use anything Windows or Linux based, loaded on my laptop.  If shutdown isn't an option, is there any other way to access RAM? That's what I'm trying to do by connecting a second machine. I don't even know if this is a viable option, just asking.


Log in to StackOverflow without Google or Facebook

I have signed up for SO using my google account and have also used Facebook to sign in too.  But due to some change in policies my company has decided to block Google accounts(only search is available) and Facebook.  How can I log into my same SO account without Google Sign In? Can I use OpenID and how?


In several questions, I read that there are additional validity restrictions for the passport if you visit a foreign country: e. g., a country requires that your passport is valid for at least 6 months after your planned departure.  This restriction seems to be imposed by many countries.  What is the background of this requirement? I mean, a valid passport is a valid passport. And as long as my passport is valid, it should be fine, shouldn't it?


Why does this say there is no join predicate?

My execution plan is posted on PasteThePlan.com. The  that there is no join predicate. I'm still new to this so I'm confused. Is that because I am using a CTE to determine the values for two of the attributes?  This presentation table is used in more that a few reports, and I don't want to create a second one for this very unique one.  Here's the query:  WITH Accumulators AS (  SELECT DISTINCT AreaNum, SuperintendentNum, SuperName    FROM FI.SLAnalysis   WHERE SuperName LIKE '%ACCUM%' ) SELECT     slard.[IO]   , slard.PhaseName             AS PhaseName   , slard.JobNum              AS JobNum --  , slard.JobName              AS JobName   , CASE    WHEN SUBSTRING(JobNum, 5, 2) IN ('05', '06')     THEN ac.SuperintendentNum    ELSE slard.SuperNum      END                AS SuperNum   , CASE    WHEN SUBSTRING(JobNum, 5, 2) IN ('05', '06')     THEN ac.SuperName    ELSE slard.SuperName      END                AS SuperName   , slard.AreaNum              AS AreaNum   , slard.AreaName             AS AreaName   , fp.WeekEndDate             AS WeekEndDate    -- WTD Metrics   , slard.WeeklyRevenue            AS WTDRevenue   , slard.WeeklyCost             AS WTDCost     , slard.WeeklyRevenue - slard.WeeklyCost       AS WTDGP   , CASE    WHEN slard.WeeklyRevenue = .01 THEN 0    ELSE slard.WeeklyRevenue      END                AS WTDRatio   , slard.Weekly_PER             AS WTDGPPer   , slard.WeeklyStandOvrheadAdmin          AS WTDOverAdmin   , slard.WeeklyStandOvrheadEquip          AS WTDOverEquip   , (slard.WeeklyRevenue    -slard.WeeklyCost    -slard.WeeklyStandOvrheadAdmin    -slard.WeeklyStandOvrheadEquip)         AS WTDOHGP    --MTD Metrics         , slard.MTDRevenue             AS MTDRevenue   , slard.MTDCost              AS MTDCost   , slard.MTDRevenue - MTDCost          AS MTD_GP   , CASE     WHEN slard.MTDRevenue <= .05 AND slard.MTDRevenue > 0 THEN 0    ELSE slard.MTDRevenue      END                AS MTDRatio   , CASE    WHEN slard.MTDRevenue <> 0     THEN CAST(slard.MTDCost / slard.MTDRevenue AS DECIMAL(18, 2))    ELSE CAST(0.00 AS DECIMAL(18, 2))      END                AS MTDGPPer   , slard.MonthlyStandOvrheadAdmin         AS MTDOverAdmin   , slard.MonthlyStandOvrheadEquip         AS MTDOverEquip   , (slard.MTDRevenue    -slard.MTDCost    -slard.MonthlyStandOvrheadAdmin    -slard.MonthlyStandOvrheadEquip)        AS MTDOHGP   -- YTD Metrics   , slard.YTDRevenue             AS YTDRevenue   , slard.YTDCost              AS YTDCost   , slard.YTDRevenue - YTDCost          AS YTD_GP   , CASE    WHEN slard.YTDRevenue <= .53 AND slard.YTDRevenue > 0 THEN 0    ELSE slard.YTDRevenue      END                 AS YTDRatio   , slard.YTDStandOvrheadAdmin          AS YTDOverAdmin   , slard.YTDStandOvrheadEquip          AS YTDOverEquip   , (slard.YTDRevenue    -slard.YTDCost    -slard.YTDStandOvrheadAdmin    -slard.YTDStandOvrheadEquip)         AS YTDOHGP   FROM [DW].[FI].[SLAnalysisReportData] slard  INNER JOIN Accumulators ac    ON slard.AreaNum = ac.AreaNum  INNER JOIN CORP.FiscalPeriod fp   ON slard.FY = fp.FY    AND slard.[Period] = fp.[Period] WHERE slard.FY = 2018  AND slard.[Period]  = 3     AND slard.AreaNum IN ('40')    AND NOT (    WeeklyRevenue = 0             AND WeeklyCost = 0             AND WeeklyStandOvrheadAdmin = 0             AND WeeklyStandOvrheadEquip = 0             AND MTDRevenue = 0             AND MTDCost = 0             AND MonthlyStandOvrheadAdmin = 0             AND MonthlyStandOvrheadEquip = 0             AND YTDRevenue = 0             AND YTDCost = 0             AND YTDStandOvrheadAdmin = 0             AND YTDStandOvrheadEquip = 0            )


When should I say "She is gone", and when should I say "She has gone" (and why)?  I think that when I mean "She went away and she's still there", it should be "She has gone". Are there exceptions where it should be "She is gone" ?


What is the difference and usage of the ,,, tags?

I'm aware there are similar questions, but the key word is similar all these are related and I didnt see a question that explains them in a single place. I'm curious as to what the a semantic use is for each and I'm hoping for some a example, as reading the mdn has left me a bit confused. Also the mdn says the b tag is basically used to style, so I assuming using this tag is bad practice, yet html5 seems to support it, why is this?  html html html html


Gradient of an $n$-variate quadratic form

Given function $$g(u) = (Au)^T(Au)$$ where $u \in \mathbb{R}^{n}$ and $A$ is a matrix of dimension $n \times n$, find the gradient $\nabla g(u)$.   I tried to expand everything and got that  $$\frac{\partial g}{\partial u_k} = 2\sum_{i=1}^{n}(A_{i1}u_1+A_{i2}u_2+\cdots +A_{in}u_n)A_{ik}$$  but I am not sure how to convert this expression into a matrix representation of the gradient of $g$. Any hints will be much appreciated.


How do I download always the latest version of the programs when I use apt-get install [program]?

I tried to install the Eclipse IDE and arduino this way:  sudo apt-get update sudo apt-get install arduino sudo apt-get install eclipse   But come the version Eclipse 3.8 and the Arduino IDE 1.0.3 and not the latest versions. Would specify which version of the program when I use apt-get install?


Problem: Is it true that $3$ never divides $n^2+1$ for every positive integer $n$? Explain.  Explanation: If $n$ is odd, then $n^2+1$ is even. Hence $3$ never divides $n^2+1$, when $n$ is odd.  If $n$ is even, then $n^2+1$ is odd. So $3$ could divide $n^2+1$.  And that is where I am stuck. I try to plug in numbers for $n$ but I want a more general form of showing that $3$ can't divide $n^2+1$ when $n$ is even.


From mathematics:     "Tensors eat vectors and spit out numbers."   Is this an analogy, metaphor or other named figure of speech?


Which is correct 'whose do you think is it?' or 'whose do you think it is?'

"Whose birthday do you think IS IT?"    or "Whose birthday do you think IT IS?"   I know that for questions the verb to be goes in front of the personal pronoun, however, why I have this strong feeling 2 is the correct one? Maybe both?


Is light moving because of self induction?

Light is made by an electric field wave and a magnetic field wave. Induction laws state that a variation in the electric field creates a magnetic field  and vice versa. Therefore can it be said that the simultaneous presence of magnetic wave and electric wave in electromagnetic waves is due to induction ? Can it be said there is an repetitive self induction in the electromagnetic waves such that the electric wave induces the magnetic wave which induces back the next electric wave period ? Can it be said that such back and forth is responsible for the light trajectory ?


Only command prompt is appearing after upgrading to Ubuntu 16.04

I have upgraded to from Ubuntu 14.04 to Ubuntu 16.04. How to get the Unity desktop?


Views (Search API): Search taxonomy parent and display all children

Problem  I have a country taxonomy field. The top level is continents then below that countries:  Asia --China --Thailand Europe --France --Germany    I'm using search API (with solr backend) to index.  Views to display the results.  Views exposed filters to search.   How can I set-up the search, so a search on a parent term (e.g. Asia) displays all it's children (China, Thailand etc.)?  So Far  I think the relevant solution if you're not using Search API is described in this page:    I think you have to add a contextual filter which sets the rules for taxonomy, however this doesn't seem to be an option in Search API. There are also no contrib modules which solve this problem.  Has anyone tackled this before?


How do I get TeXStudio to stop fixing \ch to \chapter?

I use TeXStudio when writing body text. One nice feature is it will autocomplete a lot of commands for you. The problem I'm having is that if I type \ch{ it 'fixes' this to \chapter{. Is there any way to turn this off, or add \ch to it above \chapter?


Combinatorial Proof of $Q_n = D_n + D_{n-1}$

Let $Q_n$ be the number of permutation of $n$ integers $\{1, 2,  \cdots, n \}$ such that, in the permutation, every $i$ is not succeeded   by $i+1$ and let $D_n$ be the number of derangement of $n$ integers.   Find a combinatorial proof of $$Q_n = D_n + D_{n-1}.$$   For the algebraic proof it is easy. Just play with those factorials. But what about a combinatorial proof?  I tried the case where $n=4$ and I want to show for any permutation of the form $Q_4$, it is either in $D_4$ or $D_3$. But it is not true by simply looking at the permutation $1,4,3,2$ as there are already $2$ fixed points and now I am stuck.  Another thing that comes to my mind is that, for $n$ integers to permutation, at most $\lceil \frac{n}{2} \rceil$ of the integers can be fixed points, which is approximately half of the number of integer. Does this suggest that we should divide into two cases, one for those fixed points and another for non-fixed points?  Thanks in advance.


Possible Duplicate:          I would like to know if mathematics is considered a science? I've searched the internet and asked many people for insight to no avail.  I thought science was based on observation, experimentation and falsification.  I don't understand how mathematics can satisfy all the above.  Especially, when there are some branches of mathematics that need not actually correspond to the physical world.  Maybe I have a naive definition or unsophisticated understanding of both mathematics and science.    Thank you in advance.  Sincerely, Maxwell


Why is my QGIS installation not updating to a more recent version?

I've QGIS 2.18 installed in Ubuntu 16.04 for a long time. I added the repository .  Why is it not updating to version 3.0 or 3.2? I thought the respository for the LTR version is .


Is it possible to upgrade the ram of MacBook pro 2017 from 8GB to 16GB in India?

Config: MacBook Pro (13-inch,2017, Two Thunderbolt 3 ports) Processor 2.3GHz Dual-Core Intel Core i5 Memory 8GB 2133 Mhz LPDDR3


Extending linear functionals by induction

Am reading Kreyszig's proof of the Hahn-Banach Theorem on page 214: Let $X$ be a real vector space and $p$ a sublinear functional on $X$. Let $f$ be a linear functional defined on a subspace $Z$ of $X$ which satisfies $$f(x)\leq p(x) \hspace{1cm} \text{for all } x\in Z$$ Then $f$ has a linear extension $\tilde{f}$ on $X$ satisfying $$\tilde{f}(x)\leq p(x) \hspace{1cm} \text{for all } x\in X$$ The proof reveals that, given $y_1\in X\setminus Z$, it is possible to extend $f$ to the subspace spanned by $Z\cup \{y_1\}$ while satisfying the required majorization on this subspace. At the end of the proof, Kreyszig explains that we can possibly avoid using Zorn's lemma with the following argument: First extend $f$ to $Z_1=span \{ Z\cup \{y_1\}\}$ as above and call the extension  $\tilde{f}_1$. Inductively suppose $\tilde{f}_n$ is a linear extension of $\tilde{f}_{n-1}$ satisfying the required majorization on its domain $Z_n$. If $X=Z_n$ then let  $\tilde{f}_{n+1}:=\tilde{f}_n$. Otherwise let $y_{n+1}\in X\setminus Z_{n}$ and let  $\tilde{f}_{n+1}$ be the extension of $\tilde{f}_n$ to $Z_{n+1}=span \{ Z_n\cup \{y_{n+1}\}\}$ (i.e. the extension mentionned above and it satisfies the required majorization on $Z_{n+1}$). By the principle of recursive definition $\tilde{f}_n$ is defined for all $n\geq 1$. Now let $\tilde{f}:=\cup_{n=1}^\infty \tilde{f}_n$. We check that $\tilde{f}$ is a well-defined linear functional on the subspace $Z_{\infty}:=\cup_{n=1}^\infty Z_n$ and that it satisfies the required majoriation on $Z_{\infty}$. If it so happens that $Z_{\infty}=X$ then we are done. But how can we know ex-ante whether this procedure will be sufficient? For example, if $X\setminus Z$ is finite then we must have $Z_{\infty}=X$, for otherwise $\{y_n\}$ would be an infinite subset of $X\setminus Z$. Are there other cases?


is there any difference in terms of scope, lifetime?

First program:  class Demo  {    public static void main(String args[])  {       Object obj ;       while(true)  {          obj = new Object();       }    } }   2nd program:  class Demo  {    public static void main(String args[])  {       Object obj = null;       while(true)  {          obj = new Object();       }    } }   question : is there any difference in terms of scope of obj in the two programs where obj is assigned value in the loop(in first program) and obj is assigned null value initially (in second program).


Which sourcebooks can be used as the additional resource for AL PHB+1?

The  for Season 9 explains PHB+1 as follows:     Forgotten Realms characters can choose race and class options from the   Player’s Handbook and one other resource—a rule called “PHB+1.”   Additional resources include the following products:      • Elemental Evil Player’s Companion (EEPC)      • Sword Coast Adventurer’s Guide (SCAG)      • Volo’s Guide to Monsters (VGM)      • Xanathar’s Guide to Everything (XGE)1      • Mordenkainen’s Tome of Foes (ToF)2      • Locathah Rising(LR)*   Is "include" as used here intended to mean "are limited to", or are these resources simply listed as examples of sourcebooks that may be used?  *: Locathah Rising is listed in v. 9.2 of the ALPG that I have on my computer.  I don't remember how I obtained it.  The linked PDF is version 9.0 and does not list this resource.


How to derate a ceramic capacitor for DC bias

I understand that the capacitance of a ceramic cap is very dependent on the DC bias applied to the terminals.  At rated voltage, I've measured a decrease of up to 70%, and I've heard it can go higher.  That's two datapoints, one at zero voltage, and one approximate value at rated voltage.  For cases where the manufacturer doesn't make the derating curves available, I'd like to be able to estimate the derating required.  From a TDK app-note (app-video?  Do we have a name for these things, yet?), I grabbed this plot.  Smaller capacitance components suffer less capacitance change, higher voltage components suffer less capacitance change at the operating voltage, and (not shown) larger components suffer less capacitance change.   Source  TDK Tech Tube : DC Bias Effect on Multilayer Ceramic Capacitors (MLCC)  Is there a standard curve for this?  Something like how there's a standard capacitor discharge curve, for example.  I'd like to be able to fit to the datapoints and interpolate for an operating voltage somewhere below the rated voltage.  Are there other techniques, short of ordering the component and measuring, to estimate the capacitance at operating voltage?


The superscripts position is exactly the same for these two statements:  \vphantom{\int}^S and {}^S  How can I get the superscript higher up?  Edit  The \intis just an example. Here is another one: \vphantom{)}^S and )^S.


Unable to upgrade Windows 10 edition from Home to Pro

I have a Lenovo laptop which upgraded from Windows 8.1 Home to Windows 10 Home.  I have a (legitimate) Windows 10 Pro key which I ran through the "Change Product Key" wizard.  After a reboot I get an error which states "We couldn't upgrade your edition" and asks me to try again or seek help from my system administrator (me!) or Microsoft.  There is nothing in the event logs except Info entries in the Setup log stating it failed to change the installed state to Pro Edition with a hex error code (I don't have access to the laptop right now, I will update later with the full log details)  Googling the hex error code led me to a Windows 7 KB Article regarding Windows Update failure due to locked files. The article stepped through using MSCONFIG to perform a clean boot which I did, but still got the error.  Any pointers on how to upgrade this laptop? Or will I have to get the sledgehammer out and do a clean install?


When I use "cout<<setprecision(2)<<fixed<<90.005;" output: 90.00. I expect the answer is 90.01. Can someone tell how to solve that?

Can someone tell me how to solve this problem (in C++)? I try many ways to solve but I can't  This is my code  double n= 90.005;  cout<< setprecision(2)<< fixed<< n;   output: 90.00.  I expect output is 90.01.  But when I change n=90.006, output: 90.01


How to run Memtest under 14.04 with UEFI?

I'm experiencing frequent "graying out" of my screen in memory-intensive programs like darktable so I'd like to test my RAM (installed 8GB). My Grub menu does not list Memtest as an option however the Ubuntu Software Center reports that Memtest is Installed. How do I run Memtest in this case?  Thanks.  output of grub directory:  -rwxr-xr-x 1 root root  9424 Jun 26 04:16 00_header -rwxr-xr-x 1 root root  6058 May  8  2014 05_debian_theme -rwxr-xr-x 1 root root 11608 May 15  2014 10_linux -rwxr-xr-x 1 root root 10412 May 15  2014 20_linux_xen -rwxr-xr-x 1 root root  1992 Mar 12  2014 20_memtest86+ -rwxr-xr-x 1 root root 11692 May 15  2014 30_os-prober -rwxr-xr-x 1 root root  1416 May 15  2014 30_uefi-firmware -rwxr-xr-x 1 root root   214 May 15  2014 40_custom -rwxr-xr-x 1 root root   216 May 15  2014 41_custom -rw-r--r-- 1 root root   483 May 15  2014 README


Don't throw away all votes when a user is deleted

Currently, when a moderator deletes a user all of the user's votes are removed along with the user themselves. I was pretty surprised at this behaviour when I first heard about it, and I don't think it is a good idea to throw away all of the votes just because the user is deleted.  Votes are locked after a short while and you can't change your vote unless the post is edited. This is a precedent that shows that users don't have complete control over their old votes, their ability to change or remove their votes is restricted for the benefit of the whole site. I don't understand why users that get deleted are suddenly exempt from this restriction.   The drawback of removing the votes is that we throw away valuable information. Voting plays an important role on SE sites, and every time an active user is deleted we throw away some of that information.  I also don't see why rage-quitting users get to remove one kind of contribution (votes) while we stop them if they try to remove their other contributions to the site (posts). We stop users from deleting all their posts because they still provide value to the site, I don't see why we shoud treat votes any different. They might have less value than posts, but they are useful to the site as a whole.  I'm ignoring any vote invalidation in connection with vote fraud or sock puppeting for the purposes of this post. Those votes should certainly be invalidated, but that doesn't usually happen by deleting users.  To prevent abuse of user deletion for vote fraud, there could be some minimum requirements on account age and reputation, below those requirements any votes would be discarded on deletion. Any suspicious voting patterns of the user should automatically block the deletion until they have been checked manually. This is of course more effort for the moderators, but account self-deletion doesn't happen so often that this would be a problem in my opinion.  The recent change to counting reputation from deleted questions if they are old enough and have at least three upvotes moves the whole reputation system further into a direction where reputation can't be taken away after some time. The reasoning for this change was that even though certain questions are off-topic now, they used to be on-topic and therefore the reputation earned had some meaning then. This provides further precedent that reputation shouldn't be removed retroactively on a large scale.


How do I run this line from cmd as a bat?

I have this command line that I type in cmd all the time and I want to automate it as a .bat file E:\Programas\Steam\steamapps\common\Victoria 2>v2game -mod=mod/NameMod.mod  I tried several variations of this: echo off start "E:\Programas\Steam\steamapps\common\Victoria 2\v2game.exe -mod=mod/NameMod.mod"  But either I can't open the program or it doesn't load the tag that I want in the end. I'd appreciate it if you tell me what's the correct synthaxis. Thanks!


So I'm understanding that the bid is the price buyers are willing to pay for a stock, and ask is the price sellers are willing to sell for.  But what if there are no limit orders... only market orders.  So buyers and sellers haven't set any limits on what they're buying or selling for. What is the bid and ask in this situation and what happens? Thanks in advance.


I saw a demonstration that there was an irrational number that raised to another irrational number resulted in a rational number. The demonstration was as follows: We know that $\sqrt{2}$ is irrational. If $\sqrt{2}^\sqrt{2}$ is rational, we are done. Otherwise, we have $(\sqrt{2}^\sqrt{2})^\sqrt{2} =  \sqrt{2}^2 = 2$, which is rational, and we are done. It's a interesting demonstration, because it is not necessary to determine the numbers in order to show that they exist. However, I would like to know if, after all, it is possible to determine whether $\sqrt{2}^\sqrt{2}$ is rational or irrational. I don't know how could I aproache this problem.


I had to clear my MacBook air as i had created an account with a password I couldn't remember, and I had an old apple ID linked to it that couldn't be logged out of unless I remembered the laptop password. So I cleared the MacBook, completely reset it up , and logged into my new, current apple ID. Now it says pages and numbers cost €19.99 ? I could probably live without these, but I had pages saved to my initial pages iCloud account.. so i really need it back.. Anyone know how I can re download these apps for free, and then will I be able to get the previous pages back? Any help much appreciated. - I also have completely updated the laptop so it has sierra, and all software is update.And I have tried logging out and logging back in in the different apple Ids . I don't think I made a computer back up.. Everything is on my initial apple Id.


Why are there 3 different ways to pronounce "oo"?

My German colleagues were laughing at the way I pronounce google, and it led to a discussion.   With words like google, yahoo, poodle and loose, the oo has a sound similar to the German ü sound. With words like good and book, it is more similar to how Germans pronounce a oo sound. For words like door we are not sure if that is the same or different.   The Germans want to know what the pronunciation rules are so they can improve their English. I am guessing that there are no rules, and the pronunciation possibly comes from the original language that the word comes from.  Are there any rules? Is there any reason why there are two different pronunciations? Can non-native speakers work out the correct pronunciation by looking at the other letters in the word or the etymology?


I am trying to create a program which reads the red value's from an image and stores the data into excel using Apache POI so i can create a histogram with it. However i'm getting a nullPointerException on the array i'm storing the data in when i try to pass the information to excel. The values in the array are taken from a 2d array which stores all the rgb values of the image. I have checked the array and the values are getting stored within it.  Do any of you guys know what would be causing this error?  The array is declared as:  static int[] redArray = new int[255];   And here is the code i am using to store the data into excel. The error occurs at cell.setCellValue(redArray[y]);  public static void chart() throws IOException {       FileInputStream file = new FileInputStream(new File("chart.xlsx"));      // Finds the workbook instance for XLSX file     XSSFWorkbook myWorkBook = new XSSFWorkbook(file);      // Return first sheet from the XLSX workbook     XSSFSheet mySheet = myWorkBook.getSheetAt(0);      // HSSFWorkbook workbook = new HSSFWorkbook(file);     // HSSFSheet sheet = workbook.getSheetAt(0);     // Sheet sheet=(Sheet) workbook.getSheetAt(0);     Cell cell = null;      // Update the value of cell      for (int i = 1, y = 0; i < 255 && y < 255; i++, y++) {         cell = mySheet.getRow(1).getCell(i);         cell.setCellValue(redArray[y]);          System.out.println("asdasd");     }       file.close();      FileOutputStream outFile = new FileOutputStream(      new File("update2.xlsx"));     myWorkBook.write(outFile);        outFile.close();     myWorkBook.close(); }   Thanks for the help.


SSH service stopped in Google Cloud mistakenly

SSH service got stopped in google cloud mistakenly now unable to connect to the google cloud instance.  Is there any possible way to restart SSH service as I am not able to login into the instance via. google cloud default ssh browser.  Kindly help as its urgent need to make some change on instances immediately  Thank you


How do I set up a local SOCKS proxy that tunnels traffic through SSH?

Assume I have access to an SSH server that supports tunneling, and I am on a PC that is running *ubuntu, how do I set up a local SOCKS proxy that tunnels the traffic through that SSH server before reaching the Internet?


If did not receive a solution after setting bounty

What should I do whenever I do not receive a correct solution for my question even set a bounty?


I understand that Yuno and Yukiteru end up together, but I was wondering if it was 2nd-world Yuno (the yandere Yuno) or 3rd-world Yuno (the sane Yuno)?


I was trying to install Opendtect in Ubuntu and I am finding the following error during installation:   Err: Corrupt survey: missing directory: /tmp/Seismics Err: Cannot open user settings file for write     Cannot open '/home/dibakar/.od/settings.new' for write Err: Cannot open user settings file for write     Cannot open '/home/dibakar/.od/settings.new' for write   Any help on this issue will be appreciated.


while statement not reading (array of) object attributes

I made an array of objects (point) that each have a pointID. However, when I enter input for choice1, the while statement cannot find the input from the objects. For example, when I input "point1", I still get a message of "Please enter valid pointID"  point[] points= new point[8];      for (int i=0; i<8; i++)     {         points[i]=new point();         String num=Integer.toString(i+1);         points[i].pointID="point"+ num;         points[i].x=randInt();         points[i].y=randInt();         points[i].z=randInt();     }      String choice1= JOptionPane.showInputDialog("Please enter pointID from point1 to point8:");      while (points[0].pointID!=choice1 && points[1].pointID!=choice1 && points[2].pointID!=choice1 && points[3].pointID!=choice1 && points[4].pointID!=choice1          && points[5].pointID!=choice1 && points[6].pointID!=choice1 && points[7].pointID!=choice1)     {         JOptionPane.showMessageDialog(null,"Please enter valid pointID");         choice1= JOptionPane.showInputDialog("Please enter pointID from point1 to point8:");


I am running on Kubuntu 20.04. I uninstalled python3, now system is broken. When I boot to root recovery mode, I can not run apt update or apt install to fix all the broken packages. If I run sudo apt update... Temporary failure resolving 'ca.achive.ubuntu'  Along with about 10 other instance of errors like this. Right after I realized my mistake, I reinstalled python. Now that I rebooted it totally borked because of the other packages that are gone. I know there are lots of questions about how to fix uninstalled python, but this question is about how to fix my broken apt now.


How can I differentiate an Original and Photoshop Image

May be this is a wrong place to question this. But, please allow me to ask at least. We have some photography event in our office. So, we have mentioned the rule of date capture (like photo must be captured in between start and end date of event). But, I have seen people trying to cheat like downloading it from Internet and saving back in their Smartphones or Photoshop/Edit their details.   So, is there any way I can tell whether the image is original, or if any type of editing has been done via any image processing tools or techniques?


Temporarily change language for terminal messages/warnings/errors

Messages in my terminal are displayed using Russian language by default, which is my native one.  For just a moment I want them to be in English (eg. to paste in forums), then switch back to the default language.  How can I do the switch and switch back using bash?


What does error 923 when downloading apps from Google Play Store mean?

I've seen this error a few times just now, it seems to only occur when I install an app through the Google Play web interface. Haven't seen it when installing apps directly from my mobile device. Device is quite new and has more than enough free disk space. Couldn't find anything on here yet about this specific error. After a retry it downloads without any problems, so while it is far from blocking, I do hope to get some insight on what is happening here. StackExchange only lists error 923 as an AndroidRuntime(923) error, but I don't see how that can be the cause here. Screenshot attached with error in Dutch.   Error - 'Game' could not be downloaded due to an error. (923)


Birds sitting on electric wires: potential difference between the legs

We have seen birds sitting on uninsulated electric wires of high voltage transmission lines overhead without getting harmed, because sitting on only one wire doesn't complete any circuit.   But what about the potential difference between their legs? Is this not a small complete circuit? Because the wire has a potential gradient, there should be a potential difference between the bird's feet. Is this potential difference so very small that we can say the bird is sitting at a single point on the wire? If a bird of a sufficiently large size, with a wide gap between its feet, sits on a single wire, shouldn't the bird receive a shock if the potential difference is sufficient?


How does redirecting stdout to stderr work

Just trying to redirect stout to stderr. But I'm a little confused about these two commands.  echo test 2>/dev/null 1>&2 echo test 1>&2 2>/dev/null   I don't understand why the second one doesn't work properly.


I am trying to deserialize a JSON response.  public class CLiveExMarketPriceHistory{ public String lwin11;   //11227502005 public String lcurrency;    //GBP public String priceFrom;    //2013-07-12 public cls_prices[] prices; public class cls_prices {     public String ldate;    //2013-07-12     public Decimal marketPrice; //880 } public static CLiveExMarketPriceHistory parse(String json){     return (CLiveExMarketPriceHistory) System.JSON.deserialize(json, CLiveExMarketPriceHistory.class); }   The JSON response is   {"lwin11":"11227502005","currency":"GBP","priceFrom":"2013-07-12","prices":[{"date":"2013-07-12","marketPrice":880.0},{"date":"2013-07-13","marketPrice":880.0},{"date":"2013-07-14","marketPrice":880.0},{"date":"2013-07-15","marketPrice":880.0},{"date":"2013-07-16","marketPrice":880.0},{"date":"2014-01-28","marketPrice":950.0}]}   The issue I am facing is that the JSON has attributes like date and currency which i am not able to use in my class as they are salesforce datatypes. I tried changing the class variables as lcurrency and ldate. But after deserialisation the values for these changed class variables are null as they don't match with the JSON response.   Any thoughts on how i can get values for the date and currency from JSON?


How can i create an automatic numbering with a black colored box around each number?

I want to create an automatic numbering with a black colored box around each number .I have searched a lot but not able to find a suitable package . please help me. Thank you


I have a dataset that has 4 Columns as x axis. I want to check the data for: Autocorrelation, Multicolinearity, Heteroscedasticity and Normality, In what order should ı perform the tests? And ıf my data turns out to be not normal, can I still perform ANOVA?


I have HDD with a lot of video files. Usually I connect my HDD with TV to watch videos. Today I've connected the drive to my PC and noticed some hidden files, but nothing related to video. The files are:   $RECYCLE.BIN  System Volume Information (32KB) .mediaDB_3495978201.db (19KB)   In explorer I see that 159GB free of 596GB. How can I found hidden video files and recover it?  I have added screen with broken drive G.


Is it possible (and how do I do it) to change what word Auto-Correct chooses when I make a typo?

I love the auto-correct feature, once I got used to not going "AH! Typo!  furious backspacing Retype correctly!"   I have one beef though.  It seems that the typos I make are nonstandard enough that about 50% of the time, Auto-Correct chooses the wrong word.  This irritates me even more than making a typo in the first place.  It seems to happen often with double letter endings where I miss one, but that's certainly not the only case.  Example:  When typing the word 'will' I often type 'wil', I have no idea why.  Auto-Correct zaps this to 'ail'.  So then, instead of backspace, type another L, space, keep going, I have to delete the entire wrong word.  The reason I am asking here is that I don't want to add misspelled words to the dictionary, I want to train the behavior of the Auto-Correct engine itself.    Is this possible?  I can't imagine that there's no capability for learning in that algorithm.  I dream of a time when I can just mash away at the keyboard, and the computer just knows what I mean and records my rhoughts (There's another one:  it gets instantly set to 'roughest' instead of 'thoughts') accordingly.