Is this possible that new without bracket but delete with bracket in C++
How does delete[] know it's an array?
Is there a way to change the process group of a running process? Is there a way to change PID, PPID, SID of a running process? It would make sense for the answer to be no, but I'd like to make sure. How can I transform the elliptic curve $E/\mathbb{C}$ of the form $$y^2=4(x-e_1)(x-e_2)(x-e_3)$$ with $e_1&gt;e_2&gt;e_3\in\mathbb{R}$ roots of $E$ into a Weierstrass-Form $y^2=x^3+ax+b$? How to make child process die after parent exits? WordPress and Git Workflow I know this question has been asked a thousand times, but I'm really trying to work out how to get the best out of Git when working with WordPress.  I've scoured the web and read dozens of articles, all that seem to cover the topic briefly. Here's a few of the most notable one's I've read recently.        Currently, my workflow looks like this.   Install WordPress locally Develop Theme Export WordPress Databases from local server Import WordPress Database to remote server Upload WordPress files and theme via FTP Client makes changes Download WordPress files and theme via FTP and export WordPress Databases from remote server Replace files locally Make development changes Re-upload via FTP, export and import database to remote server   I realise Git can streamline this process. It seems the best way to do this is to have a .gitignore file that ignores certain directories that don't need to be tracked, as well as having both a local and remote wp-config.php file.  But how do you handle the databases? Clients will usually make changes (posts/pages/plugins). Do I still need to export from the remote database and import back on my local server?  Can someone suggest the best workflow for me here? And walk me through the steps.  Also, I'd probably like to use Bitbucket as private repos with them are free, unlike GitHub.  Any help would be appreciated.  Thanks in advance! How do I control Macbook volume when a DP display is connected? When I plug my Mac  into a DisplayPort monitor that has loudspeakers, the Mac's volume controls become disabled.    Is Apple assuming that if I have external speakers I am so much better using their own volume control that I have to be forced to do it?   That is annoying because the monitor's volume controls are buried in terrible menus accessed by terrible buttons on the back of the monitor.  Also, if I am inside an app where I can select the audio device and I select the Mac's internal speakers, the volume controls are STILL disabled.  Is there no way to control the volume of an app when an external speaker is connected even if the app is not using the external speaker?????  Some additional info: It's a Macbook Pro 13" 2018 version.  Using a Thunderbolt to Displayport cable, plugging in to a Dell monitor with speakers.    In another location I use the same cable to plug in to Dell monitors with Displayport but without built in speakers in the monitors.   At that location the volume controls remain active and they control the internal speaker in the laptop as they should. What's the action of banging two beers together called? When beers in cans or bottles are banged together in rejoice of the company you're with, what is the action called? How do you beta test an iphone app? How can you beta test an iPhone app?  I can get it on my own device, and anyone that gives me a device, I can run it on theirs, but is there a way to do a limited release via the app store for beta testing?  Related: Also, see  on getting your app onto phones without using the App Store. Is this valid for convergence? Does $\sum_{n=1}^{\infty} \sqrt[n]{3} - 1$ converge or diverge?   Hints please  I have that $0 \le \sqrt[n]{3}  - 1 \le 1$  Does this help? How to compute $$\sqrt{(1\sqrt{(2\sqrt{(3\dots)})})}$$ &amp; $$\sqrt{(1+\sqrt{(2+\sqrt{(3+\cdots)})})}$$?  I understand that  $$\sqrt{(1\sqrt{(2\sqrt{(3\dots)})})}=(1^{1/2})(2^{1/4})(3^{1/8})\cdots$$  and  $$\sqrt{(1+\sqrt{(2+\sqrt{(3+\cdots)})})}=(1+(2+(3+(\cdots))^{1/8})^{1/4})^{1/2} $$  How to Proceed further? Can US citizens go to Cuba freely and vice versa after the recent diplomatic relation restoration? A recent full diplomatic relation restoration between the US and Cuba took place, does that mean that US citizens can go to Cuba freely and vice versa? Getting Windows 7 admin account password? write data line by line on iphone Countability of disjoint intervals According this problem/solution set from an MIT class (http://ocw.mit.edu/courses/mathematics/18-100c-analysis-i-spring-2006/exams/exam1_sol.pdf), the assertion:  "Every collection of disjoint intervals in R is countable."  is True, because "every interval contains a rational number", and the rationals are countable.  It seems to me this should be False, with possible counterexample:  { [x,x] | x is an element of R}  ie the set of all singelton intervals on R. Why isn't this a valid counterexample? Use grep --exclude/--include syntax to not grep through certain files I'm looking for the string foo= in text files in a directory tree. It's on a common Linux machine, I have bash shell: grep -ircl &quot;foo=&quot; *  In the directories are also many binary files which match &quot;foo=&quot;. As these results are not relevant and slow down the search, I want grep to skip searching these files (mostly JPEG and PNG images). How would I do that? I know there are the --exclude=PATTERN and --include=PATTERN options, but what is the pattern format? The man page of grep says: --include=PATTERN     Recurse in directories only searching file matching PATTERN. --exclude=PATTERN     Recurse in directories skip file matching PATTERN.  Searching on grep include, grep include exclude, grep exclude and variants did not find anything relevant If there's a better way of grepping only in certain files, I'm all for it; moving the offending files is not an option. I can't search only certain directories (the directory structure is a big mess, with everything everywhere). Also, I can't install anything, so I have to do with common tools (like grep or the suggested find). Zero visitors? What happened to site analytics about a week ago? This is the views section of the site analytics visible to 25k users on one of my sites:    That's, uh, not correct.  Our site has had its usual activity level during this time.  I checked a couple other sites, and the pattern is consistent.  This looks like a problem in the analytics data that's coming in; did Google change their API?  Update: Same site a week later; note that in addition to the brief spike of accuracy, page views have dropped to (near-)zero for the whole period, unlike the earlier report.  (I know this question has been closed as a dupe, but I thought having the two screen shots together might help somebody.) Can someone confirm that its not possible to change the height of a dropdown that is shown when you click on a select box.   The size attribute of the select makes it look like a list, the height attribute in the CSS doesnt do much good either. No internet after upgrade to 17.10 It is quite easy to calculate the total number of functions from a set $X$ with $m$ elements to a set $Y$ with $n$ elements ($n^{m}$), and also the total number of injective functions ($n^{\underline{m}}$, denoting the falling factorial). But I am thinking about how to calculate the total number of surjective functions $f\colon X \twoheadrightarrow Y $.  The way I thought of doing this is as follows: firstly, since all $n$ elements of the codomain $Y$ need to be mapped to, you choose any $n$ elements from the $m$ elements of the set $X$ to be mapped one-to-one with the $n$ elements of $Y$. This results in $n!$ possible pairings. But the number of ways of choosing $n$ elements from $m$ elements is $\frac{m!}{(m-n)!\,n!}$, so the total number of ways of matching $n$ elements in $X$ to be one-to-one with the $n$ elements of $Y$ is $\frac{m!}{(m-n)!\,n!} \times n! = \frac{m!}{(m-n)!}$.  Now we have 'covered' the codomain $Y$ with $n$ elements from $X$, the remaining unpaired $m-n$ elements from $X$ can be mapped to any of the elements of $Y$, so there are $n^{m-n}$ ways of doing this. Therefore I think that the total number of surjective functions should be $\frac{m!}{(m-n)!} \, n^{m-n}$.  Is this anything like correct or have I made a major mistake here? Let $\pi : \widetilde{X} \longrightarrow X$ be the blow up morphism of $X$ a long of $Y \subset X$, with exceptional divisor $E$ and $\text{dim}Y &gt; 0$,   where $X$ and $Y$ are smooth projectives schemes.   For an answer to a question asked here in the forum (), Blowing up and direct image of line bundle), we have: $$\pi_{*}\mathcal{O}_{\widetilde{X}}(-E) = I_{Y/X} \tag{$**$}$$ here $I_{_{Y/X}}$ denotes the ideal sheaf of $Y$.  $(**)$ was obtained through the following exact sequence: $$0 \longrightarrow \mathcal{O}_{\widetilde{X}}(-E) \longrightarrow \mathcal{O}_{\widetilde{X}} \longrightarrow \mathcal{O}_{E} \longrightarrow  0$$  My doubt is: How to find $\pi_{*}\mathcal{O}_{\widetilde{X}}(-nE)$ for $n \geq 0$? What if $n &lt; 0 $?  Thank you. I want to produce four groups (high/high, high/low, low/high and low/low) using two continues variables and compare these groups in terms of a few dependent variables. I know that cluster analysis (k-means and hierarchical) is a type of 'end' analysis which is the main goal of the paper to reach such clusters and then discuss the nature of the clusters. However, I am willing to use this technique (k-means by using k=4) as a kind of preliminary analysis to produce the groups. I know that scatter plot and means splits are other alternatives but they have their own disadvantages that cluster analysis may resolve. What do you think?