book identification scifi/fantasy with talking human intelligence cat

id needed for a Sci-fi/Fantasy novel....mid to late 1980's. The only thing I can remember was the book was set in the future.  There was a guy (main character) who was on a quest.  He had several companions with him.  The one that stands out in my memory was a cat who had been 'gene-spliced' 'manufactured' with human DNA and had the brain/intelligence of a human.  The whole society was super into genetic modification.  the cat was a girl...and maybe the face of the cat was that of a woman and not a cat's face..


Converting my Giant Roam 3 into more of a road bike, while keeping its hybrid identity?

I am not rich so the budget is as low as possible. I use my bike for pleasure mostly as I am still a teenager. Of course I want speed, so I was wondering how well it would work if I changed the tires to thinner then they already are. Please tell me what size would be good, I ride on the road often, but I also use the sidewalk enough that a standard 700c tire would have to much vibration. I was also thinking about switching the handlebars to road bike style. Thanks in advance


I am trying to write regular expression for the below string  "+1(332)313-1231"   this is my regular expression  var regex=new RegExp('^+1([1-9]{3})+[1-9]{3}+-[1-9]{4}')   how can I correct the regular expression inorder to test the string with above format?


I have a query:  SELECT * FROM products WHERE 1=1 ORDER BY :order_by :order_dir LIMIT :limit OFFSET :offset   My params array:  Array (     [order_by] => price     [order_dir] => ASC     [limit] => 50     [offset] => 0 )   And I have a function for bindValues:      public function query($sql, $params=array(), $limit = null, $offset = null){              try {                   if (!is_null($offset) && !is_null($limit)) {                     $sql .= ' LIMIT :limit OFFSET :offset';                     $params['limit']        =  (int)$limit;                     $params['offset']       =   (int)$offset;                 }                  $stmt = $this->database->prepare($sql);                   foreach($params as $key => $value) {                         if(is_int($value)) {                             $param = PDO::PARAM_INT;                         } elseif(is_bool($value)) {                             $param = PDO::PARAM_BOOL;                         } elseif(is_null($value)) {                             $param = PDO::PARAM_NULL;                         } elseif(is_string($value)) {                             $param = PDO::PARAM_STR;                         } else {                             $param = FALSE;                         }                          if($param) $stmt->bindValue(":$key", $value, $param);                 }                  $stmt->execute();                 return $stmt;              } catch(PDOException $e){                 throw new Exception($e->getMessage());             }    }   I'm trying to get products:  $result->products   = $db->query($sql, $arr, 50, 0)->fetchAll();   My raw query I think looks like:  SELECT * FROM products WHERE 1=1 ORDER BY "price" "ASC" LIMIT 50 OFFSET 0   The query above is wrong. It should be:  SELECT * FROM products WHERE 1=1 ORDER BY price ASC LIMIT 50 OFFSET 0   How can I solve this problem?


Can I challenge a paper already published in a peer reviewed conference/journal?

I recently came across several papers in the area of Information Extraction and Data Mining which seem to have passed the review process even if they (1) use some new terminology without describing it, (2) replicate some old and popular technique and just describe it in a new way, (3) use new datasets without releasing them publicly or describing them in detail, (4) confusing language that doesn't seem to describe the methods... and much more.   Why challenge them? Such papers give these people a kind of leverage in situations where number of publications count rather than quality of genuine work. They also encourage, let's say, 'pseudoscience' within the scientific community - or fraud, as those more experienced among you say.  I've faced situations like:-   Someone hired me from a freelance site to implement a previously published paper. The paper doesn't adequately describe the novel methods they claim. I spend a week on it but don't get paid.  Similar situation but the implementation's accuracy doesn't match the claim. In a semi-academic gathering (tea time in a summer school), a discussion turned into a debate. Though I wasn't involved in it, one of the others said something which I pointed out as being logically wrong. It turned personal and one of them claimed that they knew better because of having twice the number of papers than me. Later when I read their papers I found that they didn't contain any ideas that would count as a genuine research.    I guess some of you might have been in similar situations before. Yes it doesn't matter in the longer term; but it is hard to avoid some situations like this and I think it might be hampering the research community as a whole.   Here are the exact points of my question:   Should we confront such publications? Would we get anything out of it?  Is it even feasible?   How can I do so? What actions are possible in such cases? What is the best course of action?   p.s. Yes citations matter more than just throwing papers - but such publications also get citations from other equally content-less papers published in similar conferences.   pps. Most of these papers are from less-than-tier-3 level conferences but still published by top publishers like IEEE and Springer.


Intuition behind conjugation in group theory

I am learning group theory, and while learning automorphisms, I came across conjugation as an example in many textbooks. Though the definition itself, (and when considering the case of abelian groups), it seems pretty innocent, I have to admit that I have no intuition about whats happening, or why even such a map is important. Did anyone feel this way when you learnt it? Any examples/references that you have found useful when you learnt it?


Github stopped working recently, 07/26/2014?

I'm a pro user of github until it stopped working on the last saturday, the 26. of July, 2014. Since then, i'm becoming in my browser following SSL error:    My IDE (IntelliJ) is becoming the same error, so it is not only tied together with the browser:    When i open github.com in my freshly resetted Safari (so i can see the certificate again), i look into the certificate details and as it seems to me, the cert is clearly expired:    Though, i can open the page in safari but i never have seen it so broken like this:    I can't find anything in the interwebs about such problems on github.com but as it seems to me - this is completely not client-relate.. i really start to believe that this is just a problem of github itself.  So, does anybody know something about? Are they going to fix that? How big is the chance that such things are happening again? I mean, an SSL cert normaly expires once a year, if you're not ready for that case... then i really tend to move on to some other service because with every further day i can't push my commits to my rep, it feels more bad :-(  Thanks for any advice!  PS: It seems funny but on the same day, odesk.com stopped working too! With the exact same behavior and it seems, also they have an expired certificate in their intermediate-chain!


A differentiable function with f(0) = 0 and |f'(x)| < |f(x)|. Prove that f is the 0 function.

Let $f:[0,1] \to R$ be differentiable. $f(0) = 0$ and $|f'(x)| \leq |f(x)|, \forall x \in (0,1).$ Prove that f is the $0$ function. I can see why it's true. I can think of various counterexamples where this will not be true if $f$ is not the $0$ function. However, I'm having trouble putting together a good proof for this. Can anyone get me started on it? I think if I can get going in the right direction I'll be good to go.


I'm having trouble with this question, which appears in Professor Higgin's problem collection. There is an answer, though I do not really understand it. The question goes somewhat like this :  In a 10 by 10 grid, assign each square in the 10 by 10 grid a number from 1 to 100 so that no numbers are repeated. It would be ideal to choose this arrangement so that the difference of adjacent squares is as small as possible. Find a numbering that has a maximum difference between adjacent squares of 10 (which I have done). Is it possible to do better?  I am having trouble with the part of the question that ask whether you can do better, which is to say, can the maximum difference between adjacent squares on the grid be 9 or lower?  Thanks for anyone who answers!


Why do German umlauts and sharp s (ß) work without a package in LaTeX?

I am used to the fact that LaTeX will only know letters like ä, ö, ü, or ß if I use packages like  \usepackage{ucs} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc}   Today, I tried LaTeX on a Mac for the first time, using the MacTeX distribution and texmaker. Without writing down any packages, all umlauts and ß were accepted correctly from scratch. Why is that and will the usage of special letters without using the packages cause any problems?


What is the proper title abbreviation for addressing multiple people?

I'm writing a letter to several recipients in the same document and want to address them correctly at the start.  Is the following correct (I suspect not) and if not, what should it be:     Dear Mr's Jones, Smith, Bloggs and Flintstone


