Suppose I have only  in hand, then cast it. It says "you may draw a card then discard a card". Am I able to cast the drawn card which leaves me with no cards in hand to discard, or am I not allowed to cast it? What happens?
Say I had  and I used  on something, could I respond to Cloudshift bringing the creature back into play with  or something similar?
Resize Move Partitions on Dual Boot System I would like to be able to adjust the partitions shown below. Specifically, I want to add an additional 10GB from the unallocated space to /dev/sda5 (Ubuntu install). I will then format the remaining unallocated space as NTFS so it can be shared data between Windows and Ubuntu.   I am unable to increase the size of /dev/sda5 - I am only able to shrink it.  Any assistance would be greately appreciated. Make specific author bold using biblatex Prove inequality using Schwarz's Lemma Can I read and write to the same file in Linux without overwriting it? Python, Unicode, and the Windows console When I try to print a Unicode string in a Windows console, I get an error . UnicodeEncodeError: 'charmap' codec can't encode character .... I assume this is because the Windows console does not accept Unicode-only characters. What's the best way around this? Is there any way I can make Python automatically print a ? instead of failing in this situation? Edit:  I'm using Python 2.5.  Note: @LasseV.Karlsen answer with the checkmark is sort of outdated (from 2008). Please use the solutions/answers/suggestions below with care!!  is more relevant as of today (6 Jan 2016). Expressing an opinion: to me or for me? Best way to clone an installation (copying to identical hardware) Kind-of like  but slightly different (I think), in that I have 6 identical Acer Aspire Revo R3610 machines. One is (almost) configured to my requirements - when I'm done preparing it I'd like to make the other 5 machines absolutely the same. I'm very new to Ubuntu, what's the most straightforward (easiest) way of doing this?  The machines are going to live on different networks if that might otherwise be a problem (eg with Windows you can clone disks but you then have to make registry changes afterwards if they're going to run on the same network etc). The hardware in all 6 machines is, I stress, the same!  How can I efficiently clone one source image on to these identical machines?  Please restrict one software/solution per answer How to replace spaces with newlines/enter in a text-file? I have simple text file named "example".  Reading with terminal command: cat example  Output:  abc cdef ghi jk lmnopq rst uv wxyz   I want to convert (transform) into following form: (expected output from cat example)  abc cdef ghi jk lmnopq rst uv wxyz   How can I do this via the command-line?   (This is only an example file, I want to convert word's position in vertical-column) Proving $\mathbb{Q}$ isn't homeomorphic to $\mathbb{Z}$ Prove that $\mathbb{Q}$ isn't homeomorphic to $\mathbb{Z}$  I know that a homeomorphism is a bijection function from two sets where both the function and its inverse are continuos.   So I figure that if I show that there is no continuos invective mapping from $\mathbb{Q}\rightarrow\mathbb{Z}$ then I have done the proof. But I do not know how to do this (if his is the right way). How can I start to show this? I installed Blender from official Ubuntu repository but its version is always behind the version available from the official Blender website.  I'm aware that I can launch the program within the downloaded folder, but i want to replace the install version with a new version downloaded from the website?   It must be present in the unity launcher.  I'm also aware of the available PPA's that are available, however I just want to install Blender manually.  Thanks in advance Order of items in a context menu How to control spacing in a TikZ tree? Let's say I have some data, and then I fit the data with a model (a non-linear regression). Then I calculate the R-squared ($R^2$).  When R-squared is negative, what does that mean? Does that mean my model is bad? I know the range of $R^2$ can be [-1,1]. When $R^2$ is 0, what does that mean as well? Show $$\lim_{h \to \ 0} \frac{f(x + 2h) - 2f(x+h) + f(x)}{h^{2}} = f''(x)$$   Proof:  By definition:    $$f'(x) = \lim_{h \to \ 0} \frac{f(x + h) - f(x)}{h}$$  Using this idea it would imply:   $$1)\ \ f''(x) = \lim_{h \to \ 0} \frac{f'(x + h) - f'(x)}{h}$$  As such it is required that I find an expression for $f'(x+h)$. This is where I'm not sure if the step I took is legitimate.  An expression for $f'(x + h)$ is:  $$f'(x+h) =  \lim_{h \to \ 0} \frac{f(x + 2h) - f(x + h)}{h}$$  Combining this with the definition of $f'(x)$ and inserting it into 1) you arrive at: $$\lim_{h \to \ 0} \frac{f(x + 2h) - 2f(x+h) + f(x)}{h^{2}} = f''(x)$$   As required.    Concern: I feel a discomfort with this solution. Even though "mechanically" it worked out, if I am taking the limit as $h \rightarrow 0$ that would mean $x + 2h$ and $x + h$ both go to $x$. But I am attempting to use the idea that $x +2h$ goes to $x + h$. Perhaps it is a notation idea that I need to communicate better, but I feel it is larger than just that. I was tasked to prove that when given 2 graphs $G$ and $\bar{G}$ (complement), at least one of them is a always a connected graph.  Well, I always post my attempt at solution, but here I'm totally stuck. I tried to do raw algebraic manipulations with # of components, circuit ranks, etc, but to no avail. So I really hope someone could give me a hint on how to approach this problem. Parallel website running a copy of my original website We have been working on a gaming website. Recently while making note of the major traffic sources, I noticed a website that I found to be a carbon-copy of our website. It uses our logo, and everything else the same as ours, but with a different domain name.   Their domain name is not however pointing to our site because at several places the links are like: carbonccopy-website/our-links. This website even has links to some images as: carbonccopy-website/our-images.   How could they have done that, and what can I do to stop it? Uses of the 3D Cursor I know the 3D Cursor can be used to position new objects, or snap existing ones to a certain location - but what else can it be used for?  An exhaustive list of every possible use would be great (without repeating similar things like "pivot for spin tool", "pivot for screw tool" - which could simply be said as "Pivot for modeling tools"). How can I list the contents of a .zip folder in c#? How can I list the contents of a zipped folder in C#? For example how to know how many items are contained within a zipped folder, and what is their name? Weird http -> https redirection although not configured I am running Apache 2.2.15 (CentOS 6.6) with a HTTP-only domain   demo.xml-director.info  Using wget I can retrieve the content properly   wget -S http://demo.xml-director.info --2015-01-05 13:31:41--  http://demo.xml-director.info/ Resolving demo.xml-director.info (demo.xml-director.info)... 176.9.146.28 Connecting to demo.xml-director.info (demo.xml-director.info)|176.9.146.28|:80... connected. HTTP request sent, awaiting response...    HTTP/1.1 200 OK   Date: Mon, 05 Jan 2015 12:31:41 GMT   Server: Zope/(2.13.22, python 2.7.6, linux2) ZServer/1.1   Content-Length: 20227   Expires: Sat, 01 Jan 2000 00:00:00 GMT   Content-Type: text/html;charset=utf-8   X-Ua-Compatible: IE=edge,chrome=1   Content-Language: en   Vary: Accept-Encoding   Keep-Alive: timeout=15, max=100   Connection: Keep-Alive Length: 20227 (20K) [text/html] Saving to: 'index.html.4'   However Chrome/Firefox always change the request from http to https because of HTST. However for this particular domain there is no HSTS configured.  The server runs SSL for www.xml-director.info with enabled HSTS support. However there is further alias here that would map demo.xml-director.info to www.xml-director.info.   How can this problem be resolved.  VHOst for www.xml-director.info:  &lt;VirtualHost *:443&gt;     ServerName www.xml-director.info     ServerAlias xml-director.info      SSLEngine on     SSLCertificateFile /etc/httpd/certs/15742445repl_2.crt     SSLCertificateCHainFile /etc/httpd/certs/15742445repl_2.ca-bundle     SSLCertificateKeyFile /etc/httpd/certs/zopyx.com.key      CustomLog /var/log/httpd/xml-director.info.log combined     DocumentRoot /var/www/xml-director/landing-v1      Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains"      &lt;location "/"&gt;         Options +Indexes         Header set Access-Control-Allow-Origin "*"         Header set Access-Control-Allow-Methods "GET,PUT,POST,DELETE"     Header set Access-Control-Allow-Headers "X-Requested-With,Content-Type"     &lt;/location&gt;  &lt;/VirtualHost&gt;  &lt;VirtualHost *:80&gt;     ServerAlias www.xml-director.com      ServerAlias www.xml-director.info     ServerAlias www.xml-director.de     ServerAlias xml-director.com     ServerAlias xml-director.info     ServerAlias xml-director.de      RedirectPermanent / https://xml-director.info/ &lt;/VirtualHost&gt;   and for demo.xml-director.info  &lt;VirtualHost *:80&gt;     ServerName  demo.xml-director.info     RewriteEngine On      RewriteRule ^/(.*) http://127.0.0.1:12020/VirtualHostBase/http/demo.xml-director.info:80/xml-director/VirtualHostRoot/$1 [L,P]     RewriteRule ^/$    http://127.0.0.1:12020/VirtualHostBase/http/demo.xml-director.info:80/xml-director/VirtualHostRoot/$1 [L,P]      CustomLog /var/log/httpd/demo.xml-director.info.log combined     AddOutputFilterByType DEFLATE text/html text/xml text/plain text/css text/javascript      CacheRoot /tmp/cache     CacheEnable disk /     CacheIgnoreCacheControl on      KeepAliveTimeout 15     KeepAlive on      ExpiresActive On     ExpiresByType image/gif "access plus 10 day"     ExpiresByType image/jpg "access plus 10 day"     ExpiresByType image/jpeg "access plus 10 day"     ExpiresByType image/png "access plus 10 day"     ExpiresByType text/javascript "access plus 10 day"     ExpiresByType text/html  "access plus 1 hour"     ExpiresByType text/html  "access plus 1 hour"     ExpiresByType text/css  "access plus 10 days"      &lt;Location "/"&gt;         Order allow,deny         Allow from all     &lt;/Location&gt;  &lt;/VirtualHost&gt; Should I let potential employers know I have a job offer? I've interviewed for a few positions, one of which has made me an offer.  I'm very pleased with the offer, but I prefer some of the other positions.  I have the luxury of being able to take a lot of time to decide whether or not I accept this offer, so I'm certain I will hear back (either positively or negatively) from the other positions before a decision is required for the offer I've received.  I'm trying to decide between two courses of action, and I want to choose the one that will best help my candidacy with the positions I've yet to hear from.  Plan 1 is to do nothing and simply wait to hear back from the other positions for which I've already interviewed.  Plan 2 is to be in touch with the other positions to let them know I have an offer, and ask where I stand with them.  Would Plan 2 make me a more desirable candidate with the other positions, as they might see my offer as further validation of my credentials?  Or, might initiating with the interviewers in this way be detrimental to my candidacy, perhaps making me seem pushy or self-centered?  If so, I would rather just wait for them to run their course of action (Plan 1).  As I've said, I have plenty of time, so I don't want impatience to hurt me.  If there is a good chance that my meddling will be detrimental, then I'd rather be hands-off here.  However, if it's more likely that informing the other interviewers of my offer will give me a boost, then I'd want to do so.  Thanks for any clarity you can provide!  Edit: For a bit more information and context, the position I've been offered is a non-academic research position that my advisor has described as "prestigious."  The other positions for which I've interviewed (and which I prefer) are mostly academic teaching-centered positions (visiting assistant professors, tenure-track at smaller four year institutions).