difference between System.exit(0) and System.exit(-1)
Difference in System. exit(0) , System.exit(-1), System.exit(1 ) in Java
We are using .Net to make web service calls the Salesforce API. Is there a way to know for sure that the calls are using TLS 1.2? Are there any API logs or records of the protocol is use in Salesforce we can review to be confident the change is working? Broken blog link on pages with lists of moderators The page  has a link like this:  which doesn't seem to exist anymore. This is the same on  And also on I'm using LyX and a custom class from  which is based on the  class.  I'm at another school and my advisor wants me to include titles of the readers on the signature page as well as a date line for each signator.  I've looked through some documentation on the thesis class and poked around in the .cls file in use but didn't come across anything obvious to change.  Perhaps this section would help though?  \newcommand*{\th@degreeyear}{\number\the\year} \newcommand*{\th@signature}[1]{ \begin{center}     \normalsize     \vspace*{16mm}  % works well?     \vrule width 80mm height 0.2mm\\     #1 \end{center} } \newcommand*{\th@dateline}{ \vspace*{9mm} \begin{flushright}     Date~{\vrule width 35mm height 0.2mm} \end{flushright}   How do I include this? How to specify font size less than 10pt (or more than 12pt)? I'm trying to make a document that has a very small font throughout, I tried this:  \documentclass[0.5mm, a4paper]{article} \documentclass[7pt, a4paper]{article}   But it doesn't seem that they allow me to go anything below 10pt.  This hack make it work, but not for the section headers:  \fontsize{4mm}{5mm}\selectfont   Does anyone know any better ways to do this? A pseudometric on the space of the measurable functions is complete No icons for automounted volumes on GNOME / Nautilius desktop on Ubuntu 19.04 Up to Ubuntu 18.04, using default GNOME/Nautilius desktop, when I inserted a (data file) USB stick it would automount and put a USB icon onto the desktop.  I find this very useful, especially for quick eject via context menu.  Now at 19.04, on USB insertion I do see a "banner" appear for a few seconds, but I no longer get any desktop icon .  I run under VirtualBox on Windows, but that has not changed and I do not think is at issue.  Ubuntu does still automount the stick at /media/&lt;username&gt;.  I found .  I checked in dconf-editor and both keys, including org.gnome.desktop.media-handling.automount-open, are set. Binomial confidence interval estimation - why is it not symmetric? I have used the following r code to estimate the confidence intervals of a binomial proportion because I understand that that substitutes for a "power calculation" when designing receiver operating characteristic curve designs looking at detection of diseases in a population.  n is 150, and the disease, we believe, is 25% prevalent in the population. I have calculated the values for 75% sensitivity and 90% specificity (because that's what people seem to do).      binom.test(c(29,9), p=0.75, alternative=c("t"), conf.level=0.95)      binom.test(c(100, 12), p=0.90, alternative=c("t"), conf.level=0.95)   I have also visited this site:    Which is a java page which calculates binomial confidence intervals, and it gives the same answer.  Anyway, after that lengthy set-up, I want to ask why the confidence intervals are not symmetric, e.g. sensitivity is      95 percent confidence interval:    0.5975876 0.8855583      sample estimate probability: 0.7631579    Sorry if this is a basic question, but everywhere I look seems to suggest that they will be symmetric, and a colleague of mine seems to think they will be too. Dirac Delta function inverse Fourier transform We know that the Fourier transform of the Dirac Delta function is defined as $$\int_{-\infty}^{\infty} \delta(t) e^{-i\omega t} dt = 1,$$  and if I were to reconstruct the function back in time domain, the inverse Fourier transform is defined as  $$\delta(t) = \frac{1}{2\pi}\int_{-\infty}^{\infty} e^{i\omega t} d\omega.$$  How do I compute this integral analytically? How to create two classes in C++ which use each other as data? User is suspended network-wide, except not really A user has been active on one of the sites recently, even though they're concurrent suspended network-wide on the rest of the network. How is this possible, and is it possible to evade a network suspension on only one site? I have this value    How to read that in English? translating from my native language, I would say     Ten base of nine.   but is that really correct? I just installed Ubuntu alongside to Windows 7, and now Windows 7 will not boot.  When the system starts, it shows me entry for Windows 7 in the boot menu, when I click on the Windows 7 option in the boot menu, after few seconds it will show me the boot menu again and Windows will not boot. It shows me no error message. Windows 7 option is available in the boot menu but it just does not boot.  Here are my boot info results   update - 30/01/2012 I tried windows recovery - fix startup issues - that showed no problems but issues were not resolved  Then I tried the widnows recovery console and run following commands  bootrec /fixboot bootrec/ fixmbr bootrec /RebuildBCD   But that does not help, Now neither ubuntu nor windows will boot. When I boot from windows CD it shows me a valid windows installation in c:\ drive.  update After a lot of help I got from #ubuntu channel and trying out different things, ultimately I can now boot both windows and ubuntu, still, the issue is not completely resolved though.  Here's what made it work  Boot using ubuntu live CD and then run the testdisk utility as steps mentioned  Restart system and I was able to see the boot menu and boot into Ubuntu, then put the following code in boot/grub/custom.cfg. Restart and now I can see one more entry to boot win7, clicking on it boots windows.  menuentry "Windows 7 (loader) with grub ntldr workaround" --class windows --class os   {     insmod part_msdos     insmod ntfs     set root='(hd0,msdos1)'     search --no-floppy --fs-uuid --set=root FAF0F57DF0F54085     ntldr /bootmgr }   It will make windows boot probably but now windows have a dependency on Ubuntu and I can not remove Ubuntu or else windows will stop working.  Credit goes to 'Jordan_U' on #ubuntu channel.   update Here are the win7 boot details I got from EasyBCD  Windows Boot Manager -------------------- identifier              {9dea862c-5cdd-4e70-acc1-f32b344d4795} device                  partition=C: path                    \bootmgr description             Windows Boot Manager locale                  en-US default                 {04fe8f95-4b17-11e1-a45c-909d3d25f938} displayorder            {04fe8f95-4b17-11e1-a45c-909d3d25f938} timeout                 30  Windows Boot Loader ------------------- identifier              {04fe8f95-4b17-11e1-a45c-909d3d25f938} device                  partition=C: path                    \Windows\system32\winload.exe description             Windows 7 Home Premium locale                  en-US osdevice                partition=C: systemroot              \Windows resumeobject            {8d25a443-4b0a-11e1-a835-806e6f6e6963}   Note Still, I am looking for how can I have everything clean and how can I boot windows without having a dependency on Ubuntu. so that if ever I have to remove ubuntu, windows will keep booting file without ubuntu. BootChamp no longer works on El Capitan, what's the fastest way to boot into Windows? Calculate the factorial of an arbitrarily large number, showing all the digits Windows 10 ver 1607: File Explorer long paths not working? I updated to the Windows 10 home anniversary edition version 1607 and set LongPathsEnabled to 1 with regedit.exe but the File Explorer doesn't seem to work with long paths still. If you select a long path file and try to rename it, no option will be available. I restarted the computer after making the changes and update.   Is there any way to enable renaming in the File Explorer in the new updated version? Did I miss a step somewhere? If $E$ has Lebesgue measure $0$, must there exist a translate such that $E\cap E+x=\varnothing$? If $y\in E\cap E+x$ then $y=h=h'+x \implies x=h-h'$ for $h,h'\in E$. Likewise, if $x=h-h'$, then $h\in E\cap E+x$. So that $E\cap E+x$ is non empty iff $x=h-h'$ where $h,h'\in E$. Thus, if there exists a real $x$ which cannot be expressed as above, the result is proven. The problem is I cannot prove that such an $x$ must exist. I have tried assuming that all real $x$ are of that form, but that gives me nothing except that $E$ must be uncountable and unbounded. Any hints? How do I get my Sony A7 II to avoid over-exposure and look more like my Canon camera? Hai.  I have a question, I switched from Canon to Sony a while ago and I found out that if I shot bright places, like the sky, the cloud that is supposed to be seen clearly, looks like a blown-out highlight (like real crazy), as you can see on my picture.  I have to set a low exposure just so the highlight is not blown out, and it’s only happening on Sony, not on Canon. On Canon the object is visible, but the background (cloud) is still seen all just fine.  Do you guys know what to change on the Sony to get that good look? Is it the setting or the lens? (BTW, I’m using a Sony 35mm f/1.8 lens.) I'm trying to find the name of a book I had as a kid back in the 80's/90's that was a collection of science fiction short stories and in particular one story in it.  The book: I remember the cover being mostly orange with the face of an alien taking up most of the cover. Scaly looking 'grey' style alien with hooded green eyes. They may have also been a 60's/70's style space ship in the background with a man and woman.  The story: Was set after all human life had ended in a great war and the story followed one of the many autonomous bombers still flying the skies carrying out their missions repeatedly bombing already leveled cities. At least that's how I remember it.  Any help/clues you can give would be much appreciated as I'd love to share these stories with my kid.  Some other stories it had, if any of these can be identified it might help me find the book:   Two guys talking in a room and one give the other a wooden carving of an apple and starts telling him the history of the object and how it's used to hypnotise people who hold it as they can't resist stroking it and it puts them in a catatonic state. A bunch of robots/machines wandering the post-apocalyptic country side, free of their duties to mankind. Their adventure comes to an end when they run into a hermit living in the country and their programming kicks in and they immediately become his servants. A story about first contact with an alien race, the aliens come to earth and land at the coordinates of an air-force base but upon arrival there is confusion as the humans cannot see the aliens and the aliens cannot see the humans. The aliens complain that they've been tricked and that their ship is sinking. The humans think this is strange until they realise the aliens are incredibly small and have landed in a puddle on the airfield. passive Vs active or omission of 'which is' What is the part of speech of 'regarded' in the following?     "a quality of beauty and intensity of emotion regarded as characteristic of poems"    Why isn't it "... [which is] regarded ..."?  And in another case:      "a small lizard with wide feet, found especially in warm countries"     And also:      "Words used to describe writing or speech style"    In all these examples, why shouldn't the verbs be in their passive form (e.g. which is found, words that are used)?   I am a ESL learner and I am very confused by these usages! Unable to install Ubuntu on Lenovo Y500