How to pass array "by reference" in C?
Why do I get a segmentation fault when writing to a "char *s" initialized with a string literal, but not "char s[]"?
Calculating the limit $\lim((n!)^{1/n})$ Find $\lim_{n\to\infty} ((n!)^{1/n})$. The question seemed rather simple at first, and then I realized I was not sure how to properly deal with this at all. My attempt: take the logarithm,  $$\lim_{n\to\infty} \ln((n!)^{1/n}) =  \lim_{n\to\infty} (1/n)\ln(n!) =  \lim_{n\to\infty} (\ln(n!)/n)$$ Applying L'hopital's rule:  $$\lim_{n\to\infty} [n! (-\gamma + \sum(1/k))]/n! = \lim_{n\to\infty} (-\gamma + \sum(1/k))=  \lim_{n\to\infty} (-(\lim(\sum(1/k) - \ln(n)) + \sum(1/k))  = \lim_{n\to\infty} (\ln(n) + \sum(1/k)-\sum(1/k)  = \lim_{n\to\infty} (\ln(n))$$ I proceeded to expand the $\ln(n)$ out into Maclaurin form $$\lim_{n\to\infty} (n + (n^2/2)+...) = \infty$$ Since I $\ln$'ed in the beginning, I proceeded to e the infinity  $$= e^\infty  = \infty$$  So am I write in how I approached this or am I just not on the right track? I know it diverges, I was just wanted to try my best to explicitly show it. Can I have multiple primary keys in a single table? Can I have multiple primary keys in a single table? Get Site Collection full URL using javascript Explanation of finite population correction factor? I understand that when sampling from a finite population and our sample size is more than 5% of the population, we need to make a correction on the sample's mean and standard error using this formula:  $\hspace{10mm} FPC=\sqrt{\frac{N-n}{N-1}}$  Where $N$ is the population size and $n$ is the sample size.  I have 3 questions about this formula:   Why is the threshold set at 5%? How was the formula derived? Are there other online resources that comprehensively explain this formula besides  paper? LIGO has announced the detection of gravitational waves on 11 Feb, 2016. I was wondering why the detection of gravitational waves was so significant?   I know it is another confirmation of general relativity (GR), but I thought we had already confirmed GR beyond much doubt. What extra stuff would finding gravitational waves teach us? Is the detection of gravitational waves significant in and of itself, or is there data which can be extracted from the waves which will be more useful? Get Age of a person in MySQL Using File Geodatabase coded domain with ArcGIS Online? I created a File GDB and set up a domain, and the domain was assigned to a field in a feature class. The domain behaves as expected on ArcGIS Desktop (dropdown list when editing the content of that field).  But if I zip up the FGDB and upload to ArcGIS Online to created a feature layer and edit the layer online, there is no dropdown when editing.  I don't see any additional step in this tutorial, other than a different mechanism of getting data to ArcGIS Online. I don't think I can do it the same way in ArcGIS 10.0:   Anyone has any idea what's going on? Why is dark matter the best theory available to explain missing mass problems? Why is dark matter the best theory to explain the missing mass problem?    Why is dark matter mathematically necessary to explain the missing mass problem?    On a side not I believe dark matter is definately intuitive the next logical step in physics is to accept the fact the direct observations can not always be the determining factor in the acceptance of a theory.  Positivism is not going to be the only driving force in physics forevermore.    One theory that seems almost as good is the supersymmetric particle. What determination which are actually detectible and how would we distinguish the differences between the two?    References:   . Can I make any injective function bijective by patching the codomain? I'm a citizen of India and I'm travelling to Nepal by air. Is an Aadhaar Card a valid document used for travelling to Nepal by air? Array List count to users Can anyone enter as a student at the Citadel ? Or must one be recommended by Lords or a powerful institution?   Aemon Targaryen was a son of a King, so the Citadel would let him access without questioning. Samwell Tarly was sent by Lord Commander Jon Snow, from the Night's Watch. , a novice of the Citadel. A common born but it is not known how he entered the Citadel. We can notice that he is not a good student, but has not been fired.    I don't remember how the other Maesters were recruited, if they are always relatives of Lords, Kings... Can any lowborn commoner just "knock the door", and enter the Citadel? Why is a 1" sensor actually 13.2 × 8.8mm? I'm wondering how sensor sizes are calculated. The Sony RX100 reportedly has a sensor size of 1" which is 13.2 x 8.8 mm according to the press release and various sites.  How does that work? That's a pretty small inch.  The Wikipedia page on  has this chart:   which doesn't really help. (The 1" format is labelled Nikon CX. Chart by Moxfyre under the CC-BY-SA license.)   If full frame/35 mm refers to the horizontal size, what does 1" refer to? Raise all windows with a specific title I'm trying to find a way to raise all the windows that have one, specific title.  For example, I have two windows named superconky (yes, you guessed it, I'm trying to get conky running in lubuntu).  I have a command I got from the LXDE forums: sh -c 'wmctrl -k on; wmctrl -a superconky;'  I use it to show the desktop, except conky. It works perfectly, but only if you have one conky. If you have two or more, you get left with one and all the others minimized.  So, what should I do to raise all the windows?  Thanks in advance. "Disappear" as a transitive verb Using getopts to process long and short command line options Writing to NTFS drive in Linux Support for hardware components How can I find out if Ubuntu supports a particular hardware component, that is, if it works in Ubuntu?  I am going to put together a computer and I am choosing components.   How do I know if Ubuntu supports this or that motherboard, or this or that sound card, or this or that graphics card, etc? How do I know that there is no conflict in Ubuntu between this and that hardware component?   What resources are there to help with such situations?  I know that there are computers with Ubuntu pre-installed and that there are  for whole computers but this is not what I'm looking for. I'm looking for resources to find out support for particular hardware components and conflicts among particular hardware components. Why is Linux's filesystem designed as a single directory tree? What does the TLS 1.2 client finished message contain? I am implementing TLS 1.2 and I'm stuck on the client finished message.   My question is: what is the size and structure of a clients finished message in TLS 1.2 when using the ECDHE_RSA_AES_128_GCM_SHA256 cipher suite.   I searched for this question and someone somewhere stated its size is 48 bytes; more specifically:   12 byte verify data 1 byte handshake type 3 byte verify data length and 32 byte MAC   Is that really correct?   I mean: according to  finished messages have {verify_data[verify_data_length]} and verify_data = PRF(master_secret, finished_label, hash(handshake_messages). Also, according to RFC 5246 section 5 PRF(secret, label, seed) = P_&lt;hash&gt;(secret, label+seed) and P_hash(secret, seed) = HMAC_hash(secret, A(1) + seed). So, when I compute HMAC using SHA256 for verify_data its size is 32 byte.   As a result, I'm a bit confused in relation to the verify_data size and the finished message structure. Can anyone help me to understand this and/or maybe put me on the right track somehow?