Using  \documentclass[a4paper,12pt]{report}   \makeatletter \let\latexps@plain\ps@plain   % Store definition \let\ps@plain\ps@empty        % Use empty pagestyle (ps) \makeatother    \begin{document}  \tableofcontents  \listoffigures  \listoftables   \clearpage \makeatletter \let\ps@plain\latexps@plain   % restore pagestyle 'plain'  \makeatother   \chapter{First}  \end{document}   I would like to restore pagestyle 'headings'. I have tried   \clearpage \makeatletter \let\ps@headings\latexps@headings    \makeatother   that does not work (still 'empty'), then using just  \pagestyle{headings}  works, but it does not work on every "first chapter page" that is still without headings , numbering ("empty"). Other pages are ok. How to get "headings" to these pages?
It maby be weird, I want to make header and footer for every page including the first page of each chapter, how can I do this?
Loading D3.js data from a simple JSON string valueOf() vs. toString() in Javascript Why does pgfplots plot functions only until x = 5 and y = 5, but not any further?    \documentclass{article}  \usepackage{tikz} \usepackage{pgfplots}  %%%&lt; \usepackage[active,tightpage]{preview} \PreviewEnvironment{tikzpicture} \setlength\PreviewBorder{5pt} %%%&gt;  \begin{document} \begin{tikzpicture} \begin{axis}[samples=100,ymin=0,ymax=10,xmin=0,xmax=20]  \addplot [thick] plot  (\x,  {1/(1 + exp(-0.6*(\x - 12)))}); \addplot plot (\x, {\x});  \end{axis} \end{tikzpicture} \end{document} How do I trust a self signed certificate? Proving that $\lim\limits_{x \to 0}\frac{e^x-1}{x} = 1$ I was messing around with the definition of the derivative, trying to work out the formulas for the common functions using limits. I hit a roadblock, however, while trying to find the derivative of $e^x$. The process went something like this:  $$\begin{align} (e^x)' &amp;= \lim_{h \to 0} \frac{e^{x+h}-e^x}{h} \\ &amp;= \lim_{h \to 0} \frac{e^xe^h-e^x}{h} \\ &amp;= \lim_{h \to 0} e^x\frac{e^{h}-1}{h} \\ &amp;= e^x \lim_{h \to 0}\frac{e^h-1}{h} \end{align} $$  I can show that $\lim_{h\to 0} \frac{e^h-1}{h} = 1$ using L'Hôpital's, but it kind of defeats the purpose of working out the derivative, so I want to prove it in some other way. I've been trying, but I can't work anything out. Could someone give a hint? How to disable gedit side panel? How do i disable this stupid side panel of gedit, that somehow appeared? There is nothing in the settings or plugins. Tried rm -r -f ~/.config/gedit as well, with no success. I don't have big screen and i find it totally useless and eating up what little free space for editing documents i have. See Screenshot Does this double sum $\sum_{m=0}^\infty \sum_{n=0}^\infty \frac{m+n+mn}{2^m(2^m+2^n)}$ converge? C++ STL Vector Iterator accessing members of an Object I think I've declared a Vector with an object correctly.  But, I don't know how to access it's members when looping with Iterator.  In my code, the line --->>  cout &lt;&lt; " " &lt;&lt; *Iter;  How do I print the contents of the members?  Like *Iter.m_PackLine ???  Not sure if I used the correct terminology, but appreciate the help!  Thanks  class CFileInfo {   public:       std::string m_PackLine;       std::string m_FileDateTime;       int m_NumDownloads; };  void main() {   CFileInfo packInfo;    vector&lt;CFileInfo, CFileInfo&amp;&gt; unsortedFiles;   vector&lt;CFileInfo, CFileInfo&amp;&gt;::iterator Iter;    packInfo.m_PackLine = "Sample Line 1";   packInfo.m_FileDateTime = "06/22/2008 04:34";   packInfo.m_NumDownloads = 0;   unsortedFiles.push_back(packInfo);    packInfo.m_PackLine = "Sample Line 2";   packInfo.m_FileDateTime = "12/05/2007 14:54";   packInfo.m_NumDownloads = 1;   unsortedFiles.push_back(packInfo);   for (Iter = unsortedFiles.begin(); Iter != unsortedFiles.end(); Iter++ )  {     cout &lt;&lt; " " &lt;&lt; *Iter; // !!! THIS IS WHERE I GET STUMPED     // How do I output values of the object members?   } }  // end main Are submodules of finitely generated free modules always free? I don't believe it's true that all submodules of a finitely generated free module are free just based on results from google. Is there a canonical simple example of a finitely generated free module with a submodule that is not free? We're using list view and details OnClick Javascript buttons which reference custom js ans css files stored in static resources and containing some shared logic/styles. The sample code below demonstrates how they are referenced.  {!REQUIRESCRIPT('/resource/CustomJQuery/js/jquery-1.10.2.js')}  {!REQUIRESCRIPT('/resource/CustomLib')}  $("head").append($("&lt;link rel='stylesheet' href='/resource/CustomJQuery/css/smoothness/jquery-ui-1.10.4.custom.css' type='text/css' media='screen' /&gt;"));   These files are also referenced in Visualforce pages.  Introduction of "Serve Static Resources from force.com domain" critical update breaking this way of using static resources in OnClick Javascript buttons - there is also Known Issue created for this .  So, my questions are:  1) Are there any ways to make it work with "Serve Static Resources from force.com domain" critical update activated. My assumptions for now are below, but they seem to be risky and may require significant changes:   hosting these js and css files on own server and referencing them in OnClick Javascript buttons and all other places; move to custom visualforce pages;   2) Does anyone know what's going on with "Serve Static Resources from force.com domain" critical update right now? It was scheduled in Winter 15 first, then it was postponed to Summer 15. Now it can't be found in any org in list of all critical updates at all. It has even disappeared from the list in orgs where it used to be 1-2 weeks ago.  3) How long Known Issue can be "In review" status, since related one has this status for more than 2 months?  Thank you Can independent variables with low correlation with dependent variable be significant predictors? I have eight independent variables and one dependent.  I have run a correlation matrix, and 5 of them have a low correlation with the DV.  I have then run a stepwise multiple regression to see whether any/all of the IVs can predict the DV.  The regression showed that only two IVs can predict the DV (can only account for about 20% of the variance though), and SPSS removed the rest from the model.  My supervisor reckons that I have not run the regression correctly, as due to the strength of the correlations, I should have found more predictors in the regression model. But the correlations were tiny, so my question is: if IVs and the DV hardly correlate, can IVs still be good predictors of the DV? Call to a member function on a non-object So I'm refactoring my code to implement more OOP.  I set up a class to hold page attributes.  class PageAtrributes  {   private $db_connection;   private $page_title;      public function __construct($db_connection)      {         $this-&gt;db_connection = $db_connection;         $this-&gt;page_title = '';     }      public function get_page_title()     {         return $this-&gt;page_title;     }      public function set_page_title($page_title)     {         $this-&gt;page_title = $page_title;     } }   Later on I call the set_page_title() function like so  function page_properties($objPortal) {         $objPage-&gt;set_page_title($myrow['title']); }   When I do I receive the error message:     Call to a member function set_page_title() on a non-object   So what am I missing? What are the basics needed to learn quantum computing? Finding specific records of US WW2 veterans? Missing processing menu in QGIS? I'm sure there is a really simple explanation to this but haven't found any pointers on this forum or elsewhere. I seem to have lost the 'processing' menu from QGIS and can't figure out how/why!? Any ideas what I might have done to make this happen?  I'm running QGIS 2.8 built against GDAL 1.10 on Ubuntu 14.04. Is there an easy way to 'break' the axis in a pgfplots environment? What I'm talking about is something like     Any minimal plot will do as an example...for example  \documentclass{minimal}   \usepackage{tikz} \usepackage{pgfplots}  \begin{document} \begin{tikzpicture} \begin{axis}[ymin=0, ymax=80] \addplot {x*0};  \addplot {x^2+50}; \end{axis} \end{tikzpicture}  \end{document}   For example, in the below plot,    I want to break the axis from around y = 10 to y = 40.   Any ideas? Does PGF have this functionality? A search for `break' in the manual doesn't yield anything. Where did the brush size lock go for sculpt mode in 2.8??? $pq\mid pn^q+qn^p+kn$ for some $k,\,$ if $p,q$ are primes Can I play Minecraft Java if I only buy the Windows 10 version I do not own Minecraft outside my PS4, I know I can't play either Windows 10 or Java with that purchase. However, my primary computer is Linux and only supports the Java edition, and its past the deadline to get a redeem code for Windows 10 edition if I purchase the Java Edition.    Can I purchase the Windows 10 edition and use that purchase to login and play on the Java edition? From this , I now understand the gradient to be the directional derivative that returns the steepest slope at a point. However, reading my textbooks, they all say that the gradient is normal to the tangent plane. In the above SE question, the gradient sounds like it should be parallel to a direction in the $xy$ plane, not actually up on the surface.   My question is therefore do I have a misunderstanding of the tangent plane, gradient or directional derivative?   In addition, I question how the gradient always passes through the origin or the $xy$ plane? If for instance in the graphic, the gradient had been another direction (say horizontal), then it wouldn't pass through the origin! In addition, the gradient of other points in the graphic would satisfy this example. Many thanks!