I've been typing up a document, and I realized I didn't know how to type up this sideways parenthesis thing here:  Could someone tell me how to type that up? This is in math mode.
I have  $m\times n = n + n + \dots + n$    in my text right now, but I would like to put a curly brace under the \dots to emphasize that there are m,n's involved. How would I do this?
I dropped my camera while on holiday last summer. Thankfully, my camera wasn't damaged but the kit lens has lost the ability to autofocus and the UV filter and 58mm to 52mm filter step-down (I use it to attach a fisheye filter to the lens) I had on its end are stuck and won't come off.  I've replaced the lens with an 18-200 zoom lens so I don't especially need it. I was wondering if it was worth getting the lens looked at and possibly repaired?  I've heard many places will charge you £50 or so just to look at the lens and given the cost of the kit lens I'm not sure it's worth it. echo "-e" doesn't print anything I'm using GNU bash, version 3.00.15(1)-release (x86_64-redhat-linux-gnu). And this command:  echo "-e"    doesn't print anything. I guess this is because "-e" is one of a valid options of echo command because echo "-n" and echo "-E" (the other two options) also produce empty strings.  The question is how to escape the sequence "-e" for echo to get the natural output ("-e"). I use the code below to produce handouts of my presentations.  When I open the resulting pdf with any pdf viewer, it is viewed correctly, but when I print it, it is always printed very small, no matter the program I use (Okular, Evince, Acrobat...). Bonus to anyone that can make the pdf be printed correctly by Okular under Ubuntu! Thanks!  MWE here:  \documentclass[handout]{beamer} \usepackage{pgfpages} \pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm] \setbeameroption{show notes on second screen=bottom}  \setbeamercolor{background canvas}{bg=pink}  \mode&lt;presentation&gt; {     \usetheme{Singapore} } \begin{document}   \begin{frame}[plain]     \titlepage   \note{     Notes for the title page } \end{frame}   \section*{Outline} \begin{frame}[plain] \frametitle{Outline}     \tableofcontents  \note{     Notes for the table of contents } \end{frame}   EDIT:   If I place the line "\pgfpagesuselayout{2 on 1}" after the line "\setbeameroption{show notes}" I do not experience the printing problem anymore!! However, the slide preview and notes that appear at the bottom belong to the NEXT SLIDE, instead of to the CURRENT SLIDE!! What is going on with that? How do I use SSMS to compare Database 1 Table 1 against Database 2 Table 1? I have two databases - Database1 and Database2.  Both databases contain a table that has similar structure, exemplified as follows:   =========================================================================================== | ID | Name | PhoneNoFormat | DialingCountryCode | InternationalDialingCode | InternetTLD | =========================================================================================== |    |      |               |                    |                          |             | ===========================================================================================   However, due to some reason, (a) one of the tables in one of the databases has data that is not exactly the same as (b) that contained in the other table in the another database.  So, how can I compare Database1.Table1 against Database2.Table1?  I tried using the following query, but nothing happened so was wondering if I have to rewrite it:  SELECT MIN(TableName) as TableName,        ID,        Name,        PhoneNoFormat,        DialingCountryCode,        InternationalDialingCode,        InternetTLD  FROM  (    SELECT  'Table A' as TableName,           A.ID,           A.Name,           A.PhoneNoFormat,           A.DialingCountryCode,           A.InternationalDialingCode,           A.InternetTLD    FROM [D:\DATABASE1.MDF].[dbo].[Table1] AS A    UNION ALL    SELECT 'Table B' as TableName,          B.ID, B.Name,          B.PhoneNoFormat,          B.DialingCountryCode,          B.InternationalDialingCode,          B.InternetTLD    FROM [D:\DATABASE2.MDF].[dbo].[Table1] AS B  ) tmp  GROUP BY ID, Name, PhoneNoFormat, DialingCountryCode, InternationalDialingCode, InternetTLD  HAVING COUNT(*) = 1  ORDER BY ID My understanding is that when using a Bayesian approach to estimate parameter values:   The posterior distribution is the combination of the prior distribution and the likelihood distribution. We simulate this by generating a sample from the posterior distribution (e.g., using a Metropolis-Hasting algorithm to generate values, and accept them if they are above a certain threshold of probability to belong to the posterior distribution). Once we have generated this sample, we use it to approximate the posterior distribution, and things like its mean.   But, I feel like I must be misunderstanding something. It sounds like we have a posterior distribution and then sample from it, and then use that sample as an approximation of the posterior distribution. But if we have the posterior distribution to begin with why do we need to sample from it to approximate it? What is the magnetic field inside hollow ball of magnets? Setup: we have a large number of thin magnets shaped such that we can place them side by side and eventually form a hollow ball. The ball we construct will have the north poles of all of the magnets pointing toward the center of the ball, and the south poles pointing away from the center. The magnets in this case are physically formed such that in this hollow ball arrangement they are space filling and there are no gaps between them.  Is such as construction possible? If so, what is the magnetic field (B-field) inside and outside the ball? Firstly my main goal is to try and get FTP files recursively in Centos.  However the actual FTP login contains an @ which ruins the syntax.  Is there some way to place the username in "double quotes" or some such equivalent such that I can use @in the username? We have this large database (>1TB) that we intend to "shrink".  The database revolves around one main entity, let's call it "Visit".  For discussion, let's say it is a database for a medical practice.  There are a total of 30 visit "types", such as procedure, annual, follow-up, immunisation etc, each of which is a subsidary table to "Visit", e.g. "visit_immuno".  The database has accummulated some 12 years of data since 2000.  Someone has proposed that we keep about 3 years of data in the "live" version and have the rest live in an "old_data" database.  The date is ONLY stored in the "Visit" table since it is normalised.  The Visit table also contains a ROWVERSION column and a BIGINT pseudo-identity (clustered) column.  For all intents and purposes, let's say the clustering key is populated by a SEQUENCE (SQL Server 2012 Enterprise) - we shall name it cid.  The visit.date is not always in the same order as the clustering key, for example when a doctor goes on extended visitations and returns with his "briefcase" of data, it gets merged into the main table.  There are also some updates to the "visit" table that will cause the ROWVERSION column to be out of sync with both the cid and date columns - to put it simply, neither ROWVERSION nor cid would make suitable partition keys for this reason.  The business rule for removing data from the "live" is that the visit.date must be greater than 36 months and a child visit_payment record must exist.  Also, the "old_data" database does not contain any of the base tables except visit%.  So we end up with:  Live DB (daily use) - All tables Old-Data DB - older data for the visit% tables  The proposal calls for a Combined DB that is a shell containing Synonyms to ALL the base tables in the Live DB (except visit%) plus Views that UNION ALL across the visit% tables in the two databases.  Assuming the same indexes are created in the Old-Data DB, will the queries perform well on the UNION-ALL Views?  What type of query patterns might trip up the execution plan for the UNION-ALL Views? How is the Gmail password stored in Android - and where? I have looked around and found no information on how Android manages to store passwords on the device. Especially Gmail passwords. I'm looking to learn how Android encrypts and stores passwords ? What key does it use and where is this key stored, and what encryption algorithm it uses. When defining a method on a class in Python, it looks something like this:  class MyClass(object):     def __init__(self, x, y):         self.x = x         self.y = y   But in some other languages, such as C#, you have a reference to the object that the method is bound to with the "this" keyword without declaring it as an argument in the method prototype.    Was this an intentional language design decision in Python or are there some implementation details that require the passing of "self" as an argument? Error :: You must put some 'source' URIs in your sources.list I'm trying to install PIL a python module on ubuntu   I first need to install a package called python-imaging using the following command    sudo apt-get build-dep python-imaging   When I try and do this I get the error   E: You must put some 'source' URIs in your sources.list   I saw  question whihc shows how to fix via the GUI but I'm using the command line. Does anyone know how I can fix this error..?    UPDATE: Based on the below answers I've updated my package list but I now get this error. Not sure if it is related, if not I'll start a new question as I can't find reference to the error anywhere.   E: Build-Depends dependency for python-imaging cannot be satisfied because candidate version of package python-all-dev can't satisfy version requirements Find all functions $f(x)$ such that $f\left(x^2+f(y)\right)$=$y+(f(x))^2$ Let $\mathbb R$ denote the set of all real numbers. Find all function $f: R\to \ R$ such that   $$f\left(x^2+f(y)\right)=y+(f(x))^2$$   It is the problem. I tried to it by putting many at the place of $x$ and $y$ but I can't proceed. Please somebody help me. Recovering *permanently* deleted emails from Gmail person in distress here.  Dont ask me how, but I ended up deleting all my 12,000 inbox emails from Gmail into Trash and then erased my Trash as well. Gmail gave me a warning box and took 20 seconds to delete. This was not what I intended. I have searched high and low to check if there is any way of recovering my 10 years worth of emails and could not find any.  Any one here know of a way, ANY WAY, to recover my accidental permanent deletion of all my 10 years worth of email (deleted from Trash as well)? Nested List Indices Bring back review numbers to the top bar Though I never quite understood what those numbers were and they were quite ugly, they were the only reason I ever visited the reviews page.   Can we have similar functionality back on the top bar please? Tracking very long shot with no points in common between first and last frame Is it possible to track an handheld shot (there is already an answer on here about tripod shots: ) that doesn't have any visible points in common between the first and the last frame? As an example, imagine a shot of someone driving in a car for thirty minutes. Obviously everything from the first couple of seconds won't be there anymore at minute 15. Switching motherboard without new install? Hi I make this class A amplifier but how to replace R5 (10 ohm/10 W) with transistor because its getting really hot and how to achieve up to 10 Watt with +/- supply. I have +/-25v with 4A please help Search only for the currently active language What is "root" and how can I become it? When I ran a command, I got the following error:     You need to be root to perform this command.   What is root and how can I become it?