JavaFx Calling another Method Instance from another controller
What is a NullPointerException, and how do I fix it?
Custom ordering of duplicate targets is not necessarily honored on mobile apps Black screen after suspend-after moving to the nvidia official drivers (not priority) So, when I used the priority drivers, the suspend worked normal. But the official drivers works better, so I installed the official driver. Then suspend won't work.  Should I change any text/documants to make it work? Any solution will be aprreciated, thanks you all! Oracle SQL Syntax: Quoted identifier How can I determine the current brew package count? I tried to get the number of available brew packages by running  brew search | wc -l   but I don't know how accurate this really is. What do I need to take into account to get a more correct number?  PS: macports lists 19,889 packages online Various \textcolor within lstlisting? Which "href" value should I use for JavaScript links, "#" or "javascript:void(0)"? The following are two methods of building a link that has the sole purpose of running JavaScript code. Which is better, in terms of functionality, page load speed, validation purposes, etc.?    function myJsFunc() {     alert("myJsFunc"); } &lt;a href="#" onclick="myJsFunc();"&gt;Run JavaScript Code&lt;/a&gt;     or    function myJsFunc() {     alert("myJsFunc"); }  &lt;a href="javascript:void(0)" onclick="myJsFunc();"&gt;Run JavaScript Code&lt;/a&gt; Exporting video to .mov in Blender 2.79 In the past, Blender (at least the Mac version) has had the ability to encode video files as .mov, the format used by Quicktime Player. However, with Blender 2.79 this feature seems to have vanished, for both the Internal and Cycles render engines. The release log happens to have the entry "Video encoding settings have been simplified, along with the addition of a Constant Rate Factor (CRF) mode" which I suppose could be the cause.  Does anyone know what happened—whether it is the aformentioned reason or something else—and how to export videos as Quicktime .mov in Blender 2.79? How do I programmatically log in a user with a POST request? Do anyone have a working REST Login on Drupal 8? This is what I tried. POST /user/login HTTP/1.1 Host: 8.d8.local Content-Type: application/x-www-form-urlencoded Accept-Encoding: http://nikhilmohan.in Cache-Control: no-cache  name=test&amp;pass=password&amp;form_id=user_login_form  It returns me HTML instead of JSON. Embed LaTeX math equations into Microsoft Word Let's say I have a (comparatively) lovely-looking document in LaTeX, full of lovingly typeset, (relatively) complex equations. Now, let's say some barbarians come along one day and decide that the document has to be put into Microsoft Word (2007). ...after the usual mourning period associated with such events, let's say I value my job (more specifically, the bread it provides) enough to get all the text and tables formatted and references organised into the Word document. –...related questions  and – Now I'm looking at the equations with fear and dread. One option of course is to just lift screenshots from the original document, but this is painstaking if I need to refer to parts of the equation in the text. Also, I might need to edit equations on the fly. Anyone know of a free application which allows embedding LaTeX math into MS Word? I've looked at  and  which do roughly what I want... they build LaTeX images from source and embed them into the Word document, allowing to edit the source later... but both are commerical. ...any help in these troubling times will be greatly appreciated. EDIT: Just a note that  offers a 30-day free trial and is working out really nicely... but still, it's not free. Might be a good solution for those with short-term needs, or money. tmux: enable mouse only when shift pressed What is the most elegant proof of the Pythagorean theorem? Enabling GPU rendering for Cycles? Suppose Alice chooses a random Prime $p$ and a random private Key $a \in \mathbb{Z}^*_p$. By accident, she also chooses a random number $g \in \mathbb{Z}^*_p$, which is not a generator of $\mathbb{Z}^*_p$ and therefore  $$\langle g\rangle \subset \mathbb{Z}^*_p$$  as opposed to $\langle g\rangle = \mathbb{Z}^*_p$, which would yield a valid key. Alice then computes $A \equiv g^a \pmod{p} $ and publishes the Tuple $(p,g,A)$ as her public key.  Bob now encrypts a message $M$ using Alices public key by computing  $$C_1 = g^b \pmod{p}$$ $$C_2 = M \cdot A^b \pmod{p}$$  Is it possible for an attacker (Eve) to distinguish a “real” ciphertext $(C_1,C_2)$ from a random ciphertext $(Z_1,Z_2) \stackrel{$}{\longleftarrow} \mathbb{Z}^*_p$ with significant advantage (say $Adv \geq \frac12$)?    Edit: I guess it should be enough to show, that the ciphertext cannot be random, if  $$\langle g \rangle \neq \langle C_1 \rangle \quad(\text{or $Z_1$, respectively})$$  But how can Eve check for this property efficiently? Can someone point me in the right direction here?    Edit: A real-world situation where this flaw occurred I am looking at the 4-vector treatment of special relativity, but I have had no formal training in Tensor algebra and thus am having difficulty understanding some of the concepts which appear.  One such concept is the notion of contra- and co-variant vectors.  describes a contra-variant vector as varying with the co-ordinates, i.e. the inverse of the reference axes. It gives the example of a change of basis matrix $\mathbf{M}$, and a contra-variant vector $\vec{v}$ and states that in the new set of co-ordinates, we have:  $$\vec{v}'=\mathbf{M}\vec{v}$$  It then states that a covariant vector varies with the co-ordinate axes.     Does this mean that for a covariant vector $\vec{u}$ and change of basis matrix $\mathbf{M}$ we have: $$\vec{u}'=\mathbf{M}^{-1}\vec{u}?$$   I am also having problems understanding the concept of raising and lowering indices. For instance, Wikipedia states that for two four-vectors $\vec{A},\vec{B}$ and using Einstein summation we have:  $$\left\langle \vec{A} \middle|\vec{B} \right\rangle=A^{\mu}B_{\mu}=A_{\nu}B^{\nu}$$  And I am having difficulty understanding how this relates to the other definition of the inner product:  $$\left\langle \vec{A} \middle|\vec{B} \right\rangle =\mathbf{A}^{T}\mathbf{\eta}\mathbf{B}$$  If anyone could help give me a more intuitive understanding of these concepts I would be grateful. Why can't humans throw objects at bullet speed when the force involved seems so small? The force that propels a bullet should at least be similar in intensity to the force experienced as recoil and the force exerted on the target. But these forces seem really low (the equivalent of a shove).  If all it takes to make a small object achieve bullet speed is the equivalent of a shove, why can't humans throw objects at these speeds? How to interpret the coefficients from a beta regression? I have some data that is bounded between 0 and 1. I have used the betareg package in R to fit a regression model with the bounded data as the dependent variable. My question is: how do I interpret the coefficients from the regression? What does `mv ./*` without specifying destination do? I accidentally forgot to specify destination before hitting the Return key. Where does mv ./* without specifying destination move the files and directories under current directory to? We have set up GA on several websites to gather information about traffic to the site. We know about the organic keywords that are displayed under the Acquisition section of the traffic report. But we have been asked to find a way to display "not provided" keywords typed in by the end user in our Google Analytics report.  Is it possible to accomplish this? How can I use function's parameter in it? What is the fastest, easiest tool or method to convert text files between character sets?  Specifically, I need to convert from UTF-8 to ISO-8859-15 and vice versa.  Everything goes: one-liners in your favorite scripting language, command-line tools or other utilities for OS, web sites, etc.  Best solutions so far:  On Linux/UNIX/OS X/cygwin:   Gnu  suggested by  is best used as a filter. It seems to be universally available. Example:  $ iconv -f UTF-8 -t ISO-8859-15 in.txt &gt; out.txt   As pointed out by , there is an . Gnu  () suggested by  will convert one or several files in-place. Example:  $ recode UTF8..ISO-8859-15 in.txt   This one uses shorter aliases:  $ recode utf8..l9 in.txt   Recode also supports surfaces which can be used to convert between different line ending types and encodings:  Convert newlines from LF (Unix) to CR-LF (DOS):  $ recode ../CR-LF in.txt   Base64 encode file:  $ recode ../Base64 in.txt   You can also combine them.  Convert a Base64 encoded UTF8 file with Unix line endings to Base64 encoded Latin 1 file with Dos line endings:  $ recode utf8/Base64..l1/CR-LF/Base64 file.txt    On Windows with  ():    PS C:\&gt; gc -en utf8 in.txt | Out-File -en ascii out.txt  (No ISO-8859-15 support though; it says that supported charsets are unicode, utf7, utf8, utf32, ascii, bigendianunicode, default, and oem.)   Edit  Do you mean iso-8859-1 support? Using "String" does this e.g. for vice versa  gc -en string in.txt | Out-File -en utf8 out.txt   Note: The possible enumeration values are "Unknown, String, Unicode, Byte, BigEndianUnicode, UTF8, UTF7, Ascii".   CsCvt -  is another great command line based conversion tool for Windows.