JavaScript way to tell if an object is an Array
How to detect if a variable is an array
Where can I find some guidance on index strategies? How to import footage in the VSE for optimal playback and organization? How to import footage in VSE for optimal playback and organization, using proxies and workarounds? Assign points within 150 meter buffer of each other the same unique identifier? I have a bunch of points on a QGIS map. Each point is a unique sampling event. However, some of these points have been sampled multiple times but there is no common identifier in the attribute data to determine this. The only way we can see this is by looking at the map and seeing points very close to each other.   I am wondering if anyone has a method to assign points within a 150 meters of each other a common identifier? How to open recovered files in word? My computer restarted while I was asleep because of system updates (need to turn that off), and when I opened up Word the first time after it restarted, it gave me a pane on the left hand side that showed me all the documents I had opened.  I chose one of the documents but I want to open them all, how can I bring that pane back?    Update:  I forgot to mention I'm on Word 2007.  I've found that if you go to      C:\Users*YOURUSER*\AppData\Roaming\Microsoft\Word   you can see the autorecovery files.  Mine are still in there, but I don't want to touch them, I'd rather bring back that pane and do it right just in case they disappear as soon as I double click haha... Why is $a^n - b^n$ divisible by $a-b$? Hide textfield blinking cursor In the various Zelda video games, there seems to be a common mythology, and at least some potential to be in the same place. Do the various Zelda games take place in the same world, or is there no intent to do so? Why are SMD LEDs shipped in a sealed bag containing desiccant? I had a selection of 0805 LEDs in my last Mouser order and was a bit surprised to discover they arrived in heat-sealed (rather than folded and taped with sticker) bags containing a desiccant bag and some sort of litmus-esque paper indicator saying something about baking them if the dots on it went pink (instead of blue).    A quantity of through-hole LEDs I had in the same order just came in the regular ESD-protective bag, folded over with a sticker.  What's up with SMD LEDs that they work so hard to keep them dry? Surely their dryness can't be assured once they're installed. Does it have to do with their solderability or something? Why would that be different than other SMD parts? Change name on the main Stack Exchange profile Estimate of analytic function in a unit disk Default implementation for Object.GetHashCode() Adding an [AuthorYear] block at the beginning of bibliography entries I want to add a block at the beginning of my bib entries of the form      [Lastnameauthor(s) Year]   When the shortauthor field is defined it should use this field +Year instead. The following example is fairly minimal:  \begin{filecontents*}{test.bbx} \ProvidesFile{test.bbx}  [\abx@bbxid $Id: test.bbx,v 0.9d 2010/09/03 20:11:58 lehman beta $]  \RequireBibliographyStyle{authoryear}  \DeclareBibliographyDriver{article}{%   \usebibmacro{bibindex}%   \usebibmacro{begentry}%   %---add something here---   \usebibmacro{author/translator+others}%   \setunit{\labelnamepunct}\newblock   \usebibmacro{title}%   \newunit   \printlist{language}%   \newunit\newblock   \usebibmacro{byauthor}%   \newunit\newblock   \usebibmacro{bytranslator+others}%   \newunit\newblock   \printfield{version}%   \newunit\newblock   \usebibmacro{in:}%   \usebibmacro{journal+issuetitle}%   \newunit   \usebibmacro{byeditor+others}%   \newunit   \usebibmacro{note+pages}%   \newunit\newblock   \iftoggle{bbx:isbn}     {\printfield{issn}}     {}%   \newunit\newblock   \usebibmacro{doi+eprint+url}%   \newunit\newblock   \usebibmacro{addendum+pubstate}%   \setunit{\bibpagerefpunct}\newblock   \usebibmacro{pageref}%   \usebibmacro{finentry}}  \endinput  \end{filecontents*} \begin{filecontents*}{MeineBib.bib}   @article{example,  author={Firstname Lastname and First Last},   title={Title},  journal={Journal},  year={Year},   pages={Pages}, }    \end{filecontents*}  \documentclass[12pt,ngerman,    ]{scrartcl} \usepackage[ngerman]{babel} \usepackage{filecontents} \usepackage[babel,german=quotes]{csquotes} \usepackage [bibstyle=test]{biblatex} \bibliography{MeineBib}  \begin{document} \tableofcontents \cite{example} \printbibliography\end{document}   I'm guessing the solution lies here  DeclareBibliographyDriver{article}{%       \usebibmacro{bibindex}%       \usebibmacro{begentry}%       %---add something here---       \usebibmacro{author/translator+others}%   but I can't find out how. It should look like this  which is an existing style (natdin) in BibTeX, but not in biblatex. Does standard c library provides linked list etc. data structures? Profile Bug - Reputation Summary Not Displaying All Lines Let $F$ be a field and $v:F\rightarrow G\cup\{\infty\}$ be a valuation on $F$ so $G$ is a totally ordered abelian group with $\infty$ having the properties $\infty+\infty=g+\infty=\infty+g=\infty$ and $\infty\leq\infty$ for all $g\in G$, $\infty \notin G$.     Show if $v(a)\neq v(b)$ then $v(a+b)=\min(v(a),v(b)$).   I must be missing some trick here on how to show this is true.  My approach has been to use that $G$ is a totally ordered group so I start by assuming $v(a)\neq v(b)$ and letting my first case be $v(a)&lt;v(b)$ as trichotomy holds in $G$. By $v$ being a valuation on $F$, we then have that $v(a+b)\geq \min(v(a),v(b))=v(a)$. From here what I've tried doing doesn't seem to help much.  I've said lets assuming $v(a+b)&gt;\min(v(a),v(b))=v(a)$ and we also have $$v(a+b)&gt; v(a) \Rightarrow v(a+b)+v(a^{-1}) &gt; 0 \Rightarrow v(1+ba^{-1}) &gt; 0$$ and $$v(a)&lt;v(b) \Rightarrow 0&lt; v(b)+v(a^{-1}) \Rightarrow 0 &lt; v(ba^{-1})$$ also $$v(1+ba^{-1})\geq\min(v(1),v(ba^{-1}))=\min(0,v(ba^{-1}))=0.$$  How does one solve this? Transit Visa in Hong Kong for 15 hour layover between India and USA? We are (2) Indian nation and travelling from India to USA via Hong Kong airport and about 15 hours layover in Hong Kong airport. Do we need a transit visa even if only changing planes? And can we apply in Hong Kong Airport? proving roots of equation $x^2+x+4f=0$ are real. Let $a,b,c$ be three positive real numbers such that $a+b+c=1$. Let $f=\min(a^3+a^2bc, b^3+ab^2c,c^3+abc^2)$. Prove that the roots of the equation $x^2+x+4f=0$ are real. It is given that $X,Y \overset{\text{i.i.d.}}{\sim} N(0,1)$  Show that $\frac{XY}{\sqrt{X^2+Y^2}},\frac{X^2-Y^2}{2\sqrt{X^2+Y^2}} \overset{\text{i.i.d.}}{\sim} N(0,\frac{1}{4})$  I was thinking of making polar transformations $X=r \cos \theta, Y=r \sin \theta$  Then I am getting stuck at ranges of $\theta$ Category of Grp is not a subcategory of Set I think I have managed to work this out, however there is no solution provided with the question so I thought it best to check.   My working:  Let $(x,y) \in (A \times B) \cup (C \times D)$  $\Rightarrow x \in (A$ or $C)$ and $y \in (B$ or $D)$  $\Rightarrow (x, y) \in (A \cup C) \times (B \cup D)$  $\Rightarrow (A \times B) \cup (C \times D) \subseteq (A \cup C) \times (B \cup D)$  Now let $(x,y) \in (A \cup C) \times (B \cup D)$  $\Rightarrow x \in (A$ or $C) $ and $y \in (B$ or $D)$  $\Rightarrow (x, y ) \in (A \times B) \cup (A \times D) \cup (C \times B) \cup (C \times D)$  $\Rightarrow (A \cup C) \times (B \cup D) \nsubseteq (A \times B) \cup (C \times D)$  $\Rightarrow (A \times B) \cup (C \times D) \not= (A \cup C) \times (B \cup D)$  Is this correct?  Thank you.