Is it possible to create a URL that will open a new Google Drive document, so that I can save as a bookmark and then will have essentially a short cut my bookmarks bar to be able to open a new doc?
What is the current URL to create a new Google Document please? Since Google last updated their Docs the old URL does not work.
Extremely difficult logic question using conditional statement In this problem, we will only consider (real-valued) functions with domain $\mathbb{R}$. We define two new concepts. Let $f$, and $g$ be two functions.  We say $f$ is a rival of $g$ if   &emsp;&emsp;&emsp;&emsp; $\exists x\in \mathbb{R} \ \text{s.t.} \ \forall y\in \mathbb{R}, x \lt y \implies \lvert f(x)- g(x)\rvert\lt\lvert f(y)-g(y)\rvert$    We say $f$ is a frenemy of $g$ if  &emsp;&emsp;&emsp;&emsp; $\forall x\in\mathbb{R} \ \text{s.t.} \ \  x \lt y \ \ \text{AND} \ \ \lvert f(x)-g(x)\rvert \lt \lvert f(y)-g(y)\rvert$  Below are four claims. Which ones are true and which ones are false? If a claim is true prove it. If a claim is false, show it with a counterexample.  a) If $f$ and $g$ are any two functions and $f$ is a rival of $g$ then $f$ is a frenemy of $g$. b) If $f$ and $g$ are any two functions and $f$ is a frenemy of $g$ then $f$ is a rival of $g$. If $f$ and $g$ are any two functions and $f$ is a rival of $g$, then $g$ is a rival of $f$. Let $f$, $g$, and $h$ be any three functions. If $f$ is a frenemy of $g$ and $g$ is a frenemy of $h$ then $f$ is a frenemy of $h$  What are the four claims stating? Especially for c), the concept is not even present I am having a misunderstanding on how to solve them? Local colormaps in global coordinate system I am trying to get a surface graph with two colormaps.  Instead of using the full Z range i want to give the first surface its own colormap  and the second surface should receive its own colormap too (it may be even the same)... however the current version takes the full range of Z-Data and calculates the colormap. Is there any way?  \begin{tikzpicture}     \begin{axis}[grid = major, colormap={bw}{gray(0cm)=(0); gray(1cm)=(1)}, view={-30}{15}]   \addplot3[surf]    table     {DATA1.dat};   \addplot3[surf]    table     {DATA2.dat};  \end{axis} \end{tikzpicture}   Right now it looks like that:   I want each of the surface to be scaled individually... just to see more clearly how the amplitude changes :)  Any ideas?  Thanks, Alex What would be a good way to go about attacking a Quagmire 3 cipher?  I understand that it is polyalphabetic with a key and an indicator. I have started by taking the cipher text, taking every n-th letter and putting that in a string, computing the index of coincidence for the n strings I get and then averaging that. I would assume that whatever n value corresponds with the closest average index of coincident to English (0.066) would be the number of alphabets, i.e. the length of the indicator.  Where do I go from there? Or is my approach incorrect? About big parenthesis larger than Bigg I have had several business loans and understand that this is not by any means typical.  I noticed that for a year my payments were not decreasing the principal on the loan. When I asked the bank why, I found out that at some point my payments were getting applied to principal only. Now I am paying interest off that was not paid for 6 months or so.  My banker states that he can change all the interest payments to principal payments. I am confused to why this would be. If I make all my principal payments first then would the bank lose a substantial amount of interest?  This has happened on 2 of the 3 loans I have looked at so far.  If they are willing to change all the payments to principal only, would this be beneficial to paying less interest ultimately? I assume there would be an interest account accruing somewhere that would need to be paid off at the end of the loan.  I understand that typically you have a loan balance that would include interest and principal. My balance owed did not change when I continued to make same payment? It gets applied to interest. The balance on the statement must not be a true balance. There must be interest owed above the balance showed but why would they do this to start with? They applied full payments to principle only first in order for interest to get to be more than several payments How do I ask LaTeX to exactly fill up a page? I understand that I can control interline spacing in LaTeX in a number of ways. The commands like ,  ,  come in handy in controlling the interline spacing. Each has its own speciality and circumstances of usage, as we can find in these discussions (, , ).  If want to go for a ready made solution for controlling line spacing, packages like  come in quite handy (built-in commands like \onehalfspacing or \setstretch for more finer controls).  Anyway, my problem is a bit different. I have some text (both in paragraph and list mode) which I want to fill up exactly one page. To complicate the scenario, it may even contain equations and graphics. (Let us leave aside floats.)   If I want to solve the problem statically, all I will have to is to play with some value of \baselineskip (or  \setstretch) until satisfied. While this works good for most of the cases, I will have to go through the process again when I want to delete or add some texts.  Would it be possible to have a dynamic value for  \baselineskip or  \setstretch so that my text always fills up one page? (Definitely within reasonable limits.)  Another idea will be to use a number of \vfills between some pieces of texts. But I think that this technique is usable for cover pages only.  I am not putting here an MWE. I think that one is not applicable.    The problem is not a theoretical one, I am preparing some kind of handout which I want to fill-up exactly one page. ModuleNotFoundError: No module named 'apt_pkg' error I run below command on ubuntu 16.4 :  sudo add-apt-repository ppa:noobslab/apps  of below question:    and get below error:  Traceback (most recent call last):   File "/usr/bin/add-apt-repository", line 11, in &lt;module&gt;     from softwareproperties.SoftwareProperties import SoftwareProperties, shortcut_handler   File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 27, in &lt;module&gt;     import apt_pkg ModuleNotFoundError: No module named 'apt_pkg' Error in sys.excepthook: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook     from apport.fileutils import likely_packaged, get_recent_crashes   File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in &lt;module&gt;     from apport.report import Report   File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in &lt;module&gt;     import apport.fileutils   File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in &lt;module&gt;     from apport.packaging_impl import impl as packaging   File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 23, in &lt;module&gt;     import apt   File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in &lt;module&gt;     import apt_pkg ModuleNotFoundError: No module named 'apt_pkg'  Original exception was: Traceback (most recent call last):   File "/usr/bin/add-apt-repository", line 11, in &lt;module&gt;     from softwareproperties.SoftwareProperties import SoftwareProperties, shortcut_handler   File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 27, in &lt;module&gt;     import apt_pkg ModuleNotFoundError: No module named 'apt_pkg'   Thanks for help Does visiting Canada from USA under ESTA reset the visa waiver? How does gravity work underground? Would the effect of gravity on me change if I were to dig a very deep hole and stand in it? If so, how would it change? Am I more likely to be pulled downwards, or pulled towards the edges of the hole? If there would be no change, why not? Why is James Bond less tech savvy in the Daniel Craig movies? Custom question lists: finding questions you can answer Pre-1980s Sci-fi movie about killer aliens I would like to compare the contents of a couple of collections in my Equals method.  I have a Dictionary and an IList.  Is there a built-in method to do this?  Edited: I want to compare two Dictionaries and two ILists, so I think what equality means is clear - if the two dictionaries contain the same keys mapped to the same values, then they're equal. Shell command to sum integers, one per line? I am looking for a command that will accept (as input) multiple lines of text, each line containing a single integer, and output the sum of these integers.  As a bit of background, I have a log file which includes timing measurements. Through grepping for the relevant lines and a bit of sed reformatting I can list all of the timings in that file.  I would like to work out the total. I can pipe this intermediate output to any command in order to do the final sum.  I have always used expr in the past, but unless it runs in RPN mode I do not think it is going to cope with this (and even then it would be tricky).  How can I get the summation of integers? Related (but not the same):         Earlier today I asked a question about aligning equations in an enumerate environment and got an answer that seemed to work for the example I gave, but it turns out I wasn't really specific enough for my problem.  I'm using align* environments, often as the only part of a list item. (If you're wondering why I'm not using more words to introduce the align*, these are mostly homework solutions where most of the work is algebra, etc.)  Here's my code and what it makes (above the middle line):  \begin{enumerate}   \item \begin{align*}     x^2 + y^2 &amp;= x^2 + (iy)^2 \\               &amp;= (x + iy) (x - iy)   \end{align*}   \item \begin{align*}     \frac{1}{n^2-4} &amp;= \frac14 \frac{4}{(n-2)(n+2)} \\                     &amp;= \frac14 \left( \frac{1}{n-2}-\frac{1}{n+2} \right)   \end{align*} \end{enumerate}     I'm trying to make the baseline of the first line of the align* environment the same as the number's baseline—I want the first line of the align* to have the same vertical position (centered horizontally in the same way) relative to its number as in the second half of my picture. (Side question: why is there so much space before the align* starts?) Usage of into vs in vs inside When should 'into', 'in' and 'inside' be used?  What are the differences between the three?   For example, what are the differences between the following statements?  Are any of them incorrect?        The frog jumped into the well.   The frog jumped in the well.   The frog jumped inside the well. I'm trying to wrap my head around this very Hello World-y problem in game development. I've created a TicTacToe game in XNA so I guess the next step would be a  clone.  Keep in mind that I have no knowledge on game programming or even what maths I should apply to where. That's why I'm asking this question.    To the question: How can I determine where the ball should bounce when it hits the paddle at the bottom of the screen?  I'd imagine it would be something like:   Capture speed and angle from incoming ball. Detect where it touched the bar (far left, far right, center) and according to that give it a higher speed if it touched the outer areas. This is where I'm stuck. Hehe.   Any insights? I realize this is not a straightforward answer type question, but I'm sure it's one everyone faces at some point.  I'm reading the book Linear Algebra that was recommended on this website, but I still have no idea if I should apply it here. In Salesforce Marketing Cloud (SFMC), I want to unsubscribe a contact from a single publication list by using a form on a landing page.  I also want to create an Unsub event in SFMC when they submit the form.  There is some sample code from SFMC Help documents  that seems to do that for external sites. Will it work in a SFMC hosted landing page? Do I need to edit the code much? What are the differences between Generics in C# and Java... and Templates in C++? What is the formula for armor/magic resist reduction? As far as I can tell, it's something like this:  damage reduction = armor / (armor + 100)   Is this accurate?