How do I automatically get the timezone offset for my local time zone?
Getting computer's UTC offset in Python
Does anybody know how to make a 'always-on-bottom'-windows, or a window pinned to the desktop? It should receive focus and mouseclicks, but should stay at the bottom of the Z-order. It would also be great if it could stay on the desktop even when user do a minimize all or show desktop operation.  Both delphi and c# solutions (or partial solutions/hints) would be great. Why do we use residuals to test the assumptions on errors in regression? Suppose that we have a model $Y_i = \beta_0 + \beta_1X_{i1} + \beta_2X_{i2} + \dots + \beta_kX_{ik} + \epsilon_i$.  Regression has a number of assumptions, such as that the errors $\epsilon_i$ should be normally distributed with mean zero and constant variance. I have been taught to check these assumptions using a normal QQ plot to test for normality of the residuals $e_i = Y_i - \hat{Y}_i$ and a residuals vs. fitted plot to check that the residuals vary around zero with constant variance.  However, these tests are all on the residuals, not the errors.  From what I understand, the errors are defined as the deviation of each observation from their 'true' mean value. So, we can write $\epsilon_i = Y_i - \mathbb{E}[Y_i]$. These errors cannot be observed by us. *  My question is this: how good of a job do the residuals do in mimicking the errors?   If the assumptions appear to be satisfied on the residuals, does this mean they are satisfied on the errors too? Are there other (better) ways to test the assumptions, like fitting the model to a testing dataset and getting the residuals from there?    * Furthermore, does this not require that the model is specified correctly? That is, that the response really does have a relationship with the predictors $X_1, X_2,$ etc. in the way specified by the model.  If we are missing some predictors (say, $X_{k+1}\ \text{to}\ X_p$), then the expectation $\mathbb{E}[Y_i] = \beta_0 + \beta_1X_{i1} + \beta_2X_{i2} + \dots + \beta_kX_{ik}$ would not even be the true mean, and further analysis on an incorrect model seems pointless.  How do we check whether the model is a correct one? How to change the disk space left warning in Windows 7? my disk has over 100GB of free space, but the usage bar in Computer is displayed in red, as if it reached a low space limit. It looks like Windows applies the same 10% or 15% hard disk space value for low space warnings, regardless of if the disk is 50GB in size or 1.5TB, which is not very smart and obsolete for most recent computers.  Is there a Registry key or some place I can change this percentage so the usage bar displays in green, not red?  The hibernation and page files are already reserved (5GB together), so surely the low space warning for a 1.5TB disk should be 5-10GB, not 150GB or more. The way Windows 7 computes the low space limit seems pretty dumb, not much Intellisense there.  This is not a high priority issue, but it makes the Computer applet look pretty stupid and it's irritating every day to see that 100GB of free space is putting my computer in the red. It would also be nice to be able to edit this low limit percentage in Computer/Manage/Storage/Disk Management or directly in the disk properties ("Tools" tab). I'm taking a course on waves and oscillations using Crawford from the Berkeley series (out of print excluding international copies), and would like to know if anyone has any suggestions for a better book. We cover:    coupled oscillators, forced oscillators,  Fourier analysis,  traveling waves,    and some other topics. Any help with the topic would be appreciated. If a batsman hits the ball inside the ground and begins running between the wickets and now the ball is thrown back to the Fielder/Bowler/WK(FBWK)    If the FBWK catches the ball in one hand and hits the stumps with other hand before the batsman gets reached, is this a run out? If the FBWK catches the ball in hands and hits the stumps with leg or any other part of his body before the batsman gets reached, is this a run out?   This scenario can occur, when the ball was thrown far away from stumps. Density of finite rank operator in compact operators on Hilbert spaces Find angle UFO in the picture attached I sent this problem to Presh Talwalkar who suggested me to send it to this site. I tried many things but was not able to find the correct solution.   I made various segments trying to get an equilateral triangle similar to the Russian triangle problem, but no success.  I also tried to flip the triangle UFO over side NO but again no success.   I tried to find like triangles, but not enough.  Could you please give me a hint?   Thanks, R. de Souza I own a Panasonic DMC-G81 (same as G80/G85) with in-body Image Stabilization.  When turned on everything is just fine, but when turned off, the sensor is wobbling around in the body. When no lens attached, it's clearly visible moving about 1/2 cm in the body. I didn't find anything about it in the internet. Shouldn't the sensor be in a kind of parking position, should I worry about the sensor ?  I'm not sure if that is the usual behavior, maybe someone with the same or similar body can have a look. How can I completely disable internal Mic and Webcam I want to disable the internal Microphone on my laptop and the internal Webcam completely that they're no longer selectable, and no longer available?  I will only use my external Webcam, and my external (USB) headset.  The internal audio should still be available for playback. htaccess subdomain How can I find my Bug-report that I submitted from the Desktop on launchpad?  I have found a partial solution to my own question:  The program that sends the Bug-reports from the desktop is called apport. It doesn't requires a launchpad account. The service whoopsie submits the Bug-Report directly to the server daisy.ubuntu.com (I'm not sure if those bugs actually appear on launchpad publicly.)  But I found my Bug-Report on my Harddisk in /var/crash/ .  From there I can copy and paste parts of the file to my opened bug on launchpad. Thanks for your tips.  Original question:  I had a severe bug, and I found someone with the same problem in launchpad. After I found a temporary fix I was able to submit the bug with the ubuntu-bug-reporter.  How can I find this ubuntu-bug-reporter generated bug-report in launchpad? I would like to combine those two bug-reports (mark as duplicate). Because the generated one has all the debug information and the other one has the description of this bug. TexStudio IEEEtrantools package issue. User .cwl file? I am using TexStudio 2.9.4 on Windows 7. There is a problem that has been raised here at least once. It is that TexStudio flags unrecognised command  to  \begin{IEEEeqnarray}{rCl} and then within the environment flags expressions like \mathrm as being used outside the math environment. The fix (on Windows) is to manually edit the file C:\Users\USER\AppData\Roaming\texstudio\IEEEtrantools.cwl adding:  \begin{IEEEeqnarray}{cols}#\math,array \end{IEEEeqnarray} \begin{IEEEeqnarray*}{cols}#\math,array \end{IEEEeqnarray*}   in place of the \IEEEeqnarray entry there.   This works but is there a separate file that I could add (eg myfixes.cwl) which TexStudio would read? Burying the fix in a big autogenerated file is not ideal.  BTW is there any documentation on the format of .cwl files? What geometric object is given by this equation? Mixing and Distributing Qualifiers ($\forall x$, $\exists x$) proving logical equivalence $(P \leftrightarrow Q) \equiv (P \wedge Q) \vee (\neg P \wedge \neg Q)$ I am currently working through Velleman's book How To Prove It and was asked to prove the following  $(P \leftrightarrow Q) \equiv (P \wedge Q) \vee (\neg P \wedge \neg Q)$  This is my work thus far  $(P \to Q) \wedge (Q \to P)$  $(\neg P \vee Q) \wedge (\neg Q \vee P)$ (since $(P \to Q) \equiv (\neg P \vee Q)$)  $\neg[\neg(\neg P \vee Q) \vee \neg (\neg Q \vee P)]$ (Demorgan's Law)  $\neg [(P \wedge \neg Q) \vee (Q \wedge \neg P)]$ (Demorgan's Law)  At this point I am little unsure how to proceed.   Here are a few things I've tried or considered thus far:  I thought that I could perhaps switch some of the terms in step 3 using the law of associativity however the $\neg$ on the outside of the two terms prevents me from doing so (constructing a truth table for $\neg (\neg P \vee Q) \vee (\neg Q \vee P)$ and $\neg (\neg P \vee \neg Q) \vee \neg (P \vee Q)$ for sanity purposes)  I can't seem to apply the law of distribution since the corresponding terms are negated.  Applying demorgans law to one of the terms individually on step 2 or 3 doesnt seem to get me very far either.  Did I perhaps skip something? Am I even on the right track? Any help is appreciated Where is the operator panel in Blender 2.8? The tutorial I read is based on 2.79. So I'm not sure if it's still the same name in 2.8. But I can't find anything providing similar functionalities. Sum over multiple indices Why is this power adapter transformerless? Iterated self-composition of arbitrary function Does there exist some notation that represents the iterative composition of a single-input, single-output function with itself? As in, say, $f_5(x)=f(f(f(f(f(x)))))$.  In other words, going by the above (incorrect, I'm pretty sure) notation:  $f(x)=x+1$, $f_n(m)=m+n$  I'm looking for the correct way to express the notion of "$f_n(x)$" for any $f$. What do you call the functions that make a composite function.  Example : $e^{\sin x} $ is made up of $\sin x$ in the argument of $e^x$  So what are $\sin x$ and $e^x$ called here in this context? Basic functions or something?   (Please don't tell me the former is trig and latter is exponential function, I know that, but that's not what I'm asking here, please try to understand)  Hope I made myself clear.