Proper File Name Conventions for File Indexes
Change web folders names with uppercase to lowercase or not?
Why is my "Committed" memory so much higher than my actual RAM space? I have run two virus scans and neither of them have found anything so far (Malware Bytes and Avira Rescue). During gaming I will get Windows popups saying that my system is low of memory and recommends closing the game. This can also happen while browsing. My computer seems to become sluggish a lot and will hang up often, such as when clicking a link from a messenger program to open in my browser.   I am unsure what is causing this. My memory usage on the processes tab doesn't add up to such a high percentage of my actual memory.    As a side note, is my Disk Usage supposed to spike up to 100% sometimes? Research seems to say so. Automatically keep current version of config files when apt-get install I searched all over this site and the web for a good and simple example of autocomplete using jQuery and ASP.NET. I wanted to expose the data used by autocomplete with a webservice (and will probably do that next). In the meantime, I got this working, but it seems a little hacky...  In my page I have a text box:  &lt;input id="txtSearch" type="text" /&gt;   I am using jQuery autocomplete, set up per their example:  &lt;link rel="stylesheet" href="js/jquery.autocomplete.css" type="text/css" /&gt; &lt;script type="text/javascript" src="js/jquery.bgiframe.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="js/jquery.dimensions.pack.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="js/jquery.autocomplete.js"&gt;&lt;/script&gt;   Here is where it starts to get hacky... I call a page instead of a webservice:    &lt;script type="text/javascript"&gt;     $(document).ready(function(){         $("#txtSearch").autocomplete('autocompletetagdata.aspx');     });         &lt;/script&gt;   In the page I stripped out ALL of the html and just have this (otherwise, various HTML bits show up in the autocomplete dropdown):  &lt;%@ Page Language="C#" AutoEventWireup="true" CodeFile="autocompletetagdata.aspx.cs" Inherits="autocompletetagdata" %&gt;   And in my autocompletetagdata.aspx, I am using SubSonic to query, format and return data from the database (one data item per line):  protected void Page_Load(object sender, EventArgs e) {     // Note the query strings passed by jquery autocomplete:     //QueryString: {q=a&amp;limit=150&amp;timestamp=1227198175320}      LookupTagCollection tags = Select.AllColumnsFrom&lt;LookupTag&gt;()         .Top(Request.QueryString["limit"])         .Where(LookupTag.Columns.TagDescription).Like(Request.QueryString["q"] + "%")         .OrderAsc(LookupTag.Columns.TagDescription)         .ExecuteAsCollection&lt;LookupTagCollection&gt;();      StringBuilder sb = new StringBuilder();      foreach (LookupTag tag in tags)     {         sb.Append(tag.TagDescription).Append("\n");     }      Response.Write(sb.ToString()); }   If you don't do a LIKE query, then it returns everything that contains a match for the character(s) you type -- e.g., typing "a" will include "Ask" and "Answer" as well as "March" and "Mega." I just wanted it to do a starts with match.  Anyway, it works and it's pretty easy to set up, but is there a better way? onConfigurationChanged not getting called No sound (speakers/jack) + microphone's dead after spilling water Need help to install persistent Ubuntu on USB drive Possible Duplicate:          I am a new user of Ubuntu. I would like to install a persistent Ubuntu 11.04 to my USB stick, and it should be able to work as a guest OS running on Windows so that I can boot it on other computers other than the one which I used for the installation. I have used several creators such as unetbootin, however from my understanding it can only create Live Linux which I am unable to save my configurations and files. If it's possible I would like to bypass the BIOS, that is to say that I can just load from the virtual machine without having to restart the computer. Thanks in advance!    Thanks for all the replies! Hi Mike, I am able to create a virtual machine and run it from my USB drive using a portable virtualbox. How do I go about from there, do I have to proceed with the installation? Could you elaborate more on the steps for the installation? Thanks again! We are getting  in M19. What if I enchant my , copying my opponents . Then I pay the cost on my Bolas (previously a Delver) to activate his transform ability.  What will happen? I can think of 3 possibilities:   My Delver is exiled and the aura goes to the graveyard. My Delver is transformed, aura goes to the graveyard, but the Delver transforms into  My Delver is transformed, aura goes to the graveyard, and the Delver transforms into In a race there are n horses.In the race more than one horse may get the same position. For example, 2 horses can finish in 3 ways.   Both first horse1 first and horse2 second horse2 first and horse1 second   In how many ways,the race can finish so that a particular horse can never be first.If f(n) is the number of ways, is there any recurrence relation to get f(n). Adjective meaning "argumentative for argument's sake"? Exploring $ \sum_{n=0}^\infty \frac{n^p}{n!} = B_pe$, particularly $p = 2$. I was exploring the fact that $$ \sum_{n=0}^\infty \frac{n^p}{n!} = B_pe,$$ where $B_n$ is the $n$th Bell number.   I found this result by exploring the series on wolframalpha and looking up the sequence of numbers generated. I have no experience with Bell numbers other than knowing that they represent the number of ways of partitioning a set.   What I tried  Looking at the base case we can verify $$\sum_{n=0}^\infty \frac{n}{n!} = \sum_{n=1}^\infty \frac{1}{(n-1)!} = e. $$  But then I realize that $n^2$ is going to be difficult.  Specifically what I want  I am doing this for fun, so I just want to glean some sort of lesson out of this. Resources that let me learn for myself are just as good!   An accepted answer will have any one of the following:   A proof that $\sum_{n = 0}^{\infty} \frac{n^2}{n!} = 2e$ (this interests me a lot) A description of why this series is related to Bell numbers and the number of partitions of a set A link to some resource that introduces Bell numbers and/or their connection to this series. How can I disable the volume warning if you raise the volume too much? Why English pronunciation differs so much from written language, compared to German? Given that English is derived mostly from German, when Anglo-Saxons (German tribes) migrated to Britain, how do you explain that   although German has a strict correspondence between written language and spoken language (the sounds largely follow 1-1 what is written)... English has sooo intricate pronunciation rules, sometimes directly at odds with what is written? (Too bored to give examples, but it should be obvious).   My pet, tongue-in-cheek theory is that those tribes weren't too literate, didn't have a sound knowledge of the written form of words, so it was easy the pronunciation to follow its own independent path.   Anyone with a more informed explanation? We have given isosceles triangle $ABC$ with baseline $AB$. Point $M$ is midpoint of AB. Draw perpendicular line to side $AC$ through $M$ which intersects $AC$ in point $H$. Let $P$ be midpoint of $MH$. Show that lines $BH$ and $CP$ are perpendicular to each other.  I also have "hint": Construct height $BD$ to side $AC$ and look at the triangles $ABD$ and $MCH$.  Analytically there is no problem but I get stuck in geometrical approach to solution. Top of answer covered by sticky top bar after clicking direct link I have several covariates in my calculation for a model, and not all of them are statistically significant.  Should I remove those that are not?  This question discusses the phenomenon, but does not answer my question:   There is nothing in the answer to that question that suggests that non-significant covariates be taken out, though, so right now I am inclined to believe that they should stay in.  Before even reading that answer, I was thinking the same since a covariate can still explain some of the variance (and thus help the model) without necessarily explaining an amount beyond some threshold (the significance threshold, which I see as not applicable to covariates).  There is another question somewhere on CV for which the answer seems to imply that covariates should be kept in regardless of significance, but it is not clear on that.  (I want to link to that question, but I was not able to track it down again just now.)  So...   Should covariates that do not show as statistically significant be kept in the calculation for the model?  (I have edited this question to clarify that covariates are never in the model output by the calculation anyway.)  To add complication, what if the covariates are statistically significant for some subsets of the data (subsets which have to be processed separately).  I would default to keeping such a covariate, otherwise either different models would have to be used or you would have a statistically significant covariate missing in one of the cases.  If you also have an answer for this split case, though, please mention it. Closed form for an infinite product The following fascinating formula appears in the paper  by M.Chamberland and A.Straub (see page 9): $$\prod_{n=2}^\infty\left(1-\frac{1}{n(n-1)}\right)=-\frac1\pi\cos\left(\frac{\sqrt5}{2}\pi\right).$$ Unfortunately, it's given without any reference or explanation. Could anyone give one? Why doesn't saturation current in the photoelectric effect depend on the frequency of light absorbed ny the metal emitter? I would like to reload an &lt;iframe&gt; using JavaScript. The best way I found until now was set the iframe’s src attribute to itself, but this isn’t very clean. Any ideas? Writing a git post-receive hook to deal with a specific branch Theme Image Style for image located in module directory Probably coming at this from too much of a Drupal 6 view point but...  How do I theme an image in a given image style when that image lives in a module folder?  This is driving me batty and I know I'm just missing something simple.  Here is some example code showing what I'm trying to do:  $file_uri = 'public://sites/all/modules/my_module/logo.jpg'; $data['logo'] = theme('image_style', array('style_name' =&gt; 'medium', 'path' =&gt; $file_uri));   Even if I use file_build_uri(), I end up with a path to a file that doesn't exist. If I move the image to the files directory and change the $file_uri to 'public://logo.jpg', it works just fine.  Do I need to copy the image to the files directory as part of the module code?  If so, isn't this ridiculous?  What am I missing?  Is there documentation on how to do something like this?  I've spent over an hour mining the Drupal documentation and came up completely dry.