I recently tried moving the location of windows's Index files from my C (SSD) drive to another regular drive with more space...  I went to the Advanced Options under Indexing Options and put the 'new' path there...  Everything seem to run well for a day or 2. But now search has stopped working. Even typing the name of a program into the start menu brings up nothing.  I checked the indexing options and now it shows me this :     The advanced options show me this :    I checked the services.msc and it shows that windows search is stopped. If I start the service , nothing happens.  I can't put a new location into the advanced indexing options as the 'select new' button is disabled, as are the 2 text fields...  The rebuild button does nothing either.  Running the troubleshooter tells me that the indexing service is turned off and should be turned on.   I tried checking the registry... under the directory HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search I see that 'data directory' is set to C:\ProgramData\Microsoft\Search\Data\ (the default), as is 'defaultDataDirectory'.  So, any suggestions how I can restore windows indexing, preferably with the indexing files not on my C drive.  thanks!
I recently upgraded Windows 7 to Windows 10. The biggest issue I have now is that the Windows Search service no longer works, making the Start menu mostly unusable.  If I go to Indexing Options in the control panel I see that Indexing is not running and the list of paths to index is empty.  Going to advanced options, the current index path is empty, and the new path is empty too. This is true even if I try to use the "New Index" button.  Using the troubleshooter won't help since the service doesn't start. If I try to manually start the "Windows Search" service, I get the error  "Error 3: Unable to find specified path" (this is the rough translation, the original message is in my language).  What can I do to find out which path/file is missing ? I tried to check with Process Monitor, but the only file (beside system libraries) the SearchIndexer.exe try to access seem to be c:\ProgramData\Microsoft\Search\Data\Application (everytime the service is started the whole folder c:\ProgramData\Microsoft\Search is deleted and recreated) and C:\Windows\System32\config\systemprofile (which exists).  Edit: all available updates are installed, and issuing      SFC /scannow   Doesn't reveal any issue
How do I calculate $\lim_{x\rightarrow 0} x\ln x$ I was thinking about the reasons behind $0^0=1$ and I remember one of my friends studying math arguing about the continuity of the function $x^x$ in $0$. But when I write as $$x^x=e^{x\ln x}$$ I am now looking at $$\lim_{x\rightarrow 0} x\ln x$$ Graphically I can see in Mathematica that it goes to $0.$ But I can't calculate by using a Taylor expansion, because I can't expand log around $0$. How do you prove that? How long can I store a food in the pantry, refrigerator, or freezer? How do I know if a given food or ingredient I have is still good, or if I should discard it?  How can I best preserve a food or ingredient?     This broad question is intended as a "general reference" question to quickly answer many how long will food keep for? questions. Please feel free to edit this question to expand and clarify as needed. How to make a WPF application a 30 day trial version, and make it licensed using product key? We're in the process of deploying a private openstack instance but don't have the Swift object storage service available yet. Can juju bootstrap launch a utility instance without swift? I see that the openstack configuration control-bucket is a container id. We know that $e^{\pi i} = -1$ because of de Moivre's formula. ($e^{\pi i} = \cos \pi + i\sin \pi = -1).$  Suppose we square both sides and get $e^{2\pi i} = 1$(which you also get from de Moivre's formula), then shouldn't $2\pi i=0$? What am I missing here? How do I get the local machine name? The cube of any number not a multiple of $7$, will equal one more or one less than a multiple of $7$ Yeah so I'm kind of stuck on this problem, and I have two questions.   Is there a way to define a number mathematically so that it cannot be a multiple of $7$? I know $7k+1,\ 7k+2,\ 7k+3,\ \cdots$, but that will take ages to prove for each case.  Is this a proof? $$(7k + a)^3 \equiv (0\cdot k + a)^3 \equiv a^3 \bmod 7$$    Thank you. How to model the bottle threads? The picture show the threads I want to create on the highlighted object. Problem is I don't know how and tutorials really haven't helped much as most of them seem to be about creating a bolt. So I was hoping I could get some help on how to do this efficiently.While keeping the top flat like a water bottle. The picture shows the threads I'm after. How do you run a Python script as a service in Windows? I am sketching the architecture for a set of programs that share various interrelated objects stored in a database. I want one of the programs to act as a service which provides a higher level interface for operations on these objects, and the other programs to access the objects through that service.  I am currently aiming for Python and the Django framework as the technologies to implement that service with. I'm pretty sure I figure how to daemonize the Python program in Linux. However, it is an optional spec item that the system should support Windows. I have little experience with Windows programming and no experience at all with Windows services.  Is it possible to run a Python programs as a Windows service (i. e. run it automatically without user login)? I won't necessarily have to implement this part, but I need a rough idea how it would be done in order to decide whether to design along these lines.  Edit: Thanks for all the answers so far, they are quite comprehensive. I would like to know one more thing: How is Windows aware of my service? Can I manage it with the native Windows utilities? What is the equivalent of putting a start/stop script in /etc/init.d? Is "there're" (similar to "there's") a correct contraction? Q: "Do you have any juice?"   A: "Yes, there's some in the fridge."   Sounds perfectly fine to me, but:     Q: "Do you have any towels?"   A: "Yes, there's some in the closet."   Does not.  I asked for towels - plural - so wouldn't "Yes, there're some in the closet," in which there are is turned into a contraction be the correct way to say it?  Spellcheck, however, doesn't like "there're", and I think I'm the only person I've ever heard use the word "there're".  Even folks who I know say "there are" shorten it to "there's" when possible.  Am I saying it wrong, or are both forms acceptable? Find where java class is loaded from Does anyone know how to programmaticly find out where the java classloader actually loads the class from?    I often work on large projects where the classpath gets very long and manual searching is not really an option.  I recently had a  where the classloader was loading an incorrect version of a class because it was on the classpath in two different places.  So how can I get the classloader to tell me where on disk the actual class file is coming from?  Edit: What about if the classloader actually fails to load the class due to a version mismatch (or something else),  is there anyway we could find out what file its trying to read before it reads it? Website display problem - across all browsers whenever I go to  or  the page loads like this:    How can I fix this? Simplest Example of a Poset that is not a Lattice A partially ordered set $(X, \leq)$ is called a lattice if for every pair of elements $x,y \in X$ both the infimum and suprememum of the set $\{x,y\}$ exists. I'm trying to get an intuition for how a partially ordered set can fail to be a lattice. In $\mathbb{R}$, for example, once two elements are selected the completeness of the real numbers guarantees the existence of both the infimum and supremum. Now, if we restrict our attention to a nondegenerate interval $(a,b)$ it is clear that no two points in $(a,b)$ have either a suprememum or infimum in $(a,b)$.   Is this the right way to think of a poset that is not a lattice? Is there perhaps a more fundamental example that would yield further clarity? Does an HDR environment texture affect the Shadow pass? I am compositing a scene using a standard process in Cycles, and it worked correctly as long as I had my lighting setup in the scene, however when I switched to HDR, my Shadow pass seems to become a solid black. Why is this, and how can it be avoided?  My node setup: Unable to locate package This question is here so we can offer users who are looking for information on how to make one or more common or basic redirects in Apache using the htaccess file. All future questions pertaining to finding information that is that is covered by the question should be closed as a duplication of this question. .  Whats the point in this question? The idea while not perfect is catch the most commonly asked questions regarding redirects using the  htaccess on the Apache platform either on  some type of lamp or a live server. The type of answers should be generally those that you could imagine are used by 100,000’s of sites world-wide and are constantly asked here at Pro Webmasters repeatedly over and over in various forms.  A few examples of the type of answers we are looking for:   How can I redirect non-www to www? How can I redirect a sub domain to the main domain? How can I redirect a sub folder from domain to a root or a subdomain?  How can I redirect an old URL to a new URL?   A few examples of the types of answers that we are not looking for:   Answers that do not involve a redirect. Any answers relating to NGinx, IIS or any other non-Apache platform. Answers that involve custom and complex string or query removals.   Resources for Advanced to Complex Mod_Rewrite Rules:      Please note: that this question is still in construction and may need some refining either by myself or a real moderator of Pro Webmasters, if you have any concerns or questions . I have some Java executable (jar) that is run my some shell script from a cron job once every night. That executable does not print log statements &quot;as usual&quot; just by printing them out in a sequential manner like line after line (print after print), but while it processes its data its printing a single line with status data and then &quot;overwrite&quot; or &quot;update&quot; just that single line over and over again, until its done with this part of processing. Examples: A common program would output something line this: Program XYZ started..&lt;cr+lf&gt; processing 1&lt;cr+lf&gt; processing 2&lt;cr+lf&gt; processing 3&lt;cr+lf&gt; im done&lt;cr+lf&gt;  Simple! I can easily redirect its output to a file and I'm done. But the program I will have to deal with does it more like this: Program XYZ started..&lt;cr+lf&gt; processing 1&lt;cr&gt; processing 1 - part a&lt;cr&gt; processing 1 - part b&lt;cr&gt; processing 1 - part c&lt;cr&gt; processing 1 - part d&lt;cr&gt; &lt;cr+lf&gt; processing 2&lt;cr&gt; processing 2 - part a&lt;cr&gt; processing 2 - part b&lt;cr&gt; processing 2 - part c&lt;cr&gt; processing 2 - part d&lt;cr&gt; &lt;cr+lf&gt; processing 3&lt;cr+lf&gt; im done&lt;cr+lf&gt;  but much more intensive than I showed here. So it just not always overwrite status lines, but does it a lot while processing. So just redirecting or appending its output to a log file does not seem to make a lot of sense here, since it will just clutter the log file with millions of screen-updates that can not be viewed and understood that easily by humans. So my question is: is there a way or tool for programs that may behave like that to &quot;log&quot; or maybe &quot;screenshot every 30 seconds&quot; their output to a log file? derivative under integral intuition Does Google penalize daily updated  tags in sitemaps if the data is not daily updated? How did Anakin Skywalker survive Order Sixty Six? . When activated, troopers would immediately perceive Jedi as a threat and kill them.  Since Anakin was a Jedi until around the time of the Order, how did the troopers know not to kill Anakin?