How can I split a string with a string delimiter?
How do I split a string by a multi-character delimiter in C#?
Reference request: convergence for periodic Markov chains Consider an irreducible but possibly periodic Markov chain on a finite state space with transition matrix $P$. We know there exists a unique stationary distribution $\pi$. If the Markov chain were aperiodic, we would have $P^n_{ij} \to \pi(j)$ as $n \to \infty$. This fails if the chain is periodic, but we have convergence of the Cesaro averages: $$\frac{1}{n}\sum_{k=1}^n P^k_{ij} \to \pi(j) \text{ as } n \to \infty.$$ Can anyone point me to a reference that states this fact? Every reference I've seen only considers convergence for aperiodic chains, or "fixes" periodicity by considering a lazy version of the chain. Alternatively, is there a simple way to obtain this result using the result for aperiodic chains? iSight cable for mid 2009 macbook pro 13" help If my iSight camera no longer works and neither does my bluetooth, should my wifi still technically be working? Aren't they all co-dependent(if that makes sense) or can the fact that my wifi is still functional mean that the iSight camera still works and it's a software problem. ConcurrentModificationException for ArrayList how implement the jqueryUI in visualforce single email limit exceeded salesforce very frequently..? my email limit is exceeded after sending 10-12 emails..what could be the problem..as i have seen the limit is 1000 emails/day.i am not able to find out what could be the problem..Can some give me some suggestions. As i also know we can send 10 emails in a single transaction.I am sending emails in a batch class.  I am calling this batch class on button click and filling emailList with emailsId's.                      String query='Select id from Lead';//No use of this query                     Batch_send_emails bse=new Batch_send_emails();                     bse.query=query;                                                         bse.resendEmails=emailList;                     database.executebatch(bse);           **Batch Class**           if(!resendEmails.isEmpty())           {               for(String s:resendEmails)                {                   emailsLeads.add(s);                }           }           Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage();         mail.setToAddresses(emailsLeads);        // mail.setCcAddresses(ccAddresses);         String subject='GoToMeeting Invitation Details for '+subject;         String body='test';          mail.setHtmlBody(body);          mail.setSubject(subject);         Messaging.sendEmail(new Messaging.SingleEmailMessage[] { mail });          } Why would you use an assignment in a condition? In many languages assignments are legal in conditions. I never understood the reason behind this. Why would you write:  if (var1 = var2) {   ... }   instead of:  var1 = var2; if (var1) {   ... } On the nature of the collapse of the wave function The collapse of the wave function by measurements is one of the most mysterious properties of quantum mechanics.    At what scale does the wave function collapse? What are the conditions for a collapse?  Can it be made precise?  Does the collapse happen instantaneously, or is it spread out in time?  What is the precise equation for the collapse?  Why is the collapse time-asymmetric, and can this explain the arrow of time? Double calculation producing odd result What is the word for when someone is overly nice and actually isn't nice at all? What is the word for when someone is overly nice and actually isn't nice at all because of the unnecessary added information/comments? For example, they will say things like "Your hair looks so good that wayyyy omg you should do it that way ALL the time! Looks way better than how you usually do it." And the word I'm looking for is not passive aggressive and it is not sarcasm. There is a word for these types of people. What is it? These people think they're being kind but actually blunt and rude. Another example would be for someone to say "hey you're beautiful, but maybe if you didn't wear harsh makeup you would look better" and they intend to sound like they're being nice when you know they don't like you and are saying in out of spite. I'm new to feature selection and I was wondering how you would use PCA to perform feature selection. Does PCA compute a relative score for each input variable that you can use to filter out noninformative input variables? Basically, I want to be able to order the original features in the data by variance or amount of information contained. Can't unhide objects This is a follow-up to .  Suppose you want to denote vectors by upright bold letters; then \mathbf{u} works fine, except that if it's a Greek letter you have to use \boldsymbol{\omega} instead.  Question: Is it possible to define a generic vector command in LaTeX which automatically chooses between \mathbf and \boldsymbol, so that one can write just \vect{u} and \vect{\omega} without having to treat the Greek symbols specially by hand?  (Just to be clear: \newcommand{\vect}[1]{\boldsymbol{#1}} is no good in this situation, since \boldsymbol{u} gives bold italic instead of roman.) The overly simplified explanation I'm giving myself right now is  causes the opposite of what gravity does, that's why the universe is expanding. Now where gravity is a force, why dark energy is "energy"? Why it's not called "Dark Force" instead? I think I must be missing something here. How do you get a submit button in the Windows Phone keyboard? Do you have to want to hurt someone for the cruciatus curse to work? The first homology group $ H_1(E(K); Z) $ of a knot exterior is an infinite cyclic group which is generated by the class of the meridian. In an alternating current, do electrons flow from the source to the device? If electrons in an alternating current periodically reverse their direction, do they really flow? Won't they always come back to the same position? Why would Mystique's DNA allow for Sentinels that can duplicate mutant powers? which statistic should I use for inter-rater agreement on nominal data, multiple responses I have over 400 open-ended responses. The total has been coded by one rater, and a 10% identical sample of the total has been coded by 2 raters. There is a choice of 14 nominal codes, of which the rater can use any number per case, though most cases have between 1-4 codes. Which statistical test is the most appropriate to determine if I have inter-rater agreement on the 10% sample?   Also am I right in assuming that I will need to treat each code as a variable and look for the level of agreement for each variable?   I'm using SPSS 21.  Much thanks, Kellie How to typeset asymmetrical confidence level limits / uncertainties? Below is an example of an asymmetrical limit (or uncertainty)  How can I typeset this in a \LaTeX equation? Such pair of numbers should be vertically stacked while being vertically center-aligned with rest of the equation. Solution $X^{+Y}_{-Z}$