How to get a console window from a C++/MFC program?
How do I get console output in C++ with a Windows program?
I was getting the usual 4-8mbps in 12.04 when copying files via usb sticks. However after upgrading to 12.10, I only get 200-300kbps when I try to perform the same operation.   I have tried different usb sticks (which work flawlessly on Windows 7) and still experience the same issue. I experienced the same issue sometime ago on 11.10 but everything was normal when I upgraded to 12.04 so it might be a kernel issue.  Here's the output of dmseg |tail:      mysterio@mysterio-HP-Pavilion-dv6700-Notebook-PC:~$ dmesg |tail   [  871.023093] sdb: sdb1  [  871.026909] sd 5:0:0:0: [sdb] No Caching mode page present  [  871.026920] sd 5:0:0:0: [sdb] Assuming drive cache: write through  [  871.026927] sd 5:0:0:0: [sdb] Attached SCSI removable disk  [ 1036.226206] ISO 9660 Extensions: Microsoft Joliet Level 3  [ 1036.233561] ISO 9660 Extensions: RRIP_1991A  [ 1086.342973] ISO 9660 Extensions: Microsoft Joliet Level 3  [ 1086.343010] ISO 9660 Extensions: RRIP_1991A  [ 1173.971357] ISO 9660 Extensions: Microsoft Joliet Level 3  [ 1173.971441] ISO 9660 Extensions: RRIP_1991A   I have updated my system with the latest updates. What could be wrong? Finding the search terms behind 'not provided' We use Google Analytics to track the vistors to our websites, were currently putting together a big audit of our SEO and one of the things we want to see is what search terms are working for us.  About 90% of our organic search traffic comes under 'not provided' which as i understand means a user is signed into a Google account when coming to our site, thus Google doesn't track their search terms.   This makes it really hard to conduct a meaningful study, (i suppose we could get the data of the 10% that we do have search terms for and multiply them it but i dont think thats a particularly good or meaningful approach).  Is there a workaround to see behind the 'not provided' data and see the search terms actually used ?    UPDATE  I read  last night from Hacker news, which states :     [using https will allow you] more complete referrer information in Google Analytics for people   visiting from sites already using HTTPS   and contained a link to this , it seems to say that because Google's users are using https that an https site cannot pass data to an http site, as the http site is not secure, none of the sites i manage have https / sll setup, could some one confirm if Google will pass you more referrer data if your site has https implemented ? accounting for LED resistance When would you use a voltage regulator vs a resistor voltage divider?  Are there any uses for which a resistor divider is particularly bad? Is there a way to recognize destructible environment in XCOM:Enemy Unknown? How to check if a point is inside a rectangle? "Missing return statement" within if / for / while How do you run a 32-bit program on a 64-bit version of Ubuntu? I have a 64-bit version of Ubuntu 13.10.  I want to run a 32-bit version of a program.  However I see ia32-libs is not included in 13.10.  Is there a replacement package for this or what? How to make putty to not break my session after some time? Each time putty is closing the session after some time if it is idle.  There is no time parameter on putty, so how can I keep my putty ssh session always Alive? Gradient and Swiftest Ascent I want to understand intuitively why it is that the gradient gives the direction of steepest ascent. (I will consider the case of $f:\mathbb{R}^2\to\mathbb{R}$)  The standard proof is to note that the directional derivative is $$D_vf=v\cdot \nabla f=|\nabla f|\,\cos\theta$$ which is maximized at $\theta=0$. This is a good verification, but it doesn't really help me understand the result. What time zone do SO's servers operate in? What time zone do Stack Overflow's servers operate in?  I noticed that it couldn't be my time zone, or the ones before me (I'm in North American Eastern Time), because I logged into SO earlier today (around 12 pm), then I logged in just a few minutes ago (around 8 pm), then about a minute later I got the Fanatic badge (yay me!). Why Faces eat each other? Is it possible to open a remote terminal session on a Windows XP machine? Remote desktop is... useable, but I'd like to get a proper remote terminal window open on the Windows XP machine, like I'm able to with Linux. A quick Google points at , but it looks like it's only for Vista/Server. UK Standard Visitor visa application to sit for PLAB 1 without savings or job I am a medical doctor in Pakistan. I have been on a career break to allow myself to study full time for the IELTS exam (from which I recently got the required band score) and PLAB 1. I have now registered and paid for the PLAB 1 exam in UK for June 2016, as the next sitting in Pakistan is in November 2016 and I feel like I am ready to do the exam sooner.  Due to having no current employment, my savings are limited (around 25,000 Pakistani Rupees) but I live with my parents and do not have any financial commitments at home.  My savings have depleted in the past ten months whilst I have taken a career break and the money has been used for my own personal expenses. My trip to the UK is being funded by my grandfather who is a British citizen. He is a retired doctor with a good NHS pension. He has provided me with:   6 months bank statements which clearly show his pension deposits   Letter from NHS Pensions stating his pension   Sponsorship letter stating that he will pay for my PLAB exam fee, travel, accommodation and subsistinence costs whilst in the UK   Copy of British passport  Document confirming that he owns the house he lives in mortgage-free Confirmation email from GMC stating he has paid the PLAB exam fee.   Without large personal savings and no current job (but I have job offers now) would my application be rejected or is the strong sponsorship going to be good enough?  Are there any other documents I should consider submitting that may help me get a visa? find and print file path, without filename Snap application doesn't see files from another partition I have installed KeePassXC snap package on Ubuntu 17.10. I have multiple linux systems installed on the same drive, so I have made most of my home folders like ~/Documents created as links to a separate ext4 partition (users have same uid so permissions are correct). I tried to open my passwords' database which I have inside Documents, but keepassxc cannot see any files inside Documents. If I put the file in my home folder then it sees it.  Are snap packages able to find files outside from my home folder? Any way to make KeePassXC (and the rest snap packages) access the files at my separate ext4 partition (maybe some configuration somewhere)? How to install Gnome 3 without breaking Unity? I tried installing gnome 3 , but it broke Unity and I had to reinstall Natty from scratch.  Does anyone know if there is a way to install Gnome 3 without breaking Unity? I understand what the Chinese remainder theorem is. However I am not sure how to apply it to my question. Can someone explain please? Make HttpURLConnection load web pages with images I am working on the following problem asked in an examination: "What is the maximum number of cylindrical pencils of 0.5 cm diameter that can be stood in a square shaped stand of 5cm × 5cm inner cross section? 1. 99    2. 121   3. 100    4. 105." A simple calculation yielded me the answer 100.  But the answer in the key is 105. I don't how such an answer is possible. Any hint please.....Thanks in advance!