When I use the Bulb function for long exposure shots on my Canon 60D, I find the Image Review afterwards takes for ever to appear...  the camera displays 'busy' for nearly as long as the exposure took.  It does not seem right.  Any suggestion re settings?
Last night I took some night sky shots, and I've noticed that with long exposure times (15s, 30s) the time it took to store the images in the camera memory card (jpeg) took roughly as long?  The actual file size is fairly small at 1 to 3MB per file.  Any idea why this is?
How do I convert two lists into a dictionary? Proving by strong induction that $\forall n \ge 2, \;\forall d \ge 2 : d \mid n(n+1)(n+2)...(n+d-1) $ How to find the mime type of a file in python? Let's say you want to save a bunch of files somewhere, for instance in BLOBs. Let's say you want to dish these files out via a web page and have the client automatically open the correct application/viewer.  Assumption: The browser figures out which application/viewer to use by the mime-type (content-type?) header in the HTTP response.  Based on that assumption, in addition to the bytes of the file, you also want to save the MIME type.  How would you find the MIME type of a file? I'm currently on a Mac, but this should also work on Windows.   Does the browser add this information when posting the file to the web page?  Is there a neat python library for finding this information? A WebService or (even better) a downloadable database? Remove subscribers from Auto Suppression List Read data from Excel file in Objective-C (iPhone) I dragged a file to the recycle bin a few days ago. I have Windows 7 premium on a 245 GB partition, a 240 GB SSD, and a 250 SSD. And somewhere in the past few days I incidentally installed Delta Search. I know I should remove it right away, but I just switched to Windows on the partition of a 3.5 1 TB drive and would like to restore that file and deal with the malware after Christmas is over.  I'm pretty sure I know what drive that deleted files should be on, but what is the real name of the recycle directory and exactly where is it located? In other words, if I know the name of the drive what would the rest of the path look like so I can just paste it in my Explorer window and change the drive letter. numbers of pages don't appear on pdf printed How to concatenate text from multiple rows into a single text string in SQL server? Consider a database table holding names, with three rows:  Peter Paul Mary   Is there an easy way to turn this into a single string of Peter, Paul, Mary? Is it required for panel data to use dummy variables? I am doing research considering seven countries and I have panel data. My question is: do I need to include dummy variables every time I use panel data in regression, or is enough to do it as a fixed effect in Stata, without dummy variables? How to use C++ 11 features in the latest version of g++ Newbie here. I just got an error running from the terminal a C++ program I wrote: error: ‘stoi’ is not a member of ‘std’. They told me the compiler is too old.  I'm using Ubuntu 14.04.  My g++ version is 4.8.4.  How do I upgrade? How does ownership in fractional shares work? I've been trying to find out some more information about fractional shares, and how they work. I understand conceptually, you own x% of a share rather than x "full" shares, but I'm curious about how such a system is implemented.  As I understand it, in a "traditional" purchase of shares, the role of a broker is to act as an executor on your behalf, and does not hold any assets themselves. In the case of a fractional share, is this then not the case? For example, the broker holds the complete shares, and then just ensures that they keep an internal record of each partial owner in their system? So there would be no external record of partial ownership?  Thanks! How do they express the time, in American and British English? Copying protected files between servers in one line? I'd like to copy squid.conf from one server to another.   The servers don't talk to each other. I'd like to go through my workstation. Both servers have the file, so it will be overwritten on the target. The files have 600 permission and are owned by root. root login via ssh is disabled (PermitRootLogin no). I'd like to do it in one line, if possible, since it will be a part of a setup guide.   I know to do  ssh source 'tar czpf - -C /etc/squid/ squid.conf' | \     ssh target 'tar xzpf - -C /etc/squid/'   to copy files between servers and preserve permissions. However, in this case I will get "Permission denied".  I also know I can do this:  ssh -t source 'sudo cat /etc/squid/squid.conf'   This way the -t allows sudo to ask for the admin password before outputing the content of the file.  The problem is, I don't know how to combine those techniques into something that will ask for the sudo password on each server, and transfer the file to its destination. Is this possible?  UPDATE: Here's the best I could come up with:  ssh -t source 'sudo tar czf /tmp/squid.tgz -C /etc/squid squid.conf' &amp;&amp; \ ssh source 'cat /tmp/squid.tgz' | \     ssh target 'cat &gt;/tmp/squid.tgz' &amp;&amp; \ ssh -t source 'sudo rm /tmp/squid.tgz' &amp;&amp; \ ssh -t target \     'sudo tar xzf /tmp/squid.tgz -C /etc/squid &amp;&amp; sudo rm /tmp/squid.tgz'   Calling this a one-liner seems like a stretch. I think I'll just break it down to separate steps in the setup guide. What is wrong with the following "proof" that $e=1$? Let's analyze this expression   $\lim_\limits{n\rightarrow\infty} (1+\frac{1}{n})^n$  It's the definition of $e$ which, as we know is not equal to $1$. So what is wrong with the following "logic":  As $\lim_\limits{n\rightarrow\infty}(a_{n}b_{n}) = \lim_\limits{n\rightarrow\infty}(a_{n})\times\lim_\limits{n\rightarrow\infty}(b_{n}) $ and $\lim_\limits{n\rightarrow\infty}(1+\frac{1}{n}) = 1$, we can say that $\lim_\limits{n\rightarrow\infty} (1+\frac{1}{n})^n=1^n$, which is equal to $1$.  I know something's wrong there, but the question is - what? How do you add more than one phone number on iMessage? My sisters and I all have iPhones under the same account. I also have an iPad under the same account. I am trying to get the iMessage on my iPad compatible with my phone number, not email address.   The only phone number choice to choose from is my sister's iPhone number. How can I choose my phone number for iMessage on my iPad? In PHP (>= 5.0), is passing by reference faster? In PHP, function parameters can be passed by reference by prepending an ampersand to the parameter in the function declaration, like so:  function foo(&amp;$bar) {     // ... }   Now, I am aware that this is not designed to improve performance, but to allow functions to change variables that are normally out of their scope.  Instead, PHP seems to use Copy On Write to avoid copying objects (and maybe also arrays) until they are changed. So, for functions that do not change their parameters, the effect should be the same as if you had passed them by reference.  However, I was wondering if the Copy On Write logic maybe is shortcircuited on pass-by-reference and whether that has any performance impact.  ETA: To be sure, I assume that it's not faster, and I am well aware that this is not what references are for. So I think my own guesses are quite good, I'm just looking for an answer from someone who really knows what's definitely happening under the hood. In five years of PHP development, I've always found it hard to get quality information on PHP internals short from reading the source. With slapd.conf you could globally disable anonymous binding and require authentication with the following static directives:  disallow bind_anon require authc   How can I achieve the same global settings, but using the new cn=config live configuration method? Suppose that $U_n=\frac{1}{\sqrt{2n\sigma^2}}\left(\Sigma X_j-\Sigma Y_j\right)$,  where $X_1,X_2,\ldots$ and $Y_i,Y_2, \ldots$ are i.i.d. sequences of random variables with mean $\mu$ and variance $\sigma^2$ and the sequences $\{X_i\}$ and $\{Y_i\}$ are independent.  Then, for all real numbers $x$, show that, as $n\to \infty$,  $$\mathbb{P}(U_n\leq x) \to  \int_{-\infty}^{x} \frac{1}{(\sqrt(2\pi))} \:e^{-\frac 12{u^2}}\mathrm du $$ Approach  I tried to carry out the integration on the right, but this does not integrate nicely. It ends up involving an error function, so I figured this was the wrong was to go.  Should I be looking at convergence in probability to answer this question? Is Chebyshev's inequality relevant here? If so, how and how does that relate to the integral? "Needs cleaned" or "needs to be cleaned" Do the beacon lighters really live on top of the mountains? Following this image I found online:    Do the beacon lighters really live on top of the mountains?  It seems really cold on top of some of these mountains and there are no villages or whatsoever.