I am trying to write my own class and I don't quite understand the use of percent signs. For example, I have this snippet of code in my .cls file: \renewcommand{\maketitle}{     \begin{center}         \huge\bfseries{foo}     \end{center} }  However, scanning through examples online, I have noticed the use of percent signs: \renewcommand{\maketitle}{%     \begin{center}         \huge\bfseries{foo}     \end{center}% }  These two bits of code seem to work exactly the same. I'm wondering, is there any difference between the two (I'm guessing the % sign does not have the same meaning that is has in .tex files)?
I see that the code in many packages and examples contains percent signs % at the end of (many) lines. What are they used for? Do they affect the parsing of those lines?
How to disable automount in nautilus's preferences I am using Ubuntu 11.10 (64 bits) and I do not want to mount automatically USB thumb drives in my system. I tried the command dconf-editor and gconf-editor but there isn't the icon to disable it in nautilus preferences (apps|nautilus|preferences|media_automount).  Thanks. I've been working on the Android SDK platform, and it is a little unclear how to save an application's state. So given this minor re-tooling of the 'Hello, Android' example:  package com.android.hello;  import android.app.Activity; import android.os.Bundle; import android.widget.TextView;  public class HelloAndroid extends Activity {    private TextView mTextView = null;    /** Called when the activity is first created. */   @Override   public void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);      mTextView = new TextView(this);      if (savedInstanceState == null) {        mTextView.setText("Welcome to HelloAndroid!");     } else {        mTextView.setText("Welcome back.");     }      setContentView(mTextView);   } }   I thought it would be enough for the simplest case, but it always responds with the first message, no matter how I navigate away from the app.  I'm sure the solution is as simple as overriding onPause or something like that, but I've been poking away in the documentation for 30 minutes or so and haven't found anything obvious. No sound in Ubuntu 13.04, only Dummy output device listed My sounds suddenly stopped playing on Ubuntu 13.04 64bit. I can only see Dummy output device in the Sound Settings and no sound is played during testing.  I can get the sound temporarily working by killing one of the strange processes, but I have to repeat the same after reboot  jan@jan-HP-Desktop:~$ ps -ef|grep pulseaudio 112       1405     1  0 09:38 ?        00:00:00 /usr/bin/pulseaudio --start --log-target=syslog 112       2132  1405  0 09:38 ?        00:00:00 /usr/lib/pulseaudio/pulse/gconf-helper jan       2575     1  0 09:39 ?        00:00:00 /usr/bin/pulseaudio --start --log-target=syslog jan       2597  2575  0 09:39 ?        00:00:00 /usr/lib/pulseaudio/pulse/gconf-helper jan       3160  2975  0 09:40 pts/2    00:00:00 grep --color=auto pulseaudio  jan@jan-HP-Desktop:~$ sudo kill 1405   Is there a permanent solution for this problem? It looks like we'll be adding  support to Stack Overflow. This is necessary to prevent bots, spammers, and other malicious scripted activity. We only want human beings to post or edit things here!  We'll be using a JavaScript (jQuery) CAPTCHA as a first line of defense:    The advantage of this approach is that, for most people, the CAPTCHA won't ever be visible!  However, for people with JavaScript disabled, we still need a fallback and this is where it gets tricky.  I have written a  which we can re-use.    However, I'd prefer to go with something textual to avoid the overhead of creating all these images on the server with each request.  I've seen things like..   ASCII text captcha: \/\/(_)\/\/ math puzzles: what is 7 minus 3 times 2? trivia questions: what tastes better, a toad or a popsicle?   Maybe I'm just tilting at windmills here, but I'd like to have a less resource intensive, non-image based &lt;noscript&gt; compatible CAPTCHA if possible.  Ideas? Animagi (Sirus specifically) and wands? What are matter waves made of and what is their speed? At the moment, in major part because they are two separate post objects in the system, the excerpt and the body of a tag wiki count as two separate posts with regards to suggested edits in the queue. Mechanically, this is sane, but when it comes to handling the actual queue, it can be confusing. A body edit might consist of little more than a bed of links, which looks bad. But then an excerpt is shown that includes the rest of the data, and since excerpts can be included on the actual wiki page, it makes a lot more sense when they're taken in the same space.  And this is how they are composed, too. The actual edit interface for working on tag wikis has both the excerpt and the body on the same page. In a sense, the excerpt behaves a lot like the "title" of the wiki, if we make a parallel to normal post edits.  Thus, my suggestion (which is to say a suggestion that I repossessed from Robert Cartaino) is that when suggested edits are reviewed for tag wikis, that they be presented in a single unit, treating the excerpt the same as how a title is treated in a question edit. This way, relevant information that is crossed between the two isn't lost because they are reviewed separately. How to find users by name I have a whole bunch of people I would love to follow or at least check out on Stack Overflow. I know them from places like Github as well as personal friends. However I am having a really hard time finding them even though I know e.g. their Gmail address and that they use OpenID via Gmail to login and their full name.   How come this is so painful? Note that I don't want to have to fuzz around with the data explorer just to find a friend of mine on Stack Overflow. What am I missing? Is it just not there or just not working properly? I recently bought myself a pack of four YN560 IV's and a YN560-TX for my Canon camera, and apparently I got ahead of myself and didn't realise I should make sure the flashes support HSS.  I tried them out yesterday at home, and even on 1/128 and 1/250s on the camera, they were overexposing here and there. Unfortunately, I don't really have the space to move the flashes much further from my subject, so I was wondering if there is any way to trick them into HSS? I should mention that I also own a Canon 580ex II, which does support HSS. I was thinking I could perhaps use that mounted on the camera to trigger the Yongnuo's, but as far as I can tell that would render the 560-TX useless as the flashes can't be controlled wirelessly when in S1 or S2.  I guess I could buy an ND filter, but as I have lenses with differing sizes, this feels like more of a pain in the ass.  Is there any hack I can pull off here that you guys know of?  Thanks! What is the purpose of the EBP frame pointer register? I'm a beginner in assembly language and have noticed that the x86 code emitted by compilers usually keeps the frame pointer around even in release/optimized mode when it could use the EBP register for something else.  I understand why the frame pointer might make code easier to debug, and might be necessary if alloca() is called within a function.  However, x86 has very few registers and using two of them to hold the location of the stack frame when one would suffice just doesn't make sense to me.  Why is omitting the frame pointer considered a bad idea even in optimized/release builds? Can a warlock use one of their Thirsting Blade attacks to grapple or shove? Why would the First Order have lightsaber-resistant batons? In The Force Awakens there is a new Stormtroopr who is equipped with a lightsaber-resistant baton.    Except for one thing:   In Revenge of the Sith, most of the Jedi are killed. During the original Star Wars trilogy the last few remaining Jedi — except for Luke Skywalker — die.     And before The Force Awakens Kylo Ren kills off everyone at Luke’s school and drives Luke into exile.    There are practically no lightsabers in existence, so why are these weapons deployed at all if their only use is in counter-lightsaber combat? How to add user to a group from Mac OS X command line? trying to add a user to a group from the command line but can't figure out how?   Specifically this is on Mac OS X Server 10.5.8  like to add user to 'admin' and 'wheel' groups Rep line graph: Say "only 200+ accounts displayed" at all times As discovered/discussed , the cross-site reputation graph doesn't show accounts that have less than 200 reputation. The problem is that, unless you have zero accounts over that bar, it doesn't tell you that. I think the "Accounts must have a minimum of 200 reputation to appear in this graph" notice should appear either (A) at all times or (B) if you have any accounts below 200. How do I evaluate $\int \frac{\mathrm{d}x}{e^x + 1} $? How do I solve evaluate $$\int \frac{\mathrm{d}x}{e^x + 1}\ ?$$  I know that I have to use $u$ substitution but I can't seem to find something to substitute with. I'm currently a beginner when it comes to 3D modelling but doing okay so far. I'm struggling a bit when it comes to the final renders of my scene, specifically on the camera view I want. Sometimes its to zoomed in and sometimes to zoomed out that it's gone out of the environment of the blender. I realized the settings for the camera on blender are for actual cameras / photography and I'm no expert on that too. A tip on how to control them precisely would be nice. Thank you. Proof Verification: Converse of Intermediate Value Theorem A function $f$ is increasing on $A$ if $f(x)\leq f(y)$ for all $x&lt;y$ in $A$. Show that the Intermediate Value Theorem does have a converse if we assume $f$ is increasing on $[a,b]$.  The converse of IVT along with the additional hypothesis would look like this: Lef $f:[a,b] \rightarrow \mathbb{R}$ be an increasing function on $[a,b]$ which satisfies: if $L$ is a real number such that $f(a)&lt;L&lt;f(b)$ (or $f(a)&gt;L&gt;f(b)$), then there exists a point $c\in (a,b)$ where $f(c)=L.$ If the preceding conditions are met, then $f$ is continuous on $[a,b]$.  The proof (if it's correct) I'm going to show is only for the $c \in (a,b)$, but I think for end points ($a$ or $b$), the method should be similar.  We want to show that given $c \in (a,b)$, for all $\epsilon&gt;0$, there exists a $\delta&gt;0$ such that $|x-c|&lt;\delta \implies |f(x)-f(c)|&lt;\epsilon$.  Since $f$ is increasing, we know that $f(a)\leq f(c)$. If $f(c)-\epsilon&lt;f(a)$, then set $x_1=a$, if $f(c)-\epsilon\geq f(a)$, then we know by hypothesis that a $x_1&lt;c$ exists such that $f(x_1)=f(c)-\epsilon.$ In either case, we have for $x \in (x_1,c]$ $$ f(c)-\epsilon \leq f(x_1) \leq f(x) \leq f(c) .$$  In a similar way, since we know that $f(c)\leq f(b)$, we can deduce that a $x_2&gt;c$ exists such that, for $x \in [c,x_2)$ $$f(c)\leq f(x)\leq f(x_2)\leq f(c)+\epsilon .$$  Pick $\delta = \min \{c-x_1,x_2-c \}$, we then have $$|x-c|&lt;\delta \implies |f(x)-f(c)|&lt;\epsilon .$$  Is this correct? In the proof that I saw, they originally used $\frac{\epsilon}{2}$, instead of just $\epsilon$, but I think this one works just as well, what do you guys think? For closed subsets $A,B \subseteq X$ with $X = A \cup B$ show that $f \colon X \to Y$ is continuous iff $f|_A$ and $f|_B$ are continuous. I was just trying to solve an exercise in Munkres' Analysis on Manifolds to get better at continuous functions and topology in $\mathbb{R}^{n}$, and I got stuck. Here it is:      Let $X = A \cup B$, $A$ and $B$ are subspaces of $X$. Let $f:X \rightarrow Y.$ Suppose that the restricted functions $f_{|A}:A \rightarrow Y$ and $f_{|B}:B \rightarrow Y$ are continuous. Show that if both $A$ and $B$ are closed in $X$, then $f$ is continuous.    Our definition of continuity is:  $f$ is continuous at $x \in X$ if for each open set $V$ of $Y$ containing $f(x)$, there is an open set $U$ of $X$ containing $x$ such that $f(U) \subset V$. $f$ is continuous if it is continuous at each point of its domain.  What I've tried so far:  Suppose $A$ and $B$ are closed in $X$. Suppose $A \cap B = \emptyset$. Then $X -A$ is open in $X$. But $X - A = B$ which is closed in $X$, which is a contradiction. Hence, $A \cap B \ne  \emptyset$. I'm not sure if this will be useful in the problem or not. If $x \in X$, then it's either in $A$ or in $B$. Suppose without loss of generality that it's in $A$. Then for all open sets $V$ of $Y$ s.t. $f(x) \in V$, $\exists$ an open set $U_{1}$ of $A$ s.t. $U_{1} \subset A, a \in U_{1}$ and $f(U_{1}) \subset V$. This is almost what we want, except that we want to find an open set $U$ of $X$ s.t. $U \subset A, a \in U$ and $f(U) \subset V$. This is because $U_{1}$ being open in $A$ does not necessarily mean that it's open in $X$ because $A$ is closed in $X$. (i know how to expand this argument out if needed) My idea now is to try to find a subset $U$ of $U_{1}$ such that $U$ is open in $X$. We have two cases:  (1) $U_{1}$ does not intersect the boundary of $A$. (2) $U_{1}$ intersects the boundary of $A$. Now I'm not sure what to do. I'm wondering if it would help to investigate the relationship between Bd(A) and Bd(B).. In any case (no pun intended), any help/advice would be greatly appreciated. :)  Sincerely,  Vien I was making this recipe: , which was from the old Lincoln Del, one of my mom's favourite places. I mistakenly doubled the sugar, putting in 1/2 a cup instead of a 1/4 of a cup. Given the 2/3 of a cup ketchup, which was Heinz, the soup turned out way, way too sweet.   Is there any way I can rescue this? What is color temperature and how does it affect my photography?