lately whenever i try to update through the terminal I get this message  E: could not open lock file /var/lib/apt/lists/lock  - open (13: permission denied) E: unable to lock directory /var/lib/apt/lists/ E: could not open lock file /var/lib/dpkg/lock  - open (13: permission denied) E: unable to lock administration directory (/var/lib/dpkg/), are you root?   I am using ubuntu 14.04.1 and apt-get had been working just fine until now
I get this error whenever I try to install programs using the terminal:  home@ubuntu:~$ apt-get install myunity E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?   Also I'm unable to install updates using the terminal.
Calling C/C++ from Python? What would be the quickest way to construct a Python binding to a C or C++ library?  (I am using Windows if this matters.) Allow Documentation in other Stack Exchange communities I'm a Salesforce developer and would love Documentation to be available in other Stack Exchange communities. The reason is  a lot of Salesforce developers get help, especially newer ones like myself. The developer forums and documentation on  is mediocre. It would be nice to allow users to create their own and give pack on Example of a finitely generated module with submodules that are not finitely generated I'm looking for an example of a finitely generated module with submodules that are not finitely generated.  I've found  dealing with group (i.e. an example of a finitely generated group with subgroups that are not finitely generated). But I can't figure out whether that question do help to this one.  And I actually want to find a more "module-like" example rather than an example derived from a 'strange' group.  Can you please help? Thank you! I remember I saw a apt mirror somewhere containing older distributions but I cannot find it anymore. Does anybody know where to find it? I'm talking about this nonsense:   Now, I'm aware that there are problems with the practicalities (or possibilities) of methods involving exotic matter with negative mass, and that kind of thing has been addressed here:   But in this case my question is different and more specific. Sweeping all the other problems of constructing such a beast under the rug, wouldn't this violate causality?  SR says that the simultaneity and relative ordering of events is dependent on the relative motion of the observer, but that no matter how it works out, if event A causes event B, no observer will see B first. One of the many problems with FTL travel (or signals) is that if any information is sent faster than light, there will exist an inertial frame in which the signal arrives before it is sent, a blatant violation of causality. (I think we can all agree, can we not, that the threshold should be extremely high before breaking assumptions that we're in a causal universe?)  So how is any scheme to travel faster than light, even if it may locally satisfy the equations of GR, not a blatant violation causality according to SR?  Is my understanding of GR incomplete and there's something in it that obviates the causality implications of SR? Or am I correct that FTL claims should be dismissed with extreme prejudice on this basis alone? (Pending a serious replicable experiment showing causality to be breakable.) Cardinality of set of real continuous functions I believe that the set of all $\mathbb{R\to R}$ continuous functions is $\mathfrak c$, the . However, I read in the book &quot;Metric spaces&quot; by Ó Searcóid that set of all $[0, 1]\to\mathbb{R}$ continuous functions is greater than $\mathfrak c$:  &quot;It is demonstrated in many textbooks that $\mathbb{Q}$ is countable, that $\mathbb{R}$ is uncountable, that every non-degenerate interval is uncountable, that the collection of continuous functions deﬁned on  $[0,1]$ is of a greater cardinality than $\mathbb{R}$, and that there are sets of greater and greater cardinality.&quot;  I understand that (via composition with the continuous function $\tan$ or $\arctan$) these sets of continuous functions have the same cardinality. Therefore, which claim is correct, and how do I prove this? How do comment @replies work? How do the comment replies (aka &quot;pinging users&quot;) work?  Who can I send an @reply to? How do I respond to a specific user when entering my comment? Will they be notified? What do people mean when they talk about &quot;pinging&quot; another user?  Related: What was the meaning of the Night King's message? In S08E01 of Game of Thrones, we see this message:    We have seen this several times, the symbol drawn with horse heads, the stones around the Weirwood where White Walkers are created and in some caves, drawn by Children of the Forest.  Do we know the meaning behind this symbol? Does it or something similar occur in the books as well? ColdFusion adding extra quotes when constructing database queries in strings I am coding in ColdFusion, but trying to stay in cfscript, so I have a function that allows me to pass in a query to run it with   &lt;cfquery blah >   #query# &lt;/cfquery>   Somehow though, when I construct my queries with sql = "SELECT * FROM a WHERE b='#c#'"  and pass it in, ColdFusion has replaced the single quotes with 2 single quotes.  so it becomes  WHERE b=''c'' in the final query.  I have tried creating the strings a lot of different ways, but I cannot get it to leave just one quote.  Even doing a string replace has no effect.   Any idea why this is happening?  It is ruining my hopes of living in cfscript for the duration of this project Assume there is a public-key encryption scheme $(KeyGen, Enc, Dec)$ with perfect correctness (i.e., for all messages M and valid key-pairs (PK,SK), we have $Dec_{SK}(Enc_{PK}(M))=M$).  Will there always be a function $A$ such that for all messages M and valid public-keys PK, $A_{PK}(Enc_{PK}(M))=M$?  In other words, can a computationally unbounded adversary decrypt the message, having only the public key? Is there a gender-neutral pronoun that can replace “his” or “her”? How to zoom in/out an UIImage object when user pinches screen? What are complex numbers, actually? Understanding downside of triple-leveraged ETF What happens to the price of the triple-leveraged ETF if the S&amp;P 500 loses more than one-third of its value (i.e., the return is below -33 1/3%)?  Does it mean the value is equal to zero? Batch normalize audio volume on .ogg-files Are there any simple tools to normalize an .ogg-library of 10'000+ songs so that the volume is the same throughout all songs?  Terminal or GUI doesn't matter, it only need to be simple.  One caveat though, I don't want soft interludes/intermissions and ballads blown out of proportion.  Preferably the process should find the overall gain of the album (I have all my CD's ripped into separate folders) and normalize the level thereafter. Can I insert elements to the beginning of an element using .appendChild()? If the user selects an option in a dropdown box, there must be added a label and a textbox. Using appendChild, these elements get added to the end of the container.  var newFreeformLabel = document.createElement('label'); newFreeformLabel.innerHTML = 'Omschrijving:';  var newFreeformField = document.createElement('input'); newFreeformField.className = 'textfield'; newFreeformField.name = 'factuur_orderregel[]';  var newFreeformSpacer = document.createElement('div'); newFreeformSpacer.className = 'spacer';  container.appendChild(newFreeformLabel); container.appendChild(newFreeformField); container.appendChild(newFreeformSpacer);   The issue is that these elements should be inserted at the beginning of container, not at the end.  Is there a solution to this in PrototypeJS? "+-=,;..." math characters in DejaVu Sans (with mathspec) the following MWE  \documentclass{minimal} \usepackage{mathspec} \setmainfont{DejaVu Sans} \setmathsfont(Digits,Latin,Greek){DejaVu Sans} \setmathrm{DejaVu Sans} \begin{document} \(\mathrm{e}^{\mathrm{i}\pi}=-1\) = -1 \end{document}   typesets with xelatex into    How can I turn the = and - signs in math mode to DejaVu Sans ? Wouldn't the use of WayneTech by Bane fully expose Bruce Wayne's identity as Batman? What are the origins of the word "nice"? Linear Combination of Random Normal Variables In order to prove that the linear combination of two independent normal distributions(say Z=X+Y) is normal, i am using their MGFs to show that the linear combination also has a similar mgf. This works okay when Z = X+Y. But when Z=X-Y, i run into trouble :  E[$e^{tZ}$] = E[$e^{t(X-Y)}$] = E[$e^{tX}$]E[$e^{-tY}$]  Now i cannot put this as $M_{x}$(t) * $M_{y}$(t) because of the negative sign.