i installed Zend Studio-5.5.0 in ubuntu 13.04. but when i try to open it from bin folder it is not open. every time it open as a text editor.
When I double-click on a script in Nautilus in order to run it, the script opens in my text editor with no option to do so.  Using Nautilus, how do I run executable text files and/or scripts?
Can "whatever" be split into two words? I tend to write, "say whatever they want", but I'm always tempted to write "say what ever they want". Is it acceptable to split the word in this context? So yesterday I dropped my iPhone into the toilet, it was literally submerged for less than 15 seconds and after taking it out I left it in my airing cupboard overnight to dry. Today the phone seems to be completely functional other than a very dark screen (changing brightness won't help).   Was wondering what the best course of action would be and if this is fixable. Finding an example of a discrete-time strict local martingale. Surface of genus $g$ does not retract to circle (Hatcher exercise) I'm trying exercise 9 on page 53 in  but I need some help with it. The exercise is:  In the surface $M_g$ of genus $g$, let $C$ be a circle that separates $M_g$ into two compact subsurfaces $M_h^\prime $ and $M_k^\prime$ obtained from the closed surfaces $M_h$ and $M_k$ by deleting an open disk from each. Show that $M_h^\prime$ does not retract onto its boundary circle $C$, and hence $M_g$ does not retract onto $C$. [Hint: abelianize $\pi_1$.] But show that $M_g$ does retract onto the nonseparating circle $C^\prime$ in the figure.    My first question is: assume there wasn't the hint, how would I think of abelianising? What does it mean exactly?  I thought I could do this by contradiction: if it retracts the induced map $i_\ast : \pi_1(C) \rightarrow \pi_1(M_h^\prime) $ is injective. I know $\pi_1(C) \cong \mathbb{Z}$, then I computed $\pi_1(M_h^\prime) \cong \mathbb{Z}$ and then I think I'm stuck. Right? Do you agree with $\pi_1(M_h^\prime) \cong \mathbb{Z}$ and being stuck after that?  What do I need to know to make progress? Many thanks for your help! Does there exist a holomorphic function with the following property? Catalan numbers and triangulation Assume $C_n$ is the number of triangulations of a polygon with $n+2$ sides. Using a combinatorial proof, show that $(4n+2)C_n=(n+2)C_{n+1}$.  I don't even know where to start with this one. I understand the triangulation after doing some googling, but I don't know where to go from here to prove the above using just a combinatorial formula. I can't retrieve my Facebook password I haven't been to my Facebook account in a while and I can't remember my password. When I try to have it reset, it goes to a security question, but I can't remember that either.    Is there anything I can do? How to remove "phone style" Gnome swipe to unlock I am very new to R. I am learning machine learning right now. Very sorry, if this question appears to be very basic.  I am trying to find a good feature selection package in R.  I went through Boruta package. It is a good package but I read that it is only useful for classification.  I want to do implement feature selection in R for regression tasks. I went through the caret package documentation but for my level, it is very difficult to understand.  Can any one please point me to a good tutorial or list any good packages or most frequently used packages in R for feature selection.  Any help would be appreciated. Thanks in advance. In JavaScript:  encodeURIComponent("©√") == "%C2%A9%E2%88%9A"   Is there an equivalent for C# applications? For escaping HTML characters I used:  txtOut.Text = Regex.Replace(txtIn.Text, @"[\u0080-\uFFFF]",     m =&gt; @"&amp;#" + ((int)m.Value[0]).ToString() + ";");   But I'm not sure how to convert the match to the correct hexadecimal format that JS uses. For example this code:  txtOut.Text = Regex.Replace(txtIn.Text, @"[\u0080-\uFFFF]",     m =&gt; @"%" + String.Format("{0:x}", ((int)m.Value[0])));   Returns "%a9%221a" for "©√" instead of "%C2%A9%E2%88%9A". It looks like I need to split the string up into bytes or something.  Edit: This is for a windows app, the only items available in System.Web are: AspNetHostingPermission, AspNetHostingPermissionAttribute, and AspNetHostingPermissionLevel. Should it be /about_us or /about-us?  From usability point of view, I personally think /about-us is much better for end-user yet Google and most other websites (and javascript frameworks) use underscore naming pattern. Is it just matter of style? Are there any compatibility issues with dashes? Suppose I have a field that contain the following data:   ========================== |  Email Address         | ========================== | Jack@wonderland.com    | | Peter@nobodyland.com   | | Jill@wonderland.com    | ==========================   Is there a calculated formula in SharePoint that will give me the following result? (It will help me to retrieve the sub-string from the Email Address column and give me the answer as shown in the UserName and Domain column):   =========================================================== |  Email Address         |  UserName  |      Domain       | =========================================================== | Jack@wonderland.com    |   Jack     |   wonderland.com  | | Peter@nobodyland.com   |   Peter    |   nobodyland.com  | | Jill@wonderland.com    |   Jill     |   wonderland.com  | =========================================================== How to capture all std outputs Electric fields and potential E = electric field V = electrostatic potential r = distance ' = derivative   E = - (V)'   therefore if E increases V decreases Also if r increases E decreases                                                      because  E=kq/r^2 From 1 &amp; 2, if r increases then V increases But V=kq/r, so if r increases V decreases   Why does the 3rd point contradict with the 4th ? Software to synchronize two directories (local/remote) I need software that would detect changes in directory (A) every 5 seconds or so and upload/delete changed files from/at (B) remote directory.  I found non-commercial software, . I am wondering if there are any commercial alternatives? Picking a $\delta$ for a convenient $\varepsilon$? Some questions and answers are marked Community Wiki and are owned by a community wiki user:  (In fact, this very question is one of them)  Why have Community Wiki posts? How do Community Wiki posts work? How does a post become a Community Wiki post? How can the Community Wiki status be removed from a post? How can I find Community Wiki posts? Proof of "the continuous image of a connected set is connected" None of the existing questions is exactly answering my question so I'm posting a new question, but feel free to refer me to some already answered question!   In Rudin Theorem 4.22, we know that      If $f$ is a continuous mapping of a metric space $X$ into a metric space $Y$, and $E$ is a connected subset of $X$, then $f(E)$ is connected.    In the proof, we started with consider $f(E) = A \cup B$, where $A$ and $B$ are nonempty separated subsets. Then put $G = E \cap f^{-1}(A)$ and $H = E \cap f^{-1}(B)$. Then Rudin is claiming that $E = G \cup H$. I'm a little suspicious about this. What if $f$ is non-surjective, then $f^{-1}(A) \cup f^{-1}(B)$  is only a proper subset of $E$? Is there a property of $f$ being continuous that forces $f$ to be 1-1? How To Display Too Much Data We're building a web-based platform where the main dashboard shows a table of data for users to view and analyze. As we're growing this tool, we seem to be adding more and more columns and are running out of horizontal space on smaller screen resolutions (we're seeing some data wrap). It is important to the user to view all columns at once, so column hiding is somewhat out of the question, as is horizontal scrolling (per the boss's request and because horizontal scrolling sucks anyways). I was wondering if anyone knew of a clever UI for tables with many columns.  EDIT  Below is a screen capture of the layout of the table. Unfortunately for security purposes I had to blur out the column titles. This example has rows with practically no data in them, but in use they will have lots of data that will expand wider than their respective column titles. In response to some of the answers, it is imperative that the user see all the columns, as they are all necessary to analyze the data to make certain decisions. All the data is numeric aside from the first three columns. Thanks again for any feedback.    Ok so I see that uploading this image doesn't really do it justice... it takes up the full width of the screen at 1680x1050 resolution (22") and as data fills in the columns, the left column w/the text shrinks down a bit.  EDIT 2 I just wanted to say thank you to everyone's awesome ideas. I can only select one answer, but a lot of your ideas have proven very useful and may end up in the final product. Thanks again! Random weighted choice Consider the class below that represents a Broker:  public class Broker {     public string Name = string.Empty;     public int Weight = 0;      public Broker(string n, int w)     {         this.Name = n;         this.Weight = w;     } }   I'd like to randomly select a Broker from an array, taking into account their weights.  What do you think of the code below?  class Program     {         private static Random _rnd = new Random();          public static Broker GetBroker(List&lt;Broker&gt; brokers, int totalWeight)         {             // totalWeight is the sum of all brokers' weight              int randomNumber = _rnd.Next(0, totalWeight);              Broker selectedBroker = null;             foreach (Broker broker in brokers)             {                 if (randomNumber &lt;= broker.Weight)                 {                     selectedBroker = broker;                     break;                 }                  randomNumber = randomNumber - broker.Weight;             }              return selectedBroker;         }           static void Main(string[] args)         {             List&lt;Broker&gt; brokers = new List&lt;Broker&gt;();             brokers.Add(new Broker("A", 10));             brokers.Add(new Broker("B", 20));             brokers.Add(new Broker("C", 20));             brokers.Add(new Broker("D", 10));              // total the weigth             int totalWeight = 0;             foreach (Broker broker in brokers)             {                 totalWeight += broker.Weight;             }              while (true)             {                 Dictionary&lt;string, int&gt; result = new Dictionary&lt;string, int&gt;();                  Broker selectedBroker = null;                  for (int i = 0; i &lt; 1000; i++)                 {                     selectedBroker = GetBroker(brokers, totalWeight);                     if (selectedBroker != null)                     {                         if (result.ContainsKey(selectedBroker.Name))                         {                             result[selectedBroker.Name] = result[selectedBroker.Name] + 1;                         }                         else                         {                             result.Add(selectedBroker.Name, 1);                         }                     }                 }                   Console.WriteLine("A\t\t" + result["A"]);                 Console.WriteLine("B\t\t" + result["B"]);                 Console.WriteLine("C\t\t" + result["C"]);                 Console.WriteLine("D\t\t" + result["D"]);                  result.Clear();                 Console.WriteLine();                 Console.ReadLine();             }         }     }   I'm not so confident. When I run this, Broker A always gets more hits than Broker D, and they have the same weight.  Is there a more accurate algorithm?  Thanks!