Ubuntu making an interface as default network interface
Share wireless Internet connection through ethernet
Has Java 3D changed much since 2005? I'm thinking of picking up the book called "Killer Game Programming" by Andrew Davidson, but its pretty old, now. I know Java, and I've been messing with jMonkeyEngine for a few days, but I'm curious to see if I would benefit from the 3D chapters of this book.   The book was published was in 2005. Has Java changed to the point where this book would now be obsolete, assuming it was up to date at time of publication? Using ffmpeg to cut up video Why is posterior density proportional to prior density times likelihood function? According to Bayes' theorem, $P(y|\theta)P(\theta) = P(\theta|y)P(y)$. But according to my econometric text, it says that $P(\theta|y) \propto P(y|\theta)P(\theta)$. Why is it like this? I don't get why $P(y)$ is ignored. Prevent malicious bots from posting spam Finding the limit of $(1-\cos(x))/x$ as $x\to 0$ with squeeze theorem How do I find:  $$ \lim_{x\to0}\frac{1-\cos(x)}{x} $$  Using the squeeze theorem.  Particularly, how would I arrive at its bounding functions?   If possible, please try not to use derivatives. I am going to shoot a wedding this weekend, and I want to do my best for my friend's big day.    What can I do to prepare for the day in order to minimize failures and mistakes? How do I avoid missing important shots? What backup plan should I have?   I have been shooting for 6 years or so, and I know wedding is one of the hardest thing to do. I have told my friend what I end up producing will be of no match with the work of dedicated wedding photographers, not even the ones that are about to fall out of business.  They are on a tight budget, they said some photos are still better than none, they really must minimize the cost as much as they can. I exaggerated again that my photos will be worse off than the cheapest wedding photographer you can find.  She has been a close friends for years, I want to do everything I can to help her.  Their wedding is at 12:30pm coming Sunday, I have visited the venue last Sunday at 12:30pm to check traffic condition and also the lighting.  The setup is mainly outdoor (no church), the indoor area will not have a good ceiling for bounce. Being at the middle of the day, this can mean some tricky fill flash. I have jot down a list of must-have shots. I am also asking for the seating plan and the event run-down.  Gear:   Canon EOS 60D , EF-S 15-85mm f/3.5-5.6 IS USM Canon EOS 450D (or I can borrow a 550D), EF 50mm f/1.4 Speedlite 580 EXII Speedlite 270 EXII Yongnuo 460 (a cheap but powerful manual flash as backup) Samsung EX-1 f/1.8 point and shoot (backup of a backup...?)   Other lenses that I have but I don't think will be useful:   50mm f/1.8 EF-S 50-250mm f/4.0-5.6 IS II EF-S 18-135mm f/3.5-5.6 IS (I have the better 15-85 on 60D, should I put this on the 450D as a backup allrounder?) EF-S 60mm f/2.8 Macro (should I replace 50mm f/1.4 with this for added macro? You can hardly use f/1.4 under direct sunlight if you want to have fill-flash)   I have two batteries for all cameras (60D 450D and EX1). I have like in total 64GB SD card (I am really inclined to get more, or bring a laptop for on-the-fly backup, or do both). I recently repaired my 580EXII, it has a brand new flash head so the recycle time is as good as it can be, I just need a tonne of batteries. No I don't have external power pack or battery grip for my cameras.  I have a great monopod, but a cheap tripod.  I am happy to bring everything, just putting them in the boot of my car. The carpark is on-site, walking from venue to my car is under 1 minute.  I will have my girlfriend carry the 450D and shoot details / non-portraits.  One concern that I have is fill flash, I really do not have a large surface to bounce off  from. I have shot events before but they are not as dynamic/critical as a wedding.  How do I prepare for differing weather conditions?  If its sunny, fill flash is probably going to be in every single shot. If its cloudy, I probably will turn off the flash. If it rains, my 60D should be fine I have used it in slight rain before, but I really don't know their plan and if they have extendable shelters etc.  What else should I prepare for? Having no experience I want to be as prepared as I can be. Maybe I have overlooked something, maybe there is something else I can do to ensure the shooting will go smoothly. Your help is greatly appreciated! Escape a string for a sed replace pattern In my bash script I have an external (received from user) string, which I should use in sed pattern.  REPLACE="&lt;funny characters here&gt;" sed "s/KEYWORD/$REPLACE/g"   How can I escape the $REPLACE string so it would be safely accepted by sed as a literal replacement?  NOTE: The KEYWORD is a dumb substring with no matches etc. It is not supplied by user. I'd like to know if the following problem of elementary linear algebra is already solved / solvable.  For two (singular) $n\times n$ matrices $P$ and $Q$, if $\det(\lambda P+\mu Q)=0$ for any $\lambda,\mu\in\mathbb{R}$, what are conditions on $P$ and $Q$? Present Perfect vs. Present Perfect Continuous how are you?  Well, my biggest doubt at the moment is the difference between these two tenses. Actually, the more I study the more I have doubts with these tenses.      /         These similar threads helped me to clarify and reiterate my previous understanding.   I'm not posting in these threads because the site suggests avoiding asking for clarification (I don't know why because it would avoid new threads with the same content).  My main doubt is as follows:     I've lived in New York for two years.   In my understanding, the sentence above implies (1) that I lived in NY for two years and now I live in another place; or (2) I'm moving to another city after two years living in NY; or (3) I lived in NY for two years, then I moved to another place for some period and, finally, I'm returning. Is that correct?     I've been living in New York for two years.   Whereas the sentence above, in my understanding, implies that I lived in NY for two years and I still living there.  Anyway, many sources that I've already read say that these two sentences have the same meaning and are interchangeable. Therein lies my question. Is that correct? Because if these two sentences are interchangeable, it destroys all my understanding.  Thanks in advance. Consider this reverse biased diode :     I read that no or very small current flows in reverse biased diode as depletion layers get widened and huge resistance is offered so no electrons can cross it. But, why the electrons or holes need to cross the depletion layer? In the diagram above, the positive charges (holes) are moving towards left and the current due to electrons is also in left, so won't the circuit be completed? Why wasn't Poe told about Holdo's plan? How many combinations of groups are there where no member of a group has been with another member before? I found this hard to word in the title, so let me give an example. I have 16 students, and I want to split them up into 4 groups of 4. However, I want to make sure that every time I have a new combination of groups, that a student has never been with any of their new groupmates before. I found info on how to separate objects into groups, but not in only unique ways as I've described above. I think I figured this out the rote way, by assigning each student a number and then finding the unique combinations, and got 3. But I'd like to know the math behind it, and how it could be applied to other configurations (20 students w/ 4 groups of 5?). Thanks for any help you can give! On convergence of Bertrand series $\sum\limits_{n=2}^{\infty} \frac{1}{n^{\alpha}\ln^{\beta}(n)}$ where $\alpha, \beta \in \mathbb{R}$ Study the convergence of $$\sum_{n=2}^{\infty}  \frac{1}{n^{\alpha}\ln^{\beta}(n)}$$ where $\alpha, \beta \in  \mathbb{R}$   I have proved that:   This series diverges when $\alpha \leq 0$. This series converges when $\alpha &gt; 1, \beta &gt; 0$ This series diverges when $0 &lt; \alpha &lt; 1, \beta &gt; 0$ This series converges when $\alpha = 1, \beta &gt; 1$      Question: What happens when $\alpha &gt; 0$ and $ \beta &lt; 0$?   There are other questions on MSE which ask about this series, but this question is distinct because   I would like an argument which does not rely on the integral test for series convergence, and this question considers all real $\alpha$ and $\beta$, while other questions ask only about $\alpha, \beta &gt; 0$, where we can apply Cauchy condensation criterion Can I use Bluray as a boot cd? What is the percentage increase to any value when initial value is 0? This is a very simple maths problem, which doesn’t seems simple to me when I just put some extra thoughts on it. So need to borrow some extra brains for this.   Question: If cost of coffee in my office was Dollar 0 till yesterday and today it is Dollar 2.5 then what is the percentage increase in the cost of coffee?  Initially it seemed like 2.5% increase, simply by distributing number from 0 to 100, but this is not the case.   Some suggested it is infinitely more than the previous value, because we are calculating percentage by dividing by zero. But what about this if the cost of coffee was $0.25? Isn’t still infinitely more! Something is wrong here.   PS: Yes, coffee were free in our office but not anymore, and we are still recovering from this shocker. 😥 I use Lyx 2.1, document class : Report. My problem is that the titles of figures are written on the numbers at List of Figures. I want to encrypt a USB stick, and be able to decrypt it on Windows as well as Ubuntu. How do I do this &amp; what programs do I need to use? Minimize absolute values of errors instead of squares Number of automorphisms of a direct product of two cyclic $p$-groups Is it possible to check out subdirectories of a repository in Git?  Imagine I am setting up a new WordPress installation. I will create two new directories for my plugin and theme customization:   wordpress/wp-content/plugins/myplugins/  wordpress/wp-content/themes/mytheme/   I want to maintain these directories via Git. In Subversion, I would accomplish this by having trunk/myplugins/ and trunk/mytheme/ directories and checking out subdirectories. Does Git have a way to accomplish the same task using a single repository?  I could just be missing the boat on some Git paradigm, as a long time SVN user with little exposure to Git.  Edit:  storing different content is an interesting way to handle this.