How to make EventSubscriber run on every page load?
KernelEvents::REQUEST is not fired on cached pages
What does "isomorphic" mean in linear algebra? I have two tables, both with start time and end time fields. I need to find, for each row in the first table, all of the rows in the second table where the time intervals intersect.  For example:             &lt;-----row 1 interval-------&gt; &lt;---find this--&gt; &lt;--and this--&gt; &lt;--and this--&gt;   Please phrase your answer in the form of a SQL WHERE-clause, AND consider the case where the end time in the second table may be NULL.  Target platform is SQL Server 2005, but solutions from other platforms may be of interest also. Choosing Geographical Coordinate System and Projected Coordinate System for India? I want to create spatial data for entire India.  Usually I use WGS84 as GCS and UTM zones for PCS in the places in India, but when I have to create the spatial data for entire India, I get confused which geographical coordinate systems and projected coordinate system will be suitable.  What are suitable ones? To EAV or not to EAV? I have the CKeditor plugin installed by itself (i.e. not using WYSIWYG module.) Then, it uses a CKEditor library located in sites/all/libraries/ckeditor. This works fine. I'd like to add more plugins to it; namely, the footnotes plugin. (For the moment, please refrain from "just download a new library from ckeditor.com and replace it"; there were other issues/considerations involved.)  Now, I see this everywhere when I try to look for a solution  config.extraPlugins = 'footnotes';   I tried adding that to admin/config/content/ckeditor/edit// -> Advanced Options -> Custom JavaScript configuration, but it white screens the editor.  I tried adding it to the config.js in sites/all/libraries/ckeditor like below, but it had no effect.  CKEDITOR.editorConfig = function( config ) {   config.extraPlugins = 'footnotes'; };   I can't really add it to a ckeditor.config.js file, dump that file in my theme, and choose "Yes" for "Load ckeditor.config.js from the theme path", since (for content creation/editing) it uses the admin theme which is different from the theme we're developing.  So, I'm at a loss. The only other thing I can think of is to use a hook in the module we have for the site, but I'm not sure if that's write/what hook would be called.  Is it just me, or does it seem like clear documentation on how to manage CKEditor in Drupal is severely lacking? Any help would be appreciated.  UPDATE: After some testing, it looks like the "Custom JavaScript configuration" is supposed to work, but it is possibly broken for CKEditor 4.4+ I read something (can't seem to find it now) that suggested the plugin/widget import was broken on 4.4+, so I changed to 4.3 and the extraPlugins worked. Now, I wasn't able to get footnotes working (which is what kicked this whole thing off), but some other plugins that previously failed during the same steps now work on 4.3. So, there's that. I'm wondering now if it's something with footnotes itself. What is the function __construct used for? I have been noticing __construct a lot with classes. I did a little reading and surfing the web, but I couldn't find an explanation I could understand. I am just beginning with OOP.  I was wondering if someone could give me a general idea of what it is, and then a simple example of how it is used with PHP? Chrome: remove URL from autocomplete which doesn't show up in history? Who is / was the "Lord of the Rings"? Who is the Lord, as referred to in the title? Frodo? Sauron? Someone else? Or is it more of an abstract title, not referring to a single person, like "He who wields the One Ring"? Is there an upper limit to temperature in thermodynamics or statistical mechanics In many presentations of statistical mechanics where we have a system of particles having mass, such as the molecules of an ideal gas, the temperature is often equated to the average relative velocity of the particles. However no such velocity can exceed that of light. Is there therefore an absolute upper bound to temperature as well as an absolute zero? Problem with option border of class standalone I tested a MWE given in question . Following the documentation (page 9) I used the class option border={left right bottom top} with left=right=top=0pt and bottom=20pt (20pt only to show the effect here).  With the version 2012/09/15 v1.1b of standalone and the following MWE I get no 20 pt margin at the bottom of my picture.  What is the problem?  MWE:  \documentclass[% % border=1pt   border={0pt 0pt 20pt 0pt} %left right bottom top ]{standalone}% http://ctan.org/pkg/standalone \begin{document} $2^5 = x_5 \times y^8$ \end{document} How to show that $2730\mid n^{13}-n\;\;\forall n\in\mathbb{N}$ Show that $2730\mid n^{13}-n,\;\;\forall n\in\mathbb{N}$   I tried, $2730=13\cdot5\cdot7\cdot3\cdot2$  We have $13\mid n^{13}-n$, by Fermat's Little Theorem.  We have $2\mid n^{13}-n$, by if $n$ even then $n^{13}-n$ too is even; if $n$ is odd $n^{13}-n$ is odd.  And the numbers $5$ and $7$, how to proceed? About Trivariate Normal Distribution I am working on a paper, and have a problem regarding ellipsoid and Trivariate Normal Distribution. Suprisingly I can't find much in literature but I found your in one of your answers:     Because this construction has nothing to do with "confidence" per se,   the objective is to establish some convention for describing the shape   and relative size of the points. Using 1.96 sort of works (for three   variables): it contains about 72% of the probability of the trivariate   normal distribution. But as the number of variables increases this   method produces ellipses that are far too small. For instance, with 10   variables it will contain only 4.6% of the probability; using 4.28   instead of 1.96 in this case will contain 95% of the probability.   How did you get this number 72%? Or do you have some literature to recommend to me in which I can find this. I would appreciate it very much! My WordPress website currently uses this custom permalink structure: %author%/%year%/%monthnum%/%day%/%postname%  In this case, %monthnum% instantiates numbered dates with a leading zero -- e.g., "09" for September. So, a sample URL might look like this: mywebsite.com/username/2012/09/12/post-name  Is there a function I can add or .htaccess change that I can make which will remove the leading zeros from my permalink stucture? So, using the example above, my URLs would ideally look like this: mywebsite.com/username/2012/9/12/post-name  Thank you! I've read up on WordPress' structure tags documentation (http://codex.wordpress.org/Using_Permalinks), but I can't find any solutions or plugins for the above-mentioned problem. Multivariate polynomial with no mixed terms Is there a standard name for multivariate polynomials wherein each term consists of only one coordinate? That is, polynomials of this form: $$p(x_1, \ldots, x_n)= \sum_{i=1}^n \sum_{j=1}^n a_{i,j}x_i^{j}$$ where all of the $a_{i,j}$ are constants. Reflectivity of a glowing-hot metal surface When a polished piece of metal (or steel in particular) is heated to incandescence, how do its reflective properties change?  Given a mirror-like surface, would the object temporarily cease to act like a mirror at a certain temperature?  Would the specular reflection of light turn into diffuse reflection; in other words, would the surface temporarily become matte/dull?  I am not asking about permanent changes to the object such as melting, but rather can there be a temporary change in the reflectivity only while the the object is hot, that disappears when the object is cooled down?  Background of the question: I have a laser scanner that usually has trouble scanning shiny surfaces with high specular/ low diffuse reflectivity; and it seems to work a lot better for hot steel pieces than for cold ones. Glowing steel also looks less shiny to me than cold steel, but of course that is hard to tell with all the glowing Where can you ask about Career Advice? The  specifically says not to ask  for career advice but people do it anyway.  Should I consider the Help Center outdated or only loosely enforced?    And what about a career advice site on the network?  There are 70+ sites, and most of them are for relatively narrow interests (which is not a criticism, I enjoy looking through the many sections).  A career section seems like it would be very popular.  Also, a careers section would help keep career questions off the other sites. What is the difference between fastboot oem unlock and fastboot oem unlock-go? I'm having issues unlocking my Nexus 7 2013 WiFi's bootloader, and it was suggested that I try fastboot oem unlock-go instead of fastboot oem unlock. Both seem to act the same on my device, however both also fail on my device so it is possible that the difference appears after the failure on my end comes. Regardless, I would like to know: What is the difference between these two commands? I'm not managing to find documentation. Word for sentences that make sense when read backwards? Is there a word for sentences that make sense when read normally or backwards (not necessarily by reversing the words)? Example:     "Are you as bored as I am?" Does "no larger than" imply shapability? Cardinality of quotient ring $\mathbb{Z_6}[X]/(2X+4)$