Can I install Android 2.2 or 2.3 on a Samsung Omnia 2?
Can I install Android on my non-Android device?
Unable to forward search Bash history similarly as with CTRL-r How can I prevent Overflow for the Gamma function? I have a Dirichlet distribution from which I'm maximizing $\alpha$ by calculating the log likelihood with the following equation  $p\left(s|\alpha\right) = \sum\limits_{i=1}^O\log\left(\frac{n_i!}{\prod\limits_{j=1}^kn_{ij}!}\frac{\Gamma\left(\alpha_0\right)}{\Gamma\left(\sum\limits_{j=1}^k\left(n_{ij}+a_j\right)\right)} \prod\limits_{j=1}^k \frac{\Gamma\left(n_{ij}+\alpha_j\right)}{\Gamma\left(\alpha_j\right)}\right)$  I have a python script to calculate the log likelihood. It works for small values, but when $n_{ij}$ gets high $\Gamma\left(\sum\limits_{j=1}^k\left(n_{ij}+a_j\right)\right)$ and $\Gamma\left(n_{ij}+\alpha_j\right)$ python runs into overflow error (the max for math.gamma is between 171 and 172).   Is there a way to change the likelihood function so that $\Gamma\left(\sum\limits_{j=1}^k\left(n_{ij}+a_j\right)\right)$ and $\Gamma\left(n_{ij}+\alpha_j\right)$ don't run into overflow errors. Can I just divide the values in $\Gamma$ by for example 100, if I then compare the likelihood between $p(s|\alpha)$ with different $\alpha$ values do the best $\alpha$ values still have the highest likelihood? Is there any physical or mental cost to casting spells? pgfplots: lines and markers in different colors With pgfplots, I am creating a simple coordinate plot with error bars like this:    \documentclass[crop,10pt]{standalone} \usepackage[english]{babel} \usepackage{pgfplots}      \begin{document}%         \setlength{\linewidth}{246pt}%              \begin{tikzpicture}             \begin{axis}[             width=\linewidth,             ytick pos = left,             xtick pos = left,             clip=false,             axis on top,             tick align = outside,             yticklabel style={%             /pgf/number format/fixed,             /pgf/number format/precision=1,             /pgf/number format/fixed zerofill         },             ytick scale label code/.code={},             xlabel={X},             ylabel={Y},     ]             \addplot[mark=*]             plot[             error bars/.cd,             y dir=both,             y fixed=0.0001     ]             coordinates{(1,0.0005) (1.1,0.0013) (5,0.0015)};             \end{axis}             \end{tikzpicture}     \end{document}   In the original plot I have a lot more points. I would now like the line and the markers (including the error bars) to have different colors to better distinguish the line from the error bars. Is that somehow possible? The only way I found so far is to plot the data just as a line in one color and then plot it again just as markers in another color. This works, but I guess there must be some better solution to this. Thanks for the support, John DNS, multiple nameservers and geolocation? Currently, when a DNS client makes a request for a DNS record (say, www.example.com., it needs to traverse the DNS tree. It asks the root servers for the location of com., which it then asks for the location of example.com., which it then asks for the location of www.example.com.. Thankfully, much of this is cached.  If example.com. has multiple, geographically diverse NS records listed, my understanding is that these are listed in random order to avoid all queries going to the first (or last) NS record listed.  This would appear to imply that a DNS resolver in Australia could choose a NS record for a nameserver that's located far away, perhaps in Europe, when there may be another authoritative nameserver that is much closer.  So, my question is: Is there any provision within the DNS spec to allow DNS resolvers to select an authoritative nameserver that's local to them? The only way I can see to achieve this is to have the NS records behind an anycast address and do local resolution that way. Would this work? Is there any other option? When writing (a blog post, script, etc..) what is the proper way to indicate two or more instances of a single letter? For instance, in Monty Python's Bookshop Sketch:     C: I wonder if you might have a copy of "Rarnaby Budge"?      P: No, as I say, we're right out of Edmund Wells!      C: No, not Edmund Wells - Charles Dikkens.      P: (pause - eagerly) Charles Dickens??      C: Yes.      P: (excitedly) You mean "Barnaby Rudge"!      C: No, "Rarnaby Budge" by Charles Dikkens.  That's Dikkens with two Ks, the      well-known Dutch author.      P: (slight pause) No, well we don't have "Rarnaby Budge" by Charles Dikkens      with two Ks, the well-known Dutch author, and perhaps to save time I      should add that we don't have "Karnaby Fudge" by Darles Chickens, or      "Farmer of Sludge" by Marles Pickens, or even "Stickwick Stapers" by Farles      Wickens with four M's and a silent Q!!!!!  Why don't you try W. H. Smith's?      C: Ah did, They sent me here.   I had always believed that plural never uses an apostrophe before the 's' (it's only used for possession), but I have rarely seen in written material the format "four Ms". (On a side note, whoever wrote  also used "two Ks".)  On a side note, and perhaps this should be a separate question, if a Compact Disc is a CD, then two Compact Discs would be two CDs right? (I see "CD's" written everywhere) In the following sentence, I want to know if I've understand the correct meaning or not:     This version holds that the wave function does not so much describe the state of the physical system as the state of our knowledge of the system.    Can we say that it means the wave function describes the state of our knowledge  of the system more than it describes the state of the physical system  ?  It is worth noting that in the Cambridge Dictionary, we read:  not so much sth as sth ​ If you say that something is not so much one thing as something else, you mean it is more the second thing: They're not so much lovers as friends. I don't feel angry so much as sad. Confidence Interval Calculation I have temperature data of July 1991 to 2007, and wants to find the Confidence Interval at 95%, which distribution is best fit the data, Z or T. Please give me reason also.    minTemp = 14.4444, maxTemp = 38.3333, SizeofData = 527, (17 years) hist(July, 20), histfit(July, 20); What are the numbers / symbols to the right of my reputation counter? How do I change my timezone to UTC/GMT? Currently when I execute the date command from bash I get the following displayed  Thu May 17 12:21:00 IST 2012  Below is my timezone config based on executing dpkg-reconfigure tzdata     Current default time zone: 'Europe/Dublin'   Local time is now: Thu May 17 12:32:52 IST 2012.   Universal Time is now: Thu May 17 11:32:52 UTC 2012.     Any idea how I change from IST to UTC/GMT? VirtualBox: using physical partition as virtual drive Background: I am using VirtualBox installed on Windows 7. From within VirtualBox I am using Xubuntu as a virtual OS. The reason I chose this approach is so that I don't have to keep turning off Windows and rebooting from Xubuntu every time I needed to switch OSes. And VirtualBox's seamless mode is pretty amazing to allow me see Xubuntu and Windows 7 all in one screen.   Issue: Now I am thinking of a way to have Xubuntu more integrated into my system. By this I mean I want to have a physical partition for Xubuntu. But I want to still have the feeling of the seamless mode.  Question: So finally, my question is: is it possible to load a partition in VirtualBox as a virtual OS?   Case examples: Ideal scenario would be: I physically boot up and login to Windows 7. Now I want to access Xubuntu, so I load VirtualBox and access my Xubuntu partition without rebooting. And the other way around too, i.e. I boot up the system, login to Xubuntu, and can access the actual Windows 7 partition through VirtualBox.   Other info: Please note that I am not talking about getting access to files, as I have a completely separate partition for my files, and am very familiar with VirtualBox's Shared Folders option. What's wrong with "I'll open you the door"? When I call the buzzer outside my girlfriend's flat, she sometimes says *"I'll open you the door". I correct this to "I'll open the door for you".  I've never heard a native speaker say it the first way, which is why I think it's wrong. But I can't explain why.  There is a pattern in lots of English phrases that would suggest both are correct. A few common examples:   Give the keys to me before you go — Give me the keys before you go I'll buy a coffee for you at the cafe — I'll buy you a coffee at the cafe We sent a text to Martin on his birthday — We sent Martin a text on his birthday   The left-hand side is more formal, and the right-hand side is more common in everyday speech.  What do you call this pattern?  What makes the 'open-the-door' sentence an exception? How to prove whether a matrix has rank $1$ If $u$ $∈ \mathbb R^{m \times 1}$ and $v ∈ \mathbb R^{n \times 1}$ how do you show that the $(m \times  n)$ matrix $uv^T$ has rank $1$? Would providing an example be sufficient to prove it? Does a single photon's energy depend on frequency? (photoelectric effect) How to analyze trend in non-periodic time series Suppose I have following non-periodic time series. Obviously the trend is decreasing and I would like to prove it by some test (with p-value). I am unable to use classic linear regression due to strong temporal (serial) auto-correlation among values.  library(forecast) my.ts &lt;- ts(c(10,11,11.5,10,10.1,9,11,10,8,9,9,                6,5,5,4,3,3,2,1,2,4,4,2,1,1,0.5,1),             start = 1, end = 27,frequency = 1) plot(my.ts, col = "black", type = "p",      pch = 20, cex = 1.2, ylim = c(0,13)) # line of moving averages  lines(ma(my.ts,3),col="red", lty = 2, lwd = 2)     What are my options? I'm having a hard time understanding how changing space means changing time. In books I've read people are saying "space and time" or "" but never explain what the difference is between the two concepts or how they are related.  How are the concepts of space, time, and space-time related? Are C++ enums signed or unsigned? And by extension is it safe to validate an input by checking that it is &lt;= your max value, and leave out >= your min value (assuming you started at 0 and incremented by 1)? I am currently writing a paper with several multiple regression analyses. While visualizing univariate linear regression is easy via scatter plots, I was wondering whether there is any good way to visualize multiple linear regressions?   I am currently just plotting scatter plots like dependent variable vs. 1st independent variable, then vs. 2nd independent variable, etc. I would really appreciate any suggestions. Real life uses of Moment generating functions In most basic probability theory courses your told moment generating functions (m.g.f) are useful for calculating the moments of a random variable. In particular the expectation and variance. Now in most courses the examples they provide for expectation and variance can be solved analytically using the definitions.   Are there any real life examples of distributions where finding the expectation and variance is hard to do analytically and so the use of m.g.f's was needed? I'm asking because I feel like I don't get to see exactly why they are important in the basic courses. System.LimitException: Too many query rows: 50001 What I am trying to do is to set a date in my date field and also update the object. I am using the class below to do so which works just fine in my sanbox but in production I am getting this error:      System.LimitException: Too many query rows: 50001   public with sharing class updateObject{     public  List&lt;NRProducts__c&gt;  values;     public PageReference updateObject() {         values=[SELECT Refreshed_Date__c FROM NRProducts__c ];         for (NRProducts__c s :values){            s.Refreshed_Date__c =Date.today();          }          update values;         return null;                       }     }   VF Page:  &lt;apex:page showheader="false" controller="updateObject" sidebar="false"&gt; &lt;apex:form&gt;  &lt;apex:commandButton action="{!updateObject}" value="Update"/&gt; &lt;/apex:form&gt; &lt;/apex:page&gt;