Is anyone able to explain why the version of Sysdig that is available through the official Ubuntu repository is so out of date?  Also, is there a way to have this updated to the latest release?  Ubuntu repository: 0.19.1 Released: October 2017  Draios repository: 0.26.4 Released: August 2019  Thanks!
Why are packages in the official Ubuntu repositories older than the latest (upstream) versions from Debian Sid, PPAs, the authors, etc.?
Listings - Only highlight between delimiters I want to implement a function name color highlighting and I use the listings package. My 'regex' for this is def %s( where def (including space) is the first delimiter %s is the function name and ( is the second delimtier. Now my aim is to color only %s in purple. So basically I want to only touch the part between the delimiters and the delimiters should stay untouched.  Here is what I tried so far:  \documentclass{article} \usepackage{xcolor,listings} \usepackage[ngerman]{babel} \usepackage{fontspec} \setmonofont{Courier New}  \begin{document}  \lstset{language=Python,     escapebegin=\color{orange},     keywordstyle=\color{blue}\bfseries,     commentstyle=\color{orange!80!red},     stringstyle=\ttfamily\color{gray},     %moredelim = [is][\color{blue}\bfseries def \mdseries\color{purple}]{def\ }{(},     moredelim = [s][\color{purple}]{def\ }{(},     showstringspaces=false}‎ \lstset{literate=%    *{0}{{{\color{red}0}}}1     {1}{{{\color{red}1}}}1     {2}{{{\color{red}2}}}1     {3}{{{\color{red}3}}}1     {4}{{{\color{red}4}}}1     {5}{{{\color{red}5}}}1     {6}{{{\color{red}6}}}1     {7}{{{\color{red}7}}}1     {8}{{{\color{red}8}}}1     {9}{{{\color{red}9}}}1 }  ‎‎\begin{lstlisting}[basicstyle=\ttfamily,mathescape] def fancy_function_name(page_url = 'tex.stackexchange.com'):     return page_url.split('.')[0] \end{lstlisting}  \end{document}   This code will generate:   You can see that it matches the right place but is too greedy and colors the delimiters too. So I thought about the uncommented line: %moredelim = [is][\color{blue}\bfseries def \mdseries\color{purple}]{def\ }{(}, If I use this one and uncomment the line below I get this result:    It's nearly what I wan't but I cannot add the last, now missing ( in black color.  Does anyone has a solution for this without pretouching the code and add all the @@ symbols? VBA array sort function? I'm looking for a decent sort implementation for arrays in VBA. A Quicksort would be preferred. Or any other  other than bubble or merge would suffice.  Please note that this is to work with MS Project 2003, so should avoid any of the Excel native functions and anything .net related. xargs and vi - "Input is not from a terminal" How to relate combinatorial proof to bipartite graphs? The question is - Let $k \geq 1$ be an integer and consider a sequence $n_1,n_2,\cdots,n_k$ of positive integers. Use a combinatorial proof to show that  $\binom{n_1}{2} + \binom{n_2}{2} +\cdots+ \binom{n_k}{2} \leq \binom{n_1+n_2+\cdots+n_k}{2}$  How can i prove this without using induction?  Additionally, For each $i$ with $1 \leq i \leq k$,consider the complete graph on $n_i$ vertices. How many edges does this graph have?  I thought of making graphs and figuring out a relation but still wasnt able to. OSX Server: should I use Open Directory? Deep in my families history (1600's or there abouts) our family split in two. About three or four generations later two distant cousins got married creating a split / rejoin.                G.G.G.Parents A        +---------+---------------------------+     G.G.Grand Parent                      G.G.Grand Parent        |                                     |     G.Grand Parent                        G.Grand Parent        |                                     |     Grand Parent                          Grand Parent        |                                     | +------+-------+                     +-------+-------+ Aunt       Parent A - - -+- - - Parent B         Uncle                          |                   +------+------+                Child A        Child B                  ...           ...   So in this small example, the family splits in two at G.G.Grandparents and then rejoins later when Parent A and Parent B marry.  About 8 years ago I tried to find a software package which could model this and failed. Has anything happened in the intervening time?  Sorry I'm just asking in SE without doing much research, but I spent a lot of effort last time without any success and I am sure there is someone out there who can point me to an excellent package!    @ColeValleyGirl: I'm looking for a piece of software that is able to print out such a tree/DAG (thanks @ACProctor) in high enough quality to display/frame. All software I tried before didn't seem to be able to display this as they seemed to support mainly variations of Ancestors / Descendants rather than an output of all the people that had been inputed.  @AdrianB38: Essentially, I want to see "everyone". The tree I have was put together by my grandfather, who probably had a lot more data/people, but I've only got the hand written tree which highlights this split. It's essentially a tree of my grandparents ancestors (including this split which is joined at a common ancestor) and descendants (me + my family). I'd like to reproduce this in the computer (there is about 400 years - hundreds of people).  @AdrianB38: Re your point about generations, yes, I have that issue. I think it's only one generation, might be two - i've not looked at the tree in a while. The split between families happened over about 150-200 years iirc.  I can write an SVG generator if I really need to (I'm a Software Engineer) albeit I'm aware such a "loop"/"dependency" is painful to program for, but I was hoping that there was something which could handle this. How to view the output of a running process in another bash session? I have left a script running on a remote machine from when I was locally working at it. I can connect over SSH to the machine as the same user and see the script running in ps.   $ ps aux | grep ipcheck myuser  18386  0.0  0.0  18460  3476 pts/0    S+   Dec14   1:11 /bin/bash ./ipchecker.sh   It is simply outputting to stdout on a local session (I ran ./ipchecker.sh form a local terminal window, no redirection, no use of screen etc).  Is there anyway from an SSH session I can view the output of this running command (without stopping it)?  So far the best I have found is to use strace -p 18386 but I get hordes of text flying up the screen, its far too detailed. I can stop strace and then sift through the output and find the text bring printed to stdout but its very long and confusing, and obviously whilst it's stopped I might miss something. I would like to find a way to see the script output live as if I was working locally.  Can anyone improve on this? The obvious answer is to restart the script with redirection or in a screen session etc, this isn't a mission critical script so I could do that. Rather though, I see this as a fun learning exercise. I was viewing  question in the Android app. As shown in the below screenshot, while the top shows "4 answers", the bottom button will ask to "View 6 Answers". After checking the question, there are indeed six answers to the aforementioned question.    I am using Android 4.3 with the 0.1.64 version of the app.    EDIT: The changes to the UI made this question obsolete. My awk program to change spaces into tabs doesn't work How to write a shell script which uses awk to read in the data file students.txt and output the data in the tabbed format as shown:  Surname Forename MSc Stream Date of Birth Smith John IT 15.01.1986 Taylor Susan IT 04.05.1987 Thomas Steve MIT 19.04.1986    Do not worry if tabbed columns don’t line up. The distance between each of (Surname, Forename, MSc Stream and Date of Birth) column is one tab.   Question:  Why this bellow code doesn't work for me?  awk 'BEGIN {IFS=" "} {OFS="\t"} {print $1,$2,$3,$4}' students.txt identity element of $(D_n ,\gcd)$ Why use Chef/Puppet over shell scripts? New to Puppet and Chef tools. Seems like the job that they are doing can be done with shell scripting. Maybe it was done in shell scripts until these came along.  I would agree they are more readable. But, are there any other advantages over shell scripts besides just being readable? How to display Trash and Home folder icons? I've googled quite a bit but nothing I've found works. I just want to display the Trash, Home folder, Computer etc icons on my Desktop in Ubuntu.  The closest I've come is installing dconf-tools, running it, going to org -&gt; gnome -&gt; desktop -&gt; background and checking show-desktop-icons then org -&gt; gnome -&gt; nautilus -&gt; desktop and checking the icons I want to show.  Nothing happens.  I've also tried looking in compizconfig-settings-manager and gconf-editor but can't find anything there.  Ideas? Find a polynomial f(x) of degree 5 such that 2 properties hold. I have been trying to find a polynomial $f(x)$ such that these $2$ properties hold:   $f(x)-1$ is divisible by $(x-1)^3$ $f(x)$ is divisible by $x^3$   To start, I set $f(x) =ax^5 + bx^4 + cx^3 + dx^2 + ex + f$. This is divisible by $x^3$, so $d, e, f $  must be $0$. So polynomial $f(x) = ax^5 + bx^4 + cx^3$  This minus $1$ is divisible by $(x-1)^3$. So I used synthetic division and got that the remainder of $ax^5 + bx^4 + cx^3$ divided by $(x-1)$ is $a+b+c-1$. But it should divide out evenly, so $a+b+c-1 = 0$.  From here, I can't find any other equations involving the three variables. Could someone have any suggestions for how to continue? Thanks in advance. :) Using equations to draw out complex objects How do people come up with equations of curves to draw out complex objects?  Some popular examples would include:  &amp;  .  This  explains the rationale for the batman curve nicely.  But other than trial and error, I can't see a reasonable way of drawing the much more complicated PSY curve. Let $U\subset\mathbb R^3$ be an open set, and $f:U\to \mathbb R$ be a smooth function. Suppose that the level set $S=f^{-1}(\{0\})$ is non-empty, and that at each $p\in S,$ the gradient $\overrightarrow \nabla f(p)$ is not the zero vector. Then $S$ is a smooth two-dimensional surface in $U$, and $p\mapsto \overrightarrow \eta(p)=\frac{1}{||\overrightarrow \nabla f(p)||}\overrightarrow \nabla f(p)$ defines a smooth unit-length normal vector field along $S$. At each $x\in U,$ write $H(f)_{(x)}$ for the $3\times 3$ Hessian matrix specified by $$(H(f)_{(x)})_{ij}=\frac{\partial^2f}{\partial x_i\partial x_j}(x).$$   Show that, at each $p\in S$, the second fundamental form $II_p: T_p(s)\times T_p(s)\to \mathbb R$ is the symmetric bilinear map    $$II_p(\overrightarrow v,\overrightarrow w)=\frac{-1}{||\overrightarrow \nabla f(p)||}\overrightarrow v\cdot H(f)_{(p)}\overrightarrow w,$$for all $\overrightarrow v ,\overrightarrow w \in T_p(s)$.       (Here, we view the tagent space $T_p(S)$ as the two-dimensional subspace $(span\{ {\overrightarrow \eta(p)}\})^{\bot}$ of $\mathbb R^3$.      Edit: Actually my question is why the second fundamental form under the usual definition can be written in this way.      Definition: The quadratic form $II_p$, defined in $T_p(S)$ by $II_p(v)=-&lt;d  N_p(v),v&gt;$ is called the second fundamental form of $S$ at $p$, where $dN_p:T_p(S)\to T_p(S)$ is the differential of the Gauss map.   Hopefully, I express this problem explicitly. I was just wondering how to prove this statement.   I took a diffrential geometry class last semester, and when I organized my notes this morning, I found this statement, but there was no proof...  Looking forward to an understandable explaination. Thanks in advance.     Edit 2:Furthermore, show that, at each point $p\in S$, the expression   $$\phi_p(z)=det\pmatrix{-H(f)_{(p)}-zI_{3\times 3} &amp; \overrightarrow \nabla f(p)\\\ \pm \overrightarrow \nabla f(p)&amp; 0}$$   (the underlying matrix here is $4\times 4$) defines a second-degree polynomial whose roots $\lambda_1$ and $\lambda_2$ are $||\overrightarrow \nabla f(p)||k_1$ and $||\overrightarrow \nabla f(p)||k_2$, where $k_1$ and $k_2$ are the principal curvatures of $S$ at $p$.      Also, if a non-zero vector $\pmatrix {\overrightarrow v \\c}$ lies in the kernel of the $4\times 4$ matrix $$\pmatrix{-H(f)_{(p)}-\lambda_jI_{3\times 3} &amp; \overrightarrow \nabla f(p)\\\ \pm \overrightarrow \nabla f(p)&amp; 0},$$   then $\vec v$ is a non-zero element of $T_p(S)$ and lies in the "principal direction" corresponding to $K_j$. Why draw blood from veins rather than arteries? Why draw blood from veins rather than arteries? Is it more convenient or safer? How to identify predatory publishers/journals What are the best strategies for assessing if a journal is a &quot;vanity&quot; or &quot;predatory&quot; journal that should be avoided (both for publishing in and reviewing for)? For example, how would one go about determining if a journal/publisher belongs on ? Default constructor with empty brackets Can you grab the blue shirts and socks?   Is the above sentence stating that both the shirts and the socks are blue? Or only the shirts?  At this stage, I am leaning towards the earlier (only the shirts) — though writing "Can you grab the blue shirts and blue socks?" seems redundant. Mouse Pointer Locator