Why is Arya Stark allowed to do this in the season 6 finale of Game of Thrones?

So in the season 6 finale of Game of Thrones,       Arya Stark finally gets her revenge on Walder Frey and kills him after disguising herself with a face from the Hall of Faces.   I suppose if she is not a member of the Faceless Men, then it can be assumed the face was stolen. But my question is, if she is now a member (as I think the show suggests), why is she allowed to kill her enemy? If she is supposed to be No One, she should not have such an enemy. More importantly, they seem pretty strict about who you can and cannot kill, so why would she be allowed to do this?  I realize there is a  already, but I am less interested in the how/why of her using faces, and more with her being allowed to kill for revenge in the first place, and "stealing a life" from the many-faced god.  From the :     [the Faceless Men] feel that they are only helping to carry out Death's will, and cannot choose their own targets (for personal reasons, such as revenge): they can only target those whom death has selected - the targets of assassination contracts they have accepted.


Every word is marked as misspelled in TeXstudio

Why is that most of the words, almost 90 percent, are marked as misspelled words when there is no error? And the spellchecking suggestions don't even look like English.  I am using TeXstudio as my editor.


i have written all the text in black color, but i get this error several times in the same page:  ! LaTeX Error: Undefined color `BLACK'.   i tried to solve it by writting this: \definecolor{black}{gray}{0,0,0} but it didn´t work.   what should i do?


Hellow everyone.  I'm exporting simple tent model into Unity. I want both outside and inside of the tent to be 'visible'. I checked double-sided on the properties panel, but in Unity tent interior is still invisible. I can't just flip normals, because then outside of tent would be invisible. I know I could use Solidify, but it doubles vertices number, which is not good for optimalisation.  Is there any other way?


Maddy and I have a great idea for a fan Horror game but we don't know how to make a good jumpscare for a horror game! Enlighten us in how a jumpscare works well to make this fan game the best it can be!


How to show different view templates for different taxonomy terms?

I'm using Drupal 7, and I had a vocabulary "Destinations". Under this vocabulary, I had terms with 2 levels. For example:   ASEAN -- Brunei -- Indonesia -- Laos EUROPE -- Spain -- Greence -- Portugal     For all 1st level taxonomy terms of this vocabulary (ASEAN, EUROPE), I want to display them as a view, with child taxonomy. Eg:   ASEAN -- Brunei  (term name & description) -- Indonesia  (term name & description) -- Laos (term name & description)   EUROPE -- Spain  (term name & description) -- Greence  (term name & description) -- Portugal (term name & description)     For all 2nd level taxonomy terms, I want to display nodes which have the term. Eg:    Brunei -- Package 1 -- Package 2   Spain -- Package 3 -- Package 4     Is there any way I can configure the views to display result as above? It might have something to do with contextual filter, but I don't know how to configure the parameters.   Any idea on how to achieve this?


How to pass argument for `\includegraphics[width=..]..` without causing "Runaway argument?"?

I'm going to despair: It seems nobody has a problem when passing an argument for the width of \includegraphics, but I always get Runaway argument?. Whenever I remove the [#2\textwidth] from my command definition, the command works!  My command looks like this (still room to improve):  \newcommand{\figcap}[5][htbp]{% \begin{figure}[#1]% \centering% \includegraphics[width=#2\textwidth]{#3}% \caption{\label{\Lf{#5}}{\small{}#4}}% \end{figure} }   And my call is like this:  \figcap{1}{1920px-Cone-....png}{Normierte ... (blau, grün, rot).}{test}   Using LaTeX2e <2017-04-15> I get this error:  Runaway argument? width=1\textwidth ]{1920px-Cone-....png}\caption {\label {\Lf \ETC. ! Paragraph ended before \Gin@iii was complete. <to be read again>                     \par    I've spend hours of reading and trying, but I don't find the problem. The packages I'm using are:  documentclass[a4paper,draft,twoside]{report} \usepackage{german} \usepackage[latin1]{inputenc} \usepackage{a4} \usepackage{amsmath} \usepackage{url} \usepackage{graphics}   And before you ask: \newcommand{\Lf}[1]{fig-#1}


Showing that ${\rm E}[X]=\sum_{k=0}^\infty P(X>k)$ for a discrete random variable

Let $X$ be a discrete random variable whose range is $0,1,2,3,\ldots$. Prove that $$ {\rm E}[X]=\sum_{k=0}^\infty P(X>k). $$  How to prove this? I tried a bit but unable to post due to formatting issue. Can anyone help?


What are independent parameters in Hellmann–Feynman theorem?

A typical example in textbooks about the application of Hellmann–Feynman theorem is calculating $\left\langle\frac{1}{r^2}\right\rangle$ in hydrogen-like atoms.  has a nice demonstration of this. At some point in the Wikipedia derivation is used that $$\frac{\partial n}{\partial \ell}~=~1. \tag{1}$$   But why is eq. (1) true? I know that  $$n=n_r+\ell+1,$$   but $n_r$ is just another variable with different physical meaning, so why is $n_r$ independent from $\ell$, whereas $n$ is not? The Wikipedia proof for Hellmann–Feynman theorem does not address the problem of independence of different parameters. What variables are kept fixed during the differentiation $(1)$ and why?  The Wikipedia page seems to have only a vague notion of $\frac{\partial\hat{H}}{\partial\lambda}$ and $\frac{\partial E}{\partial\lambda}$, unlike in, e.g., thermodynamics, where all partial derivatives are typically written like  $$\left( \frac{\partial U}{\partial V} \right)_S \qquad ,\qquad  \left( \frac{\partial U}{\partial V} \right)_p \qquad ,\qquad  \ldots $$ so that it is clear which variables are kept fixed during the differentiations.


How to check if a process is running on Windows in Java

I'm trying to do a program to check if a process is running on Windows in Java. saw the post . The accepted answer is using   Process p = Runtime.getRuntime().exec(tasksCmd);   Will this start a new process?  As I just need to check the process is running or not, no need to start a new one.  Thanks for your help.


Make install Command - Permission Denied

I'm trying to install glew and freeglut so I can program OpenGL. I have figured out how to fix my make all command but when I type make install I get this message:  Making install in src make[1]: Entering directory `/home/connor/Documents/freeglut-2.8.1/src' make[2]: Entering directory `/home/connor/Documents/freeglut-2.8.1/src'  /bin/mkdir -p '/usr/local/lib'  /bin/bash ../libtool   --mode=install /usr/bin/install -c   libglut.la '/usr/local  /lib' libtool: install: /usr/bin/install -c .libs/libglut.so.3.9.0 /usr/local/lib/libglut.so.3.9.0 /usr/bin/install: cannot create regular file '/usr/local/lib/libglut.so.3.9.0': Permission denied make[2]: *** [install-libLTLIBRARIES] Error 1 make[2]: Leaving directory `/home/connor/Documents/freeglut-2.8.1/src' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/connor/Documents/freeglut-2.8.1/src' make: *** [install-recursive] Error 1   How can I grant the permission?


Baking cakes in the Microwave ovens as compared to Electric ovens

Is there a difference in the output or in the procedure when baking cakes in the Microwave ovens as compared to Electric ovens?  What are the basic and crucial differences found among cakes baked in the above mentioned different equipments?    Question: If we run the microwave (which has a convection feature) on "grill and convection" mode only, does it become same as rectangular ""? Please explain why and how too.


Shortest route batch calculation in QGIS 3.2.2 with v.net.path GRASS GUI

I have three shapefiles: road network, postcodes and destinations. I`d like to calculate the shortest route between the postcodes and destinations (multiple points in each layer)  Could anyone describe the batch process for this? I have tried the v.net.path but it does not allow batch process (There is no way I can import a CSV file or add a layer).  I am working in QGIS 3.2.2  I do not think that this is a duplicate of  because that question is pretty outdated. The tutorial is for QGIS 2.18, Im using QGIS 3.2.2. Also, Im asking about batch process, therefore it`s not a duplicate.


Im trying to use twoBitToFa, which is a small program released by the University of California Santa Cruz, that uncompresses large genome files and I get this error:  error while loading shared libraries: libssl.so.10: cannot open shared object file: No     such file or directory   I tried searching for what package provides it. I switched from Fedora which had yum provides but when looking for the Ubuntu equivalent, I came across apt-file search but when I tried that I got a command not found error.  How can I get this libssl file, and more generally, how can I search for what package provides a file so I can do this by myself in the future?


Recently, I noticed some people mentioning that std::list::size() has a linear complexity. According to  , this is in fact implementation dependent as the standard doesn't say what the complexity has to be. The comment  says:     Actually, it depends on which STL you   are using. Microsoft Visual Studio V6   implements size() as {return (_Size);   } whereas gcc (at least in versions   3.3.2 and 4.1.0) do it as { return std::distance(begin(), end()); } The   first has constant speed, the second   has o(N) speed    So my guess is that for the VC++ crowd size() has constant complexity as Dinkumware probably won't have changed that fact since VC6. Am I right there? What does it look like currently in gcc? If it is really O(n), why did the developers choose to do so?


Object not outlined in Viewport despite Outline Selected enabled

I'm working on some models someone else made as part of a project. The .blend files they've given me have several objects that get no selection outline in the viewport despite Outline Selected being checked. Other objects work normally. I assume there must be something else that can cause an object to not be outlined, on a per object basis.  Can anyone tell me what this might be? I cannot find any differences between the settings of objects that do and don't have selection outlines.


c++ overloading constructor (expression not recieving class type)

Question has been asked before.  Guess I didn't look hard enough ;)


How do I construct a function $\operatorname{sog}$ such that $\operatorname{sog}\circ\operatorname{sog} = \log$?

Imagine a real-valued semilog function $\DeclareMathOperator{\sog}{sog}\sog$ with the property that     $$\sog(\sog(x)) = \log(x)$$   for all real $x>0$.   My questions:    Does such a function exist? How do I compute it?


Why does WordPress use serialize rather than json_encode for the options table?

I have a basic understanding of  (I come across it often when I'm migrating WordPress installs) and I just discovered .  Given that serialize causes so much trouble with replacing strings in the database (eg. editing an optinos field directly), why does WordPress prefer serialize to (the seemingly similar) json_encode, which doesn't insert the string length into the stored value.  My first thought was that it may provide some security or error-checking benefits - WordPress will ignore the option if the string lengths are incorrect.. but I'm interested in a qualified explanation :)


I'm at my office and i have to install TEX package manually. I have download the package subfig on CTAN, but their is no .sty file in the folder.   I convert in the past a file in sty passing by the cmd of window, but didn't remember how.   Does anyone have the solution ?   ps : sorry for my bad english.


Can’t set manual focus on distant objects at night

I’m taking night pictures with Canon EFS 18-135mm STM lens and EOS 450D body. I’ve noticed that when I’m trying to shoot distant objects and there is enough light for the AF to work the pictures come out nice and sharp. But sometimes AF is unable to lock on the right focus (too dark?) so I try manual focus. But even though I turn the focus ring all the way to „infinity” the pictures are very out of focus. Essentially using MF I can’t find the focus setting to make the picure sharp. But in the same distance to object but a bit brighter circumstances AF successfully finds the right focus.  Is this normal? Shouldn’t MF set all the way to infinity result in a sharp picture of distant objects? I’m trying to take a picture of an urban landscape at night. And yes, i’m using a tripod.


Can't compile chemschemex and biblatex in document

I am a complete novice to LaTeX and have a problem when compiling my document. Whenever I try turning on chemschemex in my document, I get error messages and the document doesn't compile. After testing the packages I have used until now, I think the problem might be with biblatex and chemschemex. But I don't know why.  I compile using the sequence: PdfLaTeX, BibTeX, PdfLaTeX, PdfLaTeX.   I have also enabled pdflatex -synctex=1 -interaction=nonstopmode -enable-write18 %.tex.  The document compiles for me only if I turn on either biblatex or chemschemex, but not both at the same time.   \documentclass[]{scrartcl} \usepackage[ngerman]{babel}   \usepackage[backend=bibtex,style=chem-angew,sorting=none,autocite=superscript,giveninits=true,terseinits=false]{biblatex} \renewcommand*{\bibinitdelim}{}  \addbibresource{\jobname.bib}  \usepackage{filecontents} \begin{filecontents}{\jobname.bib}     @Book{buch,         Title                    = {Tolles Buch},         Author                   = {Autor, A.},         Publisher                = {Verleger},         Year                     = {2017},         Edition                  = {1},              Location                 = {Berlin}     }     } \end{filecontents}  %\usepackage{chemschemex}    \begin{document}  Dies ist der erste Satz meiner tollen Arbeit.\autocite{buch}  In diesem Satz verweise ich auf Verbindung %\structref{maleimid}.  %\begin{center} %   \begin{Chemscheme} %       \struct[][][scale=1]{maleimid} %       \RightArrow{\struct[][][scale=1]{cp}}{DEE} %       \struct[80\,\%][][scale=1]{product} %   \end{Chemscheme} %\end{center}  \printbibliography   \end{document}


Is there a way to color certain (but not all) arrows using \xymatrix? I wish the following ignorant attempt would work!!  \usepackage{xypic,color} \begin{document} \[ \xymatrix { X\ar[r]\color{red}{\ar[d]} & Y\\ Z } \] \end{document}


array reference inside java foreach loop

I am trying to initialize the objects inside a java array of Integers using a for loop, but the array element is null after the for loop exits.  public static void main(String[] args) {     Integer[] x = new Integer[1];     for (Integer xx : x) {         xx = new Integer(1);         System.out.println("inside for loop "+xx.toString());     }     System.out.println("why isn't this 1?  " + x[0]);      x[0] = new Integer(2);     for (Integer xx : x) {         System.out.println("Not it's okay: " + xx.toString());     } }   But the array element is null after the for loop exits.  Here is the output:  inside for loop 1 why isn't this 1?  null Not it's okay: 2   Why doesn't this for loop behave the same as for (i=0;i<1;i++){x[i]=1;}  ?


What is the probability of drawing five cards of the same suit from a deck of 52 cards?

To answer this question, I tried using the combinations formula in the following manner: I first obtained the number of elements in the sample space ( the number of 5 card hands that could be drawn from a deck of 52 cards) by calculating C(52,5)=2,598,000 and then calculated the number of 5 card hands that had cards all from the same suit by calculating C=(4,1) and C=(13,5) and multiplying those values together to obtain a total of 5148 different hands containing five cards of the same suit. I then divided this value by 2,598,000 to obtain the probability of a 5 card hand being drawn from a deck of 52 cards having all of its cards be of the same suit. This gave me a value of ~0.001981524 (which is the probability rounded to seven decimal places).


Uniform continuity on (0,1) implies boundedness

I need to prove that if $f: (0,1) \rightarrow \mathbb{R}$ is Uniformly continuous then it is  bounded.   Thank you.


Show the coordinates at the centre of a map in OSGB format?

I am using QGIS v3.12 and projection EPSG:27700 - British National Grid.  I am trying to add a label to my map layout which will give the grid reference of the centre of the map as a UK 8 digit grid reference ( e.g. "AB123456" ).  So far I have managed to get the x and y coordinates using the expression:   Grid reference at map centre: [%round(x (map_get (item_variables('Map1'), 'map_extent_center')),0)%] , [%round(y (map_get (item_variables('Map1'), 'map_extent_center')),0)%]   Is there any function available in QGIS that can translate these coordinates into the required format?   Sorry my coding skills are not that great!


What ability is the save DC of Orcus's “voice” Lair action, in Out of the Abyss?

In Out of the Abyss, Orcus has a number of Lair actions. One of those Lair actions has a confusing point:       Orcus's voice booms throughout the lair. His utterance causes one creature of his choice to be subjected to power word kill (save DC 23)   It is stated that there is a save with a DC of 23 but no specific type of saving throw. The spell it references doesn't have a saving throw either. Another of his Lair actions is properly specified as a strength saving throw, but not this one. What kind of saving throw is needed and how are we supposed to know?


How does one prove that addition on $\mathbb{R}$ is associative?  We can define addition to be a binary function $+ : \mathbb{R} \times \mathbb{R} \to \mathbb{R}$, by that definition $\mathbb{R}$ is closed under addtition as for any $(a, b) \in \mathbb{R}^2$ we have $+(a, b) = a + b = c$ for some $c \in \mathbb{R}$.  But if we take $a, b, c \in \mathbb{R}$, how can we prove rigorously that $(a + b) + c = a + (b + c)$?   We know also that $(\mathbb{R}, +)$ is a group, but most proofs of this fact assume that addition in $\mathbb{R}$ is associative, the proofs do not actually prove that addition is associative.


What happens to the kinetic energy of a system in a non-elastic collision?

I know that the kinetic energy of a system is NOT conserved in a non-elastic collision. But energy is supposed to be conserved, so where does all that energy go? Is it transformed into other forms like heat and sound?


Show that $x^4-10x^2+1$ is irreducible over $\mathbb{Q}$

How do I show that $x^4-10x^2+1$ is irreducible over $\mathbb{Q}$? Someone says I should use the rational root test, but I don't exactly know how that applies. Thanks for any input.


Tool to determine what has locked a file

Every once in a while when I try to remove a file I have been working with, Windows tells me I cannot remove it, because some application is still using it.  Sometimes it's just my own stupidity, and closing the app I was working with releases the file, but sometimes I cannot for the life of me imagine any of the remaining applications holding the file.  Sometimes when I close everything I have started, it is still reported as locked and not deletable.  Is there any low-level tool that I can point at a file that can tell me which applications are holding a reference to it, to diagnose how to resolve this without resorting to a reboot and delete cycle?


In Minecraft, weather is really rare and I like having it. I'd especially like to see thunderstorms. What I was wondering is if there was a way to control or influence the weather? I'm guessing no, but there's no harm in asking... right? Thanks for the help.


I need to divide two values in LaTex,  \newcommand{\x}{30} \newcommand{\y}{10}   Is there a simple way to do this? i.e   x / y = 3   Preferably not using external packages, or a long winded \newcommand function. It needs to be as simple as possible. Also I may need to divide floats by integer values.


How can I have SMS texts read out to me?

How can I have incoming texts read out to me? It can be useful when I am driving.


SQL Select Unique Values (Book and Authors)

This is my code:  SELECT b.nameBook, a.firstName, a.lastName FROM books b     INNER JOIN books_author ba ON b.idBook = ba.BooksId     INNER JOIN author a ON a.idAuthor = ba.AuthorId     ORDER BY b.nameBook;     I don't want to repeat the books name (in this case, "Fisica 11"). I want it . How can I do it? Sorry if this is a dumb question, i'm a beginner.  Also, I wanted to ask if there is any difference between the code above and the one below and which one is better to use:  SELECT nameBook, lastName, firstName      FROM books b, author a, books_author ba      WHERE ba.AuthorId = a.idAuthor          AND ba.BooksId = b.idBook   Both of them give the same result.  I tried GROUP BY but  is what happens.  I could easily fix this by using php but I want to use SQL. Thank you.


How to invoke vim editor and pipe output to bash

Sometimes I need to write text and then pipe that text into another command. My usual workflow goes something like this:   vim # I edit and save my file as file.txt cat file.txt | pandoc -o file.pdf # pandoc is an example  rm file.txt   I find this cumbersome and seeking to learn bash scripting I'd like to make the process much simpler by writing a command which fires open an editor and when the editor closes pipe the output of the editor to stdout.  Then I'd be able to run the command as quickedit | pandoc -o file.pdf.   I'm not sure how this would work. I already wrote a function to automate this by following the exact workflow above plus some additions. It generates a random string to act as a filename and passes that to vim when the function is invoked. When the user exits vim by saving the file, the function prints the file to the console and then deletes the file.   function quickedit {     filename="$(cat /dev/urandom | env LC_CTYPE=C tr -cd 'a-f0-9' | head -c 32)"     vim $filename     cat $filename     rm $filename } # The problem: # => Vim: Warning: Output is not to a terminal   The problem I soon encountered is that when I do something like quickedit | command vim itself can't be used as an editor because all output is constrained to the pipe.   I'm wondering if there are any workarounds to this, so that I could pipe the output of my quickedit function. The suboptimal alternative is to fire up a separate editor, say sublime text, but I really want to stay in the terminal.


Why is there no space between U. and S. in U.S. Government?

It appears that when U.S. Government agencies type "U.S.", they do not enter a space between the U. and the S. Is this used elsewhere on acronyms? Why or why not?


Why do we cast malloc, as in the following?  ptd = (double *) malloc(max * sizeof(double));   What is malloc's normal return type? Why do we need to cast it?


How to fix .exe file association in Windows?

I recently downloaded an ASP.NET project, which was a self-extracting zip file. I right-clicked the file and chose Open With → Microsoft Visual Studio. Now apparently it unzipped and set the default program for all .exe files to Visual Studio.  How can I fix the .exe file extension so it is not associated with Visual Studio?


For example I have this lists of numbers / id's:  [1001, 1002, 1002, 1003, 1004]  how do I merge or make 1002 only one? So it would like this:  [1001, 1002,1003, 1004]  I know this pretty basic and I've been looking for a solution in Google for a while and all I see are how to merge dicts, which is not what I need. I just need to merge those same values.


Rotation of Matrices and their interpretation

Given are now two matrices and I have to discuss what the given functions are doing (geometrically). Maybe you can revise/add the following:  given are the matrices  $ A = \begin{pmatrix} \cos(a) & -\sin(a) & 0 \\ \sin(a) & \cos(b) & 0 \\ 0 & 0 & 1 \end{pmatrix}$  $ B = \begin{pmatrix} \cos(b) & 0 & -\sin(b) \\ 0 & 1 & 0 \\ \sin(b) & 0 & \cos(b) \end{pmatrix}$.  (1) What does $f: \mathbb{R^3} \to \mathbb{R^3}, x \to Ax$ mean?  It means a rotation around the z-axis.   I do $A*(1,0,0) = (\cos(a), \sin(a), 0)$. This is a rotation around z-axis counterclockwise.  I do $A*(0,1,1) = (-\sin(a), \cos(a), 0)$. This is a rotation around z-axis counterclockwise.  I do $A*(0,0,1) = (0,0,1)$. It remains.  (2) What does $g: \mathbb{R^3} \to \mathbb{R^3}, x \to Bx$ mean?  It means a rotation around y-axis.  I do $B*(1,0,0) = (\cos(b), 0, \sin(b))$. This is a rotation around y-axis clockwise.  I do $B*(0,1,0) = (0, 1, 0)$. It remains.  I do $B*(0,0,1) = (-\sin(b), 0, \cos(b))$. This is a rotation around y-axis clockwise.  (3) What does $h: \mathbb{R^3} \to \mathbb{R^3}, x \to ABx$ mean?  I do A*B and then  I do $AB*(1,0,0) = \begin{pmatrix} \cos(a)cos(b) \\ \sin(a)\cos(b) \\ \sin(b) \end{pmatrix}$. This is.. ?!  I do $AB*(0,1,0) = \begin{pmatrix} -\sin(a) \\ \cos(a) \\ 0 \end{pmatrix}$. So this should be again a rotation around z-axis for (a). Regardless of what degree b is!  I do $AB*(0,0,1) = \begin{pmatrix} -\cos(a)\sin(b) \\ -\sin(a)\sin(b) \\ \cos(b) \end{pmatrix}$. ?!  And so on.


Is it "so damn difficult" or "so damned difficult"?

Both  and  return about 3-4m hits on Google. Though with the latter, Google asks me "Did you mean: so damn difficult".   Ngrams:


In Blender, after resizing a box - ie you could make it very flat like a square tile, the pivot point of the object will likely be outside. How do I move the mesh and/or the pivot so that the pivot will be located exactly in the center of the mesh?


In which episode was the time when Star Trek: TOS takes place set to the 23rd century?

In the Star Trek episode "The Squire of Gothos", Trelane suggested he was looking at Earth of 900 years ago, in the late 18th century, making Star Trek set in the 27th Century.   According to , it appears that the date when Star Trek was set in was made later than this episode.     Continuity      At the time episode was written there was no definite century in which Star Trek took place. It is stated that Gothos is 900 light years from Earth and that Trelane had "been looking in on doings nine hundred years past". However, Trelane references people and events of the late 18th and early 19th centuries putting Star Trek in the 27th century.   Which episode establishes the time Star Trek: TOS takes place is (roughly) the 2260s? Was it in the original series or ST:TNG?


I'm a beginner in C, and I wrote this code. I wonder why this doesn't work with a '\n' but it still works with '\t'. Can someone please help me? Thank you.  int count=0;  while(1) {     key[count]=getch();      if(key[count]=='\n') //The condition works well when a '\t' is used instead     {         break;     }      else     {         printf("*");     }      count++; }


Sorry for making duplicate Topic but it is very important to me because i don't understand this topic by looking other related topics. Actually i am in process to build a WordPress theme and i am working on it, when i look into other themes source codes usually i find this code.    etc etc.  and i understand its something related to do_action();  So my question is that why we use this function in wordpress? and what is the job of this function and can we have a benefit of using this code on every starting and ending html tags in theme?  Thanks in Advance, Regards aran


"Incompatible with other applications(s) using the same shared user ID” while installing Google Play service?

I know similar question is floating on the same site, but no solution works for me.  I have been using Karbonn A26 Smart phone for the last two years, and I was not able to install run YouTube and Google+ since 2 years. Its hardware is quite ok. It runs Android 4.1.1.  Let me be clear what I am doing:   When I install and open YouTube, it says YouTube cannot work without Google Play Services. When I click on Get Play Services, it gives me error: "Incompatible with other applications(s) using the same shared user ID". So I factory reset the phone. Then I try it out, same. I can download and install YouTube, but when open it, it keeps saying same "Cannot play without Play Services". Same thing happens when I install and run Google+.   Installing YouTube on clean OS itself does not work.  Do I need to wipe cache? I think factory resetting must also wipe cache. What should I do to resolve this issue?


Broken timer? "You can only post once every 40 minutes."

Recently, I asked my first question on retrocomputing.stackexchange.com .  I later attempted to ask a second question there, but when I clicked the "Post Your Question" button, a div element with a red background appeared, containing the error message, "You can only post once every 40 minutes." However, this was more than 60 minutes after my first question, so the error message did not seem to make sense.  It turned out that the error message was missing some . It did not make clear that although the timeout only applied to the current site (e.g. retrocomputing.SE), the "40 minute" timer is measured from the user's most recent question asked anywhere on the Stack Exchange network. The absence of this information risks the user continuing to post elsewhere within the Stack Exchange network (as I had done), unaware that each time they do so, this would restart the timer and thereby extend the timeout arbitrarily, resulting in a negative user experience.  To fix the discrepancy between the error message and the actual behaviour, either the timeout code should be re-written to match the error message, or the error message should be re-written to correctly communicate to the user how the timeout works.  Related: , .


Find $$\lim_{n\to\infty} \sum_{k=1}^{n}\left( \frac{k}{n}\right)^{n}$$  I can't compare it with similar series and I can't change it to Riemann's sum.


Is there a way to see installed apps in a more conventional (to a Mac user!) way, like a folder with a load of app icons, or a list, or anything other than that odious semi-transparent flip out thing that's difficult to see (cos there's loads of crap showing through it), can't be resized and keeps disappearing when I click something..?


Add a "more" link to the Close as Off Topic window so we can migrate to *all* Stack Exchange sites.*

I decided  was off topic, so I voted to close. The problem is that I closed it as off topic and I thought it would be better suited on English Language & Usage.  However, I couldn't choose that (English Language & Usage) in the pop-up.   I think there should be a "more" link in the bottom of the pop-up when someone wants to close a question as off-topic so it could be migrated to a site not already listed. If a site in the "more" section would already have a vote to get the question migrated to there, it would be listed without the need to click "more".  Is there a reason this is not yet implemented?    * except perhaps beta sites


Glass jar becomes black in cycles render

Im quite new to blender and i was wondering why my glass jar becomes black in cycles render.Here is the photo  The first photo is on eevie render while the second photo is on cycles render


How impact the work of a pure mathematician in the society?

First of all I explain my situation: On my University most of the careers are doing videos to explain what we do and try to atract more people to our careers.  I'm in a really bad position, because the people who are in charge of the video want me to explain what a pure mathematician do and how it help society (with practical examples and maybe naming some companies that work with pure mathematician and what they do in that companies) in only 5 or 10 mintues, so I think that the best that I can do is make a example.  Other reason that have me in a bad position: In my University we have the career "Mathematical engineering" and they do most applications and some research in numerical analysis, optimization. (*)  I know that pure mathematics are increasing its importance in society every year.  Many people in my country think that mathematics has stagnated over time and now only engineers develop science.  I think that the most practical thing I can do is give some examples of what we are doing with mathematics today (since 2000).  If some of you can help me I need the following:    A topic in mathematic that not appear in (*). Preferably dinamical systems, logic, algebraic geometry, functional analysis, $p$-adic analysis or partial differential equations. A research in that topic. Practical applications of that research and the institution that make the application.   Extra 1. If you know a institution (not a University) that contract pure mathematicians and you know what they do there you can tell me too.  Extra 2. If you have a very good short phrase explaining "what a mathematician do" or "how mathematics help society" i will regard it too.  Thanks in advance.


I have 18.04 installed with root partition on a 128gb SSD and home on a 2tb hard drive. Looking at Nautilus to check on my free space (for no real reason, I was just curious) it says my SSD is using 106.5gb with 123gb available. I figured that must be including my home partition or something.  I just checked each folder inside / and the /proc folder, according to Nautilus, is 150.7TB. I don't even have that much storage in the entire system. Right-clicking the root drive in the title bar and choosing properties shows that the disk is actually using 10gb. My secondary drive does not show up in Nautilus, but I can just check the properties on my home folder to approximate that.  Both drives are encrypted with LUKS/LVM (whatever the Ubuntu installer used), with the secondary drive decrypting with a keyfile on the main drive.  I just want to know how this happens. It doesn't seem to be a problem that needs fixing, but maybe something is actually wrong. I used  to set up the encryption if that helps.


I am trying to find the right words for the sentences.     (1) The book ____ "Suffering has been stronger than all other teaching".      (2) Charles Dickens writes/wrote in his book: "Suffering has been stronger than all other teaching".   Questions:  (1) The quote is just an example; I want to know how to refer to exact words written in the book, and I need to explicitly quote them as above.  Obviously, "says" fits here. But I am looking for a word whose meaning is closer to "write".  (2) I am curious whether to use the present or the past tense. Does it matter whether the author is still alive?


What is the analog equivalent of 'digitally'?

In electronics, we can solve a problem digitally or analoguely ?  That doesn't sound right, but surely there must be a word I can use?    Update: some definitions:  digitally: Relating to or being a service that provides information expressed in discrete numerical form.  analoguely: Relating to or being a service that provides information expressed in continuous, non-discrete form. (This is my made up definition of a word I made up).  analogously: Similar or alike in such a way as to permit the drawing of an analogy.  As you can see, the word analogously doesn't mean the opposite of digitally, it means something else.


BOOTMGR image is corrupt fault while dual booting Ubuntu and Windows7

I have Ubuntu Precise beta 2 and Windows7 set up to dual boot.  The set up had been perfect, until today, with a black screen presented when trying to boot Windows with a BOOTMGR image is corrupt, cannot boot fault.  Is there any way to fix this from Ubuntu, or is a reinstall my only option?


Lagrangian for relativistic massless point particle

For relativistic massive particle, the action is $$\begin{align}S ~=~& -m_0 \int ds \cr ~=~& -m_0 \int d\lambda ~\sqrt{ g_{\mu\nu} \dot{x}^{\mu}\dot{x}^{\nu}} \cr ~=~& \int d\lambda \  L,\end{align}$$ where $ds$ is the proper time of the particle; $\lambda$ is the parameter of the trajectory; and we used Minkowski signature $(+,-,-,-)$. So what is the action for a massless particle?


I want to install a dmg file on a remote server. All I have is an ssh access. Since a DMG is a disk image, I tried to mount it, but mount does not seem to recognize its format.   file says my dmg file is a VAX COFF executable.


Does the Sentinel feat allow opportunity attacks against the Mobile feat?

The Sentinel feat (PHB, pg. 170) says:     Creatures provoke opportunity attacks from you even if they take the Disengage action before leaving your reach.   The Mobile feat (PHB, pg. 168) says:     When you make a melee attack against a creature, you don't provoke opportunity attacks from that creature for the rest of the turn, whether you hit or not.   Effectively, Mobile lets you take the Disengage action for free if you make a melee attack, however it doesn't actually describe it as "Disengage", simply that you "don't provoke opportunity attacks". I will also point out that taking the Disengage action would allow you to avoid opportunity attacks from all creatures, whereas Mobile only lets you avoid opportunity attacks from one creature.  The Sentinel feat overrides the Disengage action and lets you make an opportunity attack anyway. But since the wording of the Mobile feat doesn't call it Disengage, whereas the wording of Sentinel does, I have a question:  Assume a PC that has the Mobile feat, who I'm just going to call "Mobile", and a PC with the Sentinel feat, who I'm calling "Sentinel". It's Mobile's turn, and Sentinel hasn't yet used their reaction.  If Mobile ran up to and tried to hit Sentinel, then tried to run away, would Sentinel be able to make an opportunity attack against Mobile?


Do I need a transit visa in Switzerland?

I'm a green card holder and I have a Syrian passport, my main destination is Lebanon and I'm going through Geneva airport. Do I need a transit visa?


Can we prove that all possible symmetries of a system were found?

I am thinking something which could be similar as Gödel's works - but not with axioms of logical systems, but with symmetries of (theoretical) physical systems.  Such a proof would mean, that adding any new symmetry, would either contradict the others, or it could be derived from them.  I think, having such a proof would mean, that a theory is "ready". For example, I think the Newtonian Mechanics and the SR are probably "ready" in this sense, but I can't proove it.  Furthermore, applying the Noether theorem, it would also mean, that all conserved quantities of a theory were already found.


Regular Expression matching optional first comma followed by variable string

I have a string variable, selectors, holding class selectors: .class1,.class2,.class3  I'd like to selectively remove classes from that list depending on certain criteria (e.g. a user clicks button #2 and it removes .class2 from the list).  I'm having trouble coming up with the regular expression that allows for an optional comma at the front of the string to be removed. Here's what I've got:  var toRemove = '.class2'; var re = new RegExp(/\,\?/toRemove, 'gi'); newSelectors = selectors.replace(re, '');   I realize I'm probably screwing up trying to combine a pattern match with a variable, but I'm not entirely sure how to handle that.


Why didn't Voldemort's soul die in Harry when he was bitten by the basilisk in "The Chamber of Secrets"?

The basilisk venom is one of the few things that can destroy Horcruxes. In Harry's encounter with Tom Riddle, he ends up getting bitten by his basilisk which should've destroyed Voldemort's piece in Harry which ends up becoming a big plot twist in later books. Therefore, the venom should've destroyed Voldemort's soul. Why didn't it?


What cleaner and oil should I use on my bike chain

Hope everyone is well. I need to clean and oil my chain as its getting a little clunky when I’m changing gears. I have no idea what I should be cleaning it with and then what I should oil with. Any help would be great. It’s a road bike that is used every day no matter the weather.


Searching for a solution (or tool) for comparing two image

Searching for a solution(tool) for comparing two images (1. expected image, 2. real time captured image) to identify difference with high accuracy for automation testing to integrate it with VB.net.  If it also supports OCR functionality then one more problem of mine will be solved.


how to prove vector norm equivalence in finite dimensional space($\mathbb{R}^{n}$)?

In most of the vector norm material, it was mentioned that the following inequalities can be proved, but no one provided the proof: $$\lVert x\rVert_2\le\lVert x\rVert_1\le\sqrt{n}\lVert x\rVert_2;$$  $$\lVert x\rVert_\infty\le\lVert x\rVert_2\le\sqrt{n}\lVert x\rVert_\infty;$$  $$\lVert x\rVert_\infty\le\lVert x\rVert_1\le n\lVert x\rVert_\infty.$$  Is that very easy to prove this inequality?  Also wanted to know when the equality is attained?


I have this problem: How many integers between $1$ and $10^4$ contain exactly one $8$ and one $9$?, but i dont know if $18, 19, 28, 29...$ serve, else it could be $8$ y $9 = 2$ numbers, help please.


python select a function based on the value in a dictionary

I want to select a function based on the value of a dictionary:  dict = {"func_selector":"func1", "param_value":"some_value"}  # defined a function def func1(param):   # some function code   Now, I want to select the function based on the value of some key, so that it can achieve something like:  # calling a function based on some dict value dict["func_selector"](dict["param_value"])   The syntax is probably wrong, but I am wondering if it is possible to do that in Python or something similar.


How do I render only the background and the reflections in the plane but not render the actual car?

I am trying to render only the background and the reflections of the car and I don't know how. In the outliner tab layer 1 is the car, layer 2 is the background, and the rest of the layers are various lights. Blender 2.9 and in cycles.


Why the false dichotomy in discussing how to respond to suspected "XY problem" questions?

I read with interest  and the comment . I also read  and  the infamous FAQ answer   With rare exceptions, such as , the MSO attitude seems to be that people responding to questions have a "right" to choose not to directly answer the question in favor of an answer which basically tells the OP they "shouldn't be doing it that way". The advice all focuses on the information the OP should provide to avoid this kind of response rather than suggesting that those providing answers should be respectful of questions and not make assumptions that there is some underlying problem that the OP is trying to solve that should be addressed instead.  In rationalizing the approach of not answering the question, two "carpenter" analogies were used, one involving a question about how to cut balsa wood and the other involving a question which of two non-tool household items is better to pound a nail. In both cases, they ask the rhetorical question of whether it's better to answer the question or challenge the question.  My MSO question here is: Why do so many seem to think they have to choose between these two ways of responding? Why don't folks consider answering the question and supplementing their answer as they wish with questions, challenges, additional information, editorial opinion, etc. Not only is that more respectful to the OP, it's more respectful to future readers who arrived at the answer based on the question asked. If I do a search about how to cut balsa wood, I don't want to land on an answer that just tells me what a bad idea it is to use balsa wood in house construction.  Update: While I don't want to focus on specific examples, in response to some of the answers/comments, here's a recent one where I was the one asking the question:      Although it would take me a while to uncover examples, the more common occurrences I run into are where someone shares some code and an error they are getting and ask why they are getting that error. Instead of explaining the error, the answers typically propose some other approach. Admittedly, the OP is often times satisfied with that answer and not knowing why the error occurred, but I would contend the community is the poorer for it and, as a rule, this practice unnecessarily runs the risk of offending.


Read binary file of integers of non-standard bit length in Python

I have a matlab script that loads values by reading non-standard length bits.  For example:  [file, errmsg] = fopen(FileName,'r');  year = fread(file,1,'ubit12','ieee-le');  month = fread(file,1,'ubit4','ieee-le');  day = fread(file,1,'ubit5','ieee-le');  version = fread(file,1,'ubit11','ieee-le');   The values loaded are:  year =2016 month =7 day =21 version =0   While the binary version of the file is:   11100000 01110111 00010101 00000000   (as retrieved by doing '{0:08b}'.format(ord(byte)) in python)  In other words,  year -> 4 lsb of byte 2 + byte 1 (011111100000) month -> 4 msb of byte 2 (0111) day -> 5 lsb of byte 3 (10101) version -> 3 msb of byte 3 + byte 4 (00000000000)   Is there a pythonic way to achieve the same functionality?


Including a quick drop-down list of possible changes in edit summary

More often than not, people edit other's questions to rephrase the question for clarity, fixing grammar, corrections of spellings, adding MathJax, reformatting to improve readability, removing pictures and so on. Of course, there could be other uncommon reasons for editing.  Instead of typing the common reasons every time an edit has been suggested, why don't the developers include a dropdown list of possible 5-6 reasons along with an option for 'others' that opens up a blank space to type specific reason?  For the edit to be even submitted, you have to type 10 character summary. I mean it isn't like it takes up a lot of time, but selecting an option for common purposes seems easier.


Problem on total derivative of bilinear form

Let $A $ be an invertible real $ n\times n $ matrix. Define a function $ F\colon\mathbb  R^{n}\times \mathbb R^{n} \to\mathbb R $ by $ F (x,y)=\langle Ax,y\rangle $ where $ \langle x,y\rangle $ denotes the inner product of $x$ and $y$ .let $ DF(x,y) $ denote the derivative of $F$ at (x,y) which is a linear transformation from $\mathbb R^{n}\times \mathbb R^{n}\to \mathbb R $ then    If $ x\neq 0 $ then $ DF(x,0)\neq 0 $ If $ y\neq 0 $ then $ DF(0,y)\neq 0 $ If $ (x,y)\neq 0 $ then $ DF(x,y)\neq 0 $ If $ x=0 $ or $ y=0 $ then $ DF(x,y) $=0 $   To determine which options are true  , I use the fact  $ (DF (x,y))(h,k) = f(h,y)+f(x,k) = \langle Ah,y\rangle +\langle Ax,k\rangle  $ . So option 4 is true ,  and   the other 3 options  are not necessarily true,  since it depends on $ (h,k)  $ also.    Am I right ? otherwise please give me some hints.  Thanks.


How many teams of 5 players can you form with conditions

A local sports club has 10 players. You need to form a team of 5 players. How many teams can you form that include the best player and exclude the worst player?


I am currently in university and despite how hard he tries our c++ teacher is horrible. I am thinking of picking up the c++ programming language 4th edition. I was curious since you are all great at this already is that a good first choice? I know some of the basics not nothing OOP related really. also my second question is they are making us learn java and c++ at the same time. I worry that that is not a good idea so I was curious what some of you thought.


Does Cuba allow US citizens to enter the country without US permission, now that relations have been restored?

It appears that it is  to get a permission from the U.S. for a solo tourist visit to Cuba. However, in various older questions, users have stated that you can easily avoid the strict US travel restrictions by flying into Cuba from another country (such as Mexico or Canada) and avoiding getting an entry stamp in your U.S. passport. According to the :  Tourist Visa (Tourist Card) The Tourist Visa or Tourist Card is only for purposes of tourism to Cuba.  It is valid for one single entrance into national territory for a 30-day trip and can be extended for an additional 30 days at the office in the hotel where one has accommodations or with the immigration authority. To obtain this visa in person at the Consulate, these documents are needed: -Valid Passport -Plane Ticket with entry and return dates -Payment of the Consular fee for this service  As far as I can tell, the Cubans don't seem have harsh tourist travel restrictions for U.S. citizens. However, according to  on Wikitravel,  While in the past Cuba did not stamp US passports, allowing US travelers to visit Cuba without detection from their government, Cuba recently started stamping US passports as a matter of policy.  In light of the recent diplomatic relations, have Cubans tightened loopholes for U.S. tourists traveling without the blessing of the U.S.? Does Cuban customs still exempt entry stamps for travelers with a U.S. passports?


I had a question the differences between Javascript and PHP's handling of == vs === (). I tried to be a good user and do a search but it looks like it errors or least returns no results when I try and search === (). So unfortunately my question appears to be a duplicate (or is at least similar to) .  So in my opinion there is a bug in the code that doesn't allow me to search for ===


Can I use command line to clean HDD during the installation of Debian Linux?

I would like to install Linux on PC through USB flash drive. But there is already old operating system. I want to clean HDD using command line. In windows, I just use diskpart > list disk > select disk > clean. Is there any way to clean HDD as easy as Windows does?


I want to convert .mov to .mp4! I saved the video from iMovie but it is in .mov format! How do I convert it to .mp4?  I'm using a MacBook and I want to share it to my phone, but my phone can't open .mov format video.


Find $4\cos\theta-3\sin\theta$, given that $4\sin \theta +3\cos \theta = 5$

Another problem that I already wasted hours on. Given $$4\sinθ +3\cosθ  = 5$$  Find   $$4\cosθ -3\sinθ$$  Help me guys (PS:I'm not that good in maths)


How to write Test classes to export data from the CSV file

I am referring the source code from the link:  . How we can write the test classes for it ?  ImportDataFromCSVController  public class ImportDataFromCSVController {     private static final String errorMesg = 'An error has occured while importin data Please make sure input csv file is correct';      public Blob csvFileBody {get; set;}     public string csvAsString {get;set;}     public String[] csvFileLines {get;set;}     public List<account> acclist {get;set;}      public ImportDataFromCSVController(){         csvFileLines = new String[]{};         acclist = New List<Account>();      }      public void importCSVFile(){         try{             csvAsString = csvFileBody.toString();             csvFileLines = csvAsString.split('\n');               for(Integer i=1; i < csvFileLines.size(); i++){                     Account acct = new Account();                     string[] csvRecordData = csvFileLines[i].split(',');                     acct.name = csvRecordData[0] ;                                  acct.accountnumber = csvRecordData[1];                     acct.Type = csvRecordData[2];                     acct.AccountSource = csvRecordData[3];                        acct.Industry = csvRecordData[4];                                                                                acclist.add(acct);                  }             }catch (Exception e){                 ApexPages.Message errorMessage = new ApexPages.Message(ApexPages.severity.ERROR,errorMesg);                 ApexPages.addMessage(errorMessage);             }          }     }   I have write the test class for below, it only covers 52%  @isTest public class ImportDataFromCSVControllerTest {      static testmethod void testfileupload(){         Test.startTest();         String csvFileBody = 'Name,AccountNumber,Type,Accountsource,Industry\r\n,Esha Patharabe,10001,Prospect,Test,Banking\r\n,Trupti Nimje,10002,Prospect,Test,Banking';     Blob csvBlobData = Blob.valueOf(csvFileBody);         ImportDataFromCSVController importData = new ImportDataFromCSVController();         importData.importCSVFile();         Test.stopTest();     } }   Here is the code coverage:    ===========================================================  As I dont have option to add solution, hence adding solution as a part of the question only.  @isTest public class ImportDataFromCSVControllerTest {     static String str = 'Name,AccountNumber,Type,Accountsource,Industry\n Esha Patharabe,10001,Prospect,Test,Banking\n Trupti Nimje,10002,Prospect,Test,Banking';             public static String[] csvFileLines;     public static Blob csvFileBody;      static testmethod void testfileupload(){         Test.startTest();                csvFileBody = Blob.valueOf(str);         String csvAsString = csvFileBody.toString();         csvFileLines = csvAsString.split('\n');           ImportDataFromCSVController importData = new ImportDataFromCSVController();         importData.csvFileBody = csvFileBody;         importData.importCSVFile();         Test.stopTest();     }       static testmethod void testfileuploadNegative(){         Test.startTest();                csvFileBody = Blob.valueOf(str);         String csvAsString = csvFileBody.toString();         csvFileLines = csvAsString.split('\n');           ImportDataFromCSVController importData = new ImportDataFromCSVController();         importData.importCSVFile();         Test.stopTest();     } }   and code coverage is 100%


A proxy problem of "sudo apt-get install"

I am trying to install a package python-pygments under Ubuntu. After launching sudo apt-get install python-pygments, it is blocked:  Reading package lists... Done Building dependency tree        Reading state information... Done Suggested packages:   ttf-bitstream-vera The following NEW packages will be installed:   python-pygments 0 upgraded, 1 newly installed, 0 to remove and 43 not upgraded. Need to get 347 kB of archives. After this operation, 2,527 kB of additional disk space will be used. 0% [Connecting to cache.polytechnique.fr (129.104.38.6)]   cache.polytechnique.fr in the line line is the proxy of my school. A download in the campus should work, but the problem is that I am physically not in the campus. I try to remove proxy setting via Chromium (the method of network proxy: NONE), it still drives to cache.polytechnique.fr, does anyone know how to let sudo avoid this proxy?


"The Installer information on the recovery server is damaged" when installing macOS Sierra

Im trying to reinstall macOs Sierra but get    In the log I only get    Any help appreciated!


WHY did he go slightly "pink" ?? Does it mean angry, embarrassed, healthy or other meaning in this sentence?

WHY did he go slightly "pink" ?? WHY did he go pink "with the effort"? What effort? Does "pink" mean angry, embarrassed,  healthy or other meaning in this sentence? I am so so not sure what "pink" means this sentence, since some of the following definitions in the dictionary and my own understanding all make sense, but surely there should be ONLY one correct :   In the Collins dictionary it says: If you are in the pink, you are fit, healthy, and happy.  In the Collins dictionary it also says: If you go pink, your face turns a slightly redder colour than usual because you are embarrassed or angry, or because you are doing something energetic.  Which is it in this sentence?  as far as I understand as the following , all seems right, because:  1 healthy: he is getting out more often rather than stays indoors and with the effort he now looks slightly pink.  2 embarrassed: he is embarrassed because he doesn't enjoy watching morris dancing. (if so, then it leads to why?? is there some culture gap here??  3 angry: he kept a straight face while watching the morris dancing, and a previous fact in the novel suggests he is not a big fan of it, and his face became pink before red.  4 may be he is tired: he kept a straight face and by doing so (with the effort) he became a little tired and the color of his face became pink, showing easily-get-tired. (he is a  quadriplegic and any effort cost him more energy than normal person)  5 other explanations  here is the sentence:     We, in the meantime, had gradually been increasing Will’s outings—and   the distance that he was prepared to travel. We had been to the   theatre, down the road to see the morris dancers (Will kept a straight   face at their bells and hankies, but he had gone slightly pink with   the effort), driven one evening to an open-air concert at a nearby   stately home (more his thing than mine), and once to the multiplex   where, due to inadequate research on my part, we ended up watching a   film about a girl with a terminal illness.      Me Before You by Jojo Moyes   The context is that Will is a quadriplegic and in wheelchair and he rarely goes out. "We" means Louisa, his carer and his family. Could anyone help with this silly question?


Causes of Referrer Spam in Google Analytics?

I'm trying to determine what could cause an influx of referrer spam traffic in Google Analytics. My company launched a website in September. Since the launch, the website has seen a slow but steady increase of traffic. Last month we suddenly saw a sharp drop in organic traffic, and an increase in spam referrer traffic (which made up 50% of our visits for November). I've created filters to stop this from happening again, but I was wondering if there are specific causes of this type of spam traffic, especially occurring over a short period of time and very suddenly.


I see lot of information about the power of compound interest and how it can help money grow. I understand the mathematics of compound interest but I have no idea how to take some money and make it grow. If I am in my 20s and I have $10k to invest and I know nothing about the stock market, what can I do right now to maximize my earnings ? What can I do in the next 3-5 years ? I am living in New York, USA.


I have many polygons which represent different areas (with different plant species in each of them).  I want to “link” some information to the polygons in order to later be able of seeing which kind of vegetation is in each of the areas (or polygons).  I attach an image so that you can see better what I am trying to explain and do.    The attribute tables of all the polygons are like shown in the picture, and I would like to add the information there is in the excel table.   In each polygon I want to have the information corresponding to the row belonging to the area (as you can see each area has a number and correspond to a specific polygon).   Then, in each polygon should have the same amount of species (all of them) and the information which will be specifically belonging to the area (or polygon) which is based on the numbers (1, 2, 3 or 0) which correspond to the abundance of each of the species in each area.  After, I will need to select the different areas or polygons by if they have 3 of Acer campestre, or 1 of Calluna vulgaris…. For example when selecting by attributes to select: 2 of abundance of Acer campestre species and then all the polygons with this characteristics to be in another colour.


How do I delete or fix my Keychain after changing my password?

How do I reset my main keychain and completely delete the old one? I changed my password and its been coming up with all of these popups asking for my new password when I first login. If anyone can help with updating my keychain I would appreciate it or you can just help me completely delete and reset it.


Can I leave the airport in London for a city tour?

I am an Indian and will be transiting through London coming from the US, going to New Delhi. I have a nine hour stop over in London. I am a Schengen visa holder.  Will I be allowed to leave the airport to visit the city?


How do I give players an enchanted book?

I want to set a command to give a player an Unbreaking V book (rare item in crate) however I'm not sure how to do it, as the way I normally give enchanted items just gives me a enchanted book with Unbreaking V but it can't be applied to items through an anvil, so I'm assuming it's different for books?  Or, alternatively, is it that it's impossible to give out-of-vanilla-Minecraft enchanted book, as Unbreaking III books would still be sufficient!


Does existence of a left or right inverse imply existence of inverses?

Suppose $G$ is a set with a binary operation such that:  (Associativity) For all $a, b, c \in G$, $(ab)c = a(bc)$. (Identity) There is $e \in G$ such that, for all $a \in G$, $ae = ea = a$. (Left inverse or right inverse) For all $a \in G$, $ba = e$ for some $b \in G$ or $ac = e$ for some $c \in G$.  Does this imply that every element $a \in G$ has an inverse, i.e. an element that is both a left and right inverse? That is, for all $a \in G$, is there $a’$ such that $aa’ = a’a = e$? In other words, is $G$ a group?


Expectation of throws before having $k$ balls in each box

I remember that if there are $n$ boxes, and a ball is being thrown repeatedly into one of the boxes with uniform probability, then the expected number of throws before every box has a ball is approximately $nH_n$, which is approximately $n\log n$. The derivation goes as follows:   When we've filled $r<n$ boxes, the probability that we hit an unfilled box with each throw is $(n-r)/n$. The expected number of throws before we hit an unfilled box is $n/(n-r)$. By linearity of expectation, the expected number of throws before we fill all boxes is $\sum_{r=0}^{n-1}n/(n-r) = nH_n$.  What about the expected number of throws before every box has $k$ balls, where $k\geq 1$ is an integer? Is it going to be $kn\log n$.


How do I get my Windows 8 Metro apps to load? The tiles update, but when I click on them, they spin around and show the solid splash screen, then disappear. Only the Store app opens. I've tried:   Setting user access control to one notch below the top. "Refresh My PC" (Don't do this - waste of time. Deletes all your desktop apps too.) Turned off real time scan of my McAfee anti virus. Went into Store app and updated apps. Ran sfc /scannow Ran the App Troubleshooter.   This is a new computer. I've already ran Windows update. They worked the first few days.  Here is a list of some event log errors:


Is it possible to commute 34 km (21 miles) daily?

My work is 17 km (10.5 miles) from home and I am wondering if it's possible to commute daily by bike. I live in the Netherlands so the roads are bike-friendly. Google predicts it takes 52 minutes (one-way).Do you think it's an accurate prediction?  I am 25 years old, weigh 80 kg (176 pounds or 12.5 stone), and I am 183 cm (6 foot 0 inches) tall.


Isolated on a Space Ship a Couple is trying to kill each other, both have blue blood

Remember seeing this on scifi as a kid. Maybe in the range of 2000-2010. A couple is aboard a spaceship travelling somewhere and it's their time to be awake to manage the ship and they catch a virus or something that turns their blood blue and they try to kill each other for some reason. The movie ends with them flying the ship towards the sun to make sure the virus doesn't get to the destination. Would love to watch it as an adult.


Why can't I make a file association in Nautilus?

After upgrading to 11.10, the association I had created to open SGF files with an application called quarry is lost.  If I select Right-button->Properties->Open With... on an SGF file, quarry is not listed, but it appears in the Right-button->Open With... menu.  What's going on here?  By the way, i tried "mimeopen whatever.sgf" and it works. So mime-types associations are ok,  but something is broken in nautilus it seems... For example:  % mimeopen  Kogo.sgf  Please choose a default application for files of type application/x-go-sgf  1) Quarry  (quarry) 2) notepad  (wine-extension-txt) 3) GVim Text Editor  (gvim) 4) gedit  (gedit) 5) AbiWord  (abiword) 6) Other...   As you can see, Quarry is properly detected. But in the Properties->Open With dialog in Nautilus, Quarry is not availaible. And because in 11.10 Nautilus doesn't longer provides the option to add a custom command to open an application, i have no way to add a file association.


Java Check if a new date range falls/crossovers between other date ranges

I need to determine if a date range is within/cross over other date ranges. For eg:  New start Date 1: 12/01/2015 (mm/dd/yyyy) New start Date 2: 03/01/2016 --> Throw error message     New start Date 1: 12/01/2016 New start Date 2: 12/01/2017 --> Throw error message   Existing date ranges:  Existing 1: 01/01/2016 - 05/31/2016 Existing 2: 06/05/2017 - 10/31/2017   I should generate an error message if my new dates fall/crossover the existing dates. Here is my existing code (not working as expected):  for (Period p : periodList) {     if (!(newPeriodStartDate.after(p.getExistingPeriodStartDate()))          && !(newPeriodStartDate.before(p.getExistingPeriodEndDate()))) {             message = "The Period falls between an existing Period: "+p.periodName();             break;     }     if (newPeriodEndDate.after(p.getExistingPeriodStartDate())          && newPeriodEndDate.before(p.getExistingPeriodEndDate())) {          if (message == null) {             message = " The Period falls between an existing Period: "+p.getPeriodName();          }             break;     } }   EDIT  Updated code (still not working). What am I missing:  if (!(newPeriodStartDate.getTime() <= p.getExistingPeriodEndDate().getTime())                                         && (newPeriodEndDate.getTime() <= p.getExistingPeriodStartDate().getTime())) {    ... }   EDIT 2:  This is a duplicate question, but the answer to that question did not fix my issue. The blog post () helped me fix.


How can i play mp3 files in Ubuntu 14.04 lts without internet?

I can't play mp3 files in Ubuntu. So give me the best answer for this question


If you cut Deadpool exactly in half, which half would regenerate?

If you cut Deadpool exactly in half, which half would regenerate and grow the rest of his body?  Or would both halves regenerate a complete Deadpool?  Has this happened in the comics? (I haven't had a chance to read them ALL).  Would this be a plausible way to 'clone' Deadpool?  Edit: I should also clarify that I'm talking about the possibility of him being split down the middle, not severed at the waist, which has happened in a comic and his legs simply grew back.


What was the first version of Ubuntu and where can I find it?

lists Ubuntu 4.10 (Warty Warthog) as the first Ubuntu released by Canonical Ltd.  But I wanted to know whether there ever was an Ubuntu 1.x, as in Windows or Mac OS. If yes, is it available somewhere?


Repeating the consonant in many words in a sentence or phrase

In the movie 'V for Vendetta' you have for example (bold part):     Evey: Who are you?        V. : Who? Who is but the form following the function of what and what I am is a man in a mask.      Evey: Well I can see that.        V. : Of course you can, I’m not questioning your powers of observation, I’m merely remarking upon the paradox of asking a masked man who he is.      Evey: Oh, right.      V. : But on this most auspicious of nights, permit me then, in lieu of the more commonplace soubriquet, to suggest the character of this dramatis persona.      V. : Voila!   In view humble vaudevillian veteran, cast vicariously as both victim and villain by the vicissitudes of fate. This visage, no mere veneer of vanity, is a vestige of   the “vox populi” now vacant, vanished. However, this valorous visitation of a bygone vexation stands vivified, and has vowed to vanquish these venal and virulent vermin, van guarding vice and vouchsafing the violently vicious and voracious violation of volition. The only verdict is vengeance; a vendetta, held as a votive not in vain, for the value and veracity of such shall one day vindicate the vigilant and the virtuous. Verily this vichyssoise of verbiage veers most verbose, so let me simply add that it’s my very good   honour to meet you and you may call me V.       Evey: Are you like a crazy person?      V. : I’m quite sure they will say so.   What do you call sentences like these? And do you know some other ones?


Why screen resolution remains 640x480 when I close a game?

I played Lugaru, the game went in Full screen mode, but when I closed the game, the screen resolution was still 640x480. It happened with Neighbours From Hell also, using Wine, and well... Almost every game i tried in fullscreen mode. Is it normal? Is there a fix for that?


Answering Duplicate questions in and then another Duplicate Question within the Comments

I  a question. The question is a , which I flagged.  The OP then asked this question via . The comment question is also a   Is this the correct response?    The issue with having a duplicate question in a comment within a duplicate question is:  How much time should I really spend on this, when there are perfectly good answers?


Why is the set of Rational numbers countably infinite?

Why is the set of Rational numbers ,$\mathbb Q$, a countably finite set?  I think that - if we assign $n$ to a rational number, and $n+1$ to another rational number, Then I can surely find a rational number in between these two, which is not accounted for.  I using the definition - If a set is countably infinite, then each element of the set can be mapped to the set of natural numbers.  Another question - Is the cardinal product of countably infinite set of countably infinite sets uncountable or countable?


I am window form guy and now have to deploy some web application. I am still consifering either choose mvc or webforms. I am not very familar wit html/css/ajax staff. SOmehow i heard mvc is a "new way to go" but i am a bit worry about time to learn all this stuff and just go with standard webforms to use my controls which are available inside toolbox also with devexpress controls. I am wonder if mvc doesnt have controls drag-drop available how to handle such things like grid to populate from database and other staff? How mvc developers handling with it without controls? Can you advice me a bit? I hear something that ajax could provide me with controls.


can you recommend me a program that me install my java program and jre and run my java program as an executable file?

I have been googleing and advance installer  will let me do all that, but is too expensive, can you recommend me a free alternative program that does the same thing?


Question about entering in UK with Spanish national visa

So I am citizen of Georgia and going with eramus + exchange in Spain. I will have Spanish national visa app for 6 months. My wuestion is do I need additional visa to visit UK?


I have a server running Ubuntu 12.04 (with a 3.8.13 kernel) that fails to boot if I include in /etc/fstab a mount point for a btrfs volume:  /dev/sda3   /home   btrfs   defaults,compress=lzo,noatime,discard   0   0   This is a raid1 volume:  # btrfs filesystem show Label: none  uuid: 07489dd8-096a-43a3-9653-55c5948e83a3     Total devices 2 FS bytes used 13.27GB     devid    1 size 91.76GB used 16.03GB path /dev/sda3     devid    2 size 91.76GB used 16.01GB path /dev/sdb3   dmesg shows this:  device fsid 07489dd8-096a-43a3-9653-55c5948e83a3 devid 1 transid 125 /dev/sda3 btrfs: use lzo compression btrfs: use lzo compression btrfs: failed to read the system array on sda3 btrfs: open_ctree failed   I have to manually run btrfs device scan. After that it works fine. Any suggestions on how to fix this?


Nothing can travel faster than the speed of light. In what frame of reference?

Since frames of reference are arbitrary, I can define a frame of reference that moves backwards with a speed greater than $c$, then any static object in that frame of reference is already traveling forwards faster than $c$! So what does "nothing can travel faster than light" exactly mean, and where does it apply?


Find the integer which is closest to the value of   $\frac{1}{\sqrt[6]{5^6+1}- \sqrt[6]{5^6-1}}$  I have tried putting them between n and n+1 and tried manipulating  n but I cant seem to find a strategy.


are pretty cool... You get a birds-eye view of activity on the site, a "dashboard" view of what's happening. Some of the individual tools haven't scaled particularly well with Stack Overflow's growth, but the concept behind them is still sound: we trust you to enough to be a bee watcher now.  ...and then there's . What a let-down! Once upon a time, this queue contained spam and offensive flags, which one might reasonably assume were important enough to put in front of the more trusted members of the site. Re-flagging them brought them that much closer to deletion, while editing them offered salvation to some hapless author. Nowadays, it's a bunch of Not an Answer flags and a smattering of assorted cruft. 10K users can't even vote to delete these; only 20K users have that privilege. Re-flagging them does nothing but increase their priority in the moderator flag queue, where they frequently outrank more pressing issues;  has . Also, it's , and the behavior has diverged far enough from that of the moderator flag queue on which it is based that it has become an active hindrance to further development of the tooling there. Worst of all, we have  that's available to anyone with the editing privilege. It even has logic built in to prioritize answers likely to be deleted for users with . It's like we gave you a car for your 10th birthday, and then replaced it with a rusty bicycle when you turned 16. It was a nice idea, but it has outlived its usefulness. Proposed changes The /tools/flagged route goes away. Period. No replacement. The rest of the 10K tools stick around as informational pages. Not an Answer flags go into /review/low-quality, . Then we beef up the Low Quality review process to make better use of more experienced reviewers and solve this whole "declined / helpful / disputed" flag debate once and for all:  Effective # of reviews required == ReviewsRequired + # of applicable flags (where ReviewsRequired is 2 on Stack Overflow, 1 everywhere else). So 1 VLQ or NAA flag means EffectiveReviewsRequired=3. LQ tasks are not dequeued until one of the following conditions is met:  Post is edited from within review. Outcome: flags are marked "helpful" (current behavior). Post accumulates 3 Delete votes (can only happen when post scores <= 0 and reviewers have >= 20K rep). Outcome: post is deleted, flags are marked "helpful". Task accumulates EffectiveReviewsRequired "Looks Good" reviews. Outcome: if the number of (Recommend)Delete reviews is >= the number of Looks Good reviews, mark flags "disputed" and raise DisputedLowQuality mod flag. Otherwise, mark flags "declined". Task accumulates 6* RecommendDelete + Delete reviews. Outcome: mark flags "helpful". If the post scores > 0 then raise DisputedLowQuality mod flag, else just delete post (current behavior).   As under the current system, flags on posts that've already completed one full review cycle without being deleted should skip /review and go directly into the mod queue.  End result  Flags get handled faster, more accurately, and with less wasted effort from 10K reviewers. Moderators are free to focus on situations that can't be handled by the community - the ! Developers are free to make enhancements to the moderator tooling without having to work around 10K user restrictions.  Questions Am I forgetting anything here? I haven't really spent much time in the 10K flag queue since back when it was filled with spam flags and therefore useful - is there a use-case that you depend on that would be lost with its removal? Post 'em below. *: on Stack Overflow, only .


I'm trying to get a Windows 10 ISO for a virtual campaign soon, but I am unable to find a website that has the Windows 10 ISO. I mostly use WinWorld, but it lacks an ISO, and there's no way of newer versions at the download site.


Pass a variable from bash shell into Applescript?

Using the path defined in bash shell How would i pass the variable to applescript using osascript/applescript? Here's what I have so far.. The path of $FOOD_NUM is subject to change and it must be a variable that I have defined in bash. The "-e open... doesn't seem to like the path. error code 810:815: execution error: The variable input is not defined. (-2753  Thanks!.       FOOD_file=~/Desktop/FOOD/FRUIT/ FOOD_NUM=012345  osascript -e 'tell application "Adobe Photoshop CC 2017"' -e 'open "'$FOOD_file/$FOOD_NUM/apples.psd'"' -e 'end tell'


i have missed pre-calculus knowledge in my school but i was good at maths, and now i am a computer science student, i am feeling bad being bad in maths, so i am looking for the best Pre-Calculus book, i love maths, i need the right well of precalculus books.


Why does the following code result in three times true?  I was excepting false for the second step.      function foo() {         this.bar = function () { };     };      console.log("foo - defined : " + typeof window.foo !== 'undefined');     console.log("bar - defined : " + typeof window.bar !== 'undefined');      foo();      console.log("bar - defined : " + typeof window.bar !== 'undefined');


Large badge counts produce a line break in the usercard

Recently, this started happening:        Shog9 has an immense amount of badges, so many that the number creates a linebreak in the usercard, resulting in weird space below the usercard of the post's author. It also happens when a well-decorated user is the post's author; then the box is just extra tall:        I first noticed it when looking at "." The problem also appears on Stack Overflow:        I'm using Google Chrome 47.0.2526.73 on Windows 8.1 at 1920x1080 at the default zoom level.  Updated 12/26/2015: This is not fixed. It was, momentarily, fixed on Meta Stack Exchange (but not for Jon Skeet's usercard on Stack Overflow), but now the problem is happening again, even at the page I linked above.  After Winter Bash ended (tested 1/5/2016): It's still happening, both here and .  Related, maybe:  Related, definitely, but not a duplicate:


Sometimes there is an interesting effect when you convert a question into a statement, though this does seem somewhat modern. For example,     What the heck.   as opposed to     What the heck?   or even     What the heck!   Or consider :    Clearly this (non-) punctuation (along with the aggressive-looking formatting) has a very different, almost passive-aggressive, effect than     Would you please show your respect ...?   What is the effect by which we modify the meaning of a question by changing it syntactically into a statement?


Please explain how to Stack Overflow because I do not get it

Apparently I can no longer add answers, and I can not post comments (<50 points). I basically can't do anything to dig me out of the hole unless asking stupid questions I already know the answer to?  How is this going to work out? I have studied Business Informatics and been coding since 1999 (started with HTML scripting). So I know some stuff and am able to help users on a wide variety of topics (, PHP, CSS, HTML, MSL, , Java, JavaScript, etc.). It would be nice if I could at least add comments.  Solution to my problem:    Just click your account on the top, go to answers and look at what you answered. Then edit whatever you can to provide a real answer. That made the trick for me, at least. GL&HF!


How to write more than one mod-rewrite rule?

I always used the following rule to manage urls:  Options +FollowSymLinks   RewriteEngine On   RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f RewriteRule ^.*$ ./urlredirect.php   With this I could easily check with php which page the user was trying to access.  Now I got a site that requires https on all pages. Here is the basic solution to this:  RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}   My problem now is that I cannot get both working simultaneously. I know very little of mod-rewrite and regular expressions.  Any help would be greatly appreciated.


Scifi short story with alien standing guard against vicious aliens (that turn out to be humans)

A long time ago I read a short story about a soldier posting guard on a far away planet and remembering when the war started, the way that the aliens didn't try to talk with them and they just attacked them. The soldier sees an alien and kills it and the way it describes the alien makes you understand that man was the alien all along.


(Java) What is the point of using `concat()`?

From my knowledge, I know I can use concat() in such manner:  String str = "to"; System.out.println(str.concat("gether")   Which returns together. But isn't that just like saying str + "gether"?  Why make a method for it when you can just use + to join Strings together?  Does it serve any other purpose?


For a gold badge user, how to "propose" for closing a question as duplicate without completely closing it?

In earlier times (with/without gold badge), when a user would hit "close" button for a "duplicate" question, it will automatically add a comment and mark a vote for the closing it.  With new "gold badge" rule, now it completely closes it. But I notice that sometimes, there is a opinion mismatch among the users which is expected. As a gold badge user, sometimes I feel that completely closing the Q is too strong an action. In such case, I can think of following ways:   Flag for moderator attention -- too slow Put a comment manually -- clumsy & unable to vote Vote for close & ask for opinion via comment -- not elegant   Is there any other way which I am missing or already proposed? The requirement is: At times, a gold badge user may still want to "propose" closing a Q as duplicate in the old school way.  It happens often. Here is the .


Mouse pointer - reason for it changing direction in visual studio

We all know the generic arrow mouse pointer points to the left, however in visual studio if you hover over the line number column in your editor it switches and points to the right. Does anybody know the reasoning behind this?  I can't grab a screenshot unfortunately as it won't capture the cursor!


How to use "by" and "until" in these specific contexts?

I've watched 10 movies until now. He should have been here by now  I think in the first sentence, "by" doesn't work and using it will not be idiomatic. This applies to the using "until" in later sentence too. For me using "until" will not be be a correct usage. Instead the "until" in the first sentence and "by" in the second sentence fit the best. Am I right?


Why must kernel functions be scalar products

I'm currently reading Bishop's . In the chapter on kernel methods, he's very clear that kernels must be "valid", that is: be representable as scalar products in some feature space (no matter what that might actually be).  Why is this scalar product criterion so important? Why is it invalid to just define the kernel as some arbitrary, non-product distance function of its arguments?


Flying in India without original ID card

I don't have my original ID with me, but I do have an image of my ID in my mobile phone.  Can I fly from Delhi to Kolkata?


How do I remove "Chapter N" from the chapter titles of a book

How do I remove "Chapter N" from the chapters when using the book document class?  This does not appear in the TOC (which I don't want, either).  But it appears at the beginning of a chapter, and on each page, in the header.


I forgot my old email for my minecraft account

I had forgotten my old email and have tried every possible thing I could think of but I still can't get through my old account. I don't have a Mojang acccount and still had my old minecraft premium account on since I hadn't migrated to the Mojang account ( Since I couldn't because I had forgotten my old email ) and the minecraft forums aren't helping since it only helps people who have a Mojang account.  I genuinely think that it is impossible to get my old account back and this may be my last hope out there.


I have a page where I am trying to show which ListViews a Project is in. I can get the data I want in the Developer Console by querying ListView. However, when I try to import the following query to my code I get the following exception: "Save error: sObject type 'ListView' is not supported." Query:  SELECT Id, Name FROM ListView WHERE SObjectType = 'Project__c'   As a workaround, I am trying to instantiate an Apex:StandardSetController for Project__c and call getListViewOptions(). Notice I am not calling getListViewOptions on my ApexPages.StandardController. The relevant bit that is not working:  public MyExtension(ApexPages.StandardController notUsed) {     debugListViews(); // yields bogus results } public MyExtension(ApexPages.StandardSetController notUsed) {     debugListViews(); // yields valid results } private void debugListViews() {     ApexPages.StandardSetController controller = new ApexPages.StandardSetController([         SELECT Id FROM Project__c LIMIT 1     ]);     for (SelectOption option : controller.getListViewOptions())     {         system.debug(option);     } }   This code works perfectly in Execute Anonymous. I see a list of SelectOption each of which has a valid Name/Id combination. However, when I run this code in my extension's constructor that takes in an ApexPages.StandardController, I get only one SelectOption that is clearly bogus. The Name is "All" and the Id is "000000000000000AAA". Note: the key prefix for ListView is "00B."  To add to the mystery, this code also works as expected in my extension constructor that takes in an ApexPages.StandardSetController.  This seems like it is a Salesforce bug, but I am not allowed to submit a Development Case for this org. Has anyone run into this before and found a workaround?


Javascript - Error while concatnating objects

While executing the below snippet, I'm getting an error stating "Uncaught TypeError: undefined is not a function" error.   Can someone shed some light here?.  var a1={'Param1':'122','Param2':'123','Param3':'124','Param4':'125'}; var b={'Param1':'22','Param2':'23','Param3':'24','Param4':'25'}; var c=a1.concat(b);   Thanks, Dave


Where can I go to start learning what my terminal is trying to say to me

this is an example that I'm running across trying to install sublime text 2  Err:7  apt/stable/ InRelease   The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F57D4F59BD3DF454


What exactly happens to the signals hitting a common mode choke?

I'm trying to better understand the principles behind the common mode choke. I made a few drawings to clarify.    Differential Mode Signals  Differential currents (driven by differential voltages) create equal but opposite magnetic fields B in the inductor core:    These magnetic fields cancel each other out, so the net flux in the core is zero. As such, these differential currents don't "feel" any impedance.    Common Mode Signals  In contrast, common mode currents generate equal and additive magnetic fields in the core. That's why they "feel" a high impedance, and cannot get through (or getting through means they are highly attenuated).    But what exactly happens? I have several theories, which I will describe below.    Common Mode Signals - Theory 1  My first thought would be that the common mode signal hits the choke and creates a magnetic flux inside. By doing this, lots of energy is lost (hysteresis and perhaps other effects) as heat. Only a small part gets through:      What kind of common mode choke would behave in this particular way? "Burning up" the voltage spike seems a very desirable effect to me.    Common Mode Signals - Theory 2  Perhaps the voltage spike doesn't really get the chance to build up much magnetic flux in the core, or maybe the core is simply not "lossy" enough. The voltage spike bounces off the core and turns back. Only small part gets through:    Although the system on the right side of the choke is protected, the system on the left has to deal with reflected signals. Nasty things like standing waves might appear.    My questions  I've got a few questions for you:   Do you think theory 1 or theory 2 is most plausible? Do you think certain types of common mode chokes tend to behave as described in theory 1, others like in theory 2? Perhaps both of my theories are just plain wrong. If so, what actually does happen?   Please enlighten me.


How can I group several rows from my database?

I want to group all pharmacies present in the same night in a unique row following this night.  select days.day, pharmacy.name from days,      pharmacy,      pharmacy_night where (pharmacy.Id_pharmacy in (SELECT Id_pharmacy                                 FROM pharmacy_in_region(@idregion))   and pharmacy.Id_pharmacy = pharmacy_night.Id_pharmacy   and days.Id_day = pharmacy_night.Id_day)   The desired output:  row 1: Monday  Pharmacy1_pahrmacy5- row 2: Tuesday pharmacy9_


Delete all lines in Notepad++ except lines containing a word I need?

I have a text file and want to keep lines started with <Path>, and delete all the other lines.  How can I do it?


Package Listings Warning: Text dropped after begin of listing when calling function

I'm trying to this:  \newcommand{\code}[1] {\begin{lstlisting} {#1} \end{lstlisting} }   But I keep getting this error:  Package Listings Warning: Text dropped after begin of listing   I'm calling \usepackage and all so, do any of you knows how to solve this?


Material of mesh doesn't match the render because of subdivision surface

The material of the mesh doesn't match the render because of the subdivision surface modifier. I just tried to add vertices but it doesn't work.


Is there an app other than Witch that allows windows switching (not app switching) with cmd+tab?

I found the Witch app (). Are there any other solutions?


Form with dnyamic name won't submit data

In the application, a user can register as an initial user of a subsequent user. When the user clicks yes or no to Firm already registered?, if yes, the script changes the form name and id to subUserForm and if they select no, initialUserForm, like so:  Firm already registered? Yes<input type="radio" name="typeRegister" id="subRegister"> No<inputtype="radio" name="typeRegister" id="initalRegister">   And my submit button  <button class="btn btn--reg bg-phase-green pill-radius txt-white font-body font-weight-medium" type="submit" id="register" disabled>Register</button>     ('#subRegister').change(function(){    if(this.checked) {      $('#registerForm').attr('name', 'subUserForm').attr('id', 'subUserForm');    } else {      $('#registerForm').attr('name', 'initialUserForm').attr('id', 'initialUserForm');    } })  $('#initalRegister').change(function(){   if(this.checked) {     $('#registerForm').attr('name', 'initialUserForm').attr('id', 'initialUserForm');     } else {       $('#registerForm').attr('name', 'subUserForm').attr('id', 'subUserForm');     } })   The reason is, depending on the option they select, it changes the request made. I've checked that the name and id are being updated, and they are, but when I click submit, nothing happens. Nothing I logged, no request is made etc.  $('#initialUserForm').submit(function(e){     console.log('initial');     e.preventDefault();     var dataString = JSON.parse(JSON.stringify($('#initialUserForm').serializeArray()));     $.ajax({         type: 'POST',         url: 'http://localhost:8080/p3sweb/register/rest-user/',         data: dataString,         contentType: "application/json",         success: function(response) {             console.log(response);         },         error:function(errResponse) {             console.log('fail')         }     }) })  $('#subUserForm').submit(function(e){     console.log('sub');     e.preventDefault();     var dataString = JSON.parse(JSON.stringify($('#subUserForm').serializeArray()));     $.ajax({         type: 'POST',         url: 'http://localhost:8080/p3sweb/register/rest-subsequent-user-step2/',         data: dataString,         contentType: "application/json",         success: function(response) {             console.log(response);         },         error:function(errResponse) {             console.log('fail')         }     }) })   Question  Is there an issue with dynamically changing the name of a form, or am I missing something really simple to why the form data isn't being submitted?


I have problems when installing the tool and performing upgrades in Ubuntu 14.04 LTS. Please assist me      Fetched 6738 kB in 1min 19s (85.1 kB/s)                                         perl: warning: Setting locale failed. perl: warning: Please check that your locale settings:     LANGUAGE = "en",     LC_ALL = "en_GB.UTF-8",     LC_TIME = "id_ID.UTF-8",     LC_MONETARY = "id_ID.UTF-8",     LC_ADDRESS = "id_ID.UTF-8",     LC_TELEPHONE = "id_ID.UTF-8",     LC_NAME = "id_ID.UTF-8",     LC_MEASUREMENT = "id_ID.UTF-8",     LC_IDENTIFICATION = "id_ID.UTF-8",     LC_NUMERIC = "id_ID.UTF-8",     LC_PAPER = "id_ID.UTF-8",     LANG = "en_US.UTF-8"     are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16. Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^(.*?)(\\)?\${ <-- HERE ([^{}]+)}(.*)$/ at /usr/share/perl5/Debconf/Question.pm line 72. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^}]+)}/ at /usr/share/perl5/Debconf/Config.pm line 30. Preconfiguring packages ... dpkg: warning: 'ldconfig' not found in PATH or not executable dpkg: error: 1 expected program not found in PATH or not executable Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin E: Sub-process /usr/bin/dpkg returned an error code (2)   sudo apt-get install locales Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  libc6 : Breaks: locales (< 2.22) but 2.13+git20120306-12.1 is to be installed          Recommends: libc6-i686 E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.  sudo apt-get install libc6-i686 Reading package lists... Done Building dependency tree        Reading state information... Done Package libc6-i686 is a virtual package provided by:   libc6 2.19-0ubuntu6.7 [Not candidate version]   libc6 2.19-0ubuntu6 [Not candidate version]  E: Package 'libc6-i686' has no installation candidate


My Google-based connection ID not usable, Atlassian Crowd problem

So, I have a Stack Exchange account. When I first created it a couple of years back, I used my "Google" credentials. Fine. Then late last year I began work with a company which uses Atlassian Crowd to manage IDs and logins, and at some point my Stack Exchange account must have become associated with my id at that company. Now my Stack Exchange account is inaccessible.  But it does exist.  Is there some way to reconnect to my Stack Exchange id?


Factoring inequalities on Double Summation (Donald Knuth's Concrete Mathematics)

If you have the Concrete mathematics book please refer to page 40 and 41.  So how come this given sum  $$ \sum_{1 \le j < k + j \le n} \frac{1}{k} $$  becomes  $$ \sum_{1\le k \le n}\sum_{1\le j \le n-k} \frac{1}{k} $$ ?  I do not understand how this is proven since to my understanding i am following from the book's method of factoring inequalities,  $$ [1\le j < k+j \le n] = [1 \le j \le n][j < k+j\le n] \text{ or } [1\le k+j \le n][1 \le j < k+j] $$  And it doesn't look like the double summation above. I Tried simplifying the two above and it leads me to nowhere near the answer.


Is it OK to retrospectively close as a duplicate?

Suppose a question is asked, answered and accepted, then at some later date another duplicate question is asked, also answered and accepted, but no one picks up the duplication.  If the second question/answer is "better" (more votes for both question and answer), is it OK to close the first question as a duplicate, even though at the time it was posed it was a new question?  It seems OK to me, but there may be some etiquette aspect I'm not considering.


Table not displaying in desired location

I am writing a lab report and I want to display the a table underneath my Results section. This is my code:    However, the result looks like this:    Why is this the case? Thanks!


Problem Prove that $n! > \sqrt{n^n}, n \geq 3$.    I'm currently have two ideas in mind, one is to use induction on $n$, two is to find $\displaystyle\lim_{n\to\infty}\dfrac{n!}{\sqrt{n^n}}$. However, both methods don't seem to get close to the answer. I wonder is there another method to prove this problem that I'm not aware of? Any suggestion would be greatly appreciated.


Python - Matrix assigning to all elements instead of ones specified by if statement

This Python script is supposed to make a CGoL Glider, but matrix just outputs [[1, 1, 1], [1, 1, 1], [1, 1, 1]] instead of [[0, 1, 0], [0, 0, 1], [1, 1, 1]] as intended.  I added a print statement after the if to display the cell and block when the if is flipped, and that showes the appropriate value, but the matrix assignment still does not work.  #!/usr/bin/python3  matrix = [[0] * 3] * 3  def chunks(in_list, size):     out_chunks = []     for item in range(0, len(in_list), size):         out_chunks.append(list(in_list[item:item + size]))     return list(out_chunks)  for block in range(len(matrix)):     for cell in range(len(matrix[block])):         if chunks(range(9), 3)[block][cell] in [1, 5, 6, 7, 8]:             print(f"Block: {block}\nCell: {cell}\n")             matrix[block][cell] = 1


Lost email settings and no icon for Mail

I've lost my Settings → Mail, Contacts, and Calendars on my iPhone 5.  No icon for Mail and no Mail settings.  How do I get it back?


I need some help regarding LED chips and compatible drivers.  I previously included too little detail and spec's so here it is. I have a 50w RGB chip, voltages are red 16-20, green 24-28, and blue 24-28, it requires 350mA constant current.   I also have a 50W driver that is for warm white LED, the driver is 30-36v and runs at 1.5A, so it drives too high an amperage. I'm wanting to know if I can run RGB chip on such driver, and if a device such as buck or step down will let me do this, any help greatly appreciated.