How do you filter months in mmm format in calendar month order and not alphabetical?  When I do it April as "APR" will be before January as "JAN" for example that is not correct.  (I know that Data &gt; Sort &gt; Custom will do it but I want filter to succeed).  I have also tried customising the data e.g. by shortening mmm-yy to mmm and it does not work.
I need to use filter to sort calendar months in mmm format.  Data &gt; Sort &gt; Custom will do it but I cannot make filter work. Months are in a column eg SEP, APR, JAN, APR, etc.  Filter just does an alphabetical sort so it puts all the APR first.
"Notice: Undefined variable", "Notice: Undefined index", and "Notice: Undefined offset" using PHP TP-LINK TL-WN823N Unable to connect to network Grub not showing on startup for Windows 8.1 Ubuntu 13.10 Dual boot Elementary central binomial coefficient estimates How do I synchronise two folders in real-time in Windows 7? I'm looking for a way of saying “having amorous affairs”. Ideally it should indicate a married man fooling around with younger women, and the expression should be informal, humorous, in low register but yet not rude. Noetherian property for exact sequence Let $0 \to M' \xrightarrow{\alpha} M \xrightarrow{\beta} M'' \to 0$ be an exact sequence of $A$-modules. Then $M$ is Noetherian is equivalent to $M'$ and $M''$ are Noetherian.  For the ''$\Leftarrow$'' case:  I guess if we let $(L_n)_{n\geq 1}$ be an ascending chain of submodules of $M$, then $(\alpha ^{-1}(L_n))_{n\geq 1}$ is a chain in $M'$, and $(\beta(L_n))_{n\geq 1}$ is a chain in  $M''$. For large $n$ both these chains are stationary. Then why we know the chain $(L_n)$ is stationary?   Thanks! What is the behavior of "delete" with stack objects? My table is:     id home datetime player resource     1 10 04/03/2009 john 399   2 11 04/03/2009 juliet 244   5 12 04/03/2009 borat 555   3 10 03/03/2009 john 300   4 11 03/03/2009 juliet 200   6 12 03/03/2009 borat 500   7 13 24/12/2008 borat 600   8 13 01/01/2009 borat 700     I need to select each distinct home holding the maximum value of datetime. Result would be:     id home datetime player resource     1 10 04/03/2009 john 399   2 11 04/03/2009 juliet 244   5 12 04/03/2009 borat 555   8 13 01/01/2009 borat 700     I have tried: -- 1 ..by the MySQL manual:   SELECT DISTINCT   home,   id,   datetime AS dt,   player,   resource FROM topten t1 WHERE datetime = (SELECT   MAX(t2.datetime) FROM topten t2 GROUP BY home) GROUP BY datetime ORDER BY datetime DESC  Doesn't work. Result-set has 130 rows although database holds 187. Result includes some duplicates of home. -- 2 ..join  SELECT   s1.id,   s1.home,   s1.datetime,   s1.player,   s1.resource FROM topten s1 JOIN (SELECT   id,   MAX(datetime) AS dt FROM topten GROUP BY id) AS s2   ON s1.id = s2.id ORDER BY datetime   Nope. Gives all the records. -- 3 ..something exotic:   With various results. I have a spreadsheet full of addresses to geocode in ArcMap 10.  I've added the spreadsheet to the map, then started to geocode them via the context menu's "Geocode addresses" item.  Many were matched automatically, and most of the unmatched I've been able to resolve within the Interactive Rematch dialog. But I have a handful of addresses where I get no result at all.  I can, however, locate these points on Google Maps, and I can get the latitude and longitude that way.  How can I enter that data into the table to locate the missing points?  I have tried editing the data and putting the lat/lon values into the X and Y columns, (via Edit Features -> Start Editing, then Open Attribute Table on the context menu).  But when I Flash the point, I don't see it.  The lat &amp; lon are consistent with the other data points on the map (i.e., not swapped, and using the correct sign).  How can I add the points to the table? Bibliographies from multiple .bib files I would like to use multiple .bib files for my article, such as file1.bib, file2.bib. However, I would like my references not to be separated (such as &quot;Primary sources&quot;, &quot;Secondary sources&quot;, etc.). These bibliographies just need to be merged into one. One way to do this is to copy-paste these .bib files into one .bib file, and this would solve the problem. However, I would like to keep it split into several .bib files, by topic (file1.bib contains articles on topic1, file2.bib contains articles on topic2, and so on). I tried to do \bibliographystyle{alpha}  \bibliography{file1} \bibliography{file2}  but this just gives me the same bibliography twice! How to get layer extent in OpenLayers or zoom to WMS layer extent? I have added WMS layers using follow:  basemap = new OpenLayers.Layer.WMS( "Layer Name1", "http://localhost:8080/geoserver/wms/workspacename", {layers: 'workspacename:layername'} );   utility = new OpenLayers.Layer.WMS( "Layer Name2", "http://localhost:8080/geoserver/wms/workspacename", {layers: 'workspacename:layername', transparent:"true"}, {isBaseLayer:false} );   Now I want to get zoom to my utility layer, How can I?  I have tried as following:  map.zoomToExtent(utility.getDataExtent()); Generating random points uniformly on a disk I have to randomly generate 1000 points over a unit disk such that are uniformly distributed on this disk. Now, for that, I select a radius $r$ and angular orientation $\alpha$ such that the radius $r$ is a uniformly distributed variate from $r \in [0,1]$ while $\alpha$ is a uniformly distributed variate from $\alpha \in [0, 2\pi]$ using the following code r &lt;- runif(1000, min=0, max=1)  alpha &lt;- runif(1000, min=0, max=2*pi) x &lt;- r*cos(alpha) y &lt;- r*sin(alpha) plot(x,y, pch=19, col=rgb(0,0,0,0.05), asp=1)  Then I look at my sample space and it looks like this:  This obviously doesn't look like a sample with uniform distribution over the disk. Hence, I guessed that the problem might be occurring as a result of a lack of independence between the variables $r$ and $\alpha$ in contingency to how they've been linked computationally. To take care of that I wrote a new code. rm(list=ls()) r &lt;- runif(32, min=0, max=1) df_res &lt;- data.frame(matrix(c(-Inf, Inf), byrow = T, nrow = 1)) for (i in 1:32) {   for (j in 1:32) {     alpha &lt;- runif(32, min=0, max=2*pi)     r &lt;- runif(32, min=0, max=1)     df &lt;- data.frame(matrix(c(r[i],alpha[j]), byrow = T, nrow = 1))     df_res &lt;- rbind(df_res,df)   } } df_res &lt;- subset(df_res, df_res$X1 != -Inf) x&lt;- df_res$X1 *cos(df_res$X2) y &lt;- df_res$X1 *sin(df_res$X2) plot(x,y, pch=19, col=rgb(0,0,0,0.05), asp=1)  And, yet again the sample looks non-uniformly distributed over the disk  I'm starting to suspect that there is a deeper mathematical problem going on in the vicinity. Could someone help me write code that would create a sample space uniformly distributed over the disk, or explain the mathematical fallacy if any in my reasoning? Finding the radius of a third tangent circle Sorry if this is a foolish question, but I'm having difficulty understanding how to solve for $r_3$ in the following diagram...    According to WolframAlpha's page on tangent circles, the radius of $c_3$ can be calculated using the following formula $r_3=\frac{r_1 \times r_2}{(\sqrt{r_1}+\sqrt{r_2})^2}$, which can be simplified to $\frac{1}{\sqrt{r_3}}=\frac{1}{\sqrt{r_1}} + \frac{1}{\sqrt{r_2}}$.  To be completely honest, I'm having a hard time understanding understanding how this formula works (as I'm a very visual person). What exactly is happening here? Expression Functions for Lightning Web Components How can expression functions similar to Visualforce and Lightning Aura Components be achieved within lightning web components?   For example, &lt;template if:true={index % 5 == 0}&gt;&lt;br&gt;&lt;/template&gt; expression index % 5 == 0 is not compyling at all.  accountList.html  &lt;template&gt;     &lt;template if:true={accounts.data}&gt;         &lt;template for:each={accounts.data} for:item='item' for:index='index'&gt;             &lt;!--LWC DOES NOT SUPPORT EXPRESSION FUNCTIONS--&gt;             &lt;!--&lt;template if:true={index % 5 == 0}&gt;&lt;br&gt;&lt;/template&gt;--&gt;             {item}         &lt;/template&gt;     &lt;/template&gt; &lt;/template&gt;   accountList.js  import {LightningElement, wire} from 'lwc'; import getAccounts from '@salesforce/apex/TestController.getAccounts';  export default class AccountList extends LightningElement {      @wire(getAccounts) accounts;  }   Since LWC doesn't support Expression Functions, I'd like to know how to implement them. How to pass parameters to function in a bash script? I'd like to write a function that I can call from a script with many different variables. For some reasons I'm having a lot of trouble doing this. Examples I've read always just use a global variable but that wouldn't make my code much more readable as far as I can see.  Intended usage example:  #!/bin/bash #myscript.sh var1=$1 var2=$2 var3=$3 var4=$4  add(){ result=$para1 + $para2 }  add $var1 $var2 add $var3 $var4 # end of the script  ./myscript.sh 1 2 3 4   I tried using $1 and such in the function, but then it just takes the global one the whole script was called from. Basically what I'm looking for is something like $1, $2 and so on but in the local context of a function. Like you know, functions work in any proper language. Database Encryption scan for database  was aborted. Reissue ALTER DB to resume the scan Adding tags to files in OS X: How to use, where are tags stored, and will they work on a network? What are the differences between "-" and "--" in commands? I often see a single dash - or double dash -- followed by linux commands or other installed linux programs.   What are the differences between single dash and double dashes?  Is it just about abbreviation?  For example, -v means --verbose most of the time. I recently installed Ubuntu 11.10 (new install). I would like to use the Adwaita theme with Unity, but it seems that it is not available in the theme selection dialog. I know I get it there after installing gnome-shell, but is there a way to use Adwaita theme for Unity without installing gnome-shell?