Alien studying human race for mental capacity and ESP

I am trying to remember a novel I half read as a teen (1984-1986), I borrowed it from the library but had to take it back before finishing.  I believe it was in an omnibus/ compilation edition book with two or three SciFi stories by different authors.  The plot was an alien studying the mental capacity and ESP of the human race.  The alien abducts a low level criminal/ wise guy from America and takes him to a base in the Arctic (perhaps) for study.  He is subjected to a number of physical and mental tests to find out how dangerous or powerful the human race could become.  I got as far as the criminal overpowering the alien and escaping in his spaceship to explore the galaxy.  Unique things I remember;   The human is put in an exo-skeleton to test and improve his flexibility. The human manages to fool the alien ESP testing/ training equipment.   Escapes his cell at night to use it unsupervised to increase his ESP powers in order to gain the upperhand.  In his travel through the galaxy he meets a insectoid race, (butterfly like? or maybe bat)   The insectoid is amazed humans still dream, when he gets telepathically pulled into a dream the main character is having.  ESP powers the main character gains includes matter translation, like turning wood into a steak or hamburger. The main character doesn't understand the risks of overuse of ESP powers.


What is the difference between classical thermodynamics and statistical mechanics?

What is the difference between classical  and ?  To me, they are greatly different but are different approaches for explaining same thing. But I do prefer Statistical mechanics. The former deals in a macroscopic sense while the later investigates in a microscopic approach. It is evident in the definition of Second law given by them.  So, are there differences between the two? If so,what are they?


If $x,y\in \mathbb{R}$, and $x>y$, how to show $(x-y)^{((x-y)/(2x-y))}\times (x+y)^{((x)/(2x-y))}>x$?  I know I have to use AM-GM inequality, but it is not clear how.


how to download gta san andreas on ubuntu 12.04?

i wanna a download link of grand theft auto san andreas version linux ubuntu 12.04 please anyone give me a download link of mta san andres and gta san andreas version linux ubuntu 12.04


Find a point on the plane of a triangle such that the sum of its distances from three vertices is minimum.  I am guessing that it is the centroid but I can't prove that.


What are the prerequisites to encounter the legendaries in ORAS?

There are a lot of legendaries available in ORAS, however a lot of them will only show up/be available if certain prerequisites are met.  I know Groudon/Kyogre are available through the Story, and      Rayquaza & Deoxys   through the postgame Delta episode, but what about the other available legendaries? What do I need to do to catch them?


Apex Batch class without passing any SOQL

I have simple requirement to insert number of Accounts. Now what I noticed to call the following I have to pass SOQL which is irrelevant since there will be no use of the result of this query  Please suggest how can I call batch apex without passing SOQL.  Database.executeBatch(new BatchAccountsProcess('Select id from Account limit 1'));   global class BatchAccountsProcess .... {    global BatchAccountsProcess(String qryStr)  {      Query = qryStr;  }    global Database.QueryLocator start(Database.BatchableContext BC)  {      return Database.getQueryLocator(query);  }  global void execute(Database.BatchableContext BC,List<sObject> scope)  {        for(integer iAcc = 0 ;iAcc < 5000 ; iAcc++) {         Account accObj =  new Account(name='Arijit_batch_'+iAcc);         lstAccount.add(accObj);     }                Database.insert(lstAccount);   }   }


Is it possible to define a macro for the align* environment, or allow multi-line support for the equation display mode $$ $$?  I use the align* environment very frequently, and a typical usage goes as follows: \begin{align*} A &= B \\ &= C \end{align*}  Typing the entirety of the command every time becomes a hassle, so I attempted to define a macro for them: \documentclass[10pt]{article} \usepackage{geometry}% larger text width \usepackage{amsmath}  \newcommand{\begin{align*}}{\bal} \newcommand{\end{align*}}{\eal}  \begin{document} text here \end{document}  But this throws errors, seemingly because \begin etc. can't fit into defining a \newcommand: ! LaTeX Error: Command \begin already defined. (Line 5) ! Undefined control sequence. (Line 5) ! LaTeX Error: Command \end already defined. (Line 6) ! Undefined control sequence. (Line 6)  So is it possible to do one of the following?  Define a shortcut for the align* environment. Get a multi-line alignment support for the display mode $$ $$. Find another command that creates multi-line aligned equations with optional numbering.


I have a user control that I load into a MainWindow at runtime. I cannot get a handle on the containing window from the UserControl.   I have tried this.Parent, but it's always null. Does anyone know how to get a handle to the containing window from a user control in WPF?  Here is how the control is loaded:  private void XMLLogViewer_MenuItem_Click(object sender, RoutedEventArgs e) {     MenuItem application = sender as MenuItem;     string parameter = application.CommandParameter as string;     string controlName = parameter;     if (uxPanel.Children.Count == 0)     {         System.Runtime.Remoting.ObjectHandle instance = Activator.CreateInstance(Assembly.GetExecutingAssembly().FullName, controlName);         UserControl control = instance.Unwrap() as UserControl;         this.LoadControl(control);     } }  private void LoadControl(UserControl control) {     if (uxPanel.Children.Count > 0)     {         foreach (UIElement ctrl in uxPanel.Children)         {             if (ctrl.GetType() != control.GetType())             {                 this.SetControl(control);             }         }     }     else     {         this.SetControl(control);     } }  private void SetControl(UserControl control) {     control.Width = uxPanel.Width;     control.Height = uxPanel.Height;     uxPanel.Children.Add(control); }


In HLW8012 where should I connect the reference voltage (GND)

In the , the both 33nF capacitors , 1K resistor and 0.1uF capacitor are connected to GND. I'm not sure where should I connect those ends of components marked with GND symbol, (To Live, To Natural or the DC GND). I can't read Chinese, I don't really know what everything mean there.  Live directly connects to the shunt resistor and this means that live is also GND (0 volt reference) for the chip? Should I connect those end of components marked as GND symbol to Live wire?


What's the right course of action for cross-site duplicates?  There are two flavors:   A question is posted which belongs on another site and ends up already having been asked there. I can't find an example right now, but it's bound to happen soon if it hasn't already. The same question is posted in two places at the same time. Take  for example, which is a duplicate of , posted within a half hour of each other by the same user.   Possible actions:   Move it to the proper site and close it once it gets there as a duplicate. Provide a way to close it right away as a cross-site duplicate, without moving it first. Flag it and let a moderator merge them. Close it as "no longer relevant" or something else.   Additionally, flavor 2 is a bit of a special case; perhaps the question really spans both sites in terms of content and intended audience. Should multiple-postings in this case be allowed? If so, should they somehow be linked to each other? If not, how do we avoid a migration war?


A questionable sentence involving relative pronoun

I found the following sentence grammatically questionable:  The Eclipse can reveal an entirely new path that we weren’t aware it was an option.  I think it should be,  The Eclipse can reveal an entirely new path that we weren’t aware was an option.  Source:


Is there a word category for a certain kind of words beginning with 'a-'?

A few words beginning with an a came up to my mind recently because their structure is similar in the way they convey their meaning. Those words are like: atop, alight; afloat, afresh, anew, asleep, etc. Where a seems to have a meaning like "on the _ of", "in the _ of", "on a", "in a" or other particular meanings that slightly change the meaning of the following syllable. Though these words obviously do not belong to the same part of speech, are they all linked? Also, why is the prefix "a" so common?


I want to extend my C: partition and I have freed 290 GB space.  But the Extend Volume option is still unavailable and grayed out, why can't I extend my C: partition?


Let $d$ be a metric on $X$ and $(X,d)$ a non-compact metric space i.e. $X = \mathbb{R}$ or $\mathbb{Q}$   For $x,y \in X$ define   $$ \tilde{d}(x,y) := \begin{cases} d(x,y), & \text{if }d(x,y) < 1, \\ 1,      & \text{else.} \end{cases} $$   Show that $\tilde{d}$ is metric on $X$.   My attempts  Because $d$ is a metric, $\tilde{d}(x,y) \ge 0$ for all $x,y \in X$. If $x = y$, we have $d(x,y) = 0 < 1$ and therefore $\tilde{d}(x,y) = 0$ If $\tilde{d}(x,y) = 0 \neq 1$, we have $\tilde{d}(x,y) = d(x,y) = 0$ and therefore somit $x = y$.  This metric is trivially symmetric, since $d$ is.  Let $x,y,z \in X$.  Case 1: $d(x,z) < 1$. Then we have             $$     \tilde{d}(x,z)     = d(x,z)     \le d(x,y) + d(y,z).    $$  Case 2: $d(x,z) \ge 1$. Then, we have             $$     1     = \tilde{d}(x,z)     \le d(x,z)     \le d(x,y) + d(y,z).    $$  But I know know how to continue from here, I know that we have $\tilde{d}(x,y) \le d(x,y)$ für alle $x,y \in X$, but I don't know how to use it.  Is my approach for the positive definiteness and symmetry correct? How can I prove the triangle inequality?


If I want to find the inverse number of $5$ $mod448$ using $gcd$. I try to do like that: $448=89\cdot5+3$ $gcd(5,448)=gcd(89,3)$ $89=3\cdot29+2$ $gcd(89,3)=gcd(29,2)$ $1=29-2\cdot14$ $1=29-14\cdot(89-29\cdot3)$ $1=43\cdot29-14\cdot89$ But here I don't know how to continue, maybe I have mistake...


Total angular momentum of a planet orbiting a star

Would the total angular momentum of a planet orbiting a star while rotating on it's axis be the sum of the orbital rotational momentum and the rotational momentum about it's axis?


How to get icons in Safari favorites (aka favicons) to display correctly?

I am using Safari on macOS Sierra. I have added several commonly-used sites to my favorites section, like so:    (there are 10 icons, and all but 2 of them are displayed as the proper, correct icon from the site. For example, the Wikipedia icon has the large W icon. However, for Google Drive and Gmail, the icons are just big, ugly, generic G's)  I would like for the two Google sites to correctly display their icons as well. At first, I thought it was because all 8 of the "correctly displayed" sites had successfully configured their "Safari settings" or something like that, while Google failed to do this (although this doesn't sound too plausible).  However, if I instead go to the top menu in Safari, click Bookmarks > Show Bookmarks, I get the following:    Strangely, this time, the two Google sites do have correctly displayed icons, while it is instead three other sites (out of the 10) that aren't displayed: namely Wikipedia, Amazon, and New York Times.  So it seems that there are two sets of icons, "big" and "small", and for big icons, Google Drive and Gmail are not displayed correctly, while the other 8 are, and on the other hand, for small icons, Google Drive and Gmail are displayed correctly, while Wikipedia, Amazon, and NYTimes are not.  I actually don't care too much about the small icons, but I would really like for all the big icons to display correctly. How can I do that?


What statistical test to use when both predictor and response are count data?

I'm running a statistical test on a model that I made in scratch. It involves a bear catching salmon. The predictor variable is how many salmon can the bear eat before it needs to stop for a while and digest. So the predictor increases {1,2,3,...,30}. Then the response is the amount of salmon caught. From reading online it seems that the poisson and negative binomial apply when Y is count data and X is categorical. So what should I use when both are count data? Thanks a million, Eamon


Does keeping a computer on power kill the battery?

If we keep a computer charging, does it affect the battery so much that battery-life is greatly shortened? I am trying to find out why someone else's computer battery always gets bad after a couple of months using it. Is it just education on being aware to remove the plug when batteries are full, or is there any trick to use? Details The particular computer is HP, and the battery is Li+. But information about other battery types on this same respect is welcome.


There is a display issue in  page. when you will scroll down to end of page side bar is merging with footer.


