I installed windows 7 a few months ago while my SATAs in my bios were configured as IDE. When I change it to AHCI for an added speed boost, I get a BSOD on startup. Is there a way or tool I can use to get my OS to boot in ahci mode without reinstalling windows?  I tried the windows recovery and start up fixes but they did not work.  Thanks
Can I enable AHCI after installing Windows 7 in a SATA drive that was on IDE mode?
The description of the  says:     Your Intelligence score is 19 while you wear this headband. It has no   effect on you if your Intelligence is already 19 or higher.   The  spell description says that my Intelligence score becomes 1 on a failed save:     [...] On a failed save, the creature's Intelligence and Charisma   scores become 1. The creature can't cast spells, activate magic items,   understand language, or communicate in any intelligible way. [...]   If I am affected by Feeblemind and I am wearing the Headband of Intellect, would I have an Intelligence score of 19 or 1?   Also, what about the other effects like not being able to cast, activate magic items, understand languages or communicate in any way? Those seem Intelligence-related, but are mentioned additionally to the reduction.   If the Intelligence score becomes 19, are the other effects still active? There is a problem 3.3 in :     Ambiguities in the energy-momentum tensor:      (a) If you add a total derivative to Lagrangian ${\cal{L}} \rightarrow {\cal{L}} + \partial_\mu X^\mu$, how does the energy-momentum tensor change?      (b) Show that the total energy $Q = \int d^3x \; {\cal{T^{00}}}$ is invariant under such changes   Given the definition of energy-momentum tensor:  $$ {\cal{T}}^\mu{}_\nu = \sum_n \frac{\partial{\cal{L}}}{\partial \left( \partial_\mu \phi_n \right)} \partial_\nu \phi_n - g_{\mu\nu} {\cal{L}} $$  It changes as:  $$ \delta {\cal{T}}^\mu{}_\nu =  \sum_n \left( \partial_\rho \frac{\partial{X^\rho}}{\partial \left( \partial_\mu \phi_n \right)} \right) \partial_\nu \phi_n - g_{\mu\nu} {\partial_\rho X^\rho} $$  $T^{00}$ changes as:  $$ \delta {\cal{T}}^{00}= \sum_n \left( \partial_\rho \frac{\partial{X^\rho}}{\partial \dot{\phi_n}} \right) \dot{\phi_n} - \partial_\rho X^\rho $$   From this point I’m stuck. The first term doesn’t seem to disappear at all after integration over space, and the second disappears only partially:  $$ \int d^3x \; \dot{X^0} $$  So even if I’d have assumed that $X$ depends on position, and not on the fields - the total energy doesn’t seem to be invariant under it.  What is the best way to proceed forward with this? What is the best way to clean the sensor on a interchangeable lens camera (mirrorless or digital SLR)? I would like AUCTeX (that is, Emacs with auctex loaded) to suggest more LaTeX macros when using completion (M-Tab or C-Ret) than it does by default. I would like to have macros from packages I have downloaded on CTAN and macros I have written. I would also like it if it would complete \section or other macros that can be accessed via C-c C-s, C-c C-e etc.  Solution: I could not make the code quoted by  work. i get an error on loading emacs but did not looked much further in because I ca bear the nuisance of appending a few lines to my files.  The link given by Ben ( contains a working solution, thus I accept his answer. I had come across this page in my researchs but somehow messed up things. What eventually worked for me was using TeX-auto-generate TEX AUTO to create a bunch of .el files in the ~/.emacs.d/auctex/auto direcoty. Note that this directory must be created beforhand. For some reasons TeX-macro-private did not achieve the wanted result. Add days to JavaScript Date On my homepage, I'm using this method to hide my email from spam bots:  &lt;a href="admin [at] example.com"    rel="nofollow"    onclick="this.href='mailto:' + 'admin' + '@' + 'example.com'"&gt;Contact me&lt;/a&gt;   What do you think about it? Is it effective? What other methods do you know or use? How to hyperlink only the year part when using natbib and hyperref I am using the natbib and hyperref packages:  \usepackage{natbib}  \usepackage[pagebackref=true, plainpages=false, bookmarks, bookmarksnumbered, colorlinks, linktocpage=true, linkcolor=blue, citecolor=blue, filecolor=black, urlcolor=blue]{hyperref}   With my current settings (above) both the name and the year are hyperlinked.  My question is, whether there is a way to hyperlink (or color) only the year-not the author(s).   I have the impression reading this post  that biblatex does it by default. However changing to biblatex is not an option for me at this point.  Any helpful comments will be greatly appreciated. I would like to revise the default new user registration form in Drupal 7. Rather than to requst "username", I want to request "full name" with helper instructions to enter the text "username is your full name as you would normally use it."  There may be some other minor formatting changes I would like to make as well.  I cannot find an admin menu item to access anything relating to this question. And I am unable to locate a file within any director that has any text that would indicate it is the source for the new user registration form.  I realize this is a bit unconventional, however it is useful for our needs. I am aware of a module that allows the input of First Name / Last Name, but in processing it changes the input to first initial/lastname, ie Tom Thumb = username of "tthumb". The module "Realname Registration" would be just what I am looking for if it would only translate the username the same as the input.   That wouldn't necessarily solve the other formatting edits, but I would be very happy just to be able to manually edit the registration form help text under the username field, instructing the new user to register using thier real name.  Thanks for any help that you can provide.  J.M. Why does Java have an "unreachable statement" compiler error? Every time I read the tips for installing an SDK, IDE, some extension and so on, it says, that I should unpack them in /opt folder. Why do I need to do that?   When I was installing Ubuntu, I read that I should set only 10-20 GiB for the / file system and remaining space set for /home. So should I extend the space for root folder, or leave all stuff at /home? Is there any difference? Cycles in SHA-256 Let's say I start with a particular 256 bit value. Call this $v$. I then hash that value, and get another 256 bit value. Call this $\text{SHA256}(v)$. I take this value and get another 256 bit value. Call this $\text{SHA256}^2(v)$. More generally, let's call the result of hashing $v$ repeatedly $n$ times $\text{SHA256}^n(v)$.  Now my question is, how big will $n$ be, such that $\text{SHA256}^n(v) = v$?  It would seem to me, that if it's a giant sort of permutation, $n$ would have to be $2^{256}$, is that correct? Is that provable, or is there any information on this? (Just curiosity, really.)  Another question I had was, do all 256 bit strings have unique SHA256 values, and is there a way to show that? (Or, stated differently, can it be shown that there are no SHA-256 collisions in the language of all "256 bit strings"?) I understand how Insight and Perception can be used passively: for the DM to determine if an enemy Deception or Stealth attempt is successful without alerting the players that someone is deceiving or sneaking.    But the Observant feat in the Player's Handbook states:      [...] You have a +5 bonus to your passive Wisdom (Perception) and passive Intelligence (Investigation) scores.     So in what situation would a DM be rolling something against the player's Investigation without letting them know? Excel function that evaluates a string as if it were a formula? Minimum reputation for answering your own question should be higher than what is needed to ask If we're implementing , why don't we also require that users have at least 1.5 times the amount of reputation needed to ask their current question in order to answer their current question?  I believe this would really reduce the amount of non-answers that should have been edits to the original question, or perhaps a comment under another answer.  Edit  Inspired by marcog's excellent suggestion , perhaps it would make more sense to set a minimum amount of time that must pass before you can answer your own question. New users would need to wait in the neighborhood of six hours, while users with more reputation could answer their own question within minutes if they discovered the solution on their own.  This would get in the way of the behavior that we don't want, which is people posting answers that should have been edits while not annoying most. Sensor for detecting airsoft bullet I'm trying to make airsoft chronograph/chronometer (a device that measures airsoft bullet speed). The idea is to measure time in which bullet is traveling from point A to point B, and then I can calculate bullet speed. Bullet is shot into plastic pipe with diameter of 32mm. I've tried to put on one side IR LED and on the other side phototransistor (BPW 40), both at the start and end of the tube. Something like this:  Blue circles are phototransistors, red circles are IR LEDs and white circles are airsoft bullets. When bullet passes through area where bullet 2  is drawn (just in between IR LED and phototransistor), everyting works perfectly. But when the bullet passes where bullets 1 and 3 are drawn, it isn't detected. That is expected, but unwanted behavior. So my question is: how can I detect bullets regardlessly of it's position ? I've thought about putting IR LEDs and phototransistors around the pipe (not only in one place), like this:  but this solution isn't cheapest: 5 IR LEDs + 5 BPW 40 = cca $12 times 2 (because I need it on both sides of the pipe) = $24. Is there any cheaper solution ? Is BPW 40 good choice for phototransistor ? I don't know which IR LEDs I'm using (and salesman in the store also doesn't know - he told me these are generic ones for remote controllers, like TV or DVD controller). Diameter of the pipe is 32mm and it will be long about 14cm (sensors will be 10cm apart). Diameter of airsoft bullet is 6mm. EDIT: I'll go for my second idea. I just have one more question: is it better to arrange IR emitters and photo transistors this way:  or this way:  Thanks !! Sort Order on the User Filter is Surprising To Me When filling in the "Type to Find Users" , it seems to sort by exact match and then by reputation when I am on the reputation tab.   For example, please consider the following search results:    This threw me off since I thought that the sort order is reputation. I guess this often might give people what they want, but when picking a popular name is shows a lot of 0 rep users. Maybe adding a filter for low rep to the exact match might give more expected results, or just sorting on Rep? Why are "baked" and "naked" not pronounced the same? Smooth transition between two materials Compact space and Hausdorff space A continuous map from a compact space to a Hausdorff space is closed. Why this is true?  Help me please I want to learn why this is correct. Received W-2 but was never paid I just now received a W-2 from a company that I worked for 3 days as a contractor. I had to leave country for 2 months due to a family emergency. Since the employment duration was very short, I was not paid. I was told that they don't want to charge the client because 3 days is not enough contribution.  Since I had to leave country the same day, I did not argue with them and told it's okay if they feel right.  Now I have a W-2 from them saying they have paid me about $1500. I contacted them but I have not received any reply yet.  I just want to be prepared. What can I do here?