I have publications and I want to simply add year and month to the permalink. Currently the year and month of publication is added to the post as a meta value. I've set up publications as a custom post type and created taxonomy for the specific title of the publication. I would like the permalink to be:  publications/publication-title/year-published/month-published/name-of-post  I simply want to add the meta values for the publication year and month to the permalink.   So far, I've been able to pull the year and month published and add it to the url but unfortunately I keep getting a 404 when I try to access posts. I think I'm taking a wrong turn with one of my steps below ...  Any help would be appreciated.  These are the steps I did in the following order:   Since I was adding publication-year and publication-month to the url, I was reading that I had to make WordPress aware of these custom querystring variables. I added the following functions to register these custom variables:  function pubyear_register_rewrite_tag() {       add_rewrite_tag( '%pubyear%', '([0-9]{4})');   }    add_action( 'init', 'pubyear_register_rewrite_tag');  function pubmonth_register_rewrite_tag() {      add_rewrite_tag( '%pubmonth%', '([0-9]{2}');   }    add_action( 'init', 'pubmonth_register_rewrite_tag');    2) Added the year and month to the permalink structure:  add_filter('post_type_link', 'pub_term_permalink', 10, 4);  function pub_term_permalink($permalink, $post, $leavename, $sample) {     if ( false !== strpos( $permalink, '%publication-title%/%pubyear%/%pubmonth%' ) ) {       //get the publication-title      $publicationtype = get_the_terms( $post->ID, 'publication-type' );       //get the year of the publication      $pubyear = date('Y', get_post_meta($post->ID, 'pub_date', true));       //get the month of the publication      $pubmonth = date('m', get_post_meta($post->ID, 'pub_date', true));       $rewritecode = array(          '%publication-type%',          '%pubyear%',          '%pubmonth%',          $leavename? '' : '%postname%',      );       $rewritereplace = array(          array_pop($publicationtype)->slug,          $pubyear,          $pubmonth,          $post->post_name      );       $permalink = str_replace($rewritecode, $rewritereplace, $permalink);       }     return $permalink; }   3) Add rewrite rules:  function pub_add_rewrite_rules() {       add_rewrite_rule(  '^([^/]*)/([0-9]{4})/([0-9]{2})/([^/]+)?', 'publications/index.php?pagename=$matches[3]', 'top' );   }    add_action( 'init', 'pub_add_rewrite_rules' );   4) Made sure the custom post type is registered and includes this rewrite array:  'rewrite' => array     (             'slug' => 'publications/%publication-type%/%pubyear%/%pubmonth%',     'with_front' => false          ),


Every ridge in the convex polytope is an intersection of exactly two facets

This statement is used without proof in various sources (incl. Ziegler's "Lectures on polytopes" and Gruber's "Convex and discrete geometry"), yet I don't have any idea how to prove it, or have intuition about it in $n>3$ dimensions. Someone suggested me to use a concept of dual polytope to prove it, I have not explored it thoroughly and maybe someone can help with understanding how duality is convenient here.


NTFS Long Path not working for Windows 10, Server 2019

We have enabled "Long Paths" GPO for all our servers and clients on the network. Yet when copying files from network to local drive or from one share to another we constantly get failed files due to "File names too long"  Is there still a 256 Character limit even when long paths are enabled? how do I get around this issue?


I know that this is a dumb question, but I don't really know much in this area. I created a new lightweight flavor for Ubuntu. How can it get recognized as an Ubuntu based distro. Is their any final authority on this. I just need a way to release my distro. Can someone tell me?


Prove that $\overline{\lim}~(u_n+v_n)=\overline{\lim}~u_n+ {\lim}v_n$

Question: Let $\{u_n\}_n$ and $\{v_n\}_n$ be two bounded sequences such that $\{v_n\}_n$ is  convergent. Prove that $\overline{\lim}~(u_n+v_n)=\overline{\lim}~u_n+ \lim v_n$.   My try: Since $\{u_n\}_n$ is bounded, there exists a $K>0$ such that $|u_n|\leq K$ for all $n\in \mathbb{N}$. Again since $\{v_n\}_n$ is convergent, let $\lim\limits_{n\to\infty} v_n=l$. Then given $\epsilon>0$, there exists a $m\in \mathbb{N}$ such that $$|v_n-l|<\epsilon, \forall n\geq m.$$ How can I show that required result?


I'm looking for an adapter for my Keyboard piano. I am not sure about the specifications of the original adapter, but I've looked up some online and I've found two adapters that supposedly should fit my keyboard. The problem is that one of them says for the output: 12V 1A while the other is 12V 600mA.   My broken adapter is not original but it says Output: 12V 600mA on it.   Is it very bad if I would use the 1 Ampere adapter?


Do targets get a saving throw if they don't want a positive magic effect from a spell?

Imagine you have contracted lycanthropy, and you do not want to be cured. A cleric within touch range attempts to use Remove Curse on you. You are not a willing recipient of the interaction, and you perceive this as a spell-based threat:     A saving throw—also called a save—represents an attempt to resist a spell, a trap, a poison, a disease, or a similar threat.   Is there any form of resistance to this other than just not letting the dude get into touch range?


I used more or less non stop my new Macbook Pro M1 for about 7 hours and noticed that at the end of the day the battery was already at 14% despite the fact it was fully charged when I started working. While working I was using a second monitor, a wired keyboard, a wireless mouse and a USB hub. The programs I actively used that day were Safari, Chrome, Sublime Text and iTerm2. Safari, Chrome and Sublime were constantly using more or less 500 MB of RAM. Apple said the new M1 had an autonomy of 20 hours so I'm a bit surprised that after only 7 hours of work it is already at 14%. Is this suppose to be normal? Is it the same for everyone out there? Thank you.


Prove that $\lfloor \log_{10}(xy)\rfloor \geq \lfloor \log_{10}(x)\rfloor+ \lfloor \log_{10}(y)\rfloor$

Let $x$ and $y$ be positive numbers. Prove that $$\lfloor \log_{10}(xy)\rfloor \geq \lfloor \log_{10}(x)\rfloor+ \lfloor \log_{10}(y)\rfloor.$$   I thought about using the definition of floor functions but didn't see how to use that here.


The whole furniture here __ provided by IKEA

Should I use is or are?, Personally I think the correct answer is using is but I have a little doubt in my mind. Can someone help me out? Thank you


How to make a div fill its container with 100% width and height?

I am creating a text editor, and I am working on the sizing of my div. Unfortunately, it does not take up the whole page. Its width and height are set to 100%. Here is the CSS:  html, body {     position:absolute;     z-index:1;     top:0px;     left:0px; }   If you would like to view the page, you can see it . Thank you all so much for your help.


Why alpha particles instead of hydrogen or deuterium nuclei?

I know atoms undergoing alpha decay emit alpha particles, but I was wondering why specifically helium nuclei? If these atoms wanted to emit the smallest unit of matter (I'm talking about hadrons here, not subatomic) they could just emit hydrogen nuclei, or if they wanted to emit the smallest unit of protons/neutrons attached together they could just emit deuterium. Yet for some reason, they choose to emit helium nuclei. Any thoughts?


I'm new in Drupal7, I created a webform using webform module and I created a template for my customised html e-mail with HTMLMail module that will be sent on webform submission. I want to put every value from the webform on a table but I don't know how to get the values entered in the webform on submission? For example I want a result e-mail like this  Hello, Thank you for your registration  Name:          "webform_name_field"  Last Name :    "webform_lastname_field"  Adress :       "webform_adress_field"   How can I get every value of my webform ??


I work at a web design firm. I need Safari's cache to be permanently disabled on my work computer, as it creates too much confusion when I'm testing websites. This setting should persist after I restart Safari, and when the inspector is closed.  The method in  is no longer working as of Safari 11. I'm testing with .  Is there any way to accomplish this?


Printer does not print, queue showing completed, can not correct setup

Using 12.04; I recently added a USB connection for Arduino board. Now I can not print using a Canon ip2600 printer. It is shown as installed but if I try to uninstall or update properties I get a request for a password which is rejected regardless of what is entered, my username is a member of admin and I added it to lp group but I still can not print. The print queue shows that the printing was completed but it was not. I am not allowed to empty queue and no update of drivers is shown in the print box. Printer works fine if I boot into Windows so printer and USB cable are ok.


Bash arguments parse logic runs into infinite loop

I have a loop to parse command line arguments. Everything works fine if -d or -b argument has a parameter. But when I pass -d or -b without a parameter, the script gets into infinite loop.   # Parse command line input while [ "$#" -gt 0 ]; do   case "$1" in     -d) DOMAIN="$2"; shift 2;;     -b) BITS="$2"; shift 2;;      *) die "unrecognized argument: $1"   esac done   How to throw error on empty parameter?


error mysql : Got a packet bigger than 'max_allowed_packet' bytes

for import mysql database give me this error :  $ `mysql -u user -p password zxc_db < zxc.sql` ERROR 1153 (08S01) at line 96: Got a packet bigger than 'max_allowed_packet' bytes   Please give me a best solution to solve it ? tanx .


Setting metric/imperial as default units

I know you can set the units and scale of a scene to metric/imperial.  Since I recently got a 3D printer and now need to model after exact measurements, is there a way to set the default units to metric/imperial so I don't have to do this ever time I begin a new model?


How do I use WPF bindings with RelativeSource?

How do I use RelativeSource with WPF bindings and what are the different use-cases?


if $X\sim\exp\left(1\right)$ and $Y\sim\exp\left(1\right)$ independent, find $f_{X|Z}(x|z)$ where $Z=X+Y$

Given that $X\sim\exp\left(1\right)$ and $Y\sim\exp\left(1\right)$ independent, find $f_{X|Z}(x|z)$ where $Z=X+Y$. What I did: if $Z=X+Y$ then $f_{Z,X}(z,x)=f_{X}(x)f_{Y}(z-x)$ so we get: $$ f_{Z,X}(z,x)=f_{X}(x)f_{Y}(z-x)=\left(e^{-x}I_{\left\{ x\geq0\right\} }\right)\left(e^{-(z-x)}I_{\left\{ z-x\geq0\right\} }\right)=e^{-z}I_{\left\{ x\geq0\right\} }I_{\left\{ z\geq x\right\} } $$ Then we can use $f_{X,Z}(x,z)=f_{Z|X}(z|x)f_{X}(x)$ and get: $$ f_{Z|X}(z|x)=\frac{f_{X,Z}(x,z)}{f_{X}(x)}=\frac{e^{-z}I_{\left\{ x\geq0\right\} }I_{\left\{ z\geq x\right\} }}{e^{-x}I_{\left\{ x\geq0\right\} }}=e^{-z}e^{x}I_{\left\{ x\geq0\right\} }I_{\left\{ z\geq x\right\} } $$ But the solution should be $z^{-1}$. What did I do wrong? I used those two formals from:  and I think they are valid. Edit: I didn't use $f_{X,Z}(x,z)=f_{Z|X}(z|x)f_{X}(x)$ right. I need to calculate $f_Z(z)$ instead of $f_X(x)$. I calculated $f_{X,Y}(x,y)$: $$ f_{X,Y}(x,y)=f_{X}(x)\cdot f_{Y}(y)=e^{-x}e^{-y}I_{\left\{ x\geq0\right\} }I_{\left\{ y\geq0\right\} }=e^{-x-y}I_{\left\{ x\geq0\right\} }I_{\left\{ y\geq0\right\} } $$ Then we get: $$ \begin{align*} f_{Z}(z)&=\int_{-\infty}^{\infty}f_{X,Z}(x,z-x)dx=\int_{-\infty}^{\infty}e^{-x-(z-x)}I_{\left\{ x\geq0\right\} }I_{\left\{ z-x\geq0\right\} }dx\\&=\int_{-\infty}^{\infty}e^{-z}I_{\left\{ x\geq0\right\} }I_{\left\{ z\geq x\right\} }dx=\int_{z}^{\infty}e^{-z}dx \end{align*} $$ Which does not converges. What's the issue?


Calculate p-value for difference between ICC values

I cannot seem to find an answer to the following problem: I am doing interreader correlation studies where I calculate ICC values. It is quite easy to do this in R, but how do I calculate a p-value to see whether the interreader correlation of one group is better than the other group?


How can I write an iPhone app entirely in JavaScript without making it just a web app?

I don't want to take the time to learn Obj-C. I've spent 7+ years doing web application programming. Shouldn't there be a way to use the WebView and just write the whole app in javascript, pulling the files right from the resources of the project?


CAML query returns all items instead of one

I am querying a list to return only items matching a certain title, but the query returns all items. It seems I built or execute the query the wrong way:  /* SP is an alias for Microsoft.SharePoint.Client SP = using Microsoft.SharePoint.Client */ var list = clientContext.Web.Lists.GetByTitle(listTitle);   SP.CamlQuery query = new SP.CamlQuery();  string qs = String.Format("<Query><Where><Eq><FieldRef Name=\"Title\"></FieldRef><Value Type=\"Text\">{0}</Value></Eq></Where></Query>", listItemTitle);  query.ViewXml = qs;   SP.ListItemCollection oCol = list.GetItems(query);  clientContext.Load(oCol);  clientContext.ExecuteQuery();  SP.ListItem item = oCol[0];   clientContext.Load(item, i => i.File);  clientContext.ExecuteQuery();   Based on the query oCol should only contain 1 Item, since the titles are definitly unique, but it returns 58 results (all items) and therefor the item at oCol[0] is not the correct one.  Please note: I was getting the Item and file by Id before, but the client wants a way to enter an error-prone string, so I need to use CAML.  How can I correct this?


Can a basis for a vector space be made up of matrices instead of vectors?

I'm sorry if this is a silly question. I'm new to the notion of bases and all the examples I've dealt with before have involved sets of vectors containing real numbers. This has led me to assume that bases, by definition, are made up of a number of $n$-tuples.  However, now I've been thinking about a basis for all $n\times n$ matrices and I keep coming back to the idea that the simplest basis would be $n^2$ matrices, each with a single $1$ in a unique position.  Is this a valid basis? Or should I be trying to get column vectors on their own somehow?


showing something off on the sum of elements of a group.

Let n be a positive integer and let $H=\{z\in\mathbb{C} | \space \space z^n = 1 \} $  i)Prove that the sum of  all elements of H is $0$  ii) Prove that the product of all the elements of H is 1 if n is odd and -1 if n is even.  I)Picking some fixed n and drawing this out its very obvious when n is even and still rather obvious when n is odd but how do i write it out formally which holds for any fixed n?  II) when this is odd we can pair the second and last the third and second last  etc together each product will =1 as they are inverse of each other and the first term is $e^{0}=1$ for the even case i have no idea.  $H=<e^{\frac{i2\pi k}{n}}>$ for some fixed postive integer n where k is in $\mathbb{Z}$


