Consider the sentence - "A fifty year old man is walking in the garden." Shouldn't it be 'fifty years old'  or  'fifty-year old' or something else maybe? Is the original usage correct?
Which of the following are correct and which are wrong?   The 2000-year-old computer The 2000 year-old computer The 2000 year old computer The 2000-years-old computer The 2000 years-old computer The 2000 years old computer   In a documentary, BBC4 used the title The 2000 year-old computer, which I believe to be wrong. Am I right?
How do I solve this limit: $\lim _{x \to 0} \left(\frac{ \sin x}{x}\right)^{1/x}$? Read Gif Images using WebView android Run command whenever someone joins a Minecraft server What is the definition of how to count degrees of freedom? resulted, rather as by-product, the discussion on how to count degrees of freedom (DOF). I extend that question here:   Are necessary1 derivatives such as velocities counted as individual DOFs or together with the respective coordinate2? Should complex valued DOFs be counted twice as in "two real-valued DOFs" or once as in "one complex-valued DOF"? (I mean, when one does not want to specify this explicitly)   Please answer with some reference, unless it turns out this is actually a matter of taste rather than a strictly defined thing.    1) I mean those a value of which is required as an initial condition 2) I count fields in QFT as coordinates as well, while space-time-coordinates are parameters to me, if that matters. I know a field actually has $\infty$ (or rather, $2^\aleph$) DOFs itself, but let's say e.g. "one $\mathbb R^3$ continous DOF" in that case Which should I use on my DB? - Clustered Index or Non Clustered Index or Both I just need advice on how I am going to optimize my database.  Date ---- Time ---- Area ---- Block ---- Data1 ---- Data2 ---- Data3 ---- DataN   I have that format of tables on my database. Each tables has 30-days of records with hundred thousands of records each data. Uploading of data to database is every morning. The data of yesterday will be uploaded.  The most common queries to run is grouped by Date or Date and Area or Date and Area and Block. Now, in order to make queries faster, I found out using indexes. I used indexes before. But that was when I am using a primary key. In this table, I didn't use primary key because it is totally unnecessary.   Now, I am really confused on how I am going to optimize this. Based on  on Column Considerations part, clustered index is not a good choice on Columns that undergo frequent changes. I am really confused.  Please help me if I need to use clustered index here or just non clustered or both. Import pdf form in latex with filled in text If $f(x)\to 0$ as $x\to\infty$ and $f''$ is bounded, show that $f'(x)\to0$ as $x\to\infty$ "ERROR: Extra }, or forgotten \right." in align* enviroment Why do I get a "ERROR: Extra }, or forgotten \right." in the following align* environment?  \begin{align*}     \int\left[\left(\der{E_z}{y}-\der{E_y}{z}-\mu\der{\alpha}{t}\right)\alpha&amp;+\left(\der{E_x}{z}-\der{E_x}{x}-\mu\der{\beta}{t}\right)\beta\\     &amp;+\left(\der{E_y}{x}-\der{E_x}{y}-\mu\der{\gamma}{t}\right)\gamma\left.\vphantom{\left(\der{E_y}{x}}\right]d\omega=0.     \end{align*}   thanks Lebesgue measurable set that is not a Borel measurable set Kinematic Viscosity Would raising the review limit help with the Close Votes queue? I want to use  to display my CPU-Core temperatures (haswell i7). However the setting:  order += "cpu_temperature 1" #... cpu_temperature 1{         format = "T: %degree °C" } #   doesn't display the correct core temperature. The numbers it shows seem to correspond to the value xsensors shows for temp1, if I change the 1 to 2 above it corresponds to xsensors temp2. Trying 3 or 4 doesn't have any effect. However I want to get the true core temperatures of all 4 cores with i3 status. How can I do this? 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? Hide and seek game $A$ and $B$ go to the Senate to play a game of Hide-and-Seek. There are $100$ rooms in the Senate, and $B$ picks one of them and hides there till the game ends.  $A$, at the beginning of every turn, picks one room and searches in it. Since he is human and thus fallible, he only has a $60\%$ chance of finding $B$ if she is in fact hiding in the room. If he fails to find her in the room, $B$'s score increases by one, and the next turn starts, whereupon $A$ must pick another room to check (he can also check the same room again). $B$ remains in the room she initially chose.  Given that $A$ and $B$ play with perfect strategies, what is the expected value of $B$'s score at the end of the game?  I tried with $1$ room. There is only one hiding place for $B$. So the expected score of $$B = \sum_{n=1}^{\infty}0.4^{n-1}0.6(n-1)=\frac{2}{3}.$$ MySQL strip non-numeric characters to compare I'm looking to find records in a table that match a specific number that the user enters.  So, the user may enter 12345, but this could be 123zz4-5 in the database. I imagine something like this would work, if PHP functions worked in MySQL. SELECT * FROM foo WHERE preg_replace(&quot;/[^0-9]/&quot;,&quot;&quot;,bar) = '12345'  What's the equivalent function or way to do this with just MySQL? Speed is not important. Ignore folders/files when Directory.GetFiles() is denied access I am trying to display a list of all files found in the selected directory (and optionally any subdirectories). The problem I am having is that when the GetFiles() method comes across a folder that it cannot access, it throws an exception and the process stops.  How do I ignore this exception (and ignore the protected folder/file) and continue adding accessible files to the list?  try {     if (cbSubFolders.Checked == false)     {         string[] files = Directory.GetFiles(folderBrowserDialog1.SelectedPath);         foreach (string fileName in files)             ProcessFile(fileName);     }     else     {         string[] files = Directory.GetFiles(folderBrowserDialog1.SelectedPath, "*.*", SearchOption.AllDirectories);         foreach (string fileName in files)             ProcessFile(fileName);     }     lblNumberOfFilesDisplay.Enabled = true; } catch (UnauthorizedAccessException) { } finally {} I have made a script that will sort files according to their extension and place them in the proper folder. For example, place abc.jpg in the directory jpg.  #!/bin/bash #this script sorts files according to their extensions oldIFS=$IFS IFS=$'\n' (find . -type f) &gt; /tmp/temp for var in `cat /tmp/temp` do name=`basename "$var"` ext=`echo $name | cut -d'.' -f2- | cut -d'.' -f2- | cut -d'.' -f2- | cut -d'.' -f2- | cut -d'.' -f2- | cut -d'.' -f2- | cut -d'.' -f2-` mkdir -p $ext mv "$var" $ext/ 2&gt; /dev/null done IFS=$oldIFS   problem with this script:    it involves use of IFS, it is said to avoid use of IFS, as much as possible it does not sorts file without file extensions  it will sort files like abc.tar.bz in folder named bz, but however such a file should go in tar.bz folder see line 9 of my script; if any file contain more no. of dots(in its name) than no. of cut -d'.' -f2- in the script than if will result in file name taken in extension part. for example, a file named i.am.live.in.india.and.i.study.computer.science.txt will be placed in folder named study.computer.science.txt   you may also suggest any tweaks to make this script more smaller and neat. How can I give a script its own icon in the Unity launcher? With Ubuntu 16.04, if you create a launcher (desktop file in ~/.local/share/applications) with a custom icon for a terminal application (so with Terminal=true) then when you start it, it will spawn a new standard terminal icon, and your custom icon will pulse and disappear within a few seconds.  In 14.04, it just worked as expected. (it would not start a new standard terminal icon).   Any idea what to do to change this behaviour? I have a few terminal apps that I want to launch from unity and the new behaviour is problematic (I lose trace of which is which since they all end up with the standard terminal icon)... Are GUID collisions possible? I'm working on a database in SQL Server 2000 that uses a GUID for each user that uses the app it's tied to. Somehow, two users ended up with the same GUID. I know that microsoft uses an algorithm to generate a random GUID that has an extremely low chance of causing collisons, but is a collision still possible? I have an input type="image". This acts like the cell notes in Microsoft Excel. If someone enters a number into the text box that this input-image is paired with, I setup an event handler for the input-image. Then when the user clicks the image, they get a little popup to add some notes to the data.  My problem is that when a user enters a zero into the text box, I need to disable the input-image's event handler. I have tried the following, but to no avail.  $('#myimage').click(function { return false; });