The client was unable to reuse a session with SPID XX, which had been reset for connection pooling
Connection pools being reset with Error: 18056, Severity: 20, State: 46. & Perfmon Counters not showing
Generator of rational functions unchanged under $\sigma(X) = X + 1$ Let $L = K(X)$ be the field of rational functions over a field $K$ with characteristic $p &gt; 0$, and let $\sigma \in \operatorname{Aut}_K(L)$ with $\sigma(X) = X + 1$.   Show that $G = \left&lt;\sigma\right&gt;$ is finite, and determine a generator of $L^G = \{ f \in L: \rho(f) = f$ for all $\rho \in G \}$ over $K$.    My solution so far: $G = \left&lt;\sigma\right&gt;$ is finite because char $(K) = p &gt; 0$ and therefore $\sigma^p (X) = X + p = X $.  A rational function unchanged under $\sigma$ will also be unchanged under any $\sigma^n$, so we don't have to worry about powers of $\sigma$ I think.   Any ideas for finding a generator? Thanks. What's the difference between stochastic and random? I have a directory with ~1M files and need to search for particular patterns. I know how to do it for all the files:  find /path/ -exec grep -H -m 1 'pattern' \{\} \;   The full output is not desired (too slow). Several first hits are OK, so I tried to limit number of the lines:  find /path/ -exec grep -H -m 1 'pattern' \{\} \; | head -n 5   This results in 5 lines followed by  find: `grep' terminated by signal 13   and find continues to work. This is well explained . I tried quit action:  find /path/ -exec grep -H -m 1 'pattern' \{\} \; -quit   This outputs only the first match.  Is it possible to limit find output with specific number of results (like providing an argument to quit similar to head -n)? Finding CPU usage of a service Because my laptop fan was spinning up for no reason, I had a look at the CPU usage and I see  svchost with 12.5% CPU, which is basically a full core.  Now, I'm aware that  svchost runs services and I know how to display the services it runs in Task Manager or Process Explorer ().  Now I know which services are run, but I don't know which service eats the CPU time. I could disable one service after another, but I don't really like doing this (it could break things that are currently in use and I could forget turning the service back on later).  Therefore I'd like to know whether it's possible to instruct Windows to run only one service per svchost the next time I boot my PC. While I might have the slight disadvantage of several processes, I could immediately find out which one it is and it would be a much easier decision of whether or not to stop or restart the service. This is a  about DNS/Hostnames resolution to IPs/Ports   Example 1  I'm running a web server on port 80 and another on port 87. I would like to use DNS so that www.example.com goes to port 87. How can I accomplish this using DNS only?  Example 2  I'm running a service on my server on a non-standard port. How can I get clients to connect to this non-standard port automatically? Can I use DNS? Is there some application specific support where DNS could indicate the IP and Port?   Example 3  Do some application protocols specifically support hostname awareness, and allow special actions to be taken based on this information? Are there other questions on Server Fault that cover some of these?  Commandeering: This question was originally asking about running IIS and Apache on the same server, but the same concepts can be applied to any server software receiving connections from clients. The Answers below describe the technical problems and solutions of using DNS and application protocol support to assign a port number for a client to connect. What JavaScript keywords (function names, variables, etc) are reserved? How to "flatten" a multi-dimensional array to simple one in PHP? Differentiable functions satisfying $f'(f(x))=f(f'(x))$ How can I translate CMYK to Pantone colors? In particular, how do I translate CMYK 90C 85M 80Y 63K to a Pantone color? Counterexample: $G \times K \cong H \times K \implies G \cong H$ I am having a hard time finding a counterexample for the statement: $G \times K \cong H \times K \implies G \cong H$  I think this should be true for abelian, finite groups. But is this true in general? What would be a counterexample?  Any hints appreciated!  Thanks I need help finding the set of continuous functions $f : \Bbb R \to \Bbb R$ such that for all $x \in \Bbb R$, the following integral converges:  $$\int_0^1 \frac {f(x+t) - f(x)} {t^2} \ \mathrm dt$$  I think it might be the set of constant functions but i havent been able to prove it :(   I was thinking that you can use the stone weiestrass theorem considering the set of continuous functions on a closed  interval(non trivial) ,and a subset which contains the set of continuous functions whose integral above diverges in some point in that interval along with  with the set of constant functions. So in order to solve the problem i need only to prove that if two functions do not meet the condition of the problem then their product does not as well .  I hope you can provide some insight and thank you . What is the remainder when $2^{1990}$ is divided by $1990$? I actually do not have the basic idea on how to approach these type of questions....so please tell me a generalized method about all this too.  It came in RMO, and the question is:  What is the remainder when $2^{1990}$ is divided by $1990$ ? A question I'm struggling with is to prove or disprove that the automorphism group of a finite cyclic group must be cyclic. I think the statement is false but have not been able to come up with a counterexample.  Thank you for any assistance you can provide. How to create a new figure in MATLAB? I just broke the screen of my (unrooted) Galaxy S.  How do I get back my SMS and contacts?   PS: I tried Kies but it won't detect my phone for some reason. (Kies works fine with another Galaxy I possess but not this one) Frying Oil Reuse What are some guidelines or rules with regard to filtering and reusing (vegetable/canola/sunflower) oil that has been used for deep frying?  Is it safe and acceptable under some circumstances to filter and keep oil? If so, does it depend on which foods were fried? How long can the filtered oil for be kept for?  Or, is it never appropriate? If not, are the reasons health or flavour related? or both? Are there concerns with doing a generalized additive model with a smoothing term of multiple variables? In R, usually one performs a generalized additive model like so:  library(mgcv) x &lt;- gam(depvar ~ s(indvar1) + s(indvar2) + parametricvar)   Say I want to explore the non-parametric interaction of indvar1 and indvar2.  Is the following kosher?  x &lt;- gam(depvar ~ s(indvar,indvar2) + parametricvar) addtocontents not working with certain other packages This is a follow up question on   How do I change the toc dept mid document while using packages (in this case only mathtools).  An example:  \documentclass[a4paper,10pt,oneside]{book}  \usepackage{mathtools}  \begin{document}   \frontmatter             \chapter{hello}  \section{hello}  \subsection{hello}  \subsubsection{hello}   \setcounter{tocdepth}{3}  \tableofcontents   \mainmatter   \chapter{hello}  \section{hello}  \subsection{hello}  \subsubsection{hello}   \chapter{hello}  \section{hello}  \subsection{hello}  \subsubsection{hello}   \appendix   \addtocontents{toc}{\setcounter{tocdepth}{0}}   \chapter{hello}  \section{hello}  \subsection{hello}  \subsubsection{hello}   \chapter{hello}  \section{hello}  \subsection{hello}  \subsubsection{hello}  \end{document}   This example generates an error and very strangely puts an exclamation mark in the ToC as you can see here   however when I comment out the \usepackage{mathtools} it suddenly works again or replacing it with a different package such as \usepackage[T1]{fontenc} also generates no errors.  But this is not limited to just this specific package, certain other packages also introduce the same behavior (I just took this package to keep the example small). I'm trying to create record Type selection screen in LWC, but getting this error  afterRender threw an error in 'c:createContact' [Cannot read property 'recordTypeInfos' of undefined]  HTML:  &lt;template&gt;     &lt;lightning-combobox name="recordType" label="Record Type" placeholder="Choose Status"                         value={value}                          options={recordTypeId}&gt;      &lt;/lightning-combobox&gt; &lt;/template&gt;   JS:  import { LightningElement, track, wire, api } from 'lwc'; import { getObjectInfo } from 'lightning/uiObjectInfoApi'; import CONTACT_OBJECT from '@salesforce/schema/Contact';  export default class CreateContact extends LightningElement {      @track statusOptions;     @track value;     @api objectApiName;      @track objectInfo;      @wire(getObjectInfo, { objectApiName: CONTACT_OBJECT,})     objectInfo;       get recordTypeId() {         // Returns a map of record type Ids          console.log(this.objectInfo);         const rtis = this.objectInfo.data.recordTypeInfos;         return rtis;     }  } Help with creating a symbolic link I'm confused with how symbolic links work. I hope someone can guide me in the right direction.  I want to put a demo online from our software, which normally only runs locally on a Mac Mini. So I put all the files in the var/www from my Ubuntu 12.04 server installation.  There are a lot of hardcoded links in the software which point to /Applications/XAMPP/xamppfiles/htdocs/narrowcasting  Of course, I could change all these code on my html/php files in /var/www, but that would be quite annoying. I hope I can fix this by creating a symbolic link. For example, I have a directory called thumb in /var/www/thumb. The PHP code is trying to put an image in /Applications/XAMPP/xamppfiles/htdocs/narrowcasting/thumb.   Can anyone give me a tip how to achieve this with a symbolic link?