18.04.2 use same files as W10?
How do I access my Windows partition?
We are currently working on a windows based application where users capture data. Some data is captured in a table where other data is captured in text blocks. Im currently faced with the dilemma of how to align contents specifically decimal values.  Editable cells in a grid are indicated with a pencil icon which disappears once in edit mode. You will notice that the table consists of various field types, decimals and text. So what should I do and why?  A> right align all cell content  B> left align all cell content  C> right align only decimal values in cells  D> Whatever else you can suggest Can I load a .NET assembly at runtime and instantiate a type knowing only the name? Is it possible to instantiate an object at runtime if I only have the DLL name and the class name, without adding a reference to the assembly in the project? The class implements a interface, so once I instantiate the class, I will then cast it to the interface.  Assembly name:     library.dll    Type name:      Company.Project.Classname     EDIT: I dont have the absolute path of the DLL, so Assembly.LoadFile won't work. The DLL might be in the application root, system32, or even loaded in the GAC. 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} Why do I get different values for $x from the snippets below?  #!/bin/bash  x=1 echo fred &gt; junk ; while read var ; do x=55 ; done &lt; junk echo x=$x  #    x=55 .. I'd expect this result  x=1 cat junk | while read var ; do x=55 ; done echo x=$x  #    x=1 .. but why?  x=1 echo fred | while read var ; do x=55 ; done echo x=$x  #    x=1  .. but why? What is the purpose of old-school D&D class level limitations? I keep on seeing a fair number of questions (such as ) which get marked as answered within 5-10 minutes of being posted. Sometimes the questions like this are insanely popular and actually see some proper discussion, however often I see questions have few views and only 1 answer. The trouble with these questions is that very few people have scrutinised the answer for correctness, or possibly a better solution. I always make a point of not accepting my answers until a day or so has passed — would it not be a good idea to put a short (1 hour or so) time limit on accepting answers on new questions with few views or votes, or perhaps just an additional confirmation dialog, something along the lines of:  Your question is new and not many people have had a chance to look at it yet.  Are you sure you don't want to wait to see if anyone else has a better suggestion? When are "because", "since","for" and "as" interchangeable? I am not a native speaker. On a previous question of mine, I thanked for an answer by saying:     So the phrase is not an idiom, since it is applied in its literal sense.   I consciously chose since over because, because — well, I like that usage of since, even though I know that some (native speakers) don't like it. Nonetheless, that choice got me thinking for a while, and it occurred to me that I even could have used more alternatives, namely as or for, without changing the meaning.   So, on a general note, here are the alternatives:        Statement A (is true), because statement B (is true).   Statement A (is true), since statement B (is true).   Statement A (is true), as statement B (is true).   Statement A (is true), for statement B (is true).      Are these completely interchangeable? Or interchangeable in certain situations? Or can you point out any (not-so-)subtle differences between any of them? Are there even more synonyms? PHP: how do I copy a temp file upload to multiple places? How do I set a user environment variable? (permanently, not session) Please tutor the usage of patchcmd and xpatch I understand that the  package provides a command \patchcommand that can be used to add material at the beginning and/or end of the replacement text of an existing macro. It works for macros with any number of normal arguments but has limitations for macros with optional arguments.   was introduced to take care of the above limitations as well as provide some additional functionality.   Now, when I try to comprehend the usage of the above packages by reading the user documentations (, ), I get the feeling that they move to implementation details a little too quickly compared to other package documentations. There are not enough explanations or examples.  I also tried to grasp the concepts by reading the  and more or less understood whatever is presented there. However, that is not enough.  So, do you think we can ask for a complete tutorial on the usage of patchcmd and xpatch? Explaining the usage of the relevant commands like \patchcmd, \pretocmd and \apptocmd as well as, \xpatchcmd, \xpretocmd and \xapptocmd with sufficient examples should suffice. Is there a comma needed before quotation? Execute command from file in current shell I want to executed command from file (which is script) in current shell in terminal.  Example: I have file ch_dir contains following:  #!/bin/bash cd /usr   Now if I execute file usually as following then it executes commands in different shell:  pandya@pandya-desktop:~$ ./ch_dir pandya@pandya-desktop:~$   Here cd /user is executed in different shell.  But I want to execute in Current shell. How do I do that?  Note: Here cd is only used to explain. Question's aim is to execute any command in current shell Bootstrap dropdown sub menu missing Why is the Yang–Mills existence and mass gap problem so fundamental? Ref:   Can anyone please explain why the Yang–Mills Existence and Mass Gap problem is so important / fundamental to contemporary mathematics (and, presumably, theoretical / mathematical physics)?  If possible, please include the following in your answer / response:  (1) Why the problem is so fundamental / important - for both mathematics and theoretical / mathematical physics; (2) How the solution to the problem would impact research in the above two fields; (3) (If applicable) What progress has been made so far in resolving it; (references to papers, books, other resources would be helpful).  I'm an upper-level undergraduate in theoretical physics, and so am seeking an answer / response at such level. When and how did "momentarily" come to mean "in a moment", rather than "for a moment"? "Momentarily" used to mean "for a moment" only, and not "in a moment". Thus, newscasters could be divided into two clear groups: those who would say "we'll be back momentarily," and those who would not.  This restriction made sense to me, because having both definitions would promote ambiguity if a unique interpretation could not always be derived from the context. But in recent years it seems "momentarily" is regularly, maybe even more often, used to mean "in a moment" by newscasters of every caliber, and in fact this is even shown to be the definition when looked up in most dictionaries.  When did this word's meaning change? How did it come about? Conditional expectation in AR(1) process Suppose we have a stationary AR(1) process: $Y_{t+1}=a+ \rho Y_{t} + \epsilon_{t+1}$ where $\epsilon_{t+1}$ is white noise with probability density function $\phi(.)$.   Now say we have a equation $P_{t+1}=u\cdot (A_{m}-Y_{t+1})^{+}$ where $(Y_{m}-Y_{t+1})^{+}$ = $ \max \{(A_{m}-Y_{t+1}),0\}$ and $u$ is a constant.  So $P_{t+1}=u\cdot(A_{m}-a-\rho Y_{t}-\epsilon_{t+1})^{+}$.   Can we write $E[P_{t+1} \mid Y_{t}]= u\cdot \int_{-\infty}^{(A_{m}-a - \rho Y_{t})}(A_{m}-a-\rho Y_{t}-\epsilon_{t+1})\phi(\epsilon_{t+1})d\epsilon_{t+1}$ ? Is there a way to disable the hotkeys? I navigate with Ctrl-n,p,f,b (readline/ keys), so that I don't have to move my hands too much and get  again. Is there a way to disable Ctrl-b being hotkey for bold?  Note that this is not just an Emacs thing. Standard web browsers, like Firefox and Chrome, use things like  Ctrl + K and Ctrl + L to navigate to the Google search bar and address bar respectively. Why is "the set of all sets" a paradox, in Layman's terms? I've heard of some other paradoxes involving sets (i.e., &quot;the set of all sets that do not contain themselves&quot;) and I understand how paradoxes arise from them.  But this one I do not understand. Why is &quot;the set of all sets&quot; a paradox?  It seems like it would be fine, to me.  There is nothing paradoxical about a set containing itself. Is it something that arises from the &quot;rules of sets&quot; that are involved in more rigorous set theory? Why the galaxies form 2D planes (or spiral-like) instead of 3D balls (or spherical-like)? Question: As we know, (1) the macroscopic spatial dimension of our universe is 3 dimension, and (2) gravity attracts massive objects together and the gravitational force is isotropic without directional preferences. Why do we have the spiral 2D plane-like Galaxy(galaxies), instead of spherical or elliptic-like galaxies?   Input: Gravity is (at least, seems to be) isotropic from its force law (Newtonian gravity). It should show no directional preferences from the form of force vector $\vec{F}=\frac{GM(r_1)m(r_2)}{(\vec{r_1}-\vec{r_2})^2} \hat{r_{12}}$. The Einstein gravity also does not show directional dependence at least microscopically.  If the gravity attracts massive objects together isotropically, and the macroscopic space dimension is 3-dimensional, it seems to be natural to have a spherical shape of massive objects gather together. Such as the globular clusters, or GC, are roughly spherical groupings , as shown in the Wiki picture:     However, my impression is that, even if we have observed some more spherical or more-ball-like , it is more common to find more-planar  such as our ? (Is this statement correct? Let me know if I am wrong.)  Also, such have a look at this more-planar Spiral "galaxy" as this NGC 4414 galaxy:    Is there some physics or math theory explains why the  turns out to be planar-like (or spiral-like) instead of spherical-like?  See also a   p.s. Other than the classical stability of a 2D plane perpendicular to a classical angular momentum, is there an interpretation in terms of the quantum theory of vortices in a macroscopic manner (just my personal speculation)?  Thank you for your comments/answers! How should I phrase a question that must be answered with an ordinal number (e.g., the third prime)? I want to make a question having an answer as follows:     5 is the third prime number.   The bold part is the answer. How to phrase the question?