How to say in RegExp "contain this too"?

I need to check multiple regexp in one string. Is it possible to check in one regexp? Here is important to find any order of words.  For example I looking for "quick", "jump" "lazy" in the string.  I can check it with OR operator. It working with | (pipe) character. But how can I change the OR to AND ?  I can use this with OR:  /quick|jump|lazy/   But I want to use something like this:  /quick&jump&lazy/   Is there any way?


How to use IDM on Mozilla Firefox Quantum

I want to use Internet Download Manager for downloading on Firefox. According to this  it can be done with the extension called Flashgot. But Flashgot does not work on new Firefox Quantum. However, I found  that can be used to interrupt browser's downloading jobs by redirecting these jobs to an external download manager like Internet Download Manager (IDM). But I don't know how to integrate IDM with this new extension. I wrote IDM's location (/.wine/drive_c/Program Files (x86)/Internet Download Manager/IDMan.exe) in the box that says "Path to the executable" but when I try to download something, an error is appearing.     The preference page of the extension        The error that is appearing while trying to download files     How can I make it work? Thanks beforehand!


Where's the problem in this equation? Resulting in $4 = 5$


How to deal with a model that can't be fit due to quasi-complete separation?

I am doing a binary logistic regression analysis. I got one categorical predictor with 7 levels. When I try to do this in Minitab 17 I get an error message: "The model could not be fit. Maximum likelihood estimates of parameters may not exist due to quasi-complete separation of data points."  If I exclude 5 of the levels and only test the two I am actually interested in, I do not get this message. But I guess that simply excluding levels does not come without a cost and would need to be corrected for? (Even if these two, control vs special treatment, were the ones I was interested in.)  Does anyone know of a way out of this (other than adding more data since I do not have that option)? In R maybe? Or another test?


Proving $f(x)$ attains $\max$ or $\min$ when $f(x)\to0$ as $|x|\to\infty$.

Suppose $f:\Bbb R\to\Bbb R$ is continuous such that $f(x)\to0$ as $|x|\to\infty$. Prove that $f$ attains either a maximum or a minimum.   My attempt at the question :  Given $\epsilon > 0 \ \ \exists \ \alpha > 0$ such that $\ |f(x)| < \epsilon\ \ \ \forall \ \ \  \ |x| > \alpha$    Now, when  $\ \ x \in [-\alpha,\ \alpha] $, by the Extreme value theorem, since $f(x)$ is a continuous function on a closed interval, it attains a maximum (say $ M$) and a minimum (say $m$).    I am stuck at this part. I think the way to move forward is by using the fact that we can make $ \epsilon $ as small as possible. But I don't know how to prove that it will surely attain a maximum or a minimum or both.


When reviewing a Question that belongs to another site, why is there only 5 other sites listed

When I review a Question with close votes, and it belongs to another site but is still a valid question, the only available sites are :           But sometimes other StackExchange sites may be relevant, including (but maybe not limited to) :         Why can't I specify any of these sites when it's relevant ? For now I usually close as Off-topic > Other and specify the site in free text. It would be nice to be able to specify the StackExchange site through a dropdown list, or just pasting the url of the site.


Homology groups of $S^1 \times (S^1 \vee S^1)$

How to compute all homology groups of  $S^1 \times (S^1 \vee S^1)$?  Thank you. I don't see how to define a simplicial structure.


importance of "Identity" in Category theory

Reading about category theory a category is a collection of objects "types" that have morphisms "transformations" with two properties: Associativity: for every object all its morphisms should be associative when composed together. Identity: for every object must have one identity morphism which doesn't change any of his other morphisms when it is composed with them. So associativity seems like a reasonable property that ensures correct composition. but why is identity important? what purpose does it serve? and why is it called "identity" and not just "neutral morphism"? And why do some categories like "magma, semigroup" don't have identity or associativity but are still called categories? for anyone else that comes here: ignore this link  and go directly to this link   it is possible to define isomorphisms without identities, but it is a bit more complicated and less elegant. I think you're reading far too much into Eilenberg and Mac Lane: they weren't trying to make some "universal" definition that applies to every situation imaginable; they were just making a natural-seeming definition that works in all the relevant examples they could think of." Considering "associative" operations which don't have identities is thus analogous to considering finite sets but not allowing the empty set. Of course, this is sometimes useful to do, but unless you have a good reason to, it is probably not the natural thing to do.  Thank you PrudiiArca for your help and special thanks to Eric Wofsey for the answer


I'm having trouble proving that $|A^{B×C}| = |(A^B)^C|$   , where  $M^N$ is the set of all the functions $f:N \to M$.   My thoughts: to prove this, I need to find a bijection between $|A^{B×C}|$ and $|(A^B)^C|$, so I need a bijection between the set of all functions $g:B×C \to A$ and the set of all functions $h: C \to A^B$.


Is it enough to just say `allow-hotplug eth0`?

Are the following statements in /etc/network/interfaces equivalent?  allow-hotplug eth0   and..  auto eth0 allow-hotplug eth0   That is, does allow-hotplug do everything that auto does and more?


What is the difference between storing a datatable in Session vs Cache? What are the advantages and disadvantages?  So, if it is a simple search page which returns result in a datatable and binds it to a gridview. If user 'a' searches and user 'b' searches, is it better to store it in Session since each user would most likely have different results or can I still store each of their searches in Cache or does that not make sense since there is only one cache.  I guess basically what I am trying to say is that would the Cache be overwritten.


beamer - global transition shifts slide content

Using beamer with the , I want to have a global transition effect (a fast fade) which I set using the following code:  \addtobeamertemplate{background canvas}{\transfade[duration=0.2]}{}   as found on  answer.  However, doing it messes up with my slides settings. It doesn't change every slides, only the \section ones that are slightly shifted to the right, adding a white line on the left, as seen here:   I tried using XeLaTeX and LuaLaTeX, as they are the only compilers I could use for my current font, but they both have the same issue.  It probably comes from the theme, however I have no clue why it would happen or how to fix it.  Edit :   \documentclass{beamer} \usetheme{m} \addtobeamertemplate{background canvas}{\transfade}{}  \begin{document} \section{test} \end{document}   Requires the mtheme to work


How do you mock classes that use RAII in c++

Here's my issue, I'd like to mock a class that creates a thread at initialization and closes it at destruction.  There's no reason for my mock class to actually create and close threads.  But, to mock a class, I have inherit from it.  When I create a new instance of my mock class, the base classes constructor is called, creating the thread.  When my mock object is destroyed, the base classes destructor is called, attempting to close the thread.    How does one mock an RAII class without having to deal with the actual resource?


Is there a way to set my current location manually on Windows 8? I don't have a GPS module, but the device is always located at the same place. The automatic detection via network sets a place 200 kilometers from here.  I searched for a setting that allows me to set the location by hand, but I didn't find one.


confusion with the keyword static with brackets in a class

The title may not be easy to understand but basically I have seen this in some programs and I am curious about it , to clear things out I have simplified the code to the extent where we can concentrate on my question.  public class A {      public A() {         System.out.println("constructor");     }     static{         System.out.println("static");     } }   -  public class B {      public static void main(String[] args) {          A a = new A();     }  }   when I run the code the output is:     static      constructor   what exactly is this static with brackets? from the looks of it seems like it runs the code inside the brackets when the class is used but why exist if we have the constructor? Can't we put the code we need to initialize inside the constructor? and it seems to run its code before the constructor since the word static comes before the word constructor, why is that so?


Book to understand time series, then use it for forecasting

I want a deep, mathematical understanding of time series (at the level of a statistics major). I intend to use this knowledge for forecasting for fun (probably in finance but can branch out).  Where should I start? I'm looking for a brief outline of what to do, e.g. learn book A, then learn book B, then try predict C using D.   Please provide (at least) a brief reason for your recommendations! :)


What version of Ubuntu support Power8 micro threading (aka split core)

Split-core (micro-threading) support was put in the upstream kernel version 3.15, and dynamic split-core in 4.3. What version of Ubuntu includes this support?


I was trying to open a file and write to it with PHP at /var/wwwfolder but it wasn't working so I did  sudo chmod 777 /var/www   now I want to set the permissions for /var/www to the default. what are the default permissions for /var/www?


My PC has one Intel Haswell i5 4690, which is supposed to be boosted up to 3.9GHz from the regular frequency 3.5GHz. I do not know if it is possible to use some softwares to turbo boost this cpu on Ubuntu 14.04LTS. THX!


What is the best practice for old pages that no longer exist on an Angular site?

We built our eCommerce web site using Angular as a single page application.  We have implemented a spinner that runs until the page is responding with the expected content. We have some category pages which were crawled and indexed by Google but which are no longer available on the site. What is the best practice for old pages?  Should I create "404 Not Found" pages for them instead of saying "loading" forever? Is setting a no index meta tag enough?


Is there a tool similar to spotlight search in OS X for Ubuntu? (specifically Ubuntu 12.04)

Is there any tool equivalent to spotlight search in OS X for Ubuntu 12.04?  Something where you just type a search string and files, folders or installed programs will appear in a list.


Well, I asked a question about several weeks ago. I accepted the answer, but I didn't upvote it, not because the accepted answer is not good, but I have already accepted it.  I'm not stingy to give him/her an upvote,but I am just curious whether it is an unspoken rule that I should give him/her an upvote if I accepted his/her answer?  Ps. I'm not angry with anybody. :-)


I am having Dell Inspiron 3542 with 0RK2KV motherboard, Intel i3-4005U CPU and 4GB of RAM and I wish to upgrade my RAM. Now the  mentions the maximum RAM support to be 16GB DDR3L 1333/1600 or LPDDR3 1333/1600 whereas  says  The maximum memory supported on Dell Inspiron 3542/3543 is 8GB DDR3L with clock speed of 1600 MHz.  So, what should I go for...8GB or 16GB? It's clear that I can go for DDR3L which is unanimously said by both but I'm bit confused about the max size supported. It's clear that I want to go for the best available performance but also do not want to waste the money if at all 16GB is not supported. Could anyone please help?


I am running Flask Shell as a way to interact with SQLAlchemy. However, I notice that whenever I run Flask Shell in my app directory, it only references the code that was present at the time it was run. This means that if I detect an error and update the code, I need to close my command terminal, re-navigate to my Flask app directory, and run Flask Shell again.  Is there any way for me either access my Flask app directly from the Python Shell, or to have Flask Shell automatically update if there is a change in the code? It seems incredibly inefficient to do it the way I have been doing it. The way I am currently running Flask Shell is that I am navigating to my Flask app directory in the command terminal and then running the "flask shell" command, every time I update my code.   To be clear, this is different from running a Flask app on localhost. That does update once the code is changed. Flask Shell, however, does not, and is specifically being used in this case to interact with SQLAlchemy.


