Pgfplots - make axis multiplier part of axis label
Automatically put PGFPlots xtick scale label in x axis label
How to use more than 10 tab stops in bmatrix or other amsmath matrix environments? I have the value 25.00 in a float, but when I print it on screen it is 25.0000000. How can I display the value with only two decimal places? Should we have a subjective version of every Stack Exchange site? Marketing Cloud Mobile Push SDK - Switching app user I'm currently building a clienteling app that integrated the Mobile Push SDK on both iOS and Android and encountered some issue on switching the account.  I found that when I login to user A, and set contact key to A, the Inbox Messages will be send to this device. However, I logout user A and switch to a user B, I should set the contact key to B. But seems the inbox messages are associated with the Device instead of Contact, I can still see the inbox messages that were sent to contact A previously.  My question is, how should we deal with this situation, to prevent from seeing the previous inbox messages if the contact key has been changed? Simple enough question: is there some shell command (or GUI method) I can use that, given the path to a file on my system, tells me what package put it there? Assuming the file did in fact come from a package, that is.  Bonus question: what if it's a file that isn't installed on my system? Is there, say, a website that will let me look up a file and see what packages, if any, provide it? Except when we use right to denote direction, what is the difference between these two terms?  Also, which one is the preferred construction between these two     Am I right?   or     Am I correct? Where has the trailing newline char gone from my command substitution? The following code best describes the situation.  Why is the last line not outputting the trailing newline char?  Each line's output is shown in the comment.  I'm using GNU bash, version 4.1.5          echo -n $'a\nb\n'                  | xxd -p  # 610a620a              x=$'a\nb\n'   ; echo -n "$x" | xxd -p  # 610a620a      echo -ne "a\nb\n"                  | xxd -p  # 610a620a x="$(echo -ne "a\nb\n")" ; echo -n "$x" | xxd -p  # 610a62 When is tension constant in a rope? Consider a massless rope with pulling forces applied at each end.  How do we decide if tension is constant or not in a rope? Consider a few example scenarios:  For example, if there is a knot in the rope the tension is not constant throughout (why?. Similarly, if the rope is hung over a cylindrical pulley of a non-negligible radius, the tension is not constant (why?). If there isn't anything touching the rope, for example, 2 people tugging on the rope at each end, the tension is constant (why?). How to make Stack Overflow tell you about a new question with certain tag(s) the second it is asked? MySQL Great Circle Distance (Haversine formula) I've got a working PHP script that gets Longitude and Latitude values and then inputs them into a MySQL query. I'd like to make it solely MySQL. Here's my current PHP Code:  if ($distance != "Any" &amp;&amp; $customer_zip != "") { //get the great circle distance      //get the origin zip code info     $zip_sql = "SELECT * FROM zip_code WHERE zip_code = '$customer_zip'";     $result = mysql_query($zip_sql);     $row = mysql_fetch_array($result);     $origin_lat = $row['lat'];     $origin_lon = $row['lon'];      //get the range     $lat_range = $distance/69.172;     $lon_range = abs($distance/(cos($details[0]) * 69.172));     $min_lat = number_format($origin_lat - $lat_range, "4", ".", "");     $max_lat = number_format($origin_lat + $lat_range, "4", ".", "");     $min_lon = number_format($origin_lon - $lon_range, "4", ".", "");     $max_lon = number_format($origin_lon + $lon_range, "4", ".", "");     $sql .= "lat BETWEEN '$min_lat' AND '$max_lat' AND lon BETWEEN '$min_lon' AND '$max_lon' AND ";     }   Does anyone know how to make this entirely MySQL? I've browsed the Internet a bit but most of the literature on it is pretty confusing. So, according to Einstein's theory of general relativity, gravity is not a force instead it is a consequence of objects with mass deforming spacetime, right? And so, according to him, there is no difference between standing on a platform accelerating upwards at 9.81 m/s^2 and standing on Earth, right? But, there is a difference. At least, I think it's a valid difference. If you drop two apples from a high altitude on Earth, not only will they accelerate downwards at 9.81m/s^2 but they will also slightly move towards each other because the Earth is a sphere and gravity acts radially inwards pulling the two apples closer to each other. But if you drop the apples from the same height above the accelerating platform, the apples will only appear to accelerate downwards at 9.81 m/s^2 but will not move towards each other like they would on Earth. Why is this true? Is this even a valid difference? If it isn't, why isn't it? Some guy called one of my Snipplr submissions "crap" because I used if ($_SERVER['REQUEST_METHOD'] == 'POST') instead of if ($_POST)  Checking the request method seems more correct to me because that's what I really want to do. Is there some operational difference between the two or is this just a code clarity issue? What does "Suit yourself" mean? Setting environment variables for latex and bibtex in .bashrc Possible Duplicate:          I recently started using TeX to write journal articles. I use TeX Live version 2009-10 on a laptop running Ubuntu 10.10 (64-bit). I edit and compile the tex files using vim and vim-latexsuite.   Currently for each journal article I have all associated tex, bib, eps, etc. files in individual folders. I would like to simplify my life a bit and have a dedicated folder containing a "master" bib file - And maybe another folder for my custom style files.   My problem is that can't figure out how I should define the PATH, and other environment variables in my .bashrc file to find the necessary support files (e.g., the .bib file). Which variables do I need to set? PATH? MANPATH? TEXINPUTS? BIBINPUTS? An idempotent operator is compact if and only if it is of finite rank Would you help me to solve this problem. Show that an idempotent operator on hilbert space is compact if and only if it has finite rank. Surprisingly many network interfaces on macOS: are these legitimate? ifconfig reveals a surprisingly long list of network interfaces on my MacBook, which is running macOS High Sierra (10.13.6): lo0, gif0, stf0, XHC20, en0, p2p0, awdl0, en1, en2, bridge0, utun0.  There is an F5 VPN client installed, but I've rebooted the MacBook since the last VPN connection.  Are all of these network interfaces legitimate or is this something I should worry about? When would you use a WeakHashMap or a WeakReference? The use of weak references is something that I've never seen an implementation of so I'm trying to figure out what the use case for them is and how the implementation would work. When have you needed to use a WeakHashMap or WeakReference and how was it used? What equipment is necessary/preferred for real estate photography? What equipment is necessary for real estate photography, and what is preferred?  I'm starting into real estate photography, and I'm trying to figure out what I need and what I will want to plan on adding to my kit as I go.  I'm thinking especially along the lines of lighting equipment and lenses (focal lengths).  For example, is an ultra-wide actually necessary? Or is a general walk around sufficient. Start TOC from chapter 1 and also page numbering Background not changing using gsettings from cron I'm trying to change my wallpaper to a random image using Indrajith Indraprastham's suggested script here:    When I run the script from a terminal window, the bg changes just fine, but when it's run from cron, I'm mailed this error:     (process:21901): dconf-WARNING **: failed to commit changes to dconf: Error spawning command line 'dbus-launch --autolaunch=00216c114dcf433c9bb9009985d607d6 --binary-syntax --close-stderr': Child process exited with code 1   I would appreciate any suggestions.