bash + how to set variable instead array element
Can I use variables inside {} expansion without `eval`?
How do Android tablets use magnet to auto-lock the device? Call dynamic_sidebar but include/exclude named widgets? Is it possible to include or exclude specific named widgets that are assigned to a named dynamic_sidebar call?  For example, if I've registered a sidebar named "my_sidebar" and the user had placed a "Links" widget into it, I want to be able to include or exclude it based on a custom setting in my theme options panel.  Is this possible?  Any insights much appreciated. How to Install Virtualbox on Windows 10 host? Is there any difference between Frequentist and Bayesian on the definition of Likelihood? Some sources say likelihood function is not conditional probability, some say it is. This is very confusing to me.  According to most sources I have seen, the likelihood of a distribution with parameter $\theta$, should be a product of probability mass functions given $n$ samples of $x_i$:  $$L(\theta) = L(x_1,x_2,...,x_n;\theta) = \prod_{i=1}^n p(x_i;\theta)$$  For example in Logistic Regression, we use an optimization algorithm to maximize the likelihood function (Maximum Likelihood Estimation) to obtain the optimal parameters and therefore the final LR model. Given the $n$ training samples, which we assume to be independent from each other, we want to maximize the product of probabilities (or the joint probability mass functions). This seems quite obvious to me.  According to , "likelihood is not a probability and it is not a conditional probability". It also mentioned, "likelihood is a conditional probability only in Bayesian understanding of likelihood, i.e., if you assume that $\theta$ is a random variable."  I read about the different perspectives of treating a learning problem between frequentist and Bayesian.   According to a source, for Bayesian inference, we have a priori $P(\theta)$, likelihood $P(X|\theta)$, and we want to obtain the posterior $P(\theta|X)$, using Bayesian theorem:  $$P(\theta|X)=\dfrac{P(X|\theta) \times P(\theta)}{P(X)}$$   I'm not familiar with Bayesian Inference. How come $P(X|\theta)$ which is the distribution of the observed data conditional on its parameters, is also termed the likelihood? In , it says sometimes it is written $L(\theta|X)=p(X|\theta)$. What does this mean?  is there a difference between Frequentist and Bayesian's definitions on likelihood??  Thanks.    EDIT:  There are different ways of interpreting Bayes' theorem - Bayesian interpretation and Frequentist interpretation (See: ). Can I draw something on my card and play tournaments with it? Just out of curiosity, what can I do to the card, so it's still legal to play it in official tournaments?   Can I draw something over ruling texts?  Can I draw something over artwork? Can I draw something over mana cost? Can I draw something over its name?   I'll be glad to see some official rulings about it. :) What is the purpose of LongLength for .Net Arrays? Running out of inodes Elmah: How to get JSON HTTP request body from error report How can multithreading speed up an application (when threads can't run concurrently)? If $a, b, c >0$ prove that $ [(1+a)(1+b)(1+c)]^7 > 7^7a^4b^4c^4 $. I solved it using AM, GM inequalities and reached to $[(1+a)(1+b)(1+c)]^7 &gt; 2^{21}(abc)^\frac72 $ please help how to get $7^7(abc)^4$ in the inequality. How can I write a unit test to determine whether an object can be garbage collected? "They're using a cell phone" vs. "They're using cell phones" The usage of singular and plural has always been confusing for me.   I often see sentences like these         People are using cell phones.   People are using a cell phone.      Does the first sentence mean everyone has a phone and they are all using their own?  Does the second sentence mean they are sharing one cell phone?   If I see a group of people holding a cell phone in their hand(s), &lt;- even this is confusing for me, should I use the first sentence then?   Another example: you see two men, and both of them are carrying a bag. Which sentence should I say/use?        They are carrying backpacks          They are carrying a backpack      Could you please make it clear for me? Let $U$ be an open set in $\mathbb R$. Then $U$ is a countable union of disjoint intervals.    This question has probably been asked. However, I am not interested in just getting the answer to it. Rather, I am interested in collecting as many different proofs of it which are as diverse as possible. A professor told me that there are many. So, I invite everyone who has seen proofs of this fact to share them with the community. I think it is a result worth knowing how to prove in many different ways and having a post that combines as many of them as possible will, no doubt, be quite useful. After two days, I will place a bounty on this question to attract as many people as possible. Of course, any comments, corrections, suggestions, links to papers/notes etc. are more than welcome. This has been a old live-action movie from Asia, most likely Japan. I've seen it some time in the late 80's and I think it's been black/white only.  Earth is invaded by UFOs (small and round, like flying balls), coming from Mars.  Japan (I think) built some kind of super spaceship, initially hidden within some secret port in some kind of island/mountain.  The spaceship looks similar to a classic battleship, but with an added drill below the front.  In the movie's finale it's revealed that this is some kind of   super weapon/bomb that has to be manually piloted by someone. When launched it starts rotating and flies (formed like a bullet but with the drill/corkscrew head).   To defend Earth, the ship is sent on a mission to Venus, where the UFOs seem to originate. I don't remember the specific reason or conclusion here.  The ship starts underwater or launches from the mountain on the island, then taking off and fighting UFOs while leaving Earth's atmosphere. Is it possible to have an ASP.NET MVC route that uses subdomain information to determine its route?  For example:   user1.domain.com goes to one place user2.domain.com goes to another?   Or, can I make it so both of these go to the same controller/action with a username parameter? The latest beta update made the app crash a lot:   when I press 'Add comment'. after deleting a comment. after up/down/unvoting a post (happened when I upvoted an answer) after editing a post (but the edit is applied).   Spec: Nexus 5 on Lollipop 5.1.1, SE App v1.0.66 (beta) 1.7.4 Problem with mobs spawning I have just updated to Minecraft 1.7.4 and now all of a sudden there are barely any mobs spawning.  I checked to make sure that I was in normal difficult and I saw 1 creeper but that is all.  Also I tried different difficulties. Another thing - mobs seem to to spawn normally in the nether and all other mobs except aggressive mobs spawn like they should.  Please if you know how to fix this, please help! Creating a gradient-based legend I have a map with graduated symbology, with 328 unique values. I would like to add a legend to my map (as in the picture), illustrating that light blue indicates low values and dark blue high values.  I have done this in ArcGIS before. Is there a way to do this in QGIS as well? Why do eukaryotic organisms have introns in their DNA? We touched on introns and exons in my bio class, but unfortunately we didn't really talk about why Eukaryotes have introns. It would seem they would have to have some purpose since prokaryotes do not have them and they evolved first chronologically, but I could easily be wrong. Did the junk sections of DNA just evolve there by some sort of randomness or necessity as opposed to an actual evolutionary advantage? Why hasn't evolution stopped us from having introns since they seem to be a 'waste' of time and DNA? Why do prokaryotes not have introns? Recently, someone analyzed  and found that over half of the professors at the top 51 universities graduated from a top 10 university.  have also brought this up. From my personal observations, most schools do hire graduates from better ranked schools.  Is this because of the competitive job market? We have so many good applicants, we have to narrow it down some how! Or is it simply that these schools produce the most PhDs? Has this always been the case? How rare are exceptions to this? I know of a few people who graduated from a top 75 school and got hired at a top 50 school. But what about bigger gaps? The top 10 schools seem to just swap graduates, do they ever hire from a 50+ ranked school?  Update 2018: I have accepted a tenure-track position at a top 75 department at an R1 university immediately after graduating from an unranked department at an R2 university. It does happen! This may or may not generalize to other fields and countries.