I have a machine with both a SSD and a HDD in it.  I have two Windows installs one on the HDD and one on the SSD.  I've partitioned the SSD to have one OS in the majority of it and a small partition for swap on  in the remainder. The HDD has a different install of Windows.  For the Windows that is installed HDD I setup the swap to have swap files on both drives (HDD and small SSD partition).  When I look at prefermance monitor stats, it looks like the HDD swap is used before the SSD swap.  How can I tell Windows to use the secondary SDD swap file before the HDD one?
Suppose I have a 6 GB page file on an SSD and another 6 GB page file on a traditional mechanical 5400rpm SATA drive.  Does Windows take into account the difference in the performance characteristics between the two drives when deciding which page file to use?  If it matters, I'm asking about Windows 7 and higher.  I reviewed this  but it doesn't appear to factor in the case of dissimilar storage speeds.
US Salary Transfered to Indian Acc and Tax Relation I am on an H1b visa working and receiving a salary in the US. I have transferred approximately $15-20k to my account in India Account (not an NRE account).    How would this transfer affect my taxes in US and India. How can I avoid tax on the money that I have transferred. Would any investments help save taxes? Do I need to declare anything? If so, where ? What is the black thing on the circuit What is the black thing on the below circuit?   Is it used to hide the IC (or other components) that is used on the circuit?   What material is it? How many Shutter Clicks on a New Camera considered normal? How many Shutter Clicks on a New Camera considered normal?    I purchased a quotes new Nikon D750 and checked the shutter count and it has 264 Shutter Clik count on it.    Is that suspect of a returned purchase or used camera? I want to have a script that takes the current working directory to a variable. The section that needs the directory is like this dir = pwd. It just prints pwd how do I get the current working directory into a variable? Where is a good place to learn classical optics for high school competitions? I need to learn basic optics for a high school academic competition. Does anyone know any good places, preferably free and online, to learn the basics of optics, like lenses, angles of incidence, etc.? I can't seem to find an MIT OpenCourseWare course addressing the issue. I am trying to create an spritz app. Everything was working fine, but since yesterday I keep getting this error:     ./spritz: line 176: syntax error: unexpected end of file   I have checked the script file and everything seems perfect. I am confused, I have an if statement at last and it looks correct! Here is the last portion:  #checks if speed is 150 157 if [[ $2 -eq 150 ]]; 158 then 159 starttime=$SECONDS 160      FS=$'\n' 161      for j in `grep --color=always -iP '\b[^aeiou\s]*[aeiou][^aeiou\s]*\K[aeiou]' $1`; 162      do 163            #Reads the text file in the centre of the screen 164            echo "                                                    ___________________" 165            echo "                                                             $j"; 166            echo "                                                    ___________________" 167            echo "                                                                               Speed 150 wpm" 168            sleep  0.9; 169            clear; 170       done 171 endtime=$(($SECONDS - $starttime)) 172            echo "You read $words_read words in $endtime seconds!" 173       exit 8 174 fi   What could cause that error? pgAdmin 4: How to establish a connection through an SSH tunnel/interface in Windows I installed the latest pgAdmin 4 (v2.1) but I found out that (), for the moment, the only way to establish a connection through an SSH tunneling is using another outside process, an  says:  I setup a tunnel as follows: ssh -f dpage(at)hostname(dot)enterprisedb(dot)com -L 5999: hostname.enterprisedb.com:5432 -N  (...) I was running on Mac, but the same procedure should work on Linux. On Windows, there's a tunnelling app in Putty iirc, but I don't know how to use it offhand.  I have found a simple . The connection is established but it seems, when I try to connect through pgAdmin it fails or is refused (using 127.0.0.1:3306 or 127.0.0.1:5432 as the tunnel's destination). Why? I was just chatting on the Ask Different chat - and the reputation numbers for me and the others chatting don't seem to match any other reputation count I can see on the sites here.  Is there some calculation being made? These numbers are the highest of any other combined reputation I have seen. For me - I'm listed over 10k - but no other aggregate reputation counter I can see is above 8k.  Perhaps I'm unaware how reputation is calculated, but the people there suggested a bug report in case this isn't intended.  (after three lines of text are drawn - a number shows beneath our icons in the left hand side) "The train will leave" vs. "is going to leave" vs. "leaves" vs. "is leaving" One or more of the following things happened to me on a Stack Exchange site:   My post(s) were wrongly deleted or locked by a moderator A moderator posted a wrong comment on one of my posts I was suspended, but did not do anything wrong I asked a meta question, but the question was closed and/or deleted A moderator discredited me in public ...   I think a moderator has abused their power, but I feel powerless against them.  What recourse do I have now? What can I do when I feel that a moderator has abused their power, and has been repeatedly unfair in their dealings with me? Short story where time is accelerated and characters have to get back to ship? Looking for a short story where time is accelerated on a planet.  The characters are actually born at the beginning of the story and then grow up quickly and inadvertently learn that their forebears came from a rocket ship nearby.  After having aged to "teenagers" they try to reach the ship?  At some point there is a war between confused aging survivors.  I think it was in a compilation which included a story called "Cousins". How can wifi penetrate through walls when visible light can't? I did search the question on Physics S.E considering it would be previously asked. I found this  But in this question , the answers are w.r.t to or in comparison with microwaves , their absorption and certain other things. I didn't find a sort of general answer that could be the answer to the question. So the question is - wifi or radio waves  reach us through concrete walls . They also reach us through the ceiling (if some one is using it in the flat above ours ). Even through the air they travel such a lot , bending around corners or doors . Now I would not compare them to microwaves (because I don't want the answer in terms of properties of the material but physics). Visible light which is so much powerful than them can't penetrate black opaque paper leave alone the walls. Same is true for gamma rays (penetration through a very thick wall). So why then radio waves being so very less powerful than light  waves are able to travel through walls? There should be a general concept as to why the radio waves are able to pass through walls but microwaves or light waves cannot ! A linked question is also that sound travels much faster in solids(walls) but is not audible in it though it is in air. After reading @BillN's answer, it would be really helpful if any one could explain it in terms molecular resonance or crystalline structure or electrical conductivity or how does molecular resonance or crystalline structure or electrical conductivity cause this. Is there a word or phrase to define several words linked by hyphens, such as in "a sit-back-and-wait-for-it attitude" some more examples:   "And she gave me that aren't-I-just-gorgeous smile." "The I-did-it-my-way approach." "A from-this-day-forward-I-have-no-son scene." How can I switch between keyboard layouts by pressing a keyboard shortcut like on Windows? Possible Duplicate:          On Windows I am able to switch between keyboard layouts by pressing Alt+Shift. Is there a similar keyboard shortcut in Ubuntu? Why only light nuclei are able to undergo nuclear fusion not heavy nuclei? Is it because of the binding energy or the binding energy per nuclei .  I am having trouble with this whole binding energy and nuclear fusion concept. How to get/suppress french spacing before punctuation in `\href` Attention I have already a possible answer and will add it soon. I thought it would be useful to have a solution about it on the site. (Other answers are naturally welcome too).  Question How to activate or suppress the french spacing before some punctuations like a colon in the text argument of \href locally (for one specific \href) and globally? Switching the language is not an answer!  Minimal examples for tests (the argument of \href should normally be a valid url, so it is a bit unfair to add an example without a colon in the link):  pdflatex  With pdflatex it depends on the link how the argument of \href is printed:  \documentclass{article} \usepackage[french]{babel}  \usepackage{hyperref}  \begin{document} With pdflatex no french spacing in links with colons:   \href{link}{a:b}  \href{link:colon}{a:b}  \end{document}     lualatex  With lualatex the spaces are always there:  \documentclass{article} \usepackage[french]{babel}  \usepackage{hyperref}  \begin{document} With lualatex always spaces:  \href{link}{a:b}  \href{link:colon}{a:b}  \end{document} Why is sample standard deviation a biased estimator of $\sigma$? Cocos2d-x supporting multi-resolution using density independent pixels Is there a way to use Density Independent pixels(dp) in cocos2d-x?  I am developing an Android game using Cocos2d-x 3.0.  The Android reference  tells me not to use pixels in code but use dp when supporting multi-resolution support. It also tells me to provide different images for different screen size groups and different density groups.  However, cocos2d-x tutorials use pixels for multi-resolution support. If I were to use pixels, I think it means I need to have images for all these different resolutions:  240x320, 240x400, 240x432 320x480 480x640, 480x800, 480x854 600x1024 640x960 1024x600, 1024x768 1280x768, 1280x800 1536x1152 1920x1152, 1920x1200 2048x1536 2560x1536, 2560x1600  Even if I don't support every screen resolutions, I think this requires more work than following the Android reference's best practice.  Am I missing something on how supporting multi-resolution works or do I indeed do need to do much more work using cocos2d-x? When we find the electric field between the plates of a parallel plate capacitor we assume that the electric field from both plates is $${\bf E}=\frac{\sigma}{2\epsilon_0}\hat{n.}$$ The factor of two in the denominator comes from the fact that there is a surface charge density on both sides of the (very thin) plates. This result can be obtained easily for each plate. Therefore when we put them together the net field between the plates is $${\bf E}=\frac{\sigma}{\epsilon_0}\hat{n}$$ and zero everywhere else. Here, $\sigma$ is the surface charge density on a single side of the plate, or $Q/2A$, since half the charge will be on each side.   But in a real capacitor the plates are conducting, and the surface charge density will change on each plate when the other plate is brought closer to it. That is, in the limit that the two plates get brought closer together, all of the charge of each plate must be on a single side. If we let $d$ denote the distance between the plates, then we must have $$\lim_{d \rightarrow 0}{\bf E}=\frac{2\sigma}{\epsilon_0}\hat{n}$$ which disagrees with the above equation. Where is the mistake in this reasoning?  Or more likely, do our textbook authors commonly assume that we are in this limit, and that this is why the conductor behaves like a perfectly thin charged sheet? Is there a limit to a total number of months a holder of UK multiple entry visitor visa can spend in UK per calendar year?