Windows applications not restoring on restart
Applications Not Reopening After Restart
Prove that for all $n&gt;2$ there exists at least one prime $p$ such that $\sqrt{n}&lt;p&lt;n$ using elementary methods.  My try: If not, $\sum_{p&lt;\sqrt{n}} (\lfloor n/p \rfloor-\lfloor \sqrt{n}/p \rfloor) \geq n-\sqrt{n}$  then...? Which past tense of "to light" should I use here? I know that there are two ways to form the past tense of to light (i.e. lit/lighted). Which one is appropriate for the sentence below?     His thoughts lighted our way.   or     His thoughts lit our way. How to make the space under footnotes disappear? How do I make the space under footnotes disappear? And to space over the footnote's bar?    Code:  \documentclass[12pt,french]{report} \usepackage{mathptmx} \usepackage{helvet} \usepackage{courier} \usepackage[T1]{fontenc} \usepackage[cp1250]{inputenc} \usepackage[a4paper]{geometry} \geometry{verbose,margin=1in,headheight=12pt,headsep=25pt} \usepackage{fancyhdr} \pagestyle{fancy} \setlength{\parskip}{\medskipamount} \setlength{\parindent}{0pt} \usepackage{babel} \makeatletter \addto\extrasfrench{%    \providecommand{\og}{\leavevmode\flqq~}%    \providecommand{\fg}{\ifdim\lastskip&gt;\z@\unskip\fi~\frqq}% } \makeatother \usepackage{latexsym} \usepackage{pifont} \usepackage{color} \usepackage{float} \usepackage{textcomp} \usepackage{graphicx} \usepackage{setspace} \usepackage[unicode=true,  bookmarks=true,bookmarksnumbered=true,bookmarksopen=false,  breaklinks=true,pdfborder={0 0 0},backref=false,colorlinks=false]  {hyperref} \hypersetup{pdftitle={tito},  pdfauthor={abc},  pdfkeywords={kiko}} \usepackage{lipsum}  \makeatletter \usepackage{multicol} \usepackage{fancyhdr} \usepackage{multirow} \usepackage{longtable} \setcounter{secnumdepth}{4} \setcounter{tocdepth}{4} \usepackage{array} \newcommand{\ts}{\textsuperscript} \renewcommand\theparagraph{\alph{paragraph}.} \renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%                                     {3.25ex \@plus1ex \@minus.2ex}%                                     {0.5ex \@plus .2ex}%                                     {\normalfont\normalsize\bfseries}} \renewcommand*\l@paragraph{\@dottedtocline{4}{10em}{2em}}  \def\thickhrulefill{\leavevmode \leaders \hrule height 1ex \hfill \kern \z@}  \def\@makechapterhead#1{% \vspace*{10\p@}% {\parindent \z@ {\reset@font \usefont{OT1}{phv}{m}{n} \LARGE Chapitre \thechapter\par\nobreak}% \par\nobreak \vspace*{30\p@} \interlinepenalty\@M \usefont{OT1}{ptm}{b}{n} {\raggedright \Huge #1}% \par\nobreak \vskip 20\p@ \hrule height 1pt \par\nobreak \vskip 45\p@ }}  \def\@makeschapterhead#1{% \vspace*{10\p@}% {\parindent \z@ {\raggedleft \reset@font \scshape \vphantom{\@chapapp{} \thechapter} \par\nobreak}% \par\nobreak \vspace*{30\p@} \interlinepenalty\@M \usefont{OT1}{ptm}{b}{n} {\raggedright \Huge #1}% \par\nobreak \par\nobreak \vskip 45\p@ }}  \lhead{\nouppercase\leftmark} \chead{} \rhead{} \lfoot{} \cfoot{\thepage} \rfoot{} \renewcommand{\footrulewidth}{0.4pt}  \pretolerance=10000 \hyphenpenalty=10000 \exhyphenpenalty=10000  \AtBeginDocument{   \def\labelitemi{\Pisymbol{psy}{183}}   \def\labelitemii{\(\rhd\)}   \def\labelitemiii{\(\rhd\)}   \def\labelitemiv{\(\ast\)} } \makeatother  \begin{document} \chapter{Chap} \lipsum[1]\footnote{\lipsum[1]} \lipsum[1-8] \end{document} How to calculate number of days between two given dates? If I have two dates (ex. '8/18/2008' and '9/26/2008'), what is the best way to get the number of days between these two dates? I want to emphasize that I only have 5 dollars, so can I use the sentence:     Five dollars is all I have.   Or must it be:      Five dollars are all I have.   Please give the explanation as well. Structure of a C++ Object in Memory Vs a Struct If I have a class as follows     class Example_Class     {        private:          int x;           int y;         public:           Example_Class()           {               x = 8;              y = 9;          }        ~Example_Class()         { }     };   And a struct as follows  struct {    int x;    int y; } example_struct;   Is the structure in memory of the  example_struct simmilar to that in Example_Class  for example if I do the following  struct example_struct foo_struct; Example_Class foo_class = Example_Class();  memcpy(&amp;foo_struct, &amp;foo_class, sizeof(foo_struct));   will foo_struct.x = 8 and foo_struct.y = 9 (ie: the same values as the x,y values in the foo_class) ?  The reason I ask is I have a C++ library (don't want to change it) that is sharing an object with C code and I want to use a struct to represent the object coming from the C++ library. I'm only interested in the attributes of the object.  I know the ideal situation would be to have Example_class wrap arround a common structure between the C and C++ code but it is not going to be easy to change the C++ library in use. Where to find my Favorites in Google Chrome? Abiword starts automatically each restart Abiword starts automatically each restart, on any user. Already checked out Startup Applications. Remember session is turned off.   ()  Additional info, may be it'll give a clue - I configured VNC server on this machine to run, so sometimes, in additional to regular Ubuntu/Unity sessions I start XFCE4 session. I think this behavior started after VNC4 configuration, but ~/.vnc/xstartup does not contain abiword - just regular xfce startup stuff.  What are additional places where I can look? There is a line in the middle of my stroke. How do I fix that? When should I use double or single quotes in JavaScript? console.log(&quot;double&quot;); vs. console.log('single'); I see more and more JavaScript libraries out there using single quotes when handling strings. What are the reasons to use one over the other? I thought they're pretty much interchangeable. Suppose $X_n$ is the fortune of a gambler after $n$ th game. Then the game is called fair (Breiman 1968) if   $$E[X_{n+1} \mid X_1, \dots, X_n] = X_n \forall n$$  My question is why a fair game is not defined as the following   $$E[X_{n+1}] = E[X_n] \forall n$$ i.e. $$E[X_{n+1}- X_n]=0$$. This should be the proper definition as a fair game is where avg. gain is zero. Nothing conditioning should be there. Help with Spivak Calculus Ch3 Problem 6a Yet again I find myself stuck on a Spivak question. This time it is simply the question that isn't clear to me. It states:  If $x_1, ..., x_n$ are distinct numbers, find a polynomial function $f_i$, of degree $n-1$ which is 1 at $x_i$ and 0 at $x_j$ for $j\neq i$. Hint: the product of all $(x-x_j)$ for $j\neq i$, is 0 at $x_j$ if $j\neq i$. This product is usually denoted by: $$\prod_{\begin{smallmatrix}{j=1}\\ {j\neq i} \end{smallmatrix}}^n(x-x_j)$$  To be honest I don't know where to begin. I understand how to create a polynomial equation for a given set of results but this is quite strange. I'm not sure exactly what the author is expecting.  The answer book shows:  $$f_i(x)={\prod_{\begin{smallmatrix}{j=1}\\ {j\neq i} \end{smallmatrix}}^n(x-x_j)}/{\prod_{\begin{smallmatrix}{j=1}\\ {j\neq i} \end{smallmatrix}}^n(x_i-x_j)}$$  Which I have expanded out just fine but don't know what to do with. Allow more than one @name notification per comment Now this is probably a surprise to many since I always see thousands of comments like :  @Sarfraz, @balpha just told you they did in the first comment he wrote. Also, allowing only one Stack Overflow user to be logged in per IP address would be problematic for networks with shared IPs.  What's surprising is that apparently the notification will trigger only for Sarfraz and not for balpha. As you can see from the :  Only one person can be replied to at a time in a comment. The first one in the string wins.  I propose to increase the limit to let's say 3 or 5 people; it won't hurt (never seen that feature being abused) and especially many people believe it already works that way. Let $a,b,c$ be positive real numbers satisfying $$(1+a+b+c)\left(1+\frac{1}{a}+\frac{1}{b}+\frac{1}{c}\right)=16,$$ then $a+b+c=3$.  I thought about the application of the AM-GM-HM inequality, but in vain. I also thought about splitting 16 into factors and comparing but went nowhere. Any ideas. Thanks beforehand. Consequences of overstaying Schengen visa for 6 months I had the Facebook and Instagram apps installed on my iPhone (latest iOS). I deleted both apps and checked that there was no data from either app stored on iCloud (I went to Settings - iCloud - Manage storage and there was no mention of them storing anything on iCloud). Then I reinstalled Instagram, opened it, clicked on Login and the page still showed “Login as MYFACEBOOKNAME”.   How is this possible? How can I delete my FB login info once and for all on my iPhone? What should children call a step-grandparent? My mom remarried to a great guy who has been absolutely wonderful to my kids. Ever since my mom and he were dating my kids have called him Mr. Joe. Lately my mom has been bugging me to get the kids to call him Grampa.  I agree that he deserves more respect than Mr.  The problem is that he isn't their real grampa so I don't really want them calling him that. Does anybody have any suggestions on what we should have the kids call him? They are 9 and 12 years old.  EDIT: I appreciate the comments regarding different variations of grampa and hearing how others have no issues with calling their step-granddad grampa. But I was hoping maybe someone has some suggestions for names that show the importance of the step-granddad without calling him some variation of the grampa name but still has a feeling of warmth and family in the name (I hope that makes sense). Escape Key in the Chat Why can't Inuzuka clan's dogs use human language? a / an - adjective - noun The article a becomes to an when the following noun starts with a vowel.     Not a adventure but an adventure.   But how is it, when there's an adjective before the noun?     Not a thrilling adventure or not an thrilling Adventure?   And how is it, when the adjective starts with a vowel but the noun does not?     Not a exciting tournament or not an exciting tournament?