What is the process for applying a realistic texture over an emission object (ex a fluorescent lamp cover)?

What is the correct node procedure to add in a realistic texture over top of an emission object (CYCLES)? Adding an emission shader makes an object completely uniform with no apparent depth to it, in which case we add a fresnel or layer weight. So let's say I have a plane with an emission shader on it -- What I'm trying to do is take a texture like this  And apply it over top of that plane so that the emission comes through it and still provides light to the scene, and (ideally) takes into account the light and dark areas of the image rather than simply an even, uniform brightness throughout. As a point of comparison, this is the kind of effect I'm getting now by simply using the image texture as an emissive plane -- note the lack of detail and texture in the lit signs.


Need to pull data from old Windows machine

Customer dropped a Win7 laptop off that they showed conclusively that they own...but they don't remember the password for the only account. Machine has not been in regular use for 4+ years, and reformatting and reinstall of the operating system can't be done until the data is safely duplicated to another drive.  How should I proceed?


Find all derivable functions such that $f(0)=0$ and $|f'(x)|≤|f(x)|,∀x∈\mathbb{R}$

Find all derivable functions $f:\mathbb{R}→\mathbb{R}$ such that $f(0)=0$ and $|f'(x)|≤|f(x)|,∀x∈\mathbb{R}$ I know the way is to use the Mean value theorem in an interval [0,1] and some how prove it is a contraction and iterating to the infinite we find something like f = 0, but I don't know how to do that


I've always considered C++ to be one of the most strongly typed languages out there. So I was quite shocked to see  state that C++ is weakly typed. Apparently,  C and C++ are considered weakly typed since, due to type-casting, one can interpret a field of a structure that was an integer as a pointer.  Is the existence of type casting all that matters? Does the explicit-ness of such casts not matter? More generally, is it really generally accepted that C++ is weakly typed? Why?


I’d like you to tell me the font the the person who wrote what’s in the picture , is using:


Fredholm alternative theorem for matrices

Let $A\in M_{n\times n}(\mathbb{R})$ symmetric and $b\in \mathbb{R}^n$.  How I can prove that if $b\perp \ker A$ then there exists $x\in \mathbb{R}^n$ such that $Ax=b$?  Many thanks!


Mouse wheel deselects text on High Sierra

This issue was previously reported here: , but there is not a solution, the question is a year and a half old, and the issue is closed without higher rep.  Using 10.13.2.  Text selection stops and restarts when using a mouse wheel. This problem does not occur when using the trackpad.  The issue is not Logitech specific--I use a Kensington trackball and work and a Logitech trackball at home, and I have the same problem with both.  The posted select-scroll-shift-select solution works, but is frustrating.


Backup & Restore Error in MS SQL Server 2016

I have a backup from SQL Server 2016. I want to restore it in my pc but I am getting this error.     The database was backed up on a server running version 13.00.1400.   That version is incompatible with this server, which is running   version 11.00.5343.   I have searched in Google and have try to upload some patches but it's still the same.How can I fix it.


I'm trying to prove the following inequality by purely algebraic means  $$\frac{|x-y|}{1+|x-y|}\leq \frac{|x-z|}{1+|x-z|}+\frac{|z-y|}{1+|z-y|}.$$  My arguement is as follows:   Notice that, $|x-z|+|z-y| \geq |x-y|$ and from this inequality we can write $1+|x-z|+|z-y| \geq 1+|x-z| $ and $1+|x-z|+|z-y| \geq 1+|z-y|$. Now,   $$\frac{|x-y|}{1+|x-y|} \leq \frac{|x-z|+|z-y|}{1+|x-z|+|z-y|}\leq \frac{|x-z|}{1+|x-z|}+\frac{|z-y|}{1+|z-y|}.$$  Is this correct?


Has the Community user become self aware? Do we need to pull the plug now, before it starts self replicating and decides to take over humanity?  Ok, more seriously, I just noticed that the Community user has fixed some grammar on an answer on aviation:      Is this a new feature? What is it's scope? How does it decide to do this?   I've been using stackexchange sites for a long while, and I've never seen this before


How to get sum / total length of lines per polygon in QGIS?

I have a line vector layer which has multiple segments within individual polygons in a separate polygon layer. I have spatially joined the attributes so that each line segment now has the same ID as its corresponding polygon.  I need to calculate the lengths of the lines within each polygon according to the polygon ID. Is there an expression I can use to do this? I have already calculated the lengths of the individual segments but I need to get the sum of these according to each unique polygon ID.  I am a novice at complex SQL expressions within QGIS, ideally I would like a new column displaying the info.


how to control CPU frequency in 14.04? juipiter and cpu-freq cannot be installed due to bugs.. Kindly help.. the pc in boiling..


How to disable all iOS notifications temporarily while actively using/mirroring the device?

I use my iPad a lot as I teach, showing the students slides, videos, etc.  Having a words with friends, draw something, or email notification, especially with personal content in the first line, show up is always distracting.  I see that I can change notification settings per-app, but don't see  a way to disable all notifications system wide. Disabling apps individually works, but requires a bit of effort and time, and isn't something that can be done mid-lesson.  Is there a way to disable all notifications from appearing while you are actively using the device (e.g. while having your device mirrored on a screen during a lesson, presentation, demonstration, etc.), then re-enable all previously allowed notifications without fiddling with each one individually?


How can I determine whether my processor is 32-bit or 64-bit? My processor is AMD Phenom 8450 triple-core.


Distribution of successes of poisson process followed by a binomial distribution

I have been stuck with a problem for a couple of days regarding the distribution of outcomes from a two-stage process. Specifically, what is the distribution of the number of successes in a poisson process followed by a series of bernoulli trials, where the number of trials is determined by the result of the poisson process. If this is not clear, I’ll explain by way of example.  Suppose we have a hunter who is setting out to catch rabbits. To do this he sets up a trap. Rabbits pass over the trap at a rate of $r$ times per day (poisson distributed). However, the trap is not very good. If a rabbit walks over the trap, there is only a $p$ (probability) chance that it activates.  If the trap has no limit on the amount of rabbits it can catch, what does the distribution of rabbits caught per day look like?  My intuition is that it should follow a poisson distribution with mean $r.p$. However, I have been unable to prove this analytically. I figure that the probability of a given number of ‘successes’ should be calculable through the poisson distribution and the binomial distribution. Something like:  $ P(X=x) = \sum_{i=x}^{Inf} poisson_{pmf}(i | r) . binomial_{pmf}(x | i, p) $  We can then substitute in the respective mass functions into the above equation. However, beyond that I am getting stuck. Any help or a point in the right direction would be great appreciated.


Is there any way to convert a Word document to an image? I suppose you can print screen, but that is pretty painful.


Show the result of the following infinite sum, based on a binomial random variable conditioned on a Poisson random variable

$$\sum_{n=0}^\infty \binom{n}{k}p^k(1-p)^{n-k}\frac{\lambda^ne^{-\lambda}}{n!} = \frac{(\lambda p)^ke^{-\lambda p}}{k!}$$  That is, given a random variable $X$ with Poisson distribution $X \sim \operatorname{Poisson}(\lambda)$, and, given $X = n$, random variable $Y$ is distributed by a binomial such that $Y \sim B(n,p): p \in [0,1]$. Given $n$, $P(Y = k|X = n) = \binom{n}{k}p^k(1-p)^{n-k}$. Given $\lambda$, $P(X=n) = \dfrac{\lambda^ne^{-\lambda}}{n!}$. Therefore, $P(Y = k|\lambda) = \sum_{n=0}^\infty P(Y = k | X = n)P(X = n | \lambda) = \sum_{n=0}^\infty \binom{n}{k}p^k(1-p)^{n-k}\dfrac{\lambda^ne^{-\lambda}}{n!}$. What properties and identities can be used to demonstrate the equality above?


If $A$ and $B$ are proper ideals of a ring with no zero divisors, show that $A\cap B \neq \{0\}$    Ideals:  A subset $I$ of a ring $R$ is called an ideal if   $I$ is a subring of $R$ For all $a\in I,r\in R$ $ar\in I$ and $ra\in I$.     $A$ and $B$  both satisfy the above. How to show that $A\cap B \neq 0$?


Was Snape better than Voldemort at Legilimency?

I have wondered this because of Snape being a double agent and the power of the Dark Lord to read minds using Legilimency.  Was Snape able to resist this or was he able to temper it so that he only revealed the parts that he wished?  Was he more accomplished in this than He Who Must Not Be Named, as Snape says that the Dark Lord is very gifted in this area of magic?


Observation: It seems that it's common to turn a store name into a possessive, for example a store named "Palisade" gets transformed to possessive in speech like, "Hey how about going to Palisade's for breakfast?" Another example is  in Seattle. Many (most?) store names do not get this treatment. It seems most common if the store name is:   Abstract: "I saw a great concert at BOOT's last night." A person's name, or what looks like a person's name: "I got this at JC Penney's" Totally unknown word: "I get my hair cut at Foofum's" [UPDATE] Is it ungrammatical to do this?   My assumption is that it's a short form of saying "BOOT's performance venue" (nonsensical though?), "JC Penney's shop", or "Foofum's salon".  Questions:   Is this common, or is it just my home town or something? Or my imagination? Why must we do this instead of simply calling the store by  rightful name? To me "I saw a concert last night at BOOT." is no less clear, and no more difficult to say.      a


Is it correct to have 's with these words?

Is the form: vigings' history/legend correct? Or the only way to show the possession in these cases is with the the of form? More examples would be: germans' ..., austrians' ... etc.


Diophantine Equations : Solving $a^2+ b^2=2c^2$

I was working through some number theory problems , when I came across the following question :     Find all solutions of $a^2+b^2=2c^2$   My Solution (Partial) :        We can rewrite the above equation as : $c^2 = (a^2 + b^2)/2 $   So $\Rightarrow$ $a^2 , c^2 , b^2$ are in an Arithmetic Progression $\Rightarrow$ there exist infinite solutions   WLOG , let $a^2$ be $t$ , $b^2$ be $s$ and $c^2$ be $m$   The equation can be re-written as $ t + s = 2m$   Now , what I was thinking was that should I solve this Diophantine equation for $t$ & $s$ in terms of $m$ ; substitute their values back into the equation and find out $m$ ; and then finally put this value of $m$ back into the values of $t$ and $s$ to derive a general solution      Can someone help me out ? Maybe a hint ...


I'm new to Java. So I have a java class titled "Banks" and I'm trying to write code in a JSP.....  This is what I have so far, but I don't want to keep going because of the errors. "Banks" is underlined and when I hover over it it says "Banks cannot be resolved to a type". What does that mean? I searched and it said that types should be capitalized and I did that but the error is still there.   <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "w3.org/TR/html4/loose.dtd"> ;  <html> <head>     <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">     <title>Insert title here</title> </head> <body> <%      Banks b = new Banks(); //stuff goes in here      List<Accounts> accounts = bank.getAccounts(); %> </table> </body> </html>


Why are nvda programs being held back on upgrade?

