How can make my application open just once in c#?
What is the correct way to create a single-instance WPF application?
I mean to ask  that $7$ is an arithmetic  expression  but it can also  be  written  as $7x^0$.  which is a constant polynomial  expression.  Every polynomial  expression  is an algebraic  expression  so with  this logic is $7$ an algebraic  expression  or an arithmetic  expression.  Further $7=5+2$, is it an arithmetic  equation  or algebraic  equation  because  it can also be written  in  $7x^0 = 5x^0 + 2x^0$ form. please help.  Thank you. I used sculpting on a plane, and things looks great. However, when I press P to play, the whole ground become a mess. I can see through it in various places, and there are also nasty looking black edges everywhere.  another problem, I made a UV Sphere to display the sky, but when I press , P to play it disappears! Statistical significance (p-value) for comparing two classifiers with respect to (mean) ROC AUC, sensitivity and specificity I have a test set of 100 cases and two classifiers.  I generated predictions and computed ROC AUC, sensitivity and specificity for both classifiers.  Question 1: How can I compute p-value to check if one is significantly better than the other with respect to all scores (ROC AUC, sensitivity, specificity)?    Now, for the same test set of 100 cases, I have different and independent feature assignments for each case. This is because my features are fixed but subjective and provided by multiple (5) subjects.  So, I evaluated my two classifiers again for 5 "versions" of my test set and obtained 5 ROC AUCs, 5 sensitivities and 5 specificities for both classifiers. Then, I computed the mean of each performance measure for 5 subjects (mean ROC AUC, mean sensitivity and mean specificity) for both classifiers.  Question 2: How can I compute p-value to check if one is significantly better than the other with respect to mean scores (mean ROC AUC, mean sensitivity, mean specificity)?    Answers with some example python (preferably) or MatLab code are more than welcome. 'Sorry' as a replacement for 'Excuse me'? Is it ok to say 'sorry' where you otherwise would use 'excuse me'?  Example: "Sorry, but could you show me the way to the next train station?" Prove that $U_{pq}$ is not cyclic if $p$ and $q$ are distinct odd primes.   I am a self taught person. I just learned this and tried this on my own and came up with this.  $x \equiv 1 \pmod{p}$ and $x \equiv -1 \pmod{q}$ has a solution $[a]_{pq}$, since $p$ and $q$ are relatively prime. Because $q$ is an odd prime, $[-1]_{pq}$ is not a solution, so $[a]_{pq}\neq [-1]_{pq}$. But $a^2 \equiv 1 \pmod{p}$ and $a^2 \equiv 1 \pmod{q}$, so $a^2 \equiv 1\pmod{pq}$ since $p$ and $q$ are relatively prime, and thus $[a]_{pq}$ has order 2.  Can someone please tell me if this proof this correct? Please help with proof as I learned it just now as a self taught person. Convert audio stream to WAV byte array in Java without temp file How do I run a GUI app via SSH? Deferring updates in Windows 10 In Windows 10 version 1607, it was still possible to defer updates by a few months via the Local Group Policy Editor, but now there's a subfolder containing two entries where it's only possible to defer them by 30-60 days with a maximum of 365 days (timer has to be set anew every time).  Am I seeing this correct or am I missing something?  And what's the difference between feature and quality updates? execute command on a defined range of directories Is it possible to 'partition' a directory listing - say in to blocks of some number, to perform different actions on each 'range'?  For example, lets say I have the following directories inside another folder:  $ ls test abc/ def/ hij/ klm/ nop/ qrs/ tuv/ wxy/ zzz/   And I want to perform some action on the first 3 directories, another on the second 3, and so on.  My thought was that perhaps a loop across numbers would work, based on the output of something like ls | nl (but before anyone mentions it, I know parsing ls is a no-no!)  This obviously doesn't work, but illustrates my point I hope:  for dir in `ls | nl`;  do     do-something-with ${dir{1..3}} # Where $dir has taken on some numerical value linked to the folder)     do-something-with ${dir{4..6}}  # And so on...     do-something-with ${dir{n-3..n}}  done   The folders I intend to actually do this on, can be worked on in any order (i.e. the final splits can be totally arbitrary), but they have no logical naming consistency - by which I mean they can't be organised sensibly alphabetically or numerically based on any key within the directory name themselves. LyX - undefined control sequence but package seems to be added I am using LyX with MikTeX and I am trying to use the following command \oiiint but I am getting the following error:   \oiiint  The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined.   I have added \usepackage{mathdesign} to the preamble in:  Document -&gt; Settings -&gt; LaTeX Preamble  Why is this not working? Showing the inequality $|\alpha + \beta|^p \leq 2^{p-1}(|\alpha|^p + |\beta|^p)$ Wolfram alpha says there are no solutions. Is this because of the following?  $$\tan(z)=i \Rightarrow \frac{e^{iz}-e^{-iz}}{i(e^{iz}+e^{-iz})}=i \Rightarrow \frac{e^{iz}-e^{-iz}}{(e^{iz}+e^{-iz})}=-1$$ Let $x=e^{iz}$. Then,  $$\frac{x-1/x}{x+1/x}=-1 \Rightarrow x-1/x=-x-1/x \Rightarrow 2x=0$$  Then, $$x=e^{iz} \Rightarrow \ln(0)=iz$$ but $\ln(0)$ does not exist so we have no solutions? I have been texture painting in look dev mode. But when i try to render it, everything looks very dark. I have 3 sun lights in my scene, ambient turned on in Eevee settings. What am i missing? I really like the look of my scene in Look Dev mode, how can i achieve the same look when my scene is rendered too? What's the term in music, where the singer uses words without meaning? I've been searching for the word, which is used for describing parts of lyrics, where the singer sings for example the whole refrain only using words of syllables without any meaning. Maybe you could help? (here's one song with that type of refrain: ) How can I resize (not compress) multiple images in a MS Word document? In a blank document, I insert images (screenshots - all are of same size and same format) from a folder. I want to resize the images to a desired size. All now I am doing is selecting one image by one, setting its size. Word does not seem to have multiselect working for images.  Ideally, I want to select multiple images set its size in one go with out use of a macro. (PHP) Is handling a form submission on the same page more/less/equally good as handling on a separate page? I am using Ubuntu 12.04.  My /etc/network/interfaces file consists of:    # The loopback network interface   auto lo   iface lo inet loopback     # The primary network interface   auto eth0  iface eth0 inet static   address 192.168.1.58   gateway 192.168.1.1 network 192.168.1.0   broadcast 192.168.1.255 dns-nameservers 66.212.63.228 66.212.48.10     I ran the command: /etc/init.d/networking restart  Which responded with:   *Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces   *Reconfiguring network interfaces...   RTNETLINK answers: File exists   Failed to bring up eth0   [ OK ]     Next I ran ping google.com and received:    ping: unknown host google.com   I am not sure if my interfaces refreshed. How do I properly configure my network with my static DNS addresses? I'm writing a bash script that needs to delete old files.  It's currently implemented using :  find $LOCATION -name $REQUIRED_FILES -type f -mtime +1 -delete   This will delete of the files older than 1 day.  However, what if I need a finer resolution that 1 day, say like 6 hours old? Is there a nice clean way to do it, like there is using find and -mtime? In classical logic, why is $(p\Rightarrow q)$ True if $p$ is False and $q$ is True? Provided we have this truth table where "$p\implies q$" means "if $p$ then $q$":  $$\begin{array}{|c|c|c|} \hline p&amp;q&amp;p\implies q\\ \hline T&amp;T&amp;T\\ T&amp;F&amp;F\\ F&amp;T&amp;T\\ F&amp;F&amp;T\\\hline \end{array}$$  My understanding is that "$p\implies q$" means "when there is $p$, there is q". The second row in the truth table where $p$ is true and $q$ is false would then contradict "$p\implies q$" because there is no $q$ when $p$ is present.  Why then, does the third row of the truth table not contradict "$p\implies q$"? If $q$ is true when $p$ is false, then $p$ is not a condition of $q$.  I have not taken any logic class so please explain it in layman's terms.       Administrative note. You may experience being directed here even though your question was actually about line 4 of the truth table instead. In that case, see the companion question  And even if your original worry was about line 3, it might be useful to skim the other question anyway; many of the answers to either question attempt to explain both lines. Using ArcPy to get all database names within server? I am trying to populate a folder with ArcSDE database connection files for all the databases within a server instance.  I need to be able to do this for several of our servers.  Although I know within SQL Server how to get a list of DB names from the sys.databases table, using the arcpy function CreateDatabaseConnection I cannot specify "sys" or "master" to make the connection.  Therefore, I need to know the name of a database currently in the server.  I am not sure how to make the check without hard-coding a name.  import arcpy arcpy.env.overwriteOutput = True  #Input the location where the database connection files will be stored connectionLocation = "F:/FolderName"  #Get the list of servers arcpy.CreateDatabaseConnection_management(out_folder_path= arcpy.env.scratchFolder,out_name= "GIS_USERCONFIG" ,database_platform="SQL_SERVER",\                                           instance = "XXXXXXX" ,account_authentication="DATABASE_AUTH",username="user",password="password",\                                           save_user_pass="SAVE_USERNAME",database= "GIS_USERCONFIG",schema="#",version_type="TRANSACTIONAL",version="dbo.DEFAULT",date="#") sdeConn = arcpy.ArcSDESQLExecute(arcpy.env.scratchFolder + "/GIS_USERCONFIG.sde") serverListSQL = sdeConn.execute("Select name from userservers") serverList = [] for i in range(0,len(serverListSQL)):     serverList.append(serverListSQL[i][0])  #Make a folder for each server instance and build the connection files for all DBs in the server instance for server in serverList:     folder = connectionLocation + "/" + server     if arcpy.Exists(folder):         print server + " folder already created"     else:         try:             arcpy.CreateFolder_management(connectionLocation, server)             print "Created Folder " + server         except:             print "failed to create folder " + server      #     arcpy.CreateDatabaseConnection_management(out_folder_path= arcpy.env.scratchFolder,out_name= server ,database_platform="SQL_SERVER",\                                           instance = server ,account_authentication="OPERATING_SYSTEM_AUTH",\                                           database= "master",schema="#",version_type="TRANSACTIONAL",version="dbo.DEFAULT",date="#")     sdeConn = arcpy.ArcSDESQLExecute(arcpy.env.scratchFolder + "/" + server + ".sde")     dbListSQL = sdeConn.execute("Select name from sys.databases")     dbList = []     for i in range(0,len(serverListSQL)):         dbList.append(dbListSQL[i][0])     for db in dbList:         arcpy.CreateDatabaseConnection_management(out_folder_path= folder ,out_name= db,database_platform="SQL_SERVER",\                                           instance = server ,account_authentication="OPERATING_SYSTEM_AUTH",\                                           database= db,schema="#",version_type="TRANSACTIONAL",version="dbo.DEFAULT",date="#")   Basically my issue is with the 2nd call for the function "CreateDatabaseConnection_management" since it needs a database that exists in the database (and I could not use "master or sys").  If you open this as a tool in arcmap, the input is a drop-down box that populates choices based on the databases in the chosen server instance.  Is there a way to do this in the code?