How to draw lines connecting nearby points
Parametric Interpolation of 2D data
I gzip directories very often at work. What I normally do is  tar -zcvf file.tar.gz /path/to/directory   Is there a way to specify the compression level here? I want to use the best compression possible even if it takes more time to compress. As the title, I was asked to show that $2^{44}-1$ is divisible by $89$.  My first attempt is to change the expression into $(2^{22}-1)(2^{22}+1)$.  Then further simplified it into $(2^{11}-1)(2^{11}+1)(2^{22}+1)$, I used my calculator and was able to show that $2^{11}-1$ is divisible by $89$ but then I don't know how to show it with modular arithmetic. I do think that it is quite similar to the form where we can use the Fermat's little theorem. $(\sqrt{2})^{88}-1$. (Though I do understand Flt can only be applied to integer.)  Can someone tell me whether I can take square root in modular arithmetic as well? I am still pretty new to the modular arithmetic. Thank you very much. What's the weight of the earth? What's the weight of the earth?  That is, what's the weight of the earth in the gravitational field of the sun? I imagine it's either   $0$, because there's no net fall toward the sun, so the downward component of acceleration is $0$ and $F=ma=0$, or $Gm_1m_2/r^2\approx7\cdot10^{-11}\cdot6\cdot10^{24}\cdot2\cdot10^{30}/(1.5\cdot10^{11})^2\approx4\cdot10^{22}$ Newtons,   but which, and why? Calling the base constructor in C# If I inherit from a base class and want to pass something from the constructor of the inherited class to the constructor of the base class, how do I do that?  For example, if I inherit from the Exception class I want to do something like this:  class MyExceptionClass : Exception {      public MyExceptionClass(string message, string extraInfo)      {          //This is where it's all falling apart          base(message);      } }   Basically what I want is to be able to pass the string message to the base Exception class. Restrictive vs Non-restrictive Relative Clause Pretty much every application I use in full-screen (including Firefox, MacVim and the Terminal) have tabs on the top of the screen.  The problem is, when I move my mouse to reach the tabs I'll often accidentally touch the top of the screen, bringing in the OS menu OVER the tabs:    Is there any way to change this behavior? I'd prefer it if the menu bar would stay hidden when I'm using a full-screen app, even if my mouse does touch the top of the screen. Intuition for uniform continuity of a function on $\mathbb{R}$ I understand the formal definition of uniform continuity of a function, and how it is different from standard continuity.  My question is: Is there an intuitive way to classify a function on $\mathbb{R}$ as being uniformly continuous, just like there is for regular continuity? I mean, that for a "nice" function $f:\mathbb{R} \to \mathbb{R}$, it is usually easy to tell if it is continuous on an interval by looking at or thinking of the graph of the function on the interval, or on all of $\mathbb{R}$. Can I do the same for uniform continuity? Can I tell that a function is uniformly continuous just by what it looks like? Ideally, this intuition would fit with the Heine-Cantor theorem for compact sets on $\mathbb{R}$. is keyword in Python Is it possible to make armour that can survive /kill? /kill is said to be infinity damage but I have a question can you really survive it in Java edition. However, it is possible that you can pretty much survive this if you are on Minecraft Java Edition in 1.8 or lower and you can just have resistance 5 and you will survive this but can you make armour that helps you survive in 1.16 and in java-edition. How to avoid tripping over UTF-8 BOM when reading files I'm consuming a data feed that has recently added a Unicode BOM header (U+FEFF), and my rake task is now messed up by it.  I can skip the first 3 bytes with file.gets[3..-1] but is there a more elegant way to read files in Ruby which can handle this correctly, whether a BOM is present or not? How to integrate OpenCV Manager in Android App derivative bounded by a constant multiple of the function $f$ is differentiable on $[a,b]$, $f&#39;(x) \leq A|f(x)|$ where $A$ is a non-negative constant.  If $f(a)=0$ show $f(x)=0, \forall x\in [a,b]$  I imagine the proof uses the Mean Value Theorem but I have not been able to get it to work.  I know $|f(x)|=|f&#39;(c)|(x-a)$ where $c \in [a,x]$, so $|f(x)| \leq A\  |f(c)|(x-a)$ where $c\leq x$ And I guess I could sort of iterate this to keep getting a smaller $c$ but I don't see why it must go all the way to zero. What to do about rep inflation? Overall reputation scores are headed nowhere but up.  Pretty soon there will be thousands of mods.  What to do?  Thoughts on possibilities:   Thousands of mods is fine.  Carry on. Adjust the threshold values for high-level SO privileges. Do a straight-up inflation adjustment.  You had x rep, then at the turn of the year we applied the Consumer Rep Index to all scores, now you have (x / inflation) rep. Implement a rep decay mechanism, so that inactivity sheds some of the overall rep that's built up. Punctuation of direct speech, edge cases I recently learned that I have developed a consistent, but entirely wrong approach to punctuating direct speech in fiction. I am in the unenviable position of trying to relearn.  Previously I wrote such things as:     "I'm done." She said.   when the quoted speech was definitely, absolutely the end of a sentence. So now I know I need.     "I'm done," she said.   This follows the rule that a period is only allowed when the end of the spoken sentence is also the end of the sentence in the narrative. For example:     "I'm done." She slammed the door on the way out.   So, it now looks odd to me when there are multiple sentences in the speech:     "I can't take her. I'm done," she said.   Can you reassure me that is correct, or give the correct form? Please don't suggest rewriting the sentence to put 'she said' in the middle - I'm aware of that: I'm specifically asking about the punctuation rules.  The other odd case is speech ending with an ellipsis. Do sentence terminating ellipses (four periods normally) become:     "I can't take her. You know, ...," she said, nodding towards Jane.   If so, are non-terminating ellipses dealt with the same way?     "I can't take ...," she nodded towards Jane, "any more!"   or can non-terminating ellipses be used unadorned?     "I can't take ..." she nodded towards Jane, "any more!"   I'd be very grateful if you could point me at references as well as answers. For the record I am a British writer writing for both British and US publication, so any variation is also interesting to me! Which merchants pay best? I noticed at some point that different merchants don't all pay the same for what you're selling. Depending on the category, or even the specific item, some merchants simply pay significantly more.  Are there some general rules on which merchants pay better for which items? I am creating a query that finds the shortest path from dangerous crossing nodes to hospitals (many-to-many). I have the proper output from pgr_dijkstra, with output as follows  seq | path_seq | start_vid | end_vid | node | edge | cost | agg_cost  -----+----------+-----------+---------+------+------+------+----------    1 |        1 |         2 |       3 |    2 |    4 |    1 |        0    2 |        2 |         2 |       3 |    5 |    8 |    1 |        1    3 |        3 |         2 |       3 |    6 |    9 |    1 |        2    4 |        4 |         2 |       3 |    9 |   16 |    1 |        3    5 |        5 |         2 |       3 |    4 |    3 |    1 |        4    6 |        6 |         2 |       3 |    3 |   -1 |    0 |        5    7 |        1 |         2 |       5 |    2 |    4 |    1 |        0    8 |        2 |         2 |       5 |    5 |   -1 |    0 |        1   I am trying to use st_makeline to create seperate lines for each individual node path, however thus far the function has been creating one big line SELECT  st_transform(st_makeline(t1.the_geom),4326)         FROM pgr_dijkstra(                 'SELECT osm_id as id, source, target, cost FROM spatial.melbourne_edges',                 array(select hospital_id from hospitals_in_vicinity),                  array(select crossing_id from dangerous_crossing_nodes), false) as route                 inner join spatial.melbourne_nodes t1 on route.node = t1.id --);  How am i able to make a column of all the different paths? I followed Mike's solution from my first question:    My next question is how to add entries (for the abstract and acknowledgements pages) into the table of contents. Child who entered under ESTA/VWP accompanying US citizen mother Which configuration of armor enchantments gives maximum protection? vs. . Which to use?