I am trying to create dependencies between task in Gantt Chart for example finish to start , A task need to finish in order to start another task, We have a object which will tell which task is related to which and the type of dependencies it can have,trying to draw something like this below highlited in red:-    We have "lightning:progressBar" to show the progress bar, Do we have any such thing to create this dependencies directly which can link two task directly based on the type of dependencies they have?  if we try to draw this dependencies line by line, its difficult because this is a dynamic table and we are not sure about the position of next bar and also the bars in between, Looking for some thought to discuss on this,  what solution approach we can have.
I have created Gantt chart in lightning table to show bars based on task start date and end date  using Aura, also the completion rate as shown below, I need to show the dependencies between the tasks (shown in red color in screenshot) .    these are the different types of dependencies we can have, any idea how this dependencies can be created in lightning?    In aura we have "lightning:progressBar" to show the progress bar, Do we have any such thing to create this dependencies directly? this is a dynamic table if we try to create this dependencies  line by line, its difficult bcoz we are not sure about the position of next bar, I am not looking for code to implement this, Just some thoughts to discuss on the solution, what approach can be taken.
Platform diving: How deep does one go into the water? I am a platform diver. I am trying to figure out how deep in the water I go depending on which platform I dive from.  The platforms are 1m, 3m, 5m, 7.5m and 10m above the water surface.  By ignoring air resistance (we assume that I do not do any tricks) I can easily compute the energy that my 90 kg body has when it is hitting the water:  E = mgh = 0.5mv^2   My problem is to find the deceleration in water and thus how deep my feet will go into the water before coming to a halt. We can assume that I stand straight and fall straight down and have a height of 190cm.  How do I compute that? Is it logically correct to assert that the expectation of the momentum $$\langle \hat p \rangle=0$$ for any bound state because it is bound to some finite region? What is the physical interpretation of the fact that $$\langle \hat p \rangle=0$$ in an energy eigenstate $\psi_n(x,t)$  but $$\langle \hat p \rangle\neq0$$ in some superposition state $$\psi(x,t)=c_m\psi_m(x,t)+c_n\psi_n(x,t)~?$$ Here $\psi_n(x,t)$ the eigenstates of the Hamiltonian, for example, in the problem of particle in a box (say). Leaving values blank if not passed in str.format Increasing the Size of Beamer Footer I work in Beamer extensively (specifically the Madrid theme). Sometimes, my "title" is quite long. Beamer puts this title at the bottom, but when it's too long it cuts it off. I'd really like to know how to increase the size of the bottom middle rectangular footer.    Here's the code (sorry for all of the packages and commands):  \documentclass[t]{beamer} %Add "mathserif" to script math lettering. "t" places all text to start at the top of each slide \usetheme{Madrid}  %Packages  \usepackage{amsmath} %Math mode \usepackage{amssymb} %Math mode \usepackage{commath} \usepackage{graphicx} %Including pictures \usepackage{color} %Define colours \usepackage{setspace} %Enables double-spacing/variable spacing \usepackage{pgfplots} %Draw graphs \usepackage{upgreek} %Insert theta symbol as unitalicized  \usepackage[version=3]{mhchem} %Chemistry equation mode \ce{} \usepackage[export]{adjustbox} %Place black borders around images \usepackage{scrextend} %Used to change font size \usepackage{caption} %Used to utilize * in caption function \usepackage{subfig} %Used to place figures side-by-side with sub-captions \usepackage{siunitx} %SI Units (+ scientific notation) \usepackage{cancel} \usepackage{fancybox} %\usepackage{enumitem} %Making lists %\usepackage[english]{babel} %Lists with letters  %Erases Beamer Navigation Symbols on the bottom left \setbeamertemplate{navigation symbols}{}  %\setbeamertemplate{footline}{} \captionsetup[subfigure]{labelformat=empty}  %Defined Colours \definecolor{orangered}{RGB}{255,69,0} \definecolor{darkgreen}{RGB}{0,100,0}  \definecolor{firebrick}{RGB}{178, 34, 34} \definecolor{navy}{RGB}{0,0,128} \definecolor{lightsteelblue}{RGB}{176,196,222} \definecolor{steelblue}{RGB}{70,130,180} \definecolor{darkslateblue}{RGB}{72, 61, 139} \definecolor{forestgreen}{RGB}{34, 139, 34} \definecolor{Gold}{RGB}{218,165,32}  %Defined Colour Theme and List Sizing \setbeamercolor{structure}{fg = Gold} \setbeamertemplate{navigation symbols}{}  \setbeamerfont*{itemize/enumerate body}{size=\normalsize} \setbeamerfont*{itemize/enumerate subbody}{parent=itemize/enumerate body} \setbeamerfont*{itemize/enumerate subsubbody}{parent=itemize/enumerate body}  %Opening Title Page \title{Chapter 7 - Absolute Value and Reciprocal Functions} \subtitle{Section 7.3 - Absolute Value Equations} \date{}  \begin{document}     %Slide 1     \maketitle \end{document} Do circular wheels maximize mechanical efficiency? I recently wondered whether there is a simple proof that circular wheels maximise mechanical efficiency. By this I mean:     Show that for a wheel with a given width and cross-sectional area, the   circular wheel reaches the bottom of an incline faster than a wheel   with any other shape.   This sounds like a rather elementary problem in classical mechanics but I haven't found a proof of this fact in any of the classical mechanics texts that I have read.   Note 1: I assume that the distribution of mass is uniform across the wheel so comparable wheels will have equal mass.   Note 2: Dry friction is assumed to be present. I have an external sound card which mostly works fine, except that when its first plugged in, or when I turn on my laptop, the volume gets set to 100%. That is, the overall system volume, as shown in the sound indicator.  What I'm looking for is a terminal command that will set that volume to 50%, so that I can run it on login and not have to worry that the first audio I play is going to blare out at me if I forget to turn the volume down. What commands allow you to change that volume, i.e. the one in the sound indicator?  I've poked around in gsettings and dbus, but have been unable to find anything that would let me set the system volume like that. I do know about alsamixer, but that's not the solution I'm looking for, since that doesn't allow me to change the volume using the sound indicator or my laptop's multimedia keys. Upgrade to version newer than repositories I have  about how to upgrade ghostscript to a version that is available on 15.04 but not on 14.04LTS (which I have). On this site there are numerous almost identical question regarding different packages, a few examples include:         So I thought it would be very useful in general to know: is there  a general, automated way to upgrade a package, including all its dependencies, to a version that is newer than Ubuntu's repos? Is this more easily done if the newer version exists in more recent Ubuntu releases? Java: how do I check if a Date is within a certain range? Truth Tables for Digital Circuits Does Class need to implement IEnumerable to use Foreach This is in C#, I have a class that I am using from some else's DLL. It does not implement IEnumerable but has 2 methods that pass back a IEnumerator. Is there a way I can use a foreach loop on these. The class I am using is sealed. Linear maps $f: M_n \longrightarrow \mathbb{R}$ such that $f(AB) = f(BA)$ Let $M_n$ be the vector space of $n \times n$ matrices over $\mathbb{R}$. Find (with proof) all linear maps $f: M_n \longrightarrow \mathbb{R}$ such that $f(AB) = f(BA)$ for all matrices $A$ and $B$.   I know that the trace map is one such $f$. The determinant map satisfies $det(AB) = det(BA)$ -- but isn't a linear map, so it doesn't suffice.   Is there a constructive way to find all of the desired linear maps $f$, and show that there are no others ?   Any help would be appreciated. Thanks (= I guess the proof of the identity $$ \sum_{n = 0}^{\infty} \frac{1}{n!} \equiv \lim_{x \to \infty} \left(1 + \frac{1}{x}\right)^x $$ explains the connection between such different calculations. How is it done? Find splitting field of $x^5-4x+2$ over $\mathbb{Q}$ I know how to get the splitting field from the roots but I just can't come up with any factorisation that gives me roots. Any suggestions? When do I clear US customs and immigration if connecting at a US airport to my final destination elsewhere in the US? I'm a British citizen travelling from London Heathrow (LHR) to the Hartford, Connecticut airport, and have a two hour stopover in Newark, New Jersey (EWR) on my itinerary. At what stage would I clear immigration and customs on arriving in the USA? These two operators commute...but their eigenvectors aren't all the same. Why? The Hamiltonian   $$H =  \left[ \begin{array}{cccc} a &amp; 0 &amp; 0 &amp; -b \\ 0 &amp; 0 &amp; -b &amp; 0\\ 0 &amp; -b &amp; 0 &amp; 0\\ -b &amp; 0 &amp; 0 &amp; -a \end{array} \right] $$  commutes with the qubit exchange operator  $$ P = \left[ \begin{array}{cccc} 1 &amp; 0 &amp; 0 &amp; 0 \\ 0 &amp; 0 &amp; 1 &amp; 0\\ 0 &amp; 1 &amp; 0 &amp; 0\\ 0 &amp; 0 &amp; 0 &amp; 1 \end{array} \right] $$  So I would expect the two to have the same eigenvectors. The eigenvectors of $P$ are easily seen to be $(1,0,0,0)^T; (0,0,0,1)^T; (0,1,1,0)^T ; (0,1,-1,0)^T$. The latter two are also eigenvectors of $H$, but the first two are not. Why? I thought commuting operators shared the same eigenbasis? How can I explain to a non-native why the plural of a noun isn't used adjectivally? How can I explain to a non-native speaker that while this is correct:     The felling of trees.    And this is also correct:     tree felling   This is not:     *trees felling   To a non-native it seems very reasonable that since many trees are being felled and given that the felling of trees uses the plural, the inverse form would also use the plural and become trees felling.  To a native speaker such as myself, the latter is very obviously wrong, but I couldn't figure out how to formalize this into a rule that a non-native can understand. Drupal 7. Custom module. I have a content type 'RFI' with a handful of fields I created with Drupal UI. I want a user to: fill out a form &amp; click submit while drupal: saves fields to database, creates a new node of 'RFI' and populates the fields of the node with the content provided by the form's corresponding fields.  From what I understand:  Build a form with fields (taking from the 'DBTNG examples' module just for clarity):  function rfi_build_form($form, &amp;$form_state) { $form = array();  $form['add'] = array( '#type'  =&gt; 'fieldset', '#title' =&gt; t('Add a person entry'), ); $form['add']['name'] = array( '#type'  =&gt; 'textfield', '#title' =&gt; t('Name'), '#size'  =&gt; 15, ); $form['add']['surname'] = array( '#type'  =&gt; 'textfield', '#title' =&gt; t('Surname'), '#size'  =&gt; 15, ); $form['add']['age'] = array( '#type'  =&gt; 'textfield', '#title' =&gt; t('Age'), '#size'  =&gt; 5, '#description' =&gt; t("Values greater than 127 will cause an exception. Try it - it's a    great example why exception handling is needed with DTBNG."), ); $form['add']['submit'] = array( '#type'  =&gt; 'submit', '#value' =&gt; t('Add'), ); return $form; }   Here the form fields are saved to database with database API.  function rfi_build_submit($form, &amp;$form_state) { global $user;  // Save the submitted entry. $entry = array( 'name'    =&gt; $form_state['values']['name'], 'surname' =&gt; $form_state['values']['surname'], 'age'     =&gt; $form_state['values']['age'], 'uid'     =&gt; $user-&gt;uid, ); $return = dbtng_example_entry_insert($entry); if ($return) { drupal_set_message(t("Created entry @entry", array('@entry' =&gt; print_r($entry, TRUE)))); } }   Now here is how I know how to create a node of RFI type. How do I take the values of the fields above [name], [surname], [age] and have them related to corresponding fields in my content type?  function rfi_build_type($form, &amp;$form_state){ $node = new stdClass(); $node-&gt;type = 'rfi'; $node-&gt;name = ''; $node-&gt;surname = ''; $node-&gt;age = ''; $node-&gt;language = 'en'; $node-&gt;uid = 1; node_save($node); }   I was thinking that since the fields have been saved already, that I could use a database query to get these values, but intuition tells me I'm overlooking something.  Thank you! Could I use an IPS based TV to edit photos in a color-calibrated environment? Over the past weeks, I've been trying to get all of my color issues worked out. Getting closer, but I'm not there. I've calibrated my monitor with a friend's calibrator and that helped. I'm using the profiles provided by the local processor.  It's close. How close depends on the viewing angle.  So I'm thinking IPS monitor might be a good next step.  Googling around, I see that I could get an   Given that IPS based 22/23" monitors run $250-$300, this seems like a lot more monitor for not much more money.  What are the faults in this logic? Normal text is invisible when using beamer with notes and XeLaTeX I'm using beamer with xelatex to prepare a talk.  If I switch on notes on right I'm experiencing strange behaviour:  When using csqoutes in the title, all normal text afterwards becomes invisible (or white). The text selectable in the output pdf. Note that the text is also visible in the small preview on the note page.  This does not happen when using pdflatex or lualatex.  MWE:  \documentclass{beamer} \usepackage[autostyle=true,german=quotes]{csquotes}  \usepackage{pgfpages} \setbeameroption{show notes} \setbeameroption{show notes on second screen=right}  \begin{document}    \begin{frame}         \frametitle{\enquote{Enqouted Title}}     \end{frame}      \begin{frame}         \frametitle{This is the second slide}         Lorem ipsum dolor sit amet, consectetuer adipiscing elit.     \end{frame} \end{document}   Update:  csqoutes is not the culprit. Seems to be a general problem when using xelatex and beamer with notes enabled.  New MWE:  \documentclass{beamer}  \usepackage{pgfpages} \setbeameroption{show notes} \setbeameroption{show notes on second screen=right}  \begin{document}     \begin{frame}         \frametitle{First Slide Title}         Here be text     \end{frame}      \begin{frame}         \frametitle{This is the second slide}         Lorem ipsum dolor sit amet, consectetuer adipiscing elit.     \end{frame} \end{document} I am running Wireshark on my linux machine and i have simple python web server running on localhost:8080  I am capturing only local port 8080. When i open browser on localhost:8080 wireshark captures huge amount of tcp communication (as page loads with all resources) but there`s no HTTP only TCP...   Why i cannot capture HTTP on custom port ?