SQL Insert doesn't work for some reason
Syntax error due to using a reserved word as a table or column name in MySQL
What is the relationship between redshift and conformal time ?   For example in a paper i found:   taking $z_e = 3234 $ at the time of radiaton-matter equality yields the conformal time $\frac{\eta_e}{\eta_0} = 0.007$ and taking $z_E=0.39$ at matter-$\Lambda$ equality yields $\frac{\eta_E}{\eta_0}=0.894$ and setting redshift at decoupling $z_d=1089$ yields $\frac{\eta_d}{\eta_0} = 0.0195$  where $\eta_0$ is the present decoupling time.  Further some cosmological parameters are given as :  $\Omega_r = 8.36 \times 10^{-5}, \Omega_m = \Omega_b + \Omega_{dm} = 0.044 +0.226, \Omega_\Lambda = 0.73,  H_0=0.72$  Now how can i calculate all those $\eta_e, \eta_E, \eta_d, \eta_0$ from given redshift values and/or above parameters ? I searched whole of my text books trying to find an explicit relation for conformal time $\eta$ but all i got was $ \mathrm{d}t=a(t)\mathrm{d}\eta$. Any help would be very helpful. How do I prevent object distortion when applying a curve modifier? Switch off Windows Update for a particular program or feature I'm getting really tired of unchecking the same Windows Update candidates so save hundreds of MB's of dowbloads, especially for programs I never use, that are in fact not even installed, and those I don't wish to update.  Is there any way to permanently, or until another explicit change, to turn off certain updates?  There is an option called 'Hide update', but that unsettles me a bit. I recently installed Lubuntu but I have a problem with Adobe Flash Player. I always see something that looks like this when I open a video:    (source: )    The video is small, grainy, and is green and purple.  I tried to reinstall Flash and to test it in multiple browsers without success. I installed an older version of Flash but no result.  [0300]: Intel Corporation 82865G Integrated Graphics Controller [8086:2572] (rev 02)     Subsystem: Hewlett-Packard Company D530 sff(dc578av) [103c:12bc]     Kernel driver in use: i915 In 1D why are vectors, such as, e.g., velocity $v$ and acceleration $a$, not written with a vector arrow? In my textbook instantaneous velocity and acceleration are wrote only as $v$ and $a$ in the chapter of One dimensional motion. Instead, in two dimensional motion chapter they are written with the "arrow" symbol upon them, $\vec{v}$ and $\vec{a}$.  Why if they are both vectors they don't have an arrow in that particular chapter? I just can't get it. Creating account didn't log me in / didn't create an account The vast majority of intelligent species in the Star Trek universe are bipedal, humanoid creatures.  From the lot I've seen of TOS, TNG, DS9, Voyager, Enterprise, and the movies, it seems that this coincidence goes largely unquestioned.  Metaknowledge grants that it is much easier to have human actors portray human-like beings, and so this was probably done due to budgetary/technological limitations.  However, I'm wondering if an in-universe reason for this was ever given or explored? I've been reading around and trying to figure out how to do this, but for some reason I can't seem to override parent functions in my child theme.  I'm using TwentyTen as a parent - can anyone tell me why this function in my child theme isn't overriding the parent function please?  // Override read more link function osu_twentyten_continue_reading_link() {  return ' &lt;a href="'. get_permalink() . '"&gt;' . __( 'Read on &lt;span class="meta-nav"&gt;&amp;rarr;&lt;/span&gt;', 'twentyten-child' ) . '&lt;/a&gt;'; } function osu_twentyten_auto_excerpt_more( $more ) {  return ' &amp;hellip;' . osu_twentyten_continue_reading_link(); } remove_filter( 'excerpt_more', 'twentyten_auto_excerpt_more' ); add_filter( 'excerpt_more', 'osu_twentyten_auto_excerpt_more' );   I thought you had to remove the filter/action etc. before re-adding it right?  Thanks,  osu Stop iCloud automatic download to harddrive How do I stop iCloud from downloading files to my hard drive? I opened up a folder and it immediately started downloading all contents What do 'real', 'user' and 'sys' mean in the output of time(1)? $ time foo real        0m0.003s user        0m0.000s sys         0m0.004s $   What do 'real', 'user' and 'sys' mean in the output of time?  Which one is meaningful when benchmarking my app? On a series involving harmonic numbers Finding $$\sum^{\infty}_{n=1}\bigg[\bigg(\frac{(-1)^{n+1}}{n+1}\bigg)\bigg(\sum^{n}_{r=1}\frac{1}{r}\bigg)\bigg]$$   Try: Let $\displaystyle H_{n} =\sum^{n}_{r=1}\frac{1}{r},$ then series $\displaystyle \sum^{\infty}_{n=1}\frac{(-1)^{n+1}}{n+1}\cdot H_{n}=\frac{H_{1}}{2}-\frac{H_{2}}{3}+\frac{H_{3}}{4}\cdots\cdots$  could some help me to solve it, thanks How does the coin limit work? The new gym update , including a limit of 50 coins earned per day. How does this limit work? Is each pokemon limited to accruing 50 coins per day? Are all my pokemon limited to a collective 50 per day? My teammates keep feeding my Dragonite and she has been at the gym for almost a week; will she return with 50 coins for each day she was there? Fewer than 50 for the days I had other pokemon in the gym? Or will she accumulate vast sums of coins over the week, but only deliver me 50 (or fewer) when she comes back based on what I have collected from returning pokemon that day? Reprojecting MODIS-Sphere ESRI GRID file to WGS84 using QGIS/GDAL I have an ESRI GRID file projected in MODIS-Sphere (here's the dataset ) that I need to convert to a WGS84 GeoTIFF.  I tried Raster > Projections > Warp (Reproject) and got this nonsense:   I then thought I'd use the MODIS reprojection tool or HEG to convert it, but they only accept HDF files and using QGIS' warp or translate functions to convert this file to HDF throwns an error. This guy was trying to do the same thing in Arc, no joy:   I looked for clues in the metadata, and the file seems a little goofy; gdalinfo yields:  Driver: AIG/Arc/Info Binary Grid Files: seto_uf        seto_uf.aux        seto_uf/.aux.xml        seto_uf/.DS_Store        seto_uf/dblbnd.adf        seto_uf/hdr.adf        seto_uf/log        seto_uf/metadata.xml        seto_uf/sta.adf        seto_uf/vat.adf        seto_uf/w001001.adf        seto_uf/w001001.tif        seto_uf/w001001.tif.aux.xml        seto_uf/w001001x.adf Size is 7468, 2911 Coordinate System is `' Origin = (-17345341.010356999933720,8423784.764957003295422) Pixel Size = (5000.000000000000000,-5000.000000000000000) Corner Coordinates: Upper Left  (-17345341.010, 8423784.765)  Lower Left  (-17345341.010,-6131215.235)  Upper Right (19994658.990, 8423784.765)  Lower Right (19994658.990,-6131215.235)  Center      ( 1324658.990, 1146284.765)  Band 1 Block=256x4 Type=Byte, ColorInterp=Undefined   Description = Seto_UF   Min=0.000 Max=101.000    NoData Value=255   So it can't determine the coordinate system.  There's a .tif included in the directory, but gdalinfo on that shows:  Driver: GTiff/GeoTIFF Files: w001001.tif        w001001.tif.aux.xml Size is 7468, 2911 Coordinate System is: GEOGCS["Unspecified datum based upon the GRS 1980 Authalic Sphere",     DATUM["unknown",         SPHEROID["unnamed",6371007,1]],     PRIMEM["Greenwich",0],     UNIT["degree",0.0174532925199433],     AUTHORITY["EPSG","4047"]] Origin = (-17345341.010356999933720,8423784.764957003295422) Pixel Size = (5000.000000000000000,-5000.000000000000000) Metadata:   AREA_OR_POINT=Area Image Structure Metadata:   INTERLEAVE=BAND Corner Coordinates: Upper Left  (-17345341.010, 8423784.765)  Lower Left  (-17345341.010,-6131215.235)  Upper Right (19994658.990, 8423784.765)  Lower Right (19994658.990,-6131215.235)  Center      ( 1324658.990, 1146284.765)    So it says the units are degrees but those huge corner coordinates and origin values don't agree.  Any ideas?  My setup: OSX 10.9.4 QGIS 2.6.1 Brighton GDAL 1.11.2 (apparently there are newer versions but this is the latest you can get on OSX without having to compile it yourself) What is the best way to restrict access to adult content? I bought my kids a PC and installed 12.04 (Unity) on it.  The bottom line is, I want my children to use the computer unsupervised while I have confidence they cannot access anything inappropriate.  What I have looked at:  I was looking at Scrubit a tool which allows me configure my wifi router to block content and this solution would also protect my other PC and mobile devices.  This may be overkill as I just want the solution to work on one PC.    I also did some Google searches and came across the application called .  My experience of OSS is that the best solutions frequently never appear first on a Google search list and in this case I need to trust the methods therefore my question is very specific.   I want to leverage your knowledge and experience to understand What is the best way to restrict adult content on 12.04 LTS as this is important to me.  It maybe a combination of things so please don't answer this question "try this or that", then give me some PPA unless you can share your experience of how good it is and of course if there are any constraints. Delta-like symbol in LaTeX I'd like to write a majuscule delta-like symbol in LaTeX but I can't find it's syntax anywhere. You can see the symbol on equation (12) of the following paper:  "". I found an asnwered question concerning this topic already here:  Copying \captionsetup[subfigure]{justification=centering} doesn't help me thought for I am using different packages.  I would like my Captions and Subcaptions to be justified as the text below. Just under my pictures. Any suggestions?  Thanks a lot  \documentclass{article} \usepackage{subfig} \usepackage[labelfont=bf, justification=justified]{caption} \usepackage[demo]{graphicx}% Remove demo option in real document  \begin{document}     \begin{figure} %   \captionsetup[subfigure]{justification=centering}     \centering       \subfloat[Subcaption one \newline including a linebreak ]   {     \includegraphics[width=0.2\textwidth]{image1}     }     \hspace{1cm}     \subfloat[Subcaption two \newline including a linebreak]     {     \includegraphics[width=0.2\textwidth]{image2}     }        \caption{Figure caption \newline with additional text right here} \end{figure}  \begin{center} This is correctly justified Text \\ including a longer linebreak than blabla. \end{center} \end{document} How to count derangements? I was going through .Suppose that there are n persons who are numbered 1, 2, ..., n. Let there be n hats also numbered 1, 2, ..., n. We have to find the number of ways in which no one gets the hat having same number as his/her number. Let us assume that the first person takes hat i. There are n − 1 ways for the first person to make such a choice. There are now two possibilities, depending on whether or not person i takes hat 1 in return:  A) Person i does not take the hat 1. This case is equivalent to solving the problem with n − 1 persons and n − 1 hats: each of the remaining n − 1 people has precisely 1 forbidden choice from among the remaining n − 1 hats (i's forbidden choice is hat 1).  B) Person i takes the hat 1. Now the problem reduces to n − 2 persons and n − 2 hats.  From this, the following relation is derived: !n = (n - 1) (!(n-1) + !(n-2))  I have a hard time understanding point B and the equation derived. I was trying to understand with an example of 4 people named A, B, C and D and the corresponding hats A, B, C and D. Everyone of them are supposed to wear any hat except their own matching hat i.e. A can wear B, C or D.  If suppose A wears B hat so we will be left with only 3 people and 3 hats. So I can understand "(n-1)!(n-1)" part but what i didn't understand is part B(marked above). Can anyone help? Stopping a Thread in Java? I'm in the process of writing a piece of code that connects to a server spawns a bunch of threads using that connection and does a bunch of "stuff".  There are certain instances where the connection fails and I need to stop everything and start from scratch with a new object.  I wanted to clean up after the object but calling thread.stop on the threads, but this method is seemingly deprecated.  What is the recommended alternative to doing this? Should I write my own cleanup and exit method for each of the threads? Set the thread to null? or something else? Which fruits and vegetables should be kept in a fridge, and which outside? How do you get a timestamp in JavaScript? Something similar to Unix's timestamp, that is a single number that represents the current time and date. Either as a number or a string.