Is squared Euclidean distance a metric? In particular does it obey triangle inequality? I think no, but cannot find a counterexample.  Edit: Does this (not obeying the triangle rule) happen only when one of the points resides on the line segment made by the two other points?
So I understand that Euclidean distance is valid for all of properties for a metric. But why doesn't the square hold the same way?
Plot draws list of curves in same color when not using Evaluate Is it possible to get rid of the bullets in the miniframes outer theme Request Web Page in c# spoofing the Host I need to create a request for a web page delivered to our web sites, but I need to be able to set the host header information too.  I have tried this using HttpWebRequest, but the Header information is read only (Or at least the Host part of it is).  I need to do this because we want to perform the initial request for a page before the user can.  We have 10 web server which are load balanced, so we need to request the file from each of the web servers.    I have tried the following:  HttpWebRequest request = (HttpWebRequest)WebRequest.Create("http://192.168.1.5/filename.htm"); request.Headers.Set("Host", "www.mywebsite.com"); WebResponse response = request.GetResponse();   Obviously this does not work, as I can't update the header, and I don't know if this is indeed the right way to do it. Currently, a user does not get any notification when a trivial edit (less than 6 characters, by a user who has the ) is made on one of his/her posts. As in .  Even though the user is trust-worthy (owing to the rep of the user), wouldn't it be nice for the OP to get a notification whenever an edit is made, even trivial? Why didn't Snape keep or secure his copy of Advanced Potion-Making? Every time I click to open a link, other windows start opening. They all want to sell me Detox your Mac or have warnings about how my Mac is at risk or infected.  How can I check for malware? I just installed Dufour on my Windows 7 Lenovo ThinkCentre desktop. When I open 2.0.1 I get this error window:    And when I try to add the 'Add Delimited Text Layer' plugin I get this message:    When I click 'OK' the program closes.   Any help is greatly appreciated - thanks. I have GM'd several RPGs before that are not D&amp;D (Fate, Deathwatch, Star Wars). We first tried to play D&amp;D using the 3.5 edition and it went horribly — too many books and too many options with no idea of where to start.  I have been told that 5E takes care of all that and is easier and more fun so I want to try that but I would like a definitive list of what I need.  I expect that the kinds of books we need divide up like this:   Rulebook for me as GM Rulebook for players Fluff for everyone Monster book for me as GM   Links to these would be helpful as we got very confused with the 3.5 books — who should use what books confused us.  What other things do we need to play a campaign? I expect things like:   Dice: what kinds and how many of each kind, roughly. Models and maps. Do we need these? Does 5E need models and a grid or can it be played without (which is preferred)?   Is there anything else that we need that I haven't anticipated? How should I handle possible revenge downvotes? I don't like such kind of questions on Meta, so I will try to make it a good question and describe all with a details.  Today I down-voted  added a comment with explanations why I down-voted it, and flag it as non constructive (my flag was marked as helpful). An hour later  was downvoted, without any comment left about the reason. Yes, that wasn't my best answer, but in my opinion it answers the question. Well, even if somebody considered my answer incorrect he could add the correct answer, or up-vote the competitive ones. I checked the  who made competitve answer, and he didn't get any rep today for that answer.   It was my second down-vote on Stack Overflow, so I was a little bit down, after that. I think who could considered my answer so completely wrong, and that I thought that maybe it was revenge down-vote. So I checked  of the user I down-voted today, and it was clear that he down-voted some answers today. After I checked that that user cast only 19 downvotes in 8 months, so chances were very big that this was revenge down-voting.  I came to this meta, and searched what I should do in this case. I found that most questions about down-votes, were closed as duplicates. After I found , and found that a team member of Stack Exchange suggested to cast a flag for moderator attention, and explain the situation there.  I did that, and create next flag:     I think after I down-voted this question (and a comment about this), the OP down-voted me in revenge; it's clear from his today's reputation and from timing of my down-vote of his question, and time when one of my answers was downvoted. I cannot be 100% sure about that, but if somebody can check this, and point him that it's not the good way to do.   As you can see, I didn't ask for returning any reputation, or banning that user, I just wanted, somebody to point him, that he did wrong. And after I get this respons on my flag: "declined - flags should only be used to make moderators aware of content that requires their intervention." So in the end I also lost 10 points of the flag weight.  After describing all situation in details, I want to know were exactly I was wrong here. And what should I do next time something like this happens? What fallacy dismisses problems by presenting "bigger" problems? Wasn't really sure how to phrase this, but I'm thinking of an instance in which someone diminishes a problem by presenting one of larger scope - as a rather shoddy example, "x political problem in America doesn't matter because half the world's population is starving."  I honestly have no idea if this is considered fallacious or not, but for some odd reason I can't shake the feeling that someone has described it to me as a fallacy before. Am I crazy or is there something to this (or something similar)? What are the badges I can earn on each site, and what are the exact criteria for earning each badge? Formerly List of all badges with full descriptions.  What are badge name's requirements? Why didn't I get badge name ? Which badges can I earn multiple times?    Jump to:                    Note: Some badges are awarded based on score. The term score means the total number of upvotes minus the total number of downvotes.  Any badge with a *** next to it is one of 20 badges that count towards the  displayed on a moderator candidate in an election. The candidate score is a total of 40 points: the first 20 are awarded based on the user's rep divided by 1000 and rounded down; the second 20 represents the total number of unique badges earned of the 20 that count. Note that if the same badge is earned multiple times, it will only count once towards the candidate score.  Any badge with a &quot;(retired)&quot; next to it is no longer awarded, but is retained by users who previously earned them. See  for more info on what it means for a badge to be retired.       Visit the  of the  on any site to see a complete list of badges that you can filter by earned, unearned, or type. I'm going to submit form using cURL, where some of the contents is come from other file, selected using sed  If param1 is line matching pattern from other file using sed, below command will works fine:  curl -d param1="$(sed -n '/matchpattern/p' file.txt)" -d param2=value2 http://example.com/submit   Now, go to the problem. I want show only text between 2 matching pattern excluding the matching pattern itself.  Lets say file.txt contains:  Bla bla bla firstmatch It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. secondmatch The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English.   Currently, lots of "beetween 2 matching pattern" sed command won't remove firstmatch and secondmatch.  I want the result to become:  It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. Rest mass of the photon Why is the rest mass of the photon is taken to be zero?  If rest mass of the photon is non zero, then it leads to infinite energy of the photon (by $E=mc^2$ equation) and there is a violation of conservation of energy. Is this a reason?  Also, is there any thing called the relativistic mass of the photon? Order Bars in ggplot2 bar graph What is a StackOverflowError? add transistor model to LTspice I'm trying to add the mmbt3904lt1g model to LTspice. - I've copied its data from the MMBT3904LT1.LIB.txt in the standard.bjt library. - I've added an NPN to my schematic then I've changed its value to mmbt3904lt1g  - through the Edit->spice directive I've pasted the path to this library I thought it was all to use this device but no simulation is achieved.. I get only: Can't find definition of model "MMBT3904LT1g"  where I'm doing wrong ? Change font size of the verbatim environment I want to apply small fonts inside the Verbatim environment e.g.  {\small  \begin{Verbatim}  1   double x, y; 2   double z, w; 3   main(); 4   return 0;  \end{Verbatim}}   Before the command \small and after the closing braket } text has normal size, which is obvious but the font size should be small inside the brakets.     Why is this command not applied to the environment's contents? Looking for a simple proof that groups of order $2p$ are up to isomorphism $\mathbb{Z}_{2p}$ and $D_{p}$ . How can I automatically download lyrics in iTunes? Is there a way to automatically download lyrics in iTunes? Partial instead of full markers are shown in PGFplots When using  \documentclass{article} \usepackage{pgfplots} \begin{document} \begin{tikzpicture}         \begin{axis}                     \addplot             [                 red,                 solid,                 mark=x,                 domain=-3e-3:3e-3,                 samples=50             ]              {exp(-x^2/(2e-3^2))/(1e-3*sqrt(2*pi))};         \end{axis}     \end{tikzpicture}    \end{document}   the markers look fine, see    , but when I replace solid with, for instance, loosely dashed, so  \documentclass{article} \usepackage{pgfplots} \begin{document} \begin{tikzpicture}         \begin{axis}                     \addplot             [                 red,                 loosely dashed,                 mark=x,                 domain=-3e-3:3e-3,                 samples=50             ]              {exp(-x^2/(2e-3^2))/(1e-3*sqrt(2*pi))};         \end{axis}     \end{tikzpicture}    \end{document}   the markers only show partially instead of fully, see    . How can I use loosely dashed with full markers showing?