I wrote the following statement:  "...introduction of transition nodes for the reroutes, etc.). "  Somehow it looks awry to me. I know that separetely, having a period after "etc" or a period to terminate a sentence after a parentheses are correct, but not sure if when they appear simultaneously one of the dots should be suppressed
"In the case of medical diagnostics, there is a cost associated with each medical procedure that provides additional information (blood test, x-ray, etc.)."   Should that end with "etc.).", "etc)." or "etc.)"?
Vi on Linux: show ^M line endings for DOS-format files On Solaris, if you open a file in vi that has Windows line endings, this shows up as ^M at the end of every line.  On Linux, vi is cleverer and understands the Windows file format, and does not display ^M.  Is there a setting to make Linux vi behave the same as Solaris in this respect?  A common problem for us is copying a shell script off a (Windows) dev box and forgetting to dos2unix it, and then being confused when it doesn't work properly. On Solaris the problem is obvious as soon as you vi the file, but not on Linux.  Thanks. As the output of df -h shows here, something is eating up 5GB of free space. So, it's not available to use.   I'm also noticing sometimes that the hard disk gets filled up to 100% sometimes. So, I had to restart the machine or delete some unncessary files. Only noticed these in /home partition. Don't know whether these two are related, but appreciate if anyone can put some insight into this.  $ df -h Filesystem            Size  Used Avail Use% Mounted on /dev/sda8             100G   92G  2.7G  98% /home Counting integer partitions of n into exactly k distinct parts size at most M How can I find the number of partitions of $n$ into exactly $k$ distinct parts, where each part is at most $M$?  The number of partitions $p_k(\leq M,n)$ of $n$ into at most $k$ parts, each of size at most $M$, is given by the generating function: $$  \binom{M+k}{k}_{x} = \prod_{j=1}^{k}\frac{1-x^{M+k-j+1}}{1-x^j}= \sum_{n=0}^{kM} p_{k}(\leq M,n) x^n $$  For the number of the partitions $p_k(\mathcal{D},n)$ of $n$ into at most $k$ parts there is the recurrence relationship: $$   p_{k}(\mathcal{D},n) = p_{k}(\mathcal{D},n-k) + p_{k-1}(\mathcal{D},n) $$  But what, if I want to count only the partitions with distinct parts and restricted number of parts and restricted part size?  Update: Now I know the generating function for the number of distinct restricted partitions $p_k(\leq M, \mathcal{D},n)$ of $n$ into exactly $k$ distinct parts, all at most $M$ is $$    \prod_{j=1}^{M} (1+xq^{j}) = \sum_{k,n=0}^{\infty}p_k(\leq M, \mathcal{D},n)x^{k}q^{n} $$ and there is also a recurrence relation $$    p_k(\leq M, \mathcal{D},n) =         p_{k-1}(\leq M-1, \mathcal{D},n-k) +         p_k(\leq M-1, \mathcal{D},n-k) $$ How can I prove this? Could you recommend a book, where I could read about this? How to install TeX on Android phones? I used  app in my Android phone. But this app does not support XeLaTeX and requires an internet connection to be used.  Is there any distribution of TeX for Android? How I can install TeX on my Android phone? Atmospheric pressure In FBD doubt Let us say I have a beaker floating in a water tank. Suddenly I put some water in the beaker also. The figure here shows the exact situation   Now I want to draw the FBD of the beaker. I am somehow confused with the role of the atmospheric pressure in drawing the FBD. I thought of two ways of drawing this and I am just unable to figure out which one is right.    Here since the beaker is floating an $F_{buoyant}$ is there in the upward direction which the net mass (beaker+water in beaker) would put its weight downward.  But while solving one question I came to know that total force that a liquid exerts on the bottom of the container is $P_0+m_{liquid}g$ ($P_0$ is the atmospheric pressure). So should the downward force on the beaker be $(M_{beaker}+M_{water in beaker})g+P_0 S$ (S being the base area of the beaker) as in the second diagram down here.    Here the $P_0S$ due to atmospher on the tube gets cancelled by the $P_0S$ exerted by the water in tank on the tube. But what about the $P_0S$ from the water present in the tube? Do the FBD's apply like the one in the new image? So, let's take Skeptics.SE for an example. You can become a trusted user when you acquire 4000 rep., not 20000  I was like, wow, so is it like this because of the lack of users on Skeptics.Se, as in, not so much as Stack Overflow or something?  Why do some sites need less reputation to be a trusted user? Stop jQuery .load response from being cached I have the following code making a GET request on a URL:  $('#searchButton').click(function() {     $('#inquiry').load('/portal/?f=searchBilling&amp;pid=' + $('#query').val());             });   But the returned result is not always reflected. For example, I made a change in the response that spit out a stack trace but the stack trace did not appear when I clicked on the search button. I looked at the underlying PHP code that controls the ajax response and it had the correct code and visiting the page directly showed the correct result but the output returned by .load was old.  If I close the browser and reopen it it works once and then starts to return the stale information. Can I control this by jQuery or do I need to have my PHP script output headers to control caching? $f : S^1 \to\mathbb R$ is continuous then $f(x)=f(-x)$ for some $x\in S^1$ Question is to prove :  $f : S^1 \to \mathbb R$ is continuous then $f(x)=f(-x)$ for some $x\in S^1$  I guess it would be helpful to use intermediate value theorem  Assuming $f(x)\neq f(-x)$ then given any $p\in (f(-x),f(x))$ (assuming $f(-x)&lt;f(x)$) there exists $y\in (-x, x)$ such that $f(y)=p$  I am not very sure of how to use this..   It would be helpful if someone can give some hint which would help me to solve this..  Thank you. folder content doesn't get refreshed automatically in ubuntu 14.04 I'm using Ubuntu 14.04 and when I'm doing experiments which creates new files inside a particular folder X. But I can't see these new files inside X without refreshing X.  I have increased the count to 1M in  /proc/sys/fs/inotify/max_user_watches   but still the issue is not fixed.   How to fix it?  EDIT As suggested, output of cat /etc/xdg/autostart/user-dirs-update-gtk.desktop  [Desktop Entry] Encoding=UTF-8 Exec=xdg-user-dirs-gtk-update Name=User folders update Comment=Update common folders names to match current locale Terminal=false OnlyShowIn=GNOME;LXDE;Unity; Type=Application StartupNotify=false X-KDE-autostart-after=panel NoDisplay=true X-Ubuntu-Gettext-Domain=xdg-user-dirs-gtk How do I start a process from C#? How to hook into the CPT's title placeholder? I want to change the default placeholder text in my Custom Post Type title field. This isn't possible while registering a new post type.  The following screenshot describes it. In-universe explanation for single line of planetary entry/departure in Star Wars Why are planetary blockades confined to a single point of a planet instead of being sphere shell shaped around the planet? (I know, it would take an awful lot of spaceships.)  Also, when a rebel ship wants to escape from a planet and there is a single star destroyer hovering in the atmosphere (or some more of them further up, like in the Empire Strikes Back) how come it's not a viable maneuver to fly low altitude for a couple of hundred kilometers horizontally (they would be out of the single-point blockade), then make a vertical dash upwards? Selecting a database in mysql with spaces in its name I want to select my particular database in mysql console, but the problem is that my database name has a space in between and mysql ignores the part after the space. For instance, when i give the command:  use 'student registration'   I get the message:  cannot find database 'student' Java Generics (Wildcards) I have a couple of questions about generic wildcards in Java:   What is the difference between List&lt;? extends T&gt; and List&lt;? super T&gt;? What is a bounded wildcard and what is an unbounded wildcard? Review Queues and Ignored Tags Steps to Recreate:   Have enough rep to use some of the review queues. Ignore a popular tag. Go to your profile-> prefs-> check 'hide ignored tags'. Open a review queue.   You will get questions from your ignored tag(s) in the review queue.  Personally, I ignored a tag on Movies.SE (and Scifi.SE) for a film that is out elsewhere in the world, but not locally.  It's a simple way to avoid being exposed to spoilers.  I then load up the First Posts review queue on Movies.SE, and I get an answer to a question about the end of the film.  Can the review queues be altered to skip posts on your ignored tags when you have the 'hide ignored tags' option enabled? Add the ability to ignore users Show that $\int_0^ \infty \frac{1}{1+x^n} dx= \frac{ \pi /n}{\sin(\pi /n)}$ , where $n$ is a positive integer. Make cd automatically ls I find that I often do the following:  %&gt; cd bla/bla %&gt; ls   I would like it that whenever I cd into a directory it automatically does an ls.  I fiddled with my .bashrc for a while, but couldn't figure out how to make it happen. Alternative IDE for VB6 and VBA I've been spoiled by Visual studio 2008 and Eclipse and have to do a little maintainence work on a VB6 app.  Does anyone know of an alternative/ updated IDE for VB6?  A rewrite is not an option I'm just fixing a couple of bugs and it's a big codebase. I was curious about how other people use the this keyword. I tend to use it in constructors, but I may also use it throughout the class in other methods. Some examples:  In a constructor:  public Light(Vector v) {     this.dir = new Vector(v); }   Elsewhere  public void SomeMethod() {     Vector vec = new Vector();     double d = (vec * vec) - (this.radius * this.radius); }