string encode / decode
Python - email header decoding UTF-8
If a nonempty set of real numbers is open and closed, is it $\mathbb{R}$? Why/Why not? In other words, are $\emptyset$ and $\mathbb{R}$ the only open and closed sets in $\mathbb{R}$? Why/Why not?  I tried by assuming a set is equal to its interior points and contains its limit points.  A bounded set will not do since stuff like $[1,4]$ and $\{5\}$ will not work, though that is not really proof. Help please?  Anyway, it must then be unbounded.  If $a$ is a real number then $(a,\infty)$, $(-\infty,a)$, $[a,\infty)$ and $(-\infty,a]$ don't seem to cut it so it must be $\mathbb{R}$. openSuse, new user cannot login I am using openSuse 12.3.  I have created a new user using:  linux-amvn:~ # useradd -m -G users,dev -s /bin/bash -p pass123 harbir-PC   The user harbir-PC is not able to login, when I try to log using ssh. I went ahead and looked into the /etc/passwd file and I see the following:  harbir:x:1000:100:harbir:/home/harbir:/bin/bash kdm:x:489:487:KDM Display Manager daemon:/var/lib/kdm:/bin/false harbir-PC:x:1001:100::/home/harbir-PC:/bin/bash   There is a difference between the user harbir and harbir-PC.  I have no problem with the user harbir (who I have created during installation), but I need to login using the user harbir-PC.  I also checked the /etc/shadow, and passwords are encrypted. Programmatically selecting non adjacent Cells Cards entering the battlefield simultaneously and "Enter the Battlefield" effects I was playing modern with the owner of a shop.  He played a  which he used to bring in 7 lands: 5 basic mountains and 2  cards.  He then claimed that each  triggered 5 times (killing me).  I am doubting this now.    Here is my reason: The two  cards entered at the same time as the other 5 basic lands.  That means when they were on the battlefield and their ability was in effect, the other 5 basic lands were already there too.  That seems too late to trigger a "Enters the Battlefield" effect.  So here is my question.  Am I right or wrong?  If I am wrong, please show me how the enter the battlefield effect can trigger for something that enters the battlefield at the same time as itself.  If I am right, please show me the rules that prove it.  I now have two shop owners that are convinced that this is a legal play.  If it is not legal, I am going to need clear rules citations to convince them.    Side note:  If I am wrong and it is a legal play, then I have a follow up scenario.  Say I have 2  cards and 5 other human cards in my graveyard.  If I play a spell that lets me return all of them to the battlefield at the same time (say ), would the  cards get 6 +1/+1 counters on them?    To me, if the trick that was played on me with  is legal then my  cards should also get the +1/+1 counters. Find all $x$ such that $$x^6=(x+1)^6.$$   So far, I have found the real solution $x= -\frac{1}{2}$, and the complex solution $x = -\sqrt[3]{-1}$.  Are there more, and if so what/how would be the most efficient find all the solutions to this problem? I am struggling to find the rest of the solutions. Draft mode for pgfplots Is Bezout's lemma enough to confirm the GCD of a number. Is Bezout's lemma enough to confirm the GCD of a number?  So suppose we have $$ax+by=z$$ does this mean $$\gcd(a,b)=z$$ Including the interaction but not the main effects in a model Is it ever valid to include a two-way interaction in a model without including the main effects?  What if your hypothesis is only about the interaction, do you still need to include the main effects? blink code(escape code) has been removed? Is anti-gravity (i.e. repulsive gravity) possible in theoretical physics? Is  (i.e. repulsive gravity) possible in string theory?  I have read some articles about scientists making assumptions about the existence of anti-gravity, but is it possible in string theory? Usage and origin of "sister" in expressions like "sister company, sister ship, sister site" etc The term  is often  used figuratively  to refer, for instance,  to a “sister company” for a company  within the same group, or to a “sister  site” for  sites that belong to the same family. This connotation as explained by the   means:         belonging to a pair or group of similar and related things, such as businesses, usually owned or operated by the same person or organization:         our sister company in Australia.          also, from :        You can use sister to describe something that is of the same type or is connected in some way to another thing you have mentioned.    ⇒ ...the International Monetary Fund and its sister organisation, the World Bank.   ⇒ ...Voyager 2 and its sister ship, Voyager 1.       This usage appears to be common with things that are  regarded as feminine and are associated, as if by kinship,  with other similar things that belong to the same group. An early  usage example of this is the "sister" referred to  ships:         the US battleship Missouri and her sister ship, the Wisconsin.      In other instances,  the "feminine" issue is less explicit as in the case of internet sites, so I guess this usage has to do with the fact that English is less gender specific when it comes to things or abstract entities.   Questions:    Does “sister” apply to whatever entity that belongs to the same group irrespective of its real or perceived gender? or could "brother" be used instead?  Where does this usage come from? I just want to write \Sha without ruining everything I realize similar questions have been asked before but I am not satisfied with any of the answers I've seen. I would like to use the Cyrillic letter Ш to denote a particular group in mathematics. Most solutions involve using OT2 or T2A encoding; for example, at . However, this makes the other text in the document look bad.   For example, using the solution above, I get    while I would like to have     The first seems to be shaded strangely and the characters don't seem to align right.  Does anyone know how I can write the character Ш (in math mode) without changing the default font for the rest of the text? Direction of friction when a car turns "There are no shortage of applications" I've been having an argument with a colleague about this sentence, could you please let me know which one of us is correct:     There are no shortage of applications for our product in this   space.   She is convinced that are should be replaced by is, and I think it should stand as it is. Thanks for your help! How to calculate Network Service Areas in QGIS? "Images with street signs" CAPTCHA impossible to solve I just got challenged (over on ) by the new "Mark all images with street signs" CAPTCHA.  I must have tried a dozen times to solve it by checking all images that had street signs, but I never succeeded.  Of note is a text input field without instructions of what to enter there. I suspect that is the problem: It is expecting input, but doesn't tell me what to input.  It's either broken or I am missing something.  I am using Chrome on an iPhone in "full site" mode. I'm trying to understand the UMP of the product functor as right adjoint to the diagonal functor but I'm having difficulties understanding the notation in Steve Awodey's . On page 210 he uses $(f_1, f_2)$, $\langle f_1, f_2 \rangle$ and $(f_1 \times f_2)$ all within one paragraph. What are those? How are these defined and how do they differ? Want to cancel a 'Pending Erase' on iphone... Any suggestions? I lost my phone on vacation and activated 'Lost Mode' for a couple of days. The night before heading home I decided to do the Remote Erase ´cause I thought there's no way I'd get it back, I also called my carrier and canceled the data service on my number. The phone has been offline ever since but the hotel just called to say they found my phone at the spa and they are mailing it back to me. So I want to cancel the 'Pending Erase', all I care about is recovering all the pictures from that trip that I hadn't backed up on iCloud yet... Will removing the device from my iCloud account work?  And if I don't have service on the phone, will the 'Erase iPhone' command still go through when I turn it on?  Please help! I have two days to figure this out Favicon of Earth Science and Spanish are too similar (exactly the same in HNQ list) The favicon is used in various places around the Stack Exchange (SE) network, to identify the site. Currently, Earth Science has  for main and  for meta. The problem I see is that these are awfully similar (i.e. exactly the same, as demonstrated here) to those for Spanish.SE, which are  for main and  for meta. The larger versions offer slight differences, but it's still hard to tell quickly which is which. Power users on this site, did you guess right, even after some time to think about it? (Answers under spoiler tag).   for main and  for meta.  for main and  for meta.    The first one is Earth Science and the second is Spanish.  Should SE visually distinguish between the two very different sites? How do I write to NTFS drives in OS X? What is the best, easiest, preferably cheapest way to make OS X write to NTFS-formatted drives in Mac OS X?