After using Firefox Quantum 66 for several months with a set of extensions, I started it today and found, that all of them have been moved to the "legacy extensions" section and disabled. The version of FF has not changed (major, minor - still the same). The versions of the addons have not changed. Updates have been disabled on the hardware level (yes, this is a highly customized device, there is nothing anyone can do about it).  They refuse to update as "download failed"  They refuse to install the latest version from file as "your extension is corrupt"  All I want is my extensions back and no one tamper with them.
All of my Firefox extensions were spontaneously and simultaneously disabled (converted to Legacy status) a few moments ago.  How can I re-enable them? Firefox 66.0.3 (64-bit)
Is there any way other than instanceof operator for object type comparison in java? I know that there is a simple way to shutdown the computer in command prompt, but is it possible to do system updates and then shutdown the computer in command prompt?   For example, when Vista needs to install updates, it will let me install them and shut down by clicking the Shut Down button (while relegating the normal shut down button into the menu). So is there a command to do this in command prompt? How to print only defined variables (shell and/or environment variables) in bash The bash builtin command set, if invoked without arguments, will print all shell and environment variables, but also all defined functions. This makes the output unusable for humans and difficult to grep.  How can I make the bash builtin command set print only the variables and not the functions?  Are there other commands which prints only the shell variables, without the functions?  Note: bash differentiates between shell variables and environment variables. see here The diophantine equation $x^2+y^2=3z^2$ I tried to solve this question but without success:     Find all the integer solutions of the equation: $x^2+y^2=3z^2$   I know that if the sum of two squares is divided by $3$ then the two numbers are divided by $3$, hence if $(x,y,z)$ is a solution then $x=3a,y=3b$. I have $3a^2+3b^2=z^2$ and that implies $$ \left(\frac{a}{z}\right)^2+\left(\frac{b}{z}\right)^2=\frac{1}{3} $$ so I need to find the rational solutions of the equation $u^2+v^2=\frac{1}{3}$ and I think that there are no solutions for that because $\frac{1}{3}$ doesn't have a rational root, but I dont know how to explain it.  Thanks Code is supposed to be exact and "as-is". Sometimes, showing two spaces is important. In a comment, it is not possible to show code with  multiple   spaces. This became apparent in  (see comments).  EDIT: apparently this bug is larger then I thought: multiple    spaces   here are neither preserved in normal question text. Pity (though I couldn't find this reported before, I'd assume it is).  Workaround: use Alt+0160 (windows), or U+00A0 (Unicode NBSP), as I did in the example above. How to Understand the Relationships Among Random Variables, Samples, and Populations? SF Short Story: alien apes invade during nuclear war Any way to have CPU temperature in the menu bar? I tried  and  but it does not update the temperature and I do not wish to change the fan speed. What does the '!' really do when it's added to an ex command (:wq! | :w! | :q! )? I understand that it means force to do something.  When doing $ vim -R file I enter in read-only mode, but this works as preventive mode only   -R  Readonly mode.  The 'readonly' option will be set for all the     files being edited.  You can still edit the buffer, but will     be prevented from accidentally overwriting a file.  If you     forgot that you are in View mode and did make some changes,     you can overwrite a file by adding an exclamation mark to     the Ex command, as in ":w!".  The 'readonly' option can be     reset with ":set noro" (see the options chapter, |options|).     Subsequent edits will not be done in readonly mode.  Calling     the executable "view" has the same effect as the -R argument.     The 'updatecount' option will be set to 10000, meaning that     the swap file will not be updated automatically very often.   But what I can't get yet is why it makes the instruction to skip permissions even if the file's owner is root user, besides it also change owner &amp; group. My router can do port-forwarding based on MAC addresses. That is, a specific MAC will get a specific IP, for which I can configure a set of ports to be forwarded. In order to easily change that set of ports, I'd like to have different connections in the Network manager.  How do I change the MAC address for a network connection? Performing reverse clip in ArcMap? Is there a way to perform a 'reverse' of the clip function in ArcMap?  I am not exactly sure how to explain this so here is a diagram: How to remove edit from edit queue? I asked a question on SO:  and got an answer that, while good, I thought could be improved with a minor edit:   After a little while, a comment on the answer showed me that I was wrong to have edited the answer.  How do I undo it? Definitions of "linearity" across branches of mathematics or levels of math education Linearity is a ubiquitous concept in mathematics; however, each branch of mathematics appears to have its own definition of what a linear map (function, functional, functor, transformation, form, operator, or whatsoever) is. These different definitions can lead to confusion, especially when people apply conflicting definitions of linearity to the same mathematical object (just  to figure out what I mean).  One of my favorite examples with potential for conflict is the natural logarithm $\ln : \mathbb{R}_{&gt;0} \to \mathbb{R}$, which the majority of people, as I could learn during hot disputations not only  but also with colleagues in my field, regard as clearly non-linear, even though it fully complies with the definition of a linear map from the vector space $\mathbb{R}_{&gt;0}$ to the vector space $\mathbb{R}$ (cf. Definition 4 below). A similar conflict arises analogously for the exponential function $\exp :\mathbb{R} \to \mathbb{R}_{&gt;0}$.  I do not want to initiate yet another discussion here, about what the right and what the wrong definition of linearity is! Rather, ...  ... I would like to compile a list of existing definitions, to get a better overview of the different uses of the term "linearity" across the different branches of mathematics and levels of education.    Let be begin with the following four, which are certainly far from constituting a complete list. What about bilinear or multilinear forms, linear morphisms and linear functors in category theory, linear metrics, or other concepts of linearity? I am looking forward to see your answers.  At school I was taught that     Definition 1:   A function $f$ is linear if it is of the form $f(x) = ax + b$.   Later I learned that $f(x) = ax + b$ is affine, rather than linear, because     Definition 2:   A function $f$ is linear if it is of the form $f(x) = ax$.   From real analysis and systems theory, I know the following     Definition 3:   A map $f$ is linear if         $f(x + y) = f(x) + f(y)$   $f(a \cdot x) = a \cdot f(x)$.      This definition also applies to the expected value in statistics, as        $\mathrm{E}(X + Y) = \mathrm{E}(X) + \mathrm{E}(Y)$   $\mathrm{E}(a \cdot X) = a \cdot \mathrm{E}(X)$.      In a linear algebra course, I learned for the first time that we must not forget to take into account that the vector-space operations of the domain and the codomain of a map $f$ may be dissimilar. In fact, if $(V, \oplus, \odot)$ and $(W, \boxplus, \boxdot)$ are two $\mathbb{K}$-vector spaces, then     Definition 4:   A map $f : V \to W$ is linear if         $f(x \oplus y) = f(x) \boxplus f(y)$   $f(a \odot x) = a \boxdot f(x)$.         Notice that I deliberately used distinct symbols for the operations in both vector spaces, to emphasize how this definition differs from Definition 3.   Correct me if I am wrong, but this definition should also apply to maps between two modules.    Updates: Viewshed Analysis With GDAL I am looking to perform a simple (one observer location) viewshed analysis on a standard DEM using GDAL (either python or .NET bindings).  I have searched, but haven't found any readily available implementation.  Can anyone point me in the right direction? When are you supposed to use escape instead of encodeURI / encodeURIComponent? When encoding a query string to be sent to a web server - when do you use escape() and when do you use encodeURI() or encodeURIComponent():  Use escape:  escape("% +&amp;=");   OR  use encodeURI() / encodeURIComponent()  encodeURI("http://www.google.com?var1=value1&amp;var2=value2");  encodeURIComponent("var1=value1&amp;var2=value2"); The symmetric cryptosystem one-time pad (OTP) seems to be very beautiful since it is perfectly secret according to Shannon. Many books, however, point out the main drawback: one must create a secret key the same length as the plaintext. For this reason, the concept of perfect secrecy has these days been abandoned, and we prefer other cryptosystems.   Now, for example, suppose I want to encode my text message with the ASCII scheme, and moreover suppose that this plaintext is 10 gigabytes long, therefore (using an OTP) the key must be the same length, 10 gigabytes. I think, however, this is a ''sustainable price'' because I'm sure that the ciphertext can't be attacked.  Practically, I don't understand why having such long keys with an OTP is a big disadvantage if we reach "the dream"-- namely, perfect secrecy. Nowadays the storage of information is very easy, so what is the real problem? I can, for example, share the "long key" in person. I've just installed a new SSD replacing an HDD in my old (late 2008) iMac. When I switched it on all I got on screen was a question mark.   On the advice of my son I tried cmdR during switch on with no result.   I then tried alt which at least got me a cursor on the screen, but nothing else. Any suggestions? I've got everything backed up on an external Hard Drive, by the way. There is a way to change top bar background opacity in ubuntu 20.04 lts.  I installed the hide top bar extension but is not a option to change it. was created on Server Fault, answered on Server Fault, I upvoted some of those answers on Server Fault, and then moved by consensus to Super User.  Now that the question is on Super User, I can upvote the same answers I previously upvoted on Server Fault. In the book , at page 27 we find the exercise asserting that       Exercise I.XXXVI.   The underlying space of a zero-dimensional scheme is discrete; if the scheme is Noetherian, it is finite.     Thoughts I thought that a zero-dimensional scheme is one such that, in every local ring $\mathscr O_{X,p}$, the only prime ideal is its unique maximal ideal $\mathfrak m_{X,p}.$ Hence, supposing that $X=\operatorname{Spec} R$ is affine, we deduce that every prime ideal is maximal, so each ponit in $X$ is closed. But how does this imply the discreteness? It only implies the Hausdorff-ness of $X$, right? Furthermore, I cannot perceive what the "Noetherianity" has to do with the finiteness claimed here. In the affine case, it seems to be claiming that there are only a finite number of prime ideals in a Noetherian ring, if its scheme is zero-dimensional? For example, $\mathbb Z$ is a Dedekind domain, hence its scheme is zero-dimensional, but it has infinitely many primes: does this contradict the statement?    Thanks in advance for any reference or hint, and point out any inappropriate point if any is presented. Edit I see why my example cannot work now: it is one-dimensinoal: don't forget the pirme $(0)$. But I am still wondering why the statement is true...