Is there such a method that computes 'e' to 'n' correct digits with less than 'n' iterations?
Fastest converging method for calculating e
How can a module detect when the "access denied" page is output? How is it possible for a module to detect when Drupal is outputting the "access denied" page? I know how to do it with Drupal 6; I need to know how to do it with Drupal 7. Why does an argument similiar to 0.999...=1 show 999...=-1? I accept that two numbers can have the same supremum depending on how you generate a decimal representation. So $2.4999\ldots = 2.5$ etc. Can anyone point me to resources that would explain what the below argument that shows $999\ldots = -1$ is about? Here is the most usual proof I see that $0.999\ldots = 1$:  $x=0.999\ldots$ $10x=9.999\ldots$ $10x - x = 9$ $x=1$  Using this same argument template I can show $999\ldots=-1$:  $x= \ldots9999.0 $ $0.1x= \ldots9999.9$ $0.1x - x = 0.9$ $x=-1$  What might this mean? Edit from one of the comments: $$\sum_{k=0}^{\infty}{9 \cdot 10^k}=-1$$ collapse vs minimize What is the best way to flatten a linked list with lists as values? When I was using ubuntu 14.04, it's easy to set title. Just press F2 or move mouse to top menu. But there is no menu on ubuntu 16.04 and press F2 can't change the title. What should I do? Shortcut in Windows 7 to switch between same application's windows, like Cmd + ` in OS X Is there a shortcut in Windows 7 to switch between windows in a given application only? I very much like this feature in OS X; what is its equivalent in Windows? If $S$ is a nonempty subset of group $G$, then $S^{|G|}$ is a subgroup of $G$. Let $G$ be a group with $|G| = n$ and let $ \emptyset \ne S \subseteq G$.   I want to show that $S^n$ is a subgroup of $G$ where by $S^n$ I mean the set $\lbrace s_1\cdots s_n \; | \; s_i \in S\rbrace$. Why does the CRT formula yield a solution of a congruence system? How to ask great questions As programmers we are daily faced with having to get requirements, test things out, etc.  It's practically half our job to know what questions to ask, and how to ask them to get the most concise, actionable answer possible, especially from reluctant users/managers/customers/etc.  How do you ask questions that get answers? How to create a Java application which can be run by a click? Fastest way to move Collection from Sharded MongoDB Cluster to a another Sharded MongoDB Cluster I have to move a MongoDB Collection (Size: 1TB+) from Sharded MongoDB Cluster to another[5 shards on both clusters]. During this operation, it is assumed that the accompanying program will be offline, so no need to worry about inconsistent data, but I need to minimize the downtime.  I've tried testing it with mongodump and mongorestore, but looks like that is taking ages to finish.  Please share your experiences for such kind of scenarios.  Note: Cluster has only one collection, so I am open at cluster level sync as well. Why are hard drives never as large as advertised? From all the hard drives I have bought, they never seem to be as large as the advertised size; from 320 GB down to 290 GB, from 500 GB down to 450 GB, etc. Is there a technical reason for this? How can I make Ubuntu 18.04 / 18.10 desktop use Unity (be like Ubuntu 14.04)? Number of ordered pairs $(a,b)$ such that $ab \le 3600$ Find number of ordered pairs $(a,b)$ such that $ab\le 3600$ and $a,b \in N$  My attempt : Well, all $a,b \leqslant 60$ are solutions. These 3600 solutions. After that I have no idea how to count the number of remaining solutions...   I have a feeling that my approach is $very$ bad. But I had to give as it would be marked as off-topic. Version Control: Entire site or just pieces? I've been using git to track changes in the plugins and themes I've developed for different sites. Each plugin or theme has their own repository in whichever local install of WordPress I happen to be using for that project. This works fine when I'm just working on one solitary plugin or theme.  But when I have a local version of an entire site which is a collection of different plugins, themes, WordPress core, etc. Should I be keeping that entire directory under version control?  Is there a best practice to always have a collection of repositories for each theme/plugin, or for each client site to have one monolithic repository that includes all the code used in the project (including the latest copy of WordPress via svn.) Why isn't  generic?    Seems like Collection&lt;E&gt; could have boolean remove(E o);   Then, when you accidentally try to remove (for example) Set&lt;String&gt; instead of each individual String from a Collection&lt;String&gt;, it would be a compile time error instead of a debugging problem later. How can Yoda identify Darth Bane? In the final episode of season 6 of The Clone Wars, (spoilers)      The mystical priestesses conjure up an illusion of Darth Bane, the ancient Sith Lord who started the Rule of Two. Just by visual inspection, Yoda knows the ancient Sith Lord's name and that he was the one who started the Rule of Two.   Darth Bane was around roughly a century before Yoda was born. It also seems like all of the Jedi who ever encountered him did not live long enough to talk about it (for example, the duel on Typhon). By the time Darth Zannah took the mantle as Dark Lord of the the Sith, the Jedi were convinced that the Sith were extinct.   explains how the Jedi found out about the Rule of Two, but it doesn't explain how Yoda was able to learn about the identities of the members of the Order of the Sith Lords. Why is the detection of gravitational waves so significant? LIGO has announced the detection of gravitational waves on 11 Feb, 2016. I was wondering why the detection of gravitational waves was so significant?   I know it is another confirmation of general relativity (GR), but I thought we had already confirmed GR beyond much doubt. What extra stuff would finding gravitational waves teach us? Is the detection of gravitational waves significant in and of itself, or is there data which can be extracted from the waves which will be more useful? How can I install a different version of Python using apt-get?  Obviously I realise I can install using the source tar ball, however I would prefer not to install from source and instead use the package manager, as that's what it's there for. Surely somewhere reputable builds .deb files for the latest Python releases (why python.org don't is beyond me) that I can reference.   What do I need to do to reference them and what issues might it create when upgrading to the next version?  If there is no way except for building from source, is there a (pseudo) package that I can can install that will provide all of the dependencies needed without having to find and install each individually? So that I don't get:  The necessary bits to build these optional modules were not found: _bz2                  _curses               _curses_panel       _dbm                  _gdbm                 _lzma               _sqlite3              _ssl                  _tkinter            readline              zlib What are tag synonyms? How can tag synonyms be distinguished from "real" tags? How are new tag synonyms created? Who can create tag synonyms? How can I delete/reverse/undo bad tag synonyms? What are merged tags?