Get name of executable jar from within main() method
How to get the path of a running JAR file?
How can I list the contents of a .zip folder in c#? In Harry Potter and the Cursed Child, why would anyone believe this rumor? From Harry Potter and the Cursed Child - Part I:     Scorpius Malfoy is talking with his best friend Albus Potter: SCORPIUS: So your dad thinks the rumors are true -- I am the son of Voldemort? ALBUS (nods): His department are currently investigating it. SCORPIUS: Good. Let them. Sometimes -- sometimes I find myself thinking -- maybe they're true too. ALBUS: No. They're not true. [...] Harry Potter and the Cursed Child, Part I - Act Two, Scene Sixteen, Hogwarts Library - Page 143 - Scholastic    Harry Potter and the Cursed Child picks up right at the point where Harry Potter and the Deathly Hallows leaves off, at the epilogue. It is nineteen years post-Hogwarts, and Scorpius Malfoy and Albus Potter are eleven-year-old first-years.   I'm about as good at math as J.K. Rowling (meaning I'm terrible at it!), so correct me if I'm wrong. Voldemort was killed at the Battle of Hogwarts in May of 1998. At least eight years post-Battle had to have passed before Albus and Scorpius were born (I'm estimating the boys were born in 2006). Voldemort would have had to have been alive in 2005/2006 in order to have ...      ... fathered Scorpius Malfoy.   As the wizarding world was fully aware of Voldemort's death in 1998, why would anyone even remotely believe that Voldemort is ...      ... Scorpius Malfoy's father?   I can understand the possibility of Harry believing the rumor because ...     ... his scar hurt, and his scar is Harry's connection to Voldemort.   But other than Harry, it doesn't make sense to me why anyone would believe such a ridiculous rumor. So, why? Sometimes we read books rather quickly and don't give them much (or any) thought, so the action 'reading' does not necessarily imply that we have given enough thoughts to any book we read.   Is there a word that describes reading a book with great care; usually but necessarily slowly over a long period of time. Why don't Stack Exchange sites use a rich text editor? Why does the Stack Exchange network of sites use Markdown instead of some other rich text editor like FCKEditor or TinyMCE? When selecting components, is there a way to control the "selection distance/area"? I don't want to select a component, even if I click ~20 pixels away from it.    Thanks in advance! Diamond is not shown for mod name under wiki posts If a diamond mod is an author of a wiki post then the diamond is not displayed besides the mod name. E.g. :        Even when the name refers to the user profile page (in case of more then one author) like in :        Is it intentional or a bug? How do I disable "Link Preview" in Chrome? If one were to take a similar path as  in shooting candid street photography today, should they be concerned about laws or other realistic norms of today? I am wondering specifically in the US speaking broadly of all states. I am not looking for legal advice, but anything that one photographer to another would caution against as potentially being grey or obviously illegal.  Similar previous question: A cashier wants to work five days a week, but he wants to have at least one of the Saturday and Sunday off.  In how many ways can he choose the days he will work?  So, in this case, what should I count first?  How do I start?  I know how to solve this if the cashier doesn't want a weekend off, but what do I do if the cashier do?  Thanks! Find all positive integers $a, b, c$ such that $1/a + 1/b + 1/c = 4/3999$ Find all positive integers $a, b, c$ such that $1/a + 1/b + 1/c = 4/3999$.  The contest is just ended, so you may freely answer. (I did not attend the contest: it is an Italian contest for schools and the groups may ask other people for hints. This is how I got involved, but of course asking on MSE would have been cheating)  I found three solutions: I am explaining below what I did. I would like however to know if there is a more general approach. Simplest or nicest proof that $1+x \le e^x$ Is const_cast safe? I can't find much information on const_cast.  The only info I could find (on Stack Overflow) is:     The const_cast&lt;&gt;() is used to add/remove const(ness) (or volatile-ness) of a variable.   This makes me nervous.  Could using a const_cast cause unexpected behavior?  If so, what?  Alternatively, when is it okay to use const_cast? Show that $x^4-10x^2+1$ is irreducible over $\mathbb{Q}$ Are all simple left modules over a simple left artinian ring isomorphic? Change the location of saved screenshot when screenshot taken by printscreen button in GNOME 3 I want to change the default location of "Save a screenshot to Pictures" to save it to Desktop.   If that is not possible, is there any other way to do it? I am using Ubuntu GNOME 17.04.  NOTE: I don't want to change the location with dconf-editor as it changes the location of screenshot applet and not of the shortcut I require. Help with table multicolumn Get the title instead of the number of a referenced chapter/section? Reading the extension of files in a directory with Java? How to find distance from the latitude and longitude of two locations? Prove that for each $n$, there exist $n$ consecutive integers, each of which is divisible by a perfect square larger than $1$.