Redirect After Successful MySQL Query
How to fix "Headers already sent" error in PHP
I'm looking for a quick start or template, or something, to get a web site's basic layout done quickly and looking fairly professional, and then let me do the coding.  I don't want a CMS, as this is for a highly customised reporting application, but I need something like frame header and two columns and frame footer.  I can design the pretty reports for the wide right hand column myself, as the left hand column menu. Childrens fantasy, blind monk leading boy who can control the elements I worked on a Word document and also saved the file on my flash drive.  When it asked me to save, I pressed the Replace document option by mistake.    I can see the missing work under the Properties menu. Will I be able to recover the lost work? Affiliation for a retiree This question is similar to   and  except that I am a retiree.  I intend to submit a paper to a journal without mentioning any affiliation because I am no longer employeed. I have been thinking about a footnote in the paper indicating I am a retiree from my former employer for two reasons: I am receiving pension from the company pension fund and it is a well-known company in U.S. Using their name may make me look good. On the other hand, I feel like it's cheating because I am not their employee anymore. I'm looking for a paper that could help in giving a guideline on how to choose the hyperparameters of a deep architecture, like stacked auto-encoders or deep believe networks. There are a lot of hyperparameters and I'm very confused on how to choose them. Also using cross-validation is not an option since training really takes a lot of time! Question: Best way to derive an ellipse formula when given bunch of points (say 60 points which when connected draws an ellipse)?  Background: Using R Momocs library function  which returns confidence ellipse coordinates. Would be nice to abstract those points into a formula.  You can see my ellipse points in the image below;    Any suggestions much appreciated, Thanks The Stack Exchange beta iOS app distributed over TestFlight will expire in 2 days has expired. After the 100 day test period, the app won't start any more so all beta testers can't use the app then.  Can we please get an updated release so we don't have to remove the app and install the current release from the App Store instead? Do I need a transit visa to collect and re-check my luggage at Istanbul Ataturk airport? I'm Egyptian and flying to Cairo from Tbilisi, via Istanbul. The first flight Tbilisi-Istanbul is on Atlasjet, then from Istanbul to Cairo I am flying on Egyptair. For that, I have to recheck in at Istanbul to my Egyptair flight  Will I need to pass passport control at Istanbul airport to collect my bags and check in on Egyptair? Will I need a transit visa for that? Or it can be all done through neutral zone? I've believed for a long time that every Lie group can be decomposed as the semidirect product of a connected Lie group and a discrete Lie group. However, in , it is mentioned that this is not true, and that there exist obstructions to this decomposition. Unfortunately, the level of complexity in the answers goes a bit over my head.  This type of decomposition is also addressed in .  With this loss of faith in my intuition, I have three questions:   Is it true that Lie groups do not necessarily decompose into the semidirect product of a connected group and a discrete group? If this decomposition doesn't always work, then is there a particularly nice argument as to why it doesn't? If this decomposition doesn't always work, then is there a nice example I can use to convince myself that my intuition is wrong?   Edit: As much as I love Qiaochu Yuan's answer, which is thorough and (as usual) a role model among Stack Exchange answers, this is not what I'm looking for. I'm aware of the general extension problem, and that not every short exact sequence splits, but my intuition has led me to think that each Lie group can be decomposed this way. I will certainly play around with his outline for a construction, but I would much prefer a more concrete answer. Once again, thank you!  Edit: As of yet, playing with the construction suggested by Qiaochu hasn't yielded anything interesting. This question is still open to answers! XmlInclude : List and array ShellExecuteEx code 31 error any time I try to launch an EXE, how to find problematic driver? Flag as Broken Link I keep finding broken links in posts, currently I add a comment in the hope someone will return to update it or if I find a link I edit the answer.   I imagine this will only increase over time so I wonder if there could be a standard way to manage this?  My idea is adding a new flagging reason like "contains broken links", then it will go to a review queue where people will be able to have a look and fix the broken links. What's the frequency of filesystem check on boot? What is the maximum number of times the root filesystem on this computer can be mounted before it is automatically checked? Delete all files except files with the extension pdf in a directory I have a directory that contains the following:  x.pdf y.zip z.mp3 a.pdf   I want to delete all files apart from x.pdf and a.pdf. How do I do this from the terminal? There are no subdirectories so no need for any recursion. How to hide Authoring information,Revision information,Publishing options tabs in create/edit node for any content type I am trying to hide Authoring information, Revision information, Publishing options tabs in create/edit node for any content type. I tried different modules with no luck. Please give me suggestions how to achieve this. Thanks a lot Suppose $G$ is a group and $K\lhd H\lhd G$ are normal subgroups of $G$. Is $K$ a normal subgroup of $G$, i.e. $K\lhd G$? If not, what extra conditions on $G$ or $H$ make this possible?  Applying the definitions, we know $\{ghg^{-1}\mid h\in H\}=H$ and $\{hkh^{-1}\mid k\in K\}=K$, and want $\{gkg^{-1}\mid k\in K\}=K$. Clearly, the best avenue for a counterexample is if $gkg^{-1}\not\in K$ for some $k\in K$ and $g\in G-H$.  If no such element exists, $\{gkg^{-1}\mid k\in K\}\subseteq K$ implies $\{gkg^{-1}\mid k\in K\}=K$ because if $k'\in K$, $gk'g^{-1}=k\in K\Rightarrow k'=g^{-1}kg\in\{gkg^{-1}\mid k\in K\}$. $E|X-m|$ is minimised at $m$=median For a continuous random variable $X$, I want to show that $E|X-m|$ is minimum implies $m$ is the median of the distribution. Assume that the distribution function is $F$ and the density function is $f$.  In this case, we basically need to minimize  $$\int_x |x-m|f(x)\,dx=\int_{x&gt;m}(x-m)f(x)\,dx+\int_{x&lt;m}(m-x)f(x)\,dx.$$  I am finally being left with $2mF(m)-m+E(X)-2\int_{x&lt;m}xf(x)\,dx$. What does it mean to minimise this expression? Is there some way out?  Well, my intuition says that since I have to prove that $F(m)=0.5$, I somehow will need to show that $E|X-m|$ is minimised if $2mF(m)-m=0$ (as then I will get $F(m)=0.5$ Enable HTTP DELETE requests on Apache server I need to configure my server to permit the http delete method.  currently, I get the following error when I attempt to make this call:    HTTP/1.1 405 Method Not Allowed Date: Mon, 11 Apr 2011 20:56:23 GMT Server: Apache/2.2.17 (Win32) PHP/5.3.5 Allow: GET,HEAD,POST,OPTIONS,TRACE Content-Length: 233 Keep-Alive: timeout=5, max=98 Connection: Keep-Alive Content-Type: text/html; charset=iso-8859-1     I have searched far and wide and have not been able to come up with an answer as to how I can configure the server to allow this request.  Someone please help as it has put a stop to my project. Ok. I was playing mcpe and I noticed that mossy cobblestone isn't in the crafting table. And I wanted to make a house that looks old. So if its possible to get mossy cobblestone without mods, how can I get it on survival? If it is possible can somebody please leave a step by step guide. Thank you. Determining bare earth DEM from unclassified LAS file? I have data in LAS format with RGB values created from aerial photogrammetry using a UAV. I am  trying to find a solution to extract the bare earth DEM from the point cloud.   I have tried SAGA, Fusion, MCC-LIDAR, but it is seems they need the LAS file to be already classified (which it naturally isn't). Can anyone point me in the right direction with a brief explanation of the process?   Generally, I would need to process about 100 mill points at a time (can tile them if needed).