Getter is adding extra HtmlPanelGrid
How to create dynamic JSF form fields
Instantiating object of type parameter Where do I ask where to ask? What is the variance of the weighted mixture of two gaussians? In some cases, questions and answers that have been deleted are still showing up on /review pages. They do not have "Improve" buttons, but they can still be approved or rejected. I'm not sure what causes a post to end up in this limbo state instead of being removed from the queue entirely, which I think is what's supposed to happen.  The suggested edit I noticed this on was , but it just leads to a "Page Not Found" message now.  Tim Stone provided the following screenshot of another instance : I was browsing flight price at Singapore Airlines website, and a one-way flight from SIN to SFO cost this much:    That's quite expensive. I tried browsing around and found that a return flight from SFO to SIN and back to SFO cost much cheaper:    It's really weird because the second ticket includes the exact same flight that cost 1900+, but it's almost half the price. The reason for this counter-intuitive situation is explained in the answers this question   If I am located in Singapore and my intention is to fly one-way to SFO, is it safe to book the flight in the second picture and only board SFO-SIN leg? Will they deny me because I miss the SIN-SFO flight? Specifying a no-indent for a list I have the following:  This is just normal text...  \begin{enumerate} \item First Item ?\\\\ This is the text of the first item \item Second Item ?\\\\ This is the text of the second item \end{enumerate}   Which renders the following:  This is just normal text...  1. First Item ?     This is the text of the first item  2. Second Item ?      This is the text of the second item   I want to specify that the text of the items has no indentation.  Basically, I want it to be rendered like such:  This is just normal text...  1. First Item ?  This is the text of the first item  2. Second Item ?   This is the text of the second item   How can I specify this form of no indentation? How can I pad a value with leading zeros? JQuery to load Javascript file dynamically Show that    $$\frac{\sum_{i=0}^n\binom{k}{i}\binom{M-k}{n-i}\frac{k-i}{M-n}}{\binom{M}{n}}=\frac{k}{M},$$ where $M-k&gt;n$ and $k&gt;n$   From Vandermonde's identity, I get $\sum_{i=0}^n\binom{k}{i}\binom{M-k}{n-i}=\binom{M}{n}$.   But what about the sum of the product in the numerator? Any hint will be helpful. Determining the number of bit strings of length n that contains no adjacent 0s • $C_n =$ this number of bit strings  • A binary string with no adjacent 0s is constructed by   Adding “1” to any string w of length $n-1$ satisfying the condition, or Adding “10” to any string v of length $n-2$ satisfying the condition   I still don't find that intuitive at all. Why adding up $C_{n-1} + C_{n-2}$ results in $C_n$? I have tried my best and asked my friends for help, but they find the formula unintuitive as well. Could anyone here come up with a clear explanation? Thanks! I have a question related to modeling short time-series. It is not a question , but how. What method would you recommend for modeling (very) short time-series (say of length $T \leq 20$)? By "best" I mean here the most robust one, that is the least prone to errors due the fact of limited numbers of observations. With short series single observations could influence the forecast, so the method should provide a cautious estimate of errors and possible variability connected to the forecast. I am generally interested in univariate time-series but it would be also interesting to know about other methods. Labelled spanning trees of $K_n-e$ Let $e$ be an edge of $K_n$- the complete graph on $n$ vertices. Prove that the number of labelled spanning trees of $K_n-e$ is $(n-2)n^{n-3}$.  I think the answer lies in using some modified form of Prüfer's sequence but I can't quite nail it. Does $\lim_{z\rightarrow0}\frac{\bar{z}^2}{z^2}$ exist? Getting the name of the currently executing method Is there a way to get the name of the currently executing method in Java? I want to run a daily incremental backup and append the day of the week to the file name so I end up with:  backup_mon.bak backup_tue.bak  etc.  Not really bothered about what exactly is appended - 0 - 6 is fine.  How do I go about this? Disclaimer Yes, I am fully aware that what I am asking about is totally stupid and that anyone who would wish to try such a thing in production code should be fired and/or shot.  I'm mainly looking to see if can be done. Now that that's out of the way, is there any way to access private class members in C++ from outside the class?  For example, is there any way to do this with pointer offsets? (Naive and otherwise non-production-ready techniques welcome) Update As noted in the comments, I asked this question because I wanted to write a blog post on over-encapsulation (and how it affects TDD).  I wanted to see if there was a way to say &quot;using private variables isn't a 100% reliable way to enforce encapsulation, even in C++.&quot;  At the end, I decided to focus more on how to solve the problem rather than why it's a problem, so I didn't feature some of the stuff brought up here as prominently as I had planned, but I still left a link. At any rate, if anyone's interested in how it came out, here it is:   (I suggest reading it before you decide that I'm crazy). Query to collect the recent TimeSampled row using inner joins in MS SQL what is beeping in my house? I know this sounds like a silly question and it may be closed before it may get a single answer but there is something strange in my house which beeps infrequently. I tried to troubleshoot the sound but no luck. I thought may be its coming from the living room but there is nothing special in the living room which may make a beep sound.  Can someone point me what should i look for to figure out what is making this sound? I think the answer is yes but I know a lot of people disagree. So, I would like to ask these people when exactly does it stop being me.  Let's say I want to upload my brain into a computer using the following procedure:  I have each of my neurons replaced by electronic neurons. By electronic neurons I mean chips with the necessary hardware and software to perform the exact same function that the neuron being replaced was performing. This means that given the same inputs that the biological neuron was given it would produce the same outputs. Then I connect that electronic neuron to all the neurons that former biological neuron was connected to.   At the end of this process is it still me? If not when did it stop being me? When one neuron was replaced? When 1,000 were replaced? When 1,000,000 were replaced?  (assuming it is still me)  Then, I divide these electronic neurons into groups and for each group I perform the following:   Write software to simulate the group of electrical neurons in my computer such that given the same inputs that go into the group of electronic neurons in my brain, it will produce the same outputs. Replace each group of neurons with another chip that communicates with my computer. Each of the chips will communicate to the corresponding software module in order to determine how to transform its inputs into the necessary outputs. Connect all of the inputs and outputs of the group of electronic neurons to that new chip.   At the end of this process is it still me? If not when did it stop being me? When one group was replaced? When 1,000 were replaced? When 1,000,000 were replaced?  (assuming it is still me) Now, what I have is a bunch of these new chips in my head, connected to each other and for each of these chips I have a small neural network software module in my computer. So, now for each pair of chip/software module I do this:   Transfer all connections going into and out of the chip into the computer version (i.e. connect the software module to the other software modules that represent the other chips that this chip is connected to) Disconnect the chip from the other chips and remove it   At the end of this process is it still me? If not when did it stop being me? When one of the new chips was replaced? When 1,000 were replaced? When 1,000,000 were replaced?  If it is still me then I have successfully moved my brain into a computer without ceasing being myself.  So, again the question is if at the end it is not me anymore when exactly does it stop being me and why does it stop being me?  EDIT: This question assumes that our universe and everything in it (including ourselves) follows the (testable) laws of physics. As it stands it also assumes that neuroscience is mostly right, although the question could also be considered without that requirement if instead of neural simulations we were to implement physics simulation of the brain. Of course this is a lot less practical. However, if your view is that our minds have a supernatural component then the question does not make any sense.  It was also pointed out that this is related to the Ship of Theseus, i.e. is something still the same if all its parts have been changed. With regards to that I think it is useful to consider that most of the cells in our body (not including brain cells) are regularly replaced anyway and some people even get entire organs replaced. Yet, we don't say that they stopped being themselves. Note, however, that if you are assuming a supernatural component of the mind that this explanation is not really adequate or relevant. Forge CBC-MAC by creating a new message, given the MAC of two messages