Need to autofill content type field based on other field of form
Autofilling fields based on another field
Explain travel times and distances on flight A flight from Los Angeles to ABQ is about 2 hours but is ~670.2 miles  A flight from San Jose to Chicago is 4 hours but is ~1859.0 miles  Can anyone explain why the travel time from San Jose to Chicago is not longer and closer to 5.75 hours?  If the distance increase by 2, shouldn't the time increase by a factor of 2 as well? Recent fluid-mechanical experiments by the groups of Couder in Paris and Bush at MIT, mimic a surprisingly wide range of quantum effects. The essential ingredient of these fluid-mechanical systems is a background or pilot-wave that guides the droplets.  Now, surprisingly, a simple analysis of a Bell-type experiment shows that, in the presence of a background field, one of the premises of the Bell inequality, namely measurement independence (MI), is violated. See the paper  (available ). Therefore such classical droplet experiments could violate a Bell inequality. More importantly, if this analysis is correct, background-based hidden-variable theories are admissible, even if they are local (in the sense of ‘involving only (sub)luminal interactions’) and even if they are compatible with free will.   My question: to me the analysis seems fully sound, but maybe there is still an unphysical hypothesis that slipped in ? Does C# have an equivalent to JavaScript's encodeURIComponent()? In JavaScript:  encodeURIComponent("©√") == "%C2%A9%E2%88%9A"   Is there an equivalent for C# applications? For escaping HTML characters I used:  txtOut.Text = Regex.Replace(txtIn.Text, @"[\u0080-\uFFFF]",     m =&gt; @"&amp;#" + ((int)m.Value[0]).ToString() + ";");   But I'm not sure how to convert the match to the correct hexadecimal format that JS uses. For example this code:  txtOut.Text = Regex.Replace(txtIn.Text, @"[\u0080-\uFFFF]",     m =&gt; @"%" + String.Format("{0:x}", ((int)m.Value[0])));   Returns "%a9%221a" for "©√" instead of "%C2%A9%E2%88%9A". It looks like I need to split the string up into bytes or something.  Edit: This is for a windows app, the only items available in System.Web are: AspNetHostingPermission, AspNetHostingPermissionAttribute, and AspNetHostingPermissionLevel. I believe that Asimov himself recommended reading them in chronological order, however I read them in the order that they were published and think that this is the best way to do it.  What is the correct order? Calculating $1+\frac13+\frac{1\cdot3}{3\cdot6}+\frac{1\cdot3\cdot5}{3\cdot6\cdot9}+\frac{1\cdot3\cdot5\cdot7}{3\cdot6\cdot9\cdot12}+\dots? $ How to find infinite sum How to find infinite sum $$1+\dfrac13+\dfrac{1\cdot3}{3\cdot6}+\dfrac{1\cdot3\cdot5}{3\cdot6\cdot9}+\dfrac{1\cdot3\cdot5\cdot7}{3\cdot6\cdot9\cdot12}+\dots? $$   I can see that 3 cancels out after 1/3, but what next? I can't go further. Selenium + FF : How to fix error, Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms? Effective marketing strategies for independent game projects I would really like to hear how other independents generally approach marketing their game with limited resources. I know how critical marketing is since I've seen it first hand on several fronts. I've been part of teams that didn't put an ounce of marketing into their project and didn't come close to meeting expectations. I've also poured a lot of time into visiting forums to discuss our previous title which resulted in minor bumps over time.  I really think  is doing some amazing grass roots marketing with the way they are managing their community around their Blog. They've massed a following that is willing to pay (far in advance) them for their game before they finish it to help support them. That's awesome.  But how many people are really willing to divulge such information that early? Should that be a concern? Should I start talking about my next project before I really have anything implemented?   What has worked for you? I would be particularly interested to hear how people approach Apple's iTunes store. I believe we're looking at around 33,000 games on the store these days. "Try and" versus "Try to"? Here are some examples.  "Until the Son of God appear" What I was taught: Subjunctive of indefinite future.  "It is required that the applicant be 18 years old and possess a valid driver's license." What I was taught: mandative subjunctive.  "Where be ye going," said the false knight on the road?" What I was taught: subjunctive of direct discourse.  "If I were you, which we both are thankful I am not, I wouldn't do that. What I was taught: The subjunctive mood is used for supposition contrary to fact.  "I dreamed I were a fireman in my Maidenform bra." What I was taught: The subjunctive mood can be used with words like dream.  "God bless you." I don't remember, so obviously I wasn't taught.  I can live with Pluto's not being a planet, but I must say it's irksome to find that so much of what I was told about English turns out to be nonsense. When I create a UV sphere and add the subdivision surface modifier, the following wrinkle appears.    How can I avoid it?  I've read the article  but there seems to be no clear solution.  UPDATE 1  I've used the word 'apply' in the first sentence of the initial version of this question. It's misleading since I want to preserve the modifier without 'applying' it. Rather, what I meant is 'adding' the modifier.  UPDATE 2  I followed josh sanfelici's solution, but still there is an artifact at the pole.  Here is the screen: (A rendered view with a sun lamp)    Maybe it's the limitation of the general-purpose subdivision modifier.  BTW, when the cast modifier is added after the subdivision modifier, the sphere becomes perfect (even for my original wrinkled sphere).  But since I want to edit the resulting sphere (for example, scaling X, Y, etc) while modifier is added but not applied, it's not usable. Most statements regarding Riemann integrals (at least the ones that I have encountered) begin with the statement "for $f(x)$ bounded on $[a,b]$." I am wondering if Riemann integrability implies boundedness. I think that this has to be the case, but I am not sure. If Riemann integrability does imply boundedness, are improper integrals considered Riemann integrals? I would think that improper integrals wouldn't be Riemann integrals since improper integrals are allowed to be equal to $+\infty$ or $-\infty$. Or are improper integrals that are not equal to $\infty$ considered Riemann integrals?   I am confused. The context for my question might be a bit strange.   I have stuttering and therefore I have some difficulties pronouncing some words starting with particular phonetics. And I've found that if a sentence starts with a /th/ sound, it makes me feel uncomfortable.  Especially in the word is "thanks" or "thank you".  So I want to know if there's a popular alternative for "thank you" that may not seem strange and that unnatural. I've searched the website and I know there are alternatives like "I appreciate your help." but that sounds a bit overly formal for me. (Or is it? correct me if I'm mistaken.) Why $\sqrt{-1 \times -1} \neq \sqrt{-1}^2$? How to remove feeds from WordPress totally? I want to completely remove feeds from WordPress. I am using this little function from    /** * disable feed */ function fb_disable_feed() { wp_die( __('No feed available,please visit our &lt;a href="'. get_bloginfo('url') .'"&gt;homepage&lt;/a&gt;!') ); } add_action('do_feed', 'fb_disable_feed', 1); add_action('do_feed_rdf', 'fb_disable_feed', 1); add_action('do_feed_rss', 'fb_disable_feed', 1); add_action('do_feed_rss2', 'fb_disable_feed', 1); add_action('do_feed_atom', 'fb_disable_feed', 1);   Still there is tons of transient options.. like _transient_feed_mod or _transient_timeout_feed_mod  How can i completely remove feeds from WordPress? He called her, emailed her, texted her, tweeted her—all to no use.   Strictly speaking, I would need to write texted her and tweeted her, but I'm omitting and to convey a rhythm and sense of urgency. What do you call this kind of construction, and is it accepted grammar (at least for creative writing, if not in an academic context)? I know that Windows XP 32-bit can be configured, through , to support more than 3.5&nbsp;GB of RAM.  Is there a good tutorial to do this with Windows 7 32-bit?  As to why I don't simply use 64-bit Windows 7: The software for my Internet connection (cell phone-as-modem) will only work in 32-bit environments. Prove that $\left (\frac{a^2 + b^2 +c^2}{a+b+c} \right) ^ {(a+b+c)} > a^a b^b c^c$ Prove that $\left (\dfrac{a^2 + b^2 +c^2}{a+b+c} \right) ^ {(a+b+c)} &gt; a^a b^b c^c$ if $a$, $b$ and $c$ are distinct natural numbers.  Is it possible using induction? How to check a large backpack? When travelling on airlines based in the US with a large backpack, I prefer to carry the bag onto the plane as part of my hand baggage allowance.  Most foreign flag carriers, however, have a significantly more restrictive hand baggage allowance.  I was caught off guard by this one time on New Zealand airlines and received my backpack with multiple broken straps and clips.  I managed to repair it, and I'm still using the same pack, but I would like to avoid so many broken parts in the future.    Once, when flying Alitalia (flight was actually booked through Delta) I carried plastic wrap to the airport, and wrapped the entire bag in it before handing it over to the airline.  @jpatokal recommends putting it into a giant, heavy-duty garbage bag in his answer to .     What are the pros and cons of using plastic wrap or a garbage bag?   Can anyone recommend any other, more effective techniques? interpreting scatter plots I have plotted my predictors versus my response variable in order to be able to fit a good Poisson model to my data. However i am getting  those scatter plots for nearly all predictors which make me rather worried since including these predictors is making my residual deviance a value of 575 on 571 df(high enough) Thanks How to create a SQL Server function to "join" multiple rows from a subquery into a single delimited field? To illustrate, assume that I have two tables as follows:  VehicleID Name 1         Chuck 2         Larry  LocationID VehicleID City 1          1         New York 2          1         Seattle 3          1         Vancouver 4          2         Los Angeles 5          2         Houston   I want to write a query to return the following results:  VehicleID Name    Locations 1         Chuck   New York, Seattle, Vancouver 2         Larry   Los Angeles, Houston   I know that this can be done using server side cursors, ie:  DECLARE @VehicleID int DECLARE @VehicleName varchar(100) DECLARE @LocationCity varchar(100) DECLARE @Locations varchar(4000) DECLARE @Results TABLE (   VehicleID int   Name varchar(100)   Locations varchar(4000) )  DECLARE VehiclesCursor CURSOR FOR SELECT   [VehicleID] , [Name] FROM [Vehicles]  OPEN VehiclesCursor  FETCH NEXT FROM VehiclesCursor INTO   @VehicleID , @VehicleName WHILE @@FETCH_STATUS = 0 BEGIN    SET @Locations = ''    DECLARE LocationsCursor CURSOR FOR   SELECT     [City]   FROM [Locations]   WHERE [VehicleID] = @VehicleID    OPEN LocationsCursor    FETCH NEXT FROM LocationsCursor INTO     @LocationCity   WHILE @@FETCH_STATUS = 0   BEGIN     SET @Locations = @Locations + @LocationCity      FETCH NEXT FROM LocationsCursor INTO       @LocationCity   END   CLOSE LocationsCursor   DEALLOCATE LocationsCursor    INSERT INTO @Results (VehicleID, Name, Locations) SELECT @VehicleID, @Name, @Locations  END      CLOSE VehiclesCursor DEALLOCATE VehiclesCursor  SELECT * FROM @Results   However, as you can see, this requires a great deal of code.  What I would like is a generic function that would allow me to do something like this:  SELECT VehicleID      , Name      , JOIN(SELECT City FROM Locations WHERE VehicleID = Vehicles.VehicleID, ', ') AS Locations FROM Vehicles   Is this possible?  Or something similar?