C++ construct object at pointed location
What uses are there for "placement new"?
Tensor product vs. Cartesian Product for composite quantum systems I really miss the graphical "Services" tool from older versions of Ubuntu, but I understand why it had to go. I always have terminals open anyway, so I use (because I have to now, I guess) service --status-all to see what services are running. This would be ok except that the command produces output like the following:   [ + ]  winbind  [ ? ]  wpa-ifupdown  [ - ]  x11-common   I'm guessing that those symbols mean something like listening, blocked, or stopped, but which is which? More importantly, why doesn't the man page say? I made something like this:    I did this with the Ellipse Tool and the Line Tool.  Now the circle is accurate, but the lines inside are very inaccurate. Is there another tool that does the same thing but with a lot more accuracy? How to install Android Studio on Ubuntu? Please tell me the full process of installing Android Studio and its necessary dependencies. Find all integral solutions of $ x^4 + y^4 + z^4 -w^4 = 1995 $ Random piece of plastic I want to limit some users daily computer usage on the family PC. Currently we only have one user account set up on it, but I could create new ones. So Is there a way to set daily time limits for user on a windows 7 PC? Ideally I would like to set up it up for 2 hours on weekdays and 3 hours on weekends. How do I prevent new villager trades from spawning? When making a custom adventure map, usually you only want the trades you programmed into a villager to show up. By default, however, the game will try to spawn new trades when the last one is made. The classic way I'm seeing in tutorials to prevent new trades is to make the last trade untradeable; however, with the release of 1.7, a lot of the old item IDs that were unobtainable have been removed from the game altogether, and following the tutorial I have crashes the game when the trade interface is scrolled to the last trade.   So there's two parts to this question:   Is there a better way to prevent new trades with the 1.7 mechanics? Or with the snapshots of 1.8 mechanics? If not, what is a safe data ID to use to prevent the last trade from being a real trade as of 1.7? Why is Array.Length an int, and not a uint. This bothers me (just a bit) because a length value can never be negative.   This also forced me to use an int for a length-property on my own class, because when you  specify an int-value, this needs to be cast explicitly...  So the ultimate question is: is there any use for an unsigned int (uint)? Even Microsoft seems not to use them. Embedded quotes in arcpy.CalculateField_management expression I'm using arcpy.CalculateField_management to populate a field.  The expression:  "'https://anystate.gov/someportal/DisplayQueryResults.aspx?Prompts=Spill%20Number="!ID!"&amp;Database=OfficeDocs&amp;Query=DEP_Spill_Projects&amp;QuerySet=Portal_Queries&amp;User=Portal.DEP&amp;Password=DEPPortal1'"   will work when entered into the Calculate Field Tool.  The url is completed by pulling in values from the ID field.  However, the Python code snippet pasted into my script results in a syntax error. It's worth noting the expression is bounded by """"'....'"""" (4 double quotes outside a single quote.  I tried Midavalo's suggestion a couple of different ways. First attempt set  expression = 'https://anystate.gov/someserver/…{0}&amp;Database=OfficeDocs&amp;Query=DEP_Sp‌​ill_Projects&amp;QuerySe‌​t=Portal_Queries&amp;Use‌​r=Portal.DEP&amp;Passwor‌​d=DEPPortal1'.format‌​(!ID!)   Resulting in invalid syntax  Based on the Python link, the second try included single quotes:   'https://....'.format('!ID!')    But the result was a syntax error How do I use F3 to get my coordinates when my laptop makes F3 a special key? I can't get the coordinates on my computer because it keeps changing the brightness.  I have a windows 8 Samsung, and I'm playing Minecraft version 1.6.4. How to send mail from the command line? How to send mail from the command line? How to retrieve a module's path? Difference between get "off of" and "off" During Winter Bash, users can earn hats. But sometimes it seems that a hat was awarded even though its requirements weren't (yet) met, or vice versa.  What could be the reason for this? How can I re-enter the US after time in Canada on the VWP? I am an Australian citizen, currently studying in Canada.   I entered the United States In July 22nd for 3 days, where I stayed in Seattle before leaving to return to Vancouver. I then again entered the states on 11th of October and returned on the 18th of October.  On October 19th my original and first Electronic System for Travel Authorization (ESTA), expired. I was under the impression that if I was to travel into the United States again I would have to apply for another ESTA and start the 90 days again, which I was planning on around December the 10th. In addition to this I am flying into Los Angeles on the 17th of December 2014 (where I plan to travel around the USA until flying out of Los Angeles again on 18th of January back to Australia).  However, after speaking to friends and looking at the website I have become confused on what my next course of action should be.  I am told that I cannot apply for another ESTA and be granted another 90 days visit into the USA, whilst I am in Canada and thus not be able to take any of my flights.  What would be the most appropriate action so that I can take my flights leaving North America and also travel the United States? How to understand degrees of freedom? Properties of $x_k=\frac{a_{k+1}-a_{k}}{a_{k+1}}$ where $\{a_n\}$ is unbounded, strictly increasing sequence of positive reals Let $\{a_n\}$ be an unbounded, strictly increasing sequence of positive real numbers and let $x_k=\frac{a_{k+1}-a_{k}}{a_{k+1}}$. Which of the following statements is/are correct? (CSIR NET December 2014)         For all $n\geq m, \sum\limits^{n}_{k=m}x_k&gt;1-\bf{\frac{a_m}{a_n}}$   There exist $n\geq m, \sum\limits^{n}_{k=m}x_k&gt;\frac{1}{2}$      My attempt:  Analysing question in light of $a_k=k\implies x_k=\frac{k+1-k}{k+1}=\frac1{k+1}$, I feel both are correct, I doubt if  I can generalise the result in light of this one example.   Any way to prove that this true for general case?    Note: Please do not confuse  with my question. The first two options are different, I've marked the difference in bold. How to start X windows inside "Bash on Ubuntu on Windows" After installing the new feature (still "Beta") called  that is a feature subset of Windows 10 Anniversary edition, I get the following message when trying to start X-Windows using startx :    What do I need to tweak / configure in order for X-Windows to launch?  I noticed that xauth was already installed, however I had to install the rest of the framework as follows :  apt-get install xorg openbox How to install and run CPUSim 4.0.11 on Ubuntu 18.04 LTS? I'm going according to the steps mentioned on the cs colby .  First, I installed java on my system by typing the following commands-  sudo add-apt-repository ppa:linuxuprising/java sudo apt-get update sudo apt-get install oracle-java10-set-default sudo apt install oracle-java10-set-default     Then, according to the instructions, I downloaded the .zip file, extracted it and then in the terminal typed   java -cp .:richtextfx-fat-0.6.10.jar:reactfx-2.0-MR.jar -jar CPUSim-4.0.11.jar   But this didn't work.  of command 1 terminal.  Here is a screenshot of all the files that are there in the CPUSim folder,   On observing the names of the folders present, I thought that the previous command was wrong. So I tried the following ones,  java -cp .:richtextfx-fat-0.6.10.jar:reactfx-2.0-M4.jar -jar CPUSim-4.0.11.jar java -cp .:richtextfx-0.6.10.jar:reactfx-2.0-M4.jar -jar CPUSim-4.0.11.jar   But none of them seems to work. Now when I click on the CPUSim-4.0.11.jar file, nothing happens. I have just switched to Ubuntu from Windows 10, and have a very little knowledge about how things work here. Please tell me how I could install and run CPUSim 4.0.11 on Ubuntu 18.04 LTS.