Inconsistent and confusing rep total in achievements tray after downvoted answer was deleted Just a while ago, after editing another post here on meta, I happened to notice a green "+1" in the new top bar, apparently informing me that I'd somehow gained 1 rep somewhere.  Clicking it, here's what I was shown:    Notice how there's no +1 rep entry in the drop-down, or even any set of entries that could sum to +1.  However, there is a red -1 from yesterday, caused by downvoting an answer.  (It was still shown in the tray when I took the screenshot, but as I'm writing this, it has disappeared entirely.)  Apparently, what happened is that  was just deleted by its author, causing me to regain the lost rep.  That's fine, that's .  But frankly, the way it's presented in the achievements tray is pretty confusing, and I'd argue that it should be considered a bug.  Instead, I'd suggest either:   not showing rep changes due to post deletion in the achievements tray at all, or showing an explicit "question/answer was deleted" entry in the drop-down, with a rep value corresponding to the actual rep change due to deletion (i.e. +1 in this case).
Deleted downvotes should appear in Achievements dialog "Good morning.  Here is something awesome that you got last night!", said the Top Bar:    "21?  That must be two answer upvotes and, um, an answer that I downvoted that was deleted?", I thought.  Ok, let's look at the details and find out:    The +20 on my egrep answer is new and I've seen the other Achievements on the list, so where did the extra +1 come from?  In order to avoid confusion, the recent reputation changes in the dropdown should add up to the number in the notification.      I suspect this particular case is a bug.  Assuming the +1 is a downvote reversed by an answer deletion, I could see the argument for excluding it from the Achievements dropdown.  After all, it's not exactly something you accomplished.  Except it kinda is.  Part of the reason for downvoting is to  low-quality content.  The ultimate sign that such content was deemed beneath community standards is when it gets deleted.  I'm not sure that we should , but putting a note in your achievements in such cases seems like it would reinforce positive (albeit negative) behaviour.  This question is a feature request that rep gains from deleted downvotes be listed in the Achievements dialog, without getting into broader issues of displaying other activity on deleted posts such as those discussed in .  Thus, this is not intended to completely address the issue of the Achievements sum not adding up, but is intended to help encourage good community moderation by appropriate downvoting of low-quality content.
In a LaTeX article, the math characters are more "curvy" than the text characters:  \documentclass[12pt]{article} \begin{document}  $x^2 + y^2 = z^2$ \end{document}     In a beamer presentation, the math characters do not have the same curves:  \documentclass{beamer} \begin{document} \begin{frame}  $x^2 + y^2 = z^2$ \end{frame} \end{document}     Question  How can I get the beamer math to look just like the article math?  I would prefer if the solution was a single line (that I could place at the top of my LaTeX file) as opposed to something that needs to appear next to every piece of math. How to remove the Mail icon indicator applet? How to wrap lines correctly inside algorithmic I am having problems displaying algorithms. The wrapping is really ugly and I can't, for the life of me, find a fix that doesn't involve manually tweaking the hell out of everything, to the point that I might as well scrap the crappy algorithm packages and write everything out in TeX.  Is there any way to properly indent the following  \documentclass{article} \usepackage{algorithm} \usepackage{algpseudocode} \begin{document} \begin{algorithm}    \caption{My pseudo code.} \begin{algorithmic}[1]    \While{this line is sooooooooooo long and boring and too much for algorithmic to handle}       \State look at this state, this state is just too long for algorithmic to display it properly        \While{again this line is sooooooooooo long and boring and too much for algorithmic too handle}          \State look at this state again, this state is just too long for algorithmic to handle, I'm just going to switch to Word       \EndWhile    \EndWhile \end{algorithmic} \end{algorithm} \end{document}​     so that the output is similar to Is the Dungeon Magazine 4e Adventure List spreadsheet still available? used to go to a spreadsheet with all the 4E adventures published in Dungeon Magazine (and possibly some others, IIRC) during that edition's duration. I remember it listed out each adventure by name, start/end level, adventure path, and maybe even a little summary blurb.  However, the spreadsheet behind that link seems to have disappeared into the digital ether, and I can't find a copy of it in my own google drive (implying I never made a copy of it).  Does anyone happen to have a copy of that spreadsheet that they could share, and/or other resources that would let me sort through the many adventures from 4E Dungeon Magazine? Description of varieties in $\mathbb{P}^2\times \mathbb{P}^1$ If $[x:y]$ are coordinates of $\mathbb{P}^1$ and $[X:Y:Z]$ are coordinates of $\mathbb{P}^2$, what do the following varieties look like?   $V(x^2X+y^2Y+xyZ)\subset \mathbb{P}^2\times \mathbb{P}^1$ $V(x^2X^2+y^2Y^2+xyZ^2)\subset \mathbb{P}^2\times \mathbb{P}^1$   As of now, I don't quite know how to visualize these varieties. A detailed geometric picture would be especially welcome. What do you call a person who keeps talking about art; studies art, criticizes art, and thinks he'd be amazing with it. But he doesn't practice it notify-send not working under ssh Why do return flight costs vary depending on the country of origin? From question . You have to use \r when replacing text for a newline, like this  :%s/%/\r/g   But when replacing end of lines and newlines for a character, you can do it like:  :%s/\n/%/g    What section of the manual documents these behaviors, and what's the reasoning behind them? Converting Linux into a Router- Traffic from eth0:0 to eth0 So I have been trying to convert my linux box which is running Mint into an router. eth0 has a public address that has 71.xx.xx.xx for an IP addr. I created an eth0:0 and set it an IP address , 10.0.0.100. I started a DHCP server that is on eth0 ( because it wont use eth0:0) and that's giving out addresses between 10.0.0.101 and 10.0.0.200. I can ping between eth0 and eth0:0 on the same machine. I have a another laptop connected to the linux via a switch and its able to receive an ip addr via the DHCP server. Problem is how do I route traffic from and to eth0:0 to eth0 and vice versa so that computers on the private network that is 10.0.0.x can access internet via the static IP on eth0. Redirect all requests to subdirectory except a few ip addresses Find $\sum_{n=1}^{\infty}$ $\frac{n^{2}}{\left(n+1\right)\left(n+2\right)\left(n+3\right)\left(n+4\right)}$ $$\sum_{n=1}^{\infty}\frac{n^{2}}{\left(n+1\right)\left(n+2\right)\left(n+3\right)\left(n+4\right)}$$   MY Approach$\sum_{n=1}^{\infty}$$\frac{n^{2}}{\left(n+1\right)\left(n+2\right)\left(n+3\right)\left(n+4\right)}$ = Lim$_{k\rightarrow\infty}$$\sum_{k=1}^{n}\frac{k^{2}}{\left(k+1\right)\left(k+2\right)\left(k+3\right)\left(k+4\right)}$  $\frac{k^{2}}{\left(k+1\right)\left(k+2\right)\left(k+3\right)\left(k+4\right)}$= $\frac{1}{6\left(n+1\right)}$-$\frac{2}{\left(n+2\right)}$+$\frac{9}{\left(n+3\right)2}$-$\frac{8}{\left(n+4\right)3}$  I don't think i can telescope it, And i don't know any other method My code runs inside a JAR file, say foo.jar, and I need to know, in the code, in which folder the running foo.jar is.  So, if foo.jar is in C:\FOO\, I want to get that path no matter what my current working directory is. How to install "vanilla" TeXLive on Debian or Ubuntu? Debian and Ubuntu have very good texlive packaging. But I'd like to use tlmgr to have a more fine-grained control about upgrades and which packages I want to be installed.   So how do I install "vanilla" TeXLive on Debian/Ubuntu?   Also how do I make dpkg aware that I have TeXLive installed? How to access the road graph plugin in python? I am developing a few scripts in Python for QGIS 1.8 to automate some geo-tasks and one of them would be to calculate the shortest distance from a hospital to each building in a town.  I would like to take advantage of the already existing Qgis plugin but, as it is a C++ plugin, I am not sure whether it is possible to access it from Python? Is there a binding or a trick for that?  If not, any further advice would be appreciated! As the base data is OpenStreetMap data stored in a PostGIS DB, I may also try with pgRouting. But the QGIS plugin would be my favourite choice if possible.  PS: this question is close to this one:  but I believe it's still different enough to be worth a new thred. I have 2 ADS1299 analog to digital converters(). I need to give them bipolar mode supplying but I must use a powerbank of 5V 3A. I wonder how can I create a bipolar supply of +2.5v -2.5v as mention in the datasheet from the 5V of the powerbank. I am new in this field. Thank you First Order Time-Variant System : Picard Method I looking at a time variant first order system. I am trying to prove that a sequence of functions $x^{[k]}(t)$ generated using Picard iterations converges uniformly on some interval $[0,T]$.  Given:  $\dot{x}(t)=A(t)x(t)$ where $x(0)=x_0$  $x(t)=x∈R^n$ where $A(t)$ is a $n×n$ matrix  Assume there exists $M$ such that $||A(t)||\le M$ for all $t\ge 0$ and that $A(t)$ is a piecewise continuous function. Show that, for any $T &gt; 0$, a solution exists in the interval $[0,T]$.  I know that $x(t)=x_0+\int^t_0A(τ)x(τ) dτ$ must be satisfied if the solution does indeed exist.  I am supposed to use Picard iterations to prove this, which I am not familiar with yet. But I know that they are of the form: $x^{[k+1]}=x_0+\int^t_0A(τ)x^{[k]}(τ) dτ$. Where $x^{[0]}(t)=x_0$  Can I use the standard Picard proof to prove this or do I need to start somewhere else?  I was also asked to show that this method satisfies  $|x^{[k+1]}(t)-x^{[k]}(t)|\le |x_0| $$\frac{π^{k+1}(t)}{(k+1)!}$ where $π(t)=\int^t_0||A(τ)||dτ$.  I have no idea where to start with this, but hopefully it will become clearer once I finish the first part. nginx location match issue auth_basic I have this configuration :  location / {     root /etc/nginx/euchet; }  location /app/ {     proxy_pass http://172.16.184.2:8080;     proxy_redirect off;     proxy_set_header Host $host;     proxy_set_header X-Real-IP $remote_addr;     proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;     proxy_set_header REMOTE_ADDR $remote_addr; }   And I need to add another location with auth_basic enabled only for the request: /app/f?p=3000  I tried with rexexp:     location ~ \/appt\/f\?p=3000 {             auth_basic "Hello! Enter password";             auth_basic_user_file /etc/nginx/euchet.htpasswd;              proxy_pass http://172.16.184.2:8080;             proxy_redirect off;              proxy_set_header Host $host;             proxy_set_header X-Real-IP $remote_addr;             proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;             proxy_set_header REMOTE_ADDR $remote_addr;     }   Nginx use previous location /app/.  I tried another way:  location ~* /euchet/f {      if ($arg_p = "4550") {         return 403;     }      error_page 403 = @hidden; }     location @hidden {             auth_basic "Hello! Enter password";             auth_basic_user_file /etc/nginx/euchet.htpasswd;              proxy_pass http://172.16.184.2:8080;             proxy_redirect off;              proxy_set_header Host $host;             proxy_set_header X-Real-IP $remote_addr;             proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;             proxy_set_header REMOTE_ADDR $remote_addr; }   And I get 403 error on f?p=3000, and 404 errors on f?p=&lt;another_number&gt;  How can I fix this problem? Why do I get a black rectangle instead of my external picture? I write some of my network notes in TeX. I wanted to make a table, and inside it insert an image:   .   I wrote a document:  \documentclass{article} \usepackage[demo]{graphicx} \usepackage{booktabs} \usepackage{array}  \begin{document} \begin{tabular}{m{3cm}m{3cm}m{5cm}} \toprule Configuration for ... &amp; Commands &amp; Topology\\ \midrule PPP: CHAP, PAP &amp; \#sh int se 0/0/0  &amp; \includegraphics[width=4cm, height=4cm]{chappap.png}\\  &amp; &amp; \\ \bottomrule \end{tabular} \end{document}   But instead of my network topology image, I see only this: .   I don't know what is wrong, cause my image is 100% in the same dir, as my *.tex file.  EDIT:  Changed my code as @Jubobs suggested, now everything is as I wanted:  \documentclass{article}     \usepackage{graphicx}     \usepackage{booktabs}     \usepackage{array}      \begin{document}     \begin{tabular}{m{3cm}m{3cm}m{5cm}}     \toprule     Configuration for ... &amp; Commands &amp; Topology\\     \midrule     PPP: CHAP, PAP &amp; \#sh int se 0/0/0  &amp; \includegraphics[width=4cm, height=4cm]{chappap.png}\\      &amp; &amp; \\     \bottomrule     \end{tabular}     \end{document} Singleton: How should it be used