Can't update Ubuntu 18.04 LTS
How do I remove a malformed line from my sources.list?
Quantum levitation, flux pinning -- basically, when a superconductor floats above a permanent magnet, is really fascinating. But does the strength of the magnetic field influence the superconductor's height? And what relationship/formula suggests this?  For example, if I had a coil wrapped around a metal object and then ran a small current through it, a small magnetic field would be generated and a superconductor exposed to it would float about it at some height that I put it on.  But what if I increased the current, so that the magnetic field also increased? What happens to the superconductor? Does its height change? Or does it just get harder to "pull out" of its levitating state? How can I set the maximum draw type for multiple objects? I have a database which contains 5 tables. Each table contains 24 rows and each row contains 4 columns.  I want to display these records in Excel sheet. The heading of each table is the name of the table, but I am unable to merge the columns for heading.  Please help me. What is the purpose of using a FIFO vs a temporary file or a pipe? When transiting Moscow (SVO), citizens of which countries need a transit visa? Randomize a List What is the best way to randomize the order of a generic list in C#? I've got a finite set of 75 numbers in a list I would like to assign a random order to, in order to draw them for a lottery type application. Save entire process for continuation after reboot If $\gcd (x,4) = 2$ and $\gcd(y,4) = 2$ then $\gcd(x+y,4) = 4$ I was working my way through some number theoretic proofs and being a newbie am stuck on this problem :     If $(x, 4) = 2$ and $(y, 4) =2$, then $(x + y, 4) = 4$,     where $(a,b)$ denotes the greatest common divisor of $a$ and $b$.   My Solution  (Incorrect)   $x-4 = 2t$ $y-4 = 2p$ $x + y - 8 = 2(t+p) \Rightarrow x + y - 4 = 2f + 4 = 2(f+2)\Rightarrow 2$ divides $(x+y , 4)$   My Question:  My solution is definitely inadequate. Can someone help me out? 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? Sum and product of Martingale processes Given two Martingale processes $(X_t)$ and $(Y_t)$, are their sum $(X_t+Y_t)$ and their product $(X_t \times Y_t)$ also Martingale?  If not, will the two $(X_t)$ and $(Y_t)$ being independent grant their sum and product Martingale? Thanks! Proving by induction that $\sum\limits_{k=2}^n \frac1{k^2}\le 1$ How should I approach obvious proofs like these    I have been trying but couldn't find an elegant way to work these. Any help is highly appreciated ! Especially looking for a nice proof/hint for first problem There's a department at my university where the head of department is routinely put as author on papers he didn't contribute to, and where researchers from overseas who had no input (but who provide funding to the department) are put on papers.    As a pragmatic matter, how should a PhD student respond when they are told to put three names on a paper, when those people didn't contribute?  Assume that refusing to put the co-authors on is not an option, because:   There will be bad consequences if they do not, and  This practice is routinely done at a high level, and there is nobody at the university to complain to about it.   This is not a duplicate of , because its answer assumes that it is practical for the student to refuse. Work is not done by the magnetic field? Securing Cable when installing old work box I am installing an electrical outlet above a gas fireplace for TV.  I understand that electrical code requires securing the NM cable within 12" of outlet box.  I am curious how one goes about achieving this in a finished wall being that there is really no room to get hand, hammer, drill or screwdriver inside the wall through that box opening.   I am sure this is straightforward for experienced electricians but I have no idea how to go about this. How to avoid modifications during pg_dumpall I have a CSV with an address field (no lat/long), so I went to Google My Maps, imported the csv and geocoded of the records.  Now I export the layer as KML and added the KML to QGIS and Google Earth Pro, but in non of them I can see the markers. In fact in QGIS, the KML layer is added as datatable (no geometry).  What's happening? How can I export a geometry layer from google My Maps? allow you to create code which defines the methods of classes that implement it. You cannot however add any code to those methods.    allow you to do the same thing, along with adding code to the method.   Now if you can achieve the same goal with abstract classes, why do we even need the concept of interfaces?   I've been told that it has to do with OO theory from C++ to Java, which is what PHP's OO stuff is based on. Is the concept useful in Java but not in PHP? Is it just a way to keep from having placeholders littered in the abstract class? Am I missing something? The functions of each pair are inverse to each other. For each pair, check that both compositions give the identity function.  $F: \mathbb{R} \to \mathbb{R}$ and $F^{−1}:\mathbb{R} \to \mathbb{R}$ are defined by $F(x)=3x+2$ and $F^{−1}(y)=\dfrac{y−2}{3}$. for all y ∈ R  My attempt:     Inverse Function  For each particular but arbitrarily chosen $y \in \mathbb{R}$, according to the definition of $f^{-1}$, $f^{-1}(y) = \dfrac{y-2}{3}$ is a unique real number $x$ such that $f(x) = y$. \begin{align*} F(x) &amp; = y\\ 3x + 2 &amp; = y\\ x &amp; = \frac{y-2}{3} \end{align*} Therefore, $f^{-1}(y) = \frac{y-2}{3}$.  Compositions of Functions  The functions $g \circ f$ and $f \circ g$ are defined as follows: $$(g \circ f)(x) = g(f(x)) = g(3x + 2) = 3x + 2$$  for all $x \in \mathbb{Z}$. A site (or scraper) is copying content from Stack Exchange. What should I do? of Stack Overflow, all content posted on Stack Exchange sites by their users (i.e. you wonderful people) has been provided to the whole universe under . For my fellow non-lawyers, that license basically means:   Anyone can use any Stack Exchange posts at any time without having to ask for permission Making money off of the copied content is permitted You don't even have to copy stuff from here verbatim; you can just use it as a starting point and make whatever edits you want There are just two rules you have to follow:   You have to provide . Simple links to the original post and author info are just fine. You have to  and allow other people to use your content, as long as they follow these very same rules. How meta!    (If you ever forget any of that, and want to refresh your memory, the license info is linked to in the footer of every page.)  There are, in fact, a lot of people who republish varying amounts of our content for assorted reasons. Unfortunately, there are some Stack Content Republishers Attributing Poorly and/or Excelling at Ranking (SCRAPERs, for short).  In this context, "attributing poorly" means any use that doesn't follow our attribution rules or make any other reasonable attempt at give credit. This can get pretty egregious; I've seen SCRAPERs that not only don't link back to SE originals, but also use fake author info and post dates to make it harder to find originals. By "excelling at ranking," I'm referring to copycat sites that end up higher in Google results than the original SE sites do for the same content. That's not necessarily wrong, but in some cases, it indicates inappropriate SEO hackery.  So, the question is: what can you do if you spot a SCRAPER?