I coudn't update my newly installed ubuntu software. i get error like this  matha@matha-HCL-Notebook:~$ sudo apt-get update [sudo] password for matha:  E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/
I get this error when trying to use apt-get:  E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?     How can I fix this?
rsync over ssh "error in protocol data stream" (code 12). ssh works I tried:  rsync -v -v -e 'ssh -p YY' ./testfile me@XXXXX:/home   Error Message  opening connection using: ssh -p YY -l me 146.6.84.206 rsync -&gt;-server -vvve.s . /home  [sender] make_file(testfile,*,0) send_file_list done send_files starting server_recv(2) starting pid=17537 rsync: connection unexpectedly closed (9 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(600)[sender=3.0.6] _exit_cleanup(code=12, file=io.c, line=600): about to call exit(12)   This works fine:  ssh -p YY me@XXXXX   Which suggests to me the problem is neither that sshd is not running nor that port YY is firewalled. I have checked anyway.  What other problems could there be?  EDIT: The problem seems to have been "self resolving." I could not replicate the following day. I started my local computer up. Perhaps notably I had a different IP address than last time. And now rsync magically works. I'd appreciate guesses as to what it could have been in light of it going away. I have been looking at this for hours and it isn't making anymore sense than it did in the first hour.   If $a$ und ${x_{0}}$ are positive real numbers and ${x_{k}}$ defined as follows, prove that ${x_{k}}$ is monotone decreasing and bounded, then calculate the limit.  ${x_{k}} = \frac{1}{2}\left({x_{k-1}+\frac{a}{{x_{k-1}}}}\right)$  What I though I had to do was pick an ${x_{0}}$ and solve for ${x_{k}}$, so I picked ${x_{0}}$. Then I wanted to put the result back into the function to get ${x_{k+1}}$, which I still believe is what I'm supposed to be doing, but I don't understand what I am getting as a result.  I get that I should prove it is decreasing, then that it is bounded,  then address the limit, but the how is missing. I'm looking for a way to reinterpret an array of type byte[] as a different type, say short[]. In C++ this would be achieved by a simple cast but in C# I haven't found a way to achieve this without resorting to duplicating the entire buffer.  Any ideas? Why do players enter with children on the ground? I have seen many soccer matches. I often see that players enter the field with children. Why do they enter with the children? Limit problem arctg (1 ^ infinty) Can anyone help me with this limit problem without L'Hopital rule and Taylor series? $$\lim_{x\rightarrow\ -\infty}\left(-2\frac{\arctan(x)}{\pi}\right)^x$$ Why do some questions in question lists have a yellow background? On SO, when I'm scrolling through "questions" some have a yellow background.  Is this intuitive to everyone but me?  What is the yellow background trying to tell me about this particular question? Stop setInterval call in JavaScript I am using setInterval(fname, 10000); to call a function every 10 seconds in JavaScript. Is it possible to stop calling it on some event?   I want the user to be able to stop the repeated refresh of data. How to make 'python' program command execute Python 3? Query works in SQL Server 2005 but syntax error for SQL Server 2000 How do I free up more space in /boot? My /boot partition is nearly full and I get a warning every time I reboot my system. I already deleted old kernel packages (linux-headers...), actually I did that to install a newer kernel version that came with the automatic updates.  After installing that new version, the partition is nearly full again. So what else can I delete? Are there some other files associated to the old kernel images?  Here is a list of files that are on my /boot partition:  :~$ ls /boot/ abi-2.6.31-21-generic         lost+found abi-2.6.32-25-generic         memtest86+.bin abi-2.6.38-10-generic         memtest86+_multiboot.bin abi-2.6.38-11-generic         System.map-2.6.31-21-generic abi-2.6.38-12-generic         System.map-2.6.32-25-generic abi-2.6.38-8-generic          System.map-2.6.38-10-generic abi-3.0.0-12-generic          System.map-2.6.38-11-generic abi-3.0.0-13-generic          System.map-2.6.38-12-generic abi-3.0.0-14-generic          System.map-2.6.38-8-generic boot                          System.map-3.0.0-12-generic config-2.6.31-21-generic      System.map-3.0.0-13-generic config-2.6.32-25-generic      System.map-3.0.0-14-generic config-2.6.38-10-generic      vmcoreinfo-2.6.31-21-generic config-2.6.38-11-generic      vmcoreinfo-2.6.32-25-generic config-2.6.38-12-generic      vmcoreinfo-2.6.38-10-generic config-2.6.38-8-generic       vmcoreinfo-2.6.38-11-generic config-3.0.0-12-generic       vmcoreinfo-2.6.38-12-generic config-3.0.0-13-generic       vmcoreinfo-2.6.38-8-generic config-3.0.0-14-generic       vmcoreinfo-3.0.0-12-generic extlinux                      vmcoreinfo-3.0.0-13-generic grub                          vmcoreinfo-3.0.0-14-generic initrd.img-2.6.31-21-generic  vmlinuz-2.6.31-21-generic initrd.img-2.6.32-25-generic  vmlinuz-2.6.32-25-generic initrd.img-2.6.38-10-generic  vmlinuz-2.6.38-10-generic initrd.img-2.6.38-11-generic  vmlinuz-2.6.38-11-generic initrd.img-2.6.38-12-generic  vmlinuz-2.6.38-12-generic initrd.img-2.6.38-8-generic   vmlinuz-2.6.38-8-generic initrd.img-3.0.0-12-generic   vmlinuz-3.0.0-12-generic initrd.img-3.0.0-13-generic   vmlinuz-3.0.0-13-generic initrd.img-3.0.0-14-generic   vmlinuz-3.0.0-14-generic   Currently, I'm using the 3.0.0-14-generic kernel. How can one show that for triangles of sides $a,b,c$ that   $$\frac{a}{b+c}+\frac{b}{c+a}+\frac{c}{a+b} &lt; 2$$  My proof is long winded, which is why I am posting the problem here.   Step 1: let $a=x+y$, $b=y+z$, $c=x+z$, and let $x+y+z=1$ to get   $\frac{1-x}{1+x}+\frac{1-y}{1+y}+\frac{1-z}{1+z}&lt;2$  Step 2: consider the function $f(x)=\frac{1-x}{1+x}$, and note that it is convex on the interval (0,1), so the minimum of   $\frac{1-x}{1+x}+\frac{1-y}{1+y}+\frac{1-z}{1+z}$  is reached when the function takes the extreme points. i.e. $x=y=0, z=1$.    But going back to the fact that this is a triangle, we note that $x=y=0 \implies a=0$ which is not possible, so the inequality is strict. Can I use Named Credential merge fields as URL parameters on the endpoint? I'm using leaflet to display a map.  I have a control section that I'd like to be open by default, but I can't find a way to do it through the . Is there a way to do this? Showing that if $\lim_{x\to\infty}xf(x)=l,$ then $\lim_{x\to\infty}f(x)=0.$ Let $l \in\mathbb{R} $ and $ f:(0,\infty) \to \Bbb R $ be a function such that $ \lim_{x\to \infty} xf(x)=l $ .  Prove that  $ \lim_{x\to \infty} f(x)=0 $.  Any help would be appreciated - I found this difficult to prove Our admins deployed a new version of Notepad++ (version 6.3) on our machines, and this version is highlighting all changes done in a file by default. It does so by setting the background color of every modified line to a bright orange, which I find very distracting.  We  have dozens of plugins installed, but I double checked and we do not have the "Change Markers" plugin (which could be the culprit).  Any idea where I can disable this feature? Changing the highlight color could also be an option. Linearization of PDE: $0$ is an eigenvalue since all translates of travelling waves are also travelling waves Consider the following PDE: $$ u_t=u_{xx}+f(u)-w,~~~~~w_t=\varepsilon (u-\gamma w),~~~~~~~~~(1) $$ where $f(u)=u(u-a)(1-u), 0&lt;a&lt;\frac{1}{2}, \varepsilon,\gamma &gt;0, \varepsilon\ll 1,\gamma\ll 1$.  A travelling wave for (1) is a solution that is a function of the single variable $\xi=x-ct$, i.e., $(u(\xi),w(\xi))$ satisfies $$ -cu'=u''+f(u)-w,~~~~~~-cw'=\varepsilon (u-\gamma w)~~~~~~~('=d/d\xi).~~~~~~(2) $$  If (1) is recast in a moving coordinate frame, i.e., in terms of variables $\xi=x-ct$ and $t$, it becomes $$ u_t=u_{\xi\xi}+cu_{\xi}+f(u)-w,~~~~~~w_t=cw_{\xi}+\varepsilon (u-\gamma w).~~~~~~~~(3) $$  One can see by (2), that a travelling wave is an equilibrium solution of (3). So one nearby question is to ask whether a travelling wave is stable.    For a fixed $\varepsilon$, let $U_{\varepsilon}(\xi)=(u_{\varepsilon}(\xi),w_{\varepsilon}(\xi))$ be a travelling wave for (1), i.e., an equilibrium solution for (3).          A standard technique for determining stability of $U_{\varepsilon}(\xi)$ is to linearize: If the right-hand side of (3) is linearized along $U_{\varepsilon}(\xi)$, the resulting operator is     $$ L\begin{pmatrix}p\\r\end{pmatrix}=\begin{pmatrix}p_{\xi\xi}+cp_{\xi}+f'(u_{\varepsilon})p-r\\cr_{\xi}+\varepsilon (p-\gamma r)\end{pmatrix}, $$     where $\begin{pmatrix}p\\r\end{pmatrix}(\xi)\in\text{BC}(\mathbb{R},\mathbb{R}^2):=\left\{u\colon\mathbb{R}\to\mathbb{R}^2 | u\text{ is bounded and uniformly continuous}\right\}$.      (The linearized criterion for stability of the travelling wave is that the spectrum of $L$ (except for $0$) lies in a left half-plane and $0$ is a simple eigenvalue.)  Thats the background.  Now, there is a statement that I could not understand yet.          Note, that $0$ must be in the spectrum because the translate of a travelling wave is another travelling wave.      I know that a translate of a travelling wave is again a travelling wave. But why does this imply that $0$ is in the spectrum of $L$?  Edit  After some looks at definitions, I have an idea:  Consider a solution $U(\xi,t)$ that is a translate of the travelling wave $U_{\varepsilon}(\xi)=(u_{\varepsilon}(\xi),w_{\varepsilon}(\xi))$, i.e.  $$ U(\xi,t)=U_{\varepsilon}(\xi-k)=(u_{\varepsilon}(\xi-k),w_{\varepsilon}(\xi -k)) $$ for some $k$. Then $U$ is an equilibrium solution of (3), too.  If I am not totally wrong, then we have  $$ p=u_{\varepsilon}(\xi-k)-u_{\varepsilon}(\xi),~~~~r=w_{\varepsilon}(\xi-k)-w_{\varepsilon}(\xi) $$ and  $$ p_t=0,~~~w_t=0, $$ because travelling waves are equilibria for (3) and a translate of a travelling wave is a travelling wave.  Hence $$ L\begin{pmatrix}p\\r\end{pmatrix}=\begin{pmatrix}0\\0\end{pmatrix}, $$ meaning that $$ \text{ker}(L-0\text{ id })\neq\left\{\begin{pmatrix}0\\0\end{pmatrix}\right\}, $$ because for each translate of the travelling wave, $p,r\neq 0$ and  $\begin{pmatrix}p\\r\end{pmatrix}\in\text{ker}(L-0\text{ id})$.  Hence $0$ is in the spectrum (point spectrum) of $L$.  Is this what was meant? I bought an Acer laptop and installed Ubuntu 14.04LTS but WiFi drivers are not available for it. So I am trying to install a windows driver using wifidocs/driver/ndiswrapper.  On doing lspci -vvnn, it gives:  Network controller ［0280: Qualcomm Atheros Device ［168c:0042］ (rev 30)   Then I also disabled the atheros drivers. Using lspci and lspci -n, I can say PCI id is 168c:0042. But Acer website has three atheros drivers. I could not figure out which one to download but downloaded one on a windows PC and pasted the zip file on my desktop then unzipped it from the terminal using unzip &lt;filename&gt;.zip. The page says you have to go to control panel system hardware and all that on the windows system. I did not do it. Windows computer not being mine, I am afraid I should not install any additional driver on it. After unzipping it has one .inx file and one .bin file but no .sys file. I don't know whether I am completely right till here or have I missed something? And if I am right then how to proceed from here? I also made a new directory and copied the unzipped .inx and .bin files in it. Then in that directory I ran the ndiswrapper -i &lt;filename&gt;.inf but it says ndiswrapper not installed and when I do sudo apt-get install ndiswrapper-common, I get the reply that ndiswrapper-common is already the latest version. What to do? here is my dmesg | grep ath10k result  [   7.882758] ath10k_pci 0000:03:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0 [    8.190016] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2 [    8.334587] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/board-2.bin failed with error -2 [   10.140677] ath10k_pci 0000:03:00.0: qca9377 hw1.0 (0x05020000, 0x003820ff sub 105b:e09a) fw WLAN.TF.1.0-00267-1 fwapi 5 bdapi 1 htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1 features ignore-otp [   10.140682] ath10k_pci 0000:03:00.0: debug 0 debugfs 0 tracing 0 dfs 0 testmode 0 Here is the output of lspci -nnk | grep -iA2 net  02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)     Subsystem: Acer Incorporated [ALI] Device [1025:098a]     Kernel driver in use: r8169 03:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:0042] (rev 30)     Subsystem: Foxconn International, Inc. Device [105b:e09a]     Kernel driver in use: ath10k_pci How can I save the world from the spread of Hallow and Corruption/Crimson? After the Wall of Flesh, the Hallow appears and Corruption/Crimson spreads even faster.   Corruption/Crimson spreads through everything   Except Hallow  Hallow spreads through everything   Except mud (jungle) Except synthetic blocks like gray-brick  The results of Hallow and Corruption meeting are unpredictable   How can I stop them both permanently and effectively from taking over the world, considering both the top layer and underground?  (Eg, simply placing gray brick on top of the surface won't stop the underground spread?)  And, is it worth the effort? I'm trying to load a field value (machine name: field_theme_image) from a content of node value 3, in "page--front.tpl.php".  &lt;?php   $node=node_load(3);   print $node-&gt;field_theme_image[$node-&gt;language][0]['uri']; ?&gt;   Using the above code I'm not getting full URL value. Please see the image below. I can see the path value in Devel themer. With all the various races in the federation, how do the humans manage to dominate it?