I just lost my laptop charger and I found another one on my house, I was wondering if it is compatible with my laptop and if you would recommend it using, the specs are the following:  ORIGINAL CHARGER (HP) Input: 100-240 V ~ 1.4A  50-60 Hz Output: 19.5V  2.31A 45W  REPLACEMENT CHARGER (Lenovo) Input: 100-240 V ~ 2.5A. 50-60 Hz Output: 20V  2A 46.08W  Thank you very much for your help.
I have a Toshiba Satellite laptop. My charger has stopped working.  I have access to a Lenovo charger. Can I use this charger on my laptop?
I'm trying to connect two PCs for desktop sharing, I was able to set up ssh shell and file sharing but I failed to connect to VNC server.  There are additional packages that I need to install on my machines?  And how should I fill this dialog: Strange set notation (a set as a power of 2)? I am not very well versed on set theory or syntax, but I thought I knew the basics.  However, in a book about databases I am reading now, the author uses $2^x$ to signify "a set of $x$."  For example, $2^{\text{dogs}}$ is a set of $\text {dogs}$, etc.    The author never really explained this or why he does it, I just picked up the meaning from context.    I am not sure why the exponent operator is used, nor am I sure what the number $2$ has to do with it.  The sets being represented are NOT powers of $2$ (in size)... they come in all sizes.  Is this a valid notation?  I have not seen it anywhere before... Getting "Authentication is required" when trying to access the Play Store Over the past week, whenever I try  to open the Play Store/Market app on my phone, the app thinks for a while and then displays this error message:     Authentication is required. You need to sign into your Google Account.   But I am indeed signed into my Google account, as seen in other Google applications running on the phone, and as seen if I open the menu in the Market app and click the "Accounts" button.  I suspect this might be related to the fact that over the past few months I've had two different Google accounts synced to this device, and I have recently removed one of them from the phone. No other Google application has had any problems with removing one account.  Does anyone know how I can solve this issue? I can still install applications by using the market website (now "Google Play"), but this is still a big inconvenience. I also think I stopped getting updates. How to disable Import option in LibreOffice Calc while pasting text in a cell? I'm making a table in which I have to copy few lines from pdf to a table. I'm using LibreOffice calc for table making purpose. Problem is that even though I am copying simple text from the pdf, when I paste it to LibreOffice, Import Option keeps on poping up(randomly-sometimes it pop up sometime it does't). And due to this pasted text's font size also very small. Desired result is that when I paste the text in the cell, it just got pasted in the cell, without any time wasting popup which also disturbs the font size. Same question is asked here but no solution. What is the Page Object Pattern in Selenium WebDriver? In the spirit of a  I would like to know if there's a basis for understanding why there  that have non-zero electric charge but zero spin?  Can such a quantum theory be written down and self-consistent? Do the current symmetries of our present QFTs not allow such a particle? extract fields from bib bibliographic file I want to extract specific fields from a natbib/bibtex bibliographic file to construct a table similar to:  title ------------------------------------------------- authors ------------------------------------------------- journal, year, volume ------------------------------------------------- abstract -------------------------------------------------   is there a way to do this in latex?  Thanks Jorge Is the function differentiable at $0$? How do you safely encode a URL using JavaScript such that it can be put into a GET string?  var myUrl = "http://example.com/index.html?param=1&amp;anotherParam=2"; var myOtherUrl = "http://example.com/index.html?url=" + myUrl;   I assume that you need to encode the myUrl variable on that second line? For the ring $\Bbb{Z}[\sqrt{d}]=\{a+b\sqrt{d}\mid a,b \in \Bbb{Z}\}$ where $d$ is not divisible by the square of a prime, prove that the norm $N(a+b\sqrt{d})= |a^2-db^2|$ satisfies the assertions: $N(x)=0$ if and only if $x=0$; $N(xy)=N(x)N(y)$ for all $x$ and $y$; $x$ is a unit if and only if $N(x)=1$; and if $N(x)$ is prime, then $x$ is irreducible in $\Bbb{Z}[\sqrt{d}]$. How do I get my PCs to not be a bunch of murderous cretins? Most RPGs teach you that casual violence is the best solution to all your in-game problems. This is so well established a part of the vast majority of RPGs that there are entire satire RPGs like Greg Costikyan's  and John Tynes'  dedicated to showcasing the issue. Even now that the '80's anti-RPG hysteria is past, you see more sober critiques of endemic violence in RPGs in places like . In most RPGs, PCs become inured to murder and other antisocial activities very quickly, and enter the depths of depravity that wouldn't be appropriate in the worst parts of the world. Armed robbery, mass murder, and genocide become routine parts of an adventurer's day, something only stick-in-the-mud characters with the most extremely stated ethics object to. , even though it is not properly applied to just any conflict, is a PC's friend and they generally escalate any conflict in that direction. The sophistication of the gamer mindset towards introspection on this issue can be demonstrated in that the most meaningful question usually debated about in-game violence is some variant on &quot;but should we kill the noncombatant children&quot; or &quot;can we just murder people out of hand as long as they're from a typically evil race?&quot; In the real world, we generally a priori regard anyone having to have this discussion as a monster already. (P.S. The &quot;wipe out a given evil race&quot; thing isn't the point of this question; it is only mentioned to indicate that it's only &quot;that far&quot; that usually causes ethical handwringing from players, when that is a really quite extreme case and we should be uncomfortable with casual violence a lot sooner. ) What I'd like to have is a more realistic in-game treatment of conflict.  People getting wounded and giving up, taking and ransoming of prisoners, not always escalating a fistfight to weapons, not always escalating weapon combat to killing, etc.  Heck, as I write this, I'm watching an episode of Adventure Time with my daughter and the protagonists snuck in and rescued a princess kidnapped by the Ice King and then exit right next to his sleeping form. I thought, &quot;If this were D&amp;D they'd all be carefully coordinating a coup de grace to kill him in his sleep on the grounds that he inconvenienced them.&quot;  The problem isn't limited to D&amp;D of course, sci-fi PCs are happy to neutron bomb planets for convenience too, for example. I'm not part of the &quot;D&amp;D is Satanic&quot; crowd obviously, but I frankly do have compunctions about continually playing in games where the taught behavior is uncomfortably equivalent to the worst examples of human behavior we see on the nightly news. How can I give my PCs a newfound respect for human life? While adding to an Answer to  question, I needed to use the above phrase, and I suddenly realised I was unsure whether to write "is" or "are".   There is more than one way to skin a cat. If there are more than one species of cat, we will flay each species differently.   I don't think that second example above sounds quite right to me (disregarding the meaning - sorry!), but in my original Answer I felt "is" would have been even worse.  Is "are" always wrong here? If so, what exactly is the rationale? If not, is there a case where it's unquestionably preferred – and why is that?    Note that in both the problematic Answer and my example attempting to mimic the same context more briefly, the writer doesn't know how many there are. There may be one, more, or even none.  Getting even more specific, the writer might have an opinion on how many there might be, and wish to convey his leanings by choice of verb form if language allows this to be done succinctly. When a/an precedes a parenthetical aside (sometimes seen in informal/conversational writing), should the vowel rule depend on the first word in parentheses, or the next word in the "regular" flow of the sentence?     I need a (memorable) idiom (preceding an m word; use a)   or     I need an (memorable) idiom (preceding an i word; use an) Is it possible to view the latex code after Lua expansion is made? When using Lua code inside Latex file, where Lua code sends to Tex Latex code to insert into the document at the location the lua code is made, it will be useful to look at the content of Latex file (internal) after the expansion is made but right before the file is compiled to pdf. This can help in debugging and in many other cases.  Is there an option to do this?  A small example will help explain what I mean.   Given this latex file  \documentclass{article} \usepackage{luacode} \begin{document}  The following is my table  \begin{luacode} i=6 j=8 tex.print("\\begin{tabular}{|l|l|}\\hline") tex.print(i.."&amp;"..j) tex.print("\\\\ \\hline") tex.print("\\end{tabular}") \end{luacode}  \end{document}   Compiling this gives the pdf file:    What I'd like to now see is the Latex file that would resulted after the Lua code expansion, which should be something as follows  \documentclass{article} \usepackage{luacode} \begin{document}  The following is my table  \begin{tabular}{|l|l|}\hline 6 &amp; 8 \\\hline \end{tabular}  \end{document}   I could not find an option to do this so far.  TL 2015    Update  Another example to make clear what is being asked here. I'd like to see not only the latex code that was generated from the lua bits of code, but the full Latex document that would result after all the expansion of all lua code in the original Latex. But this has to be done without modifying the original Latex document itself.   Assuming there is this virtual pipeline:  Latex file -&gt; Lua code expand -&gt; Updated Latex (internal)-&gt; lualatex -&gt;pdf    I'd like to get a copy of the full latex code/file just after all the lua code expanded.  Here is another example. Given this Latex file input:  \documentclass{article} \usepackage{luacode} \begin{document} The following is my table \begin{luacode*} i=6 j=8 tex.print("\\begin{tabular}{|l|l|}\\hline") tex.print(i.."&amp;"..j) tex.print("\\\\ \\hline") tex.print("\\end{tabular}") \end{luacode*}  Our annual budget for the company is \luaexec{tex.print(200*15^3)} dollars as  shown in this list of items \begin{luacode*}  tex.print("\\begin{itemize}")  for i=1,5 do    tex.print("\\item "..i^2)  end  tex.print("\\end{itemize}") \end{luacode*} And so on. \end{document}   The PDF is    I'd like to get a copy of the following latex file, which has all the Lua code expanded and gone and only the Latex code is left in its place. This file can go to a temporary file, or anywhere, as long as it is the complete Latex file as shown and not bits and pieces. This would be very useful in debugging when there is lots of Lua code in different places in the original Latex file.  \documentclass{article} \usepackage{luacode} \begin{document}     The following is my table  \begin{tabular}{|l|l|}\hline 6 &amp; 8 \\\hline \end{tabular}  Our annual budget for the company is 675000 dollars as  shown in this list of items  \begin{itemize} \item 1 \item 4 \item 9 \item 16 \item 25 \end{itemize}  and so on     \end{document}   I hope now the question is even more clear :) I have for quite some time now tried to find a satisfactory answer to this, but I haven't yet. In perturbation theory, with small parameter $\lambda$, we expand the eigenstate as  $$| E \rangle=| E^{(0)} \rangle + \lambda | b \rangle + ...$$  Where $| E^{(0)} \rangle$ is an eigenstate of the unperturbed Hamiltonian. The problem is that when there is degeneracy, there is a choice of these eigenstates. I know the answer is that they are chosen to be eigenvectors of the perturbing Hamiltonian, but my question is why. On a quantum scale the smallest unit is the , which is a discrete measure.  There several question that come to mind:   Does that mean that particles can only live in a discrete grid-like structure,  i.e. have to "magically" jump from one pocket to the next? But where are they in between? Does that even give rise to the old paradox that movement as such is impossible (e.g. )? Does the same hold true  for time (i.e. that it is discrete) - with all the ensuing paradoxes? Mathematically does it mean that you have to use difference equations instead of differential equations? (And sums instead of integrals?) From the point of view of the space metric do you have to use a discrete metric (e.g. the ) instead of good old Pythagoras?   Thank you for giving me some answers and/or references where I can turn to.  Update: I just saw this call for papers - it seems to be quite a topic after all: Is Reality Digital or Analog? FQXi Essay Contest, 2011. , , . One can find some pretty amazing papers over there. Dependency injection and Libraries/Frameworks Amazon RDS - Online only when needed? Any Info on Generalized Binomial and Exponential Series? I was reading Concrete Mathematics by Knuth et al. and on p. 200, it references the generalized binomial series $\mathcal B_t(z)$ and the generalized exponential series $\mathcal E_t(z)$, defined as $$\mathcal B_t(z)=\sum_{k\ge0}(tk)^{\underline{k-1}}\frac{z^k}{k!}\quad\text{and}\quad\mathcal E_t(z)=\sum_{k\ge0}(tk+1)^{k-1}\frac{z^k}{k!},$$ where $x^{\underline k}$ denotes the falling factorial. I was interested in the generalized binomial series because it satisfied the identity $$\frac{\mathcal B_t(z)^r}{1-t+t\mathcal B_t(z)^{-1}}=\sum_{k\ge0}\binom{tk+r}{k}z^k.$$ I've been trying to find a way to compute the sum $\sum_{n\le k\le m}\binom{tk+r}{k}$, so this seemed related. It seems that $\mathcal E_1(z)$ is also somewhat related to the Lambert $W$ function, though I might be wrong. Searching them up online didn't seem to get anywhere, and I just want to find more sources where I can learn about these functions. If anyone can find some resources, I'd appreciate it! Recovering eigenvectors from SVD