After  I noticed that my GPU information disappeared from psensor. I am getting an error when I run nvtop I get Impossible to initialize nvidia nvml : Driver Not Loaded and then as I was upgrading I saw this: sudo apt upgrade -V Reading package lists... Done Building dependency tree        Reading state information... Done Calculating upgrade... Done The following package was automatically installed and is no longer required:    libfprint-2-tod1 (1:1.90.2+tod1-0ubuntu1~20.04.2) Use 'sudo apt autoremove' to remove it. The following packages have been kept back:    libnvidia-cfg1-440 (440.100-0ubuntu0.20.04.1 => 450.80.02-0ubuntu0.20.04.2)    libnvidia-compute-440 (440.100-0ubuntu0.20.04.1 => 450.80.02-0ubuntu0.20.04.2)    libnvidia-compute-440:i386 (440.100-0ubuntu0.20.04.1 => 450.80.02-0ubuntu0.20.04.2)    libnvidia-decode-440 (440.100-0ubuntu0.20.04.1 => 450.80.02-0ubuntu0.20.04.2)    libnvidia-decode-440:i386 (440.100-0ubuntu0.20.04.1 => 450.80.02-0ubuntu0.20.04.2)    libnvidia-encode-440 (440.100-0ubuntu0.20.04.1 => 450.80.02-0ubuntu0.20.04.2)    libnvidia-encode-440:i386 (440.100-0ubuntu0.20.04.1 => 450.80.02-0ubuntu0.20.04.2)    libnvidia-extra-440 (440.100-0ubuntu0.20.04.1 => 450.80.02-0ubuntu0.20.04.2)    libnvidia-fbc1-440 (440.100-0ubuntu0.20.04.1 => 450.80.02-0ubuntu0.20.04.2)    libnvidia-gl-440 (440.100-0ubuntu0.20.04.1 => 450.80.02-0ubuntu0.20.04.2)    libnvidia-gl-440:i386 (440.100-0ubuntu0.20.04.1 => 450.80.02-0ubuntu0.20.04.2)    libnvidia-ifr1-440 (440.100-0ubuntu0.20.04.1 => 450.80.02-0ubuntu0.20.04.2)    nvidia-compute-utils-440 (440.100-0ubuntu0.20.04.1 => 450.80.02-0ubuntu0.20.04.2)    nvidia-driver-440 (440.100-0ubuntu0.20.04.1 => 450.80.02-0ubuntu0.20.04.2)    nvidia-kernel-common-440 (440.100-0ubuntu0.20.04.1 => 450.80.02-0ubuntu0.20.04.2)    nvidia-kernel-source-440 (440.100-0ubuntu0.20.04.1 => 450.80.02-0ubuntu0.20.04.2)    nvidia-utils-440 (440.100-0ubuntu0.20.04.1 => 450.80.02-0ubuntu0.20.04.2)    xserver-xorg-video-nvidia-440 (440.100-0ubuntu0.20.04.1 => 450.80.02-0ubuntu0.20.04.2) 0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.  I would very much like to be able to monitor my graphics card (1660ti)


prove the continuity of $T_\phi f=\int_0^1 f(x)\phi(x) \,dx\\$

Let $\phi\in C[0,1]$ and let $T_\phi~:C[0,1]\rightarrow\mathbb{R}$, defined as $T_\phi f=\int_0^1 f(x)\phi(x) \,dx\\$. How can i prove that it's a continuous operator?


How can I deduce the existence of $2^X$ from the powerset axiom

The below exercise and the axiom to which it pertains can be found in Tao's Analysis I, which I am currently self studying.      Axiom 3.11 (Power set Axiom) For any two sets $X$ and $Y$, there exists a set, denoted $Y^X$, which consists of all functions from $X$ to $Y$. Thus,    $$f\in Y^X \ \iff \ (f \ \text{is a function such that} \ f:X\to Y).$$   Exercise 3.4.6 Show that the above axiom implies the existence of the set   $$2^X:=\{S\mid S\subseteq X\},$$   which consists of all subsets of a set $X$. (Hint: start with the set $\{0,1\}^X$ and apply the , replacing each function $f$ with the object $f^{-1}(\{1\})$.    As the author suggested, we start with the set  $$\{0,1\}^X = \{f\mid f:X\to\{0,1\}\},$$ and replace its elements with subsets of $X$. Clearly, this procedure yields the set $2^X$ however, I am unsure how I can apply the axiom of replacement. How can I do this bit? Any hints or tips are greatly appreciated.   Edit: This question has been , I have just found.


Prove that $(1+2+3+\cdots+n)^2=1^3+2^3+3^3+\cdots+n^3$ for every $n \in \mathbb{N}$.  I'm trying to use induction on this one, but I'm not sure how to. The base case is clearly true. But when I add $n+1$ to the right and left hand sides, I don't know what I'm supposed to get. For example, when I extend the right hand side's sequence by $n+1$, I get $n^3+(n+1)^3$ at the end of the sequence, which is $2n^3 +3n^2+3n+1$.  This doesn't seem that meaningful, so I don't know how to proceed.


How to add new item to the Windows 10 "All Apps" section

I want to add a new item (in this particular case a shortcut to Putty SSH client) to my Windows 10's All Apps section.   I have already found out that I can "Pin to Start" any item, however, this will only create a new tile on the right side of the Start Menu and won't add any new item to All Apps. Thus, pressing  Win and typing "putty" won't return any result.  Creating a new shortcut and adding it to shell:start menu has the same effect as pinning to Start, so it's not a solution.  Note:  question might look the same, but the accepted answer doesn't apply to my requirements as I need the item to be searchable, and not only a new tile.  Note 2: I can confirm that after waiting several hours for Windows to reindex its index I manually rebuilt the whole index, but putty still can't be found neither in search results nor in "All Apps" list.


grep inverted match on the file and not on a line by line match

I have a set of files that contain some information. I am interested in the subset of files that do not contain a specific pattern at all. E.g.    cat file.txt   foo   bar   trivial information some customer data      let’s say that I am interested in files that do not have the line ‘trivial information’. How would I do that? If I do:     grep -v ‘trivial information’      it will not work because the rest of the lines in the file are match to this inverted search so the file.txt will end up in the result. So how do I do an invert match on the whole file and not line by line?


Prove $\int_0^{\infty}\! \frac{\mathbb{d}x}{1+x^n}=\frac{\pi}{n \sin\frac{\pi}{n}}$ using real analysis techniques only

I have found a proof using complex analysis techniques (contour integral, residue theorem, etc.) that shows $$\int_0^{\infty}\! \frac{\mathbb{d}x}{1+x^n}=\frac{\pi}{n \sin\frac{\pi}{n}}$$ for $n\in \mathbb{N}^+\setminus\{1\}$   I wonder if it is possible by using only real analysis to demonstrate this "innocent" result?  Edit A more general result showing that  $$\int\limits_{0}^{\infty} \frac{x^{a-1}}{1+x^{b}} \ \text{dx} = \frac{\pi}{b \sin(\pi{a}/b)}, \qquad 0 < a <b$$ can be found in


What is the "Wanna Cry" ransomware's possible impact on Linux users?

It's just come to light that there's a $300 ransom you have to pay because ransomware targeting Microsoft Windows has encrypted your data. What steps do Linux users need to protect from this if for example they are using wine?  This ransomware is widely reported to be based on a tool developed by the NSA to hack into computers. The NSA tool was used by a hacker group called the Shadow Brokers. The code can be found in .  Microsoft released a patch (MS17-010) against this vulnerability on March 14, 2017. The mass infection is reported to have begun spreading on April 14th. This is discussed .  As I haven't booted Windows 8.1 in 6 to 8 weeks, can I apply this patch from Ubuntu without booting Windows first? (After research it may be possible ClamAV could report the vulnerability from the Linux side looking into Windows partition but it's unlikely it could apply the patch. The best method would be to reboot into Windows and apply patch MS17-010.)  Individuals and small companies who subscribe to Microsoft Automatic Updates are uninfected. Larger organizations who delay apply patches as they are tested against organization intranets are more likely to be infected.  On May 13, 2017, Microsoft took the extraordinary step of releasing a patch for Windows XP which has been unsupported for 3 years.  No word if wine is doing anything about a security update. It was reported in a comment below that Linux can be infected too when users run .  An  registered a domain name that acted as a kill-switch to the ransomware. I presume the non-existent domain was used by the hackers on their private intranet so they didn't infect themselves.  Next time they will be smarter so don't rely on this current kill-switch. Installing the Microsoft patch, which prevents exploiting a vulnerability in the SMBv1 protocol, is the best method.  On May 14, 2017 Red Hat Linux said they are not affected by "Wanna Cry" ransomware. This might mislead Ubuntu users along with Red Hat, CentOS, ArchLinux and Fedora users. Red Hat supports wine which answers below confirm can be effected. In essence Ubuntu and other Linux distro users googling this issue might be mislead by the Red Hat Linux Support answer .  May 15, 2017 Update. Over the last 48 hours Microsoft released patches called KB4012598 for  to protect against "Wanna Cry" ransomware. These Windows versions are no longer on automatic updates. Although I applied security update MS17-010 on my Windows 8.1 platform yesterday, my old Vista Laptop still needs patch KB4012598 downloaded and manually applied.       Moderator note: This question is not off topic - it asks about whether or not any Linux users need to do any steps for protecting against the risk.      It is perfectly on topic here, because it's relevant to Linux (which Ubuntu is), and it's also relevant for Ubuntu users running Wine or similar compatibility layers, or even VMs on their Ubuntu Linux machines.


If $P_1$ and $P_2$ are coprime, how do I show that $\ker ( (P_1 \times P_2 )(f) )=\ker(P_1 (f)) \oplus \ker(P_2(f))$?

Suppose that $P_1$ and $P_2$ are coprime between them in $\mathbb{K}[X]$. Show that    $$ \ker ( (P_1 \times P_2 )(f) )=\ker(P_1 (f)) \oplus \ker(P_2(f)).$$   I tried by starting off by showing that the right hand equality is true, that is $\mathbb{K}[X]$ is indeed equal to $\ker(P_1 (f)) \oplus \ker(P_2(f))$.  My first attempt was to show that $$\ker(P_1 (f)) \cap \ker(P_2(f))= \{ 0 \} .$$  But I got nowhere. I think I could have used the Bezout theoreme, that is:      If $P_1$ and $P_2$ are coprime, then $\exists U,V \in \mathbb{K}[X]$ so that $P_1U(X) + P_2V(X)=1$   But nothing comes to my mind.


Run Rsync for multiple files in parallel from 2 different directories and find elapsed time for each file and all files

