What drives the value of a stock?
Why do people buy stocks that pay no dividend?
I can't install VMwarePlayer 4.0.3 on Ubuntu 12.04 64Bit. For Version 4.0.2, I found a script that I have to run to patch VMware Player for it to work on my system to properly, and after that I could install 4.0.2.  Is there an similar solution for Version 4.0.3? What is the distinction between "among" and "amongst"? Limiting number of lines in textarea I'm looking for a javascript that can limit the number of lines (by line I mean some text ended by user pressing enter on the keyboard) the user is able to enter in textarea. I've found some solutions but they simply don't work or behave really weird. The best solution would be a jquery plugin that can do the work - something like , but it should be able to limit text line count not character count. load a file and read the information I want to open an Excel file through an Apex dialog box, then browse the information in my file line and display it with visualforce. I show you my code  public class ImportExcel {       public String fileName{get; set;}     public Blob contentFile{get;set;}     public String[] csvFileLines{get;set;}     public List&lt;String&gt; acclist{get;set;}     public String[] data{get;set;}     public ImportExcel(){         csvFileLines = new String[]{};         acclist = New List&lt;String&gt;();      } public void readFile(){         try         {             fileName=contentFile.toString();         }catch(Exception e){         ApexPages.Message myMsg = new ApexPages.Message(ApexPages.Severity.FATAL,'Please upload a valid CSV document');         ApexPages.addMessage(myMsg);              return ;          }         csvFileLines=fileName.split('\n');          system.debug(csvFileLines);         for(Integer i=0;i&lt;csvFileLines.size();i++){             data=csvFileLines[i].split(',');             acclist.add(data[i]);         }     } }   Once I execute my code, it puts me this error:     13:52:13:012 VARIABLE_ASSIGNMENT   [15]|e|"common.apex.runtime.impl.ExecutionException: BLOB is not a   valid UTF-8 string"|0x4e4728 In a table of contents that has been generated with LaTeX's \tableofcontents command, I would like to add a vertical space before a Chapter item in the table of contents. One way that I have in my notes is to use  \addtocontents{toc}{\protect\vspace{10pt}}   at a desired location in the document so that this gets processed by \tableofcontents to include an appropriate vertical space in the table of contents. I have two questions:   Is the above the correct way to get a vertical space in a table of contents? Why is it necessary to use the \protect command here?   Thank you... What happens when anti-matter falls into a black hole? Let's say a black hole of mass $M$ and a very compact lump of anti-matter () also of mass $M$ are traveling toward each other. What does an outside observer see when they meet?  Will they blow themselves apart in a  matter/anti-matter reaction? Or will their masses combine, never quite meeting in the infinite time dilation at the event horizon? Time taken for collision We have three particles at the vertices of equilateral triangle of side $d$. At $t=0$ they start moving in such away that at all instant of time each of them has a speed $v$ towards adjacent one. We have to find the time after which they will collide. I know that you can solve this by calculating from reference frame of any one particle, but I want a way to solve this by calculating the total distance traveled first in ground frame and then dividing by speed. "Learn More" link on tags broken in latest Chrome stable Note: This is identical to , but that bug was declined because Chrome 30 was in dev. Chrome 30 has now been released, and still has this issue.   The "Learn More" link for tags is broken in the latest release of Google Chrome.    If I right-click and open in new tab, I get the tag's page, but just clicking doesn't work.  I'm using Chrome 30.0.15599.69, the latest stable release: Chirp Transform and Convolution I was reading about the discrete fourier transform from the CLR algorithms book and I came upon an exercise whose hint confuses me. The exercise reads as follows:  The chirp transform of a vector $a=(a_0,a_1,\ldots,a_n)$ is a vector $y=(y_0,y_1,\ldots,y_n)$, where $y_k=\sum_{j=0}^{n-1}a_j (z^{k})^j$ and $z$ is any complex number. The DFT is therefore a special case of the chirp transform, obtained by taking $z=\omega_n$. Prove that the chirp transform can be evaluated in time $O(n\lg n)$ for any complex number $z$. (Hint: use the equation $$y_k = z^{k^2/2}\sum_{j=0}^{n-1}(a_j z^{j^2/2})(z^{-(k-j)^2/2})$$ to view the chirp transform as a convolution.  My question is about what is a convolution. I am familiar with taking two vectors $a=(a_0,a_1,\ldots,a_n)$ and $b=(b_0,b_1,\ldots,b_n)$ and forming the convolution $c=(c_0,c_1,\ldots,c_n)$ where $c_k = \sum_{j=0}^k a_j b_{k-j}$. Here the index of $j$ runs from $0$ to $k$ unlike in the hint given above where the index runs from $0$ to $n-1$. In what sense is the hint above a convolution? Why have my email notifications stopped? Why does Ubuntu 12.10 not detect my Win7 partition? Polynomial bounded real part of an entire function Let $f(z)$ be an entire function whose real part is bounded by a polynomial in $|z|$. Does it follow that $f(z)$ is a polynomial?  Or, without loss of generality and more suggestively $$(f(z)=\sum_{k=0}^\infty a_k z^k \quad \land \quad \operatorname{Re}(f(z))\leq |z|^n)\quad \forall z\in \mathbb{C} \qquad \Rightarrow \qquad f(z)=\sum_{k=0}^n a_k z^k \quad\forall z\in \mathbb{C}$$ What packages do people load by default in LaTeX? I'm getting the impression from reading the answers written by some of the real experts here that there are quite a few little packages that just tweak LaTeX2e's default behaviour a little to make it more sensible here and there.  Rather than try to pick these up one by one as I read answers to questions (and thus risk missing them), I thought I'd ask up front what LaTeX2e packages people load by default in (almost) every document.  As this is a "big list" question, I'm making it CW.  I don't know if there are standard rules across all SE/SO sites for such questions, but on MathOverflow the rule is generally: one thing (in this case, package) per answer.  I guess that if a couple of packages really do go together then it would be fine to group them.  This is perhaps a little subjective and a little close to the line, so I'll not be offended if it gets closed or voted down!  (But please explain why in the comments.)  Also see our community poll question: Number of Homomorphisms from $\Bbb{Z}_m$ to $\Bbb{Z}_n$ This question coutesy of Allan Clark's "Elements of Abstract Algebra" (60$\zeta$).   Find the number of homomorphisms from $\Bbb{Z}_m\to \Bbb{Z}_n$ as a function of $m$ and $n$.  This is stumping me, can anyone help? Solving linear congruences by hand: modular fractions and inverses Answer turned to CW, votes pre-CW era doesn't count in tag specific stat My understanding is that if an answer becomes CW (one way or another), original author gets to keep the votes pre-CW.  Does this also keep the pre-CW vote count for the tag-specific stat? It doesn't look like it, because I checked recently and suddenly my number dropped. It looks like the tag-specific stat just counts votes for non-CW answers, and doesn't "discriminate" between the pre-CW and post-CW era. If it's eventually CW, then it simply contributes 0 votes.  I'm fine with the fact that my answer became CW (in this case, through the question having 30+ answers), but I would like to keep the votes I earned before it did for the tag stat.  Otherwise I think the system is "broken". Someone can go posting 30+ answers to questions where Jon Skeet answered, and all of Jon Skeet's answers would become CW, and he'd then be 0 at all tags. The "correct" way to write a set without a specific element is as follows: $S \setminus \{s\}$  But in some contexts this is cumbersome to write/type or read, and it detracts from the flow of the writing. Is it acceptable to just use $S \setminus s$?  Edit: By "cumbersome" i mean they look bad when you're trying to inline formulas in LaTeX. Find $\int \frac{x^3}{x^2-1} \:\mathrm{d}x$ Find $\displaystyle \int \dfrac{x^3}{x^2-1} \:\mathrm{d}x$.   I think there are a few ways to do this. We could just break this up using long division or break it up into partial fractions then use long division. My homework says to break this up into its roots so that's why I brought up partial fractions. Is that the best way to do it here? I am relatively fresh to the DI party and am struggling to get my head around how exactly to use Dependency Injection. I understand that I can pass requirements as part of a service, but what about in my own class?  Say I have the below class where I want the language manager service to be injected:  class Foo implements ContainerInjectionInterface {    protected $languageManager;     public function __construct(LanguageManagerInterface $languageManager) {     $this-&gt;languageManager = $languageManager;   }    public static function create(ContainerInterface $container) {     return new static(       $container-&gt;get('language_manager')     );   } }   When I call new Foo() I am required to pass an instance of LanguageManagerInterface. That makes sense in terms of a normal constructor method, but that would require me to instantiate the class like the below:  $languageManager = \Drupal::service('language_manager'); $foo = new Foo($languageManager)   That just doesn't feel right to me.  Is there something I am missing, or would this class always have to be a service to take advantage of dependency injection? Could someone please provide an explanation for the origin of ? (Ideally someone who I have been speaking with on the h-bar)  Any advanced maths beyond basic calculus will most probably leave me at a loss, though I do not mind a challenge! Please assume little prior knowledge, as over the past few days I have discovered that much of my understanding surrounding the process as virtual particle pairs is completely wrong.