Not able to get response code for 401 with http url connection
Get Response header when 401 occurred
Received an unexpected cashiers check for over $2K from another state - is this some scam? This is actually about my sister-in-law who lives in Georgia. She just received a "cashiers check" for $2395 from a company in Indiana. It looks like this:    She said that she has been doing "mystery shopper" work for a company and thought that this would be payment for that, but that usually the payments she received for that work were just a couple of hundreds of dollars.  She said she had not done that much of that "mystery shopper" work that she would have expected to receive anything close to the amount on this check.  She was asking me about it but I thought that if she does not know the sender, perhaps this could be some kind of new scam and she should check with the local police (which she said she was going to do).  Anyway I wanted to ask here if anyone knows of a scam like this? Considering that the check here seems to be a "cashiers check", how would a scam like this even work?  Update: I just found out that there was indeed a letter included with the check (and it seems to have instructions similar to those mentioned in the answer by "BrenBarn"). This is indeed related to that "mystery shopper" work. Turns out the reason she was not sure was because the sender of that check has a different company name than the company she normally dealt with. Here is a part of the letter: Is there a way to fix a small chip in a wall's paint? I'm not sure exactly with what I've bumped my wall and caused this this:    Is there anything that can be done to fix this without repainting the entire room?  I've been reading around a bit, and not sure exactly what to call this, hence the weird question title.  The paint is a beige-ish colour, not exactly white. The hole is about 2 x 1.5 cm in size.   I've read a bit about spackling paste, though I understand that's for small cracks and holes.  Here are some picture with a better resolution:  and   Unfortunately, I don't have much experience with this sort of thing. Help please.  Also, this is in the UK, so you can tell what stores I might have access to for materials. Prevent iMac from sleeping, for VPN login? We have an iMac in the office, and I have been getting inconsistent access when trying to log in to it. The firewall isn't going down, since I can connect to the VPN. After discussing it with the people at the office, we suspect that the iMac is going to sleep.   Is it possible to keep the iMac "awake" 24 hours a day? How do I instruct the people at the office to configure the iMac? What settings should be changed? The iMac is running OS X Lion 10.7.3. Word for a person who continually tries to teach you when it's not necessary I've experienced this way too many times, and the best example I can give is a person who treats you like you have no idea how to do X and who keeps teaching you how to do it. I feel handicapped. Take for example how to play a card game. You know how to play the game because you've played it 5 times. However, there is a person always insists on explaining the game to you - like you are always new to the game - when you don't actually need any help and you just want to think for yourself. Another example situation is doing a repetitive task which you already have experience with, and yet the person continually tries to 'teach' you when you don't need help/already know how to do it. It almost makes you mad because you really don't need help. As an example which recently happened to me:  &quot;Hey, do you remember how to start the wood chipper?&quot; &quot;Yes I do&quot; &quot;Okay, well, let me show you one more time&quot;  Again, is there a term for someone who does this? Support showing image in original size in overlay How did Sauron remain in control of the Nazgûl? The One Ring gave Sauron control of the Nine, yet when it was taken from him he still possessed the power to control them (or, at least he regained it towards the end of the third age).  Why is this?   mentions that he drew the Nine to him, but not how. My input file is,  ami21 ami65 ami67 ami66 ami88 ami76 ami29 ami55  ami54 ami32   Using a single command line I need the output as,  ami22 ami66 ami68 ami67 ami89 ami77 ami30 ami56 ami55 ami33   I used the command  awk -vRS=ami '{$0=$0+1;ORS=RT}++n' inputfile &gt; outputfile   but I got the outputfile as ami21ami65ami67ami66ami88ami76ami29ami55ami54ami32  i.e. all strings are written in same line and without space. Could anyone suggext me some better command line. I am completely new in Ubuntu. Just installed Ubuntu 14.04. On my other computer running Windows, I am using Avast, free edition.  Do I need anti-virus protection at all? Ubuntu 12.04 boots to TTY1 How to maximize any of the views in quad view? I am new to blender. Pressing &#9096; Ctrl&#9095; AltQ opens the quad view. How to maximize any one of the four views of the quad view? I'm having a heck of a time trying to disable the option  "Check for updates Automatically"  I ran composer to see what plist was being modified and it looks like ~/Library/Preferences/com.oracle.javadeployment.plist  &lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"    "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt; &lt;plist version="1.0"&gt; &lt;dict&gt;     &lt;key&gt;/com/oracle/javadeployment/&lt;/key&gt;     &lt;dict&gt;         &lt;key&gt;deployment.macosx.check.update&lt;/key&gt;         &lt;string&gt;false&lt;/string&gt; &lt;/dict&gt; &lt;/dict&gt; &lt;/plist&gt;   So I experimented with changing that value to true or false and it would not effect the checkbox under the Java Control Panel > Update > Check for Updates Automatically  Your assistance would be much appreciated.  Initially I was looking @ /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin In email applications should the text of the cover letter be stated directly in the email or be attached in a separate file? How to Deserialize XML document Why does $\sqrt{n\sqrt{n\sqrt{n \ldots}}} = n$? Ok, so I've been playing around with radical graphs and such lately, and I discovered that if the   nth x = √(1st x √ 2nd x ... √nth x);   Then  $$\text{the "infinith" } x = x$$  Example:   $$\sqrt{4\sqrt{4\sqrt{4\sqrt{4\ldots}}}}=4$$ Try it yourself, type calc in Google search, hit  then a number, such as $4$, and repeat, ending with $4$, (or press the buttons instead).  I'm a math-head, not big enough though, I think this sequence is divergent or convergent or whatever, too lazy to search up the difference.  However, can this be explained to me? Like how the Pythagorean Theorem can be explained visually. Continuous v. per-chapter/section numbering of figures, tables, and other document elements Some document elements (e.g., figures in the book class) are numbered per chapter (figure 1.1, 1.2, 2.1, ...). How can I achieve continuous numbering (figure 1, 2, 3, ...)?  And vice versa: Some document elements (e.g., figures in the article class) are numbered continuously. How can I achieve per-section numbering?  \documentclass{book}% for "vice versa" variant, replace `book` with `article`  \begin{document}  \chapter{foo}% for "vice versa" variant, replace `\chapter` with `\section`  \begin{figure} \centering \rule{1cm}{1cm}% placeholder for graphic \caption{A figure} \end{figure}  \end{document}   Bonus question: Is it possible to adjust the numbering of the sectioning headings themselves? Can I, e.g., switch from per-chapter to continuous numbering of sections in the book class? Prove that for any piecewise smooth curve it is possible to find the parametrisation Can a druid in Ape wildshape use weapons? Can newsletters take into account a user's ignored tags on that site? I have seen several questions that discuss using your "Favorite" tags to construct a newsletter.   I'm looking for a similar request - but for ignored tags.  I figure it might make sense to split this request from the "favorite" requests because it has different implementation.  Can we exclude questions on the "ignore" tags lists in the newsletter?   For example, I subscribe to the Board and Card Games newsletter.   Currently (and frequently) 6 of the 7 questions are about magic-the-gathering, a tag I have in my ignored list.     I now get a newsletter where at best 1/7 questions is interesting and worth clicking on.  Related questions about using "Favorites": I'd like to show/hide a column at runtime based on a particular condition. I'm using "Print when expression" to conditionally show/hide this column (and it's header) in my report. When the column is hidden, the space it would have occupied is left blank, which is not particularly attractive.  I would prefer if the extra space was used in a more effective manner, possibilities include:   the width of the report is reduced by the width of the hidden column the extra space is distributed among the remaining columns   In theory, I could achieve the first by setting the width of the column (and header) to 0, but also indicate that the column should resize to fit its contents. But JasperReports does not provide a "resize width to fit contents" option.  Another possibility is to generate reports using the Jasper API instead of defining the report template in XML. But that seems like a lot of effort for such a simple requirement. How should I calculate $\lim_{n\rightarrow \infty} \frac{1^n+2^n+3^n+...+n^n}{n^n}$ How should I calculate the below limit  $$\lim_{n\rightarrow \infty} \frac{1^n+2^n+3^n+...+n^n}{n^n}$$ I have no idea where to start from.