How to parse an object from java to jsf, and reverse?
What is a NullPointerException, and how do I fix it?
Let's consider it case by case:  Case 1: Charged particle is at rest. It has an electric field around it. No problem. That is its property.  Case 2: Charged particle started moving (it's accelerating). We were told that it starts radiating EM radiation. Why? What happened to it? What made it do this?  Follow up question: Suppose a charged particle is placed in uniform electric field. It accelerates because of electric force it experiences. Then work done by the electric field should not be equal to change in its kinetic energy, right? It should be equal to change in K.E + energy it has radiated in the form of EM Waves. But then, why don't we take energy radiated into consideration when solving problems? (I'm tutoring grade 12 students. I never encountered a problem in which energy radiated is considered.) Give an example of a sequence of real numbers with subsequences converging to every real number How do I start applications automatically on login? How can I make an application automatically start when I have logged in? Why and how do "bigger pixels" make a better picture? This is going off of today's iPhone 5S announcement, when Phil Schiller said that "bigger pixels" is the key to a better picture.      What does this mean? Is it true or just a marketing ploy? Is it possible to run three versions of Google Chrome? How might I run 3+ versions of google chrome so I can log into to 3 different google accounts.  More specifically I am looking to have separate icons in the dock for the 3 separate running applications.  How might I run duplicate and or copy versions of the same application.  The following  by Mark works for a lot of applications but not for Google Chrome.  It appears the following might work . Restore default apt repositories in sources.list from command line I am looking for the best method to restore /etc/apt/sources.list to default from the command line.  Is there no way to reference the source code of the package which generates this file or something like that? I want a trusted and version-independent way of restoring this file.  Solutions Ruled Out  Before you mark this as a duplicate, note that I have reviewed  already. It is only applicable if you have the Ubuntu GUI available. This question is specific to the command line.  I have also reviewed  where the accepted solution is someone pasted the contents of their sources.list file. This is not an appropriate way to restore the file as the intentions of the person providing the file contents cannot be verified and the file is subject to change with new releases.  I checked out the , but this is also not from Ubuntu so I do not plan to use it. I seem to have screwed up something that allows you to inset evenly, I think I have tried every combination of settings in inset and pivot center and even is far from even.  I tried uninstalling and re installing blender 2.71 and get the same result.  The image attached is a simple default cube that I tried to inset evenly.  I have also attached the blend file link  help?? What's an idiom for doing something in an unnecessarily complicated way? For an example, I'll quote C.S. Lewis' The Voyage of the Dawn Treader:     One day the cat got into the dairy and twenty of them were at work moving all the milk out; no one thought of moving the cat.   Is there an idiom for this type of situation? How do I boot into single-user mode from GRUB? Installing titling.sty onto an offline Windows machine I'm trying to compile a file for which I need titling.sty:  ! LaTeX Error: File `titling.sty` not found.  The two biggest issues are 1) it's on a Windows machine (I'm really only &quot;comfortable&quot; with the Unix command line) and 2) the machine cannot be connected to the internet (so automatic approaches are impossible). Assuming the error means I'm missing a package and following some related advice (e.g., ), I downloaded the file , transferred it to the offline machine, and unzipped it, then tried to run: latex titling.ins  But this gave me an error (given I can't copy-paste, I'm including what I think may be relevant):  ******************************************************** * No Configuration file found, using default settings. * ******************************************************** ! ************************************************** * Could not find your \batchfile=titling.ins. **************************************************. \processbatchFile ...****************************}                                                  \fi \else \ifDefault \Msg ... 1.1092 \process@first@batchfile  I have no idea how to proceed from this. How can I install titling.sty on this machine? Can you use a readied action to teleport out of the way of a weapon attack? Let's say that a player uses the ready action and says "If a character aims at me with a weapon, I'll use Teleport to move behind cover."  What happens? Does this work? If not, please cite the rules to explain why not. How can I write % into a file? How can I write % into an auxiliary file? % will not work, because LaTeX thinks that I start a comment with it (in the main file, not in the auxiliary file!), and \% will write \% into the file. How can it be accomplished?   \documentclass{article} \begin{document} \newwrite\outfile \immediate\openout\outfile=example.dat \immediate\write\outfile{%}% will not work, of course, but neither \% \immediate\closeout\outfile \end{document} Razr Maxx HD, How to wipe data with broken screen My screen is totally destroyed, it's black and unresponsive. The phone turns on just fine, though. I just got my new phone and I have to send this one back now.  I want to wipe the phone before I send it back, but I'm not sure how. I don't care too much about sending back a rooted phone, it seems Asurion doesn't really care about that from what I've read, but I don't want my personal data on the phone when I send it in.  What are my options to wipe the phone without a screen? I've already read a lot of threads on other forums and here on the subject, but everyone seems to say to wipe through ADB shell. Well, I can see the phone in ADB, but I am unable to enter SU through ADB shell. I assume it's because the screen is locked, and I have no way to unlock it. Others have also said to wipe through fastboot in ADB, but I am seeing conflicting recommendations and I'm not sure how to proceed. I'm not that proficient with ABD, so I want to make sure I don't mess this up.  Any advice would be greatly appreciated. HTTP GET request in JavaScript? I am not a native speaker. On a previous question of mine, I thanked for an answer by saying:     So the phrase is not an idiom, since it is applied in its literal sense.   I consciously chose since over because, because — well, I like that usage of since, even though I know that some (native speakers) don't like it. Nonetheless, that choice got me thinking for a while, and it occurred to me that I even could have used more alternatives, namely as or for, without changing the meaning.   So, on a general note, here are the alternatives:        Statement A (is true), because statement B (is true).   Statement A (is true), since statement B (is true).   Statement A (is true), as statement B (is true).   Statement A (is true), for statement B (is true).      Are these completely interchangeable? Or interchangeable in certain situations? Or can you point out any (not-so-)subtle differences between any of them? Are there even more synonyms? Quantify Difference/Distance between Lognormal distributions I am trying to determine a metric that quantifies the distance between two continuous lognormal distributions. The data is actually a mixture of two lognormal distributions (I am not sure if this can be called bimodal). The individual distributions have different means but the same standard deviations. I have 20 data sets that can be divided into 4 groups, with each group having a constant standard deviation, but the 5 data sets in each group are made up of two distributions with different means. Some examples:      I am in search of a metric that accounts for the contrast (difference in means) and the standard deviation. I have tried out some parameters like coefficient of variation (of the mixture), Ashman's D etc. I have also tried percentage of overlap. However the problem always is that, at the end when plotted against the results I end up with 4 trend-lines again, corresponding to the 4 different standard deviations. Is there some other way I can quantify this?  Just to make myself clear, I want to quantify the difference between two distributions in a single case (between the red and green PDFs in the above image). Justify text in moderncv cover letter I am writing a cover letter and CV using moderncv. Everything works fine so far, but the text in the cover letter is not justified. I think it is good that it is not hyphenated, but it would look much nicer if the text was justified.  Here is a minimal example:  \documentclass{moderncv} \moderncvstyle{classic}  \usepackage{lipsum} % just for dummy text  \firstname{John} \familyname{Doe}  \begin{document} \recipient{Prof.\ Dr.\ Foo Bar}{} \opening{Dear Professor Dr.\ Bar,} \closing{Yours sincerely,} \enclosure[Attached]{curriculum vit\ae}  \makelettertitle \lipsum[1] \makeletterclosing  \clearpage  \makecvtitle  \section{Education} \cventry{2009--present}{PhD Student}{here}{and}{there}{} \end{document} Changing isometric drawing's constraint angles in Illustrator I have to prove the  by tomorrow and I am really unconfident about what I did:  $$\sum_{n=1}^\infty a_n\text{ converges } \iff \sum_{n=1}^\infty 2^n a_{2^n}\text{ converges}$$  I did the following:  Let $(b_n)$ be a sequence as follow: $b_{2^k+m}:=a_{2^k}$ with $k\in\mathbb N_0$ and $0\leq m&lt;2^k$.  It's $a_{n+1}\leq a_n$ and so $0\leq a_{n+p}\leq a_n$ for all $n,p\in\mathbb N$.  So $\sum\limits_{n=1}^\infty b_n$ converges by the majorizing series $\sum\limits_{n=1}^\infty a_n$. And it's $\sum\limits_{n=0}^\infty b_n=\sum\limits_{n=0}^\infty\sum\limits_{m=0}^{2^n-1}a_{2^{n+1}}=\sum\limits_{n=1}^\infty 2^{n-1}a_{2^n}$ so $\Rightarrow$ is done.  For $\Leftarrow$ consider $c_{2^k+m}:=a_{2^k}$ with $k\in\mathbb N_0$ and $0\leq m&lt;2^k$.  It's $|a_n|\leq c_n$ and $\sum\limits_{n=0}^\infty c_n=\sum\limits_{n=0}^\infty\sum\limits_{m=0}^{2^n-1}a_{2^{n}}=\sum\limits_{n=1}^\infty 2^{n}a_{2^n}$ and so $\sum\limits_{n=1}^\infty a_n$ converges by the majorizing series $\sum\limits_{n=0}^\infty c_n$.  Is this in form and content correct? Is an expanding map on a compact metric space continuous? I got inspired by this question  to think about the following problem: Suppose you have a compact metric space $(X,d)$ and an expanding map $T:X\rightarrow X$, i.e. $d(Tx,Ty)\geq d(x,y)$ for every $x,y\in X$. Is the map $T$ then continuous? Without assuming continuity we already know that $T^n(X)$ must be dense in $X$ for any $n\geq 1$, since given $z\in X$ the orbit of $z$ must accumulate upon $z$. But showing continuity has escaped me so far. If there are counter-examples using the Axiom of Choice that also interests me.