Directories showing up in green(executable) even after removing execute permission for all

I just copied a directory from a USB flash drive. I copied it from an NTFS drive and so all the files had execute permission.  I executed chmod -x * to undo the execute permission. Despite that, all the directories are showing with green background, which is normally only for executable files.  What could be the reason?  Attached image:


When should extends be used instead of instantiating a class?

When should extends be used in stead of just using the class normally? Is it actually intended to override methods of the standard Java language that programers do not have access to?


I am trying to use multirow to use to rows for a heading but for some reason, the line is still remaining in the middle. Here's my LaTeX table: \begin{table} \centering \begin{tabular}{|c|c|c|c|c|} \hline \multicolumn{5}{|c|}{Manual vs old ICY}\\ \hline \multirow{ 2}{*}{Model}& \multicolumn{2}{|c|}{Senescent}&  \multicolumn{2}{|c|}{Young}\\ \hline &Raw Count  &\%\ day3/day0 &Raw Count  &\%\ day3/day0\\ \hline Manual vs old ICY&0.6482 &0.5074 &0.4397 &0.08118\\ \hline Manual vs new ICY&0.6482 &0.5074 &0.4397 &0.08118\\ \hline Manual vs VGG16&0.6482 &0.5074 &0.4397 &0.08118\\ \hline \end{tabular} \label{ManualvsoldICY} \end{table}


I am non-EU citizenI have a family residence in Italy . Can I travel to UK without a visa?

I am an Egyptian man married to an Italian woman. We live in Italy. I have a residence card for a family member of a union citizen issued from Italy. Is it possible to travel with my wife to uk without a visa?!


Show a C-infinity function is a polynomial

Suppose $f\in C^\infty(\mathbb{R})$ and for any $x\in\mathbb{R}$, there exists $N\in\mathbb{N}$ such that $f^{(N)}(x)=0$. Show that $f$ is a polynomial.   This is from one of the Analysis qualifying exam problems. I can show there exists an interval $(a,b)$ on which $f$ is a polynomial by using Baire category theorem, but I can't extend it to the real line. Any suggestion?  I think I get some new ideas about this problem. First I can find an interval $I=(a,b)$ by using Baire theorem (same idea from the question that Clement C. added.) where $f$ coincides with a polynomial $g$ on $I$. Then we consider $f^{(i)}(a), i\leq N_g$ where $N_g$ is the degree of $g$. We must have $f^{(N_g)}(a)=0$ because $f^{(i)}(a^+)=f^{(i)}(a)=g^{(i)}(a), i\in\mathbb{N}$. So if we apply the Taylor's theorem at $x=a$, we can extend $I=(a,b)$ to $I_\epsilon=(a-\epsilon,b)$ such that $f=g$ on $I_\epsilon$. Following the same idea, we can show that $$\inf\{a:f=g \text{  on  } (a,b) \}=-\infty$$ Similarly we can show $f=g$ on $\mathbb{R}$.  Update: I just found that the idea above might not work after I was trying to write down a rigorous proof. The main problem is $C^\infty$ function is not neccesarily analytic. (For example, let $f(x)=0$ on $(-\infty,0]$ and $f(x)=e^{-1/x}$ on $(0,\infty)$). So I can only extend $(a,b)$ to some larger (or equal) interval $(c,d)$ if I only use the $C^\infty$ property. So the claim above $$\inf\{a:f=g \text{  on  } (a,b) \}=-\infty$$ might not be true.  I really have no idea how to extend this interval to the real line now.


How to fix "W: Duplicate sources.list entry"?

I keep getting this warning whenever I try to run sudo apt-get update.  W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-i386_Packages) W: You may want to run apt-get update to correct these problems   Below is the output from /etc/apt/sources.list file:  deb http://archive.ubuntu.com/ubuntu precise main restricted deb-src http://archive.ubuntu.com/ubuntu precise main restricted  deb http://archive.ubuntu.com/ubuntu precise-updates main restricted deb-src http://archive.ubuntu.com/ubuntu precise-updates main restricted  deb http://archive.ubuntu.com/ubuntu precise universe deb-src http://archive.ubuntu.com/ubuntu precise universe deb http://archive.ubuntu.com/ubuntu precise-updates universe deb-src http://archive.ubuntu.com/ubuntu precise-updates universe  deb http://archive.ubuntu.com/ubuntu precise multiverse deb-src http://archive.ubuntu.com/ubuntu precise multiverse deb http://archive.ubuntu.com/ubuntu precise-updates multiverse deb-src http://archive.ubuntu.com/ubuntu precise-updates multiverse  deb http://archive.ubuntu.com/ubuntu precise-security main restricted deb-src http://archive.ubuntu.com/ubuntu precise-security main restricted deb http://archive.ubuntu.com/ubuntu precise-security universe deb-src http://archive.ubuntu.com/ubuntu precise-security universe deb http://archive.ubuntu.com/ubuntu precise-security multiverse deb-src http://archive.ubuntu.com/ubuntu precise-security multiverse   How do I fix it?


Find all functions $f\colon \mathbb R \to \mathbb R$ such that $f(f(x)(y + 1)) = x[f(y) + 1]$, $\forall x, y \in \mathbb R$.

Find all functions $f\colon \mathbb R \to \mathbb R$ such that $$\large f(f(x)(y + 1)) = x[f(y) + 1], \forall x, y \in \mathbb R$$   Let $P(x, y)$ be the assertion $f(f(x)(y + 1)) = x[f(y) + 1]$.  For $P(0, -1)$ and $P(x, 0)$, we respectively have that $f(0) = 0$ and $f^2(x) = x, \forall x \in \mathbb R$.  This implies that $f(x)$ is a bijective function, (although I am not sure why).  For $P(x, x - 1)$, we have that $f(xf(x)) = x[f(x - 1) + 1], \forall x \in \mathbb R$  Then... I don't know what to do next.


Using bash script to automate executable runs

I am relatively new to bash scripting. I have a linux executable that takes one user input from the command line. That is, I can run the executable like this: ./executable [input]. I want to run the executable multiple times with different inputs, that is, something like this:  $ ./executable 16 $ ./executable 32 ....   I want to use a bash script for my purpose. This is my attempt (which is simply incorrect):  for i in 1 2 3 ... 10 do   temp = 16 * $i   ./executable temp done   How would I get this done?


Hi I have the following proxy config:      location / {         proxy_pass        http://localhost:8080/;         proxy_set_header  Host               $host;         proxy_set_header  X-Real-IP          $remote_addr;         proxy_set_header  X-Forwarded-For    $proxy_add_x_forwarded_for;         proxy_set_header  X-Forwarded-Proto  https;         if($request_filename ~* "^api/"){              proxy_intercept_errors on;         }     }   I'm not yet entirely sure yet if the if condition is correct but I would like to disable the proxy_intercept_errors for all the calls to /api location. For any other they should be intercepted.   How can I make such an exclude without defining an additional location block?   With this if condition I'm getting the following error:   nginx: [emerg] "proxy_intercept_errors" directive is not allowed here


I want to add a TypeFace to my TextView. here's my Java code      @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         TextView helptitle = (TextView)findViewById(R.id.title_help);         Typeface typeface = Typeface.createFromAsset(getAssets(), "beyond_the_mountains.ttf");         helptitle.setTypeface(typeface);         setContentView(R.layout.activity_help); }   but when i run the app, i get a log cat error   Caused by: java.lang.NullPointerException     at com.example.enxin.crystallise.Help.onCreate(Help.java:15)   There are many kinds of NullPointerException so I'm not sure how to solve this


Evaluate the infinite series $\sum_{r=1}^{\infty} \frac{2^{-r}}{r^{2}}$

My teacher posed an infinite series question to me today and I'm not quite sure how to start to go about it. $$\sum_{r=1}^{\infty} \dfrac{2^{-r}}{r^{2}}$$ Any hints would be much appreciated.


How many five digit integers can we make chosen our digits from 5,8,8, 2, 6, 6, 0?

as my last question  this is the same problem but with 2 repeated digits,   here is my approach:   To solve this problem we need to devide it into 5 cases:  1 The integer contains one 8 and one 6 : 4 x 4 x 3 x 2 x 1 = 96  2- The integer contains one 8 and two 6s or one 6 and two 8s and no 0: (5C2) x 3 x 2 x 1 = 60  3- As same as 2 but containing 0: (4C1) x (4C2) x (3C2) x 2 = 144  4- The integer contains two 8’s and two 6’s with no 0: (5C2) x (3C2) x (2C1) x 2 = 120  5- Same as 4 with 0: (4C1) x (4C2) x (2C2)  = 24  The final result would be : 96 + 2(60) + 2(144) + 120 + 24 = 648  but when I used an online tool I got 588 as result.  (ii)Find the number of integers in (i) which satisfies “If there is 8, then it is followed by 6”


What to do if someone has answered my question as a comment but not posted an answer?

For example,  got answered by somebody in the comments. Since you can't accept comments, what should I do now?


I'm using Mathematicato produce some of my graphics (when i'm not able to just TikZ them easily). All these images are availabvle as .eps and .pnghaving the same file name - let's use img.eps / img.png in the following.  I would like to set a preference for graphicx to use only one type, i.e. using  \includegraphics[width=.6\textwitdh]{img}   I would like to specify, which img to use with one switch, (package) option or variable.  I tried  \DeclareGraphicsExtension{.eps}   to restrict the allowed image extension to .eps, but still the .png file is included. It seems, .pngis preferred over .eps.  Though this is of course restricted to XeTeX it might be interesting for others, if you use .png together with some lossy format like .jpg to have a file extension preference.   Is there a package option for that or an easy command (global document option) for that?  To provide an MWE is - I think - difficult, because it would be necessary to provide at least 3 files.


I wanted to make a Stevia-sweetened chocolate milk so I tried mixing some unsweetened cocoa powder with the milk and stevia, but I found that the cocoa powder doesn't mix with the milk at all. It tends to float on top, and even with a lot of stirring and mixing back and forth between two glasses it was a lumpy mess.  Any techniques or natural additives I can use to help the powder dissolve more like Nestle Quick and the like?


coxph function: When to use the Likelihood ratio test?

I'm a novice R user with only a little stats experience.  I'm using the coxph function to determine the effect of a continuous variable on survival using the following code: fit <- coxph(Surv(Survival, Dead) ~ LymphRatio, data = Survivalbylymphratio)  from which I get the following output:    coef exp(coef) se(coef)     z      p LymphRatio -1.2028    0.3004   0.6168 -1.95 0.0512  Likelihood ratio test=4.15  on 1 df, p=0.04159 n= 133, number of events= 45   I'm trying to understand the purpose of the likelihood ratio that's shown at the end of the output.  I've read up a bit but all I've found are complex statistical formulae but without a basic explanation for what it is actually saying about my data. e.g.In this output, the HR is non-significant (p=0.0512) but the likelihood ratio is p=0.04159.  Which do I report for this variable? What would different results for the likelihood ratio mean for my dataset? For example:  Likelihood ratio very high vs very low Likelihood ratio p-value > 0.05 vs <0.05  I know these are basic nuts and bolts questions.  Thanks for any help


