Converting JavaFx project to .exe and .app in Netbeans
How can I convert my Java program to an .exe file?
Bash is not finding a program even though it's on my path I have a program on my path.  The program runs when executed with a full path specified.  But the program cannot be found when I run it with just its name.    Essentially, I want to understand how the below output is possible, and how to fix it so that my program can actually be found without a full path specified:  root:/usr/local/bin# ./siege **************************************************** siege: could not open /usr/local/bin/etc/siegerc run 'siege.config' to generate a new .siegerc file **************************************************** root:/usr/local/bin# echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games root:/usr/local/bin# siege bash: /usr/bin/siege: No such file or directory root:/usr/local/bin# wtf!?!?   I'm on Ubuntu 12.04 using bash.  Also please note the warning output from siege is not relevant for the purposes of this question, as I am only interested in whether or not the program can be found and invoked. How should tiny $p$-values be reported? (and why does R put a minimum on 2.22e-16?) For some tests in R, there is a lower limit on the  calculations of $2.22 \cdot 10^{-16}$. I'm not sure why it's this number, if there is a good reason for it or if it's just arbitrary. A lot of other stats packages just go to 0.0001, so this is a much higher level of precision. But I haven't seen too many papers reporting $p &lt; 2.22\cdot 10^{-16}$ or $p = 2.22\cdot 10^{-16}$.   Is it a common/best practice to report this computed value or is it more typical to report something else (like p &lt; 0.000000000000001)? I'm attempting to get a better understanding of cryptography and have run into some questions about bcrypt.   Bcrypt relies on the blowfish cipher, which is a reversible method of encryption. But bcrypt is not reversible. How is that possible? Or am I mistaken? What does bcrypt do on top of blowfish to make it irreversible? Why does bcrypt use blowfish instead of twofish or threefish? The youngest person on Earth in a society of immortals The protagonist is the youngest person on Earth -- the only one to be born in many centuries. Terrestrial society is small but every individual is unique and multitalented, as they are all immortal and have lived for centuries. They live in flying habitats.  No one knows how to raise children anymore; the protagonist wears diapers into adulthood because he was never potty-trained, and his education was haphazard. Consequently, he is quite lost in this advanced society, and only tolerated by the sophisticates around him.   When the Earth is invaded, the immortals put up only a show of a fight, arriving at the scene of battle in a colorful flotilla of unarmed flying habitats. To the horror of the protagonist, they are wiped out by the invaders. He realizes that the immortals were weary of life and welcomed this end.   This is probably a novel, though it might be a novella. It was written in English and I read it probably in the 1970s or 1980s. What is the difference between upstream and downstream when referring to who (or where) to go to as a developer or packager? Programmatically obtain the phone number of the Android phone Square root of an inverse gamma distributed random variable I work on the grouped t copula and try to replicate part of the following paper: &quot;The t copula with Multiple Parameters of Degrees of Freedom: Bivariate Characteristics and Application to Risk Management&quot;, Luo &amp; Shevchenko (2010). My Question: I need the distribution of the following random variable: $$ Y = \sqrt{\frac\nu X} $$ where X is Chi square distributed with v degrees of freedom. I found out that the following random variabe Z is inverse gamma distributed with alpha = v/2 and beta = v/2, $$ Z = {\frac\nu X} $$ So, basically I am looking for the distribution of the square root of an inverse gamma distributed random variable. Do you have any ideas? How is stock price determined? Is stock price determined only by the last trade that takes place?  For example, if a stock I own is trading at $3.42, and I place a Sell Limit order for $0.00, will the stock price temporarily dip to $0.00?  Likewise, if I place a Buy Limit order for $100.00 for a stock that is trading at $1.23, will the price spike to $100.00?  Is there some sort of "average price" that is reported on the stock ticker?  Thanks for your help in understanding this! How do I check if a list is empty? I have a question about MediaWiki formatting. Since this is similar to LaTeX questions, I figured it would have a nice, happy home on Stack Overflow. I'm not quite sure if it's programmer related enough though.  What does the community think? How to start Skype 4 with Ubuntu 12.10? I've installed Skype and it's running all OK but I want it to start automatically when I log with my user.  How can I do that? How do I invoke a private static method using reflection (Java)? just wondering if anyone has ever tried embedding and actually integrating any js engine into the .net environment. I could find and actually use (after a LOT of pain and effort, since it's pretty outdated and not quite finished) spidermonkey-dotnet project. Anyone with experience in this area? Engines like SquirrelFish, V8..   Not that I'm not satisfied with Mozilla's Spidermonkey (using it for Rails-like miniframework for custom components inside the core ASP.NET application), but I'd still love to explore a bit further with the options. The command-line solutions are not what I'd need, I cannot rely on anything else than CLR, I need to call methods from/to JavaScript/C# objects.  // c# class public class A {     public string Hello(string msg)     {         return msg + " whatewer";     } }  // js snippet var a = new A(); console.log(a.Hello('Call me')); // i have a console.log implemented, don't worry, it's not a client-side code :)   Just to clarify - I'm not trying to actually program the application itself in server-side javascript. It's used solely for writing custom user subapplications (can be seen as some sort of DSL). It's much easier (and safer) to allow normal people programming in js than C#. When I use the , do I choose the monster to distract (and then the next ally to attack gets advantage) or do I choose the ally and the monster (so that only his attack against that target gets advantage)? Or something else?  Help [...] Alternatively, you can aid a friendly creature in attacking a creature within 5 feet of you. You feint, distract the target, or in some other way team up to make your ally’s attack more effective. If your ally attacks the target before your next turn, the first attack roll is made with advantage. What happens with the force of gravity when the distance between two objects is 0? so I had my first approximation to the gravity equation  \begin{equation} F=GmM/r^2 \end{equation} and some questions arose that my teacher couldnt respond: if r approximates to 0 with mM being constant, then the force should tend to infinity, right? so that being true, then if we would travel to the center of the earth, we would be crushed by gravity? if so, how can there be anything right in the center of the earth? wouldnt anything there be compressed and destroyed by the infinite force?  having that in mind, my next question is as gravity force is measured from the center of an object, any part of the same object which is not at the center would be affected by the same object's gravity? if so, how can we differentiate between two objects that are not in a vacuum? my question originated thinking in us standing on the earth, in contact with it, are we, in a gravitational sense, one object? this lead to the last question, if gravity is a property of matter, then how applying the same logic as before, how does it work between two neutrons?(chose neutrons because i assumed it would be more difficult obtaining gravitational force if there was electrostatic forces from charges inbetween) do two newtrons in contact count as 1 gravitational object? and how thats its own gravity affect the newtron from center and out? I guess I can live with the fact that the  changes size drastically when he transforms, but why does his shirt rip off and not his pants?  I think that we need a little better answer than "it keeps us tied to the fact that inside he's still human". I'm playing around with height maps (bitmaps), trying to create some of my own in my game, and for that I need to implement some basic drawing methods. I've quickly realized that drawing straight lines isn't as basic as I thought.  It simple's if your points share an X or Y coordinate, or if they are aligned so you can draw a perfectly diagonal line. But in all other cases its trickier.  What algorithm do you use to determine what pixels need to be coloured for it to become a "straight" line ? Which version of NFS is my NFS server using? I'm mounting a NFS filesystem on my machine.  How do I figure out what version of the NFS protocol the server uses?  I don't have access to the NFS server machine, but I do have root on my client machine.  Is there anything I can run on my client machine to identify what version of the NFS protocol is being used by the server, or what versions it supports?  I wasn't able to find any useful information in /var/log/messages or kernel debugging output (dmesg).  I have tried running nfsstat, but I'm not sure if it is giving me any useful information.  However, when I run nfsstat -s to request information about the server, I don't see anything useful:  # nfsstat -s Server rpc stats: calls      badcalls   badfmt     badauth    badclnt 0          0          0          0          0          When I run nfsstat -c to request information about the client, I do see some information about Client nfs v3, but I'm not sure how to interpret this.  Does this tell me anything about the protocol being used between my client machine and the NFS server?  Does it mean I am currently using v3 of the NFS protocol?  Does it tell me anything about what versions of the NFS protocol the server supports, e.g., NFS v4? Probability of a painted cube being reassembled into itself Suppose 27 cubes are stacked together, suspended in the air, to form a larger cube.  The cube is then painted on all the exposed surfaces and dried.  The smaller cubes are then randomly permuted in both spatial position and spatial orientation to form another large cube.  What is the probability that new larger cube is identical to the original?  This is not homework, it was passed on by a friend who found it somewhere on the internet, and they do not remember where. Deleting my own question