I have installed Deepin DE on Ubuntu using following commands.  sudo add-apt-repository ppa:ubuntudde-dev/stable sudo apt-get install ubuntudde-dde   After rebooting the system still I see the GNOME DE? What am I missing here?


I am a beginner in cryptography. I studied many time pad attack and now I want to solve a popular exercise, It consists 11 ciphertexts (s1,s2,...,s11), that encrypted by a same key and I want to find plaintext(p11) of s11. I know:  p10 ⊕ k = s10 p11 ⊕ k = s11 p10 ⊕ p11 = s10 ⊕ s11   Now, what should I do for getting p11? If assume k = s10 ⊕ s11, so:     s11 ⊕ k = p11   s11 ⊕ (s10 ⊕ s11) = p11   . Is it correct?


How can a disease be transmissible animal-to-human but not human-to-human?

I have heard some debate about whether or not the Wuhan virus can be transmitted human-to-human, but this doesn't make sense to me.  Why wouldn't it be able to?  Are there diseases that can only be transmitted from animals, not humans?


Structured Data Testing Tool throwing error "Missing '}' or object member name."

I am continuously getting the following error:     Missing '}' or object member name.   Does anyone see what it is referring to? I am not missing the ending }.      {         "@context": "http://schema.org",         "@type": "ProfessionalService",         "additionalType": "http://www.productontology.org/id/Web_design",         "name": "site",         "url": "example.com",         "logo": "example.png",         "description": "Company",         "telephone": "555 555 5555",         "areaServed": ["Canton", "Akron", "Fairlawn", " Medina", "Hudson", "Green", "Cleveland", "Massillon", "Independence", "Stow", "North Canton", "Baberton"],     }


Calculating Distance Between Two Give Points using ArcGIS API for JavaScript 3?

Using ArcGIS API for JavaScript 3.22 and having two given Points as  var pt1 = new Point(-106.61, 35.1107, new SpatialReference({ wkid: 4326 })); var pt2 = new Point(-108.61, 35.1107, new SpatialReference({ wkid: 4326 }));   can you please let me know how I can calculate the distance from pt1 to pt2?  var map;     require([              "esri/map",              "esri/geometry/Point",              "esri/SpatialReference",              "esri/geometry/webMercatorUtils",              "dojo/domReady!"  ], function(Map, Point, SpatialReference, webMercatorUtils) {   map = new Map("map", {        basemap: "topo",        center: [-106.61, 35.1107],        zoom: 8  });  var geometryService = new esri.tasks.GeometryService("https://utility.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer");   var pt1 = new Point(-106.61, 35.1107, new SpatialReference({wkid: 4326 }));  var pt2 = new Point(-108.61, 35.1107, new SpatialReference({wkid: 4326 }));  });


Get context of overlay (get parent page information)