With a fresh (but old) install of Ubuntu and MySQL, I found I could access the MySQL via command line client without being asked for any user or password.  Logging in as root requires the root password. But logging in without specifying the user (ie, just typing mysql on the command line) asks me for neither user nor password.  I'm logged in as stewart@localhost. No such user exists in the mysql.user table.  This user can see the information_schema database.  Why does the user exist? I thought MySQL users were separate from OS system accounts.


I am developing a game and i need to add a leader board to it. I have coded one which allows the user to add high scores, view high scores and erase all high score. Now I need to sort all the scores in order of highest to lowest. Here's my code currently [NOTE: I'm aware that this isn't the best menu but I will change that later on]:  choice = input(str("Would you like to add a high score to the leader board?: ")) if choice == "y":     user1 = input(str("Enter username 1: "))     hs1 = input(str("Enter high score: "))     user2 = input(str("Enter username 2: "))     hs2 = input(str("Enter high score: "))     data1 = user1 + ": " + hs1     data2 = user2 + ": " + hs2     with open("leaderboard.txt","a") as file:         file.write(data1)         file.write("\n")         file.write(data2)         file.write("\n")         print("Data added.") elif choice == "n":     final_list = []     with open("leaderboard.txt","r") as file:         first_list = file.readlines()          for i in first_list:              final_list.append(i.strip())         print("Leader board")         print("-------------")         for count in range(0,len(final_list)):             print(final_list[count])  else:     with open("leaderboard.txt","w") as file:         file.write(" ")         print("leader board cleared.")   I would like the leader board to be displayed once ordered something like this:  1. James F: 32 2. Harris W: 18 3. Courtney J: 12   Thank you for reading!


Describe in clear English a Turing machine that semidecides the following language.

The language being L, which is described as follows:  $L$ = { $<M>$ | $M$ accepts the binary encodings of at least 4 odd numbers } .    I understand that this involves using one turing machine to simulate another. What sort of methodology could I use for these kinds of questions?


Is it possible to draw a diagram of this image, which is very simple:


Is there a way to get ubuntu gnome 3.14 on ubuntu 14.04 ??  Thank you in advance


What am I meant to do with Elder Scroll (Dragon) after completing Dawnguard?

After completing the Dawnguard storyline in favor of the vampire hunters, I was able to give the 2 scrolls (sun and blood) to Dexion, however the dragon scroll remains in my inventory. Is there some special use for it? i've checked with Urag gro-Shub and he will not take it. Note that this is after I've completed the main questline.


For i.i.d. $\{X_n\}$ proving $\frac1n\max\limits_{1\leqslant k\leqslant n}|X_k|\xrightarrow{\mathrm{a.s.}}0\Leftrightarrow E(|X_1|)<+∞$

$\def\d{\mathrm{d}}$Given that $X_1, X_2, \cdots$ are i.i.d., prove that$$ \frac{1}{n} \max_{1 \leqslant k \leqslant n} |X_k| \xrightarrow{\mathrm{a.s.}} 0 \Longleftrightarrow E(|X_1|) < +\infty. $$   My try:  Because $\varliminf\limits_{n \to \infty} \dfrac{1}{n} \max\limits_{1 \leqslant k \leqslant n} |X_k|$ and $\varlimsup\limits_{n \to \infty} \dfrac{1}{n} \max\limits_{1 \leqslant k \leqslant n} |X_k|$ are both measurable with respect to the exchangeable σ-algebra of $X_1, X_2, \cdots$, they are both almost surely constants by the Hewitt-Savage 0-1 law, i.e.$$ \varliminf_{n \to \infty} \frac{1}{n} \max_{1 \leqslant k \leqslant n} |X_k| = c_1, \quad \text{a.s.} \tag{1}\\ \varlimsup_{n \to \infty} \frac{1}{n} \max_{1 \leqslant k \leqslant n} |X_k| = c_2, \quad \text{a.s.} $$ where $c_1, c_2 \in [0, +\infty]$. Also, if the distribution function of $|X_1|$ is $F(x)$, then the distribution function of $\dfrac{1}{n} \max\limits_{1 \leqslant k \leqslant n} |X_k|$ is$$ F_n(x) = P\left( \frac{1}{n} \max_{1 \leqslant k \leqslant n} |X_k| \leqslant x \right) = \prod_{k = 1}^n P(|x_k| \leqslant nx) = (F(nx))^n, $$ which implies\begin{align*} E\left( \frac{1}{n} \max_{1 \leqslant k \leqslant n} |X_k| \right) &= \int_0^{+\infty} x \,\d((F(nx))^n) = \frac{1}{n} \int_0^{+\infty} y \,\d((F(y))^n)\\ &= \frac{1}{n} \int_0^{+\infty} y·n (F(y))^{n - 1} \,\d F(y) = \int_0^{+\infty} y (F(y))^{n - 1} \,\d F(y)\\ &\leqslant \int_0^{+\infty} y \,\d F(y) = E(|X_1|). \end{align*} Also for any $c > 0$,$$ \sum_{k = 1}^\infty P(|X_1| \geqslant ck) < \infty \Longleftrightarrow E(|X_1|) < +\infty. \tag{2} $$ However, I failed to connect (1) and (2) to prove the proposition.  Any ideas are appreciated. Thanks in advance.


Why is wp_get_attachment_image_src returning wrong dimensions?

I am using wp_get_attachment_image_src to construct the srcset attribute of an img tag. In that attribute I want to output a comma separated list of image urls along with the image widths.  Using the Media Settings page, I have configured the image sizes to be as follows:   Thumbnail size: 150x150 Medium size: 640x480 Large size: 1024x768 Small size: 278x320   The wp_get_attachment_image_src function returns the correct urls and the correct widths for the image sizes full, medium and small. small is a custom size I added using add_image_size.  If I call wp_get_attachment_image_src( $image_id, 'large' ), the returned array looks like this:  array (     0 => 'http://localhost/wp-content/uploads/2014/10/image-1024x768.jpg',     1 => 640,     2 => 480,     3 => true, )   Checking the image which can be found at that url turns up the image with the correct dimensions.  Currently i am using the php builtin function  to circumvent this problem, but this function call takes significantly longer than simply accessing the index returned by wp_get_attachment_image_src:  Without getimagesize (mtime before and after execution):   '0.83761000 1415195440' '0.83831600 1415195440'   With getimagesize:   '0.34808000 1415195635'  '0.35323900 1415195635'   What can I do to make wp_get_attachment_image_src return the correct dimensions?


Test the uniform convergency of a series of function

Consider the series of function $$\sum_{n=1}^{\infty}\frac{x}{1+n^2x}.$$  Show that this series of function is NOT uniformly convergent in $[0,1]$.   I know only two methods to show a series of function to NOT uniformly convergent :  (i) Using definition of uniform convergent.  (ii) Showing that term by term integration is not possible.  i.e. showing that$$\int_0^1\sum_{n=1}^{\infty}f_n(x)\,dx\not =\sum_{n=1}^{\infty}\int_0^1f_n(x)\,dx.$$  But in each case we need to find out the finite sum $\sum_{k=1}^{n}f_k(x)$.  I am not able to find out this finite sum.  Please help on it....  Does there any other process or theorem to find that the series is not uniformly convergent ?


Linked and Related sections contain duplicate links to questions

The Linked and Related sections sometimes contain a link to same same question.  See for example , where one of the Linked questions is same as the first of the Related questions.  I think that this is redundant and duplicate links should be removed from Related section.


What does the notation $\chi_{(V\ge1)}$ mean in probability / statistics?

