How to estimate the total number of raffle tickets sold based on the serial of the ones that were drawn?
Why are these estimates to the German tank problem different?
Get text from pressed button I've been doing ASP.NET development for a little while now, and I've used both the GridView and the DataGrid controls before for various things, but I never could find a really good reason to use one or the other. I'd like to know:  What is the difference between these 2 ASP.NET controls? What are the advantages or disadvantages of both? Is one any faster? Newer? Easier to maintain?  The intellisense summary for the controls doesn't seem to describe any difference between the two. They both can view, edit, and sort data and automatically generate columns at runtime.  Edit: Visual Studio 2008 no longer lists DataGrid as an available control in the toolbox. It is still available (for legacy support I assume) if you type it in by hand though. I installed an Ubuntu alpha or beta and have been keeping it up to date.   So, Should I presume that my system has automatically updated to the next alpha or beta, and will be running the official release when it's finished? The Mac editor Latexian has built in methods for compiling using latex+dvips, pdflatex and xelatex.  Furthermore, it assumes bibtex and makeindex to deal with bibliographies and indexes, respectively.  How do I customize Latexian to use, e.g. LuaTeX for compiling or Biber for bibliographies? I made a Yu-Gi-Oh card but it is not broken like current broken Yu-Gi-Oh cards and here it is to see but please before you make your decision about it take another look on ''dragun of red eyes''. nginx httpMapModule regex variables The  states that:     Since 1.0.4, case insensitive regular expressions can be used by prefixing the pattern with ~*.   And gives the example:  map $uri $myvalue {     /aa                   /mapped_aa;     ~^/aa/(?&lt;suffix&gt;.*)$  $suffix; }   I updated to nginx/1.2.7 to make use of this, and naive regexes work okay, but variables don't. When I try the above syntax I get the error:  nginx: [emerg] pcre_compile() failed: unrecognized character after (?&lt; in "^/aa/(?&lt;suffix&gt;.*)$" at "suffix&gt;.*)$"   I also tried the following syntaxes, but none of them worked:  ~^(.*)$  $1; ~^(.*)$  \1;   but neither of them worked either.  Does anyone know how to get variables to work in regular expressions in HttpMapModule? Calculate the area on a sphere of the intersection of two spherical caps Stealing and reattaching a running process It's sunday and I left an instance of R running in the office. The script finished running, and I would like to save my workspace without going to the office. I can ssh to the computer, but I have not run the program into screen.  Is there a way, over ssh, to disown the process (I don't have access to jobsid of the terminal the program is running on!) and reattach it with say, reptyr? Reptyr and reptyr -T don't work without previously disowning the process  28845 3diag       20   0  139.3m  10.4m   0.0  0.1   0:12.06 S  `- urxvtd                                                                                        5327 3diag       20   0   16.4m   4.6m   0.0  0.1   0:00.02 S      `- bash                                                                                      5335 3diag       20   0 3499.3m 3.244g   0.0 43.3 171:57.89 S          `- R    The unique part of my question is that I explicitly require to detach a program without having access to the terminal in which it was created. How do I get started creating an Ubuntu Desktop App? I want to create an Ubuntu desktop app, specifically to replace Gwibber.  I can code in Java, Python and a few other technologies. Adobe Flex would have been an option until Adobe decided to suck some more and stopped support for AIR on Linux.  Note - I don't care about supporting other OS's. It will be a personal Ubuntu specific app. It can I open-source, I don't mind extra help.  It should integrate seamlessly with Ubuntu, notifications and all.  I guess Python it is, is that correct? How do I get started? Differential equation with resonance Should the number "0" be pronounced "zero" or "oh"? Arraylist to List using .Net? I work at an embedded software company. This morning I found a USB stick in the parking lot in front of the building. With all the stories of "dropped USB stick attacks" in mind, I'm obviously not going to just plug it into my laptop. OTOH, I'm curious to know whether this was actually an attempt to compromise our systems, or it's really just an innocent case of somebody accidentally losing a USB stick. How do I safely inspect the USB stick without risking exposure?  I'm worried not just about malware and crafted file system images; there's also stuff like power surge attacks:.  EDIT: Many of the answers seem to assume I want to keep the drive and use it afterwards. I have no interest in that at all, I know USB sticks are cheap, and that it wouldn't be mine to keep anyway. I only want to know whether this was indeed a semi-targeted attack, partly out of curiosity whether this actually happens in real life and not just in security papers, but also so that I could warn my coworkers.  I want to know how I would figure out whether the stick contains malware. And that's not just a matter of looking at the drive contents and seeing a suspicious autorun.inf or a carefully crafted corrupt file system - I very much also want a way to inspect the firmware. I sort-of expected that there were tools for extracting that and comparing to known-good or known-bad binaries. Understanding central limit theorem What is wrong with the following sentence:      The Central Limit Theorem  implies that, as the sample size grows, the error distribution approaches normality.   Am I correct by saying that it should in stead state the MEAN of the sample error approaches zero as sample size grows? Is there no electric field inside a conductor? I came across this statement while studying electric currents and I am confused:  "There is no electric field inside a conductor. Hence no current can flow through it".  Is there a fallacy in this statement?  Any help would be appreciated.  The conductor being discussed is ideal. What is the driving force for the current in this case? What is the best way to call a script from another script? Integral $\int\frac{dy}{(y^2 + ay + b)^{3/2}}$ Need the indefinite integral with $a,b$ constants. This is not a homework question. Need it for a physics problem. Intuition on the Kullback–Leibler (KL) Divergence I have no root access on this machine.  I would like to know if there is a way I can download Ubuntu packages and install them as non-root?  Probably in my ~/bin or ~/usr/share or something like that? Would that work? Weak solutions to the Neumann's problem (Evans PDE) Let $U$ be connected. A function $u \in H^1(U)$ is a weak solution   of Neumann's problem   \begin{equation} (*)\qquad\left\{ \begin{array}{rl} -\Delta = f &amp; \text{in } U \\ \frac{\partial u}{\partial \nu} = 0 &amp; \text{on } \partial U \end{array} \right. \end{equation}   if   $$ \int_U Du \cdot Dv \; dx = \int_Ufv \; dx $$   for all $v \in H^1(U)$. Let $f\in L^2(U)$. Prove $(*)$ has a weak solution   if and only if   $$ \int_U f \; dx =0. $$   For the only if part I set $v=1$. However I do not see where to start the if part. I was thinking of the Lax-Milgram theorem. That's where I'm now.