Is it possible to get the context, like the full URL, or the containing page path, title, etc., while inside an overlay page?  For example, I have a form pop up inside an overlay, and I want to, inside that form, be able to get the context of the page that triggered the overlay popup. I can't pass any information via the URL... I'd just like to be able to do something like arg(0) for the containing page (what's faded out in the background of the overlay.  Right now, if I do arg(0), request_uri(), $_GET['q'], etc., it always returns the overlay path, like   (I want the 'path/i/want' portion of the URL, somehow).


Get day difference between 2 strings using javascript

i'm getting 2 strings from php and i'm trying to get the difference between then using javascript. this is my code:  this.now =  Thu Feb 14 2017 16:38:42 GMT-0200 (BRST)  this.expiration  = Wed Feb 15 2017 15:29:45 GMT-0200 (BRST)  and i want the days difference between this two dates, to show something like "1"  day left.


$$\hat{\alpha} = \begin{cases}  \tan^{-1}\frac{\hat{\alpha_1}}{\hat{\alpha_2}}, \, if  \hat{\alpha_1}>0 \, \hat{\alpha_2}>0 \\  \tan^{-1}\frac{\hat{\alpha_1}}{\hat{\alpha_2}}+\pi, \, if \hat{\alpha_1}<0\\   \tan^{-1}\frac{\hat{\alpha_1}}{\hat{\alpha_2}}+2\pi, \, if \hat{\alpha_2}<0 \, \hat{\alpha_1} >0 \\   undefined,  \hat{\alpha_2}=0 \, \hat{\alpha_1}=0 \\   \end{cases}$$   This message appears  Paragraph ended before \cases was complete <to be read again>                    \par   What does it mean? how i can write in latex programme


Is there a word that best describes food and drink taken at the same time? I've thought of refreshments and consumables but neither seem right to me.


Could someone help me understand how to prove $P(A'\mid B) = 1-P(A \mid B)$? I tried to make it so:  $P(A'\mid B)= \cfrac{P(A'\cap B)}{P(B)}$ but I'm not sure how to continue.   (I see that there is a question asking to prove $$P(A|B) = 1-P(A'|B) $$ How is it possible that P(Not A |B) would yield the same proof as P(A|B)?


Whether whitespace be defined as token in bash?

Bash Reference Manual says        'token' is either a 'word' or an 'operator'.   'Words' may not include unquoted 'metacharacters'.   'Space' is one of the 'metacharacters' but not'operator'.      So an unquoted space is not token?  How muck Tokens does the cmd "echo word;echo 'word and word'"have?


At what stage of computer science PhD should you start looking for post-doc?

I am exactly mid-way in my PhD in computer science. Is this the right time to start looking for a post doc?


Why didn't the Ministry perform Legilimens on Harry Potter?

Why was the Ministry just questioning Harry in part 5 about the Dementors instead of trying Legilimens, as the Dementors were also shown in the movie when Snape performed the same on Harry?


Using ints,strings, and chars to make equation int

I am trying to make something like this work.  string operator = "+"; int randomNumber = 1; int randomNumber2=2;  if(randomNumber+operator+randomNumber2 == 3)   But can't seem to get it to work, I also tried to do a char with no luck either.


Currently, when I look at the reputation section of my profile I see something of the format top X% <time period>. Okay, cool. However, recently I've been topping the charts at , but the percentage values seem odd.  For example, yesterday (UTC yesterday) I had around ~400 rep this week. According to the Users page, I was the top user for the week. But my profile just said "Top 4% this week"  Now, today, I'm at around ~500 rep this week, and it says "Top 2% this week."  Huh?    First of all, if i'm the top user, why not just say "Top user this week" - that would not only be more descriptive, it's a nice pleasant reward for a user checking his rep stats.    Second, what's with the arbitrary percentage values? If I'm the top user, I'm in the top 1%, so why not say so? Why 4% or 2%? How is this calculated, and why?   tl;dr, can't the top X% <time period> be "prettier"?


I am trying to remove duplicates in my string array though it's not working, I uses Split String to get my string in an array and then used a counter method to count the duplicates. I don't understand what I did wrong  public class Program {  public static void uniqWords(String s){     String[] sentence = s.split(" ");     int[] counter = new int[sentence.length];     for(int i=0; i< sentence.length; i++){     for(int j=i+1; j<sentence.length; j++){         if(sentence[i] == sentence[j] ){             counter[i] =1;         }      }     }//     for(int i=0; i<counter.length; i++){        System.out.print(counter[i] + ",");     }    for(int i =0; i<sentence.length; i++){      if(counter[i] == 1){         sentence[i] = "";       }     } //print     for(int i=0; i<sentence.length; i++){       System.out.print(sentence[i]);       System.out.print(" ");      }   //    }     public static void main(String[] args) {       // TODO Auto-generated method stub        uniqWords("Spring in in Paris");      } }


Ctrl+Backspace inserts a small box instead of erasing

When I press Ctrl+Backspace, sometimes a small square is inserted, instead of the entire word being erased. The problem only happens in some text boxes; in others the shortcut works like it should.  Start menu search box: works  Notepad: doesn’t work   Notepad2: works  Firefox: works   I’m running Windows 7 x64.


How did this duplicate question manage to be answered after being marked as duplicate?

It was then answered on 2016/02/24 at 15:52:52Z, seconds after being marked as duplicate.     How is this possible? Is there a delay between duplicate marking and closure? If so how long is this delay?


With out the axiom of choice is the following true: If a topology on $X$ contains every infinite subset of $X$, then this is the discrete topology.

Is there a way to prove the following without having to use the axiom of choice or its countable version?  Let $X$ be an infinite set and $T$ be a topology on $X$. If $T$ contains every infinite subset of $X$, then $T$ is the discrete topology.


Accessing the iPhone's Call log with the iPhone SDK

I am building application that required some data from iPhone's Call log(read only). The call log is a sqlite db located at "/User/Library/CallHistory/call_history.db". I used a jailbroken device to extract the log. However trying to open this location using the sqlite_open3() command I get a SQLITE_ERROR error, which according to the library documentation means "SQL error or missing database". In an attempt to debug the error I've used NSFileManager to enumerate the folder('/User/Library/'). It would appear as if it's returning a "filtered" set of results, that exclude the 'CallHistory' folder along with several of the other folders.   The File system uses a series of alias to give the illusion of tradition OS X file structure, and I don't know if these are having an effect on my results.  The call log is only present on a device, and not the simulator. I've been unable to get it to work on a 1st gen iPhone running fireware 2.1.  This is some code I used to test the output  NSDirectoryEnumerator *dirnum = [[NSFileManager defaultManager] enumeratorAtPath: @"/private/var/mobile/Library/"];  while( bar = [dirnum nextObject]) {     //Uncomment if you don't want to log sub folders     //[dirnum skipDescendents];      NSLog(bar); }   I have a suspicion that Apple is blocking access to the directory as part of its sandboxing strategy, however I have no proof at this stage. However, I can access the address book without any issues, so I'm a little confused.  Thanks


Is there such a program like wine, but one that runs Mac / OSX .app(s)? I would find it very interesting to run mac .apps and see the result on such a program.


Is there a newer version than "2013 experience version will be used" when creating a new site collection inside offcie 365

I am working on a new site collection inside office 365. now when i select to create a new private site collection , i got this dialog:-    where it mentioned that the "Template Selection" will be "2013 experience version will be used".. now as for July 2017, can i have the 2016 experience inside my office site collection? or as for July 2017 the only experience we have is 2013 for our office 365 site collections?


Number Keys 1-9 not working on Apple Wireless Keyboard

How can I manually setup a passkey as "000000" (containing only zeros) to pair Bluetooth keyboard to iMac rather than the random keys generated by Mac. I'm currently using Mavericks & struggling to reconnect the keyboard as i'm unable to give the pass key other than 'zeros'.  In the link : , SingleShot has mentioned of a way to manually set the passkey to 'zeros'.


How to prove $\left(\sum_{i=1}^n x_i\right)^2 \le n\sum_{i=1}^n x_i^2$?

For now I have the following \begin{align*} \left(\sum_{i=1}^n x_i\right)^2 & \le n\sum_{i=1}^n x_i^2 \\ \sum_{i=1}^n x_i^2 + 2\sum_{i<j}x_ix_j & \le n\sum_{i=1}^n x_i^2 \\ 2\sum_{i<j}x_ix_j & \le (n-1)\sum_{i=1}^n x_i^2 \\ \end{align*} Then I'm thinking about using Cauchy-Schwarz inequality. But I feel stuck.


Space war, humans recreated, grown from plants with an alien female supervisor

This was a small hardback book I read in the UK in the late eighties. No memory of the cover.  Some kind of space war and a long lived alien female escapes the conflict in her starship, her side had lost.  An evil enemy that she needs to trap so she gets (I think) human  DNA from space dust and sets up on a habitable planet. The story then gets like episodic and looks at the world every couple of generations while she hides out there.  Plants bud on the world and people pop out from big seedpods, the population listens out for babies crying and rescue them.  There are legends of the 'Earth mother’ who secretly guides them to become high tech.   In reality she is creating attractive food bait for the bad aliens.  I think an early human and her are attracted to each other and she (maybe) gives him long life or (maybe) uses reincarnation to keep seeing him.  Edit:- the name 'Rimstalker' has just now popped up in my brain!


How to add a period after a section number, but not after subsection

I am currently writing my master thesis and have some specifications with the numbering. My professor wants my numbering as followed:  1. section   1.1 subsection   1.1.1 subsubsection   I need a period after the section, but not after the subsections. I am using scrartcl and already tried: numbers=autoendperiod and numbers=endperiod. There also seems to be a problem with \usepackage{titlesec}, as I am getting some errors when I try to use it.    Thanks a lot


Ubuntu seems to have completely messed up my laptop's BIOS?

I can't save anything, I've desoldered the CMOS battery and it won't reset, I can't reset to defaults, nothing saves. USB booting doesn't work, presumably because Secure Boot is on and the option to clear it is grayed out (and the BIOS won't save anyways)  What happened? When I go in the boot menu, there's always Ubuntu as 1st choice and it's pretty annoying. I removed the HDD but the entry still stays there, and I've never encountered something like this before.  The laptop is an Acer Aspire E1-510, and the BIOS worked fine before I tried Ubuntu on it.


I would like to use an interactive posix bash shell but the autocompletion feature doesn't work. When i type the tab character it simply prints a tab. The tab completion only works when i'm on a non posix interactive shell or on a posix interactive shell with emacs input mode. I find emacs input mode very awkward and i am used to vi input mode. The problem only arises when i am on posix mode and vi input mode in which case the tab key only prints a tab space on my shell. Also, the same problem arises when i invoke bash with the sh command.  Here is my /etc/inputrc :  # do not bell on tab-completion set bell-style audible  set meta-flag on set input-meta on set convert-meta off set output-meta on  # Completed names which are symbolic links to # directories have a slash appended. set mark-symlinked-directories on  set editing-mode vi set keymap vi-insert set mark-modified-lines on  $if mode=emacs  # for linux console and RH/Debian xterm "\e[1~": beginning-of-line "\e[4~": end-of-line # commented out keymappings for pgup/pgdown to reach begin/end of history #"\e[5~": beginning-of-history #"\e[6~": end-of-history "\e[5~": history-search-backward "\e[6~": history-search-forward "\e[3~": delete-char "\e[2~": quoted-insert "\e[5C": forward-word "\e[5D": backward-word "\e[1;5C": forward-word "\e[1;5D": backward-word  # for rxvt "\e[8~": end-of-line "\eOc": forward-word "\eOd": backward-word  # for non RH/Debian xterm, can't hurt for RH/DEbian xterm "\eOH": beginning-of-line "\eOF": end-of-line  # for freebsd console "\e[H": beginning-of-line "\e[F": end-of-line $endif


I'm a newbie in C++. As fas as I know, something like  switch(ival) {     case 1,2,3:     /* do something */     /* other case selections */ }   is wrong. The correct way is to write:  switch(ival) {     case 1: case 2: case 3: // in multiple lines if you prefer     /* do something */     /* other case selections */ }   That said (hoping it's correct), what happens when you compile the first? Visual Studio intellisense detects an error, but the program compiles fine.  I experimented a bit and I was betting that he would execute "do something" if ival was 1, but not if it was 2 or 3. I've setup multiple case statement like that, everyone with its own control variable to keep track of the execution, but nothing seems to happen as they all keep initialization values through the end of the program.  I'm puzzled. Anyone knows what happens behind the curtain?


I want to export my mesh as a transparent PNG. I found this  that shows how to do that.   But first I need to get to the Render Output panel.  How do I get there?  I am using version 2.72b on Ubuntu.


How to Regex search/replace only first occurrence in a string in .NET?

It seems the .NET Regex.Replace method automatically replaces all matching occurrences.  I could provide a MatchEvaluator delegate that returns the matched string after the first replacement, rendering no change, but that sounds very inefficient to me.  What is the most efficient way to stop after the first replacement?


How is rm command different from the delete button?

I read from a book where it says, the command rm deletes the inode and not the file. Which means if I delete with the rm command, then it cannot be restored.   I'm very new to Ubuntu environment. Now my doubt is, how does the Del key works? It is not deleting the inode as far as I am concerned, because I can restore it from my Trash folder. So am I right to say that Del  key is doing a mv command to Trash folder leaving the inode unchanged? Or am I missing something here?


How to set reading permission for each separate page?  Do already have existing drupal setting for us to use? or I need to coding it? Thanks.


How do you write accented characters in a foreign language?

I'm trying to include the titles of TED talks that I'm translated into my resume, but since the talks are in Spanish there are some characters that don't show up correctly.  When I write:  \item (Spanish into English){De que el futuro de la educación está a tan sólo un clic}   the text shows up as   De que el futuro de la educacin est a tan slo un clic   and simply doesn't show the special characters.  How do I get Latex to display special characters in Spanish or Portuguese?


How do you unlock the Sprinter Kart and Mii Outfit B in Mario Kart Wii?

In Mario Kart Wii I have unlocked everything except the Sprinter Medium Kart and the Mii Outfit B.  How do I unlock these?


what does this schematic symbol refer to?

I have a schematic that has the intersected circles that IMOD and IBIAS arrows point to and I wonder about its meaning     edit :   if I know that this symbol is a current sink ..how can the Control IC change the current passing through the LD ? and how can I relate the resistor connected to IMODN to current in LD ?


Service will be 'unavailable Saturday' vs '...unavailable on Saturday'

I want to perfect this system message the most I can and am over-thinking the use of the proper words.   Is it better to say "Email will be unavailable Saturday 12/29 from 5 PM to 9 PM" or "Email will be unavailable on Saturday 12/29 from 5 PM to 9 PM."  Our client chose the message so I don't want to alter it too much which would make him think his English was bad, but I wish to use the proper way of letting the users know WHEN Email will be unavailable.   So is it 'unavailable Saturday 12/29' or 'unavailable on Saturday 12/29'?


I managed to get the user's latitude and longitude using HTML-based geolocation.   //Check if browser supports W3C Geolocation API if (navigator.geolocation) {     navigator.geolocation.getCurrentPosition(successFunction, errorFunction); }  //Get latitude and longitude; function successFunction(position) {     var lat = position.coords.latitude;     var long = position.coords.longitude; }   I want to display the city name, it seems the only way to get it is to use a reverse geolocation API. I read Google's documentation for reverse geolocation but I don't know how to get the output on my site.  I don't know how to go use this: "http://maps.googleapis.com/maps/api/geocode/json?latlng='+lat+','+long+'&sensor=true" to display the city name on the page.  How can I achieve this?


Implicit differentiation. Confusing assumption.

I've encountered this example of implicit differentiation. The problem asks us to find the derivative of $y^2 + x^2 = 4$    How can they assume that y is a function x when it clearly is not? If we isolate y, we get: $y = \pm \sqrt{4-x^2}$. So then how can we assumt that y is a function of x?  On a high level, I'm still a bit confused. So I guess implicit differentiation is useful when we have relations between y and x that aren't functions. That's why the $\frac{dy}{dx}$ is in term of 2 variables. $\frac{dy}{dx}$ has two values depending on the value of x and the value of y since at x, there are 2 values of y. Is that right?


How do I fully break out of a while loop nested inside a while loop?

I am wondering if someone can help me figure out how to fully break out of my while loop(s) and continue with the rest of my program. Thanks!  import time while True:     company_name = input("\nWhat is the name of your company? ")     if company_name == "":         time.sleep(1)         print("\nThis is not eligible. Please try again")     else:         while True:             verify_name = input("\nPlease verify that {} is the correct name of your company \nusing Yes or No: ".format(company_name))             if verify_name.lower() == "no":                 print("\nPlease re-enter your company name.")                 time.sleep(1)                 break             elif verify_name.lower() not in ('yes', 'y'):                 print("\nThis is an invalid response, please try again.")                 time.sleep(1)                 break             else:                 print("\nWelcome {}.".format(company_name))                 verify_name == True                 break         else:             break #Continue with rest of my program


Is there any known relationship between $\sum_{i=1}^{n} f(i)$ and $\sum_{i=1}^{n} \dfrac {1}{f(i)}$

If we knew $\sum_{i=1}^{n} f(i)=S$  ($n$ can be $\infty$), is there anything we could say about $\sum_{i=1}^{n} \dfrac {1}{f(i)}$ in terms of $S$?  The only thing I was able to find on the web is . If there is no known relationship, is it possible for there to exist one that we just haven't discovered?


What is this socket/port/connector on my laptop?

I've have this socket on my laptop (Lenovo Z570).  What is this port and what is it used for? And what does that symbol mean (I expected a LOCK symbol)?


The following exercise was given to me during a course of probability. I guess that this result can be used to check the Lyapunov condition of the Central Limit Theorem. Useful or not, I need to prove that:  $$\lim_{n \rightarrow \infty} \sum_{k=0}^n e^{-n} \frac{n^k}{k!} = \frac{1}{2}.$$  However, can not figure out how to proceed. Can someone give me a suggestion for the first step? It would be very appreciated!  Thanks!


How bad is it to overstay my Schengen visa by 6 days?

I have a Schengen visa from Germany which says valid until 10/12/2014.  I landed in Germany today and to my surprise, the passport officer pointed out that my visa says stay allowed for 30 days only and I have already used 28 days in past visits. There is a section on my visa stamp which says "Duration of stay=30". But I wasn't aware or noticed this restriction before. My return flight is booked after 8 days so if I leave then, I will be overstaying by 6 days.  I was let in but advised to leave out of Schengen area by tomorrow.  Apart from the fact I will lose lot of money on my flight bookings, I came for a very urgent personal matter and I really need to stay for next 8 days here. I have read on forums that a few days overstay is fine.   Is it too risky to overstay by 6 days? I live and work in UK on a work visa. Will I have problem entering the UK? Do they verify if I have overstayed in a Schengen country?


Show that F2 has an infinite index free subgroup of rank 2

I am trying to show that F2 (the free group on 2 elements) has an infinite index, free subgroup of rank 2. As it has to be a free subgroup of rank 2 I'm guessing I need to find 2 elements in F2 that generate a free subgroup together (satisfying no relations between them), and then also add in the constraint that the group they generate has infinite index in F2. However, I'm really struggling to get my head around what it means for a group to have 'infinite index' and how, even if I found such a pair of elements somehow, how I could prove that they had infinite index in F2. Also, this question occurs before material about topological methods such as covering spaces, so I would like to answer this without such tools, so I guess purely algebraically. Any hints, suggestions or indeed solutions would be much appreciated.


Woman wakes on plane to find she is actually dead and heading into the Egyptian afterlife

The story begins with the narrator waking up on an airplane due to a "bump," which she assumes to be from turbulence. Everything seems normal at first, and her thoughts drift. I think most of the text is her own internal monologue and reminisces, but she keeps noticing minor details that strike her as strange. She slowly comes to suspect that the plane was destroyed (by a bomb?) and everyone aboard is being taken into the Egyptian afterlife.  The flight may have been on its way to Cairo or may have just been flying over the area, but I don't recall any particular reason why it should have been the Egyptian afterlife other than that. She may have spotted some pyramids through the window and been thinking about the funeral preparations for the afterlife journey of the ancient Egyptian kings somewhere early in the story.  Towards the end, she looks out the window and spots crocodile-like monsters in the river (the Nile) below. It ends on a note of continuing ever onward into the unknown as things slowly become stranger. I was pretty sure that this was a Dan Simmons story, but I don't see any promising short fiction titles in his bibliography.  I was reminded of this story by , but this is apparently not the same one. The story about which I'm thinking definitely begins with the narrator waking up on the plane, and the plane's cabin (plus what can be seen out its windows) is the setting for the entire story.


Can you publish an app (Play Store) that contains an existing database?

I have an app containing multiple buttons, that will be taken out of a database (SQLite).  Do I have to build this database when the app first get started by the user or can I publish the app inclusive the database? And do images on the "internal storage" act the same way?


Bijection between $[0,1]$ and $[0,1]\times[0,1]$

I know that $|\mathbb R|=|\mathbb R\times\mathbb R|$, and that $|[0,1]|=|\mathbb R|$, which suggests that $|[0,1]|=|[0,1] \times [0,1]|$ but I would like to know a bijection between the interval and square.


Unable to Find Edit Links option in global nevigaion in SharePoint On premise site

in my SharePoint On premise environment i have Publishing Site . i am trying to Edit Links in Global navigation . but i am unable to see Edit Links option on SharePoint on premise publishing site.       Please suggest something so i can see that Edit Links opetion in SharePoint on premise site


Trying to prove that $H=\langle a,b:a^{3}=b^{3}=(ab)^{3}=1\rangle$ is a group of infinite order.

I'm trying to prove that the following group has infinite order: $$H=\langle a,b\mid a^{3}=b^{3}=(ab)^{3}=1\rangle.$$  Currently I'm checking on some cases using the relations, but my problem is the reducibility for large products.  Naively I started to check that $ab$ is different than $1,a,b$ and then $ba$ than $1,a,b,ab$, just to understand $H$ in some extent.   Now I'm wondering about some more effective method to prove that $|H|=\infty$, I'm tempted to look for an injection from some group of infinite order into $H$, but I'm still stuck.  More than asking for a solution I'd rather appreciate some hints or thoughts about it. Thanks a lot.


I have just defended my MA thesis which I have one advisor who does not live at the same place with me, and therefore I have build my thesis and discuss all the results around bi-monthly frequency with an academics who works at the same institution with me. She also came to my defense (which was at another city we live) and from the beginning to the end supported my and my work as if she is my primary advisor. (FYI, my main advisor even said to me that "you did all the work by yourself and I did not contribute anything). Plus, the academics I work with is also my boss and she's an executive person in the workplace. I have two questions in mind:   I want to give a copy of my finished thesis in a hardcover format, is it okay to give the final version with a hardcover one to the advisors? (+ I did not want to give it to my main advisor as he did not care/direct me at all) I heard some people give the hardcopy, but I am not sure about it. In fact I want her to read the Acknowledgements part that I thank to her in a detailed way.. I consider giving a nice present to her, could be a good quality pen etc, but should it be appropriate because she holds also an executive title at the workplace?   At the beginning, I was hesitant to work with her as people around may misunderstand it, but we started somehow. But since completing this thesis meant a lot to me, I want to give a nice gift to her? If it could be appropriate, what would be your suggestions?


Propagation of light: what does $\frac{\partial^2{\mathbf{E}}}{\partial{t}^2} = c^2_n \frac{d^2 \mathbf{E}}{dx^2}$ represent?

We know that (1) the transmission of light is defined by the wave propagation of the electromagnetic field, and that (2), in the absence of charges and currents, the magnetic field is always perpendicular to the electric field. Given this, I am told that the electric field vector $\mathbf{E}$ of length $E$ defines the wave propagation of light $$\dfrac{\partial^2{\mathbf{E}}}{\partial{t}^2} = c^2_n \dfrac{d^2 \mathbf{E}}{dx^2},$$ where $c_n = \dfrac{c}{n}$ is the speed of light altered depending on the refractive index $n$. Where did $\dfrac{\partial^2{\mathbf{E}}}{\partial{t}^2} = c^2_n \dfrac{d^2 \mathbf{E}}{dx^2}$ come from, and what does it represent? This equation was presented, but its significance is not clear to me.


Accidently deleted boot option on Dell laptop

I have a Dell laptop in which I have dual booted Ubuntu with Windows 10. Usually the laptop loads the Grub menu first.  Recently I had some problems with Windows Bitlocker: every time I open Windows I am prompted to enter the Bitlocker password. In trying to solve this, I accidentaly clicked Ubuntu in the "Delete Boot" option in the boot sequence. Now the laptop boots directly to Windows without first loading the Grub menu.  Luckily, when I restarted the system and clicked "add boot option" I found the efi folder in which the Ubuntu folder is present. In Ubuntu there is fwgrupx64.efi, grubx64.efi, grub.cfg, shimx64.efi, mmx64.efi, and BOOTX64.CSV. On clicking grubx64.efi it shows "Boot name not found".  How can I recover the Grub boot menu?


Question about left exactness of the section functor for sheaves

Suppose we have an exact sequence of sheaves of abelian groups,  $$ 0 \longrightarrow \mathcal{F}' \stackrel{\phi'}{\longrightarrow} \mathcal{F} \stackrel{\phi}{\longrightarrow} \mathcal{F}''. $$  I want to show that the sequence of abelian groups $$0 \longrightarrow \mathcal{F}'(U) \stackrel{\phi'_{U}}{\longrightarrow} \mathcal{F}(U) \stackrel{\phi_{U}}{\longrightarrow} \mathcal{F}''(U) $$ is exact for all open sets $U$. So far I have that exactness at $\mathcal{F}'(U)$ is immediate since injectivity for morphisms of sheaves can be checked on injectivity of morphisms of sections. However I am stuck at exactness at $\mathcal{F}(U)$. I feel as though I am very close. I have determined that exactness at $\mathcal{F}(U)$ is equivalent to the presheaf image of $\phi '$ being equal to the kernel sheaf of $\phi$.   From exactness of the original sequence, I have that $\text{im} \phi ' = \ker \phi  $, but how do I then show that this is equal to the image presheaf of $\phi '$? In other words, the image presheaf of $\phi'$ was already a sheaf?  This is related to another question asked here , where user Future suggests that we can use the fact that the image sheaf can be identified with a subsheaf of the target sheaf, but I am still not sure how to do it.  I realize there are other ways to prove left exactness of the section functor, but I am very curious how to make this particular approach work.   Any help is appreciated.


There is a  on Launchpad that describes .  How do I add myself to this bug report as it is currently marked as "undecided" importance with no-one assigned to it. It is quite a pain not being able to read the menus.  I am worried that making my own bug report would simply cause it to be marked as a duplicate.  I read  and also . The "how do I report a bug" link doesn't seem to clearly state what to do if you have the same bug. The ReportingBugs page seems to suggest not adding "me too!" to a bug report.    (Edit)  It has been suggested that this is a duplicate of . My intent was to indicate that the bug affected me also, not to merely subscribe to it and get notifications. The reason was that I wanted the developers to know that the bug affected more than one person.  The  was helpful because it described how to indicate that the bug affected me as well.  This had the desirable side-effect of generating this message on the bug report:     Status changed to 'Confirmed' because the bug affects multiple users.


Where is the right place to ask for source of ready traffic camera video?

I don't know where is the right place to ask for some free source of ready traffic camera video to download. I need these videos to test some object recognition prototype.


which ubuntu version is for lenovo z500 with i5-?

which  version of ubuntu (13.10 or  12) i should install?  Your help would be great!  dps    Just clicking on About This Compute to open


What is \arraybackslash doing on my table column?

The \arraybackslash was used on answer table at   \documentclass[10pt,a5paper,twoside]{memoir} \usepackage[T1]{fontenc}  \usepackage[utf8]{inputenc} \usepackage[brazil]{babel}  \usepackage{ragged2e} \usepackage[showframe,pass]{geometry}  \usepackage{ltablex} \keepXColumns  \begin{document} \frenchspacing  \setlength\extrarowheight{2pt} \begin{tabularx}{\linewidth}{|>{\RaggedRight}p{3cm}|>{\arraybackslash}X|}      \caption{Formatação do texto}     \label{tab:a_table_formatacao_de_texto} \\     \hline     \endfirsthead      \multicolumn{2}{c}{\tablename~\thetable: Formatação do texto (continued)} \\     \hline     \endhead      \hline     \multicolumn{2}{r}{\footnotesize to be continued}     \endfoot      \hline     \endlastfoot      Cor                          & Branco -                              \\ \hline     Formato do papel             & A5                                    \\ \hline     Gramatura                    & 75                                    \\ \hline     Cabeçalho                    & 0,7                                   \\ \hline     Impressão                    & Frente e verso                        \\ \hline     Margens                      & Espelhadas: superior 2, Inferior: 1,5 \\ \hline     Cabeçalho                    & 0,7                                   \\ \hline     Rodapé                       & 0,7                                   \\ \hline     Paginação                    & Externa                               \\ \hline     Alinhamento vertical         & Superior                              \\ \hline     Cabeçalho                    & 0,7                                   \\ \hline     Alinhamento do texto         & Justificado                           \\ \hline     Cor                          & Branco -                              \\ \hline     Formato do papel             & A5                                    \\ \hline     Cabeçalho                    & 0,7                                   \\ \hline     Gramatura                    & 75                                    \\ \hline     Impressão                    & Frente e verso                        \\ \hline     Margens                      & Espelhadas: superior 2, Inferior: 1,5 \\ \hline     Rodapé                       & 0,7                                   \\ \hline     Paginação                    & Externa                               \\ \hline     Alinhamento vertical         & Superior                              \\ \hline     Alinhamento do texto         & Justificado                           \\ \hline  \end{tabularx}  \end{document}     On the question  there is some explaining about it:          \arraybackslash: Restore \\ for use in array and tabular     environment    (after \raggedright etc.).   \def\arraybackslash{\let\\\tabularnewline}       Why \\ is broken by \raggedright and these etc other commands?   Reading the line \def\arraybackslash{\let\\\tabularnewline} seems the \\ is being redefined as \tabularnewline, does \raggedright and these etc other commands redefine it as something else, why?  Does I need to put \arraybackslash only on my last table column? What happens if I do not put it or put on/only a middle column or put on every column?


Like "sexist" or "racist," but in reference to being gay?

Is there a term that is similar to sexist or racist but refers to gay people? "Homophobic" comes to mind, but that's more a fear or disgust of homosexuals versus discrimination based solely on sexual orientation.  To be specific, I'm looking for an -ist/-ism word, but I'm not sure if one exists.


How to tell the difference between redshift by motion of stellar objects and the expansion of space?

By observing how much the say hydrogen spectrum line was shifted we can tell whether the source is moving closer or further away, but then clearly cosmological redshift do not work this way so how can I tell them apart?


Is is possible to recover files form a hard drive after it was "zeroed out"?

I have an external hard drive, on which I had many important things that I don't have another copy of. Something was messed up with the partitioning of the hard drive, since it showed up as a 600 and something GB partition, where as the hard drive itself is a 1 TB one. I decided to give it a formatting, to restore its original size. I backed up all my stuff by copying the files and folders onto my Windows PC (the copying process went just fine, no errors or anything, so I assumed all my stuff was properly backed up), then I erased the hard drive by using this command in OS X terminal on my mac:  dd if=/dev/zero of=/dev/disk1 bs=1m   I used this command because I wanted to make sure that my hard drive was completely empty, so I can create a fresh new partition on it. So I created a partition on it (which showed up to be 1TB, so I was happy about that), but when I wanted to copy my stuff back onto it, I realized that only a fraction of my data is present on my PC. I have no idea why it didn't back up everything. I selected all the files on the hard drive when backing them up, and the copying process went fine. Sure, it's my fault that I didn't check whether the data was backed up properly, but I assumed it was.  Anyway, is there any way to recover data from a hard drive that has been zeroed out? I lost a lot of personal stuff... :(


What is the physical significance of the imaginary part when plane waves are represented as $e^{i(kx-\omega t)}$?

I've read that plane wave equations can be represented in various forms, like sine or cosine curves, etc. What is the part of the imaginary unit $i$ when plane waves are represented in the form $$f(x) = Ae^{i (kx - \omega t)},$$ using complex exponentials?


Every now and then, after reading a new question and marking it as a possible duplicate, I end up finding a better candidate for possible duplicate.   Unfortunately, I can't EDIT my vote and update the link of the possible duplicate to point to a better match.  I think it would be great if we could do that.


( deals with a similar issue, but it talks about a rotated log file.)  Today I got a system message regarding very low /var space.   As usual I executed the commands in the line of sudo apt-get clean which improved the scenario only slightly. Then I deleted the rotated log files which again provided very little improvement.  Upon examination I find that some log files in the /var/log has grown up to be very huge ones. To be specific, ls -lSh /var/log gives,   total 28G -rw-r----- 1 syslog            adm      14G Aug 23 21:56 kern.log -rw-r----- 1 syslog            adm      14G Aug 23 21:56 syslog -rw-rw-r-- 1 root              utmp    390K Aug 23 21:47 wtmp -rw-r--r-- 1 root              root    287K Aug 23 21:42 dpkg.log -rw-rw-r-- 1 root              utmp    287K Aug 23 20:43 lastlog    As we can see, the first two are the offending ones. I am mildly surprised why such large files have not been rotated.  So, what should I do? Simply delete these files and then reboot? Or go for some more prudent steps?  I am using Ubuntu 14.04.  UPDATE 1  To begin with, the system is only several months old. I had to install the system from scratch couple of months back after a hard disk crash.  Now, as advised in ,  I first checked the offending log files using tail, no surprise there. Then, for deeper inspection, I executed this script from the .  for log in /var/log/{syslog,kern.log}; do    echo "${log} :"   sed -e 's/\[[^]]\+\]//' -e 's/.*[0-9]\{2\}:[0-9]\{2\}:[0-9]\{2\}//' ${log} \   | sort | uniq -c | sort -hr | head -10 done   The process took several hours.  The output was in the line of,   /var/log/syslog : 71209229  Rafid-Hamiz-Dell kernel:  sda3: rw=1, want=7638104968240336200, limit=1681522688 53929977  Rafid-Hamiz-Dell kernel:  attempt to access beyond end of device 17280298  Rafid-Hamiz-Dell kernel:  attempt to access beyond end of device    1639  Rafid-Hamiz-Dell kernel:  EXT4-fs warning (device sda3): ext4_end_bio:317: I/O error -5 writing to inode 6819258 (offset 0 size 4096 starting block 54763121030042024)        <snipped>  /var/log/kern.log.1 : 71210257  Rafid-Hamiz-Dell kernel:  attempt to access beyond end of device 71209212  Rafid-Hamiz-Dell kernel:  sda3: rw=1, want=7638104968240336200, limit=1681522688    1639  Rafid-Hamiz-Dell kernel:  EXT4-fs warning (device sda3): ext4_end_bio:317: I/O error -5 writing to inode 6819258 (offset 0 size 4096 starting block 954763121030042024)    (/dev/sda3 is  my home directory. As we can find,   lsblk /dev/sda NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT sda      8:0    0 931.5G  0 disk  ├─sda1   8:1    0 122.1G  0 part / ├─sda2   8:2    0   7.6G  0 part [SWAP] └─sda3   8:3    0 801.8G  0 part /home    Why a process will want to write beyond the limit is actually outside the scope of my comprehension. Perhaps I will want to ask a different question in this forum if this continues even after a system update.)  Then, from  (you may want to check  for a deeper understanding), I executed,   sudo su - > kern.log > syslog   Now, these files have zero sizes. The system is running fine before and after a reboot.   I will watch these files (along with others) in the next few days and report back should they behave out-of-line.  As a final note, both  the offending files (kern.log and syslog), are set to be rotated, as inspection of the files (grep helped) inside  /etc/logrotate.d/ shows.  UPDATE 2  The log files are actually rotated. Looks like the large sizes were attained on a single day.


I noticed recently that  do not include the -maxdepth primary.  For those unfamiliar with it, the purpose of the -maxdepth primary is to restrict how many levels deep find will descend.  -maxdepth 0 results in only command line arguments being processed; -maxdepth 1 would only handle results directly within the command line arguments, etc.  How can I get the equivalent behavior to the non-POSIX -maxdepth primary using only POSIX-specified options and tools?  (Note: Of course I can get the equivalent of -maxdepth 0 by just using -prune as the first operand, but that doesn't extend to other depths.)


Can we have a red/status tag for "obsolete"?

Given the changes that have been rolled out on Meta for the new close hold reasons, we've lost "too localized" here on meta.  However, "too localized" has a genuine use on meta (which is part change management system) to indicate those things which are truly obsolete (as evidenced by the text of the old close reason "refers to a specific point in time").  That said, there are things that are obsolete on meta, but we have no way of indicating that other than an "off topic" closure, which really sends the wrong message.  To mitigate that, I'd like a status-obsolete tag for meta sites which meta diamonds can apply to posts that have been made obsolete by other changes that were made to the system afterward.


I want to remove ~/bin from my PATH.  I set it up months ago when Linux (Ubuntu) was very new to me, but I don't know how I added it...    Nothing shows up when I search all the files listed below. Where else could it be being set?  It is being pre-pended after $HOME/.profile prefixes PATH with $HOME/bin      If it makes any difference, I get the same PATH from both the command-prompt and a running script.    #!/bin/bash {   echo "first dir of PATH is: '${PATH%%:*}'"   shopt -s nullglob   cat \     /etc/profile \     /etc/bash.bashrc \     /etc/profile.d/*.sh \     $HOME/.bashrc \     $HOME/.bash_aliases \     /etc/bash_completion \     $HOME/.bash_completion* \     $HOME/.profile \     $HOME/.profile_zap \     $HOME/.bash_profile* \     $HOME/.bash_login* \   | sed -rne '/~\/bin/p' }   Output is:  first dir of PATH is: '~/bin'


I have two polygons in PostGIS that have incongruities. One polygon (the yellow one) is legal county boundaries. The other polygon (blue) is essentially neighborhoods. 98% of the lines align perfectly. The other 2% don't align because the boundaries have changes but not been updated on the neighborhoods polygon.   My question: Using either PostGIS (preferred) or QGIS, how can I "snap" the neighborhood boundaries to the county boundaries? I've tried:  ST_Multi(       ST_Intersection(neighborhoods.geom, county.geom)       ) END AS geom  EDIT: This query "worked" in that it prevented neighborhoods from bleeding into incorrect counties, but it just removes the area that causes the bleed creating blank spaces inbetween boundaries.


Is there a way to get the child node type in a container

I want to grab the child type (Label or a textfield or vbox) inside an HBOX.  i tried hbox.getChildren().get(0).getStyle()   it only return a String value. what i need is an object. my main goal is to grab the value of child nodes in an hbox regarding the node type. if it is a textfield txtfiled.getText(). if it is another container such as a vbox, the size of the vbox.  I don't wanna use like this  Label lb = (Label) hbox.getChildren().get(1)); Instead can i just return the label object? so that i can use it directly what ever the object is. (i don't wanna cast every time i run the method)


How to make Google Maps remember my language?

Although this is minor issue, it is annoying.  I'm usually logged into my Google Account and my Chrome browser remembers my login. All other Google services remember my chosen language. Only Google Maps, although it remembers my location, it does not remember my preferred language. Instead it displays language of my location.  Another annoying thing is, that if I navigate away from there, it keeps the language.   The trick is to put ?hl=<culture code>, eg. ?hl=pl-PL at the end of URL. Then it already displays in my chosen language (Polish).   Is there any other place, where I can "tell" Maps what language I want to use? I already have my language in Google preferences, and it works for other things (like search, GMail, G+, etc.).


Don't show "review suggested edits" if you already reviewed 20 edits

I have hit 2,000 reps on Stack Overflow today (hooray!) and started reviewing suggested edits. After I reached the limit of 20 reviews, "review suggested edits" button is still showing in top bar, despite it is useless until tomorrow. Maybe to hide it when you hit the limit?


I'm trying to download an Apt file but I don't know how to. I'm using Firefox too.


How does the reincarnation thing work exactly?

Because, if it’s the same soul basically being reborn over and over…how exactly were Madara and Sasuke able to be alive at the same time?


Link to previous page if exists and is not an external link

I want to create a go back button on a single.php in WordPress. I know I can easily do that with window.history.go(-1) but in the case of the visitor come from another site, I want to redirect to the homepage of my site.  In other words: How can I know if the previous page is an internal link to my site? And if not, redirect to the homepage?


how to access external bootable Linux disk from windows 7 machine

I have an bootable external disk which a Linux is installed on it. I can boot into it and use Linux there. It is a 1TB disk. I think it will be better if I can also use it as a storage when I use my Windows 7 machine.I plug it in the windows 7 machine. But it cannot show up. Windows 7 says the drive is installed successfully but it is not listed.  Is there a way to make it recongizable by windows 7 and also keep the bootable Linux installation?  I installed the Linux 2 years ago by using a live CD when I bought the external drive. I guess it was formatted as Linux file system? I am not sure though.  EDIT:  My case is not a dual boot disk. Mine is a separated external movable bootable USB disk.  I have attached a screen shot about my situation. The one selected is the 1TB external drive. I have another bootable USB drive plugged in and it is listed by the Windows 7.  If I use 3rdparty software, it will allow me to read and write as usual?


Does the UK Consulate in New York send confirmation emails?

Hey guys I have sent my documents to the UK consulate, new York, after my biometrics and one of my friends told me that there will be an email from the consulate that they have received my documents, Does anybody know if this is true? It has been 3 days, and I didn't get that email. However when I tracked my mail using the given tracking ID, it says delivered at New York and that someone collected it. Could someone please help me with this?


Properties of non-zero symmetric bilinear form

Let $f$ be a non-zero symmetric bilinear form on $\Bbb R^3$. Suppose that there exist linear transformations $T_i:\Bbb R^3\to\Bbb R, i=1,2$ such that for all $\alpha,\beta\in\Bbb R^3,f(\alpha,\beta)=T_1(\alpha)T_2(\beta)$. Then         rank $f=1$   $\dim\{\beta\in\Bbb R^3:f(\alpha,\beta)=0\text{ for all }\alpha\in\Bbb R^3\}=2$   $f$ is a positive semi-definite or negative semi-definite   $\{\alpha:f(\alpha,\alpha)=0\}$ is a linear subspace of dimension $2$         (CSIR December 2014)   My attempt:  (1), (2) and (4) are wrong if $\ker(T_1)=\{0\},\ker(T_2)=\{0\}$  All information I could find about positive/negative semi-definiteness of bilinear form is  about positive definiteness.  Edit: (question has already been answered in comments; "intermediate link" Travis talks about is .   Can someone please guide me?


Why can't I create a singly linked list from an array?

I need to make a singly-linked list for my array of integers, but, I don't know what is currently wrong with my code right now.  This is the code to create the nodes. (the data)  package sllset;  class SLLNode {     int value;     SLLNode next;  public SLLNode(int i, SLLNode n){     value = i;     next = n        }    }   My other class which has my methods and constructors look like this.   package sllset;   public class SLLSet {     private int setSize;     private SLLNode head;  public SLLSet(){     head = null;     setSize = 0; }  public SLLSet(int[] sortedArray){ //second constructor     setSize = sortedArray.length;     int i;     head=null;     for(i=0;i<setSize;i++){         head.next = head;         head = new SLLNode(sortedArray[i],head.next);         } }   public String toString(){     SLLNode p;     String result = new String();     for(p=head ; p!=null ; p=p.next)         result += p.value;     return result; }  public static void main(String[] args) { int[] A = {2,3,6,8,9}; SLLSet a = new SLLSet(A); System.out.println(a.toString());      }  }   My problem is that my second constructor doesn't work and I dont really have a clue as to why. I have been following a guide on how to make most of these functions so my knowledge of the code I guess isn't great enough to decipher the problem.  EDIT: So someone told me to specify the problem which I get a NULLPointerException at line 19; where I code head.next = head; . However, when  I remove that part to test, line 20 gets the error message


How to execute another task if current task takes too much time in python

I have some function to execute which might take longer time.  What i want to do is if the given function is taking more than 5 second then terminate this task and execute some another function.  if (function(a) > 5 seconds)     function(b) else     function(c)


Given the following union definition:  typedef union{ int i; char ch; float f;}record;    record a; //a.i = 10; a.ch = 'A'; //a.f = 10.56; printf("printing a.i: %p \n", a.i); printf("printing a.ch: %c \n", a.ch); printf("printing a.f: %f \n", a.f); return 0;   I get the following output:  printing a.i: 65 printing a.ch: A printing a.f: 0.000000  Why does a.i not print 0 (the default value for undefined integers) but instead the ASCII value for 'A'. Does this somehow have access to a.ch??


Chance on winning by throwing a head on first toss.

Problem: Players A,B and C toss a fair coin in order, the first to throw a head wins what are their respective chances of winning?  Attempt: Let X = event that A throws a head on the first toss, and Y = event that B throws a head on first toss, similarly let Z = event that C throws a head on first toss.  Then there are eight different triple for tossing a coin.  S = {HHH, HHT, HTH, THH, HTT, THT, TTH, TTT}   where H is a head, and T is a tail.  Can anyone please help me? I don't know how to continue. Any feedback/help would be really appreciated. Thank you.


Constructing a choice function in a complete & separable metric space

Let $X$ be a complete & separable metric space. Let $\{E_i\}_{i\in I}$ be a collection of closed and nonempty sets in $X$.  If $X$ is just a complete metric space, it seems not possible to construct a choice function $f$ such that $f(E_i)\in E_i$, without AC.  However, since $X$ is separable, it seems possible to construct a choice function.  How do I construct a choice function $f$ such that $f(E_i)\in E_i$ without AC$_\omega$?  EDIT; Since Hagen's argument doesn't require the condition 'boundedness of $E_i$, I removed it. Also $\{E_i\}$ doesn't need to be countable, so i changed it to $\{E_i\}_{i\in I}$ where $I$ is an arbitrary set.


How to interpret results of GLM with a beta distribution in R?

I'm currently working on a project where my model is a GLM with a beta distribution. The dependent variable is bimodal. I've done this before, in Stata, but I'm having some difficulty interpreting what R has put out. I ran the model using the VGLM command from the VGAM package. For some reason, it has produced two coefficient for each variable. This is the part that confuses me--I'm not sure how to interpret this, and I haven't been able to find any help so far. My key variable of interest is logoil_gas_valuePOP_1. Any help here would be extremely appreciated--consulting my stats teacher produced nothing.  Pearson Residuals:                                    Min       1Q   Median      3Q     Max elogit(mu, min = 0, max = 12)  -6.4754 -0.34561 0.048202 0.42250 6.32340 log(phi)                      -23.6802  0.32592 0.592333 0.68735 0.73015  Coefficients:                           Estimate      Std. Error    z value (Intercept):1            -0.2731986  /  0.0513944  /  -5.315728 (Intercept):2             0.9116027  /  0.1266222  /   7.199393 polity_5:1                0.1267469  /  0.0016007  /  79.180001 polity_5:2                0.0481726  /  0.0037464  /  12.858440 logGDP_cap2000_sup_1:1    0.0945281  /  0.0067247  /  14.056858 logGDP_cap2000_sup_1:2    0.3542733  /  0.0170221  /  20.812500 logoil_gas_valuePOP_1:1  -0.0330833  /  0.0035020  /  -9.447096 logoil_gas_valuePOP_1:2  -0.0082593  /  0.0094502  /  -0.873979  Number of linear predictors:  2  Names of linear predictors: elogit(mu, min = 0, max = 12), log(phi) Dispersion Parameter for betaff family:   1 Log-likelihood: -8592.995 on 10366 degrees of freedom Number of iterations: 25   Here is the code:  library("foreign") rossdatahw <- read.dta("c:/Users/Amanda/Desktop/PS 531/Ross Replication/rossdata1.dta") library(mosaic) library("VGAM") rossdatahw$polity01 <- with(rossdatahw,polity/10) cor(rossdatahw[,c("polity","polity01")], use="complete.obs") rossdatahw$polity1to11 <- rossdatahw$polity+1  bootrossyears <- resample(rossdatahw, within=rossdatahw$year, size=1000, replace=TRUE)  bdata <- bootrossyears  fit1 <- vglm(polity1to11~polity_5 + logGDP_cap2000_sup_1 +                          logoil_gas_valuePOP_1 + latin + latin_logoil_1 + latin +                          dem_prior_update + gdpgrowth_alt_new_1 + mus_pct_sup +                          YEAR1960_64 + YEAR1965_69 + YEAR1970_74 + YEAR1975_79 +                          YEAR1980_84 + YEAR1985_89 + YEAR1990_94 + YEAR1995_99,              data=rossdatahw[!is.na(rossdatahw$polity01),],              na.action=na.omit,              family=betaff(A=0,B=12,lmu = elogit(min = 0, max = 12)),              ##family=beta.ab(A=0, B=12),              trace=TRUE)  coef(fit1, matrix=TRUE) coef(fit1) summary(fit1)


Moving files from one partition to another on an SSD

If a drive doesn't know about partitions and files systems why moving a file from one partition to another takes relatively long time, unlike the instantaneous move on the same partition? Is that file system inefficiency? In this case, NTFS. It seems like the file is being copied and then original is erased, instead of removing the entry about that file in one partition and making it in another?


Do the Dark Tower novels reference "shine"?

I'm finally watch the movie and they reference Jake having "the shine". Is this link with The Shining explicit in the books, or an attempt in the film to seem clever?


convert multiple columns as single row with appreciated data

See the image below.  The first table is the actual table.  How to get the expected result in the second table using a procedure when I pass formid as parameter?  example: exec procedure 123


In an essay, a friend used the expression:       It wasn't that bad of an idea.    I think that it would be preferable to write       It wasn't that bad an idea   However, I can't explain why.


When are two norms equivalent on a Banach space?

I'm working on an exercise from functional analysis.  Let $E$ be a vector space and $\|\cdot\|_1$ and $\|\cdot\|_2$ be two complete norms on $E$. Now suppose that $E$ satisfies the following property:  $\bullet$ if $(x_n)$ is a sequence in $E$ and $x,y\in E$ such that $\|x_n-x\|_1\to 0$ and $\|x_n-y\|_2\to 0$, then $x=y$.  Now we want to show that the norms $\|\cdot\|_1$ and $\|\cdot\|_2$ are equivalent.  My idea is as follows: If for any $n>0$, there is an element $x_n\in E$ such that $\|x_n\|_1>n\|x_n\|_2$. Then consider $(\frac{x_n}{\|x_n\|_1})_{n\geq 1}$. Clearly, $(\frac{x_n}{\|x_n\|_1})_{n\geq 1}$ converges to $0$. However, I cann't get a contradicition from this. Maybe my idea is wrong.   In fact, I even don't konw how to show that a Cauchy sequence in norm $\|\cdot\|_1$ is also a Cauchy sequence in norm $\|\cdot\|_2$.   Anyone can give me some hints or a counter example? Thank you very much.


Do I have to do something "special" to get the Color -> Color to alpha menu option to work in GIMP? I am trying to convert a background color on a GIF image to transparent by converting the background color to an alpha channel but the Color to Alpha menu option is not selectable.  I've gone through the GIMP documentation and it looks pretty simple :-) I must be missing something rather obvious here!


i want to get the edited Input Field value.i don't want to use HTML tag.How can i achieve this ?


What do you call a poem or song that sets up a rhyme and then ignores it?

Here is a line from the song "" in the musical Wicked. I am trying to explain what we call the anticlimax of the last three lines, where a rhyme is expected but not delivered.     When I see depressing creatures/   With unprepossessing features/   I remind them on their own behalf/   To think of/   Celebrated heads of state or/   Specially great communicators/   Did they have brains or knowledge?/   Don't make me laugh!He,he!/   They were popular!   Is there a term for the rhyme scheme where we (arguably) expect knowledge to be rhymed with "college"?  Another example:     Roses are red/Violets are blue/Sugar is sweet/And so am I   The comedic effect of that poem is in the anticlimax of the final line. Is there a term for that anticlimax created from an unmade rhyme?