Does there exists a function which maps Cauchy sequence to Cauchy sequence but it isn't uniformly continuous?  we know uniformorly continuous function maps cauchy sequence to cauchy sequence.But  my book doesn't say anything about converse of i think its false. but didn't find a counter example yet . please help!
Let $f$ be a continuous function. If $f$ is uniformly continuous then it maps cauhy sequence into cauchy sequence. Is the converse true? That is if $f$ maps cauchy into cauchy gives the uniform continuity of $f$. I think it's no. Can suggest a counter example
Case insensitive 'Contains(string)' Is there a way to make the following return true?  string title = "ASTRINGTOTEST"; title.Contains("string");   There doesn't seem to be an overload that allows me to set the case sensitivity.. Currently I UPPERCASE them both, but that's just silly (by which I am referring to the  issues that come with up- and down casing).  UPDATE This question is ancient and since then I have realized I asked for a simple answer for a really vast and difficult topic if you care to investigate it fully. For most cases, in mono-lingual, English code bases  answer will suffice. I'm suspecting because most people coming here fall in this category this is the most popular answer.  answer however brings up the inherent problem that we can't compare text case insensitive until we know both texts are the same culture and we know  what that culture is. This is maybe a less popular answer, but I think it is more correct and that's why I marked it as such. Are there any other words similar to these words:  Award, Bestow, Donate, Grant, Give, Provide, Tax  ...that give a meaning of:  I freely give to you a portion what I have acquired or earned, without hesitation or expectation of anything in return. You are owed this, without question. There is no emotion involved with this transaction. It just is what it is.  For example: as a member of the Thief's Guild, 20% of everything you acquire will be ______ to the Guild.  Bestowed and Granted are very close...  Any other ideas? mbstring is missing for phpmyadmin in ubuntu 16.04 When I installed phpmyadmin in Ubuntu 16.04 LTS, it gives me an error mentioned below.     The mbstring extension is missing. Please check your PHP configuration   then I tried to install php-mbstring, it says mbstring is up to date, Can anyone help me to solve this? Is there an elegant way to have performant, natural sorting in a MySQL database?  For example if I have this data set:   Final Fantasy Final Fantasy 4 Final Fantasy 10 Final Fantasy 12 Final Fantasy 12: Chains of Promathia Final Fantasy Adventure Final Fantasy Origins Final Fantasy Tactics   Any other elegant solution than to split up the games' names into their components    Title: "Final Fantasy" Number: "12" Subtitle: "Chains of Promathia"   to make sure that they come out in the right order? (10 after 4, not before 2).  Doing so is a pain in the a** because every now and then there's another game that breaks that mechanism of parsing the game title (e.g. "Warhammer 40,000", "James Bond 007") Time travel short story where dinosaur doesn't taste like chicken I ran across this  and it reminded me of an old short story I read a long time ago.  I read it in a collection of short stories.  It would have been a book because I borrowed it from a school library.   Probably in the 1970s or 1980s.  The book and the story would have been older, though.  Probably from the 1960s or earlier.  In the story, a scientist has a machine that he can use to view the past.  It isn't like a TV or something, though.  It opens a portal into the past that he can look through.  It is very difficult to control, though.  Pointing it at a place and time is likened to working in a hurricane.  The portal jumps and moves about randomly.  The steadier he can hold it, the clearer the past appears.  When it is really steady, he can hear sounds from the past.  It never gets really steady enough to reach through.  They try pushing tools through the portal to pick up things in the past.  The steadier the portal, the easier it is to push tools through.  It never gets steady enough for them to push a tool all the way through, though.  It just gets easier to make progress.  One day, they have the portal open and it is acting really wild.  At some point the workers take a break.  The portal is still open, and while they are loafing the portal settles down by itself and becomes steadier than it has ever been.  So steady that a piece of the past falls through.  The portal scooped a chunk of the ground out of the past.  The chunk of ground contains a nest with dinosaur eggs.  The scientist  rescues the eggs, and they manage to keep them warm enough until they hatch.  The dinosaurs are some kind of harmless things, and become the lab mascots.  Always wandering the grounds, and in and out of the lab.  One day, the have the portal open again and one of the dinosaurs wanders into the lab and walks into some high voltage terminal.  Crash, bang.  Short circuit.  All the equipment to open the portal is destroyed, and the dinosaur is roasted from the flash.  The roasted dinosaur smells good, like chicken, and the scientist's son (who has been telling the story) takes a bite to see what it tastes like.  He says "It resembled chicken the way an asteroid resembles Jupiter."   It tastes fantastic. With all of their work ruined, and the ruins of a fortune in expensive equipment scattered around them, the scientists and the labworkers all chow down on dinosaur.  Half raw, half burned to a crisp from the explosion.  They eat the dinosaur down to the bones.  They start breeding the dinosaurs, and sell them as food.  The guy's father makes a fortune selling dinosaur meat, but remains unhappy.  With money from selling dinosaur meat, he rebuilt his lab but never ever got the portal steady enough to actually visit the past or take samples.  Does anyone know the name of the story and the author, and maybe what collection it might have been in? Why is the picture not inserted? RegEx: Grabbing values between quotation marks Product Snippets with JSON-LD + Schema.org - Are there any live examples in Google index? ** EDIT Feb 2016 - Finally JSON-LD seems to be working now in SERPS, with extremely fast changes-to-index time, assuming you have everything with Google merchant center feeds syncd and linked. Make sure the price, stock, and identifier are the same on your JSON-LD as it is on the Google shopping feed. New organization-&gt;localbusiness types are live, organization reviews are live... however JSON-LD feed alt= endpoints still do not exist, the homepage schema defining custom site name is not active, and G support for schema itemList/dateModified is still questionable. You can still get pagination results and date modified snippets by using literal text strings in your view/template Showing 1-28 of 8977 Results (321 Pages)and Last updated on February 3rd 2016. To proceed to a deeper exploration of JSON-LD support, see these:       Original Post Below: Google seems to be flip flopping JSON-LD -&gt; Schema.org product [or other types of] snippets. The snippets verify without error in both the testing tool and long term (10+ months) across 5 properties in GWT search console. The snippets have been applied to index, removed, applied, and removed again, seemingly not being applied again in regards to various facets. Since they worked in the past via microdata, and were applied long term, I assume it's due to the switch to JSON-LD. I have not found any official docs nor examples that say &quot;Google will support and render products snippets that use JSON-LD&quot;. Same thing with breadcrumb snippets and review looping. All I see is a handful of Google examples for events, movies, recipes, very basic [incomplete] organization etc. This seems strange to me considering the sheer amount of ecom pages using product snippets trumps the amount of movies, recipes, and events combined. So the question is, does Google officially support, index, and render product markup using JSON-LD? If so, can anyone point me to a live example to verify this? ** This question is not intended to be &quot;opinion/recommendation based&quot;....im looking for a specific link and subsequent SERP result [evidence] showing that JSON-LD products/etc are indeed rendered within Google.com realm as of late August 2015. ** EDIT Nov 16 2015 - Another annoying caveat has been found. Google merchant center validates certain shopping feed fields such as condition, stock, and price against live microdata. However, it seems to not recognize JSON-LD.... although, as stated above, it's recommended to use in all the G examples, and it validates the snippet test. So due to this, your merchant center account could be suspended because of &quot;differences in presentation data&quot; Uninstalling Ubuntu from Windows Dual Boot if I don't have Windows recovery CD I installed Ubuntu (I had already had Windows 8.1) from USB (I still have live Ubuntu on it). Is there a way I can uninstall Ubuntu in a way that my Windows will remain bootable? All the tutorials I have seen say that uninstalling ubuntu will delete GRUB also so I will need a Windows recovery CD to boot into it, but I don't have one. Is there a solution? Subgradients of non-convex functions In  (section 2.3), it is stated that:     A point $x^*$ is a minimizer of a function $f$ (not necessarily convex) if and only if $f$ is subdifferentiable at $x^*$ and $0 \in\partial f(x^*).$   Could anybody provide me with references for a proof of the above statement?   Is there a reference where we can learn more about subgradients of non-convex functions?  In Section 3. Calculus of subgradients of the above notes,many properties of subgradients are presented for convex functions. I would like to know which ones among these properties still hold for non-convex functions.  Thank you in advance! Calculate time elapsed in php - spans over 24 hours Proper capitalization of commonly used acronyms and initialisms What is the difference between convolutional neural networks and deep learning? My reputation rating on SO took this hit an hour ago, and it is due to what appears to be the simultaneous deletion of multiple questions.  I am uncertain why it happened, am concerned, and would appreciate an explanation.  Going to  shows that it was removed due to moderation.  Was a script run deliberately, or were we hit with a question deletion attack; what happened?  -12     today -2  1 hour ago  removed     How to send a 2d Vector over UDP in c++ -2  1 hour ago  removed     How do I use the Eclipse debugger to debug a Java application? -2  1 hour ago  removed     PHP string error; inconsistency with local and server -2  1 hour ago  removed     Unable to start the MySQL service after a server migration -2  1 hour ago  removed     How to use Java to print a text file on a ticket printer? -2  1 hour ago  removed     How can all of the ZBrush Obj files be imported to make a complete model? Farkas/guards pursuing me glitch I was doing a quest for the companions. When I entered Jorrvaskr, Farkas pulled out his sword and began to talk to me. Every time I would try to leave the conversation he would just follow me and try to talk to me again. This lead to me paralyzing Farkas and running away.   By the time I got to the gates of Whiterun he had already gotten up, ran to me and started another conversation. I quickly made it to the gates and exited, he followed me through the gates but I whirlwind sprinted to Shadowmere then attempted to fast travel - which game me the "Can not fast travel when guards are pursuing you" message even though no guards were following me.   I knew Farkas wasn't far behind so I quickly jumped on a carriage and I traveled to the nearest hold which was Dawnstar. Now I can't leave Dawnstar because the same message appears. I have tried to pay off my debt to the Dawnstar guards but it didn't fix the problem. How can I resolve this issue? playing a sound/notification in finch over ssh on my local machine So I have finch, a command line chat client (think pidgin) running on a remote machine that I ssh into. finch has notification sounds and can run a command when certain events occur, letting you pass the sound file in as %s. e.g. mplayer %s  from the remote machine, when the notification occurs, what kind of command could I run to play whatever %s is on my local machine? What kind of construct is 'would that that were all'? There is a place in Bram Stoker’s Dracula where I can’t quite parse the grammar:     8 May. — I began to fear as I wrote in this book that I was getting too   diffuse. But now I am glad that I went into detail from the first, for   there is something so strange about this place and all in it that I cannot   but feel uneasy. I wish I were safe out of it, or that I had never come. It   may be that this strange night existence is telling on me, but would that   that were all!   I understand the meaning of the text in bold (it’s equivalent to if only that was all!), but I don’t understand the grammar being used. What kind of construct is this? What does "causally connected" or "causes" really mean? In a different thread, a user stated the following about events preceding or following other events:     However, if the two events are causally connected ("event A causes event B"), the causal order is preserved (i.e. "event A precedes event B") in all frames of reference.   My question is what does "causally connected" really mean? What does "causes" mean? Further, given that we know that we can have instantaneous effects in typical quantum processes (e.g. flip the polarizer, effect on another a reading light years away, even though we cannot transmit useful information with this), does that not constitute "causing" for the purpose of this statement? Abelian quotient group I'm stuck on the following practice problem.   Any hints would be appreciated.  Suppose $N$ is a normal subgroup of  $G$ such that every subgroup of $N$ is normal in $G$ and $C_{G}(N) \subset N$. Prove that $G/N$ is abelian.  I'm not sure how to use the fact that $C_{G}(N) \subset N$.  Thanks Can Rails Routing Helpers (i.e. mymodel_path(model)) be Used in Models? Say I have a Rails Model called Thing. Thing has a url attribute that can optionally be set to a URL somewhere on the Internet. In view code, I need logic that does the following:  &lt;% if thing.url.blank? %&gt; &lt;%= link_to('Text', thing_path(thing)) %&gt; &lt;% else %&gt; &lt;%= link_to('Text', thing.url) %&gt; &lt;% end %&gt;   This conditional logic in the view is ugly. Of course, I could build a helper function, which would change the view to this:  &lt;%= thing_link('Text', thing) %&gt;   That solves the verbosity problem, but I would really prefer having the functionality in the model itself. In which case, the view code would be:  &lt;%= link_to('Text', thing.link) %&gt;   This, obviously, would require a link method on the model. Here's what it would need to contain:  def link   (self.url.blank?) ? thing_path(self) : self.url end   To the point of the question, thing_path() is an undefined method inside Model code. I'm assuming it's possible to "pull in" some helper methods into the model, but how? And is there a real reason that routing only operates at the controller and view layers of the app? I can think of lots of cases where model code may need to deal with URLs (integrating with external systems, etc).