What will happen to my reputation when the Community Wiki status of a post is reversed? A per the Community Wiki ,      The original author keeps the reputation gained (or lost) before their   post entered community mode.      The original author can flag the post to moderator attention for   re-convert the C.W to normal post, the moderators will take action on   that.   If the Community Wiki status of a post is reversed, what will happen to the reputation of votes (Up/down) gained by the post at during its time as a Community Wiki?
Reputation does not update after community wiki is removed from a post, and does not match the value displayed in the reputation audit If votes were cast on a post while it was community wiki, and a moderator removes wiki from that post, the votes should count towards reputation again. However, while this is visible in a reputation audit, , and the reputation score needs to be recalculated to reflect the change.  Can someone fix this?
Connecting subplots Is there a way to draw a sort of connection between subplots in TiKz/pgfplot, like in this ? I'm looking to achieve something like this:    But I would need to draw the "x 2000" line between the plots.  EDIT: So right now I have something like this:    Coming from my main.tex:  \input{aipcheck}  \documentclass[final]{aipproc}  \layoutstyle{8x11single} \usepackage[utf8]{inputenc} \usepackage{algorithm2e} \usepackage{color} \usepackage[usenames,dvipsnames]{xcolor} \usepackage{cleveref} \usepackage{pgfplots}  \pgfplotsset{ tick label style={font=\tiny}, %axis numbers label style={font=\small}, %axis labels legend style={font=\tiny} }  \begin{document}  (...)  \begin{figure}     \centering     \newlength\figureheight      \newlength\figurewidth      \setlength\figureheight{5cm}      \setlength\figurewidth{5cm}     \input{figs/_ddmp2d.tikz} \label{fig2D} \end{figure}   with _ddmp2d.tikz, originally created from matlab2tikz, but already modified, containing:  % This file was created by matlab2tikz v0.3.3. % Copyright (c) 2008--2013, Nico Schlömer &lt;nico.schloemer@gmail.com&gt; % All rights reserved. %  % The latest updates can be retrieved from %   http://www.mathworks.com/matlabcentral/fileexchange/22022-matlab2tikz % where you can also make suggestions and rate matlab2tikz. %  %  %   \begin{tikzpicture}  \begin{axis}[% width=\figurewidth, height=\figureheight, scale only axis, xmin=0, xmax=15, xlabel={Number of iterations}, ymin=0, ymax=16000000000000, name=plot1, after end axis/.append code={\coordinate (a) at (axis description cs:1,0);}]  \addplot [ thick, color=red, dash pattern=on 1pt off 3pt on 3pt off 3pt, forget plot ] table[row sep=crcr]{ 1 15841000000000\\ (...) 15 25160000000\\ }; \addplot [ thick, color=black, dashed, forget plot ] table[row sep=crcr]{ 1 15841000000000\\ (...) 15 52501000000\\ }; \addplot [ thick, color=blue, dotted, forget plot ] table[row sep=crcr]{ 1 15841000000000\\ (...) 15 5324200000\\ }; \addplot [ thick, color=green, solid, forget plot ] table[row sep=crcr]{ 1 15841000000000\\ (...) 15 551920000\\ }; \addplot [ thick, color=green, solid, forget plot ] table[row sep=crcr]{ 3 0\\ 3 16000000000000\\ };  \addplot [ thick, color=blue, dotted, forget plot ] table[row sep=crcr]{ 4 0\\ 4 16000000000000\\ }; \addplot [ thick, color=black, dashed, forget plot ] table[row sep=crcr]{ 5 0\\ 5 16000000000000\\ }; \addplot [ thick, color=red, dash pattern=on 1pt off 3pt on 3pt off 3pt, forget plot ] table[row sep=crcr]{ 8 0\\ 8 16000000000000\\ }; \end{axis}  \begin{scope}[xshift=5cm] \begin{axis}[% width=0.35\figurewidth, height=\figureheight, scale only axis, xmin=995, xmax=1000, xtick={997,998,999,1000}, xticklabels={$997$,$998$,$999$,$1000$}, ymin=0, ymax=8000000000, at=(plot1.right of south east), anchor=left of south west, yticklabel pos=right, axis x discontinuity=crunch, after end axis/.append code={\coordinate (b) at (axis description cs:0,1);} ] \addplot [ thick, color=red, dash pattern=on 1pt off 3pt on 3pt off 3pt ] table[row sep=crcr]{ 995 6093100000\\ 996 6093100000\\ 997 6093100000\\ 998 6093100000\\ 999 6093100000\\ 1000 6093100000\\ };  \addplot [ thick, color=black, dashed ] table[row sep=crcr]{ 995 1577100000\\ 996 1598000000\\ 997 1598500000\\ 998 1628600000\\ 999 1631000000\\ 1000 1595900000\\ };  \addplot [ thick, color=blue, dotted ] table[row sep=crcr]{ 995 2592000000\\ 996 2591900000\\ 997 2591700000\\ 998 2591600000\\ 999 2591500000\\ 1000 2591400000\\ };  \addplot [ thick, color=green, solid ] table[row sep=crcr]{ 995 391810000\\ 996 391810000\\ 997 391810000\\ 998 391810000\\ 999 391810000\\ 1000 391810000\\ };  \end{axis} \draw[gray] (a) -- (b) node[pos=0.5,sloped,fill=white] {$\times$2000}; \end{scope}  \end{tikzpicture}% Show $\inf_f\int_0^1|f'(x)-f(x)|dx=1/e$ for continuously differentiable functions with $f(0)=0$, $f(1)=1$. How does gravity escape a black hole? My understanding is that light can not escape from within a black hole (within the event horizon).  I've also heard that information cannot propagate faster than the speed of light.  It would seem to me that the gravitational attraction caused by a black hole carries information about the amount of mass within the black hole.  So, how does this information escape?  Looking at it from a particle point of view: do the gravitons (should they exist) travel faster than the photons? If $\mid a_{jj}\mid \gt \sum_{i \neq j} \mid a_{ij} \mid$ then vectors $a_1,\dots ,a_n \in \mathbb{R}^n$ are linearly indendent. Let $a_1,\dots ,a_n \in \mathbb{R}^n$ with $a_i = (a_{i1}, \dots , a_{in})$.  Show that when $\mid a_{jj}\mid \gt \sum_{i \neq j} \mid a_{ij} \mid \; \forall \; j\in \{1,\dots ,n\}$, then $a_1,\dots ,a_n$ are linearly independent.  I want to show that the matrix \begin{matrix} a_{11} &amp; a_{21} &amp; \cdots &amp; a_{n1} \\ a_{12} &amp; a_{22} &amp; \cdots &amp; a_{n2} \\ \vdots &amp; &amp; \ddots &amp; \\ a_{1n} &amp; a_{2n} &amp; \cdots &amp; a_{nn} \end{matrix} can be transformed into an upper triangular matrix with all entries in the main diagonal $\neq 0$.  For the cases $n=1$ and $n=2$ this is easy. However, I fail to show this for the general case; the problem being that the tranformations mess up the coefficients such that I can't use the assumption on the $a_{jj}$'s anymore.  I'm pretty sure that this has already been solved somewhere on here, but I don't know how to search for it. What's the origin of the flattened X that appears when of a small (but powerfull enough) light is reflected in our non-powered TV screen? Parenthesis vs brackets for matrices When I first learned linear algebra, both the professor and the book used brackets like [ and ] to enclose matrices. However, in my current differential equations textbook, matrices are enclosed by parenthesis, and I suddenly realize everybody else are using them too.  So are brackets/parenthesis for enclosing matrices always totally interchangeable? Show that $13$ divides $2^{70} + 3^{70}$.   My main problem here is trying to figure out how to separate the two elements in the sum, and then use Fermat's little theorem. So how can I separate the two?  Thanks! String representation of an Enum I have the following enumeration:  public enum AuthenticationMethod {     FORMS = 1,     WINDOWSAUTHENTICATION = 2,     SINGLESIGNON = 3 }   The problem however is that I need the word "FORMS" when I ask for AuthenticationMethod.FORMS and not the id 1.  I have found the following solution for this problem ():  First I need to create a custom attribute called "StringValue":  public class StringValue : System.Attribute {     private readonly string _value;      public StringValue(string value)     {         _value = value;     }      public string Value     {         get { return _value; }     }  }   Then I can add this attribute to my enumerator:  public enum AuthenticationMethod {     [StringValue("FORMS")]     FORMS = 1,     [StringValue("WINDOWS")]     WINDOWSAUTHENTICATION = 2,     [StringValue("SSO")]     SINGLESIGNON = 3 }   And of course I need something to retrieve that StringValue:  public static class StringEnum {     public static string GetStringValue(Enum value)     {         string output = null;         Type type = value.GetType();          //Check first in our cached results...          //Look for our 'StringValueAttribute'           //in the field's custom attributes          FieldInfo fi = type.GetField(value.ToString());         StringValue[] attrs =            fi.GetCustomAttributes(typeof(StringValue),                                    false) as StringValue[];         if (attrs.Length &gt; 0)         {             output = attrs[0].Value;         }          return output;     } }   Good now I've got the tools to get a string value for an enumerator. I can then use it like this:  string valueOfAuthenticationMethod = StringEnum.GetStringValue(AuthenticationMethod.FORMS);   Okay now all of these work like a charm but I find it a whole lot of work. I was wondering if there is a better solution for this.  I also tried something with a dictionary and static properties but that wasn't better either. Let's say you have a few expressions like the following:  $$\begin{array}((x+17)^2 \\ x^2 + 34x + 289 \end{array} \\ 288 + \frac{x^2}{2} + \frac{x^2}{2} + 34x + 1 \\ [...] $$  You get the idea: there's an infinite number of ways of representing the same expression. The challenge is that my application is validating answers to math problems, input by math students practicing a certain concept. I'd like to make sure that whenever they submit an answer, the checker is completely insensitive to the issues of ordering, simplification, formatting etc. which would be plain frustrating. I'd also ideally like to support more than one variable such as x, y, z in the same expression.  What's a reliable way to check that two expressions are the same? The most brute force way I can think of would be to just plug a number into each variable of each expression and see what the result is.  I have a hunch however that there might be ways of getting false positives this way. That, and I might be either missing something really obvious about this, or there might be a better way of doing the comparison.  Would love to hear what you think. Moving files of specific type/extension from one directory to another? What are the restrictions on the use of Slayer's Prey? In the recent book Xanathar's Guide to Everything, there are some subclasses/archetypes added for Rangers, among them the  (p. 43), which gives some specific helpful features. Hunter's Sense  At 3rd level, you gain the ability to peer at a creature and magically discern how best to hurt it. As an action, choose one creature you can see within 60 feet of you. You immediately learn whether the creature has any damage immunities, resistances, or vulnerabilities and what they are. If the creature is hidden from divination magic, you sense that it has no damage immunities, resistances, or vulnerabilities. You can use this feature a number of times equal to your Wisdom modifier (minimum of once). You regain all expended uses of it when you finish a long rest.  The limitations on use are clearly spelled out. Slayer's Prey  Starting at 3rd level, you can focus your ire on one foe, increasing the harm you inflict on it. As a bonus action, you designate one creature you can see within 60 feet of you as the target of this feature. The first time each turn that you hit that target with a weapon attack, it takes an extra 1d6 damage from the weapon. This benefit lasts until you finish a short or long rest. It ends early if you designate a different creature.  So from this, I would interpret it as it being able to switch from creature to creature at will, but there is no guidance as to what happens if the creature under the mark dies, or if you can carry it (so to speak) from encounter to encounter. Is there a limitation on the use of Slayer's Prey in the wording that I am missing? Or is this a basically a multiple use feature? (i.e., you can designate any creature as a bonus action, with no limitations on uses per day)? The extra d6 seems a little overpowering at lower levels, and somewhat meh at higher levels. FWIW, the GM basically allowed it as multi-use for the session, and was going to also try to find clarification. How to move a visible file to a hidden folder? I've only been using Ubuntu for two weeks and have been able to find answers to any problem I had, however this one defies my searches.  I want to move a visible programme file (wallch) to a hidden directory ./config/autostart.  I have been able to enter this directory and the subject file is not there and I want to have this program start at bootup.  Can anyone assist?  Thanking you Is there a good reason for the removal of this FrameTicks syntax? Why don't digital cameras shoot video at full sensor resolution, or do continuous drive at video framerates? I am looking for help to point me out at a very old novel (likely from the '60s) about two empires at interstellar war. When it comes to starships, one is technologically very advanced, and the other has very low and inefficient technology.  The highly advanced empire has apparently strong chances to win the war, in particular considering a new technology they were developing. I remember the technology to work like this: consider the space as a flat surface, and on this surface, a disk around the spaceship. When the technology was turned on, this disk was stretched out, as made of rubber, so that it produced a cone, with the tip being the spaceship. The spaceship was therefore teleported 10 parsec away (if I remember correctly), but retained all the connections to the original position. If the spaceship moved, the cone moved as well. This allowed to move in position among enemy ships completely unnoticed, by stretching while afar, then moving in the proper position 10 parsecs away, then destretching.  Despite this technology, the empire lost the war because of delays. It's a perfect example of how having a disruptive technology does not guarantee to win against the competitors.  I am trying to find out the author and name of this novel, hopefully with the date of publication and in which journal/magazine. Working with a huge file. Illustrator is super slow. What can I do to ease the load? The size of the file is 168mb and it's nearly impossible to work on the file because every action takes like five minutes or so to complete. The artwork is of a scene filled with characters and I so far outlined the entire thing with a brush and afterwards expanded all the strokes thinking it would help ease the load. However, the file is still way too big. Is there something I can do to make it easier to work on the file?  Edit: I flattened transparency and got it reduced to 33mb. Huge difference, but would like it even smaller if possible. Ubuntu 17.10 Upgrade Broke VMWare Workstation 12.5 Hi after upgrading to Ubuntu 17.10, vmware is now not starting.    I get the message:    /usr/lib/vmware/bin/vmware-modconfig: Relink `/lib/x86_64-linux-gnu/libbsd.so.0' with `/lib/x86_64-linux-gnu/librt.so.1' for IFUNC symbol `clock_gettime'   I am aware that there are patches available and I am attempting to apply these and recompile. I have run from the solution at :    cd ~   #Copy the vmmon source tar ball to your temporary location cp /usr/lib/vmware/modules/source/vmmon.tar .    #Extract the tar ball tar xf vmmon.tar    #Download the modified file that mkubecek posted and overwrite the one from the tar ball for VMware Workstation 12.5: wget -O ./vmmon-only/linux/hostif.c https://raw.githubusercontent.com/mkubecek/vmware-host-modules/b50848c985f1a6c0a341187346d77f0119d0a835/vmmon-only/linux/hostif.c     #Wrap up the newly modified files into a tar ball replacing the original one sudo tar cf /usr/lib/vmware/modules/source/vmmon.tar vmmon-only    #Rebuild the VMware kernel modules sudo vmware-modconfig --console --install-all   Failed to get gcc information.  gcc --version gcc (Ubuntu 7.2.0-8ubuntu3) 7.2.0 ...   Unforunately, vmware-modconfig is failing because of a dependency it seems on a particular gcc version. Am I on the right track? Any help with this issue would be much appreciated.  EDIT Thank you Steve, the below has gotten vmware going again. I've included minor correction. Tested and confirmed I could run a virtual machine.   sudo su    # do all below as root cd /usr/lib/vmware/modules/source tar xvf vmmon.tar  tar xvf vmnet.tar wget -O ./vmmon-only/linux/hostif.c https://raw.githubusercontent.com/mkubecek/vmware-host-modules/b50848c985f1a6c0a341187346d77f0119d0a835/vmmon-only/linux/hostif.c vim vmnet-only/bridge.c cd vmmon-only/ make cd ../vmnet-only/ make cd .. mkdir /lib/modules/4.13.0-16-generic/misc cp *.o /lib/modules/4.13.0-16-generic/misc insmod /lib/modules/4.13.0-16-generic/misc/vmmon.o insmod /lib/modules/4.13.0-16-generic/misc/vmnet.o rm /usr/lib/vmware/lib/libz.so.1/libz.so.1 ln -s /lib/x86_64-linux-gnu/libz.so.1 /usr/lib/vmware/lib/libz.so.1/libz.so.1 vmware-networks --start exit  # run vmware as normal user /usr/lib/vmware/bin/vmware Combining  with allowframebreaks in beamer Why light moves sideways? Greatings!  I'm trying to understand special relativity and have one question bugging me.  In almost every book or video about the subject there is a thought experiment with moving light clock. I hope I need not elaborate on the sutup and the outcome of the experiment.  So the question is this: When a light source on the MOVING light clock emits a photon of light the path of the photon is triangular.   How this can be?   I thought since light speed is constant in every reference frame the movment of the "emmiter" can't affect the movment of the light so light should shoot right up (from the point of stationary observer) and thus move backward and up from the point of moving observer.  So you see my logic is: light speed is invariant => you can't make it move UP &amp; FORWARD only UP. i.e. you can't change it's direction once it's emited in UP direction. Why the hell light moves sideways then?  And I'm puzzeled. There is flaw in the logic but I don't see it.  Thanks for help. Create Generic method constraining T to an Enum I'm building a function to extend the Enum.Parse concept that  Allows a default value to be parsed in case that an Enum value is not found Is case insensitive  So I wrote the following: public static T GetEnumFromString&lt;T&gt;(string value, T defaultValue) where T : Enum {     if (string.IsNullOrEmpty(value)) return defaultValue;     foreach (T item in Enum.GetValues(typeof(T)))     {         if (item.ToString().ToLower().Equals(value.Trim().ToLower())) return item;     }     return defaultValue; }  I am getting a Error Constraint cannot be special class System.Enum. Fair enough, but is there a workaround to allow a Generic Enum, or am I going to have to mimic the Parse function and pass a type as an attribute, which forces the ugly boxing requirement to your code. EDIT All suggestions below have been greatly appreciated, thanks. Have settled on (I've left the loop to maintain case insensitivity - I am using this when parsing XML) public static class EnumUtils {     public static T ParseEnum&lt;T&gt;(string value, T defaultValue) where T : struct, IConvertible     {         if (!typeof(T).IsEnum) throw new ArgumentException(&quot;T must be an enumerated type&quot;);         if (string.IsNullOrEmpty(value)) return defaultValue;          foreach (T item in Enum.GetValues(typeof(T)))         {             if (item.ToString().ToLower().Equals(value.Trim().ToLower())) return item;         }         return defaultValue;     } }  EDIT: (16th Feb 2015) Christopher Currens has posted  below, which is well worth a look, and an upvote. I will remove this edit if the solution bubbles further up the page. EDIT 2: (13th Apr 2021) As this has now been addressed, and supported, since C# 7.3, I have changed the accepted answer, though full perusal of the top answers is worth it for academic, and historical, interest :)