Alright, so I'm constantly switching between Windows and Linux, and I'd love to be able to just switch whenever I need without a full reboot, and after a bit of research I came up with xen.  I found the community documentation , and it seems pretty straightforward, I just need to know if it will work for a normal desktop build as-is (from my limited understanding, the document seems to be aimed for servers), or if it needs a bit of modification.  Also, am I correct in thinking that I'll be able to boot both at the same time, and just switch between both Ubuntu (13.10 I think) and Windows 8? (With some performance impact)  On a side note, if somebody could also tell me (in the comments) if the amd fx-6300 is compatible with xen, that would be great. (It does support virtualization, but I know with intel, there is Vt-d and Vt-x, and I'm not sure if it matters with AMD though..)
I'm wanting to use Xen Hypervisor to be able to run both Ubuntu 12.04 and Windows 7 at the same time using virtualization. I can find plenty of XCP tutorials but I'm not looking to install the cloud stack, I just want the server confined to my machine.  All I need is a link to a decent tutorial for this purpose. I've read a ton of articles that lead me to believe I'm on the right track, but not enough to feel comfortable getting it right if I just dive in. I'm getting caught up on whether I need to install Ubuntu and then install Xen into it, or do I need to install Xen on a small partition and then leave the rest of the hard drive open for the virtualization... I dunno.  Basically, I need the virtualization of Windows 7 for Adobe Premiere and After Effects (until Lightworks for Linux comes out and I can afford NUKEX). If I didn't need those, I'd be rocking out a straight up Ubuntu machine or just using VirtualBox for my virtualization. However, I need Windows to run as an HVM so it runs like I would expect rather than having the issues I may run into with VirtualBox (video drivers, etc).  So, any suggestions?
How many attacks can a fighter with two-weapon fighting make at 5th level? I have a 5th level fighter with the Two-Weapon Fighting fighting style.   What is the number of attacks I can make?   I say 4 attacks, but others say 3 because they say the rule on page 72 states that I get (only) 1 extra attack. My son is almost 3 (33 months) and for the past few months, he has been holding his poop in, to the point that he won't go for many days a time. When this started, the doctor advised us to give him Miralax to make his stool softer so it comes out more easily. Even with the Miralax, he still managed to hold it for two days at a time sometimes, but at least it was coming out at all, so we continued with it.  Anyway, we've been giving him the Miralax for months now, and now he's (supposed to be) going to preschool in September, which of course requires that he be potty trained. We don't want to hold him back since he's developmentally ready otherwise, so we started potty training a few weeks ago.  He picked up the potty training really quickly – for peeing – but he still holds his poop in no matter what. If he's sitting on the potty, as soon as he's about to do it, he stands up and just keeps holding it in (and once he starts to stand, if we even so much as ask him to sit back down, he screams and cries).  We have tried everything to convince him (or distract him enough) to sit and poop: reading books, singing songs, playing games, playing with toys, offering him snacks/treats (graham crackers), giving him stickers, etc. Nothing works.  As of today, it has been a week since the last time he pooped, with the exception of a little bit today and a little bit yesterday (both of which ended up all over the bathroom floor since he won't sit down). The doctor says now we should give him an enema to force it all to come out, but even so, that won't solve anything going forward since he still won't go in his diaper or on the potty in the first place (what are we going to do, give him an enema every week, indefinitely?).  The issue isn't that he's scared of the potty itself, since (a) he was holding it before we started potty training, and (b) he knows exactly what he's supposed to do, since he has no problem with peeing (he sits down himself, points it out afterward, knows that it gets emptied into the big potty, etc.).  It's that he just won't poop, ever – not in his diaper, not on the potty – and the only reason why anything comes out at all is because we've been giving him the Miralax every day (and even then, these aren't "full" poops, just whatever happens to come out because it's soft enough that he's unable to hold it all in).  I'm at a complete loss as to why this even started, and what if anything we can do that would actually help. Is it a behavioral problem? Medical? Both?? Help!    UPDATE: I just wanted to update this question since a lot has changed since I originally posted it. We discovered there was a specific situation where he would go in his diaper voluntarily: in our bedroom closet with the door closed. So we knew then that the withholding was intentional, since it was now established that he could go if he wanted to.  So we let him continue going in the closet and, over time, found that he usually went around the same time each day. Based on that, we then had him sit on the potty when we knew it was most likely he would need to go. We also managed to find two things that distracted him enough to sit (blowing bubbles and playing with his toy laptop).  By doing this, we were able to get him to go on the potty without really realizing it (so he didn't try to fight it), and then made a big deal out of it every time he did. Over time, that helped establish that that's what he was supposed to do, and now he does so voluntarily. He hasn't pooped in his diaper in probably 3 weeks by now.  I wouldn't say he's "fully" potty trained, in that an adult still needs to go with him and distract him (and occasionally remind him when he needs to go in general), but finally we made progress. How to log commands within a "sudo su -"? If I:   [user@notebook ~] sudo echo 123456uu 123456uu [user@notebook ~]    Then I can see that in the logs:  [root@notebook /var/log] grep 123456uu * auth.log:Jan  9 17:01:51 notebook sudo: user : TTY=pts/3 ; PWD=/home/user ; USER=root ; COMMAND=/bin/echo 123456uu [root@notebook /var/log]    but if I:   [user@notebook ~] sudo su - [root@notebook ~] echo 1234567zz 1234567zz [root@notebook ~]    I cannot see it in the logs:   [root@notebook /var/log] grep 1234567zz * [root@notebook /var/log] echo $? 1 [root@notebook /var/log]    My question: How can I turn the logging on for the commands within the "sudo su -"?  OS is an Ubuntu 12.04 but the question is in general.   UPDATE#1:   [user@notebook ~] sudo su - [sudo] password for user:  [root@notebook ~] echo zizizi zizizi [root@notebook ~] cd /var/log [root@notebook /var/log] grep -iIR 'zizizi' * [root@notebook /var/log] grep 'COMMAND=/bin/su -' * auth.log:Jan 10 15:42:42 notebook sudo: user : TTY=pts/1 ; PWD=/home/user ; USER=root ; COMMAND=/bin/su - [root@notebook /var/log] How to find a 4D vector perpendicular to 3 other 4D vectors? In 3 dimensions it is possible to find a vector c (one of infinitely many) perpendicular to two vectors a and b using the cross product. Is there any way of extending this to 4 dimensions, i.e. given three vectors a, b, and c finding a vector d perpendicular to all of them?  I realize that this can be done by solving the equation system:  dot(a, d) = 0 dot(b, d) = 0 dot(c, d) = 0   and imposing an additional constraint, for instance setting the length of d to or one of its components to 1, but is there a way of doing this that does not involve solving an equation system? With me going it alone in development I only have limited resources at my disposal i.e one pc with which I develop and test the game. so I only know for certain my game works with that setup.  What options have I got in testing the game on the many different hardware/operating system combinations? Its a windows desktop game. How can I use std::maps with user-defined types as key? Dynamically update a graphic object in Mathematica What's the easiest way to install a missing Perl module? I'm trying to find the probability of getting 8 trials in a row correct in a block of 25 trials, you have 8 total blocks (of 25 trials) to get 8 trials correct in a row. The probability of getting any trial correct based on guessing is 1/3, after getting 8 in a row correct the blocks will end (so getting more than 8 in a row correct is technically not possible). How would I go about finding the probability of this occurring? I've been thinking along the lines of using (1/3)^8 as the probability of getting 8 in a row correct, there are 17 possible chances to get 8 in a row in a block of 25 trials, if I multiply 17 possibilities * 8 blocks I get 136, would 1-(1-(1/3)^8)^136 give me the likelihood of getting 8 in a row correct in this situation or am I missing something fundamental here? How do you format the day of the month to say "11th", "21st" or "23rd" (ordinal indicator)? Virtual functions and performance - C++ In my class design, I use abstract classes and virtual functions extensively. I had a  feeling that virtual functions affects the performance. Is this true? But I think this performance difference is not noticeable and looks like I am doing premature optimization. Right? Suppose $n$ divides $3^n + 4^n$. Show that $7$ divides $n$. Suppose $n \geq 2$ and $n$ is a divisor of $3^n + 4^n$. Prove that $7$ is a divisor of $n$.  My work so far:  I had a hypothesis that if $n| 3^n + 4^n$, then $n = 7^k$ for some $k\in\mathbb{N}$. But this is not necessarily so. Take $n = 7⋅379$, where $3^7 + 4^7 = 7^2⋅379$. Then, $3^7+4^7$ divides $3^n + 4^n$, and since $n$ divides $3^7+4^7$, we must have $n|3^n+4^n$. Bevel not...beveling properly I'm taking a course and the instructor has beveled an edge and I cannot get the same result. My bevel only bevels on segment on one side then the rest, about 4 or 5 segments bevel on the other side. Other words the bevel is not beveling evenly on the top of a cylinder. Pictures below Building a graph from OSM? I spent days looking in all questions here and trying tutorials. I need to build a graph for a region (It will be my input in simulation) I downloaded Postgresql and Postgis and osm2pgsql. Now i can load .osm files into a database. I want to have a complete database with roads ids so i can generate a table of edges and nodes then build my graph  nodes = intersections and edges = roads for a city using python.  Please any detailed help with steps.I saw a lot of keywords (Postgresql/postgis, Networkx, QGIS ..) but i couldn't manage to assemble a good tutorial  I am a very beginner. How to configure lightdm to allow manual logins in Ubuntu 14.04 I used to modify /etc/lightdm/lightdm.conf, adding the line greeter-show-manual-login=true, in order to allow login for hidden users and root.  Now I've just installed the new Ubuntu 14.04 and the file lightdm.conf is no longer located in /etc/lightdm. It's in /etc/init and has been totally modified.  How can I force lightdm login screen to show a field to input a login name? Match the size of multiple background images In  tutorial in the first couple of minutes it is explained how to set the dimensions of a cube and match the background images to this mesh. I have tried to get it right but till now I did not succeed. This is what the creator of the tutorial says in the comments:      I'm keeping only one mesh and just changing the x and y values of my   background images you can see me add at 3:00. We want all the   background images to match that one mesh.   Here are my images:     I think front and back images match to the mesh. But for the right, left and top view I only get one dimension matching. I don't see how you can match both dimensions matching without changing the mesh Copying unicode symbols from Firefox address bar as is Let's say I open a webpage with some Unicode characters, say, Cyrillic, in the address like this:        When I try to copy it from the address bar somewhere else, it becomes unreadable rubbish:        I guess this is for compatibility. However for readability I want to copy it straight away with proper Unicode characters.  What and how should I tweak to make that possible?  Edit: The answers are good, but they are hacky. Are there any settings in about:config? What is the best way to detect if a user leaves a web page?  The onunload JavaScript event doesn't work every time (the HTTP request takes longer than the time required to terminate the browser).  Creating one will probably be blocked by current browsers. Start Mathematica without the menu bar? Alternate proofs (other than diagonalization and topological nested sets) for uncountability of the reals? I recently started studying set theory and am having quite a bit of difficulty accepting Cantor's diagonal proof for the uncountability of the reals. I also saw a topological proof via nested sets for uncountability which still does not satisfy me completely, given that just like the diagonal it relies on a never ending process. In fact, the nested sets proof sounds very much like the diagonalization proof to me.  Do all proofs of the uncountability of the reals involve diagonalization? Are there any other proofs I can look at to understand? I couldn't find any on searching stack exchange. Thanks.