I'm trying to understand how \pgfmathanglebetweenpoints works. Why here it turns out that X = 243.57? Thanks.  \documentclass{article} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture}  \pgfmathanglebetweenpoints{\pgfpoint{0cm}{1cm}}{\pgfpoint{-1cm}{-1cm}} \edef\angleX{\pgfmathresult} \node at (3,0) {X=\angleX}; \end{tikzpicture} \end{document}
I have the following code and I expect the resulting angle to be 135 degrees but whatevet I try, I get 90.  \documentclass{article} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture}  \coordinate (A) at (1,0); \coordinate (B) at (-1,1);  \pgfmathanglebetweenpoints{A}{B} \edef\angleAB{\pgfmathresult} \node at (0,0) {\angleAB};  \end{tikzpicture} \end{document}   I also tried the following command without knowing what it means, it also prints 90 except one case. The only working case is when A=(1,0) and B=(-1,0), which it prints 180.  \pgfmathanglebetweenpoints{\pgfpointanchor{A}{center}}{\pgfpointanchor{B}{center}}   Why is that? Couldn't find any reference document for "pgfmathanglebetweenpoints" by the way, that's why I am asking here.  EDIT: B is corrected from (-1,-1) to (-1,1)
What is the maximum or minimum tire width I can fit on my bicycle Another question on almost sure and convergence in probability Convergence in probability implies convergence on a subsequence almost surely.  But this means we fix a subsequence, such that $X_{n_k}$ converges for almost every $\omega$, right? The subsequence we pick does not depend on the $\omega$ right? How to solve the "io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information" error on Minecraft? I am getting the following error when I try to connect to a Minecraft server:  This is all servers, not just one. The error says:  io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: Version 1.12  I've tried:  Restarting Minecraft Restarting Computer Uninstalling and Reinstalling Mincraft Uninstalling and Reinstalling Java Altering Firewall Restarting Internet I've messed with my port, made a second windows account, reset netsh winsock Checked hosts Made a new WINDOWS account  The overlay in the bottom right is Geforce's Overlay for game capturing. I don't have any mods installed. A Mojang support ticket wouldn't help. Im desperate. Literature: 'Why' at the beginning of sentences I’m currently reading George Martin’s A Song Of Ice And Fire novels in English. As a non-native speaker (I’m German), I stumbled upon some grammatical constructs that I’ve never seen before, one of them being the Why at beginning of sentences.  Examples:   Tyrion gave the rotting head a second look. Why, it almost looks as if those lips are smiling. Did he use that word? Why, the boy has a singer's soul . . . though if you believe that song, you may well be dimmer than the first Reek.   These kind of sentences are obviously different from sentences like Why is the sky blue?  I’d like to know if that construct is archaic, or could be used in everyday language, and how one could rephrase that kind of sentences. Can it be rephrased at all? To me it seems like the Why is just used to give the sentence a kind of “cynical” taste. I'm using Ubuntu 17.10 with GNOME shell and Numix-Circle icon theme.   When I hover over the Numix icon for Nightly Web Browser, which is pinned to the dock I get the title "Nightly Web Browser".      But when I launch the program, another icon pops up at the bottom, with the name "Nightly". Obviously, this suggested edit should never have been approved. Because it's very, very minor.  Is it acceptable for me to "rollback" this edit? Does the suggested editor lose the +2 rep when I roll it back? Should I comment on one of his questions, explaining not to make too minor edits like this?  Is there anything I should do to notify the reviewers that approved  too minor suggested edit? Why don't we add a question with the same tag on multiple Stack Exchange sites? How do I handle partially correct edits in the Suggested Edits review queue? Contradicting Instructions While going through the suggested edits review queue, one sometimes stumbles upon partially useful edits like . Trying to follow the instructions listed in the descriptions doesn't lead to a conclusive answer. Considering our example:   Approve edits that clearly improve the post ↳ No, not *clearly* Improve Edit when you can make additional improvements to the post ↳ I most definitively can Reject and Edit to replace an ineffective edit with your own substantive changes ↳ It is ineffective in the sense that it made the post worse overall (imho) Reject edits that fail to improve the post or that make it worse ↳ Like the last option: yes Skip if you are not sure and want to go to the next suggested edit ↳ Well, yes. But that is really why I am here, asking this question   Reasoning about the remaining Choices This leaves us with three choices: Improve Edit, Reject and Edit and Reject (the last one slightly modified):  Improve Edit  + Acknowledges that some things in the edit where correct - Learning effect for author might vanish, as the improvement might get overlooked - Can't leave a custom message for edit author (except in comments, which pollutes the thread) - Doesn't trigger the system which &quot;punishes&quot; users who repeatedly have their edits rejected - Rewards the edit author with reputation for a poor edit   Reject and Edit  + Clearly shows the author that there were problems with the edit - Still can't leave a custom message explaining the problems of the original post. - One has to partially redo parts of the edit that have just been rejected, which might feel unjust to the original editor   Reject with a custom note and come back immediately to make a good Edit  + Clearly shows the author that there were problems with the edit + Possibility to leave an explanation as to what was wrong with the edit - One still has to redo parts of the edit that has just been rejected - Seems to be a weird workaround for Reject and Edit   Something else?   Each of the three options come with their distinct advantages/disadvantages making it non trivial to decide which one to pick.  Or does the answer simply depend on the quality of the edit? Like:  Improve Edit for subjectively slightly positive edits Reject and Edit (Or Reject and Edit) for subjectively slightly negative edits how to prove the chain rule? I have just learnt about the chain rule but my book doesn't mention a proof on it. I tried to write a proof myself but can't write it. So can someone please tell me about the proof for the chain rule in elementary terms because I have just started learning calculus. How to type a circumflex over a greek letter in text mode? How to use "grep" command to find text including subdirectories I want to find all files which contain a specific string of text. The grep command works, but I don't know how to use it for every directory (I can only do it for my current directory). I tried reading man grep, but it didn't yield any help. I thought it was by Heinlein or Brown, but if it was I can't locate it online.    The plot was aboard a spaceship, or maybe a space station, when an accident sends the astronauts spinning out of control towards certain doom.  One part of the story I remember distinctly was the one of the guys started screaming inconsolably and the noise was driving everyone crazy.  One of the astronauts made his way over to the guy and smashed his helmet so the screaming stopped.  As I recall, the story ends with the narrator turning off his comm link so he can ponder the beauty of the universe in silence.  Sound familiar to anyone? Find the last $2$ digits of $$\large7^{7^{7^{10217}}}$$   So far I have: $17\cdot 601=10217$ and $7=7 \pmod{10}$. Any help greatly appreciated. How prove $p!|(a+1)$ if $p!|a^p+1$ Avoid trailing zeroes in printf() Is this a grammatically correct line in a poem: “Will he roll the dice, and follow it to Vegas?”? I want to use the following line in a poem: "Will he roll the dice, and follow it to Vegas?"   A couple of things to note; firstly, obviously I'm using "roll the dice" in both a figurative/idiomatic sense (as in taking a risk), and in a somewhat more literal sense (painting the image of the person actually following the dice that have been rolled to Las Vegas). That being said, my confusion here is if I can get away with using "follow it" or if I need to say "follow them" .... As I've read online "dice" traditionally refers to more than one die (i.e., the plural of die), but in the modern usage, "dice" can also be used to refer to the singular (i.e., just one die).   So, it seems like if I was referring to the image of just one die, then the way I phrased it could be correct. However, the image I'm trying to paint is the one usually associated with the phrase "roll the dice" (i.e., rolling two dice)...   So could "follow it" still be considered acceptable in this sense... or would I need to use "follow them"?... And if not referring to the dice themselves, could using, could the "it" be taken to refer to the act of rolling the dice, or would that not work either? Thanks so much in advance!! Creation timestamp and last update timestamp with Hibernate and MySQL For a certain Hibernate entity we have a requirement to store its creation time and the last time it was updated.  How would you design this?   What data types would you use in the database (assuming MySQL, possibly in a different timezone that the JVM)?  Will the data types be timezone-aware? What data types would you use in Java (Date, Calendar, long, ...)? Whom would you make responsible for setting the timestamps&mdash;the database, the ORM framework (Hibernate), or the application programmer? What annotations would you use for the mapping (e.g. @Temporal)?   I'm not only looking for a working solution, but for a safe and well-designed solution. What is a Vanilla JS or jQuery solution that will select all of the contents of a textbox when the textbox receives focus? I'm looking to get that from a graph. but problem is that graph is in image form. Now I want to extract data in excel from that graph. how can i do it? I'm using office 2003. I was wondering why I couldn't delete my own question. Well actually, I have accepted the question itself to be wrong and even I feel that I have accepted a wrong answer, but when I try to delete my question, I get a message saying that,"This question can't be deleted, flag it for moderator attention". Why is this happening and how can I solve this?