Why are there dark shadows on model in edit view?
Why are some faces in my mesh darker?
System.Exception: Too many SOQL queries: 101 Forcing SSL and www in .htaccess I'm looking for a way to force SSL and www.  I've been able to force both separately but together I keep running into redirection issues. The following code works when handling a URL in this format: http://example.com and properly redirects to https://www.example.com but when the incoming URL is https://example.com it will not forward to https://www.example.com - Any suggestions?  EDIT: it should also send http://www.example.com to https://www.example.com.  RewriteCond %{REMOTE_ADDR} !127\.0\.0\.0 RewriteCond %{SERVER_PORT} 80 RewriteCond %{HTTP_HOST} !^www.example\.com$ RewriteRule ^(.*)$ https://www.example.com/$1 [R,L] When validating a field manually from my form a error is displayed but the field doesn't get red. For the first parameter i used the name of the input element. DRUPAL 7  if($form_state['values']['panes']['webform_nid31'][0]['contact_person'] == '') {     form_set_error('panes[webform_nid31][0][contact_person]', t('You must select a name for this group of settings.'));   } Is there any online resource that can tell me what visa rules are for passport holders of a specific country? When thinking about travelling, I often have to think about a place to visit, and then look up visa rules for that particular country. This can be a fairly painful process because official government sites can often be hard to find, and advice on (say) guidebooks or Wikitravel tends to be generic.  Is there any resource where I can enter my nationality/residency, and then look up a list of visa rules for various countries? How do I get rid of the noise on my Hayes Stroker Trail brakes Why cannot this question with an open bounty be closed? Secure hash and salt for PHP passwords It is currently said that MD5 is partially unsafe. Taking this into consideration, I'd like to know which mechanism to use for password protection.  This question,   suggests that hashing multiple times may be a good idea, whereas  suggests using salt.  I'm using PHP. I want a safe and fast password encryption system. Hashing a password a million times may be safer, but also slower. How to achieve a good balance between speed and safety? Also, I'd prefer the result to have a constant number of characters.   The hashing mechanism must be available in PHP It must be safe It can use salt (in this case, are all salts equally good? Is there any way to generate good salts?)   Also, should I store two fields in the database (one using MD5 and another one using SHA, for example)? Would it make it safer or unsafer?  In case I wasn't clear enough, I want to know which hashing function(s) to use and how to pick a good salt in order to have a safe and fast password protection mechanism.  Related questions that don't quite cover my question: How can I define a 3D version of the built-in VoronoiDiagram (VoronoiMesh in V10) function? I'm trying to write an automated test of an application that basically translates a custom message format into an XML message and sends it out the other end.  I've got a good set of input/output message pairs so all I need to do is send the input messages in and listen for the XML message to come out the other end.  When it comes time to compare the actual output to the expected output I'm running into some problems.  My first thought was just to do string comparisons on the expected and actual messages.  This doens't work very well because the example data we have isn't always formatted consistently and there are often times different aliases used for the XML namespace (and sometimes namespaces aren't used at all.)  I know I can parse both strings and then walk through each element and compare them myself and this wouldn't be too difficult to do, but I get the feeling there's a better way or a library I could leverage.   So, boiled down, the question is:  Given two Java Strings which both contain valid XML how would you go about determining if they are semantically equivalent?  Bonus points if you have a way to determine what the differences are. Why, historically, do we multiply matrices as we do? Multiplication of matrices &mdash; taking the dot product of the $i$th row of the first matrix and the $j$th column of the second to yield the $ij$th entry of the product &mdash; is not a very intuitive operation: if you were to ask someone how to mutliply two matrices, he probably would not think of that method. Of course, it turns out to be very useful: matrix multiplication is precisely the operation that represents composition of transformations. But it's not intuitive. So my question is where it came from. Who thought of multiplying matrices in that way, and why? (Was it perhaps multiplication of a matrix and a vector first? If so, who thought of multiplying them in that way, and why?) My question is intact no matter whether matrix multiplication was done this way only after it was used as representation of composition of transformations, or whether, on the contrary, matrix multiplication came first. (Again, I'm not asking about the utility of multiplying matrices as we do: this is clear to me. I'm asking a question about history.) How can I detect inside a TeX file which engine (pdftex/xetex/luatex) is used to compile the file? Is there a LaTeX package that provides this functionality? What is the /boot partition really for? I'm reading a relatively old text on Linux partitions and file systems (the LPIC 1 Certification Bible). It says:     Some versions of the Linux boot loaders cannot access a kernel that is   outside the first 1024 cylinders on a disk. By putting the /boot   partition at the beginning of the drive you can be assured of not   having a problem when accessing the kernel at boot. This problem shows   itself most often in cases of dual booting Linux along with another   operating system that is on the first partition.   Why would a boot loader have "no access to the kernel outside the first 1024 cylinders on a disk"?  Also, what does "putting the /boot partition at the beginning of the drive" mean? How do I help my third-grader focus on homework? My child just entered third grade, and the homework load is much higher this year, with a lot of writing and math drills. It is all work that she can do easily, but it's causing the whole family a lot of pain, because she's have a really hard time just sitting down and doing it — asking many questions about things she clearly actually knows, and getting distracted by the smallest thing going on around her. (Setting up a special quiet area isn't helping, because the distractions could be her pencil or a sudden burst of word association based on something in the lesson.)  So, a page of writing and a couple of pages of math which could be done in fifteen minutes total is taking an hour and a half. She can easily explain the reasoning behind the math problems, but when it comes to writing down what she just said, it's like pulling teeth. She'll slowly write a word, sounding it out in slow motion as she writes each word. And she'll say that she doesn't understand a question, but when she actually gets her mind pointed at it, she can write a great answer. And she's clearly picking up the concepts in class; I have no doubt that she actually understands, which is part of our frustration.  My wife feels like she's just wanting attention, but I think it's more about our daughter's own ability to focus. We both feel that sitting down and working painfully through each question isn't really helping her. That works, but my wife feels like it's just rewarding the behavior, and I feel like it's not really helping her learn any better focus on her own, which, you know, she'll need in actual life. And, we're happy to spend child with our kid, this pretty much the opposite of quality time.  Neither rewards or consequences seem to have any effect, and nor do charts. All of those things basically just seem to add another layer of complication, distraction, and misery. What else can we do? Chrome: Site has updated in the background I keep getting these notifications despite not having an RT tab open. What gives? How to enlarge thickbox media library iframe? The iframe in thickbox media library is not big enough to display my custom tab. I tried to add "width=900&amp;height=600" at the end of the link that pointing to the library, but no luck. How can I modify the inframe size? Bring back review numbers to the top bar Though I never quite understood what those numbers were and they were quite ugly, they were the only reason I ever visited the reviews page.   Can we have similar functionality back on the top bar please? How to show that $\mathbb{Q}$ is not $G_\delta$ 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. VirtualBox Toolbar is hidden! How to show it? I accidentally hide the main Toolbar from my VirtualBox Manager UI? In my ubuntu 12.04 .   Can anyone let me know the detail steps to display the Toolbar again? I search the whole blogs but can't figure it out! The MathJax code in Mathematics Stack Exchange doesn't render after I updated to the new version (It used to):     App Version: 1.6.2.5 Device: iPhone 6s OS Version: Version 9.0 (Build 13A342)