How do I join two separate objects so I can edit them as one mesh?
How do I join several objects into one?
How can one differentiate between Dr. (PhD) and Dr. (MD or DO)? Why is Tony Stark in the Iron Man suit unaffected by G-forces, inertia and blunt force trauma? Tony's suit is an engineering marvel, and they explain many facets of the technology to help give legitimacy to the special powers, abilities and weapons it has.  I never read the Iron Man comics, but in the movie they really don't have a technological explanation for how he miraculously seems to be unaffected by crushing G-forces of sudden acceleration, the inertia of sudden stops and hair-pin turns, and especially the blunt force trauma from getting smashed in the face with Thor's hammer.  Certainly it appears the suit takes punishment, but Tony always remains unscatched, never a collapsed lung, broken bone or even a bloody nose.  In my infantile understanding of theoretical physics, the same technology that would be used to counter G-forces and sudden blunt force trauma to the body inside would be the very same technology used for  which in my honest opinion would be a much more stunning technological achievement than his heralded Arc Reactor.  Was their ever an explanation proferred for this and if so was it indeed attributed to Anti-Gravity? I have a problem. I have several large equations within the text. And when LaTeX does not manage to put the equation on the same page and moves it to the next one, he spreads the paragraphs of the text in the first page. How could I prevent this? I know about \pagebreak and \newpage, but I do not want to force the \newpage, as the text may move (if I add something later or so on) and the pagebreaks may not be valid. I would like to make LaTeX not to spread the paragraphs over a page automatically. Is it possible?  I tried to make an example:  \documentclass[a4paper,12pt,twoside]{book} \usepackage{amsmath} \begin{document}  LaLaLa\\\  LaLaLa\\\  LaLaLa\\\  LaLaLa\\\  \begin{eqnarray} 123&amp;+&amp;123 \\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ \end{eqnarray}  LaLaLa\\\  LaLaLa\\\  \begin{eqnarray} 123&amp;+&amp;123 \\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ \end{eqnarray}  \end{document} Is the following layout possible with the subfigure package? var functionName = function() {} vs function functionName() {} I've recently started maintaining someone else's JavaScript code. I'm fixing bugs, adding features and also trying to tidy up the code and make it more consistent.  The previous developer used two ways of declaring functions and I can't work out if there is a reason behind it or not.  The two ways are:  var functionOne = function() {     // Some code };     function functionTwo() {     // Some code }   What are the reasons for using these two different methods and what are the pros and cons of each? Is there anything that can be done with one method that can't be done with the other? Did Darth Sidious and Vader ever discover how to cheat death? In Episode 3 Revenge of the Sith Palpatine/Sidious strings Anakin along to the dark side with the promise that together the two of them will be able to re-discover Darth Plagueis' secret to cheating death.      "To cheat death is a power only one has achieved, but if we work together, I know we can discover the secret."   From the end of Revenge of the Sith to their deaths in Return of the Jedi did Darth Sidious and Darth Vader ever manage to re-discover this secret? What does this symbol mean? (looks like a 1 with double vertical line) I'm studying a course on probability and statistics and at some point this symbol comes up without introduction. It looks like the number one, but slightly bigger and with a double vertical line.  First time it comes up is when discussing stochastic/random variables that are neither continuous nor discreet in an example:   And somewhat later in a proof:    Anyone got an idea what this symbol represents?  EDIT: Thanks for the fast answers, I was still editing the question for better (larger) images :) Installing Teamspeak and creating TeamSpeak3 .desktop file I am very new to Ubuntu and I want to create desktop launcher.  I have this in my TeamSpeak3.desktop in   [Desktop Entry] Name=TeamSpeak 3 Comment=TeamSpeak 3 VoIP Communicator Exec=/opt/TeamSpeak3-Client-linux_amd64/ts3client_runscript.sh Terminal=false Type=Application Categories=Network;Application; Icon=/opt/TeamSpeak3-Client-linux_amd64/styles/default/logo-128x128.png   in my ~/.local/share/applications/TeamSpeak3.desktop But I dont see it in my launcher and when I double click on it files, it just opens the text file. I even made it executable with     chmod +x TeamSpeak3.desktop  drwx------ 15 hung hung     4096 srp 16 12:29 . drwxr-xr-x  3 root root     4096 pro  9 19:22 .. -rw-------  1 hung hung   174627 srp 16 12:29 CHANGELOG -rwx------  1 hung hung   227136 srp 16 12:29 error_report drwx------  2 hung hung     4096 srp 16 12:29 gfx drwx------  3 hung hung     4096 srp 16 12:29 html drwx------  2 hung hung     4096 srp 16 12:29 iconengines drwx------  2 hung hung     4096 srp 16 12:29 imageformats -rwx------  1 hung hung   334520 srp 16 12:29 libc++abi.so.1 -rwx------  1 hung hung  1934744 srp 16 12:29 libcrypto.so.1.0.0 -rwx------  1 hung hung   746960 srp 16 12:29 libc++.so.1 -rwx------  1 hung hung  5842312 srp 16 12:29 libQt5Core.so.5 -rwx------  1 hung hung   484832 srp 16 12:29 libQt5DBus.so.5 -rwx------  1 hung hung  5683224 srp 16 12:29 libQt5Gui.so.5 -rwx------  1 hung hung  1335584 srp 16 12:29 libQt5Network.so.5 -rwx------  1 hung hung   290008 srp 16 12:29 libQt5Positioning.so.5 -rwx------  1 hung hung  3829280 srp 16 12:29 libQt5Qml.so.5 -rwx------  1 hung hung  3831288 srp 16 12:29 libQt5Quick.so.5 -rwx------  1 hung hung   234552 srp 16 12:29 libQt5Sql.so.5 -rwx------  1 hung hung   331232 srp 16 12:29 libQt5Svg.so.5 -rwx------  1 hung hung   117104 srp 16 12:29 libQt5WebChannel.so.5 -rwx------  1 hung hung 67570152 srp 16 12:29 libQt5WebEngineCore.so.5 -rwx------  1 hung hung   208344 srp 16 12:29 libQt5WebEngineWidgets.so.5 -rwx------  1 hung hung  6439120 srp 16 12:29 libQt5Widgets.so.5 -rwx------  1 hung hung  1334528 srp 16 12:29 libQt5XcbQpa.so.5 -rwx------  1 hung hung   180248 srp 16 12:29 libquazip.so -rwx------  1 hung hung    22936 srp 16 12:29 libsnappy.so.1 -rwx------  1 hung hung   111888 srp 16 12:29 libsrtp.so.0 -rwx------  1 hung hung   383072 srp 16 12:29 libssl.so.1.0.0 -rwx------  1 hung hung    51080 srp 16 12:29 libudev.so.0 -rw-------  1 hung hung     4340 srp 16 12:29 openglblacklist.json -rwx------  1 hung hung   260232 srp 16 12:29 package_inst drwx------  2 hung hung     4096 srp 16 12:29 platforms -rw-------  1 hung hung       26 srp 16 12:29 qt.conf drwx------  2 hung hung     4096 srp 16 12:29 qtwebengine_locales -rwx------  1 hung hung    19720 srp 16 12:29 QtWebEngineProcess drwx------  2 hung hung     4096 srp 16 12:29 resources drwx------  6 hung hung     4096 srp 16 12:29 sound drwx------  2 hung hung     4096 srp 16 12:29 soundbackends drwx------  2 hung hung     4096 srp 16 12:29 sqldrivers drwx------  3 hung hung     4096 srp 16 12:29 styles drwx------  2 hung hung     4096 srp 16 12:29 translations -rwx------  1 hung hung 18987008 srp 16 12:29 ts3client_linux_amd64 -rwx------  1 hung hung     1364 srp 16 12:29 ts3client_runscript.sh -rwx------  1 hung hung  2206064 srp 16 12:29 update drwx------  2 hung hung     4096 srp 16 12:29 xcbglintegrations The selected task "{0}" no longer exists. To see the current tasks, click Refresh When I start my task scheduler on Windows 7 I get a dialog with the following error:     The selected task "{0}" no longer exists.  To see the current tasks,   click Refresh     Also there's a UUID, that is displayed as the name and when I try to delete it I cannot, it just hangs around.  Is there a fix for this? I'm trying to get my head around mutable vs immutable objects. Using mutable objects gets a lot of bad press (e.g. returning an array of strings from a method) but I'm having trouble understanding what the negative impacts are of this. What are the best practices around using mutable objects? Should you avoid them whenever possible? There is a lot of lag when I play Minecraft. I think this is due to the low amount of RAM I've allocated to Minecraft. (495MB)  How do you allocate more RAM to Minecraft?  I checked my other computer (Intel i5 Core) and it had the same amount of RAM allocated to Minecraft. However, Minecraft did not lag on that computer.  After I installed Optifine on this computer, the lag stopped (I don't know why cause I read that Optifine splits the load onto 2 cores, but I have only one core (At least I think so, a sticker on the laptop says Intel CORE i7)). How does the Ranger's Extra Attack feature work with Two-Weapon Fighting? I think I know the answer to this one but I'm double checking.  At the 5th level the Ranger gets Extra Attack, which lets them attack a second time during the Attack action. If they are fighting with 2 weapons, the second weapon normally uses their bonus action.  Does this mean when using the Extra Attack and using two weapons, a ranger can attack twice during the Attack action, and still make 1 extra attack as a bonus action, for a total of 3 attacks? Minor "you have already raised this type of flag" bug? I flagged something as spam, then was only 90% sure I'd done so, so I clicked the flag link again to check. It showed me this:    I had, of course, only raised the spam flag, not the offensive/abusive/hate flag, so the latter probably shouldn't be saying I did.    Ah, this may be a duplicate, I didn't search enough:        And if so, it's been around a while. Requesting review of technically inaccurate answers Some answers are plain wrong, or even harmful. Usually these get spotted pretty quickly and either fixed or deleted by the poster, on the basis of comments/votes.  Sometimes though these slip under the radar - the OP ignores the downvotes/comments, or nobody even picks up on it the first time around.  I've always assumed that VLQ flags in the 10K queue for answers that are technically flawed, but otherwise OK were effectively "request for review by somebody knowledgeable in this area". It seems though that .  How should answers like this be handled instead if VLQ is not appropriate? Is there a mechanism for requesting further review? Raising them in chat is sometimes an option, but not always appropriate.   The useful actions that might happen as a result of increased visibility:   Edits by domain experts Downvotes to hide the poor answer Less flawed answers by experts Delete votes by 20K users   Would a "technical issue flag" that pushes to a tab in  /review help? How to get instance variables in Python? It's using Euclidian inverse. Can you show it step by step?   $$N=7, q=11, a = 3+2X^2 -3X^4 +X^6$$  the inverse of $a \pmod {11}$ is  $$A=-2+4X+2X^2 +4X^3 -4X^4 +2X^5 -2X^6$$  How do we compute $A$? Error in pip: unsupported operand type(s) for -=: 'Retry' and 'int' I'm trying install the requests, but I can't do that. I'm using Ubuntu 16.04  I tried to install using  $ sudo pip install requests   and I get the following error   Collecting requests Exception: Traceback (most recent call last):   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 209, in main     status = self.run(options, args)   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 317, in run     requirement_set.prepare_files(finder)   File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 360, in prepare_files     ignore_dependencies=self.ignore_dependencies))   File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 512, in _prepare_file     finder, self.upgrade, require_hashes)   File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 273, in populate_link     self.link = finder.find_requirement(self, upgrade)   File "/usr/lib/python2.7/dist-packages/pip/index.py", line 442, in find_requirement     all_candidates = self.find_all_candidates(req.name)   File "/usr/lib/python2.7/dist-packages/pip/index.py", line 400, in find_all_candidates     for page in self._get_pages(url_locations, project_name):   File "/usr/lib/python2.7/dist-packages/pip/index.py", line 545, in _get_pages     page = self._get_page(location)   File "/usr/lib/python2.7/dist-packages/pip/index.py", line 648, in _get_page     return HTMLPage.get_page(link, session=self.session)   File "/usr/lib/python2.7/dist-packages/pip/index.py", line 757, in get_page     "Cache-Control": "max-age=600",   File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 480, in get     return self.request('GET', url, **kwargs)   File "/usr/lib/python2.7/dist-packages/pip/download.py", line 378, in request     return super(PipSession, self).request(method, url, *args, **kwargs)   File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 468, in request     resp = self.send(prep, **send_kwargs)   File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 597, in send     history = [resp for resp in gen] if allow_redirects else []   File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 195, in resolve_redirects     **adapter_kwargs   File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 576, in send     r = adapter.send(request, **kwargs)   File "/usr/share/python-wheels/CacheControl-0.11.5-py2.py3-none-any.whl/cachecontrol/adapter.py", line 46, in send     resp = super(CacheControlAdapter, self).send(request, **kw)   File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/adapters.py", line 376, in send     timeout=timeout   File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 610, in urlopen     _stacktrace=sys.exc_info()[2])   File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 228, in increment     total -= 1 TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'   My python version is the 2.7 and the pip is 8.1.1 Can someone please give me some intuition as to when to choose either SVM or LR? I want to understand the intuition behind what is the difference between the optimization criteria of learning the hyperplane of the two, where the respective aims are as follows:     SVM: Try to maximize the margin between the closest support vectors LR: Maximize the posterior class probability    Let's consider the linear feature space for both SVM and LR.  Some differences I know of already:   SVM is deterministic (but we can use Platts model for probability score) while LR is probabilistic. For the kernel space, SVM is faster (stores just support vectors) How to get apache to send a 404 based on no matching VirtualHost section (based on ServerName) being found? I am rebuilding an old server.  Only one of the five old sites need to go live and all five of the old sites point to the same IP address.  Unfortunately any time a request is made for one of the old sites via their own unique domain names they are passed the pages from the one site that I'm trying to make live.  I would just like the old sites to display a 404 instead of the one site that I'm actually trying to make live.  As an example:   Site 1 (192.168.0.1) [www.first.com] Site 2 (192.168.0.1) [www.second.com] Site 3 (192.168.0.1) [www.third.com]   I want to move site 1 live again.  So I turned on apache on the machine with the IP address of 192.168.0.1, with all of site 1's files in the /var/www directory.  When I browse to 192.168.0.1 or www.first.com I correctly see site 1. When I browse to www.second.com and www.third.com I also receive site 1 which is the problem.  Is there a way I can 404 any request which comes in without www.first.com?  Here is my sites-available:  NameVirtualHost *:80  LogFormat "%h %l %u %t \"%r\" %&gt;s %b" common  &lt;Files ~ "^\.ht"&gt;     Order allow,deny     Deny from all     Satisfy All &lt;/Files&gt;  &lt;Directory /&gt;   Order Deny,Allow   Deny from all   Options None   AllowOverride None   Options None &lt;/Directory&gt;  &lt;Directory /var/www&gt;   Order Allow,Deny   Allow from all &lt;/Directory&gt;  &lt;VirtualHost *:80&gt;         ServerName first.com         ServerAlias www.first.com         DocumentRoot /var/www         ErrorLog /var/log/first.com.err         CustomLog /var/log/first.com.log common &lt;/VirtualHost&gt;  &lt;VirtualHost _default_:*&gt;         ServerName unknown         DocumentRoot /var/www_404 &lt;/VirtualHost&gt; barchart with pgfplot - missing bar I am using PGFplot to make a barchart. There are 4 entries in my csv file and unfortunately I have only 3 bars in my figure.   my LaTeX code:  \begin{figure}     \centering     \begin{tikzpicture}          \begin{axis}[             x tick label style={/pgf/number format/1000 sep=},                 xlabel=Sequence,             ylabel=Heigth,                 ymin=0.7,             enlargelimits=0.05,             legend style={at={(0.5,-0.15)},                 anchor=north,legend columns=-1},             ybar interval=0.7,             width=\textwidth,             ]             \addplot table [col sep=comma,trim cells=true,y=height] {numericaltests/data/test.csv};              \addplot[red,sharp plot,update limits=false]                 coordinates {(-1,1.00) (34,1.00)}                 node[above] at (axis cs:15,1.00) {};             \legend{Ca2Fe2As2}         \end{axis}     \end{tikzpicture}     \caption{Sequence}     \label{fig:sequenceHeight} \end{figure}   my test.csv file:  sequence,height 1,2.0 2,1.5 3,1.8 4,2.4   Barchart: