Backup Fails after upgrade to 20.04
How do I restore the default repositories?
Checkbox in listview control Can you have a multicolumn listview control where one of the columns is a checkbox?  Example code or links would be greatly appreciated.  I am using visual studio 2005 Ephemeral error message: "cryptsetup: unknown fstype, bad password or options?" If a SHA256 hash with high entropy is then hashed with one made from low entropy, is the resulting hash higher/same/lower entropy? If one were to create a SHA256 hash using 256 coin flips converted to hex (which, as I understand it, is as "entro-phized" as one can capture in SHA256) then take that hash as a string, combine that with a hash of the word "cat" and hash the resulting 512 character string, would the resulting hash from that exercise be any less random than our "perfect" hash we began with?  My thinking is the final string would capture the same amount as the original randomness as what we started with because the "extra" entropy can not be captured and is lost. Is this the case and am I thinking about this correctly? Would hashing something with high entropy with something simpler ever cause a lower amount of randomness or does it only go up?  Thanks to anyone who can help explain this a little better. Is "I am sat" bad English? I believe it is incorrect and instead either the present continuous     I am sitting   or the predicate adjective     I am seated   should be used.  I hear this quite often, however, and ultimately usage overrules formality.  Does anybody know where this originated or how to describe it grammatically? Fortunately, I can still login with this email address that I have lost access to.  I have been searching around here for a way to update it to the current one I use.  I have found many answers.  But they all give instructions to click on something not displayed or in one case, a page that prompts me to login via another email I no longer have the password for. I need current up to date instructions on how to change my email address or add another email-based login for this same user name that I am posting this with. How to disable X server autostart in Debian Jessie? Spaces in variable assignments in shell scripts What is the difference between below variables assignments?   var=23 var =23 var= 23 var = 23   Is there any difference in space around the assignment operator? Given two ciphertexts $c_1 = enc(p_1)$ and $c_2= enc(p_2)$ using any additive homomorphic encryption scheme (or specifically Paillier).   Can we find out whether the underlying plaintexts $p_1,p_2$ are equal without decrypting $c_1,c_2$ i.e. homomorphically? If two coins are flipped and one gets head, what is the probability that both get head? How to fix very slow Ubuntu booting? Linear regression in a loglog-plot with fixed slope Goal: create a plot to compare the empirical convergence rate of a numerical method with the one expected from the theory.  Accordingly, given a loglog-plot, I would like to add the line which has a prescribed slope (in this case, the convergence of the method) and the best intercept to fit the data (e.g., in a least-square sense).  Question: how to do a linear regression with fixed slope in pgfplots?  What I have done so far is the following: (1) compute the regression line (of the logarithm of the quantities), (2) save the intercept, (3) plot the line with the slope expected from the theory and this intercept.  This is a good approximation of what I am looking for, provided the data are in agreement with the theory.  Thanks  MdFB Other explanation for cosmological redshift? How do I calculate areas of an area shapefile in square meters (m²) or in acres (ha)? I didn't find that functionality in the Vector Tools. Number of pairs of strings satisfying the given condition We are provided with a string A (may contain repeated characters as well ). One needs to make all possible permutations of A , and find out how many pairs of strings chosen from these permutations are not similar.  Two strings are similar if we can make both of them exactly same by carrying out at most 1 swap in each of them .  Example :- if we are provided with string abcd  , then for permutation abcd , the permutations which are not similar to it are bcda , bdac , cadb , cdba , dabc , dcab . Similar is the case for other permuations as well. So overall number of desired pairs are 24*6=144 .  I tried solving it for each possible pair by approach mentioned here     But as the permutations can be large enough , I need a better approach of solving this. One confusion over conditional expectation Suppose for two random variables $X_1$ and $X_2$ $\sigma(X_1) = \sigma(X_2)$. Why $E[Y | X_1] = E[Y | X_2]$ a.e. ?  the set where $X_1= X_1(\omega)$ can be different from the set $X_2= X_2(\omega) $. How can then conditional expectation conditioned on the event can be equal ? Recently I have been working on a mini-game that gives a few players custom spawn eggs. I want the mob to simply have a name and be on a team. I'm attempting to use this command:   /give @p[x=-102,y=48,z=81,distance=..1] shulker_spawn_egg{Team:PurpleTeam,CustomName:"\"Purple Turret\""}   It does give the player a spawn egg, but the resulting shulker spawn does not have a team or a name. Any ideas why this isn't working? If $f:E\rightarrow S$ is an elliptic curve over a scheme $S$ (so $f$ is proper and smooth of relative dimension one with geometrically connected fibers of genus one, equipped with a section $0:S\rightarrow E$), then is the sheaf $\underline{\omega}_{E/S}:=f_*\Omega_{E/S}^1$ actually free of rank one? According to the statement of Grothendieck-Serre duality in Hida's book Geometric Modular Forms and Elliptic Curves, there should be a canonical isomorphism $\underline{\omega}_{E/S}\cong\mathcal{Hom}_{\mathscr{O}_S}(R^1f_*\mathscr{O}_E,\mathscr{O}_S)$, and the first result on elliptic curves in this book is that $R^1f_*\mathscr{O}_E\cong\mathscr{O}_S$. It's also not clear to me whether $S$ is being assumed (locally) Noetherian, but if that's necessary for Grothendieck-Serre duality to hold, then I'm fine with assuming it. I can't find another reference with a statement of Grothendieck-Serre duality in this generality which does not use the language of derived categories (which I unfortunately don't understand).  The reason I'm kind of skeptical about this is that in Hida's book, as well as in Katz-Mazur, it is said that $\underline{\omega}_{E/S}$ is invertible, so that an $\mathscr{O}_S$-basis $\omega$ for $\underline{\omega}_{E/S}$ can be found locally on $S$. If the invertible sheaf in question were really trivial then one would be able to choose a global $\mathscr{O}_S$-basis for $\underline{\omega}_{E/S}$, and there would be no reason to talk about doing so locally. Hida goes on to say that, choosing an $\mathscr{O}_S$-basis $\omega$ locally on $S$ allows one to regard $(\Omega_{E/S}^1,\omega)$ as a relative effective Cartier divisor in $E/S$, which also doesn't make complete sense to me because if we can only find $\omega$ locally, how are we getting a global section $\omega\in H^0(E,\Omega_{E/S}^1)=H^0(S,\underline{\omega}_{E/S})$ (unless $\underline{\omega}_{E/S}$ really is trivial)? Book series about aliens who put "caps" on people to control them Why is the Star Trek 2009 reboot called a reboot? Doctor Who (2005) isn't called a reboot. It is called a continuation of the old series. This was made possible by that regeneration ju-ju and stuff.  On the other hand, Star Trek 2009 reincarnation is often called a reboot. Nobody dared call it continuation. I don't think I need to do citation because it's common.  Now, if we actually go into the details:   The new universe contains two Spock. One is from the original timeline. The Spock Prime even gives data from the original timeline like trans-warp equation, Khan etc. We see other past data from before the timeline diverged. For example, Scott told that he transwarped Admiral Archer's dog. "Archer's dog" existed in Star Trek: Enterprise TV series.   So, why didn't the legacy survive in-universe? Why isn't it considered a continuation of the old Star Trek TV shows and movies?  Or, is the reboot word used by mistaken fans and media only?  Update: After the release of Star Trek: Beyond (2016), this is no longer a confusion as the movie showed a photo from original timeline. When to use static classes in C# Here's what :   static class CompanyInfo {     public static string GetCompanyName() { return "CompanyName"; }     public static string GetCompanyAddress() { return "CompanyAddress"; }     //... }       Use a static class as a unit of   organization for methods not   associated with particular objects.   Also, a static class can make your   implementation simpler and faster   because you do not have to create an   object in order to call its methods.   It is useful to organize the methods   inside the class in a meaningful way,   such as the methods of the Math class   in the System namespace.   To me, that example doesn't seem to cover very many possible usage scenarios for static classes. In the past I've used static classes for stateless suites of related functions, but that's about it. So, under what circumstances should (and shouldn't) a class be declared static?