If I use film from the 1980s that was put into the freezer ever since it was bought by my great grandfather, will it still work?
I recently bought a Minolta film camera and it had some film with it. The film is dated 1991 - 1994. Can I use the film?
Chapterwise page range in the TOC Can you give me some advice for how to obtain the following format of the TOC?        Chapter’s heading 1-7   Chapter’s heading 9-10   Chapter’s heading 11-15 Is there a better way to do optional function parameters in JavaScript? I've always handled optional parameters in JavaScript like this:  function myFunc(requiredArg, optionalArg){   optionalArg = optionalArg || 'defaultValue';    // Do stuff }   Is there a better way to do it?  Are there any cases where using || like that is going to fail? Input password into SSH without typing What HTML tags are allowed on Stack Exchange sites? A two column loop with one lead post I got a loop from internet (I forgot the site) for two column post view. It has a nice CSS for it too. But skipping that for the question now.  &lt;?php $counter = 1; ?&gt;                  &lt;?php query_posts( 'cat=3&amp;showposts=6' ); //Find whether the catID is 3 ?&gt;             &lt;?php while ( have_posts() ) : the_post() ?&gt;                   &lt;?php /* Two Column Support get class */ ?&gt;              &lt;?php $class = ( $counter % 2  ? ' one' : '' ) ?&gt;                  &lt;?php /* Two Column output open the div class */ ?&gt;              &lt;div class="column&lt;?php echo $class;// echo $first; ?&gt;"&gt;              &lt;?php news_format(); ?&gt;             &lt;/div&gt; &lt;!-- End Two Column Support close div class --&gt; &lt;?php $counter++; //Update counter ?&gt;   It printed my posts into 2 columns like:  ========= | 1 | 2 | --------- | 3 | 4 | --------- | 5 | 6 | =========  It's fine. But I want to print it like this:  ========= |   1   | --------- | 2 | 3 | --------- | 4 | 5 | --------- | 6 | 7 | =========  What the modification I need to do? I can't pass any custom limit into the WordPress' custom loop &lt;?php while ( have_posts() ) : the_post() ?&gt;. It's for a custom theme. I did it, but the problem is, it's showing like:  ========= |   1   | --------- | 1 | 2 | --------- | 3 | 4 | --------- | 5 | 6 | =========   is my whole bunch of code. When I'm not exploring fresh caves or lands in minecraft, I'm busy trying to find deposits of diamond, gold and iron deep in the earth. So far I've just been digging around just above bedrock on a whim to look for these rare minerals but I've started thinking that I should be taking a more controlled, efficient approach to mining.  What is the optimal mining strategy that yields the most rare minerals while minimizing blocks removed and time spent digging and traveling?  Edit: The existing answers are great for mining, but no one has addressed travel time to and from the mine which is usually ~60 blocks downward and incredibly tedious. Solutions? calculator's angle answer for trig ratios that can work in more than 1 quadrant on the unit circle Why does the calculator do a cc (counterclockwise) rotation for positive trig ratios instead of clockwise,  and a clockwise rotation for negative sine &amp; tan instead of cc and a counterclockwise rotation for negative cos ratios instead of a clockwise   ie. in degree mode  $\cos^{-1}(-5/12)=114.62$  $\sin^{-1}(-5/12)=-24.62$  $\tan^{-1}(-5/12)=-22.61$  Is it maybe picking the value that involves the least amount of computing power? or is it a matter of convention? or am I overlooking something? I like some of the features provided by the Vim-LaTeX suite, but not all of them.  In particular, I dislike all of the mappings like [[ = \left[ \right] and the automatic placeholder stuff with &lt;++&gt;. I am a very fast typist but with that comes more typing mistakes, which I correct almost instantly by pressing backspace. Unfortunately, if something has automatically added a bunch of place-holders or expanded some expression, I then have to move around the document and remove more characters than necessary. For example, if I accidentally press [ twice, instead of only having to delete one character, I have to delete 10.  Having already looked through the documentation, and some of the source, I have managed to disable some of these "features", but not all of them:  In particular:  let g:Tex_SmartKeyBS = 0 let g:Tex_SmartKeyQuote = 0 let g:Tex_SmartKeyDot = 0   (Turn off maps for backspace, double quote and triple dot.)  let g:Imap_UsePlaceHolders = 0   (Turn off &lt;++&gt; placeholder insertion.)  But I can't seem to find a way of turning off the other stuff. Anyone have any suggestions?  Edit: I was able to "disable" some more things by setting:  let g:Tex_Leader = '`tex' let g:Tex_Leader2 = ',tex'   (Which stops some expansions but still not all. It's not really disabling it but just making it less likely that you're going to type in `texa as opposed to the potentially more common `a, for example.)  PS: Personally, I think it is very poor practice to make an optional package that, when installed, greatly changes the default handling of your system. I don't mind some intelligent source highlighting etc, or some new commands (that don't clobber any old ones), but it seems unhelpful to enable this drastic kind of key remapping by default. Why images are blury when extracting image sequence from video clip? I have an issue when generating an image sequence from a video clip. Pictures 1,2,and 3 are three consecutive images from a video clip. Picture 4 is a close-up of the heel of one of them. The camera is on a tripod. As you can see there is no issue with the brick wall, but with any moving part there is. The camera is a Panasonic HDC-SD100. The clip is AVCHD 1920/1080. If I use VLC to extract the image sequence there is no issue. I use all the default settings except for the rendering resolution which I set to 100% and image compression to 0%. I have the issue with Blender 2.79b and 2.80. With this image issue it is impossible to do camera tracking. Any ideas what I need to do in order to solve this. Best regards. I am trying to solve the following two problems:  1) Prove that the functions $\cos(z)$, $\sin(z)$ are surjective over the complex numbers.  2) Find all $z \in \mathbb C$: $cos(z) \in \mathbb R$ and find all $z \in \mathbb C$: $\sin(z) \in \mathbb R$.  For 1),I've tried to prove it for the function $\cos(z)$ (I suppose the other one is analogue)  so I've used the fact that $\cos(z)=\dfrac{e^{iz}+e^{-iz}}{2}$.  Let $w \in \mathbb C$, I want to show there exists $z \in \mathbb C : f(z)=w$, i.e., $\dfrac{e^{iz}+e^{-iz}}{2}=w$, multiplying by $2$ and then by $e^{iz}$ yields $e^{2iz}+1=2we^{iz}$ iff $e^{2iz}-2we^{iz}+1=0$.   I don't know if this approach is the correct one but here I've replaced $e^{iz}$ by $x$, so the solutions of the equation would be the roots of the polynomial $p(x)=x^2-2wx+1$, by the quadratic formula, I get that $x \in \{\dfrac{2w+w_0}{2},\dfrac{2w-w_0}{2}\}$, where $w_0^2=4w^2-4$.  Then, $e^{iz} \in \{\dfrac{2w+w_0}{2},\dfrac{2w-w_0}{2}\}$. At this point I got lost, I would like to explicitly show that $z$ exists and I can't see existence directly from the fact that $e^{iz}=\dfrac{2w+w_0}{2}$ or $e^{iz}=\dfrac{2w-w_0}{2}$.  First I thought of taking logarithm of both sides of the equation ir order to solve for $z$, but this is not a legitimate operation unless $e^{iz} \in \mathbb R$.   I couldn't go any farther.  For point 2) I have no idea what to do, should I use the identity $\cos(z)=\dfrac{e^{iz}+e^{-iz}}{2}$?  I would appreciate some help with the two points (specially with point 2), at least in 1) I could do something).   Btw, Happy new year! Meaning of $\int \phi^\dagger \hat A \psi \:\mathrm dx$ While analysing a problem in quantum Mechanics, I realized that I don't fully understand the physical meanings of certain integrals. I have been interpreting:    $\int \phi^\dagger \hat A \psi \:\mathrm dx$  as "(square root of) probability that a particle with state $|\psi\rangle$ will collapse to a state $|\phi\rangle$ when one tries to observe the observable corresponding to $\hat A$" $\int \phi^\dagger  \psi \:\mathrm dx$ as "(square root of) probability that a particle with state $|\psi\rangle$ will collapse to a state $|\phi\rangle$".   All integrals are over all space here, and all $\phi$s and $\psi$s are normalized.  Now, I realize that  interpretation of the first integral doesn't really make sense when put side by side with the second one.   For example, when $|\phi\rangle$ is an eigenstate of $\hat A$, I get two different expressions for "the square root of probability that one will get the corresponding eigenvalue of $\psi$ when one tries to observe the observable corresponding to $\hat A$". As far as I can tell, $\int \phi^\dagger \hat A \psi \:\mathrm dx \neq\int \phi^\dagger  \psi \:\mathrm dx $, even if $|\phi\rangle$ is an eigenstate of $\hat A$. I am inclined to believe that the second integral is the correct answer here (it comes naturally when you split $|\psi\rangle$ into a linear combination of basis vectors). But I am at a loss as to the interpretation of the first integral.  So, my question is, what are the physical interpretations of $\int \phi^\dagger \hat A \psi \:\mathrm dx$ and $\int \phi^\dagger  \psi \:\mathrm dx$?  (While I am familiar with the bra-ket notation, I have not used it in this question as I don't want to confuse myself further. Feel free to use it in your answer, though) Selection of logical connectives {¬,∨,∧,⇒,⇔} in set theory? I have a Toshiba satellite A-200 laptop with a Vista OS on it with 4 NTFS partitions  (C:) Vista  (D:) Entertainment  (E:) Work  (F:) Sources   and I wanted to start using Ubuntu instead. So I tried it first from the live CD and everything was OK and all the partitions were shown and working and so I decided to install Ubuntu to replace Vista on the (C:) drive. After I did that I can no longer find my folders and files on the (D:), (E:), (F:) partitions and the only file system that is shown is one 198 GB although my HDD is 320 GB.  I can't access the lost data on the remaining 120 GB which I hope is still there and not totally lost  I am now working from the live CD but I am unable to install testdisk. Can I recover the Vista partitions by the product recovery CD to get my laptop back to the factory settings? Can I recover the NTFS partitions using a recovery program for Windows or will that make the problem worse?   I need these data badly as I don't have a backup for them. It's well seen throughout the series that there is a “curse” on the DADA teacher position, that no one can hold that post for more than a year. But it seems like Quirrell has been around for longer than a year. What's up with that? Prove that any two consecutive terms of the Fibonacci sequence are relatively prime Prove that any two consecutive terms of the Fibonacci sequence are relatively prime.   My attempt:    We have $f_1 = 1, f_2 = 1, f_3 = 2, \dots$, so obviously $\gcd(f_1, f_2) = 1$. Suppose that $\gcd(f_n, f_{n+1}) = 1$; we will show that $\gcd(f_{n+1}, f_{n+2}) = 1$. Consider $\gcd(f_{n+1}, f_{n+2}) = \gcd(f_{n+1}, f_{n+1} + f_n)$ because $f_{n+2} = f_{n+1} + f_n.$ Then $\gcd(f_{n+1}, f_{n+1} + f_n) = \gcd(f_{n+1}, f_{n}) = 1$ (gcd property).  Hence, $\gcd(f_n, f_{n+1}) = 1$ for all $n &gt; 0$.  Am I on the right track? Any feedback would be greatly appreciated.  Thanks, How to prove $B-A \succeq 0 \Leftrightarrow$ ellipsoid $x^TBx \leq 1$ contains $x^TAx \leq 1$? Assume $A \in \textbf{S}^n_{++}$, an ellipsoid centered at the origin given by $$\mathcal{E}_A = \{x\mid x^TA^{-1}x \leq 1\}$$ Then we have $\mathcal{E}_A \subseteq \mathcal{E}_B $ if and only if $B-A \succeq 0$. This is the proposition in the Boyd &amp; Vandenberghe's  (pages 45-46). The authors gave only the result, without proof. How to prove it? Finding the index of an item in a list Creating a selector from a method name with parameters I have a code sample that gets a SEL from the current object,   SEL callback = @selector(mymethod:parameter2);   And I have a method like    -(void)mymethod:(id)v1 parameter2;(NSString*)v2 { }   Now I need to move mymethod to another object, say myDelegate.  I have tried:  SEL callback = @selector(myDelegate, mymethod:parameter2);   but it won't compile. The real meaning of time dilation How to create a bootable Ubuntu USB flash drive from terminal?