First example: When a creature is going to attack me alone and I use Vapor Snag to return it to the other player's hand, is the combat damage prevented?  Second example: If three 1/1 Soldier creatures are going to attack me while Veteran Swordsmith (which gives other Soldier Creatures +1/+0) is on the board and I use Doom Blade to kill the Veteran Swordsmith, do I take 3 damage or 6?  Third example: I control a creature, but couldn't use it to block a sliver my opponent controls because he just put a Shifting Sliver into play. If I use Path to Exile to exile his Shifting Sliver during the blockers declaration phase, does this make me able to block the other sliver?  Also, would this kind of play work in response to triggered/activated abilities? (for example, trying to prevent a triggered/activated ability from resolving by removing the permanent from the battlefield in response to the opponent trying to trigger/activate it)
Suppose Player 1 has a Dragon on the table and  in hand, while Player 2 has two Spiders on the table.  Player 1 chooses to attack with the Dragon and Player 2 chooses to block with one of the Spiders.  Before combat damage is to be dealt, Player 1 uses Unsummon on the blocking Spider.    Does Player 2 take any life damage from the attacking Dragon?
Check out the screenshot below, I want to extend my C partition (where Windows is installed) into the unallocated free space shown. This space was cleared up by shrinking the D partition. I can extend the D partition if I want to, but not the C.  Why not? I have 2 columns in Excel: the first contains a list of employee names who perform function A, and the second contains a list of employee names who perform function B.  What I want is to identify, in one cell, if there is one employee whose name appears in both the first and second columns. It does not have to show which name(s) appears in both columns, it just needs to identify IF there are any names that appear in both columns. Prove that for each $n$, there exist $n$ consecutive integers, each of which is divisible by a perfect square larger than $1$. Seasonal Loan Amortization I am often interested in the installation triggers (postinst, postrm) or certain parts of packages (like /usr/share and /etc). Currently, I am running the next command to retrieve the source code:  apt-get source [package-name]   The downside is, this file is often much bigger than the binary package and does not reflect the installation tree.  Right now, I am downloading the packages through :      Download the actual file   This takes too long for me and as someone who really likes the shell, I would like to do something like the next (imaginary) command:  apt-get get-deb-file [package-name]   I could not find something like this in the . The most close I found was the --download-only switch, but this puts the package in /var/cache/apt/archives (which requires root permissions) and not in the current directory. I have a little question here.  If I have two files, say filea and fileb, mv filea fileb would   delete fileb rename filea to fileb   Then if I have two directories, say dira and dirb, mv dira dirb would   move dira into dirb (it will become dirb/dira)   Noting that in both cases there are no notice or message, then this is pretty inconsistent to me. I think mv dira dirb should just overwrite dirb with the contents of dira (or merge the two directories under a directory named dirb).  I remember reading somewhere that a directory name with a slash (like dira/) is treated like a directory, and name with no slash (like dira) is treated like a file (to certain extents, of course). Anyway now I want to make the shell (zsh and possibly bash) respect my notation of a directory by using a slash. Is there a terminal option which enable me to enforce that?  To clarify, here is my desired behaviour:   mv dira dirb results in dirb being overwritten with the contents of dira mv dira dirb/ results in dira being moved into dirb (in dirb/dira)   Has anyone thought the same way as me? Or am I just weird? Amazon RDS I/O requests - 1 query = 1 billable I/O? I have an InnoDB database that I'd like to migrate onto Amazon RDS.  My current implementation, hosted on my own server, shows roughly 8M queries per month.   say that  I/O Rate    $0.10 per 1 million requests  Does 1 I/O = 1 query?  ie, will I be billed $80/mo for this amount of usage + the RDS fees? Evaluating the integral $\int_0^\infty \frac{x \sin rx }{a^2+x^2} dx$ using only real analysis Calculate the integral$$ \int_0^\infty \frac{x \sin rx }{a^2+x^2} dx=\frac{1}{2}\int_{-\infty}^\infty \frac{x \sin rx }{a^2+x^2} dx,\quad a,r \in \mathbb{R}. $$  Edit: I was able to solve the integral using complex analysis, and now I want to try and solve it using only real analysis techniques. How to clear current “read-only” state on a USB flash drive I setup with Rufus? Three weeks ago I used  2.2 to install Windows 10 on my machine, and it has write-protected my flash drive. I’ve tried diskpart:  diskpart att disk clear readonly  clean create partition primary format fs=fat32 quick   And it kinda worked, it removed the image off the USB, but now it’s showing:  Current Read-only State : Yes Read-only  : No Boot Disk  : No Pagefile Disk  : No Hibernation File Disk  : No Crashdump Disk  : No Clustered Disk  : No   And I can’t format it or write on it.    The drive is a a Kingston DataTraveler G4 32GB model, without physical switches. How would I restore it back to normal (rw) state? Why can't I buy the Windhelm house (Hjerim)? I'm confused with using single or double brackets. Look at this code:  dir="/home/mazimi/VirtualBox VMs"  if [[ -d ${dir} ]]; then     echo "yep" fi   It works perfectly although the string contains a space. But when I change it to single bracket:  dir="/home/mazimi/VirtualBox VMs"  if [ -d ${dir} ]; then     echo "yep" fi   It says:  ./script.sh: line 5: [: /home/mazimi/VirtualBox: binary operator expected   When I change it to:  dir="/home/mazimi/VirtualBox VMs"  if [ -d "${dir}" ]; then     echo "yep" fi   It works fine. Can someone explain what is happening? When should I assign double quotes around variables like "${var}" to prevent problems caused by spaces? I'm looking to create a simple short-lived reservation system, and I'd like to generate confirmation numbers that are   unique random-looking alphanumeric short-ish, at least much shorter than 32 character-long strings returned by sha1   I'm only looking to have ~500 reservations, so I don't imagine high likelyhood of collissions.  One idea I had is generate an sha1 hash based on a date-time stamp and username, then truncating it to its first 10 characters.  Would something like that be reliably unique enough for the purposes of processing ~500 reservations? How does negation affect the use and understanding of "or" and "and" I'm trying to make more sense of how negation effects how a sentence is parsed and understood if and's and or's are used within them.  Pop quiz: You are trapped on a bus with a bomb going 50 MPH. You have a radio... (okay enough Keanu Reeves references) :-)  Let's say the bomb expert says "Don't cut the red or green wires." I think that means "Do not cut the wires colored red. Do not cut the wires colored green."  Now, let's say the bomb expert said on the radio "Do not cut the red and green wires", instead. Do I take that to mean:     "Do not cut the wires colored red. Do not cut the wires colored green."   OR     "Do not cut the wires whose insulation has red and green stripes." ?   OR     "It's okay to cut the wires colored red or the wires colored green, as long I don't cut one of each color."   Which meaning should I take if the radio breaks and I can't ask follow up questions? Prevent Photos app on OSX from launching when plugging in device The Photos app opens whenever I plug in my phone.    How can this be prevented?  I have seen many solutions for the old iPhoto app that involve changing the "Connecting camera opens" option, but the new app has no such option. I tried many ways to make a bigger screen in VirtualBox because I do not like the small size of the guest window? Is there is a way to make it big? How To Reduce Noise In Cycles Render Are there perfect elastic collisions in Nature? jQuery - auto size text input (not textarea!) How to find sum of power series $\sum_{n=0}^\infty\frac{1}{n!(n+2)}$ by differentiation and integration? Let $$ S = \sum_{n=0}^\infty \frac{1}{n!(n+2)} $$  Integrate the Taylor Series of $xe^x$ to show that S = 1  Also, Differentiate the Taylor series of $\frac{e^x - 1}{x}$ to show that S = 1  For the integration one, I got $\int xe^x dx$ = $x^2\sum_{n=0}^\infty \frac{1}{n!(n+2)} x^n$ and pretty much stuck. I can see the S term but i have no idea how to move on from there Can we use an Android phone as a Wi-Fi repeater? Can we use an Android phone as a Wi-Fi repeater?  Imagine situation when you can access a weak Wi-Fi signal from a free hotspot (coffee shop) signal near window, but want to work in the middle of the room. Then we can put the phone on the window sill to spread the signal over the entire home.  Is it feasible?