I reading Benjamini and Hochberg's paper on , and I came across this notation "$\chi_{(V\ge1)}$" in section 2.1 paragraph (b), and I'm guessing from context that: $$ \chi_{(V\ge1)}  = \left\{\begin{matrix} 1 & V\ge1\\  0 & Otherwise \end{matrix}\right. $$  Can anyone confirm that this is correct or provide a correction, and also give the name of this construct/notation?


Since yesterday I have a problem on my computer. If I open a torrent the download starts and speed gets up to about 300kb/s and then it goes back to 0. Then I lose all connectivity, Windows says there's no Internet connection and the only way to get it back is have to reboot the computer. Once I do that everything works fine unless i start downloading a torrent.  I've been using torrents for 10 years and never experienced anything like this.  What I tested:   It's not the client, it happens with old and new utorrent clients and deluga. It's not the router, all other computers on the network have Internet normally, while I go offline.   This is not a case of low speed because the torrent suck up the connection. Both the torrent and navigation stops and Windows 7 network center says no internet connection, disabling/reenabling the network card has no effect, only reboot fixes it.  Any ideas?


Difference between Present Perfect and Past Simple ( I am not a beginner )

I have been learning English for 7 years now, and I have read so many grammar books with rules, telling the difference between Present Perfect and Past Simple and I still find it hard to distinguish them.   On paper, it is easy, if it is not a certain (exact) time in the past without any time markers (yesterday, a month ago, etc) it is past simple. Yes, but outside the classroom it is really harder than this . I have heard many people speaking how they want to, mixing the tenses.   So, I will give these sentences which i have heard to be constructed differently, please, if someone can explain the difference to me.     Have you enjoyed the party? / Did you enjoy the party?      I have given the documents today. / I gave the documents today.      I have done this when I have revised it. / I did it when I revised it      What did you do today? / What have you done today ?   Is it possible to use past simple without mentioning a definite time in the past  (without the time markers)?     It has been 3 years since we moved house. / It has been 3 years since we have moved house.      I know him since we met each other/ I know him since we have met each other   Correct me if some of the sentences are grammatically wrong!


Using gb4e to insert footnote in \gll line

I am using gb4e for my examples. I can insert footnote in the \ex line, like this:  \begin{exe} \ex It's ok\footnote{no problem}. \end{exe}   But I cannot insert footnote in the \gll line, like this:  \begin{exe} \ex It's ok. \gll C'est parfait\footnote{no problem}\\ Ce est parfait\\ \end{exe}   When I put the \footnote{} in \gll line, it does not compile.  How can I insert footnote in the gloss line? Thank you very much for your help!


How can there be really any instantaneous velocity?

I have read about  that tells us there is no motion of the arrow at a particular instant of its flight. It can be inferred that there can be no velocity at any instant. Moreover we cannot calculate velocity at any instant in the real world (of course it can be done by using calculus) but how can this be possible? What is the intuition behind this concept?


I want to restrict "rm" command to user who have a sudo access.  example: bob ALL=(ALL)   NOPASSWD:ALL  I have given SSH Access to"bob".  i want to restrict "bob" to run "rm" command. Even though if switched to root.  Any help!


C++ linkeditor can't find function declaration (undefined reference)

I'm learning C++ and using CLion to build projects. I have the main.cpp file in the main directory. I also have a main/Objects directory, inside of which I have Vec3.h and Vec3.cpp files:  //Vec3.h template<typename T> class Vec3 { public:     // 3 most basic ways of initializing a vector     Vec3() : x(T(0)), y(T(0)), z(T(0)) {}     Vec3(const T &xx) : x(xx), y(xx), z(xx) {}     Vec3(T xx, T yy, T zz) : x(xx), y(yy), z(zz) {}     T x, y, z;      T length(); };   .  //Vec3.cpp #include "Vec3.h" #include <stdio.h> #include <math.h>  template <typename T> T Vec3<T>::length() {     return sqrt(x * x + y * y + z * z); }   .  //main.cpp #include <iostream> #include "Objects/Vec3.h"  int main() {     Vec3<double> vec(3, 4, 0);     std::cout << "Hello, World!" << std::endl;     std::cout << vec.length() << std::endl;     return 0; }   .  //CMakeLists.txt cmake_minimum_required(VERSION 3.13) project(Testing)  set(CMAKE_CXX_STANDARD 14)  set(SOURCE_FILES main.cpp Objects/Vec3.cpp)  add_executable(Testing ${SOURCE_FILES})   When I try to build and run, I get the following error:   undefined reference to "Vec3<double>::length()". ld returned 1 exit status   What info am I not giving to the linkeditor?


How is the Earth moving in a elliptical orbit around the Sun?

If gravity is transmitted by a four-dimensional fabric of spacetime and the Sun creates a bend in it ,which causes planets to orbit it , shouldn't the planets move in a circular orbit around the Sun rather than the elliptical orbit which they follow now ?


Google Chrome doesn't render .xhtml file when I response:  http://localhost:56685/simple/OPS/cover.xhtml    But when I use file protocol it renders sucessfully:  file:///C:/Users/Kosha/Downloads/cover.xhtml   Is not a problem with bad url as the browser starts downloading the document to hard disk.  <?xml version="1.0" encoding="UTF-8"?>     <html xmlns="http://www.w3.org/1999/xhtml">     <head>     <title/>     <link rel="stylesheet" href="style.css" type="text/css"/>     <link rel="stylesheet" href="style.css" type="text/css"/>     </head>     <body class="cover">     <svg xmlns="http://www.w3.org/2000/svg" class="cover-svg" viewBox="0 0 391 600">     <image height="600" xlink:href="images/cover.jpg" width="391" xmlns:xlink="http://www.w3.org/1999/xlink"/>     </svg>     </body>     </html>


Does there exist a 2D harmonic function which never goes to ∞ at any point, goes to 0 as r goes to ∞, and isn't f=0?

I need a 2D harmonic function which is always real, never diverges to $\infty$ anywhere, goes to 0 as one goes infinitely far away from the origin, and isn't f=0. $$\begin{matrix}0=\nabla^2f&0=\lim_{r\rightarrow\infty}{f\left(r,\varphi\right)}\\\nexists r,\varphi\ni\left|f\left(r,\varphi\right)\right|\geq\infty&f\left(r,\varphi\right)\in\mathbb{R}\\\end{matrix}$$ Does such a function exist? If so what is it? Polar coordinates are prefered.


what risks about Apple chargers always plugged in? I want to leave my iPhone and iPad chargers always plugged under my desk (so I can just connect my device when I want to charge) but I'm worried that they shouldn't be plugged all the time.


What is the sync point of a Sql Server backup? If I have a full backup that runs from 20:12 to 20:38, when I restore the backup is it restoring to the state at 20:12? 20:38? Some other point?


Adding Layer using esriRequest Response in ArcGIS API for JavaScript?

For various reasons I need to add layers to a map object using a response returned by an esriRequest to an ArcGIS Server. One reason being the data will change constantly and hard coding FeatureLayer URLs would prove inefficient.  I have successfully been able to return a JSON object containing attribution that appears to be the same data one would see on the layers REST node.     maps = [];  require([     "esri/map", "esri/layers/FeatureLayer",      "esri/dijit/Print", "esri/tasks/PrintTemplate", "esri/request",      "esri/config","esri/dijit/BasemapToggle",      "dojo/_base/array", "dojo/dom", "dojo/parser",  "dojo/domReady!"  ], function (Map, FeatureLayer,Print, PrintTemplate, esriRequest,      esriConfig,BasemapToggle,arrayUtils, dom, parser){  parser.parse();  console.log("Map Start");  esriConfig.defaults.io.proxyUrl = "http://........./proxy.ashx";  maps.addRespLyrs = function addRespLyrs (layer) {     if (layer.type == "Feature layer") {         console.log(layer.name);         maps.map.addLayer(layer);     } };   maps.handleMapInfo = function handleMapInfo (resp) {     console.log("handleMapInfo called");     maps.layers = resp.layers;     console.log(maps.layers);     for (i in maps.layers) {         var layer = maps.layers[i];         maps.addRespLyrs(layer);     } };  maps.layerRequest = function layerRequest () {     var mapInfo = esriRequest({         "url": "https://........./Application Name/MapServer/layers",         "content" : {"f":"json"},         "handleAs" : "json",         "callbackParamName" : "callback"     });     mapInfo.then(maps.handleMapInfo); };  maps.map = new Map("cpCentCent", {     basemap:"topo",     center: [-98.5795, 39.8282],     zoom: 5 });   console.log("Map End");   When attempting to add the data using the addLayer() method I recieve an error thrown from deep with in esri's API.      init.js:199 TypeError: a.id.match is not a function(…) "TypeError: a.id.match is not a function   Any thoughts as to what could be going wrong here or how to create a layer from my JSON?


What's the English equivalent of the Hindi word फेंकना (fenkna)?

In Hindi, the word फेंकना (fenkna) describe an act of boasting in a way that  is obviously untrue and ridiculous. It might be me bragging about swimming twenty miles few years ago. If you know me, and the fact that I lack any athletic experience, it would be easy to infer that the claim is plain absurd.  The word literally means "to throw", but its use that way is quite popular.   The closest word that comes to mind is "bullshiting", but I wanted to know if there's a more formal one to describe this action.


Adding x and y values while creating a label QGIS

I'm trying to create a label on a map in QGIS.  I can open the setting where there are an X and Y button and a few other properties, like opacity and distance.  I'm pretty sure the problem is that I need to enter the proper X and Y coordinate here, but I don't know how to get to where it lets you enter the coordinates.


This thing is on my junction box but i don't know what it is or what it's for.


notional subject-verb agreement other than for measurement, degree, etc

This is best illustrated with an example:  Nikkie has 7 children. Sam has no children. Sam thinks Nikkie's kids are cute, but she thinks it would be a lot of work to raise them all together.   Sam: "Your children are so cute, but I think 7 children (1) is or (2) are too many to raise together!"  First of all, I do understand that plural nouns require plural verbs, and yes, "child/children" is a countable noun; thus "Your children are so cute." However, as I think of the meaning of the phrase "7 children" more and more, doesn't it become a sort of measurement like dollars, miles, liters, etc?   Like we say, "1,000,000 dollars is a lot of money," should't we say "7 children is too many to raise together"? Or am I over-analyzing here?


Suppose that $A$ is a connected subset of a space $X$ and that $A\subseteq B \subseteq \bar A$. Prove $B$ is connected.

I think I can prove the closure of $A$, that is $\bar A$, is connected, as there are many other threads on this site.  I am then just not sure how to make the jump to show formally that B is connected.


How to make a Wallpaper app for iPhone in XCode?

I'm trying to make a simple Wallpaper app for iPhone in XCode. Wherein i have a bunch of images in my app, user opens an image that they like, and there is a "Set as Background Image" button.  I have managed to make a library of images. How do i add the "Set as Background Image" funtionality? Please help. I am grateful for any amount of help that i will get.


Prove that if a space $X$ is locally path connected then each path component of each open subset of $X$ is open.

I am having difficulty proving the following statement.     If a space $X$ is locally path connected, then each path component of   each open subset of $X$ is open.   In particular, while I have been able to argue that each path component of $X$ is open, I am having difficulty extending this to the open subsets of $X$. My proof of the former is as follows.     First, let $X$ be locally path connected, let $A$ be a path component   of $X$, and let $x\in A$ be an arbitrary point. Because $X$ is locally   path connected, there exists a path connected open subset $U\subset X$   containing $x$. Then $x\in A\cap U$, so $A\cup U$ is path connected.   Since $A$ is maximal, this implies that $U\subset A$, i.e. that $x$ is   an interior point of $A$. Since the same argument holds for every   point $x\in A$, we have that $A$ is open. Thus, each path component of   $X$ is open.   Would anyone here be willing to push me in the right direction? In case there is ambiguity, the text I am following defines a locally path connected space to be one that has a basis of path connected open sets.


Will a "700 x 25-32cc" inner tube fit my "700Cx28/38c" / "ETRTO 622x20" rim?

I have a road bike that has a flat tire, the rim is marked with the text     700Cx28/38c  ETRTO 622x20   I am specifically looking at . Under the sizing options there is an option      700 x 25-32cc   Which I think is the one that I want. The picture of the box (not necessarily correlated to my choice in sizing) has the text     20-622 > 25-630   Which again seems to confirm that this inner tube will be correct.  Will the tube size mentioned above fit the rim I describe? Or, should I select the size 32-42cc because the range on the rim (28/38c) has more #'s in the range 32-42 (6) than it does in the range 25-32 (5)?    I have been reading for a bit now and from what I understand the text on the rim (28/38cc) means that the tire (not tube) size that the rim will fit is between 28mm and 38mm. But what is confusing me here is the sizing of the tubes listed as that are listed as, for instance, 25-32cc. Does this mean the tube itself will fit on rims that can fit tires (not tubes) in the range of 25mm to 32mm?  In the end what exactly should I be looking for; what sizes of tubes will fit this rim properly?    I hate to "beg" for the answer seeing how much it is looked down upon on the stackexchange sites but I seem to actually be at a loss in understanding this correctly...    EDIT: Ok so I think I understand this much better now. My tire itself has the text 700x40c. Which means that the tire itself "prefers" a tube with a cross section of 40mm; moreover the tires cross sectional area is 40 mm!? So I can then buy any tube that says it will fit/(inflate to) a tire with a cross sectional area of 40c.


I upgraded to Ubuntu 18.04 from 16.04. On startup the display is black for 15 minutes, doesn’t boot and is stuck indefinitely displaying Ubuntu logo. Kindly let me know how do I boot successfully as I don’t want to lose my important files.


Drawing a figure with two rectangular boxes in TikZ

I need help in drawing the above figure in TikZ.


I perform some Calculations with floats, and sometimes I divide a number by zero or even zero by zero. As a result, some values of my output array contain -1.#IND0000 values. After that I need to determine whether the value is "normal" or "NaN". How can I do it with if statement?


how does situation of two studios releasing similar movies occur?

Armageddon and Deep Impact Dante's Peak and Volcano Wyatt Earp and Tombstone   I'm certain there are more examples, those are just the ones that came right to mind.  But how is that that separate studios will release similar movies in a close time frame to one another?  this is a question that has often caused me some deep thought.


How do I sort a MySQL table by two columns? What I want are articles sorted by highest ratings first, then most recent date.  As an example, this would be a sample output (left # is the rating, then the article title, then the article date)  +================+=============================+==============+ | article_rating | article                     | article_time | +================+=============================+==============+ | 50             | This article rocks          | Feb 4, 2009  | +----------------+-----------------------------+--------------+ | 35             | This article is pretty good | Feb 1, 2009  | +----------------+-----------------------------+--------------+ | 5              | This Article isn't so hot   | Jan 25, 2009 | +================+=============================+==============+  The relevant SQL I'm using is: ORDER BY article_rating, article_time DESC  I can sort by one or the other, but not both.


I'm playing the Dawnguard DLC and i'm trying to get their dog but it says i already have a pet with me. I can get other people to follow me but not the dog. No mods. For xbox 360


I'm running QGIS 2.6 on OSGeo-Live 8.4 Virtual Machine based on Lubuntu 14.04.  I've set up a GRASS (GRASS GIS 7) environment in QGIS, and I have a merged .tif file of LiDAR images open in QGIS, so I want to use the grass tools to read the LiDAR image. Both the "grass tools" menu option and symbol are not highlighted and I can't select them (but some Grass tools are available such as add Grass raster/vector layer). What am I missing? How can I access the Grass tools?


Are there words that describe the head-hairs, just being curious.


I'm not familiar with algorithm complexity so I'm asking here. I need help determining degital signature complexity, I did some research and all I found is complexity for the D.S.A only: 𝑂(𝐷𝑆𝐴 𝑆𝑖𝑔𝑛𝑎𝑡𝑢𝑟𝑒) =𝑂(2 𝑙𝑜𝑔𝑛). 𝑂(𝐷𝑆𝐴 Verification) = 𝑂(3𝑙𝑜𝑔 𝑛). I'm using RSA Signature and SHA-2 hush function.


Understanding why conditional probability is defined the way it is.

Just moments ago I stumbled upon the definition of conditional probability and I'm experiencing some difficulties in acquiring an intuitive understanding of why it's defined the way it is.   $$P(E|F)= \dfrac{P(E \cap F)}{P(F)}$$  I'm more familiar with taking into consideration the amount of outcomes of interest and dividing that amount by the amount of outcomes in the sample space. I don't know how to interpret the logic behind conditional probability. I understand that $P(F)$ is the probability that the event which is known to have occured occurs. So I suppose that it can be calulated the way I am familiar with. Presumably the same goes for $P(E \cap F)$ by using the Inclusion–exclusion principle. But why one is divided by the other I cannot fathom. Why is it defined this way? How does one make sense of it.


why Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter nothing there on HP Laptop 14s-dk1001au

mmmm i was following on google and youtube not solved my problem anyone can help? my ubuntu version is 20.04.1


What is the intuitive difference between almost sure convergence and convergence in probability?

It is a standard fact in probability that almost sure convergence is stronger than convergence in probability. I can only see the differences in the proof. However, is there a way to view it intuitively? Is it true that almost sure convergence has a tighter hold on the tails of a sequence of random variables than convergence in probability does? The definition of convergence in probability I am using is that given $\epsilon >0$:  $$ \lim_{n \to \infty} P(|X_n-X|> \epsilon) = 0 $$  and the definition of almost sure convergence I am using is:  $$ P(\lim_{n \to \infty}X_n = X) = P\left(\omega \in \Omega: \lim_{n \to \infty}X_n(\omega) = X(\omega)\right) = 1 $$  The two above appear almost exactly the same to me, except that the limit on $n$ is outside of convergence in probability and within the probability measure for almost sure convergence. Is there an easy to understand intuitive difference here? Thanks!


What is the best way to automatically replace $$ ... $$ by \[ ... \] in multiple files?

Thanks to this great site I've  that in LaTeX one should always use \[...\] pair for equations typesetting instead of $$...$$. Unfortunately it is too late: I already have a big text with this obsolete markup, split in multiple source files.   So what is the most elegant way of fixing this issue? I definitely need some preprocessor, and think that  might be the tool of choice. What do you suggest?


Qualcomm Atheros AR9462 with Ubuntu 18.10

I can't enable the Wifi (nothing happens when press enable button) and in Wifi settings it says:     "No Wi-Fi Adapter Found"   I have tried several things from other questions/answers here but nothing worked. Here some information if this is helpful for the answer:     Device: Lenovo Miix 2 11   sudo lspci:  Network controller: Qualcomm Atheros AR9462 Wireless Network Adapter (rev 01)   sudo lshw -C network:  *-network DISABLED            description: Wireless interface    product: AR9462 Wireless Network Adapter    vendor: Qualcomm Atheros    physical id: 0    bus info: pci@0000:02:00.0    logical name: wlp2s0    version: 01    serial: 48:d2:24:8a:ea:e6    width: 64 bits    clock: 33MHz    capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless    configuration: broadcast=yes driver=ath9k driverversion=4.18.0-16-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11    resources: irq:18 memory:f0400000-f047ffff memory:f0480000-f048ffff   sudo lsmod | grep ath:  ath3k                  20480  0 bluetooth             548864  12 btrtl,btintel,btbcm,bnep,ath3k,btusb ath9k                 151552  0 ath9k_common           36864  1 ath9k ath9k_hw              475136  2 ath9k_common,ath9k ath                    36864  3 ath9k_common,ath9k,ath9k_hw mac80211              794624  1 ath9k cfg80211              663552  5 wl,ath9k_common,ath9k,ath,mac80211   In system settings it shows the Wifi-Adapter Name:  Qualcomm Atheros AR9462   Edit:  lspci -knn | grep Net -A3; rfkill list:  02:00.0 Network controller [0280]: Qualcomm Atheros AR9462 Wireless Network Adapter [168c:0034] (rev 01) Subsystem: Lenovo AR9462 Wireless Network Adapter [17aa:3214] Kernel driver in use: ath9k Kernel modules: ath9k, wl 0: phy0: Wireless LAN     Soft blocked: no     Hard blocked: no 1: ideapad_wlan: Wireless LAN     Soft blocked: no     Hard blocked: yes 2: ideapad_bluetooth: Bluetooth     Soft blocked: yes     Hard blocked: yes


If my page titles are dynamically created with PHP will Google be able to read them?

My page titles are dynamically created with PHP: I set my page title in my PHP functions, and when the function is triggered the title is set.  Is Google able to read the page titles?


How to draw tikz paths composed only of horizontal, vertical and diagonal segments?

Inspired by a recent question on stackoverflow about how to draw maps of transportation networks, I'm wondering how to draw paths that consists of vertical, horizontal and diagonal segments.   Just like one can use |- to compose the path of vertical and horizontal segments, I'd like to have a method to automatically replace all square corners with diagonal lines (it is not important if the diagonal segment is at the start, end or in the middle of the path, all would be fine -- bonus points if the inclination if the diagonal segments remains constant)  For illustration: I'd like to automatically draw the red path in the following image without manually adding the break points    Points that have a larger vertical than horizontal distance could be connected like this:    MWE:  \documentclass{standalone}  \usepackage{tikz}  \begin{document}  \begin{tikzpicture}  \coordinate (Marmot) at (0,1); \coordinate (Duck) at (2,0);  \draw (Marmot) -- (Duck); \draw (Marmot) |- (Duck);  \draw[red] (Marmot) -- (0.5,1) -- (1.5,0) -- (Duck);  \node[rotate=45,anchor=west] at (Marmot) {Marmot Burrow}; \draw (Marmot) circle (0.05);  \node[rotate=45,anchor=west] at (Duck) {Duck Pond}; \draw (Duck) circle (0.05);  \end{tikzpicture}  \end{document}


Enable fractional scaling for Ubuntu 18.04

I recently installed Ubuntu 18.04 and discovered that the fractional scaling option that was in 16.04 is no longer there. 200% is too big for my display, and  didn't work for me (the options didn't change after running the command).  Is there another way to get fractional scaling?


is the Turkish version of mancala, with its own set of rules.  I am planning on doing a project in it. Are there any game engines that either specifically play it, or universal Mancala players that plays it after supplying the options?  EDIT:  I am not looking for an app, but for a game engine. For example in chess,  is a playing app, while  is an open-source engine.


I've just installed Ubuntu 18.04 and I want to disable the lock screen.   I don't want to see it at all, neither on power-on nor after suspension.    I tried:      Settings -> Privacy -> Screen Lock -> and changed 'Automatic Screen Lock' to 'Off'.   The lock screen still appears after suspension. Any suggestions?


If Quorra is injured in the physical world, will she bleed or derez?

In Tron: Legacy while in the Grid, Sam Flynn gets injured and bleeds blood. This immediately identifies him as a User instead of a Program.  Later we see Quorra get injured while in the Grid, and her arm de-rezzes. Kevin Flynn opens up her code and removes some sort of problem, and she begins to regenerate (re-rez?), soon regaining consciousness and apparent full health.  At the end of the movie, Sam and Quorra go to the physical world.  If Quorra gets injured in the physical world, will she de-rez in the same manner as she would on the Grid? Can Sam open her code to try to make a repair?


Can a druid who is wild shaped into an ape cast spells that only have somatic components (e.g. Thunderclap)?

The question  is related, but does not deal with "somatic-only" spells; they only say "no" due to lack of access to verbal or material components.    The druid's  feature states:     You retain the benefit of any features from your class, race, or other source and can use them if the new form is physically capable of doing so.   Can a druid who is wild shaped into an ape cast spells that only have somatic components?  For example, the  spell only lists "S" under "Components".  My logic: Ape has hands = can clap?


It seems it's well known that if a sigma algebra is generated by countably many sets, then the cardinality of it is either finite or $c$ (the cardinality of continuum). But it seems hard to prove it, and actually hard to find a proof of it. Can anyone help me out?


How do I run a .sql file with multiple 'GO' statements into Visual Studio c# windows form?

This is my .sql file, it's saved as "Split.sql" and is located in C:\  INSERT Employee (Name)     values ('Roland Eric Real') SELECT *  FROM Employee GO  select      Name,      -- instead of spaces you can use any delimiter that you have like a comma     -- We replace the delimiter with dot, which is used by the function PARSENAME     PARSENAME( REPLACE(Name, ' ','.') ,3) as LastName,      PARSENAME( REPLACE(Name, ' ','.') ,2) as FirstName,      PARSENAME( REPLACE(Name, ' ','.') ,1) as MiddleName from Employee GO  -- If you need to alter the table then -- Alter the table and add new columns ALTER TABLE Employee ADD LastName varchar(50),     FirstName varchar(50),     MiddleName varchar(50) GO  -- Moving the data from FullName to the new columns UPDATE Employee SET      LastName   = PARSENAME( REPLACE(Name, ' ','.') ,3),      FirstName  = PARSENAME( REPLACE(Name, ' ','.') ,2),      MiddleName = PARSENAME( REPLACE(Name, ' ','.') ,1) GO  SELECT *  FROM Employee GO  -- Now we can drop the old column ALTER TABLE Employee  DROP COLUMN Name GO  -- Reclaim space by rebuilt the table ALTER TABLE Employee REBUILD  GO  SELECT *  FROM Employee GO   I am using windows form in visual studio c#. Basically, when I press a button in windows form, I want it to run that code in sql. Any help would be appreciated, thank you. ^_^


Is it safe to execute sudo apt-get autoremove after every update

I always prefer keeping my disk optimized by using the above command. I wanted to know whether this is a safe practice. I am using Ubuntu 16.04


I made a wheel rolling. The animation show a bet slow speed when start and end it. How to fix this. here is my file [


How to colourize text cells automatically in Excel

I have a table in Excel.  There are a few attribute columns for each "thing", the "thing" being the first column.  I want to quickly just add colours to everything of the same type to help visually differentiate them.  For numbers, I'll add a Conditional Formatting rule with a colour scale, and that's sufficient.  In this case though, the attribute field is text.  Sample values include: "Active", "Inactive", "Needs Review".  I don't care what value gets which colour.  I'm just looking for a simple option to automatically apply some colours without having to add a new Conditional Formatting rule for each possible text value.  The following table should have 3 colours for the Status column.  Client, Status Bob's Burgers, Active Lucy's Salad Bar, Inactive George's Existential Crisis, Active Other George's Pub, Needs Review   EDIT: I reference Conditional Formatting twice in my question.  This question is specifically to do it automatically for a spread of text values, without one rule per text value - no updates for new possible values, no picking individual colours, etc.  This is an optimization for the Conditional Formatting rules already described, and not a question about how to use the feature itself.


How to get an outline effect on text in SVG?

I just want a simple SVG image that has some arbitrary text on an angle, which I can do.  Thing is, I also want the text to have a sort of "outline" effect.  Like rather than a solid D, the inside and outside edges of the letter D are drawn with a line of a specified thickness and the rest of the D isn't drawn at all, so as to look almost "hollow".  Can SVG do this?


How do I get Skyrim to recognize I don't have a follower anymore?

I went to do  quest where you need to get Eldergleam Sap. The pilgrim (Maurice Jondrelle) died in a fight on the way there so I was forced to battle with the Spriggans.   They were beating me, so I decided to just book it, hoping Faendal would follow me. I noticed a while later he was gone but didn't think anything of it.   Anyway, he didn't show up and I killed the dragon, getting Lydia to join me, when I asked her to she said it looks like someones already in my group, so I looked for Faendal, finally found him back at his house after I broke in and slept in his bed.  However, he isn't in my party and when I ask him to follow me he says I've already got someone with me. I think the game still thinks Faendal is following me because I never told him to stay put, or go our own ways.  I've even tried killing Faendal, paying my fine, then getting Lydia. But she still thinks someone is with me. When I talk to Faendal, the only option I have is to improve my archery or have him follow me.  How can I unlock my follower slot so Faendal (or someone else) can join me again?


If I wanted to combine these two sentences with and.  There are five documents on the table. There are five pens on the table. Might I say There are five documents and pens on the table? Would the first five here represent the second so that I would not need to say five twice?


I'm a c++ programmer who wrote some php server code to be translated to java and pretty new to Java. But it feels quite common coming from c++. I have a server up and running and this code:  String req = "<xml><version>1</version><test></test></xml>"; Document doc = loadXMLFromString (req); Element root = doc.getDocumentElement();    // "xml"  // check version Element e = firstChildElement (root, "version"); String result = e.getTextContent(); // returns "1"! String expected = "1"; if (result != expected) {     out.printLn ("wrong version: (" + result + "), expected: (" + expected + ")!");     return; }   This prints "wrong version: (1), expected (1)". The same holds with if (result != "1"). Now even the debugger (eclipse) shows that result is actually "1", so I'm truly lost here. I seem to be missing the obvious but just can't see it...can you help pls? Thanks!


DNS, multiple nameservers and geolocation?

Currently, when a DNS client makes a request for a DNS record (say, www.example.com., it needs to traverse the DNS tree. It asks the root servers for the location of com., which it then asks for the location of example.com., which it then asks for the location of www.example.com.. Thankfully, much of this is cached.  If example.com. has multiple, geographically diverse NS records listed, my understanding is that these are listed in random order to avoid all queries going to the first (or last) NS record listed.  This would appear to imply that a DNS resolver in Australia could choose a NS record for a nameserver that's located far away, perhaps in Europe, when there may be another authoritative nameserver that is much closer.  So, my question is: Is there any provision within the DNS spec to allow DNS resolvers to select an authoritative nameserver that's local to them? The only way I can see to achieve this is to have the NS records behind an anycast address and do local resolution that way. Would this work? Is there any other option?


Run web server locally without exposing it publicly?

I am running a dedicated server on Digital Ocean. My site uses Flask on NGINX through Gunicorn. During development I plopped a search engine (solr) on a local VM (through VMWare Fusion) which happens to be running Tomcat. It could have been running any web server per my question. In my app I make all search requests to that local ip: 192.168.1.5. Now, when I install Tomcat on my server and run it you can see it publicly at mysite.com:8080. There's the old welcome screen of Tomcat for the world to see.  I want my app to be able to access it locally through localhost:8080 but not show it to the world. Is this possible?


c# default application - how to get the file content?

I need to write an WPF application, that can be launched as default application at doubleclick on the file with extension .specext in files explorer.  The problem appears... at the beginning. I don't know where can I find the file content or even the information, that the application was launched on opening the file.  Where should I start searching? How to get this file content?  Edit:  I know how to associate file with an application. I don't know how to display its' content when the application is launched.  Edit 2 (solution):  Currently I'm using Environment.CommandLine to get the file path.


How to get your data(Photo's/Video's) from your broken phone?

Last week my Samsung Galaxy Fame broke, everything still works only the screen doesn't work anymore. It won't react if you touch it but it still works when you unlock it, so basically you can't do anything. Does anyone know how to restore my photo's to my PC, when I plug it into my computer it shows me that there aren't any files, but I have done it before and there should be files. Can anyone PLEASE HELP ME?!  THANKS A BUNCH


I'm using Excel 2010 and I have a simple problem where I need to hyperlink a certain part of my text. My cell content is as simple as "For blablabla, click here." I want to add a hyperlink to the "here".   Does anyone know how can I do this?


Looking for a story, from maybe the 1960's, in which an experimental world is rapidly evolved to solve problems

My memory is unreliable. but... What I recall is a story about someone who develops life from scratch in a small contained laboratory vessel, then accelerates evolution super fast until the life forms become sentient. These creatures live in fear of him, because he maintains a consistent pattern as a god of wrath and vengeance, punishing failure and disobedience with massacres and arbitrary cruelties. He sets them progressively tougher technological challenges to solve, which they manage every time, and he is able to profit from their technological advances. Until finally he sets them the task of building an impenetrable forcefield. By this point they are way superior to humans in their capabilities, and much much faster in every way, but still confined to their flask. They have not yet discovered their terrible God is just a life form abusing them, and their known universe is a flask. Anyway, they build a force field and successfully isolate themselves from him. There is nothing on Earth  that can penetrate the sphere they have built around their habitat. After a brief interval they switch off their force field and send him a message. They say they are afraid they may have offended him because they have not heard from him (their God). They seem to be begging forgiveness, but clearly they are also starting to work things out and discover their powers. He finds he can no longer switch them off.  THE END. I read this story at least 40 years ago and would love to find it again. I've probably mis-remembered it in parts, but I think its message is more relevant today than ever. Can someone point me to the original please?


I have a table with a composite foreign key like so:  CREATE TABLE a (   a1 INTEGER,   a2 INTEGER,   a3 INTEGER,   a4 INTEGER,   -- other columns   FOREIGN KEY (a1, a2, a3, a4) REFERENCES b );   The foreign key may or may not exists, therefore a1 to a4 may be NULL, however if so, they should be NULL all at the same time. Is there a better way to specify such an "optional composite foreign key" than to add a (rather verbose) constraint like so?    CHECK ((a1 IS NULL) = (a2 IS NULL) AND           (a3 IS NULL) = (a4 IS NULL) AND           (a1 IS NULL) = (a3 IS NULL))


How would bonds fare if interest rates rose?

The first thing I learned about bonds is that when interest rates rise, the price of existing bonds tends to fall. Unfortunately, I didn't learn much else about bonds. So I have a couple questions about them.   If interest rates rise I'm sure it will affect some kinds of bonds more than others. What are the different kinds of bonds and how do they fare in time of changing interest rates? My financial planner suggested 20% of my 401(k) should be in bonds. (I am decades away from retirement.) What do they add to my portfolio in terms of risk and diversification? (I guess I'm asking why wouldn't I drop most of the bonds from my portfolio since they've been outperformed by my mutual funds over the last couple years when interest rates have been stable?)


Alternate running a console Application as Exe and WinExe

I have a C# console application that I am running with its output type set to "Windows Application" to prevent the console from being seen during normal use. However, I would like the option to alternatively run the program as a console application at will, in case the user wanted to troubleshoot and view the console's output.  Is it possible to pass a command-line argument to the executable to either run the application in "Console" mode or "Windows Application" mode depending on the user's desire? If not, is there any other way to change on the fly if an application will show the console or not?


Joint distribution of correlated poisson random variables

Say $X_0, X_1$ and $X_2$ are independent Poisson random variables with means $\lambda_0, \lambda_1$ and $\lambda_2$, respectively. Define $Y_1 = X_0+X_1$ and $Y_2 = X_0 + X_2$.   How would I find an expression for the joint probability of $Y_1$ and $Y_2$, that is, $P(Y_1=y_1, Y_2=y_2)$?  Approaches I have attempted, unsuccessfully:  1) $P(Y_1=y_1, Y_2=y_2) = P(X_0+X_1=y_1)*P(X_0+X_2=y_2|X_0+X_1=y_1)$ but I am unable to solve the second probability.  2) Trying to set up a multivariate transformation with $Y_1 = X_0+X_1$ and $Y_2 = X_0 + X_2$, but I get stuck when trying to write $X_0, X_1$ and $X_2$ in terms of $Y_1$ and $Y_2$ to get the Jacobian.


Upgrading to newest nVidia drivers on a laptop that uses Optimus? (Ubuntu 15.04)

I'm running Ubuntu 15.04 on a laptop with an Intel HD Graphics 5000 and a nVidia GeForce 520M, joined by an Optimus.  I'm trying to upgrade my graphics drivers to the latest provided by the vendor so I can use .  However, when I try switch to any driver besides the default open source one, glxinfo gives me this error:  X Error of failed request:  BadValue (integer parameter out of range for operation) Major opcode of failed request:  154 (GLX) Minor opcode of failed request:  24 (X_GLXCreateNewContext) Value in failed request:  0x0 Serial number of failed request:  33 Current serial number in output stream:  34   ...and then when I reboot, my graphics don't work, so I have to revert to the old drivers via the command line.  The thing is, I've been able to use Optimus on this laptop before (via optirun).  Any thoughts?


Smoke Domain (quick smoke) grows between size keyframes

i have a keyframe with the size of the smoke domain at the very beginning of my animation and a keyframe at the middle. I want the smoke domain to enlarge at the second keyframe and not to grow between them is this somehow possible? Cant find the right option.  There must be a option to make the values not to rise  between keyframes.  thanks in advance Ben SuperSpamTube


Restore windows 7 without “system repair disk”

I have a blank hard drive. I also have a Windows 7 system image backed up on an external hard drive. I don't have a system repair disk (SRD) and also don't have Windows 7 disk. I only have the recovery disks that came with my laptop. There is no option in the recovery disk to restore from a system image. So, I am forced to use the old stuff in the recovery disk.   I have two questions -    Can I restore my system from an image on a USB based HDD, without any SRD ? Can I create an SRD in a windows 8 system for a windows 7 system ? I know this might sound strange, but what if an SRD is just a collection of backup utilities ? If no microsoft based answer is there, then is there any commercial software which can do this instead ?   I don't even have access to an original Windows 7 disk right now. So, that option is ruled out too.  Thanks.


I am just setting up a server that occupies firewalld as the main firewall, but I have a problem ... doing systemctl status firewalld  it appears that the service is running, but with certain problems Feb 06 03:17:53 VPS1256 systemd[1]: Starting firewalld - dynamic firewall daemon... Feb 06 03:17:54 VPS1256 systemd[1]: Started firewalld - dynamic firewall daemon. Feb 06 03:17:54 VPS1256 firewalld[1667]: WARNING: AllowZoneDrifting is enabled. This is considered an insecure configuration option. It will be removed in a future release. Please consider disabling it now. Feb 06 03:17:54 VPS1256 firewalld[1667]: WARNING: ipset not usable, disabling ipset usage in firewall. Feb 06 03:17:54 VPS1256 firewalld[1667]: WARNING: Failed to load nf_conntrack module: modprobe: ERROR: could not find module by name='nf_conntrack'                                          modprobe: ERROR: could not insert 'nf_conntrack': Function not implemented                                          modprobe: ERROR: Error running install command for nf_conntrack                                          modprobe: ERROR: could not insert 'nf_conntrack': Operation not permitted Feb 06 03:17:54 VPS1256 firewalld[1667]: ERROR: Failed to read file "/proc/sys/net/netfilter/nf_conntrack_helper": [Errno 2] No such file or directory: '/proc/sys/net/netfilter/nf_conntrack_helper' Feb 06 03:17:54 VPS1256 firewalld[1667]: WARNING: Failed to get and parse nf_conntrack_helper setting Feb 06 03:17:55 VPS1256 firewalld[1667]: WARNING: ebtables not usable, disabling ethernet bridge firewall.  What are these errors due to? Any way to fix them?


How to install linux-generic-hwe in ubuntu 17.10.1

I freshly installed ubuntu 17.10.1 on my hp and my wifi seems to be not working. I searched for solution then i found apt-get linux-generic-hwe-16.04 it throws an error package not found  i run this command   lspci -vnn | grep Network   output  02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:d723]   `


How do you properly use namespaces in C++?

I come from a Java background, where packages are used, not namespaces. I'm used to putting classes that work together to form a complete object into packages, and then reusing them later from that package. But now I'm working in C++.  How do you use namespaces in C++? Do you create a single namespace for the entire application, or do you create namespaces for the major components? If so, how do you create objects from classes in other namespaces?


I have the following example:  \documentclass{article} \usepackage{amsmath} \usepackage{tikz} \usetikzlibrary{matrix}  \begin{document}      \begin{equation}      \begin{tikzpicture}[baseline=(current bounding box.center)]         \matrix (m) [matrix of math nodes,nodes in empty cells,         nodes=draw,         right delimiter={]},         left delimiter={[},          row sep=0.1cm,          column sep=0.1cm,         minimum width=1.5cm,         minimum height=1.5cm]       {        \mathbf{M}_0 & \mathbf{0} &        &     &        & \mathbf{0} & A(0)(0) & A(0)(1)  & \mathbf{0}   &        &        & \mathbf{0}   \\        \mathbf{0} & \mathbf{M}_0 &        &     &        &        & \mathbf{0}  & -A(0)(0) & A(0)(1)  &        &        &          \\               &        & \mathbf{M}_0 &     &        &        &         &          & -A(0)(0) &        &        &          \\               &        &        &     &        &        &         &          &          &        &        & \mathbf{0}   \\               &        &        &     &        & \mathbf{0} &         &          &          &        &        & A(0)(1)  \\       \mathbf{0}  &        &        &     & \mathbf{0} & M(0) & \mathbf{0}  &          &          &        & \mathbf{0} & -A(0)(0) \\       \mathbf{M}_0 & \mathbf{0} &        &     &        & \mathbf{0} & A(0)(0) & A(0)(1)  & \mathbf{0}   &        &        & \mathbf{0} \\        \mathbf{0} & \mathbf{M}_0 &        &     &        & \mathbf{0} & \mathbf{0}  & -A(0)(0) & A(0)(1)  & \mathbf{0} &        & \mathbf{0} \\               & \mathbf{0} & \mathbf{M}_0 &     &        & \mathbf{0} &         & \mathbf{0}   & -A(0)(0) &        &        & \mathbf{0}  \\               &        &        &     &        &        &         &          & \mathbf{0}   &        &        & \mathbf{0} \\               &        &        &     &        & \mathbf{0} &         &          &          &        &        & A(0)(1) \\       \mathbf{0}  & \mathbf{0} & \mathbf{0} &     & \mathbf{0} & M(0) & \mathbf{0}  & \mathbf{0}   & \mathbf{0}   &        & \mathbf{0} & -A(0)(0) \\       } ;       \end{tikzpicture}    \end{equation} \end{document}   How can I align all the nodes, some boxes (empty) are somehow out of alignment?  Thanks alot!


Coloured cells in Tabular printing over table lines

I'm using Tabular and XColor to color some cells of a table, but some of the coloured cells are "printed above" the lines of the table (see attached image, which shows part of the table). How could I avoid this?  Thanks in advance for your time and effort! :)    \begin{center} \begin{tabular}{|l|cccc|cccc|cccc|} \hline  (...first part of the table, not relevant...)  First item & \cellcolor{gray!25} & \cellcolor{gray!25} & \cellcolor{gray!25} & \cellcolor{gray!25} & \cellcolor{gray!25} & \cellcolor{gray!25} & & & & & & \\ \hline Second item & & & & & \cellcolor{gray!25} & \cellcolor{gray!25} & & & & & & \\ \hline Third item & & & & & \cellcolor{gray!25} & \cellcolor{gray!25} & \cellcolor{gray!25} & \cellcolor{gray!25} & & & & \\ \hline  (...the rest of the table...)  \end{tabular} \end{center}


Are two groups isomorphic if each is isomorphic to a subgroup of the other?

Let $G, G'$ are two groups. If $G$ is isomorphic to Subgroup of $G'$ and $G'$ is isomorphic to Subgroup of $G$ then $G$ is isomorphic to $G'$. Is that above statement TRUE or FALSE.


A couple of graduate schools I have applied to have a section for reporting the Fall semester grades (the application deadlines were before the end of the Fall semester). My GPA has decreased by 0.1 and my previously-outstanding GPA is not outstanding anymore, and even though I haven't received any terrible grades (my grades were A, A-, and B+), I don't have a straight-A transcript any more. That being said, I have two more graduate-level courses in related topics with decent grades. Now I am wondering whether in this situation I should report the new grades or I shouldn't, given that it is an optional section of the application to be completed after submission.  I appreciate your comments on that.


Comment hint not disappearing when I start to type comment

If I click "add comment", the comment hint (placeholder; "Request clarification or add information.") is not a hint, but editable text. If I delete the text and click outside of the comment then the hint appears as it should and when I click back into the comment box the hint disappears as it should.   I am on Internet Explorer 10.0.7.  Am I just oblivious and this is how it has always been (having to delete the comment hint), or is this a bug?


Can Poké Balls technically catch humans?

In the Pokémon franchise (I'll accept answers from any canon source, whether the anime, manga, games or anything else I can't think of), Poké Balls are used to catch Pokémon. Could you, in theory, use them to catch a human being? Is there any canon example of someone attempting it (I suppose it has probably occurred at some point in the anime for example)? Is there any canonical factor that makes it technically impossible (such as "Humans and Pokémon are fundamentally different", but I think I remember that this isn't true) or is it possible in theory but simply not done in practice?  EDIT : My question is different from the general "How does a Poké Ball work" question because I'm specifically asking whether / why it can not catch humans. The answer to the other question does address this, but in passing, and it does not provide any sources, and links to a page that may have been a good source in the past, but is now devoid of any relevant content (or canon quotes) so it doesn't really answer my question.


Thanks for taking a look at my question.  How can I get this formatting (shown in image)?    I appreciate your help, this community is great.


How To Change Default "Do Not Disturb" To Priority Only

I've experimented and looked all over for a solution to this, but it doesn't seem like anyone has wanted to do it yet.  I'm running Android 6.0 Marshmellow on a Droid Turbo 2. When I use the volume buttons to silence my phone, it defaults to Alarm Only, but I want it to default to Priority Only. Is this possible? It would save me the tiny pain of going into my Quick Settings Menu each time I want to switch to Priority Only.  Thanks!


How can $\frac{x^3-4x^2+4x}{x^2-4}$ be both $0$ and "undefined" when $x = 2$?

Suppose I have a function defined as $$F(x)= \frac{x^3-4x^2+4x}{x^2-4}$$  Now I want to find the value of $F(2)$. I can do it in 2 ways:   Put $x=2$ and solve the function. It will give:  $$F(2)=\frac{0}{0}$$ which is not defined. Solve $F(x)$ first and then put $x=2$.   $$F(x)= \frac{x(x-2)^2}{(x-2)(x+2)}=\frac{x(x-2)}{x+2}$$  It will give $${F(2)=\frac{0}{4}}$$ which is zero.   How can zero equal not defined?


Let $(p_n)_{n \in \mathbb{N}}$ be the sequence of prime numbers, then $\lim_{n \to \infty}\frac{p_{n+1}}{p_n} = 1$?

The Bertrand postulate is that $p_{n+1} < 2p_{n}$ but it is far to be enough to conclude.   I made a program in $R$, to see the convergence of this sequence for the first $500$ prime numbers and it seems to converge to 1. Is this true, and how to prove it ?


I have a Bash script that has an array called myarray.  This array contains complete file location paths for 4 files.  What I am trying to do is sort the array elements by the file creation date.  So just as a quick example, if I have the following 4 files in the array:  /tmp/file1.txt (in index 0) /tmp/test/file1.txt (in index 1) /tmp/test1/file1.txt (in index 2) /tmp/test2/file1.txt (in index 3)   ...and the file in index 2 has newer creation date then the others, it should be sorted into index 1 and so on.  I originally thought the following would do it:  myarray=($(for each in ${myarray[@]}; do echo $each; done | sort -n))   But if I look at the array contents I do not see the newest file in index 0.  Would anyone know of a way to accomplish this in bash?


Print arguments to printf in no particular order

How can I refer back to arguments to coreutil's printf in no particular order?  This is what I want to avoid:  $ printf '%s %s %s %s %s %s %s' a c a c b c a a c a c b c a   This is what I would like to do:  $ printf '%s %s³ %s¹ %s³ %s² %s³ %¹' a b c a c a c b c a   This is how to do it with Perl.  perl -e 'printf ("%s %3\$s %1\$s %3\$s %2\$s %3\$s %1\$s\n", 'a', 'b', 'c');' a c a c b c a   Notice only four arguments are passed to printf.


Why Speed of light in vacuum remains constant?

I know that the speed of light remains constant irrespective of whether the light source is moving or not. But it's very difficult for my brain to visualize it. Light has dual characteristics, i.e. of both waves and particles, thus how can it be possible if a light source is moving near the speed of light that its emitted light will not reach more than $c$? (I know, as per Einstein, time slows down for moving objects.)


Does an object creates gravitational waves when only accelerating in one direction?

I know from reading about the gravitational waves detected by Ligo, that when an object has angular acceleration, it produces gravitational waves.  I'm wondering if an object creates gravitational waves when only accelerating in one direction, however?   I'm also curious as to how the nature of the waves would differ in this case.


Shortest correct sentence in English- use of contractions

I often hear people saying that "I am" is the shortest sentence in the English language.  I know that there are also discussions about sentences using the imperative mood such as "Go." that would be shorter, but my question is this:  Why would we (the people saying "I am" is a full sentence) not accept "I'm" as a complete sentence?  Is there some unwritten rule about contractions that says "I'm" wouldn't be correct?


How to configure an exposed filter in a view using a date picker?

How can I configure an exposed filter so that users can filter my site content by creation date, preferably using a date picker?   I tried using Content: Authored on as filter, but it gets me a text field to enter the date to enter a date/time in the yyyy-mm-dd hh:mm:ss format, which makes entering the date more difficult for users and more error prone.  What is the difference between Drupal 8 and Drupal 7 with  7.x-3?


Prove that ${2^n-1\choose k}$ and ${2^n-k\choose k}$ ar always odd.

How can I prove that ${2^n-1\choose k}$ and ${2^n-k\choose k}$ always returns odd numbers? It is possible to prove this by congruence?  by the way : $0 \leq k \leq (2^n-1)$


How to create a bootable DVD to install Ubuntu 18.04 in Windows 10

Yesterday I downloaded Ubuntu ISO file from . Then I used Windows file explorer to burn the ISO to my DVD-R. Then I went to boot manager and selected the DVD drive. It showed "Please select a proper boot device".  I guess I have to install grub bootloader in order to install Linux but I don’t have any idea how to install it on my DVD.


Flights from Lima to Houston don't allow passengers to bring water on board (even if purchased after the security checkpoint):    They do screen passengers' carry-on baggage right before boarding.  Which flights to the US don't permit passengers to bring water or other liquid on board (even if purchased after the security checkpoint)? Does that apply to any international flight to the US nowadays? Or only from some airports or countries?


Let $S(n)$ be the sum of digits of $n$,where $n$ is an natural number. If $n=p$ be a prime number, then my questions are   Are there infinitely many primes $p$ such that, $S(p)=q$ and $q$ is also a prime? If there are only finitely many such prime numbers, then what is the largest such prime?


If I were to buy a game digitally on eShop for the Nintendo switch, could I play that game on another Nintendo switch?

Can anyone tell me if I were to buy a game virtually for the Nintendo switch, and my switch breaks,and then I buy a new one, could I play that game on my new console?


How to disable Low Disk Space red bar in Windows 10?

I would like to make these "Red drives" look same as those blue ones. Nothing serious, just annoying when watching it.


Combinatorial Proof of $\binom{n+1}{k} = (n+1)\binom{n}{k-1}/k$

When n and k are positive integers.   Would this be a correct proof?  Description: Suppose how many ways can we choose k people from a group of n + 1.  LHS: The left-hand side gives us the number of ways to do this by definition, on how to select k from n+1.   RHS: The right-hand side gives us the number of ways to do this as well, but instead, it first counts the number of elements plus one (n+1) times the number of ways to choose an element a subset of k - 1 in n over the number of elements k.


Linear functional on a Banach space is discontinuous then its nullspace is dense.

I need to prove that: If a nonzero linear functional $f$ on a Banach Space $X$ is discontinuous then the nullspace $N_f$ is dense in $X$.   To prove that $N_f$ is dense, it suffices to show that $\overline N_f = X$ which is equivalent to $(X \setminus N_f)^o=\emptyset$. (the interior of complement of $N_f$ is null set.) Since $f$ is a linear functional and is discontinuous, it has to be unbounded. I don't know exactly how to utilize these observations.   Also on a related topic, I'm a little confused about how to exploit the a Linear Functional $f:X \to R$ or a Linear Operator $T:X \to Y$ being unbounded. Can I say that if a linear operator is unbounded then exists a sequence $<x_n>$ in $X$ s.t.  $||Tx_n|| > n^2||x_n||$ for each $n$ or $||Tx_n|| > n||x_n||$ ?


Force a polynomial fit to pass through zero intercept

I have to perform a polynomial fit but I have to force it to pass through intercept zero. How can I do it? Here the standard code for poly fit. If you have the answer in pure math it’s fine. require 'matrix'   def regress x, y, degree   x_data = x.map { |xi| (0..degree).map { |pow| (xi**pow).to_r } }     mx = Matrix[*x_data]   my = Matrix.column_vector(y)     ((mx.t * mx).inv * mx.t * my).transpose.to_a[0].map(&:to_f) end  Basically, the same when in Excel I check "Set Intercept" to zero


Prove that for every integer $x ∈ \mathbb Z$, the number $x^{102} − x^2$ is a multiple of $2020$.

I believe this is to do with modular arithmetic, maybe along the lines of factorising $2020$ into primes and working with totients . $2020= 2 \cdot 2 \cdot 5 \cdot 101$. The Euler totients of $4,101,$ and $5$ are $2,100$ and $4$ respectively. I am unsure of how to proceed further. Any help would be appreciated.


Are there earphones with support for buttons similar to the OEM earphones?

I have a Samsung Galaxy SII plus. In the package I also got earphones from Samsung. The problem is that those earphones are in-ear, and they don't fit me well. I was wondering if there are 3rd-party earphones with the same capabilities (a pause/play button is what I like the most, but volume control and a microphone are also welcome) that is not too expensive.   I could only find earphones with that capabilities for iPhones, so is there a way to some transform this input so android can read it?   I would really like your advice on this matter, thanks in advance!


Set permanent command shortcut in terminal to cd to Downloads

I wrote a new text file in /bin named ram which contains:  watch -n 1 free -h   and a file sen:  watch -n 1 sensors   in the same folder, in order to avoid typing   watch blahblahblah...  every time.  Also, I changed permissions of these two from  -rw-r--r--   to  -rw-r--r-x   and achieved my goal. It worked even after reopening shell, i.e. then I could type ram instead of watch -n 1 free -h  But, problem was encountered after I tried the same procedure for   cd /home/myname/Downloads/   and new text file saved in /bin and named dow, same with permissions.  This time dow does nothing in terminal, even not showing any message.  I tried saving the same file in /usr/bin, but again terminal does nothing and my working directory doesn't change.  How is this possible?


Adding categories to custom post type in permalink

I know people have asked this before and have gone as far as adding the custom post type, and rewrite for permalink.   The problem is I have 340 existing categories which I would like to continue using. I used to be able to see /category/subcategory/postname  Now I have the slug of customposttype/postname. Selecting the category no longer shows up in permalink...I've not changed the permalink setting in admin to anything different.  Is there something I'm missing or need to add to this code?  function jcj_club_post_types() {     register_post_type( 'jcj_club', array(         'labels' => array(             'name' => __( 'Jazz Clubs' ),             'singular_name' => __( 'Jazz Club' ),             'add_new' => __( 'Add New' ),             'add_new_item' => __( 'Add New Jazz Club' ),             'edit' => __( 'Edit' ),             'edit_item' => __( 'Edit Jazz Clubs' ),             'new_item' => __( 'New Jazz Club' ),             'view' => __( 'View Jazz Club' ),             'view_item' => __( 'View Jazz Club' ),             'search_items' => __( 'Search Jazz Clubs' ),             'not_found' => __( 'No jazz clubs found' ),             'not_found_in_trash' => __( 'No jazz clubs found in Trash' ),             'parent' => __( 'Parent Jazz Club' ),         ),         'public' => true,         'show_ui' => true,         'publicly_queryable' => true,         'exclude_from_search' => false,         'menu_position' => 5,         'query_var' => true,         'supports' => array(              'title',             'editor',             'comments',             'revisions',             'trackbacks',             'author',             'excerpt',             'thumbnail',             'custom-fields',         ),         'rewrite' => array( 'slug' => 'jazz-clubs-in', 'with_front' => true ),         'taxonomies' => array( 'category','post_tag'),         'can_export' => true,     ) );


Limit of this sequence $ \lim_{n\to \infty}\sqrt[n]{\frac{2^n + 3^n + 4^n}{5^n + 6^n}}$?

How to find the limit of this sequence. I tried using the squeeze theorem but no result yet. $ \lim_{n\to \infty}\sqrt[n]{\frac{2^n + 3^n + 4^n}{5^n + 6^n}}$


Determine minimal polynomial for given matrix.

Let $A\in L(V), A = \begin{bmatrix}0&0&...& 0 & \alpha_{1}\\0&0&...& 0 & \alpha_{2}\\\vdots&\vdots&\ddots&\vdots&\vdots\\0&0&...& 0 & \alpha_{n-1}\end{bmatrix}$. Determine its characteristic and minimal polynomial.   I have concluded that $k_{A}(\lambda) = (n-1- \lambda)(-\lambda)^{n-1}$, but I am stuck on minimal polynomial. My strategy was to observe $(A - \lambda I),(A - \lambda I)^{2},...$ , until I get matrix $(A - \lambda I)^{k}$ such that $\dim(Im ((A - \lambda I)^{k})) = n-1$, but since all those matrices are diagonal, my understanding is that we will never achieve that.


$H$ prime order, normal subgroup of group $G$. Prove $H$ in center $Z(G)$.

I am looking at the following question: "Let $H$ be a normal subgroup of prime order $p$ in a finite group $G$. Suppose that $p$ is the smallest prime that divides the order of $G$. Prove that $H$ is in the center $Z(G)$."   Thoughts: We know that $H$ is a normal subgroup of $G$ and that $H$ has prime order. So, $H$ is cyclic and generated by some element $x \in G$. So, $H=\langle x\rangle$. Since $H$ is normal $gH = Hg$ for all $g \in G$. Thus, $x$ is in the center $Z(G)$. Since $H = \langle x\rangle$, then $H \in Z(G)$.   Is this the correct logic? Thanks!


Any tips or solutions for this one?  By using a diagonal argument, show that the powerset $P(N) = (S|S ⊆ N)$ is uncountable.


Sorting by multiple fields at same time in QGIS?

Is it possible to sort multiple fields at the same time in QGIS?    For example, I'd like to sort a table by state name, and then within each state, sort by county name.    This would be the same as the Advanced Sort option available in ArcMap.


What is the song played at 6:54 in the 5 episode of Parasyte - the Maxim?

Did anyone know? It's the scene when Kana looks into the eye of Shinishi, I really love this song, and it's not in the OST.


Why aren't the variables in my javascript code working?

The code I am using is supposed to make an image, square.png, move to the cursor. However, the code cannot run.  I've tried to look for typos and errors in my code.  var canvas = document.createElement('canvas'); canvas.width = 800; canvas.height = 600; document.body.appendChild(canvas);  document.addEventListener('mousemove',function(event){      var similarX = event.clientX;     var similarY = event.clientY;     document.getElementById('body').innerHTML = "x:" + similarX + ", y:" + similarY; }) var square = new Image(); square.src = 'square.png';  window.addEventListener('load' , start);  var c = canvas.getContext('2d'); function start() {     c.fillStyle = 'green';     c.fillRect = 10, 10, 30, 30;     c.drawImage(square,similarX , similarY);      window.requestAnimationFrame(start) } document.body.appendChild(canvas);   this is from between the script tags in an html document.  The square is supposed to be drawn at where the mouse pointer is, but according to Chrome dev tools, the variables similarX and similarY are not recognized in the function "load".


How to scale a tikzpicture to \textwidth

I would like to scale my tikzpicture to exactly (or a proportion of) the \textwidth  Of course I could play with the [scale=0.5] option until I found the right value, but I assume there must be an easier way.  How to get a properly scaled (the fonts still must be correct) tikzpicture with an exact width.


So I am trying to take basic input values like a or b between two different user inputs, match them, and print the score for that one loop, then also print the accumulative total score. I feel like I am doing it right but every time my score prints out the value of 0. So lets say the key values are a a a and the and values are a b a. That should print out the value 2, and continually run, also resetting the score back to 0.      InputStreamReader reader = new InputStreamReader(System.in);     BufferedReader input1 = new BufferedReader(reader);     BufferedReader input2 = new BufferedReader(reader);      String inputValue;     String[] key;     String[] ans;     int totalScore = 0;      inputValue = input1.readLine();     key = inputValue.split("\\s+");      while(true){         int score = 0;         inputValue = input2.readLine();        ans = inputValue.split("\\s+");         if(key[0] == ans[0])           score += 1;        if(key[1] == ans[1])           score += 1;        if(key[2] == ans[2])           score += 1;         totalScore = score;         System.out.print(score + "\n");        System.out.print(totalScore + "\n");   }


Let $R$ be an integral domain and let $S$ be a ring with $R \le S \le \text{Frac}(R)$ (fraction field).   Question: Is there a multiplicatively closed subset $U \subseteq R\setminus \{0\}$ such that $S=R[U^{-1}]$ ?


Blender is saving as a blend1 file, not blend

I teach Blender to classes of game design students in the University of California and a student came to me yesterday with a problem I haven't seen before. She's created a very simple file, but when it's saved Blender puts a .blend1 extension on it every time, not the normal .blend. This means that after it's saved twice there are two .blend1 files in the directory, and no .blend file. I have no idea why this is happening. What has she done? Anyone seen this before?  thanks - Chris


Why use JSON to transfer data from an Ajax call OVER x-www-form-urlencoded?

If I set the ajax format to x-www-form-urlencoded I can easily access the sent data in the $_POST['whateverinput'] global, but if I use JSON it will introduce another problem of having to convert it back to a usable format to PHP with   $_POST = json_decode(file_get_contents('php://input'), true);   Why bother with JSON to transmit data from AJAX?


Manga/webtoon where the protagonist has eyes that warn him of things using colours; his emotions were sent back to his younger self

A story about a male protagonist with special eyes that tells him if things are safe or not; green = safe. Can’t remember if it’s a manga or webtoon. It starts with a male protagonist who was dying on a battlefield, the goddess took pity on him, sent his emotions back into his younger self, (not memories). He had eyes that told him what is safe/good and what is dangerous/bad by using colors: green, orange, red. He used this to gamble, his eyes stopped working, borrowed money from his ex-girlfriend (who works in a cafe). Money got stolen while he took a nap by a river, the evil lady who stole his money tried to get him to enter a contract. From his future emotions, he knew he wanted an invitation instead. This leads to a gathering of people in a school gym, their tasks are given. Invited people are given bags with tools. An oni busted out under the floor. People get killed. Stairways with gates, etc. This is considered the tutorial. Points are given after, those points are needed to buy daily necessities. The protagonist had the highest points, given VIP room. Etc.


For which p the sum is convergent?  $$ \sum_{n=2}^{\infty}\frac{1}{(\sqrt{n+1}+\sqrt{n})^p}\ln\frac{n-1}{n+1} $$ Clearly I have no idea how to solve problems of this type,tipsI think will help me


Please help to escape NPE error in the String.split() method in Java

Please help to escape NullPointExeption error in the String.split() method in Java. String got from the user entering. It can't compile. In the case of hard code of the variable all is fine.   Class Calculator:  public class Calculator {     private String mathExpression;      public void setMathExpression(String mathExpression) {         this.mathExpression = mathExpression;     }      private String[] parts = mathExpression.split(" ");      private String firstNumber1 = parts[0];     //add other elements to the array...     public void calculatorRun() {         //using all the variables     } }   Class CalculatorTest:  public class CalculatorTest {     public static void main(String[] args) {         Scanner scanner = new Scanner(System.in);         String userAnswer = "y";         Calculator calculator = new Calculator();          while (userAnswer.equals("y")) {             System.out.print("Please put the math expression: ");             calculator.setMathExpression(scanner.nextLine());             calculator.calculatorRun();         }     } }


How do you acknowledge the useful comments left by the reviewers invited by a journal that rejected your paper?

Sometimes a paper is rejected but you obtain some useful suggestions or remarks on improving your paper, directly or indirectly.  When you improve your paper per the suggestions to a certain degree with the intention to submit the paper to another journal, how do you acknowledge the good opinions from the anonymous reviewers?  In addition, is this academically necessary?


python: how to keep the script run after plt.show()

After the plt.show() , I just want to continue. However it is necessary to close the Pop-up Figure.  how could i do to skip the action ?  there is my codes:  plt.show() time.sleep(1) plt.close('all')   other codes  there is other question about how to maximize the figure making by plt.show()


What is the difference between expense and cost ?  what is the phrase to describe all the cost for one person in one day?


Integer linear combination of three coprimes

Let $h, k, l$ be three co-prime integers. Can we always find a set of integers $n_1, n_2, n_3$ such that $n_1 h + n_2 k + n_3 l = 1$ ?  Thanks.


Ubuntu unusable after trying to update to 16.04

I tried to update my Ubuntu 14.04 to 16.04 and in the middle of the process the computer suffered a power down.  After turning it on again it was unstable, for example the screen wasn't the right resolution.  Trying to solve that I did run sudo apt-get update but the problem persisted. Also the top bar disappeared.  Then I tried to change the nvidia default drivers, selecting from the XOrg to another option. I didn't take a screenshot.  After that I couldn't access Ubuntu again. I tried turning the computer on again and getting into recovery mode, and the screen gets frozen and dead.  I tried rescatux as well, in order to fix GRUB in case it was an issue with that.  Now I have the computer turned on with the 14.04 live CD. I do have the hard drive mounted.  Is there any way to access any file in that drive and modify it in order to undo the selection of that Nvidia driver?  Or is there anything else that I could try?  Please take into consideration that I cannot access Ubuntu, so I cannot type anything into the terminal.


I want to use the /clear command to remove a book with the name “block” from a player’s inventory. I don’t want to take away just a normal book, how do I do this with commands in 1.16.2? I've tried: clear @p minecraft:book 1 {display:{Name:”block”}}   Which did not work, any help? There is another similar question, but the answer to that is above, which does not work for me, maybe they changed how it works in an update?


Hi I have this laptop which is perfect and has 16 gb of ram, but some programs go crazy and I run outta ram. So not that perfect! I have another laptop which has 8gb of ram. What I'm trying to achieve could not work,and could be also stupid.That's why I'm asking here by the way. Now I want to use that 8gb ram as much as possible somehow. So my way would be,turn the ram into a ram disk on the second laptop,share it through network with the first laptop. Is it practical? A Lan cable could be the best option here? What's better than this if it's practical?And what to do instead if it isn't practical. Please don't suggest using ssd, I have an ssd on my first laptop already.I will never use it as a ram backup. Ssd's are not still ready for that,they're too fragile.


If $a,b,c$ are the sides of a triangle and $p,q,r$ are positive real numbers then prove that $a^2(p-q)(p-r)+b^2(q-p)(q-r)+c^2(r-p)(r-q)\ge 0$  After modification. I have to prove $(a^2 p^2+b^2 q^2 + c^2 r^2) \ge pr(a^2+c^2-b^2)+qr(b^2+c^2-a^2)+pq(a^2+b^2-c^2)$


What is the difference between independent and mutually exclusive events?

Two events are mutually exclusive if they can't both happen.  Independent events are events where knowledge of the probability of one doesn't change the probability of the other.  Are these definitions correct? If possible, please give more than one example and counterexample.


I am trying to use Giggle and gitg on my computer.  Both apps display code from git directories.  Both apps show the following when I scroll:    Since the apps are from different groups, I suspect an underlying issue with a gtk component, but I haven't been able to find a bug report anywhere and am not even sure where to submit one.  Does anyone know how to resolve this (visual) issue or have a good handle on who to ask about it?  I am running Lubuntu 17.04.


What is the term for words that can be used as the opposite of themselves?  I know there are a few of them out there, it is possible to 'Dust a cake with Icing' and if the cake were on a shelf for a long time (must be a bad bakery) then it would be acceptable to 'Dust the cake' to remove any dust particles...  In this case, 'Dust with Icing' implies the addition of something to the cake where 'Dust the cake' implies the action of removing dust from the cake  Other examples:   Bolt - To hold in place or to Run away with haste... Trim - To remove a small portion or to add small bits that make it pretty...


What can cause the Community user to have favorite questions?

On most sites including the main Stack Overflow site,  has no favorites. So far so good.  However today I noticed that on the  it got 26 questions marked as favorite.  If favorites owned by users who get deleted are "transferred" to the Community user we should have seen LOTS of favorites on Stack Overflow where I'm pretty sure users get deleted frequently.  Any insights on this are welcome.


Can we automatically detect discouraged patterns in question titles?

Given  I was wondering whether it would be viable to detect patterns like Foo: Does the quick brown fox jump over the lazy dog?  in a question's title and show a sort of warning  It looks like you are including a tag in your title. The format [TAG]: Question and similar are strongly discouraged and you should include tags in the appropriate section below.  I believe this could educate new users, especially those coming from a forum background. Seriously my eyes hurt every time I see iOS - How to blablabla NSString: cannot blablabla ...  I'm aware of  but it's two years old and it has been dismissed with - in my opinion - questionable reasons. Specifically Jeff stated  [It's] not really a problem so long as they are not happening "too often". It is the ritual and systemic use of tags in this manner that I object to, not the mere presence of it at all.  This was two years ago. Right now I feel like this format is being abused and we are doing nothing for discouraging it. Also I strongly believe that moving the tags box before the question title (as proposed in ) would help a lot. Clearly people think about narrowing the topic down before making the question, and I think it's also why we get so many tags in the titles.