How to partition active memory in Ubuntu ?  These are the details :-      I want to make partition just like windows of this 465 GB harddisk. How can I make it ?
Previously, I have installed Windows 7 on my 320 GB laptop with three partitions 173, 84 and 63 GB each. The 63 GB partition was where the Windows was installed. The rest were for file containers.  Now I changed my OS to Ubuntu 12.04 LTS. I installed Ubuntu by replacing the entire Windows 7 on the 63 GB partition. The rest of the partitions remain as an NTFS Windows partition and I can still access them both (the 173 and 84 GB partitions).  Now I want to change the two partitions of Windows into an Ubuntu format partitions plus most importantly, I want to extend the 63 GB partition to more than a 100 GB because at the moment I am running out of disk space. Whenever I try to install any application, especially using wine, it always complains for a shortage of disk space.  How do I do the extending activity before I entirely format my laptop again and lose all the important files on my partitions?
pyvenv vs venv vs python-virtualenv vs virtualenv and python 3 malikarumi@Tetouan2:~$ pip install virtualenv     Collecting virtualenv     Downloading virtualenv-12.0.7-py2.py3-none-any.whl (1.8MB)     100% |################################| 1.8MB 330kB/s   malikarumi@Tetouan2:~$ pip freeze     (a lot of stuff, but not virtualenv)  malikarumi@Tetouan2:~$ virtualenv testvenv1     The program 'virtualenv' is currently not installed. You can install it by typing:     sudo apt-get install python-virtualenv   What is going on here? is python-virtualenv == pyvenv? Isn't that still broken? Does original virtualenv still work with python? if venv (too many name variations!!!) is part of the standard library, , why am I being told to install it?  And when I did try to install it, I got:  malikarumi@Tetouan2:~$ sudo apt-get install python-virtualenv     Reading package lists... Done     Building dependency tree            Reading state information... Done     The following extra packages will be installed:     python-colorama python-distlib python-html5lib python-pip python-setuptools   At which point I aborted, because installing python3-pip just before that had given me   Setting up python3-setuptools (3.3-1ubuntu1) ... Setting up python3-pip (1.5.4-1) ...   And I wasn't sure if the extra packages would overwrite them or go onto python 2.7.  I read that python 3 is supposed to be the default going forward. Since both 2.7 and 3.4 are there, and have separate commands, how do I not only make sure Python 3 is my default, but that anything I install goes there and is used by it instead of 2.7?   BTW, I tried sudo apt-get python3-virtualenv and got: E: Unable to locate package python3-virtualenv Sql Server string to date conversion I want to convert a string like this:  '10/15/2008 10:06:32 PM'   into the equivalent DATETIME value in Sql Server.  In Oracle, I would say this:  TO_DATE('10/15/2008 10:06:32 PM','MM/DD/YYYY HH:MI:SS AM')    implies that I must parse the string into one of the , and then convert using one of those codes.  That seems ludicrous for such a mundane operation.  Is there an easier way? In my , I provided the following, problematic,  wording (especially bold italic), and I need help to better understand this issue so I can fix my answer:1          The thing is the books. (Reduced form of Sentence 2.a)         Fundamentally, Sentence 2.a (the so-called "correct" answer), is grammatically defective. Recall there is another grammatical rule: the subject and subject's complement should match in number.    A clarification is needed here. I am not suggesting here, in this EL&amp;U question, that there is any such singular grammatical rule as indicated in the quote above.  The quote continues as follows:     The reduced sentence makes the disagreement between the subject's and complement's plurality obvious. What is one to do? Language is linear and we know "The thing is X" is better than "The thing are X", so we go with the former, which is the subject-verb agreement rule. But what is "the books" then? It must be thought of as a collective noun, even if it doesn't look or feel like one. Forcing something to be a collective noun is related to the idea of notional agreement.   Others noted that grammatically defective is too strongly worded.  There is no such "grammatical rule" for subject/complement agreement.  Please help me understand/improve upon my line of thought here.  I'm stating that Sentence 2.1 presents a fundamental "conflict" or "error" (however one might define error) at some level (morphological, syntax, grammatical, semantic):     The thing is the books.  (Or, "The thing is the objects.")   Based on the "obvious" morphosyntactic plurality conflict, the above sentence feels so wrong that I think many native speakers would think it "simply" grammatically incorrect. However, @F.E. gives counter examples:     And here are some more grammatical examples, where the number of subject and predicative complement don't agree: "They were a problem to us all", "That so-called work of art is simply four pieces of driftwood glued together" (CGEL, page 254-5). As CGEL says: "What is required is semantic compatibility, not syntactic agreement . . .". There are more examples on page 512: "The only thing we need now is some new curtains", "The major asset of the team is its world-class opening bowlers", "Our neighbors are a nuisance", "This gadget is five different tools in one".   I think all the examples given above can be explained as notional agreement.    Question 1: If we explain this phenomena in terms of notional vs syntactic agreement, where does "grammatically correct/incorrect" fit in?  Question 2: Can a simple sentence such as "The thing is the objects." be grammatically incorrect while more complex sentences such as "The thing is four pieces of driftwood glued together." be grammatically correct?  (The answer, in my mind, must be no; this is my conundrum.)  Question 3: Would it be better to say that Sentence 2.a has a low level of (linguistic) ?   Question 4: How about a low level of  and that it's semantically difficult to be (linguistically) ?    Question 5: Do we simply draw a hard line and say "The thing is the objects." is 100% grammatically correct?  I didn't particularly like this option based on intuitive notions of "grammatically correct".    1. Please help me and be kind; I'm trying to improve my understanding. I'm looking for cool, objective advice on how to look at this.  I numbered my questions so they can be easily referenced, if desired.  My preference is the final answer would sufficiently answer all the questions, but of course that can be done explicitly or implicitly. How to show that $|D_{2n}| = 2n$ via the presentation? Using Virtual Box, how can I install an OS to a secondary, physical disk, and boot it in both (at separate times) Virtual Box, and as a typical secondary OS install? Why I have this error when I try to install this old blog on my local webserver? I am pretty new to WP (I came from Joomla) and I am finding some difficulties trying to put on my local web server an old backup of a website (made using WP 3.5)  I have performed the following operation:  1) I have put the website backup into a directory named blog into my Apache www directory on my Ubuntu local system.  2) Then I have put the database backup on my MySql local server  3) Finally I have change the values in the wp-config.php file to use my local DB  The problem is that when I try to open the URL to see the website I see noting (a white screen)  Into the Apache log file (/var/log/apache2/error.log) I found the following errors messages:  [Fri Jan 10 22:04:50 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.9 with Suhosin-Patch configured -- resuming normal operations [Fri Jan 10 22:05:08 2014] [error] [client 127.0.0.1] PHP Warning:  require_once(/var/www/blog/wp-load.php): failed to open stream: No such file or directory in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:05:08 2014] [error] [client 127.0.0.1] PHP Fatal error:  require_once(): Failed opening required '/var/www/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:38:37 2014] [error] [client 127.0.0.1] PHP Warning:  require_once(/var/www/blog/wp-load.php): failed to open stream: No such file or directory in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:38:37 2014] [error] [client 127.0.0.1] PHP Fatal error:  require_once(): Failed opening required '/var/www/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:38:38 2014] [error] [client 127.0.0.1] PHP Warning:  require_once(/var/www/blog/wp-load.php): failed to open stream: No such file or directory in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:38:38 2014] [error] [client 127.0.0.1] PHP Fatal error:  require_once(): Failed opening required '/var/www/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:38:39 2014] [error] [client 127.0.0.1] PHP Warning:  require_once(/var/www/blog/wp-load.php): failed to open stream: No such file or directory in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:38:39 2014] [error] [client 127.0.0.1] PHP Fatal error:  require_once(): Failed opening required '/var/www/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:38:40 2014] [error] [client 127.0.0.1] PHP Warning:  require_once(/var/www/blog/wp-load.php): failed to open stream: No such file or directory in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:38:40 2014] [error] [client 127.0.0.1] PHP Fatal error:  require_once(): Failed opening required '/var/www/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/blog/wp-blog-header.php on line 12   Why? what could be the problem? How can I try to solve it?  Tnx  Andrea How to construct semi direct products between Q and H There is a semi direct product if you go $\theta: Q \rightarrow Aut(H)$.  $H = C_{17}, Q = C_2$.  $Aut(H)\cong C_{16}$.  From here, how do I construct the semi direct products?   I said, in $C_{16}$, there are two elements of order that divide $2$, which are $1$ and $2$. Therefore there are two semi direct products. Also $17 \times 2 = 34$ tells me that in both semi direct products there will be $34$ elements.  How do I construct the semi direct products from here though? Are there any subtle differences between "somebody" and "someone", or can they be used completely interchangeably? Similarly, can you imagine a situation in which you would prefer "anybody" to "anyone" or vice versa? We know that $2^4 = 4^2$ and $(-2)^{-4} = (-4)^{-2}$. Is there another pair of integers $x, y$ ($x\neq y$) which satisfies the equality $x^y = y^x$? My question is really ''what is the definition of a conservative vector field''?  I've consulted 3 textbooks that all say a vector field $\vec{F}$ is conservative by definition if there exists a scalar potential $\phi$ such that $\nabla \phi = \vec{F}$. Then, they go on to talk about connected domains, path independence and the equality of mixed partials and how they are all related.   In particular, they emphasize that e.g. in $\mathbb{R}^2$ given $\vec{F} = \bigl&lt;F_1,\,F_2\bigr&gt;$, if $\frac{\partial F_1}{\partial y} = \frac{\partial F_2}{\partial x}$ on a simply-connected domain, then $\vec{F}$ is conservative on that domain.  However, without fail, all of them then offer the example of $\vec{F} = \bigl&lt; \frac{-y}{x^2+y^2},\, \frac{x}{x^2+y^2} \bigr&gt;$, pointing out:   it's line integral is not path independent, even though $\frac{\partial F_1}{\partial y} = \frac{\partial F_2}{\partial x}$   and this is explained by pointing out that the domain is not simply connected (if the path contains the origin).  That much makes sense to me: we cannot conclude $\vec{F}$ is conservative based on the partial derivatives, because the domain is not simply connected - totally consistent with what has been presented.  What none of them address is why $\vec{F} = \bigl&lt; \frac{-y}{x^2+y^2},\, \frac{x}{x^2+y^2} \bigr&gt;$ is not conservative when there exists a potential $\phi = \arctan(y/x)$ such that $\nabla \phi = \vec{F}$. None of the texts mention any necessary conditions on the scalar potential. So is the existence of a scalar potential the definition of a vector field being conservative or not? My group of 8 level 3 players are about to run through the Thundertree Ruins and will probably have a hand at fighting the dragon. My question stems from the fact that a single poison breath attack from the dragon will outright kill all but 1 player assuming they fail their saving throws.  I understand this encounter is supposed to be ridiculously deadly, but I don't want to be punishing my players for testing the lengths at which they can fight stuff. A fight should be challenging and they should be able to try and run away, but instant obliteration seems a bit much.  All PCs are level 3 (HP in parenthesis):   Wood elf moon druid  (27) dwarven frenzy barbarian (44) fire genasi archer ranger (37) (pseudodragon companion (12)) wood elf assassin rogue (27) human wild magic sorcerer (22) dragonborn fighter (29) human monk (24) human fighter (32) How can the Xenomorph see? If you just look at a picture of one there are no eyes readily apparent but they clearly know where they are going. Could their screeching be some form of echo-location? Literature: 'Why' at the beginning of sentences I’m currently reading George Martin’s A Song Of Ice And Fire novels in English. As a non-native speaker (I’m German), I stumbled upon some grammatical constructs that I’ve never seen before, one of them being the Why at beginning of sentences.  Examples:   Tyrion gave the rotting head a second look. Why, it almost looks as if those lips are smiling. Did he use that word? Why, the boy has a singer's soul . . . though if you believe that song, you may well be dimmer than the first Reek.   These kind of sentences are obviously different from sentences like Why is the sky blue?  I’d like to know if that construct is archaic, or could be used in everyday language, and how one could rephrase that kind of sentences. Can it be rephrased at all? To me it seems like the Why is just used to give the sentence a kind of “cynical” taste. how to calculate earliest leap year in formula field salesforce I am writing a formula where I need a logic for calculating the earliest leap year.     Formula   (Sum(Mort1, Mort2, Mort3)*1.08^(current year-earliest LP year))+water+ECB+Taxes   What logic we can apply for earliest LP year? Allow users to hide connections between accounts This feature request is inspired by the question on Programmers.SE on .   Stack Overflow is a site aimed at professional programmers, and it is used by some employers and some employees to examine or showcase the candidates abilities. I don't see any problem with that, but there is one aspect I'm a bit concerned about. Certain SE sites are far more private than the professional sites like SO. Anyone that participates in Christianity, Judaism, Islam or Biblical Hermeneutics is likely giving out a significant amount of information about their personal belief or world view to anyone who can connect the user name to the actual person. Another example would be controversial topics on Skeptics or Politics; not everyone would like to give their employer access to that kind of information.  The fundamental problem is that the SE platform does not allow for any separation inside one account. Of course one could create separate accounts for private and professional topics, but that requires a significant amount of clairvoyance and a rather annoying user experience juggling separate browsers to log into different accounts at once. An additional problem is that SE has automatic user merge features that can be triggered by logging into two accounts in the same session. I'm not sure how they work exactly, but I suspect that having your two accounts accidentally merged is a real danger if you are not careful.  There should be a mechanism to hide the connection between SE accounts, without having to use separate OpenIDs. For example, if I would like to use my SO account in job applications, I should be able to separate it from all my other accounts. The separation would only be for the publicly accessible part, moderators could still be allowed to see the connection between accounts. And behind the scenes it would just work as it is now, just without any links between the accounts.   The aspects that would need to be changed that I can think of are   the accounts tab in the user profile, that shouldn't show any connections for separated profiles copying the user profile to other sites should not work for separated profiles the network profile should not show the connections between separated profiles Area 51 should also not show the profile connections   This separation would not have to be bulletproof, but it should prevent users googling a specific person to make connections the user does not want to make public. How is the Starkiller Base supposed to work more than one time, given how it draws its power? In Star Wars: The Force Awakens, once the Starkiller Base has depleted the star it is drawing power from, is it supposed to travel to another star where it can draw more power? Or is it non-mobile and supposed to fire a few, limited shots only? Or can it somehow reuse the star it is drawing power from, even after it has been depleted?  Its name suggests that it will "kill" or completely deplete the star it is drawing power from, but I haven't noticed an indication in the film that the Starkiller Base can travel to other stars. Machine Learning - Where is the difference between one-class, binary-class and multinominal-class classification? Where is the difference between one-class, binary-class and multinominal-class classification?  If I like to classify text in lets say four classes and also want the system to be able to tell me that none of these classes matches the unknown/untrained test-data.   Couldn't I just use all the methods that I mentioned above to reach my goal? e.g. I could describe C1, C2, C3 and C4 as four different trainings-sets for binary-classification and use the trained models to label an unknow data-set ...  Just by saying, Training-Set for C1 contains class 1 (all good samples for C1) and class 0 (mix of all C2, C3 and C4 as bad samples for C1).  Is unlabeled-data C1 -> 1 or 0  Is unlabeled-data C2 -> 1 or 0 ... and so on ...  For multinominal classification I could just define a training-set containing all good sample data for C1, C2, C3 and C4 in one training-set and then use the one resulting model for classification ...  But where is the difference between this two methods? (except of that I have to use different algorithms)  And how would I define a training-set for the described problem of categorizing data in those four classes using one-class classfication (is that even possible)?  Excuse me if I'm completely wrong in my thinking. Would appreciate an answer that makes the methodology a little bit clearer to me =) User is suspended network-wide, except not really A user has been active on one of the sites recently, even though they're concurrent suspended network-wide on the rest of the network. How is this possible, and is it possible to evade a network suspension on only one site? Accidental chown under / as root I accidentally run the following command as root chown mike -Rf / backups the point is that I added a space between / and backups my mistake, I stopped the command after 1-2 seconds, how can I recover from this? I have problems with DirectAdmin right now for example when accessing it I recive the error:  Unable to determine Usertype user.conf needs to be repaired http://help.directadmin.com/item.php?id=456   Or I stopped recieving emails, I dont even know what else is messed up right now... There should be infinitely many primes of the form $5+6n$. How do you prove it? The same should be true for $7+6n$.