I'm trying to make a simple line connecting the same node. I'm using a simple qtree package. Here is what I have so far. \Tree [.\textit{sign}  [.\textit{syn-sign} \textit{phrase} ] [.\textit{lex-sign}  [.\textit{word} ] [.\textit{lexeme} ]]]  New question for alignment:  Here's the code: \begin{forest} qtree edges [\textit{sign},name=sign [\textit{syn-sign}  [\textit{phrase} ] [\textit{word}, name=word,]]    [\textit{lex-sign}, name=lex-sign  [, no edge ] [\textit{lexeme} ]]]    \draw (lex-sign.south) -- (word.north);  \end{forest}
The qtree package seems to facilitate the drawing of simple trees only. Is there a way to incorporate:   Multiple roots &amp; Nodes with multiple parents   in a tree in LaTeX?
What is a StackOverflowError? adding an item to filtered table My project has a table with '+add' button and filtering. The add button opens a dialog to add item, and then to 'save' which closes it too Today I noticed the following flow:  Filter table on subject with value 'dummySubject'  Add new item with subject 'somethingelse'  save and close the new item ==&gt; the new item is shown in the table   So the outcome is that an item that does not qualify the filtering appears in the table. When I asked around I got the following answer  We don't want the new item to 'disappear' on creation just because it does not qualify the filtering. So we display it If you filter again, it will disappear as it should  I can almost understand that logic, but still it sounds wrong. I would rather have like a toaster saying 'new item create' with a 'goto' link. My question is  is the current user experience considered a reasonable one? what is the best practice way to handle such scenario?      &ndash; Wireframes created with Login SSH with .ppk file on Ubuntu Terminal I have a production server. To login to the server I must use a .ppk file.  How to login with Ubuntu Terminal and .ppk file?  I tried this :  ssh -i location/file.ppk username@server-ip   but it is showing an error message. gnome-terminal fails to start (timed out) I just upgraded from Ubuntu 16.04 to 18.04. My workflow is to connect from Windows using VcXsrv to Ubuntu (ssh with X tunneling), starting a xterm on Ubuntu. Inside the xterm I am typing gnome-terminal to get a gnome-terminal. Since the upgrade this is not working anymore. I am getting $ gnome-terminal   # Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.   # Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Fehler beim Aufruf von StartServiceByName für org.gnome.Terminal: Zeitüberschreitung wurde erreicht    or when starting with English locale $ LANG=en_US.utf8 gnome-terminal   # Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.   # Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: Timeout was reached  I am not always getting the first line, but I am always gettint the timeout error. Digging more into the issue I found out  sudo gnome-terminal works gnome-terminal works when run in a xterm when locally logged in on the PC when I am also logged in locally on the PC then gnome-terminal in the remote session's xterm opens a gnome-terminal on the local session on the PC (still getting the first error line about registering with accessibility bus) when I am also logged in over rdp (Windows network connection) then a gnome-terminal in the ssh session opens a gnome-terminal in the xrdp session when I login over rdp (Windows network connection), logoff there, then gnome-terminal can open a gnome-terminal  What can I do to get gnome-terminal in a remote session's xterm to work? When do I have to use 'will' instead of 'going to'? Does going to only express an intention and will some kind of prediction that doesn't necessarily happen?  EDIT: Thanks for all your answers. I asked this question because I always fail to complete exercises like this from an ESL book:   We  will fly to Venice in June. (Correct: But, how can I be sure that I'm not sick in June?) Philipp will be 15 next Wednesday (Correct: Since his birthday is a fixed day, this will happen). They will get a new computer. (Wrong: Why?, If I need a new computer, I simply get a new one) In 2020 people are going to buy more hybrid cars.  (Wrong, Why? Who can tell for sure). How to show $\lim_{n \to \infty} a_n = \frac{ [x] + [2x] + [3x] + \dotsb + [nx] }{n^2} = x/2$? Don't display pending edit counter if you've exhausted your suggested edit votes Docker ppa package for Ubuntu 19.10 Does someone knows if it exists some ppa packages source for the newest Ubuntu version 19.10 i had problem with that when i upgraded from Ubuntu 19.04 to 19.10 i didn't work? What invisible flicker do different types of light bulbs have? What waveform does the light coming off different types of artificial light sources have and (of course) what are the underlying physical reason for them?    I was inspired to ask this question because of several things I have been hearing lately.  Firstly, there was a recent TED talk about how .  Researchers have been working on the problem for a little while now and they've made a fairly impressive product, but it was only recently made possible by the LED technology, which has such a fast response that it can easily compare to the transfer rates of electric information condiuits that we normally use.  My understanding is that incandescent bulbs flicker because they have 60 Hz AC power being pulsed through them.  In fact, I think 60 Hz was chosen in the first place because it was a threshold that was unnoticeable to humans.  Looking at a  demonstrates that it has a very significant lag time responding to both the normal electrical phasor and being turned off.  In other words, it flickers but it doesn't go dark at any point in the AC waveform.  Looking for more information, however, I was a little disappointed, since nothing seemed to give a graph of lumens emitted over time for all different kinds of bulbs.  Of course, there isn't just one relevant time scale.  A light could flicker with 60 Hz and also flicker with 2000 Hz (I just made that up).  I'm interested in the complete picture of what lights exhibit what patterns. I am a third year (starting fourth year in the fall) PhD student in mathematics. I've passed all qualifying exams and am currently doing research. As far as I can tell, I am not doing poorly. I have the good fortune of having a great advisor, being in a very supportive department, and having friends and family who genuinely care about my success.   The fact is research is hard. It appears to consist primarily of staring at a problem for days and days and days without getting anywhere. Sometimes, rarely, I do figure something out and that feels wonderful, but the overwhelming majority of my time appears to be spent banging my head against a mostly figurative wall. I am not complaining about the material being hard, and I am not averse to putting in hard work, but I get frequently discouraged when I realize the vast volumes of mathematics that I yet know nothing about (and probably never will). It's very hard to quantify progress - in particular, there are too few tangible returns after too many hours worked. I find myself thinking along the lines of "Oh, if only someone actually smart were thinking about this problem they would have solved it in moments" and so on.   I've talked about this to some number of people; here is some advice I have received:   Take a day off. Putting in hours upon hours of trying things doesn't magically lead to a solution, particularly if the brain is tired and just wants to sleep. Have a hobby. Since math research doesn't exactly provide instant gratification, a hobby might provide some instead.  Talk to other graduate students. Realize that many graduate students go through this.   I'm interested to know how other folks have dealt with being discouraged as a graduate student. Does it get better with time and experience? Is this a sign that research is not for me and that I should seriously consider a life outside academia? Why does the weighing balance restore when tilted and released I'm talking about a Weighing Balance shown in the figure:    Press &amp; Hold on onside of the horizontal beam and then release it. It makes some oscillations and comes back to equilibrium like shown in the figure.  Both the pans are of equal equal masses. When the horizontal beam is tilted by an angle using external force, the torque due to these pan weights are equal in magnitude &amp; opposite in direction. Then why does it come back to it position? What's making it to come back? Using Vim I often want to replace a block of code with a block that I just yanked.  But when I delete the block of code that is to be replaced, that block itself goes into the register which erases the block I just yanked. So I've got in the habit of yanking, then inserting, then deleting what I didn't want, but with large blocks of code this gets messy trying to keep the inserted block and the block to delete separate.  So what is the slickest and quickest way to replace text in Vim?   is there a way to delete text without putting it into the register? is there a way to say e.g. "replace next word" or "replace up to next paragraph" or is the best way to somehow use the multi-register feature? How do I resume a release upgrade? Yesterday I started the upgrade from 12.10 to 13.04, but I interrupted it because it was taking too long. Now if I restart it, it doesn't proceed.  Is there any possibility to clean the mess it left when I interrupted it and make a clean restart of this update? I used the prcomp() function to perform a PCA (principal component analysis) in R. However, there's a bug in that function such that the na.action parameter does not work. ; two users there offered two different ways of dealing with NA values. However, the problem with both solutions is that when there is an NA value, that row is dropped and not considered in the PCA analysis. My real data set is a matrix of 100 x 100 and I do not want to lose a whole row just because it contains a single NA value.  The following example shows that the prcomp() function does not return any principal components for row 5 as it contains a NA value.  d       &lt;- data.frame(V1 = sample(1:100, 10), V2 = sample(1:100, 10),                        V3 = sample(1:100, 10)) result  &lt;- prcomp(d, center = TRUE, scale = TRUE, na.action = na.omit) result$x                                # $ d$V1[5] &lt;- NA                           # $ result  &lt;- prcomp(~V1+V2, data=d, center = TRUE, scale = TRUE, na.action = na.omit) result$x   I was wondering if I can set the NA values to a specific numerical value when center and scale are set to TRUE so that the prcomp() function works and does not remove rows containing NA's, but also does not influence the outcome of the PCA analysis.  I thought about replacing NA values with the median value across a single column, or with a value very close to 0. However, I am not sure how that influences the PCA analysis.  Can anybody think of a good way of solving that problem? How can the Xenomorph see? If you just look at a picture of one there are no eyes readily apparent but they clearly know where they are going. Could their screeching be some form of echo-location? What program can I use to decompile a class file? Will I actually get Java code, or is it just JVM assembly code?  On Java performance questions on this site I often see responses from people who have "decompiled" the Java class file to see how the compiler optimizes certain things. 30" monitor has black border around desktop I have been using a 24" monitor with my macbook pro early 2011 connected via a mini display port to DVI adaptor.  I recently received an HP Z30i 30" monitor.  When I connect to it with an mini display port to display port adaptor, although it displays at the monitors native 2560x1600 resolution, the mac is scaling the desktop display down so as to leave a 1cm or so black border around the desktop.  The mac reports using a resolution of 2560x1600 and the display reports this also.   This makes the display blurry as single pixels become sub pixels.   The display looks like the same effect as having "under scan" turned on when using an HDMI cable at 1080p.  I thought that maybe there was a hardware or display problem, but when I boot off a previous system partition from a different hard-drive using the same OS (10.8.5) release, the monitor set up works perfectly.  This proves the OS release, display and the hardware, so I'm thinking that there must be a preferences problem with my current setup.  Perhaps the under scan setting is somehow being applied to this display when it's not using HDMI?  I've tried deleting /Library/Preferences/com.apple.windowserver.plist, ~/Library/Preferences/ByHost/com.apple.windowserver.HostNumber.plist and rebooting but no results.   The scaling is applied before the login screen and logging in as a different user has the same problem.  Any ideas?  It's driving me nuts, I've got this nice 30" screen and I can't use it! Schengen refusal formulae can be difficult to understand sometimes.    When an applicant receives a refusal with "Justification for the purpose and conditions of the intended stay was not provided", what does it mean? Short story with competitors complaining to government about a new very popular synthetic food What is the Fastest a Character Can Move in One Turn? At level 20 with any magic items in the DMG, and any spells, what is the fastest a DnD 5e character could move using their movement?  (i.e., not including teleportation)