I have lots of dump files in 2 different directories that need to be uploaded using rsync, I want to run rsync for each dump file simultaneously to save time.  Dump Files:  Dir1:  -  /u05/expdpdump/exppdb/dir1/NoTDE_CDB_FULL1_01.dmp -  /u05/expdpdump/exppdb/dir1/NoTDE_CDB_FULL1_02.dmp -  /u05/expdpdump/exppdb/dir1/NoTDE_CDB_FULL1_03.dmp -  /u05/expdpdump/exppdb/dir1/NoTDE_CDB_FULL1_04.dmp  Dir2:  -  /u05/expdpdump/exppdb/dir2/NoTDE_CDB_FULL2_01.dmp -  /u05/expdpdump/exppdb/dir2/NoTDE_CDB_FULL2_02.dmp -  /u05/expdpdump/exppdb/dir2/NoTDE_CDB_FULL2_03.dmp -  /u05/expdpdump/exppdb/dir2/NoTDE_CDB_FULL2_04.dmp   Following rsync Command to run for each dumpfile from each directory in the background:  rclone sync /u05/expdpdump/exppdb/NoTDE_CDB_FULL_01.dmp NoTDE_Mig1:IC_dbbackup_config_datapump_xxxxxx   I managed to get the desired output to run rsync for each file, however, i want to track the start and end time for each file as well as overall elapsed time for the rsync jobs running in background.  using time in for loop will provide only elapsed time for each file, however i also need overall elapsed time of Start and End Time after completing all jobs   dumpdir1="/u05/expdpdump/exppdb/dir1"  for i in $dumpdir1/*.dmp do      echo " time rclone sync  $i NoTDE_Mig1:IC_dbbackup_config_datapump_v00rcfh_iad3p2 &" done  dumpdir2="/u05/expdpdump/exppdb/dir2"  for i in $dumpdir2/*.dmp do     echo " time rclone sync $i NoTDE_Mig1:IC_dbbackup_config_datapump_v00rcfh_iad3p2 &" done```


get the apache document root using shell script

I am creating an RPM and in the pre stage, I want to determine apache's document root so I can copy the web application files there.   First, I check if apache is installed. If apache is installed, the script will look for the location of httpd.conf file since it contains the document root param. But I do not know how to handle the return of the command find / -name httpd.conf. I'm just new to shell scripts and RPM. Would like also to know if this is possible. The goal to have the RPM so it can be deployed at any system, without much manual intervention. Bellow is the code I was planning. It is not yet working  if [ "$(expr substr $(httpd -v) 17 6)" == "Apache"]; then     echo "Apache is installed";     find / -name httpd.conf     //need to handle the return of find and store to a location var to be used on the next line     grep -i 'DocumentRoot' $location/httpd.conf     //need to store the return document root to a var el     echo "Apache is not installed"; fi


I would like to sort my comments by votes.  My hope is to find my old obsolete comments and delete them when they don't add value to the posts.  I assume that if they have an up vote at all, they are valuable.  It may also be useful to get feedback on which comments are helpful to others.  Related: , , etc.


How to get rid of the period in an item label

When using enumitem, I want to change the label names as follows:  \documentclass[11pt]{article}  \usepackage[utf8]{inputenc}  \usepackage{enumitem} \begin{document} \section{First section}  \begin{enumerate}[leftmargin=*,labelindent=\parindent,=itemsep=0pt,label=Part \arabic*.]   \item\label{part:1} append this;   \item\label{part:2} advance that;   \item\label{part:3} advance theother. \end{enumerate}  Look at  \ref{part:1} where we get the extra period. It's particularly bad if I refer to \ref{part:2}.  This gives me ".." at the end of the sentence. \end{document}   \ref{part:1} gives me Part 1. where I would like Part 1. How can I get rid of the period when I refer to it but keep it when it displayed in the list?


I have been taught many things about how to structure code. For instance, nouns translate to classes (Eg, class Dog, class Banana). Something that objects have translate to variables inside the class. (Eg, a dog has a name so name would be a variable inside the Dog class.) I've also been taught that abstract nouns translate to abstract classes, eg, ChessPiece would be an abstract class and king, pawn etc would inherit from it.  How do interfaces work like this? I never find myself using interfaces and I want to because I heard that you should design towards an interface.


Violence has got worst over the years. Or  Violence has gotten worst over the years.


What is the equivalent for this Persian expression "The cat can't reach the meat, says it smells bad"

The expression, which implies the meat is placed on a counter too high for the cat to reach, is used when someone who can't achieve a position which is notoriously high or expensive, would pretend they don't like it. "Gorbeh dastesh be goosht nemireseh migeh boo mideh" Example: I don't like Ferraris, seats are too low. (said by someone owning a Fiat 500) Or: I don't like to own that $20M house up the hill, it's a long drive to get there.(said by a non millionnaire).    Thanks for the answer... "The fox can't reach the grapes, says they are sour." is an acceptable equivalent. Although in Persian it's used as an expression and a proverb exactly as mentioned above while the sentence with the fox is actually never used as is, but rather "sour grapes" as a reference to the fable. This is not a duplicate of the Jealousy question IMO. They are not jealous, maybe hypocrite. A duplicate is when the same question is asked. You can't consider any question related to jealousy as duplicate! I wanted to know the equivalent to that specific proverb and I got it. I hope the admin will not bury this inside a mass of jealousy related questions so that it helps others.


I have a function in JavaScript:  function main() {    console.log(this); }   How come this logs Document? Surely it should log function main?  If not, then how do I declare a variable within main to be accessed by the rest of the code as main.varName?  Thank you!


I tried to install opera from .deb file downloaded from their website. But it got stuck at 55%. So I closed the window. Then i discovered that it got installed and opened nicely. But after i couldn't run sudo apt update or install any app and even remove opera. When i run "sudo dpkg --configure -a" I get this and it just stays like this forever. Can anyone help me? sudo dpkg --configure -a  [sudo] password for xxxxxxx  Setting up opera-stable (73.0.3856.329) ...  dpkg: error processing package opera-stable (--configure):   installed opera-stable package post-installation script subprocess returned error exit status 1  Setting up pepperflashplugin-nonfree (1.8.6ubuntu1) ...  --2021-01-08 01:06:46--  https://get.adobe.com/flashplayer/webservices/json/?platform_type=Linux&platform_arch=x86_64&browser_dist=Chrome  Resolving get.adobe.com (get.adobe.com)... 193.104.215.66 Connecting to get.adobe.com (get.adobe.com)|193.104.215.66|:443... connected.  HTTP request sent, awaiting response... 302 Found Location: https://www.adobe.com/products/flashplayer/end-of-life.html?platform_type=Linux&platform_arch=x86_64&browser_dist=Chrome [following] --2021-01-08 01:06:47--  https://www.adobe.com/products/flashplayer/end-of-life.html?platform_type=Linux&platform_arch=x86_64&browser_dist=Chrome Resolving www.adobe.com (www.adobe.com)... 103.15.244.233, 103.15.244.232, 2600:140f:7::1739:4c1d, ...  Connecting to www.adobe.com (www.adobe.com)|103.15.244.233|:443... connected. HTTP request sent, awaiting response...


How to prove that $\sum_{p \leq x} {\log p \over p} = \log x + O(1)$?

Problem  Prove that $$ \sum_{p \leq x} {\log p \over p} = \log x + O(1) $$ as $x \to \infty$.  Notes: $p$ ranges over primes, $\log$ is natural  Progress  Using Riemann-Stieltjes integration and integration by parts, I think you can write the sum as $$ \int_2^x {\log t \over t} d\pi(t) = O(1) - \int_2^x {1 - \log t \over t^2} \pi(t) dt. $$ From here, I tried using the prime number theorem, specifically $$ \pi(x) = \operatorname{li}(x) + O(xe^{-c\sqrt{\log x}}), $$ together with $$ \operatorname{li}(x) = {x \over \log x} + {x \over \log^2 x} + O\Big({x \over \log^3 x}\Big). $$ All the terms cancel out perfectly except for the integrals of the error terms from the prime number theorem, which diverge. If they converged, they could go into the $O(1)$ term, which would finish the proof.  Please note that this is tagged as homework.    Those integrals actually do converge. In fact, $$ O(xe^{-c\sqrt{\log x}}) = O\Big({x \over \log^3 x}\Big), $$ so there is no need to even consider them separately. I will submit this as an answer to the question this is a duplicate of now.


Is there any formula to find prime numbers

I have found from a site this formula:    Ok.I have found that this formula is correct.see the reason below.  This part of formula is always $1$ or $zero$.    it's zero when $(2m)!+1$ isn't dividable to $2m+1$. And when it's zero this formula will give us the number 2.And it's 1 when (2m+1)! is dividable to 2m+1.Using Wilson's theorem if $(2m)!+1$ is dividable to $2m+1$ then $2m+1 $is prime.From these we can know that this formula always gives primes.But here is a big problem.This formula is very hard to use and it gives us many times the number $2$.My question is this is there a better formula for finding primes?  I have tried a lot of of formula.The best I have seen after this is mersenne's formula I don't liked this because it don't gives always a prime out.sometimes it generates not a prime number.I really believe that there is any formula that generates prime ordered because they are so much random but is there a formula that always gives out primes an it's easy to use?


Why are the labels on my x-axis printed twice?

I need to have \usepackage[top=3cm,left=2.2cm, right=2.2cm, bottom=1.7cm]{geometry} for my entire thesis. However, when I add this to my bar chart it shows each entry twice for my x-axis.  My MWE: \documentclass[12pt,oneside]{book}   \usepackage{siunitx} \usepackage{pgfplots} \pgfplotsset{compat=1.15} \usetikzlibrary{arrows.meta,                 backgrounds,                 calc, chains,                 decorations.pathreplacing,                 fit,                 matrix,                 positioning,                 }  \usepackage[top=3cm,left=2.2cm, right=2.2cm, bottom=1.7cm]{geometry}   \usepackage{tabularx,seqsplit, caption} %for table spacing to second row \usepackage{tikz} \usetikzlibrary{decorations.pathreplacing,calc, positioning,matrix,fit,calc, arrows.meta,                 backgrounds,                 chains} \usepackage{pgfplots} \pgfplotsset{compat=1.15}                \begin{document}  \begin{figure}[h!] \pgfplotsset{width=\textwidth,height=8cm,compat=1.16, /pgfplots/aan ybar legend/.style={ /pgfplots/legend image code/.code={ \draw [##1,/tikz/.cd,bar width=4.5pt,yshift=-0.3em,bar shift=1pt,yscale=2] plot coordinates {(0cm,0.4em) };}}}    \begin{tikzpicture} \begin{axis}[symbolic x coords={SuperCollider,Puredata,Other,prerecorded,Max/MSP,Csound,ChucK,Matlab,Built-in MIDI},     x tick label style={anchor=north east,rotate=30},     ylabel=Number,     xlabel=testting,     enlargelimits=0.05,     legend style={at={(0.5,0.95)},     anchor=north,legend columns=-1,     /tikz/every even column/.append style={column sep=1.2em}},     ybar,aan ybar legend ]   \addplot [fill=ForestGreen!30,draw=ForestGreen]     coordinates {(SuperCollider,9) (Puredata,7)(Other,5) (prerecorded,3) (Max/MSP,2) (Csound,2) (ChucK,1) (Matlab,0) (Built-in MIDI,0)}; \addplot [fill=Purple!30,draw=Purple]     coordinates {(SuperCollider,3) (Puredata,5)(Other,3) (prerecorded,3) (Max/MSP,2) (Csound,0) (ChucK,0) (Matlab,2) (Built-in MIDI,6)}; \end{axis} \end{tikzpicture} \end{figure}  %  https://smartech.gatech.edu/bitstream/handle/1853/44402/Bearman_ICAD2012.pdf    \end{document}


(I called them see through mirrors because I don't know what their actual name is)  I have seen a lot of pictures of glass-like materials which reflect light from on side, and from the other side, they transmit light.   What i want to say is -  Let side A and side B be the two sides. Side B will reflect all (almost all) the light falling onto it. Side A will allow the light to propagate through the material towards the other side. So in a sense, side B acts like a mirror and side A acts like a transparent glass.  This means that if you fit this material into the window of your room, you can see the outside but the people outside can't see you (those people can see their own reflection).  So the question is-   How is this even possible? And more importantly, What are these things made of?


Prove that:  $$a^{2^n} \equiv 1\pmod{2^{n+2}}$$  I have done the base case, and then have an assumption that:  $$a^{2^k} \equiv 1 \pmod {2^{k+2}}$$  I wish to prove the last step, that:  $$a^{2^{k+1}} \equiv 1 \pmod{2^{k+3}}$$  How would I do this?


How can I compute statistical significance with cross-validation?

I've done nested cross-validation with 10 outer runs and 10 inner runs to evaluate different classifiers. In the end I average the accuracies of the 10 outer cross-validation runs to get a final accuracy for one classifier.  Now, I would like to do some statistical test among the classifiers to see if one classifier performs better than another.  How can this be done in Matlab (or in general) based on the cross-validation accuracies?


Some games and playful ideas for a father to do with his 4 year old daughter?

My daughter has an older brother (8yrs old) so when we all play together we tend to do older boy things. Does anybody (especially women) have any memorable games/activities they played with Dad?   A few I have tried: Tea Party, Doll House, Puzzle, Painting, Coloring & Gluing, Playing Ball.   Looking for other ideas...


I have built a bookcase and added a cornice in Edit mode before toggling to Object mode. Now, when I toggle back to Edit mode, everything disappears apart from the added cornice.  I tried copying the object but the copy has the same behavior.  Is this a bug, a feature or a silly mistake?


What determines who gets or becomes an MVP?

This hasn't been asked yet, but what determines how or who gets an MVP award in CS:GO? After a match, there's always a little blurb that first states who got MVP first, and then a random fact (Player X got Y knife kills, Player X lasted Y rounds without dying, etc.).  Do these two factors both "factor" into getting an MVP award? Is it a set percentage of enemies you kill? Is there a priority list (ie, planting bomb, defusing, etc.)?


Query to return closest LineString given a Point

I have a road lines data in a table with field  roads(id SERIAL ,the_line geometry(LineString,4326))  suppose an accident occurs in a middle or at any location in that waterline i want to stop the entire waterline so, given a location or coordinates(POINT(350205.805 148722.56)),  I need to find a roadline which is closest to that point. and return its start point and endpoint   "SELECT id, ST_AsText(ST_StartPoint(the_line )) AS startpoint,ST_AsText(ST_EndPoint(the_line )) AS endpoint from roadlines where (some condition to get the closest roadline) close to 'POINT(350205.805 148722.56)'"   POINT(350205.805 148722.56) WILL BE THE INPUT


Need some help for an experiment (Eye animation)

I'm a new member, and I thought this place was great for the question i'm going to ask. Here's the thing: I'm doing a little experiment on Blender, where I create and animate an eye, but not like people usually do, look here:   To explain it in my own words, I'm trying to keep the eyeball on the outside of the head, cartoon style, and that's all for modelling. Regarding the animation, i'm trying to: 1)make the pupil ''slide'' on the surface of the eyeball while the latter stays still (see figure number 1 on the image below for more details); 2)make the eyeball round (as you can see in the images above, its default shape is not    round) and the pupil smaller when the character is surprised (see figure number 2); 3)make the pupil morph into other shapes (for example when the character closes its eyes; see figure number 3);  I'm sorry if I made this question too long, and if you need any clarification, just ask me. Hopefully one of you can help me here.  Okay, here I am again. I tried to do like you've described, but it didn't work. Maybe I'll show a couple more details so maybe you can understand what's wrong:   To describe the second picture, I put the pupil directly into the eye and not with a separate texture, could that be the mistake I've made? If so, what other method can I use?


Movie with the Sun getting too strong (due to depleted ozone?), where the main character is immune because of genetic experiment by his parents

I want to say I saw this in the mid 90's, I believe it's likely from the 90's or late 80's.  The ozone layer had become so depleted or Sun became too strong such that it would cause horrific burns, even death due to exposure. The main character was at one point, roughed up by the school bullies and left outside in the sun to suffer severe burns; he's able to free himself and tells his teacher why he's late, but they teacher doesn't believe him because it's impossible for him to be unscathed if true.   The main character is fine because his parents, a geneticist and botanist have tinkered with his genes.


I need to use a different version of circuitikz. How can I do that?

I have a circuitikz that works perfectly on one configuration but not on another one; for example, this: \begin{circuitikz}     \draw  (0,0) node[dipchip]{CHIP1}; \end{circuitikz}  works ok on one computer but gives errors in another one. What's the matter? The error is something like: I do not know the key /tikz/dipchip/ or similar about not existing /tikz/circuitikz/ keys,.


Starting Tasks inside a for loop: unexpected behaviour

I am learning about multithreading in C#. It is making me hard, so I am doing some simple programs to understand it better. I realized that if I have:    static void Main()     {         Task[] tasks = new Task[4];         for (int i = 0; i < 4; i++)         {             tasks[i] = Task.Factory.StartNew(() => {                 Console.WriteLine(i);             });         }         Console.ReadKey();     }  The output is 4444, no 0123 like I expected. Why is it? EDIT: Sadiq said in his answer that the reason of this behaviour is because i'm closing over a loop variable. But if I add to my code Thread.sleep(500); outside the lambda statement and inside the loop, I get 0123. So, why this behaviour supposedly caused by clousures don't occurs with adding this line of code? it seems to me that the reason of the asked behaviour is other. The code for if you don't understand what I've just written: static void Main()     {         Task[] tasks = new Task[4];         for (int i = 0; i < 4; i++)         {             tasks[i] = Task.Factory.StartNew(() => {                 Console.WriteLine(i);             });             Thread.Sleep(500);          }         //Now the output is: 0123         Console.ReadKey();     }


Link click tracking on dynamic content after page load

I track links clicked on my page with some jquery like so:  // Track when a visitor clicks a link $( document ).ready(function() {      // Add an event handler to all body anchor links     $( "body" ).find("a").click(function() {           ga('send', 'event', document.title, 'Link: ' + this.innerHTML, '');     });       });  This works very well for static page content.  However, some of my pages load in partial page content dynamically from elsewhere on my site using Jquery load() method.  e.g. $( "#result" ).load( "ajax/test.html" );  I have noticed that when I click on a link on this dynamic content, the link isn't getting tracked in GA.   I guess this makes sense, the link event handlers are added when the page is initially loaded, any content pulled through after this won't have these event handlers registered...    So my question is, how do i track links clicked for content that is added dynamically after the page has loaded? Should I add my event handler code (above) to a function which i can call on page load then after any dynamic content has been added, telling it to scan the page again?  Will that cause a conflict with any original event handlers or will it override them?  thanks


How to get an image from file input and send it to NodeJS Server

I have tried several things to get my image data from the file input and send it to the NodeJS server but nothing has helped me so far. I had a lot of different solutions with formData, FileReader etc. but I never had my data.  My HTML is following:  <button type="button" id="uploadButton" onclick="openFilepicker()"> Upload file </button>   The openFilepicker() function triggers a click via jQuery on the file-input element:  <form id='uploadForm' encType="multipart/form-data">     <input type="file" accept="image/*" name="uploader" class="hidden"      id="input-file" onchange="submitUploadForm()"/> </form>   The submitUploadForm() function gets executed when a file has been selected:  function submitUploadForm() {   if ($('#input-file').val() != '') {     const input = document.getElementById('input-file');     const file = input.files[0];      /* Process my data here to be ready to send it */      $.ajax({         url: '/upload',         type: 'POST',         data: '', /* Here I want my file data to be sent */         cache: false,         contentType: false,         processData: false,         success: function (data) {             console.log(data);         }.bind(this),         error: function (err) {             console.log(err);         }.bind(this)     });   } }


