Is there a way to fully restart a Mathematica session from the front end?
How do I clear all user defined symbols?
I've tried to read and understand this:   As a test, since my layout is "Polish, programmer" in the /usr/share/X11/xkb/symbols/pl file I played with remapping the 'q' character to 'x', and it worked just fine.  But what I want, is to remap LWIN (Left Super) to Left Control.   So I tried this: I started editing /usr/share/X11/xkb/symbols/pc file, assuming this is the 'root' of all the other files. Commented out this line:  //key &lt;LWIN&gt; {  [ Super_L       ]   };   and added this one:  key &lt;LWIN&gt; {    [ Control_L     ]   };   and rebooted PC, with no success. I.e. LWIN + C, doesn't copy selected text in text editors to clipboard, instead it just produces the 'c' letter. In the terminal instead of stopping current programm it also just produces the 'c' letter.  Here is my config file:   When I try the xev command and then press the Left Control Key, I see this:  KeyPress event, serial 40, synthetic NO, window 0x5a00001,     root 0x7e, subw 0x0, time 1053321, (374,-259), root:(374,545),     state 0x0, keycode 133 (keysym 0xffe3, Control_L), same_screen YES,     XKeysymToKeycode returns keycode: 37     XLookupString gives 0 bytes:      XmbLookupString gives 0 bytes:      XFilterEvent returns: False  KeyRelease event, serial 40, synthetic NO, window 0x5a00001,     root 0x7e, subw 0x0, time 1053425, (374,-259), root:(374,545),     state 0x0, keycode 133 (keysym 0xffe3, Control_L), same_screen YES,     XKeysymToKeycode returns keycode: 37     XLookupString gives 0 bytes:      XFilterEvent returns: False   BTW. Ask ubuntu suggests me two links to similar questions, but they are old, and suggest using xmodmap, and afaik it's no longer correct answer on Ubuntu >= 16.04 (Xenial) and this is precisely the version I have.  BTW2. I would really like to avoid using apps like Xbindkeys, considering there is a built in solution, which I guess I almost understand, and already spent some time on trying to understand it. Are the floor functions of $0.999\cdots$ and 1 equal?  It is true that $0.999\cdots=1$ but how does one justifies the integer part of $0.999\cdots$ being 1 , where it is not, or alternatively without using $0.999\cdots=1$ how can we show that  $\lfloor0.999\cdots\rfloor = \lfloor 1 \rfloor$ ? I have a set of surround speakers, connected to my iMac through the headphone jack. I use a switch to control what goes to the speaker set (iMac, iPod, or MacBook/aux). So that I don't have to be constantly unplugging and replugging, I leave the audio cable in the iMac's audio port. This means that when I'm listening to something from another source, I can't hear anything from the iMac unless I unplug the cable.  Is there a way to force sound to come out of the internal speakers, even if there's something in the audio out port? Java - Splitting a CSV file into an Array How can I stop the symbolic x coords to be plotted twice? I have created a bar diagram similar to:   But at a certain width the symbolic x coords are plotted twice. How can I manage the x axis correctly?  Here is my mini example:  \documentclass[12pt,a4paper,]{scrartcl} \usepackage{a4wide} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} \usepackage{graphicx} \usepackage{tikz} \usepackage[miktex]{gnuplottex}  \usepackage{pgfplots}    \begin{document}     \begin{figure}         \begin{tikzpicture}         \begin{axis}[%         width=1\linewidth,         height=0.5\linewidth,         axis x line=center,         axis y line=left,         symbolic x coords={CP-Schelle,Mistel-Schelle V2,Mistel-Schelle V4,Mistel-Schelle V4.2D,Gewickelt nach Inspire},         enlargelimits=true,         ymin=0,         nodes near coords,         x tick label style={         font=\small,         text width=1cm,         align=center         },         ybar]         \addplot[color=gray, fill] coordinates {(CP-Schelle,1.000)};         \addplot[color=blue, fill] coordinates {(Mistel-Schelle V2,2.459)(Mistel-Schelle V4,3.318)(Mistel-Schelle V4.2D,2.243)(Gewickelt nach Inspire,1.782)};         \end{axis}         \end{tikzpicture}     \end{figure}      \begin{figure}         \begin{tikzpicture}         \begin{axis}[%         width=0.6\linewidth,         height=0.5\linewidth,         axis x line=center,         axis y line=left,         symbolic x coords={CP-Schelle,Mistel-Schelle V2,Mistel-Schelle V4,Mistel-Schelle V4.2D,Gewickelt nach Inspire},         enlargelimits=true,         ymin=0,         nodes near coords,         x tick label style={             font=\small,             text width=1cm,             align=center         },         ybar]         \addplot[color=gray, fill] coordinates {(CP-Schelle,1.000)};         \addplot[color=blue, fill] coordinates {(Mistel-Schelle V2,2.459)(Mistel-Schelle V4,3.318)(Mistel-Schelle V4.2D,2.243)(Gewickelt nach Inspire,1.782)};         \end{axis}         \end{tikzpicture}     \end{figure}  \end{document} How to remember whether box is checked or unchecked (on click) with localstorage and also save a value? Recovering eigenvectors from SVD Find the equation of a plane containing a point and passing through a line Find the general form equation of a plane that contains the point $(2, -2, 1)$ and passes through a line $(x, y, z) = (1, 2, -3) + t(2, -3, 2)$.  I managed to use the fact that it contains a given point to write the equation of the plane as $A(x-2) + B(y+2) + C(z-1) = 0$ but got stuck there. When rolling percentages, do 1d100 and two d10s (percentiles) share the same probabilities? I know d100s are shunned because they take too much time to roll, and 1d10+1percentile is really fun, but do they share the same probabilities? Is it better to use a (digital) d100?  Also, do d100s have 0? You can't roll a 0 with percentiles, I think. Even if many interesting similarities between the classical and the quantum mechanical framework have been worked out, e.g. in the subject of deformation quantization, in general, there are some mathematical problems. And in the conventional formulation, you don't want to make things like $\hbar\rightarrow 0$ for the expression $P=-\text i\hbar\tfrac{\partial}{\partial x}$.   In special relativity there are many formulas where one optains the non-relativistic formula by taking the naive limit $c\rightarrow \infty$, e.g.  $$\vec p=\frac{m\vec v}{\sqrt{1-|v|/c}}\ \rightarrow\ \frac{m\vec v}{\sqrt{1-0}}=m\vec v.$$  I wonder if it is know that you can always do that. Is there a formulation of special relativity (maybe it's the standard one already), where the starting assumptions/axioms/representations of objects of discourse involve the constant $c$, and as you take them with you to do all the standard derivations, you always end up with results which reduce to the Newtonian mechanics if you take that limit? Variables losing their values How to get Scilab 6.0.1 working on Ubuntu 18.04 LTS? I have installed clean Ubuntu MATE 18.04 LTS and installed Scilab from repository here with    sudo apt-get update sudo apt-get install scilab   After installation I tried to launch it from GUI (Applications → Other → Scilab) - it does not start. Then I tried to launch it from terminal with scilab command. Terminal output is as follows:  $ scilab /usr/bin/scilab-bin: error while loading shared libraries: libjava.so: cannot open shared object file: No such file or directory   so it can't find Java. I reported  about this problem.  I checked existence of libjava.so:  $ dpkg -S libjava.so   openjdk-11-jre-headless:amd64: /usr/lib/jvm/java-11-openjdk-amd64/lib/libjava.so   so it is in place.  What should I do to get Scilab 6.0.1 working on Ubuntu 18.04 LTS? Why $f(x) = \sqrt{x}$ is a function? Displacement currents, aren't really currents? How to carry audio over SSH? Is there a way to carry audio over ssh?   Say after connecting to remote machine through ssh -X I opened a browser and want to watch a youtube video. Currently I could only able to watch the video without any audio. But I want to hear the audio too. How to do that? A word for a worldly wise person who pretends to be naïve? What is a word for someone who is experienced and wise, but who deliberately acts naïve?    I don’t intend it for sarcastic use; I’m trying to describe someone succeeding in making people think that that person truly is naïve.   Is there a word for this? How can we close questions with bounties? I just encountered , which is very cute and funny and has nothing to do with programming.  I tried voting to close, but was informed by the system that I can't do that when there's a bounty on the question.  So, since there's a seven-day bounty, this will remain open for at least a week.  I really don't care what happens to the bounty rep, I just want to be able to close questions that are thoroughly inappropriate although not offensive. Is there a way to get "people reached" sum across entire network for a user? The New Model profiles on Meta.SE (pretty big improvement!) have a section for "" stat.  Now, unless I'm much mistaken, that stat is specific to a given site on the network.  If that assumption is indeed correct, is there a way to find out the "People Reached" summary across 100% of the sites on the network for all your connected profiles? I've been writing C and C++ code for almost twenty years, but there's one aspect of these languages that I've never really understood. I've obviously used regular casts i.e.  MyClass *m = (MyClass *)ptr;   all over the place, but there seem to be two other types of casts, and I don't know the difference. What's the difference between the following lines of code?  MyClass *m = (MyClass *)ptr; MyClass *m = static_cast&lt;MyClass *&gt;(ptr); MyClass *m = dynamic_cast&lt;MyClass *&gt;(ptr); I am developing a PHP application in which I am in need to store values bigger than 1 million, but with the flexibility of having floating points. I know the traditional float and double. I am looking to store only up to two decimal points, and will only handle operations with numbers that have 2 decimals exclusively.  I have chosen my column type of double and unsigned, but whenever I store a row with a value bigger than one million, it gets truncated to 999999.99  Why is this? I am looking for the right datatype/solution. If you could point me in the right direction, I will appreciate it a lot!  Thank you for your time in advance!  Cheers.