How to get the counter value for a reference?
How to compare the output of \ref to a number?
If $\lambda_{max} = n$, then $n\times n$ positive, reciprocal matrix A is consistent At the end of . the author states that  Suppose we have $n \times n$ matrix $A$ having only positive elements and satisfying the property $a_{ij}=1/a_{ji}$ (a matrix satisfying this property is called a reciprocal matrix).  If its largest eigenvalue $\lambda_{max}$ is equal to $n$, then the matrix $A$ satisfies the property (consistency property) $a_{ij} a_{jk} = a_{ik}$ where $i,j,k=1,2,...,n$.  I'm not convinced this theorem is true. Could anyone help? I wrote a Table Valued Function in Microsoft SQL Server 2008 to take a comma delimited column in a database to spit out separate rows for each value.  Ex: "one,two,three,four" would return a new table with only one column containing the following values:  one two three four   Does this code look error prone to you guys? When I test it with   SELECT * FROM utvf_Split('one,two,three,four',',')    it just runs forever and never returns anything. This is getting really disheartening especially since there are no built in split functions on MSSQL server (WHY WHY WHY?!) and all the similar functions I've found on the web are absolute trash or simply irrelevant to what I'm trying to do.  Here is the function:  USE *myDBname* GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER FUNCTION [dbo].[utvf_SPlit] (@String VARCHAR(MAX), @delimiter CHAR)  RETURNS @SplitValues TABLE (     Asset_ID VARCHAR(MAX) NOT NULL )  AS BEGIN             DECLARE @FoundIndex INT             DECLARE @ReturnValue VARCHAR(MAX)              SET @FoundIndex = CHARINDEX(@delimiter, @String)              WHILE (@FoundIndex &lt;&gt; 0)             BEGIN                   DECLARE @NextFoundIndex INT                   SET @NextFoundIndex = CHARINDEX(@delimiter, @String, @FoundIndex+1)                   SET @ReturnValue = SUBSTRING(@String, @FoundIndex,@NextFoundIndex-@FoundIndex)                   SET @FoundIndex = CHARINDEX(@delimiter, @String)                   INSERT @SplitValues (Asset_ID) VALUES (@ReturnValue)             END              RETURN END I have a vps using Ubuntu 12.04 LTS and I my host corrupted my vps so now it won't boot up. When it boots up it says:  Booting from Hard Disk... error: file not found. grub rescue&gt;   How can I fix/repair this? Sometimes, a question is perfectly solved by suggestion or actual resolution given in "comments" under it. In such case, how to mark that answer (comment) as "Accepted Answer"? Due to this, the question remains unanswered even if solution is provided in comment. Are console games locked to a certain region? I'm going on a vacation from Europe to the US and was planning of bringing along some Xbox360 or PS3 games, but now I'm curious if they will be compatible with my European Xbox.  In that past there would be a clear difference between NTSC and PAL games, but is this still the case with the current gen of consoles? Profile avatar lost on several sites after profile edit (Gravatar replaced with Identicon) I have had the same network-wide profile avatar for many years; it's a custom image which I installed nework-wide soon after I registered for Stack Overflow back in 2011. I still see that image e.g. on  and  but not, for instance, on this site, or e.g. on   (The example originally linked to my Unix &amp; Linux profile instead of Super User but I experimentally changed my profile back to the gravatar one there.)  I routinely update my profile presentation text every few months, and did so again a few days ago. Comments below seem to indicate that others who recently edited their profile are experiencing the same problem.  My preferred avatar is a Gravatar which is connected to my email address, which has always been the same (MD5 091f411d57db5be8298e057a32e5ad72). The replacement seems to be a generic identicon with a different MD5. I don't recall seeing this identicon as an option in my profile before:    You'll notice that the gravatar is still visible as an option, but I can find no way to replace it on all sites in one go. I switched back to the gravatar one on Unix &amp; Linux and noticed that the help next to the "Save" button says     Your profile will be updated on all public communities.   but alas, that did not in fact happen. Do I really have to go over 170+ member sites and manually select my gravatar on each? Who invented "dooblidoo"? The word  is used by several different youtube channels as a different word for the youtube description bar. I've seen it used by the  and by .  Who was first to use and invent the term? Have iPhone 4 with iOS 5.1.1 Trying to update to 6.1.2 (not the latest) via downloaded IPSW but unfortunately getting error:     iphone could not be restored device isn't eligible for the requested   build   After searching for fix all over the internet found some suggestion like putting # in hosts file in line gs.apple.com but not helped.  Have you any idea why I'm getting this error and can't restore iphone? Inverse of sum of exponential random variables (mean and variance) Assume $X_1,X_2, \dots , X_n$ following the exponential distribution with mean $\theta &gt; 0 $ and the statistic: $$ T = \sum\limits_{i = 1}^n X_i $$  I know that the sum of exponential random variables follows the Gamma distribution, but I cannot infer anything about the inverse of the sum $\frac{1}{T}$. My guess would be that: $$ E\left[\frac{1}{T}\right] = \frac{1}{\theta} \quad \text{and} \quad V\left[ \frac{1}{T} \right] = \frac{1}{\theta^2} $$ but why? Literal &#39; appears in flag panel instead of being escaped Why on-shell vs. off-shell matters? The definitions between on- and off-shell are given in .   Why is it so important in QFT to distinguish these two notions? I want to have my super key start dmenu. I have set it as a keyboard shortcut in my rc.xml as follows:  &lt;keybind key="0xffeb"&gt;       &lt;action name="Execute"&gt;         &lt;command&gt;dmenu_run&lt;/command&gt;       &lt;/action&gt; &lt;/keybind&gt;   I tried specifying it in the key attribute as W, W-, and 0xffeb, but none of these worked. W responds to pressing the letter w, and the others appear to do nothing.  I want the shortcut to trigger when the super key is pressed and released on it's own. Is this possible?    This is  from super user as per the . I've read this question: , but I didn't see any useful information in it. "wait more than" vs. "wait FOR more than" Is there a way in photoshop to convert k values to alpha values? Basically, I would like to make it so that the lighter a pixel is (the more white it has) the more transparent it becomes. Black pixels would be opaque, white pixels would be transparent.  I currently use the slider in blending options on the first tab to get rid of the white and make it transparent but find it works slightly better if I use the magic wand tool with delete.  I figure that there is some blending option out there but there are so many and I'm not sure which to use to achieve my goal.  (Using Photoshop CS6) Associativity of symmetric difference of sets Where is the pet store? I was playing sims freeplay on my iPod yesterday but could not find the pet store. Where is the pet store in the preteens are here update? What's a word for lack of confidence? I'm trying to find a word that describes a lack of confidence. Something that gives a sense of worthlessness maybe. I've dried looking up in Thesarus.com for similarities to lack of confidence and antonyms to self-worth, but with no luck. Anyone have some ideas? Determining bare earth DEM from unclassified LAS file? I have data in LAS format with RGB values created from aerial photogrammetry using a UAV. I am  trying to find a solution to extract the bare earth DEM from the point cloud.   I have tried SAGA, Fusion, MCC-LIDAR, but it is seems they need the LAS file to be already classified (which it naturally isn't). Can anyone point me in the right direction with a brief explanation of the process?   Generally, I would need to process about 100 mill points at a time (can tile them if needed). Is there any function that converts an escaped Url string to its unescaped form? System.Web.HttpUtility.UrlDecode() can do that job but I don't want to add a reference to System.Web.dll. Since my app is not a web application, I don't want to add a dependency for only using a function in an assembly.  UPDATE: Check  about the same issue. points out that certain key and block lengths were a requirement for the AES submissions:     The candidate algorithm shall be capable of supporting key-block combinations with sizes of 128-128, 192-128, and 256-128 bits.   My question is this; how can having a key length that is greater than the block size enhance security?  If we look at ECB mode for simplicity, when the key length is equal to the block length we have a permutation relationship between the set of all plaintexts and the set of all ciphertexts.  Once you increase the key length beyond that, you start to introduce collisions. In fact, you only introduce collisions from then on don't you? Collisions in the sense that a key will create the same ciphertext-plantext relationship as another key.  This would lead me to believe that only part of the key-space is unique, and only that part of key-space needs to be brute-forced?  I know that I am clearly incorrect, I just don't understand why.