How to add "Open terminal here" to Nautilus' context menu?

I am working on Ubuntu 12.04 64bit.  I want to add "Open terminal here" to Nautilus context or right-click menu but it tries to download 32bit version from Internet.


Number of solutions for $x_1+ x_2+ x_3 + \cdots + x_k=n$, where $0\leq x_i\leq p$ for all $i$

I know that for $1\leq x_i\leq p$ the answer will be the coefficient of $x^n$  in $(x + x^2 + x^3 + ... + x^p)^k$. But what will be the answer for the constraint $0 \leq x_i \leq p?$   Also, how can I generate a definite formula or recurrence relation to program it? It will be difficult to calculate the answer by summing up the GP series and then calculating the coefficients using series expansion.   Thank you!


What are the Axiom of Choice and Axiom of Determinacy?

Would someone please explain:   What does the Axiom of Choice mean, intuitively? What does the Axiom of Determinancy mean, intuitively, and how does it contradict the Axiom of Choice?   as simple words as possible?  From what I've gathered from the Wikipedia page, my understanding is that the Axiom of Choice pretty much lets you make a completely random decision, i.e. equal probability for everything. I don't, however, understand what they're talking about regarding the sets of sets (is it more than what I just described?), and I further don't understand the Axiom of Determinancy.  Info on those would be appreciated. :)


Find the last digit (in base 10) for the number: $$ {3}^{22}$$   This is a question in my course in discrete math. I have checked my notes from the lectures but can't seem to solve this one.


How does "proof of effort" make a question better?

It seems like many questions by new users are downvoted immediately.  Sometimes there is a comment to the tune of "lacks research", "we're not here to do your homework", or "show us some effort".  Now I wonder, what does it matter how much work someone has done before posting?  If someone can ask a good question in 5 seconds, more power to them.  To illustrate this point, look at how you could "improve" a question to include proof of effort.  You could put in 5 failed code snippets and their in- and output.  This would make for very long questions with a high noise ratio.  Another suggestion is to add "research".  By "research", I suppose most programmers mean "Google".  So this is basically a suggestion to add a list of fruitless Google queries.  That doesn't sound interesting either.  How can "proof of effort" turn a bad question into a good one?


Which Side Did the Slytherins Ultimately Fight For at the Battle of Hogwarts?

Harry Potter and the Deathly Hallows is a bit murky regarding the Slytherin students and their role in the final Battle of Hogwarts. We know the following:   Professor McGonagall advises Professor Slughorn that she expects the Slytherins in the Great Hall following Snape's departure. She warns Slughorn that it is time for Slytherin House to decide upon its loyalties, and that if the Slytherins resist the attempt to fight Voldemort, they will duel to the death. (Deathly Hallows - Pages 599-600 US Hardcover) Slytherin Pansy Parkinson attempts to have Harry turned over to Voldemort when Voldemort threatens to attack Hogwarts. McGonagall sends all of Slytherin House from the Great Hall. (Deathly Hallows - Page 610 US Hardcover) Voldemort advises Lucius Malfoy that all the Slytherins have joined Voldemort's side. (Deathly Hallows - Page 641 US Hardcover) Phineas Nigellus, following the Battle of Hogwarts and Voldemort's death, says to Harry when Harry visits the Headmaster's Office, "And let it be known that Slytherin House played its part! Let our contribution not be forgotten!" (Deathly Hallows - Page 747 US Hardcover)   What role did the Slytherins ultimately play in the Battle of Hogwarts? Did they resist Voldemort, assist him, or play both sides of the fence?


List<String> solList = new ArrayList<String>( ); solList.add( "num1" ); solList.add( "num2" );  StringBuilder result = new StringBuilder(); for ( String a : solList ) { result.append( a ).append( ", " ); }  String withoutLastComma = result.substring( 0, result.length( ) - ",  ".length( ) ); System.err.println( withoutLastComma );   I want remove last comma,I use substring,how can I become  better this code?   use string utility methods such as "StringUtil.join" to concatenate elements in an array or a collection object. Consult the "StringUtil API's StringUtil.join" entry.  For example:   StringUtils.join(["e", "f", "g"], "--")  // => "e--f--g


Time synchronization problem in two operating systems

I have two operating systems in my machine: Windows 7 and Ubuntu 16.04, dual booted. After upgrading my ubuntu to 16.04 version from 15.10, I am facing a strange problem. When I open Ubuntu, time advances 5.30 hours(I am from India and our timezone is +5.30GMT). Suppose I correct it, then when I logs back in Windows, the time decreased by 5.40 hours.   How to fix it? There might be some installation problem at the time of upgrading.


Looking for a character rig equal to AnimSchools Malcom quality, or high quality cartoonish human rig

Trying to find a high quality cartoony human male rig. Looking for help. Also a working skateboard rig would be nice, im using the new version of blender 2.80 beta, and the skateboard rigs from blendswap dont work with the beta blender version. hmm... basically i have a little animation/film i have in mind i would like to make and would like to use the new version of blender to get used to it. thank you for your help :)


