Starting yed from ubuntu with i3 tile manager
How can I start automatically a command on Ubuntu 18.04?
How can you print a variable name in python? Say I have a variable named choice it is equal to 2. How would I access the name of the variable? Something equivalent to  In [53]: namestr(choice) Out[53]: 'choice'   for use in making a dictionary. There's a good way to do this and I'm just missing it.  EDIT:  The reason to do this is thus. I am running some data analysis stuff where I call the program with multiple parameters that I would like to tweak, or not tweak, at runtime. I read in the parameters I used in the last run from a .config file formated as  filename no_sig_resonance.dat  mass_peak 700  choice 1,2,3   When prompted for values, the previously used is displayed and an empty string input will use the previously used value.  My question comes about because when it comes to writing the dictionary that these values have been scanned into. If a parameter is needed I run get_param which accesses the file and finds the parameter.   I think I will avoid the problem all together by reading the .config file once and producing a dictionary from that. I avoided that originally for... reasons I no longer remember. Perfect situation to update my code! Boolean and Texts I have used Hexagon for years but find that it sometimes crashes when trying to do Boolean operations with texts.  I have been trying to make the two tables of the Ten Commandments and have been trying to use Blender.  I did it about two years ago in Blender and lost everything on my computer so I am trying again with the latest version of Blender and am having difficulty.  I start with a cube and then get it close to the dimensions I would think the Ten Commandments might look like. I then bevel the top using the bevel modifier. But in doing it this way I don't have any cross sub divisions on the face of the object. I have tried sub dividing first but then I find that I can't bevel the top arches as far as I would like. I still don't know how to add divisions after I bevel the top. Yes I am still a novice at this program.  In any case I did figure out how to make text and turn them into an object. When I make the texts I do all four of the commandments for one side and then the other six for the other side. So this makes allot of texts to cut out.  When doing the Boolean operation in Difference sometimes nothing happens. I am thinking I need to have some sub - divisions on the face of the sized cube after it is beveled but am not really sure if this is the problem.  This whole thing about normal's is still Greek to me. I have watched some videos on how to cut letters into a cube but for some reason it does not work this easy after I bevel the top of the cube. Or it could be that Blender does not like a bunch of texts all at once.  Could someone show me a video or give me some simple steps to make my project work? How do I update Android on my device? This Community Wiki question is designed to be the "canonical question" for questions asking how to upgrade one's device to a new Android version.   I want to get a newer version of the OS for my Android device. How can I do that?  See also: Run a command without making me wait Access POST values in Symfony2 request object I get weird > symbols in my output — what does it mean? What's the best counter strategy against battlecruisers? How should I prepare my army when attacking someone who has 12+ battlecruisers? (Protoss/Zerg/Terran answers are more than appreciated) How to set a command block with a command inside using the setblock command Does someone know how to set a command block with a command inside using the setblock command?  I have created this code /setblock &lt;x&gt; &lt;y&gt; &lt;z&gt; command_block {TileEntityData:{Command:"testfor @p[_=1]"}} but it doesn't works.  Do someone know how to do that? How does a magnet work? $\sum_{n=1}^\infty \frac{i^n}{n}$ converge? Use the new helpcenter for the question/answer ban message How to make cmd correctly display arabic script? How to identify "deictic center" for distinguishing "come" & "go"? Read this paragraph from this    My question is:  How to identify "deictic center" for distinguishing "come" &amp; "go"?  Let say I am at home &amp; I say "I am going to the zoo this evening", so the "deictic center" in this case is my home &amp; I move away my "deictic center".  But let say my friend Tom &amp; I currently at my home &amp; Tom said "Are you Coming to the zoo to see the lion?" &amp; I said "Ok, I am coming to the zoo this evening". So, the "deictic center" in this case is "the zoo" &amp; we move towards the "deictic center" (ie the zoo).  It feels like it is very arbitrary.  Note: See this , it said the selection of "deictic center" could be due to sympathy &amp; politeness. How to start Ubuntu in Console mode Abelian quotient group I'm stuck on the following practice problem.   Any hints would be appreciated.  Suppose $N$ is a normal subgroup of  $G$ such that every subgroup of $N$ is normal in $G$ and $C_{G}(N) \subset N$. Prove that $G/N$ is abelian.  I'm not sure how to use the fact that $C_{G}(N) \subset N$.  Thanks If $g \circ f$ is surjective, show that $f$ does not have to be surjective? Suppose $f: A \to B$ and $g: C \to D$ are functions, and that $B ⊆ C$.  I need to come up with an example where $g \circ f$ is surjective but $f$ is not. I'm confused on how exactly to do that, but I understand that to show something is surjective you have to have the range of the function equal to the codomain of the function. Here's my attempt:  So if $g(x) = x^2$ with a codomain of $ℝ$, and $f(x) = \sqrt{x}$ with a codomain of $ℝ$, then $g(f(x)) = (\sqrt{x})^2 = x$. Since the range of this function and codomain are the same, this is surjective.  But, since $f(x) = \sqrt{x}$, its range is only $[0, ∞)$, which is smaller than its codomain of $ℝ$, meaning $f$ is not surjective. Running a 32-bit application in Debian Wheezy 64 bits: Missing libraries I want to play the game Aquaria in a Debian Wheezy 64 bits. The installation went ok, but when trying to play the game I get these errors:  ALSA lib conf.c:3314:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so ALSA lib control.c:951:(snd_ctl_open_noupdate) Invalid CTL hw:0 AL lib: alsa.c:1000: control open (0): No such file or directory Message: SDL_GL_LoadLibrary Error: Failed loading libGL.so.1   I have added 32 bit compatibility with dpkg --add-architecture i386 and I think that the required libraries are present in the system since typing locate libasound_module_conf_pulse.so yields:  /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_conf_pulse.so  and locate libGL.so.1:  /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 /usr/lib/x86_64-linux-gnu/libGL.so.1 /usr/lib/x86_64-linux-gnu/fglrx/fglrx-libGL.so.1.2 /usr/lib/x86_64-linux-gnu/fglrx/libGL.so.1   However, it seems that Debian is ignoring them. What can I do to play Aquaria?  EDIT 1: ldd aquaria  linux-gate.so.1 =&gt;  (0xf77e1000) libSDL-1.2.so.0 =&gt; /opt/Aquaria/./libSDL-1.2.so.0 (0xf7748000) libopenal.so.1 =&gt; /opt/Aquaria/./libopenal.so.1 (0xf76fa000) libstdc++.so.6 =&gt; /opt/Aquaria/./libstdc++.so.6 (0xf760d000) libm.so.6 =&gt; /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xf75c3000) libgcc_s.so.1 =&gt; /opt/Aquaria/./libgcc_s.so.1 (0xf75b8000) libc.so.6 =&gt; /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xf7455000) libdl.so.2 =&gt; /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xf7451000) libpthread.so.0 =&gt; /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xf7437000) librt.so.1 =&gt; /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xf742e000) /lib/ld-linux.so.2 (0xf77e2000) I'm trying to write a simple bash function that takes, as its arguments, a number of files and/or directories. It should:   Fully qualify the filenames. Sort them. Remove duplicates. Print all that actually exist. Return the number of non-existent files.   I have a script that almost does what I want, but falls down on the sorting. The return value of the script as it stands is correct, but the output is not (unsorted and duplicates). If I uncomment the | sort -u statement as indicated, the output is correct but the return value is always 0.  N.B. Simpler solutions to solve the problem are welcome but the question is really about why is this occurring in the code I have. That is, why does adding the pipe seemingly stop the script incrementing the variable r?  Here's the script:  function uniqfile {     local r=0       for arg in "$@"     do           readlink -e "$arg" || (( ++r ))      done #| sort -u    ## remove that comment      return $r } find spectrum matrix A Let $A = \left[ \begin{array}{*{20}{c}} 0&amp;b&amp;0&amp;0&amp;0&amp;0\\ c&amp;0&amp;b&amp;0&amp;0&amp;0\\ 0&amp;c&amp;0&amp;b&amp;0&amp;0\\ 0&amp;0&amp;c&amp;0&amp;b&amp;0\\ 0&amp;0&amp;0&amp;c&amp;0&amp;b\\ 0&amp;0&amp;0&amp;0&amp;c&amp;0 \end{array} \right]_{n \times n}$.  Why does matrix $A$ have spectrum $\sigma (A) = \left\{ 2\sqrt {bc} \cos \left(\frac{\pi k}{n + 1}\right):k = 1,2,\ldots,n \right\}$? Attributing contributions to academic work that occur in Stack Exchange