Django - Auto run scripts at certain time on Live Server
Set up a scheduled job?
Zsh get terminfo keys with modifiers Stein's lemma condition (Apologies if I break some conventions, this is my first time posting!)  I am working on proving Stein's characterization of the Normal distribution: for Z $\sim N(0,1)$ and some differentiable function $f$ with $E[|f'(Z)|] &lt; \infty$, $$E[Zf(Z)] = E[f'(Z)]$$ Writing the LHS expression in integral form and integrating by parts, I eventually obtain: $$E[Zf(Z)] = \frac{1}{\sqrt{2\pi}} \left[ -f(z) \cdot \exp \left\{ \frac{-z^2}{2} \right\} \right] \Bigg|_{-\infty}^{\infty} + E[f'(Z)]$$ Now I need to show that the first expression on the right hand size is zero. Intuitively, this seems clear because of the exponential term, but I am having trouble explicitly applying the condition on $f'$ to prove this rigorously. Any ideas? My technophobe mother returned from a European trip to discover she'd erased all but 15 images from a nearly full 2GB card. As I am the computer guy in the family, she posted the card to me and asked that I make something magical happen.  The photos were taken with and deleted by a Nikon Coolpix. (I don't know the model.)  I am a Linux guy, but there is a Windows Vista box at my disposal.  What is my best strategy to try to recover something? What's wrong with this experiment showing that either FTL communication is possible or complementarity doesn't hold? The assumptions are:    Alice and Bob have perfectly synchronized clocks Alice and Bob have successfully exchanged a pair of entangled photons   The idea is simply to have Alice and Bob perform the Quantum Eraser Experiment (doesn't need to be the delayed choice).   Alice and Bob agree on a specific time when Bob's photon will be between the "path marker" (which is usually just after the slits) and the detector.  If Alice acts collpasing the wave-function on her photon, the interference pattern will disappear. If not it won't.  Alice and Bob can be spatially separated...  What am I misunderstanding?   The only meaningful difference from this spatially separated quantum eraser experiment to one done on tabletop is that you won't be able to use a coincidence detector, but that is not impeditive to identifying the interference pattern, just will make errors more probable. Which we should be able to deal with a appropriate protocol...  There is a experimental paper with a small amount of citations pointing out to the breaking of complementarity in a very similar setup: Getting ssh to execute a command in the background on target machine What exactly happens to the signals hitting a common mode choke? I'm trying to better understand the principles behind the common mode choke. I made a few drawings to clarify.  &nbsp; Differential Mode Signals  Differential currents (driven by differential voltages) create equal but opposite magnetic fields B in the inductor core:    These magnetic fields cancel each other out, so the net flux in the core is zero. As such, these differential currents don't "feel" any impedance.  &nbsp; Common Mode Signals  In contrast, common mode currents generate equal and additive magnetic fields in the core. That's why they "feel" a high impedance, and cannot get through (or getting through means they are highly attenuated).    But what exactly happens? I have several theories, which I will describe below.  &nbsp; Common Mode Signals - Theory 1  My first thought would be that the common mode signal hits the choke and creates a magnetic flux inside. By doing this, lots of energy is lost (hysteresis and perhaps other effects) as heat. Only a small part gets through:      What kind of common mode choke would behave in this particular way? "Burning up" the voltage spike seems a very desirable effect to me.  &nbsp; Common Mode Signals - Theory 2  Perhaps the voltage spike doesn't really get the chance to build up much magnetic flux in the core, or maybe the core is simply not "lossy" enough. The voltage spike bounces off the core and turns back. Only small part gets through:    Although the system on the right side of the choke is protected, the system on the left has to deal with reflected signals. Nasty things like standing waves might appear.  &nbsp; My questions  I've got a few questions for you:   Do you think theory 1 or theory 2 is most plausible? Do you think certain types of common mode chokes tend to behave as described in theory 1, others like in theory 2? Perhaps both of my theories are just plain wrong. If so, what actually does happen?   Please enlighten me. Why does $\log(n!)$ and $\log(n^n)$ have the same big-O complexity? In an example that I found, it is said that $\log(n!)$ has the same big-O complexity as $\log(n^n)$. Please explain why this is the case. How does Duff's device work? Detecting an undefined object property Suppose you want to ask someone to do something, say to tell you the way to a station. Which is more polite, "Would you tell me the way to the station?" or "Could you tell me the way to the station?"? Dynamic Symlinks I have built my app for different architectures and would like to create a "dynamic symlink" which takes me to the right version based on a variable.   If the machine I am currently logged in to, is x86, then the symlink should take me to that build.  A mocked example of what I want to do:  $ uname -i x86_64  $ ls -ltr  lrwxr-xr-x  1 dogbane gg     4 Feb 16 15:40 mylink -&gt; @sys/ drwxrwxr-x  2 dogbane gg  2048 Feb 16 15:40 x86_64/ drwxrwxr-x  2 dogbane gg  2048 Feb 16 15:40 i386/  $ cd mylink  $ pwd -P ~/x86_64   Is this possible?   I know I can use cd $(uname -i), but want something simpler. Sending email in .NET through Gmail Instead of relying on my host to send an email, I was thinking of sending the email messages using my Gmail account. The emails are personalized emails to the bands I play on my show.   Is it possible to do it? Why an I getting Err 01 with my Canon camera and lens? So I just got a Canon Rebel T4i and I'm having trouble with my lens (18-135mm STM lens). It's when I have my camera on movie mode, when I'm setting my aperture the blades won't change. I can only set to f/3.5 and f/20, and when I keep trying to change it my camera will give me error 01. So I clean the lens contacts and when I try again, my lens makes a noise and error 01. please help. I don't know what to do... We have the following points: $$ (0,0)(1,51.8)(1.9,101.3)(2.8,148.4)(3.7,201.5)(4.7,251.1)  \\ (5.6,302.3)(6.6,350.9)(7.5,397.1)(8.5,452.5)(9.3,496.3) $$ How can we find the best fitting line $y=ax$ through the points? My calculator has the option to find the best fitting line $y=ax+b$ through these points, which is:  $$y = 53.28x + 0.37$$  How can I find the best fitting $y=ax$? It seems to me we can't just remove the $0.37$ without compensating in the $a$? Is it possible to password protect a zip file created by Windows itself (without external tools?) It seems that a common operation needed when defining new commands is to scan over a list of arguments (separated e.g. by a comma, but maybe by something else) and do something with each argument in the list, find the last one, or whatever.  For example to write commands that look like \Command{a,b,c} or \Command{c.d.e} and do something with each a, b, and c. See e.g. questions on  and .  Some solutions have been posted there, but what would be the best idiom to perform such kind of operations? LaTeX's \@for looks very nice, but is it possible to use it to scan anything other than comma-separated lists? So today I woke up and noticed new item in inventory which was a booster pack containing 3 cards from L4D 2. From what I see on market these booster packs are new (graph only shows up to 19 of June). No matter the game it seems to always contain 3 cards. There are two actions I can do with it: unpack or sell. There is fancy animation when you unpack the booster ;)    I'm not exactly sure why I got it, I have few guesses:   I got new badge, power player - this could give me a booster? Because of new badge I reached level 10 - maybe every couple levels there are gifts? It just dropped randomly for everyone?   Maybe together we could rule out above guesses. It's also interesting from the point of market, to estimate how many boosters are there. With some games they seem to be more valuable than 3 cards separately, but that maybe only initial confusion. Is it possible to install Office 365 (2013) on Ubuntu 15.04 Vivid Vervet? I would like to install Office 2015/365 on Ubuntu 15.04. I tried to install Office using Wine, but that did not work. Please note that I do not want virtualisation unless it has a -like behaviour, where application windows are treated like regular Ubuntu application windows by the system. Around 3 months ago, I submitted a paper to a Math journal for peer-review through an online submission system. The same day I received in my e-mail an acknowledgement saying that the paper had been received.  The problem is that the status of the paper on the online submission system is still "Manuscript submitted".  I think this means that the paper has not even been assigned to an editor yet (once this happens, the editor will probably start looking for reviewers), but as far as I know submissions are assigned to editors within a few weeks (I once submitted a paper to another journal and when an editor had been assigned, the status on the online system changed to "Editor handles" or something like that).  I know that publishing is a long and complicated process and I'm not trying to rush anybody, but sometimes manuscripts are lost in the system. In fact, this has once happened to me, so I just want to make sure that the paper was not lost in the system.  Should I send an e-mail asking for the status of the paper?  PS: I think that, at the time of submitting the paper, I didn't choose any specific editor to submit the paper to. When I parent mesh to an armature (automatic weights), the mesh "jumps" forward a bit. If I select armature and switch to edit mode it "jumps" backward a bit.   Why is it happening and how can I fix it? I already applied location, rotation, and scale to the mesh and armature, but it didn't help.  Thank you in advance!