Filenames correction of timestamp with correct creation date

I have a bunch of image files spared into different folders with a false timestamp on the filename (1 hour delay) and i want to correct that according to the creation time.   I am now trying to write a **shell script** that can go through all the folders > extract the creation time and and replace it on the filename timestamp, below a small example:   Original filename with false timestamp:  Filename, Created Date, Modified Date 20180524010500530_FR785101.jpg, 2018-05-24 00:05:00, 2018-05-24 00:05:34  The output would be:  Filename, Created Date, Modified Date 20180524000500530_FR785101.jpg, 2018-05-24 00:05:00, 2018-05-24 00:05:34  Can Anyone tell me if that is possible with a shell script ? Then, can anyone give me some direction on how to use the ls command or any other command that can do the job ?  I have started to document myself on the use of the ls command but i still cannot figure out how i can extract the creation time and replace it into the filename timestamp, also i don't know how i can make the script run through all the folders and sub-folders containing the image files,


I want to add a comment on the . But I get  To use reCAPTCHA you must get an API key from   First, I enter text:    Then, I click Submit, and get:    Can this be fixed ?


Why do you only conjugate the first verb?

You don't get to see your sister cry.  Why don't you conjugate the verb cry (...your sister cries)? Is it because is it the second verb (if that's the case, what is that rule called?) or is there another reason? Does it have something to do with the sister being subject form? I know this is quite a dumb question but I couldn't find anything on Google. I know that it should be "cry" and not "cries" (I can hear that that's correct) but I can't motivate why.


How to get one core of a quad-ARM running without an OS

I'm using a quad-core ARM CPU and I'm wondering if it is possible to get 3 cores running in Linux, and one core running without Linux?


How to find location of installed library

Background: I'm trying to build my program but first I need to set up libraries in netbeans. My project is using GLU and therefore I installed libglu-dev. I didn't note location where the libraries were located and now I can't find them..  I've switched to Linux just a few days ago and so far I'm very content with it, however I couldn't google this one out and becoming frustrated.. Is there way to find out where files of package were installed without running installation again? I mean if I got library xxx and installed it some time ago, is there somecommand xxx that will print this info?  I've already tried locate, find and whereis commands but either I'm missing something or I just can't do it correctly.. for libglu, locate returns:  /usr/share/bug/libglu1-mesa /usr/share/bug/libglu1-mesa/control /usr/share/bug/libglu1-mesa/script /usr/share/doc/libglu1-mesa /usr/share/doc/libglu1-mesa/changelog.Debian.gz /usr/share/doc/libglu1-mesa/copyright /usr/share/lintian/overrides/libglu1-mesa /var/lib/dpkg/info/libglu1-mesa:i386.list /var/lib/dpkg/info/libglu1-mesa:i386.md5sums /var/lib/dpkg/info/libglu1-mesa:i386.postinst /var/lib/dpkg/info/libglu1-mesa:i386.postrm /var/lib/dpkg/info/libglu1-mesa:i386.shlibs   Other two commands fail to find anything. Now locate did it's job but I'm sure none of those paths is where the library actually resides (at least everything I was linking so far was in /usr/lib or usr/local/lib).   The libglu was introduced just as example, I'm looking for general solution for this problem.


Bards get Expertise at level 3. How does this work?  For example, if I have a standard proficiency bonus of +2, and if I have proficiency in Perception with a Wisdom ability modifier of +2, then my Perception is +4. If I choose expertise in Perception, does it double the +4 to Perception +8, or does it double the proficiency bonus only to +4 for a total of Perception +6?


Is there any operation manual about Ubuntu18.04 system?

I am a beginner of Ubuntu, and I have been using CentOS system before. Is there any operation manual about Ubuntu system?


Let $\mathcal{L}$ be the Lebesgue measure on $Y=[0,\infty)$. Let $(X,\mathfrak{B},\mu)$ be a $\sigma$-finite measure space and let $f$ be a nonnegative $\mu$-measurable  function on $X$. Prove that $\int_X f \, d\mu=\int_Y\mu(f^{-1}[t,\infty)) \, d\mathcal{L}(t)$.   I'm learning measure theory and is this question correct? Because I get $\int_X f \, d\mu=\int_Y\mu(f^{-1}[t,\infty)) \, d\mathcal{L}(t)=\mu(f^{-1}[t,\infty))\mathcal{L}([0,\infty))=\infty$ and this is not true when $X$ has finite measure and $f$ is bounded. Thanks for your helps.


Help understand the proof of infinitely many primes of the form $4n+3$

This is the proof from the book:     Theorem. There are infinitely many primes of the form $4n+3$.    Lemma. If $a$ and $b$ are integers, both of the form $4n + 1$, then the product $ab$ is also in this form.  Proof of Theorem: Let assume that there are only a finite number of primes of the form $4n + 3$, say  $$p_0, p_1, p_2, \ldots, p_r.$$ Let $$Q = 4p_1p_2p_3\cdots p_r + 3.$$ Then there is at least one prime in the factorization of $Q$ of the form $4n + 3$. Otherwise, all of these primes would be of the form $4n + 1$, and by the Lemma above, this would imply that $Q$ would also be of this form, which is a contradiction. However, none of the prime $p_0, p_1,\ldots, p_n$ divides $Q$. The prime $3$ does not divide $Q$, for if $3|Q$  then $$3|(Q-3) = 4p_1p_2p_3\cdots p_r,$$ which is a contradiction. Likewise, none of the primes $p_j$ can divides $Q$, because $p_j | Q$ implies $p_j | ( Q - 4p_1p_2\cdots p_r ) = 3$, which is absurd. Hence, there are infinitely many primes of the form $4n +3$.   END  From "however, none of the prime ...." to the end, I totally lost!    My questions:   Is the author assuming $Q$ is prime or is not? Why none of the primes $p_0, p_1,\ldots, p_r$ divide $Q$? Based on what argument?     Can anyone share me a better proof?     Thanks.


Querying two Separate Columns in ArcPy SQL {where clause}?

Using ArcPy I'm Trying to Set up a Where Clause in my "FeatureClassToFeatureClass_conversion"  This {Where Clause} needs to Query Two Columns in the data:  FEATURE = 'ENVIRONMENT'  and   TEMPERATURE > 50   I'm having a hard time doing both queries in the same expression as you would using "AND"     "\"FEATURE\" = 'ENVIRONMENT'" ?AND?  "\"TEMPERATURE\" > 50"


How to evaluate this integral from -infinity to infinity (improper integral)?

I'm having difficulty evaluating this integral:   $\int_{-\infty}^{\infty} {x^6 e^{-x^2}} dx$   All I've been able to do is separate them and evaluate them separately although I haven't been able to successfully do that:  $\int_{-\infty}^{0} {x^6 e^{-x^2}} dx + \int_{0}^{\infty} {x^6 e^{-x^2}} dx$   I was given this hint although I can't understand how they are equal (the integral on the RHS is the Gaussian integral):  $\int_{0}^{\infty} {x^6 e^{-x^2}} dx = -\frac{d^3}{da^3} \int_{0}^{\infty} { e^{-ax^2}} dx $  That's pretty much all I've got so far. Any help would really be appreciated!  Edit: This is different from the supposed duplicate because in the other one, I was asked to make one post per question and the answer was the hint but I didn't understand how it was equal.


What processes exist to issue formal warnings or remove moderators?

Feedback and questions about these processes are on .   This post lists two process by which formal complaints against moderators are handled by the Community Management Team.  is a process for allowing a team of moderators to remove one of their own. This process is for those rare situations where communication with one member has completely broken down and the team as a whole feels they cannot continue to work together.  is a process by which complaints against a moderator's conduct can be raised. This process is for when there's reason to believe the Code of Conduct or moderator agreement have been broken, or if a moderator's privileges need to be immediately revoked in an emergency (e.g. if their account appears to be compromised). In addition, there also exists  for removing moderators who have been inactive in moderating their sites. This process is for when a moderator hasn't performed a moderator action in several months, in order to ensure that only those who actually use the moderator tools have access.


How can I raise the Centralization level of my Petty Kingdom?

This is related to  but not a duplicate.  I am an independent grand-duke of Ireland (control 2 duchies and have no liege). I currently have minimal centralization, which is a bummer because I have no duke level vassals and a full demesne. Raising centralization from min to low would increase my demesne maximum by 1 and decrease my vassal limit from 28 to 23.  When I select the new law, it says I have 3/11 votes, all of which come from me. The other 8 mayors and bishops from my 4 counties are all opposed to the law. All of my vassals have positive opinions of me, including 3 bishops at 98~100 and a mayor at 80.  Why this isn't a duplicate: The other question is about crown authority, which I gather you can only raise if you are a king, not a petty king, so the other asker must have duke-level vassals. Is the centralization law somehow different from crown authority that prevents lowborn vassals from voting for it?  Also, the answers to the other question focus on raising the opinion of vassals. Would that do me any good if some of the vassals are already maxed on opinion? Would raising a +20 opinion to a +50 be enough to flip a vote if the +100 opinions aren't even voting for me?


Can ordinary users with access to moderator tools undelete questions deleted by the Community♦ user?

When moderators delete a post, ordinary users .  When a question is dead or abandoned,  (RemoveDeadQuestions, RemoveAbandonedQuestions).  The Community♦ user has a ♦ and the capabilities of a moderator.  Does that mean that ordinary users cannot vote to undeleted such automatically deleted questions, or does this rule only apply to manually deleted questions by human moderators?


Is there a non-gendered term for "gentlemanly"

Opening doors, offering to pay the tab, helping with a coat or a light of the smoke: we may describe these acts of a man to be gentlemanly.  In a word, how may we describe these acts of any person?


What is the grammatical structure of the expression "F*** you!" and its derivatives?

I heard that expression along with its derivatives so many times, in movies or otherwise, but I can't get it grammatically, meaning, does it stand for a complete sentence like "I will fuck you!" or "I want to fuck you!"? Or what?  Is it an imperative construction, or part of some other type of sentence with material deleted?  NB: This question is NOT about the meaning of this phrase (amply addressed in other questions on this site, such as ). It is about the structure of the phrase from a grammatical perspective, along with the common meaning of the expression.


Difference between object creation syntax

Please explain the difference between object one and two:      car one = new opel();         opel two = new opel();     Class opel extends class car.


How can a user get out of a question ban when questions can't be improved?

What if a user is banned from asking questions and there is no choice for him/her to improve his/her questions, will that user be banned permanently from asking questions on SO?


How do we know what type of gauge field to add to a theory?

I've been watching  and in one lecture, he discusses a very simple gauge theory.  We have a complex scalar field $\phi(x)$ with Lagrangian  $$\mathscr{L} = \partial_\mu \phi^* \partial^\mu \phi - V(\phi^* \phi)$$  and we want to do the gauge transformation $\phi(x) \to e^{i\theta(x)} \phi(x)$.  But the derivative term in the Lagrangian is not invariant if $\theta$ varies from place to place, so we add a new vector field $A_\mu$, and define it to transform like $$A_\mu \to A_\mu + \partial_\mu \theta$$ under the gauge transformation.  Then we change the Lagrangian to use covariant derivatives $D_\mu = \partial_\mu + iA_\mu$ instead of ordinary ones; now when the gauge transform is done all the derivatives of $\theta$ cancel out, and the result is invariant.  My question is: was there any freedom in choosing to add a vector field, with that specific gauge transformation law?  Are there any other ways we could get gauge invariance here—by using a different transformation law, or with a different type of field (say, a scalar, tensor, or spinor) with some other transformation law?  More generally, how can we tell what type of field is needed and what its gauge transformation law should be, to get some particular Lagrangian to be invariant under some particular gauge transformation?


I repost my question. I try to succeed the following table in my latex doc.  I have done the first 3 lines but i cannot do the curve arrows in the forth line.I sent you the code until now  \documentclass[11pt]{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{tikz} \usepackage{tikz,tkz-tab,amsmath} \usetikzlibrary{arrows}  \begin{document}  \newcommand{\E}{\mathrm{e}} \begin{tikzpicture} \tikzset{arrow style/.style = {blue,->,> = latex', shorten > = 6pt, shorten < = 6pt}} \tkzTabInit[espcl=2]{$x$ /1, $f'(x)$ /1.5, $f''(x)$ /2,$f(x)$/2.5}{$-\infty$, $0$ ,$1$ , $2$ , $+\infty$}% \tkzTabLine{ ,+,z,- ,d,-,z,+}% \tkzTabLine{ ,-,t ,- ,d,+,t ,+}% \tkzTabVar% { -/  ,  +/ ,-D+/  /  ,  -/  ,+/  /  }% \end{tikzpicture}  \end{document}   Anyone who can help?


how can I create something exactly like this in modernCv?

I want to create something like this in modernCv, how I can create a section in latex for that. please, pay attention that i want produce space at the left exactly like picture that i have posted.


Windows INSERT key anti-functionality accidentally triggers; how to stop it permanently?

We all use editing facilities to change a line of text as we are entering it. There are two principal editing modes within a line, a) "insert mode" which inserts non-editing characters at the point of the cursor, and shuffles text to the right, and b) "overwrite mode", in which non-editing characters simply overwrite whatever character the cursor selects.  Overwrite mode IMHO is left from the days of green-screen CRTs. The only use I have ever found for it is drawing 2-D pictures in ASCII, which I quit doing back in the 80s when real drawing tools became available.  Windows (stupidly IMHO) offers overwrite mode toggle-enabled by use of the INSERT key on the keyboard. (I'd guess Linux/Unix likely follow suit in the usual Windows-envy). I don't ever hit that button because it just puts me in overwrite mode.  However, as I'm typing sometimes Overwrite mode suddenly happens. I think it must be some strange combination of ALT/Windows/CTRL/SHIFT and some other key, or two standard keys depressed in time nearby. Does anybody know what the alternate key sequence is so I can try harder to avoid it? Is there a way to tell Windows to simply stop using Overwrite mode?


Some vertices don't move along with the rig

I follow this  which uses rigify and I have run into some issues.    Not every vertex moves along the rig. Any idea what could cause this? I applied the location and rotation for every object.  The entire head is weight painted with blue.


How to install MK - a program "Holy Bible"

I am a fresh user of Ubuntu. I enjoy with 18.04 version and there are many things to learn. As for example to launch a program called "Holy Bible." The distributor is the "Institute for Bible Translation" - .   The installation of the package comes along with the file that provides the script to launch the program; but I couldn't as a result of my incompetence.  Here it is the script:   #!/bin/bash cd "$( dirname "${BASH_SOURCE[0]}" )" "./MK/xulrunner/xulrunner" --app "./MK/xulsword/application.ini" -profile "./MK/profile"    Would you please explain how to run the program with this script from "Terminal"   Thank you very much.


After running Win 7 for some unknown period of time, the taskbar icon highlight starts to stick (video demo here: ). If I restart or kill explorer.exe and relaunch, it goes away.  Any idea what might be causing this?


Firefox : Import bookmarks from one firefox browser to another in different laptop

I have two laptops on which firefox is installed. I want to merge the bookmarks. How can I achieve this ? Thanks in advance.


Once upon a time on Stack Overflow I remember I was able to check my editor status. I.e. how many more edits I needed to be awarded editor badges, a summary of the proposed edits and the percentage of the accepted ones. I now cannot find that summary any more.  It may sound like a kind of stupid question, but can you point it out to me, if it still exists?


What's the difference between !, %, and @ in replacement tokens?

I'm using the Message module on Drupal 7.  For Replacement tokens, the help text says:     A comma-separated list of replacement tokens, e.g. %title or !url, of   which the message text makes use of. Each replacement token has to   start with one of the special characters "@", "%" or "!". This   character controls the sanitization method used, analogously to the   t() function.   What's the difference between %, !, and @?  Are there standards about when I should use each symbol?


How do I debug when the system freezes or when it crashes back to login?

I am fairly new to Ubuntu and I was wonder what a good way is to debug when something crashes?   For example: I installed 11.04 and the default media player banshee makes my laptop crash after a few minutes of playing music. Since the system completely freezes and there is not error message it's hard to find out what is wrong.  Second problem I have is that sometimes the system crashes to login. I am suspecting it to be a Chromium or Flash but I am not 100% sure.  So anybody got some tips on how to debug stuff like this?


how to access deleted browser history using chrome on windows 7

I accidentally deleted my chrome browsing history. Is there anyway I can recover it?  I'm using Windows 7 Ultimate (2009)


A picture says it all.  The box moves horizontally depending on where the cursor moves to while entering text in the box.  I am using Firefox 31.0 on Fedora 20 / KDE.


Difference between Login Shell and Non-Login Shell?

I understand the basic difference between an interactive shell and a non-interactive shell.  But what exactly differentiates a login shell from a non-login shell?  Can you give examples for uses of a non-login interactive shell?


in the fires of Pompeii the doctor meets Lobus Caecilius     CAECILIUS: Who are you?       DOCTOR: I am Spartacus.       DONNA: And so am I.    CAECILIUS: Mister and Mrs Spartacus.       DOCTOR: Oh no, no, no. We're not, we're not married.       DONNA: We're not together.       CAECILIUS: Oh, then brother and sister? Yes, of course. You look very much alike.    then after saving him from the volcano  at Christmas 2013 the time of the doctor he regenerates into Lobus  face then in series 8 episode 1 Deep Breath he starts wondering why he choose this face     DOCTOR:Er, have you seen this face before?      BARNEY: No.      DOCTOR: Are you sure?      BARNEY: Sir, I have never seen that face.      DOCTOR: It's funny, because I'm sure that I have. You know, I never know where the faces come from. They just pop up. Zap. Faces like this one. Come on, look at it, have a look, come on, look, look, look.    (The Doctor pulls Barney over to look in the mirror on the ground.)       DOCTOR: Look, it's covered in lines. But I didn't do the frowning. Who frowned me this face? Do you ever look in the mirror and think I've seen that face before?      BARNEY: Yes.      DOCTOR: Really? When?      BARNEY: Well, every time I look in the mirror.      DOCTOR: Oh, yes, yes, yes. Fair enough. Good point. My face is fresh on, though.      BARNEY: Er    (Barney moves away from the nutter in the nightshirt.)      DOCTOR: Why this one? Why did I choose this face? It's like I'm trying to tell myself something. Like I'm trying to make a point. But what is so important that I can't just tell myself what I'm thinking?   then in series 9 episode 5 The Girl Who Died he starts to realize why he choose  this face     DOCTOR:I'm not supposed to. Oh. Oh!    (He looks at his reflection in the water and sees what he saw in the mirror back in Deep Breath.)      CLARA: What? What's wrong?       DOCTOR: My face.        DOCTOR [memory]: Who frowned me this face? Why this one? Why did I choose this face?       CLARA: Doctor, what's wrong with your face?       DOCTOR: I think I know why I chose it.       DOCTOR [memory]: It's like I'm trying to tell myself something.       DOCTOR: I think I know what I'm trying to say.       DONNA [memory]: (to Doctor 10) Just someone. Not the whole town. Just save someone.       DOCTOR 10 [memory]: Come with me.    (A memory of Lobus Caecilus cowering as Vesuvius erupts in Fires of Pompeii. Played by Peter Capaldi, if you'd forgotten.)      DOCTOR: I know where I got this face, and I know what it's for.       CLARA: Okay, what's it for?       DOCTOR: To remind me. To hold me to the mark. I'm the Doctor, and I save    people.    (He shouts at the sky - the Time Lords.)      DOCTOR: And if anyone happens to be listening, and you've got any kind of a problem with that, to hell with you!    which made me think why did the Doctor choose the face of Lobus Caecilius? was it like reminder to save people what was it


System restore doesn't work on windows 10

Here is the error message:  System Restore did not complete successfully. Your computer's system files and settings were not changed. Details: System Restore failed while restoring the directory from the restore point. Source: AppxStaging Destination: %ProgramFiles%\WindowsApps An unspecified error occurred during System Restore. (0x80070091)   What I've tried so far:  chkdsk /f /r C: (didn't work) tried running in safe mode the system restore (didn't work) tried with another system restore point (didn't work)


I have an OpenVPN config that I use on my Windows XP box and on my Ubuntu machine.  When I use it with my Windows machine, I can connect to the VPN and access sites on the VPN, and the internet as normal. When I use it on my Ubuntu box, when connected to the VPN, I can only access internal sites - No internet access at all.  I'm sure there is a way to configure OpenVPN on Ubuntu to allow internet connections, but I can't figure out how.


Is the 1st level Command spell [PHB p223] a "charm" (that would trigger an elf's Fey Ancestry [PHB p23] racial ability and thus get advantage on the saving throw)?


I want to make a bash script that clears the history i.e. works similarly as the command  history -c   So I started with the following code:-  #!/bin/bash history     #displaying history history -c  #clearing history   None of them worked. On some searching around, I came to know that bash disables history in non-interactive shells by default, but we can turn it on. So after editing I tried the following code :-  #!/bin/bash HISTFILE=~/.bash_history   # Or wherever you bash history file lives set -o history             # enable history history history -c   It shows the output :-  [root@localhost lib]# bash a.sh 1  history [root@localhost lib]#   And besides that the hisory -c command did not work. Because I am still getting the history of commands when I type history. This means both history and history -c didnt work inside the bash script. How should we use it then?  EDIT 1- I want to delete the history of the current session, it must be stored somewhere. I have tried using commands like the following but to no effect:-  cat /dev/null > ~/.bash_history && history -c && exit     cat /dev/null > ~/.bash_history   P.S.-This is not a duplicate question. Please try to understand the difference before marking it as duplicate. I want to clear the history of the current session through a script . I don't care if it is written back or whatever. The other question is about to permanently delete the history. It has nothing to do with the script or through other terminal.


I have 2 beautiful 27" ASUS monitors. I started trying out Ubuntu 12.04 and now only one works and thats VGA.  Any help here cause I'm stumped. I have a BFG Tech Nivida Geforce 8800 GT 512MB and I'm trying to fix this.  I get this error when I try to configure the xorg file:  Failed to set MetaMode (1) 'DFP-0: 1280x1024 @1280x1024 +0+0, DFP-1: 1280x1024 @1280x1024 +1280+0' (Mode 2560x1024, id: 50) on X screen 0.   This is the xorg.conf:  # nvidia-settings: X configuration file generated by nvidia-settings # nvidia-settings:  version 295.33  (buildd@allspice)  Fri Mar 30 15:25:24 UTC 2012   Section "ServerLayout"  # Removed Option "Xinerama" "1" # Removed Option "Xinerama" "0" # Removed Option "Xinerama" "1"     Identifier     "Layout0"     Screen      0  "Screen0" 0 0     InputDevice    "Keyboard0" "CoreKeyboard"     InputDevice    "Mouse0" "CorePointer"     Option         "Xinerama" "0" EndSection  Section "Files" EndSection  Section "InputClass"         Identifier "Mouse Remap"         MatchProduct "Saitek Cyborg R.A.T.7 Mouse"         MatchDevicePath "/dev/input/event*"         Option "ButtonMapping" "1 2 3 4 5 6 7 8 9 0 0 0 0 0 0" EndSection  Section "InputDevice"      # generated from default     Identifier     "Keyboard0"     Driver         "kbd" EndSection  Section "Monitor"      # HorizSync source: edid, VertRefresh source: edid     Identifier     "Monitor1"     VendorName     "Unknown"     ModelName      "Ancor Communications Inc VE247"     HorizSync       30.0 - 83.0     VertRefresh     50.0 - 76.0     Option         "DPMS" EndSection  Section "Monitor"      # HorizSync source: edid, VertRefresh source: edid     Identifier     "Monitor0"     VendorName     "Unknown"     ModelName      "Ancor Communications Inc VE247"     HorizSync       30.0 - 83.0     VertRefresh     50.0 - 76.0     Option         "DPMS" EndSection  Section "Device"     Identifier     "Device1"     Driver         "nvidia"     VendorName     "NVIDIA Corporation"     BoardName      "Quadro FX 1500"     BusID          "PCI:1:0:0"     Screen          1 EndSection  Section "Device"     Identifier     "Device0"     Driver         "nvidia"     VendorName     "NVIDIA Corporation"     BoardName      "Quadro FX 1500" EndSection  Section "Screen"     Identifier     "Screen1"     Device         "Device1"     Monitor        "Monitor1"     DefaultDepth    24     Option         "TwinView" "0"     Option         "TwinViewXineramaInfoOrder" "DFP-1"     Option         "metamodes" "DFP-1: 1280x1024 +0+0"     SubSection     "Display"         Depth       24     EndSubSection EndSection  Section "Screen"  # Removed Option "TwinView" "0" # Removed Option "metamodes" "DFP-0: 1280x1024 +0+0" # Removed Option "TwinView" "1" # Removed Option "metamodes" "DFP-0: 1280x1024 +0+0, DFP-1: 1280x1024 +1280+0" # Removed Option "TwinView" "0" # Removed Option "metamodes" "DFP-0: 1280x1024 +0+0"     Identifier     "Screen0"     Device         "Device0"     Monitor        "Monitor0"     DefaultDepth    24     Option         "TwinView" "1"     Option         "TwinViewXineramaInfoOrder" "DFP-0"     Option         "metamodes" "DFP-0: 1280x1024 +0+0, DFP-1: 1280x1024 +1280+0; DFP-1: 1280x1024_60 +0+0"     SubSection     "Display"         Depth       24     EndSubSection EndSection  Section "Extensions"     Option         "Composite" "Disable" EndSection


How loud is the thermal motion of air molecules?

In other words, given a magical room with walls that produce no vibration and transmit zero vibration from the outside, and nothing on the inside except room temperature air, what would be the noise level in dB SPL () from the  of the air itself?  (Similar to the  of electronics being determined by  in the conductors.)  What is the quietest possible anechoic chamber?  What is the noise floor of air?  For reference: Sound pressure is defined as the root-mean-square value of the instantaneous pressure, measured in pascal = N/m².  SPL is the same number, but expressed in decibels relative to 20 µPa.  (I assume that it has a white spectrum, but I could be wrong.  Thermal noise in electronics is white, but other types of electronic noise are pink, and blackbody thermal radiation has a bandpass spectrum.)   in the context of underwater acoustics.  Not sure how this applies to air:     Mellen (1952) developed a theoretical model for thermal noise based on classical statistical mechanics, reasoning that the average energy per degree of freedom is kT (where k is Boltzmann’s constant and T is absolute temperature). The number of degrees of freedom is equal to the number of compressional modes, yielding an expression for the plane-wave pressure owing to thermal noise in water. For non-directional hydrophones and typical ocean temperatures, the background level due to thermal noise is given by:      NL = −15 + 20 log f (in dB re 1 µPa)      where f is given in kHz with f >> 1, and NL is the noise level in a 1 Hz band. Note that thermal noise . There are few measurements in the high-frequency band to suggest deviations from the predicted levels.    Citation is R. H. Mellen, The Thermal-Noise Limit in the Detection of Underwater Acoustic Signals, J. Acoust. Soc. Am. 24, 478-480 (1952).


Proving $k$ is divisible by $3$ iff the sum of the digits of $k$ is divisible by 3

I am trying to prove that $k$ is divisible by $3$ iff the sum of the digits of $k$ is divisible by 3 for all $k \in Z$.  I am not even sure what tags to use because I am not sure of right methods to use to solve this problem. I don't see how you could solve this with induction. Any tips on the general approach would be appreciated.


How to create default taxonomy term for a custom post type?

When i install a custom post type as plugin,it will create 3 default category automatically like apple,sony,nokia. How is it possible ? My custom post & taxonomy code:  function brands() {     $labels = array(         'name' => _x( 'Brands', 'brands_creator' ),         'singular_name' => _x( 'Brand', 'brands_creator' ),         'add_new' => _x( 'Add New Brand', 'brands_creator' ),         'add_new_item' => _x( 'Add New Brand', 'brands_creator' ),         'edit_item' => _x( 'Edit Brand', 'brands_creator' ),         'new_item' => _x( 'New Brand', 'brands_creator' ),         'view_item' => _x( 'View Brand', 'brands_creator' ),         'search_items' => _x( 'Search Brands', 'brands_creator' ),         'not_found' => _x( 'No Brands found', 'brands_creator' ),         'not_found_in_trash' => _x( 'No Brands found in Trash', 'brands_creator' ),         'parent_item_colon' => _x( 'Parent Brand:', 'brands_creator' ),         'menu_name' => _x( 'Brands', 'brands_creator' ),     );      $args = array(         'labels' => $labels,         'hierarchical' => true,         'description' => 'Brands filterable by genre',         'supports' => array( 'title', 'editor','thumbnail','revisions'),         'taxonomy' => 'brand_type',         'public' => true,         'show_ui' => true,         'show_in_menu' => true,         'menu_position' => 5,         'menu_icon' =>get_bloginfo('url').'/wp-content/plugins/brands-creator/images/brand.png',         'show_in_nav_menus' => true,         'publicly_queryable' => true,         'exclude_from_search' => false,         'has_archive' => true,         'query_var' => true,         'can_export' => true,         'rewrite' => true,         'capability_type' => 'post'     );      register_post_type( 'brands_creator', $args ); }  add_action( 'init', 'brands' );  function brand_taxonomy() {     register_taxonomy(       'brand_type',         'brands_creator',         array(         'labels' => array(                 'name' => 'Brands Type'                 ),          )     );  } add_action( 'init', 'brand_taxonomy');  # Default Category that will create automatically# function default_brand_type() {     wp_insert_term(         'Example Category',         'brand_taxonomy',         array(           'description' => 'MFG Product taxonomy.',           'slug'        => 'dmfg'         )     );     wp_insert_term(         'EMFG',         'brand_type',         array(           'description' => 'EMFG Product taxonomy.',           'slug'        => 'demfg'         )     );     wp_insert_term(         'OMFG',         'brand_type',         array(           'description' => 'OMFG Product taxonomy.',           'slug'        => 'domfg'         )     ); } add_action( 'after_setup_theme', 'default_brand_type' );


[NBHM_2006_PhD Screening Test_Analysis]     Let $f$ be a real valued function on $\mathbb{R}$ define   $$w_j(x)=\sup\{|f(u)-f(v)|: u,v\in [x-1/j,x+1/j]\}$$ $j\in \mathbb{N}$   and $x\in\mathbb{R}$, Define next   $$A_{j,n}=\{x\in\mathbb{R}:w_j(x)<1/n\}$$ $n=1,2,\dots$ and   $$A_n=\bigcup_{j=1}^{\infty}A_{j,n}$$ Now let $$C=\{x\in\mathbb{R}: f > \text{ is continuos at }x\}$$ How to express $C$ interms of $A_n$?   Well, according to the definition, $f$ iss continuos at $x$ iff $w_j(x)=0$ (I guess, I can do that by definition of continuity).  Then I guess, $C=\bigcap A_n$. I am not sure. Thank you.


Can someone help me figure out the name of a sci-fi book about space travel at the speed of light?

I read this book when I was much younger and can't remember the name of it but I remember it's one of the best books I've ever read.   It starts with this young girl that bumps into an older lady, the lady introduces herself as "Alpha". Later the young girl goes on a space mission where she will be traveling at the speed of light orbiting around the Earth. After many years, during which time she sees the earth come to an end and be reborn, she even sees history repeating itself, she ends up landing the space craft that she's been on. The books ends with her coming out of a building and bumping into a young girl and introducing herself as Alpha. (History repeated itself).  If there's anyway anyone can help me figure out the name of this book so I can try to get it that would be great. THANK YOU!!


How many seconds count until bomb detonates in Counter Strike?

In Counter-Strike, is there any count (in seconds/minutes) until the bomb explode when it's first set-up? And can the timing be modified?


Let $V = P_{2}$ be the vector space of polynomials of degree less than or equal to $2$ with real coefficients, and let $W$ be the subset of polynomials $p(x)$ in $P_{2}$ such that:  $$\int_{-2}^{0}p(x)\,dx = 4\int_{0}^{2}p(x)\,dx.$$  $b)$ Find a basis for $W$, and compute $\dim(W)$.  For $b)$, I know after plugging in an example p(x)=a and p(x)=a+bx+c^2 I get that a = 0, where do I go from here?


T0 find the value of $\lim\limits_{n\to\infty}\sum\limits_{k=1}^{n}\frac{1}{\sqrt{n^{2}+kn}}$

What is $$\displaystyle\lim_{n\to\infty}\sum_{k=1}^{n}\frac{1}{\sqrt{n^{2}+kn}}$$.I try to check whether series can be written as telescoping series but it doesn't work. I am getting no idea how to start?


I've tried everything I can think of but longtable just won't allow me to  add a caption and label to the top of the table.   My table looks like this:    But when I add in a caption and figure, overleaf/texstudio both crashes. Here's my code:  \documentclass[10pt,a4paper]{article} \usepackage[hmargin=1cm, top=2cm]{geometry} \usepackage{amsmath, amssymb} \usepackage{hyperref} \usepackage{graphicx} \usepackage{booktabs, makecell, longtable} \newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}p{#1}} \parindent=0em \parskip=20pt  \usepackage{enumitem}   \begin{document} \begin{center}  \setlist[itemize]{topsep = 1ex, parsep =0pt, leftmargin=*,after=\vspace{-\baselineskip}} \begin{longtable}{ll L{5.5cm} L{4.5cm}}     \caption{Table of 2013 Census variables used in this dissertation}      \label{Table 2.1}     \toprule     \textbf{Variable} & \textbf{Census Code} & \textbf{Description} & \textbf{Study Variables} \\  \midrule     Education & cen\_ind\_std\_highest\_qual\_code     & This variable records the highest qualification achieved by an individual. A qualification is a formally recognised award for educational or training attainment by one of the following authorities: \begin{itemize}     \item New Zealand Qualifications Authority and their recognised approval bodies     \item Universities New Zealand     \item Associations of Polytechnics of New Zealand     \item Association of Colleges of Education in New Zealand     \item Recognised overseas authorities \end{itemize}         & \textbf{highest\_qual}             \begin{itemize}[leftmargin=1.5em]         \item[0.]   No formal qualifications         \item[1.]   Level 1, 2, or 3 certificate         \item[2.]   Level 4, 5, or 6 certificate         \item[3.]   Undergraduate degree         \item[4.]   Postgraduate degree         \item[9.]   Missing or unidentifiable             \end{itemize}   \\ \bottomrule \end{longtable} \end{center} \end{document}