AWS instance not connecting after running `chmod` command
What if I accidentally run command "chmod -R" on system directories (/, /etc, ...)
How to send parameter from jsp page to jasper file How to add a loopback interface? I want to add two more loopback interfaces.  I used the following command:  ifconfig lo: 127.0.0.2 netmask 255.0.0.0 up   and type in ifconfig, i can see the loopback address was added.  But if i want to add one more interface... (for example 127.0.0.3) the previous interface (127.0.0.2) was overwritten.  Also when i look in /etc/network/interfaces i see no entry.  How can i add multiple loopback interfaces permanently? Recommendations for Numerical Analysis texts? Restore a large number of transaction logs I'm using SQL Server 2008 R2, and I need to restore 36 .trn logs to a database. I have restored the first 4 using the restore transaction log functionality in SSMS (right-click database > tasks > restore > transaction log).   Is there a way to restore them all in order using this tool or with a script? The .trn files are in a folder on a remote server. I do not not need to restore all the files in the folder, only ones between specific dates.  I'm looking for a way to automate this so I don't have to manually restore each individual log.  I access the files using an address like the one below.  \\remote server IP\SQL_Backup\LMSQL02\TLog\file.trn Windows is unable to detect disk partitions I installed Windows 8.1 Preview using the DVD yesterday after wiping off my HDD (I made a backup prior to that). While installing Windows I created only the partitions necessary to install Windows (System Reserved, C: shown in second screenshot). Further I installed Ubuntu 13.04. During Ubuntu installation I created necessary extended partitions (for OS, swap and home directory - all ext4 except swap). Later within Ubuntu I created a NTFS partition at the end (partition 4 in first screenshot). This was a primary partition. The objective behind this was that the partition must be accessible from Windows.  While Ubuntu disk utility reports the partitioning just fine (as below)  Windows disk management is showing all partitions as primary.   Thus within Windows I am able to access only C:! What puzzles me is one can't create so many primary partitions! How can I solve this issue? Understanding the parameters inside the Negative Binomial Distribution I was trying to fit my data into various models and figured out that the fitdistr function from library MASS of R gives me Negative Binomial as the best-fit. Now from the  page, the definition is given as:     NegBin(r,p) distribution describes the probability of k failures and r   successes in k+r Bernoulli(p) trials   with success on the last trial.   Using R to perform model fitting gives me two parameters mean and dispersion parameter. I am not understanding how to interpret these because I cannot see these parameters on the wiki page. All I can see is the following formula:    where k is the number of observations and r=0...n. Now how do I relate these with the parameters given by R? The help file does not provide much information either.   Also, just to say a few words about my experiment: In a social experiment that I was conducting, I was trying to count the number of people each user contacted in a period of 10 days. The population size was 100 for the experiment.   Now, if the model fits the Negative Binomial, I can blindly say that it follows that distribution but I really want to understand the intuitive meaning behind this. What does it mean to say that the number of people contacted by my test subjects follows a negative binomial distribution? Can someone please help clarify this? Connect Error (2054) - mysql_old_password issue still not solved Deriving Chinese Remainder Theorem from gcd Bezout identity We want to find the solution $x$ to the congruence system  $$\begin{align} x &amp;\equiv r_1 \!\!\!\pmod{\!m_1}\\ x &amp;\equiv r_2 \!\!\!\pmod{\!m_2}\end{align},\ \ {\rm where}\ \  \gcd(m_1, m_2) = 1$$  These can be rewritten as  $$\begin{align} x &amp;= r_1 + m_1 j\\ x &amp;= r_2 - m_2k\end{align}$$  for unknown integers $j, k$. So we set those two equations as equal and rearrange them to  $$m_1j + m_2k = r_2 - r_1$$  Now assume we perform $\text{egcd}(m_1, m_2)$, which gives us the solution to  $$m_1u + m_2v = \gcd(m_1, m_2)$$  Let the integer $\,h\,$ make $\,h \gcd(m_1, m_2) = r_2 - r_1$.  Then $\qquad hm_1u + hm_2v = h\gcd(m_1, m_2) =  r_2 - r_1 = m_1j + m_2k$  At this point I am lost because I don't think we can just assume  $hm_1u = m_1j$ and extract $j = hu$.   How do I get the values of $j$ or $k$ so I can get the value of $x$? I'm moving all files to a new computer, via an external hard drive. I am certain that broken links will be a concern. What can I do to fix this? Is there a 'Best Practices' kind of way to prevent this problem beforehand? I have many hundreds of .blend files, and of course, I fear losing them. .fbx export why there are no materials or textures? I used node textures in a mesh I exported to .FBX.  I then imported it into Unreal Engine 4 and it didn't import any textures; I clicked the Upload Textures option in Unreal Engine.  Is there something I'm doing wrong or is it Blender? To prove $\left|\frac{p_n(z)}{q_m(z)}\right|\leq \frac{M}{|z|^{m-n}}$ for some $M>0$ Algebraic Property inherited by a "lift"? Suppose $K$ is a field, and $K\subset E$ is an algebraic extension, and $K\subset F$ is any extension.  Suppose that $L$ is some field which contains both $F$ and $E$ as subfields.  I want to show that $FE$ (the smallest subfield of $L$ containing both $F$ and $E$) is algebraic over $F$.  Lang mentions that the result is true because an element remains algebraic under lifting, but I can't prove the claim with this.  I interpret his comment to mean that if $x\in E$ is algebraic over $K$, then $x\in FE$ is algebraic over $F$.  This is certainly true.    But this doesn't seem enough if I start with any element of $FE$. Etymology of "history" and why the "hi-" prefix? According to , history comes from the same root as story. If they are from the same word, where does hi- come from? Is it just because of the English habit of taking names from other languages verbatim or is there something more to it? Minecraft Inventory Saving Convert a list to a string in C# I tried to use the usb-creator.exe from Ubuntu 10.10 desktop i386 ISO image and it does create an USB stick that doesn't boot. When I try to boot from it I get:     Operating System not found.   I try to do this from Windows 7 x64. I'm not looking to create a live Ubuntu media, only an installation USB disk.  I repeated the process several times and I even tried to reformat the USB drive (FAT32), no success yet.  The USB stick is a 8GB one. Display Custom Fields in a SharePoint 2010 Content Query Web Part Using SharePoint 2010, Having Custom List With 4 Columns, Now I am Using Content Query Web-part To Display List Data ,But Currently It Display Only First Column, SO How to Display Custom Fields in a SharePoint 2010 Content By Query Web Part I just picked up a copy of Windows 7 Pro OEM for install on my computer.  Guy at the store said the only real difference between OEM and standard retail box was tech support.  However, the outside of the box has this big warning that says "The software must be installed with an OPK"?  What is the OPK?  Is it really necessary?  The MS site about it seemed to say it was optional.  EDIT:  BTW - I'm just an individual tinkerer, and not a System Builder Company Employee.  I should have made that clear.  I've used sysprep in a professional setting in the past, so I'm somewhat familiar with its concepts. I would like to visit Iran as a tourist but I'd also like to visit the USA some time after. I know the relations between the two countries are bad.   Is it likely that I'm not allowed to enter the USA after having been to Iran?   If it matters, I've never been to either of those countries. I'm a Swiss citizen, an atheist from a Christian background. Equal simple field extensions? I have a question about simple field extensions.  For a field $F$, if $[F(a):F]$ is odd, then why is $F(a)=F(a^2)$?