OOP PHP5 How create a unique class?
How to access an object from another class?
When viewing a question, when I hover over the star icon (under the voting module) the tooltip says I've made it a favorite when I haven't yet. var functionName = function() {} vs function functionName() {} Can't Use /Summon Command Recently I've been messing around with making a few minigames, and have used a few plugins to help make it easier to create and run them. However, a newer one I'm making requires me to use the /summon command in order to spawn zombies. However, no matter what I put in, I can't spawn hostile mobs. All other entities still spawn perfectly fine. Strangely, the /spawnmob command which comes with Essentials can summon hostile mobs fine. I would rather use /summon since it's more customizable though. Here's a list of plugins I have installed.   Essentials EssentialsChat HolographicDisplays PermissionsEx setspawn [A plugin I have made, just a simple timer] Vault VoxelSniper WorldEdit WorldGuard   Please let me know if you have any ideas on what I'm doing incorrectly or isn't functioning the way it should. Eigen Values Proof a.) Let A and B be $n$ x $n$ matrices. Prove that the matrix products   $AB$  and $BA$ have the same eigenvalues.      b.) Prove that every eigenvalue of a matrix A is also an eigenvalue of   its transpose $A^T$. Also, prove that if v is an eigenvector of A with   eigenvalue $\lambda$ and w is an eigenvector of $A^T$ with a different   eigenvalue $\mu \ne \lambda$, then v and w are orthogonal vectors with   respect to the dot product.   For a, I know that if their eigenvalues are the same then their eigenvectors must relate too.    For the first part of b, is it similar to proving that the $det(A) =det (A^T)$? And, I do not know how to do the second part. .cache/upstart/Unity7.log growing to consume the entire free disk space. Python cypto suspected 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); Sentient Bomb in a city on the moon? I would like to know the title of the short story that I believe takes place on the moon.  The setting is a mall or some other very public location and the main character is a police officer.  She needs to talk a sentient bomb out of exploding.  I know there was the John Carpenter film "Dark Star" with a similar plot line but I'm trying to identify the short story and the author. How does the Hogwarts Headmaster know whom to invite to school? So all wizards get an invitation to Hogwarts at 11... How do they know whom to invite?  If a wizard is Muggle-born, then nobody would know about their existence.  Or do they register some weird magical stuff being done by them before 11? How do I make Ubuntu not require a password to supend? Abstract algebra book recommendations for beginners. I am taking abstract algebra in this semester. I find that my lecturer didn't provide enough examples for understanding. So I would like to ask what are the recommended books which has lots of solved problems and exercises? The lecturer said in this semester, he will cover group theory, ring theory and a bit of field theory. Which book contains extensive information in these three fields? Why are Perl 5's function prototypes bad? What is the best prepaid SIM card for data in France? I'm going to travel to Paris in two weeks for 5 days. I'd like to buy a prepaid SIM card for my phone, no calls or SMS needed - only data is sufficient. I've looked through French mobile operators and found nothing really acceptable. For example, in Finland I bought SIM card for €5 with 3GB of data.   So, the question is - what is the best SIM card for me, assuming that 1GB is enough (considering the prices) and that I am actually will be able to use it (I've read that some operators turn on mobile data only after 5 days which is unacceptable for me considering that I'll be there for 5 days only)? NSString instance reports its class as NSCFString My objective here is really simple -- I'm trying to set an NSString to some test data, then return the class, which should be NSString. Here's my code:  NSString* stringer = [NSString stringWithFormat: @"Test"]; NSLog(@"%@", [stringer class]);   The log says that the class is NSCFString, not NSString. What's going on here? Compute $P(X_1+\cdots+X_k\lt 1)$ for $(X_i)$ i.i.d. uniform on $(0,1)$ Consider $N=\min\{n: S_n&gt;1\}$, where $S_n=X_1+\cdots+X_n$ and $(X_i)_{i=1}^\infty$ is i.i.d. uniform on $(0,1)$. So, $N$ is the first time that $(S_n)_{n=1}^\infty$ crosses $1$. I'd like to calculate $E(N)$. To this end I'd like to calculate $\Pr(N\gt k)=\Pr(S_k\lt 1)$.  Is there a way to actually do this for any arbitrary $k$? I mean, certainly there is as I know about the distribution of $S_n$ but the formula is just formidable when you move with $k$ toward $\infty$ and even though tractable with a computer, I don't think it's tractable without it.  Is there maybe a better way to calculate the expectation? Thanks for any help. What is the command to remove all files but not directories? Let's say I have a directory tree like this:  FOLDER:     file1     file2     file3     Subfolder1:         file1         file2     Subfolder2:         file1         file2   If I used rm -r FOLDER/*, everything in FOLDER would be deleted including sub-directories. How can I delete all files in FOLDER and in its sub-directories without deleting actual directories? I am looking for a list of all English words that are their own antonyms. Off the top of my head, I can only think of "either", "fast", "to dust" and "to lease", but there must be dozens more. Can you provide a link to a comprehensive list, if such exists?  Also, what are such words most commonly called? I like the term "Janus word" I once heard, but is that widely understood?  Edited by popular demand to make it absolutely clear that this is not a community wiki poll. Disable the activation of the menu bar when Alt is pressed in Windows 7 In Windows 7 how can I disable the function that activates the menu bar when Alt is pressed?  Are there some registry values to modify this behaviour? I am working to integrate unit testing into the development process on the team I work on and there are some sceptics. What are some good ways to convince the sceptical developers on the team of the value of Unit Testing? In my specific case we would be adding Unit Tests as we add functionality or fixed bugs. Unfortunately our code base does not lend itself to easy testing. How can I do case insensitive string comparison in Python?  I would like to encapsulate comparison of a regular strings to a repository string using in a very simple and Pythonic way. I also would like to have ability to look up values in a dict hashed by strings using regular python strings. Which function ($f$) is continuous nowhere but $|f(x)|$ is continuous everywhere?   I found this question , the question seems much interesting but for obvious reason it is closed there, I was wondering how to derive such a function?