colored arrow in xy package
Coloring arrows in \xymatrix
Personalize monitor position before login I'm using multiple monitors.  When logged in everything is fine: The left monitor is positioned to the left and the right monitor is positioned to the right, but before I log in, the login-screen positions them the other way around.  This is also the position presented by bios and then the grub menu.  I don't mind where the login is displayed, but when moving the mouse, the boundary is the wrong way around and that's annoying. How do I press Ctrl+Alt+Delete in VirtualBox? I'm running VirtualBox with Windows Vista as host OS and Windows Server 2008 as guest OS. To login to Windows Server I have to press Ctrl+Alt+Delete, but my host OS reacts on that so I can not send it to VirtualBox. How can I do it? Similar to my old question about  are there any limits to the animal forms an Animagus can be?     We know that the animal form can be much smaller than human (cat, rat, beetle) so I don't think size is a factor.   I'm not aware of any Animagus who transforms into a magical creature (e.g. unicorn or phoenix) so maybe those aren't possible.   Ultimately, what I'd like to know is whether there could be a T-Rex Animagus... (prompted by ) Storing hard crusted bread I'm currently baking a batch of sourdough bread. My last batch turned out perfectly with a hard crust and chewy inside. My problem is how to store the bread such that the crust stays hard. If I put it in a plastic bag the crust goes soft in a matter of hours and I'm afraid that the bread will turn dry if I leave it without some kind of protection. Note that I'm not looking for a long term storage solution.  What is the best way to store my bread, such that the crust stays hard and the inside stays chewy? How to execute sudo commands with Expect & send commands in bash script? I wrote a DLL in .NET and I want to access it in VBScript. I don't want to add it to the assembly directory.   Is there a way to point too the DLL and create an instance of it? Is a DNA molecule a single strand of polynucleotide or two of them linked together? I just upgraded to Ubuntu 18.04 but the UI did not change at all. For example I don't have the full screen app launcher; it's the same as it was back in 16 and 17. No notification center etc.   Do I need to somehow opt in? What is the quantum mechanical explanation of the octet rule? What is the quantum mechanical explanation of the ? In other words, what makes the octet rule be true from a quantum mechanical view? How we explain  what makes some atoms don't follow the octet rule using QM? TL:DR Smart guides aren't accurate - even though the snap, (end up causing more problems in the long run) is there a way to fix it?  Maybe there are some settings that I'm missing (need to be changed)    I use my smart guides all the time (and am overall pleased with them). I do have my issues with it, as explained here:  A lot of times, when I'm trying to make a bunch of triangles like this:    Done by making a triangle, cloning, flipping, rotating etc. Repeat until full  (Perfect) Snapping using Smart Guides    Ends up looking likebetween the triangles (Outline Mode)    Now I personally (with a strong attention to detail) will notice that there is something off after making just 1 or 2 triangles (Even before outline mode... strokes look oh so slightly thicker/off)   And then I check in outline mode... and sure enough:    Notice the line spaces (and this is in outline mode, so if I didn't notice it before, now it's sitting right in front of my nose)  The way I (seemingly) "fixed" the first image was by adding in a thick stroke outline so that masks out the difference, however, in a lot of my cases I don't want to have a stroke at all (and then you really notice the problems). How do I get a file extension in PHP? This is a question you can read everywhere on the web with various answers:  $ext = end(explode('.', $filename)); $ext = substr(strrchr($filename, '.'), 1); $ext = substr($filename, strrpos($filename, '.') + 1); $ext = preg_replace('/^.*\.([^.]+)$/D', '$1', $filename);  $exts = split("[/\\.]", $filename); $n    = count($exts)-1; $ext  = $exts[$n];   etc.  However, there is always "the best way" and it should be on Stack Overflow. For example:  "Last week, I found out that NASA stands for 'National Aeronautics and Space Administration.'"  or  "Last week, I found out that NASA stood for 'National Aeronautics and Space Administration.'" Why should I use the keyword "final" on a method parameter in Java? Expected time to roll all 1 through 6 on a die What is the average number of times it would it take to roll a fair 6-sided die and get all numbers on the die?  The order in which the numbers appear does not matter.  I had this questions explained to me by a professor (not math professor), but it was not clear in the explanation.  We were given the answer $(1-(\frac56)^n)^6 = .5$ or $n = 12.152$  Can someone please explain this to me, possibly with a link to a general topic? Find where java class is loaded from Does anyone know how to programmaticly find out where the java classloader actually loads the class from?    I often work on large projects where the classpath gets very long and manual searching is not really an option.  I recently had a  where the classloader was loading an incorrect version of a class because it was on the classpath in two different places.  So how can I get the classloader to tell me where on disk the actual class file is coming from?  Edit: What about if the classloader actually fails to load the class due to a version mismatch (or something else),  is there anyway we could find out what file its trying to read before it reads it? Let $X$ be a smooth projective variety over $\mathbb{C}$, then the Neron-Severi group $NS(X)$ of $X$ is defined to be the Picard group of $X$ modulo algebraically equivalent relations.   On the other hand, by the exponential sequence, there is a first Chern class map  $$c_1: {\rm Pic}(X) \to H^2(X, \mathbb{Z}).$$ It is claimed that the image of $c_1$ coincides with $NS(X)$.   I want to know why this is true. Any suggestion or reference is greatly welcome! Case-insensitive string comparison in C++ What is the best way of doing case-insensitive string comparison in C++ without transforming a string to all uppercase or all lowercase?  Please indicate whether the methods are Unicode-friendly and how portable they are. Can python send text to the Mac clipboard resetPassword problem for enterprise users when called from a community? I'm working within a custom application in a customer community that is used by both community-license users and Salesforce enterprise users.  There is a custom Visualforce page where an application admin can select a user and reset the password.  The VF Controller is using the standard System.resetPassword() method.  We are finding that when an enterprise user receives this password reset email, the user can't get to the expected password reset page.  Instead, it eventually redirects to the community login screen.  The password reset URL for these enterprise users is based on the community's URL, and it seems that these users cannot change password through the community -- it has to be through the enterprise URL, like what you get when you reset password via Setup.  Has anyone run into this and found a workaround?  (Of course community users have no trouble with password resets through this Visualforce page.) I have a homework question that asks     Find necessary and sufficient conditions on $1 \leq i &lt; j \leq n$ so that $(i \, j)$ and $(1 \, 2 \, \dotsc \, n)$ generate $S_n$.   Here is what I have done so far.  Call $c = (1 \, 2 \, \dotsc \, n)$.  I made the observation that $$ \overbrace{c c \dotsb c}^{n - j + 1} (i \, j) \overbrace{c^{-1} c^{-1} \dotsb c^{-1}}^{n - j + 1} = (1 + i - j + n \, 1). $$ Thus, $\langle (i \, j), c \rangle = \langle (1 \, i - j + n + 1), c \rangle$, so it suffices to look at $\langle (1 \, k), c \rangle$ for positive integers $2 \leq k \leq n$.  I've checked that, for the value $k=2$, $\langle (1 \, 2), c \rangle = S_n$.  This immediately implies $\langle (1 \, n), c \rangle = S_n$.  I suspect that no other values of $k$ will work, but am not sure how to prove it.