what is significance of first digit in 0022 when I run umask on linux?

I know that there is no difference in 0022 and 022 referring to . I have file 1.c, with permissions 0066. But when I change the mode of file 1.c to 1066, and then when I check the permissions of file with ls -l, it effects the permissions.  Each time different permission bits are changing with change in this first digit. What actually it signifies?  [vm4 ~]# ls -l 1.c ----rw-rw- 1 root root 10 Dec 23 22:48 1.c [vm4 ~]# chmod 1066 1.c [vm4 ~]# ls -l 1.c ----rw-rwT 1 root root 10 Dec 23 22:48 1.c [vm4 ~]# chmod 2066 1.c [vm4 ~]# ls -l 1.c ----rwSrw- 1 root root 10 Dec 23 22:48 1.c [vm4 ~]# chmod 5066 1.c [vm4 ~]# ls -l 1.c ---Srw-rwT 1 root root 10 Dec 23 22:48 1.c


Ubuntu 16.04 unable to boot with GTX 1080

I am using Ubuntu 16.04 with GTX 1080. On my first boot, the screen turn black after I selected Ubuntu in grub. After I added nomodeset, the black screen gone however it only shows the Ubuntu default background image. It can't reach the login screen.


Prove$ L^2$ inner product satisfies positivity

There is a proof in my textbook where I am a little bit unsure about a small detail.  It would be great if someone could clarify it for me.  We are supposed to prove positivity of the $L^2$ inner product on the space of continuous functions on $[a,b]$.  The book does this as follows:   We wish to show that the $L^2$ inner product on the interval $[a,b]$ satisfies the positivity axiom; this means we must show that if $0 = \langle f,f \rangle = \int_{a}^{b} |f(t)|^2 dt$, then $f(t) = 0$ is zero for all $a < t < b$.  Suppose by contradiction that there is a $t_0$ with $f(t_0) \neq 0$.  Let $\displaystyle\epsilon = \frac{|f(t_0)|}{2} > 0$ in the definition of continuity; which states that there is a $\delta > 0$ such that it $|t - t_0| < \delta$, then $\displaystyle|f(t) - f(t_0)| < \epsilon = \frac{|f(t_0)|}{2} > 0$.  This implies $\displaystyle|f(t)| > \frac{|f(t_0)|}{2}$ for $|t - t_0| < \delta$.  Assuming $\delta$ is chosen small enough so that the interval $[t_0 - \delta, t_0 + \delta]$ is contained in $[a,b]$, then  $$\int_{a}^{b}|f(t)|^2 dt \geq \int_{t_0 - \delta}^{t_0 + \delta} |f(t)|^2 dt \geq \frac{|f(t_0)|^2}{4} [2 \delta] > 0$$  This shows that if $f(t_0) \neq 0$, then $\langle f,f \rangle > 0$.  Therefore, we conclude that if $\langle f,f \rangle = 0$, then $f(t_0) = 0$ for all $a < t_0 < b$.  OK, so the only thing I don't fully understand here is that if we have shown that $|f(t)|$ is greater than $\displaystyle\frac{|f(t_0)|}{2}$ for $|t - t_0| < \delta$, then why, when we look at the integrals later do we write: $\displaystyle\int_{t_0 - \delta}^{t_0 + \delta} |f(t)|^2 dt$ is greater or equal to $\displaystyle\frac{|f(t_0)|^2}{4} [2 \delta]$.  If someone could explain to me why we use "greater or equal to" in this last step, then I would be extremely grateful!


How to install Flash on opera browser on Ubuntu 16.10

I'm trying to install Flash for Opera latest version on Ubuntu 16.10 but everything I have found and tried failed. It works fine however on Firefox and Chrome. Has anybody been able to successfully make it work? Thanks a lot.


Whenever I try to play media file, it says "required plugins couldn't be found"..... I installed Ubuntu via flash drive...how can I install MPEG-1 Layer 3 (MP3) decoder? I just installed Ubuntu and still am rookie at it.


Eisenstein Criterion to verify a that a polynomial is irreducible

Let $f(x)= x^4 -10x^2+1.$   Using the rational root theorem, I see that the polynomial has no rational root. Therefore, it does not have any linear factor. If it's reducible over $\mathbb{Z},$ then it would a product of two irreducible quadratic polynomials.   I did this pathetic arithmetic, and then I have shown that the polynomial is in fact, irreducible over $\mathbb{Z},$ ie irreducible over $\mathbb{Q}$ by the Gauss's lemma.   Is there any better way to check that the polynomial is irreducible over $\mathbb{Q}$? Can we use Eisenstein Criterion by translating the polynomial? Any help/suggestions would be appreciated. Thanks so much.


This problem has occurred starting this morning. I haven't changed any display settings, updated putty, I hadn't even rebooted until trouble shooting.  Running Putty release 0.63 Vista Business OS.  When I open Putty, it displays on the task bar, however not on the screen. I've made sure the windows is not off the screen, when you right click task bar icon, click move, spacebar, arrow key it moves the cursor to the middle of the screen.  I removed all the reg entries and downloaded a new putty.exe even though I'm running the latest version. Same issue.  I've done the obligatory googling, doesn't look like a known bug.  Has anyone seen this?


Are professors typically financially compensated for advising masters theses?

I have a professor that has given me some early advice on developing my thesis topic, but I have not yet formally selected a thesis advisor. I was thinking about choosing to work with a different professor whose research seems slightly more aligned with the project, but I'm curious if my professor (the one I already spoke with) will expect me to work with him, and if this would have entailed some sort of financial compensation for him. Not that this would heavily influence my decision, but it's something I'd like to be aware of.


A direct proof that there is a prime between $n$ and $n^2+1$?

I am trying to prove there is a prime between $n$ and $n^2+1$ without using  or   Do you have any idea?    Yuval Filmus's answer for  provides a quite useful idea.  But since $n^2+1\lt n!$ for $n\ge4$,  I do not know how to use it for this question.


Is $\operatorname{Hom}_\mathbb{Z}(\mathbb{Q}/\mathbb{Z},\mathbb{Q}/\mathbb{Z})$ isomorphic to any "known" group? I suppose what I mean is, is it isomorphic to a group that isn't a Hom group? If such an isomorphism is known, is there a reference which sketches it out?  I know $\mathbb{Q}/\mathbb{Z}=\bigoplus_p\mathbb{Z}_{p^\infty}$, but using the various properties to pull direct sums out doesn't seem fruitful.  My motivation is that I know $\operatorname{Ext}^0_\mathbb{Z}(A,B)$ is naturally isomorphic to $\operatorname{Hom}_\mathbb{Z}(A,B)$, and pairs like $\operatorname{Hom}(\mathbb{Z},\mathbb{Z})$, $\operatorname{Hom}(\mathbb{Q},\mathbb{Q})$, etc.,  come up frequently in algebraic topology/basic examples in homological algebra. Since $\mathbb{Q}/\mathbb{Z}$ shows up commonly in topology, I'm curious about that case as well.


Problems opening links on internet iphone 5S

When I search something on google and try to click on the returned items/links nothing happens. Please help, do I have to do something in my settings???


Schengen Visa refused by UAE Greek Embassy

I applied for a Schengen visa from the UAE Greek embassy. The visa was refused with the reason reason      information provided regarding justifications for the purpose and conditions of the intended stay was not reliable.   I was trying to understand the reason and I hope the following should be the one.  I applied alone with all documents and the reason I gave is Honeymoon travel. I didn't mention any information about my fiancée's passport as she has Oman residency and she will apply through the Oman embassy.  The documents that I submitted are   visa form Noc from sponsor confirmed travel tickets for me and my fiance. Complete itinerary accomodation confirmations bank statement with sufficient balance and travel insurance   Another reason I think: I am travelling to Europe from India and returning to India. But I provided the round-trip tickets from UAE to India also. Maybe this travel is a bit confusing.  I wanted to reapply. Should I apply again with the same documents, only adding my fiancée's passport detaila and stating she applied separately for a Schengen visa? Or should I book full-flex airline tickets from UAE to Europe and reapply with changed itinerary so it will be simple to understand?  Or I can apply for different embassy with different bookings as I heard reapplying for Greece Embassy is tough to get again?  Or please provide your valuable opinions and advise.


Virtual Machine is not running in windows 10 Home

I have installed VMware workstation 12 player in my windows 10 Home 64 bit. My processor is AMD.   Whenever I try to run the virtual machine it shows error saying I have to disable credential guard.    However, Credential guard was already turned off .     I did not find Device Guard option in Local Group Policy to disable it.    Please help me run Virtual Machine in my windows 10 Home 64 bit.


How do astronauts and spacecrafts float away into space if they're always under the influence of the Earth's gravity?

I understand that as the distance between the planet and the body increases, the gravity decreases, but how can they still just 'float away'?


What is the C# equivalent of NaN or IsNumeric?

What is the most efficient way of testing an input string whether it contains a numeric value (or conversely Not A Number)? I guess I can use Double.Parse or a regex (see below) but I was wondering if there is some built in way to do this, such as javascript's NaN() or IsNumeric() (was that VB, I can't remember?).  public static bool IsNumeric(this string value) {     return Regex.IsMatch(value, "^\\d+$"); }


I've installed emacs via apt-get but then I uninstalled it but this package still remained installed.  When I try to uninstall it it says:  sudo apt-get remove emacsen-common  Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  gir1.2-webkit-3.0 : Depends: libwebkitgtk-3.0-0 (>= 2.4.6) but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.   How can I fix this and uninstall all traces of emacs?  Now I even have this error:  sudo apt-get remove emacsen-common  Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  update-manager : Depends: ubuntu-release-upgrader-gtk but it is not going to be installed                   Depends: update-notifier E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.


Is there a catch-all place on the Stack Exchange network where one can post any question that does not obviously belong to the Stack Exchange sites?

Is there a catch-all place somewhere on the Stack Exchange sites where one can post a (any) question that does not obviously belong to any of the Stack Exchange sites?  Sometimes I have questions but I don't want to ask them on other sites (no need for names). I prefer to post it on the Stack Exchange network for various reasons.  If there isn't, are there plans for one? I imagine that if such a site exists, questions on that site can also be moved to other more specific sites when they exists, and it's not to be used to post questions which obviously belong to a specific Stack Exchange site.


How can I find the lagging region on minecraft server?

I have minecraft server with a bunch of mods: . The thing is after I explored a big part of world my server began to lag (before that server worked good). When I replaced world with old version of the same world (before exploration and with the same set of mods) lags disappeared. So, I think, I found something in the world that causes lags. How can I find that lagging region and remove the source of lag (kill problem mob, for example, regenerate region)?  This is what I get in console when server starts to lag:  16:24:11 [WARNING] The server is going slow. Last server tick was 20004ms ago 16:24:11 [WARNING] Last Tick: 1398345831441 Current Time: 1398345851445 Warning:  20000 Timeout: 60000 16:24:11 [WARNING] [TPS]: 16.7 Server Tick #54000 16:24:11 [WARNING]   Dimension:0 16:24:11 [WARNING]   Loaded Chunks: 336 Active Chunks: 154 Entities: 127 Tile Entities: 860 16:24:11 [WARNING]   Entities Last Tick: 83 16:24:11 [WARNING]   Tiles Last Tick: 660 16:24:11 [WARNING]   Dimension:7 16:24:11 [WARNING]   Loaded Chunks: 0 Active Chunks: 0 Entities: 0 Tile Entities: 0 16:24:11 [WARNING]   Entities Last Tick: 0 16:24:11 [WARNING]   Tiles Last Tick: 0 16:24:11 [WARNING]   Dimension:-17 16:24:11 [WARNING]   Loaded Chunks: 0 Active Chunks: 0 Entities: 0 Tile Entities: 0 16:24:11 [WARNING]   Entities Last Tick: 0 16:24:11 [WARNING]   Tiles Last Tick: 0 16:24:11 [WARNING]   Dimension:-31 16:24:11 [WARNING]   Loaded Chunks: 0 Active Chunks: 0 Entities: 0 Tile Entities: 0 16:24:11 [WARNING]   Entities Last Tick: 0 16:24:11 [WARNING]   Tiles Last Tick: 0 16:24:11 [WARNING]   Dimension:-100 16:24:11 [WARNING]   Loaded Chunks: 0 Active Chunks: 0 Entities: 0 Tile Entities: 0 16:24:11 [WARNING]   Entities Last Tick: 0 16:24:11 [WARNING]   Tiles Last Tick: 0 16:24:11 [WARNING]   Dimension:1 16:24:11 [WARNING]   Loaded Chunks: 0 Active Chunks: 0 Entities: 0 Tile Entities: 0 16:24:11 [WARNING]   Entities Last Tick: 0 16:24:11 [WARNING]   Tiles Last Tick: 0 16:24:11 [WARNING]   Dimension:-1 16:24:11 [WARNING]   Loaded Chunks: 26 Active Chunks: 9 Entities: 42 Tile Entities: 19 16:24:11 [WARNING]   Entities Last Tick: 3 16:24:11 [WARNING]   Tiles Last Tick: 8   Minecraft v1.6.4 mcpc+ (forge + bukkit) Essentials core plugin installed


Which of the following spaces are homeomorphic?

Let $X$ be a metric space and $f\colon X \rightarrow \mathbb R$ be a continuous function. Let $G = \{ (x , f(x) ) : x \in X \}$ be the  graph of $f$. Then which one is true?       $G$ is homeomorphic to $X$   $G$ is homeomorphic to $\mathbb R$ $G$ is homeomorphic to $X \times \mathbb R$   $G$  is homeomorphic to $\mathbb R \times X$    Please help me how to solve this problem.  Thank you


Good day! Is there a  formula that approximate the summation of natural logarithm of N as N runs from 1 to infinity?


Why are storage mediums advertised at higher capacities than what they actually are?

I have two SSD hard drives.  Both are advertised as 240Gb capacities.  Meanwhile, Windows shows them as only having ~222Gbs.  I see this trend across different storage mediums like flash drives as well.   Why?


when opening any browser in my pc, a pop-up ad website is automatically loading. How to solve it?

When i open any browser in my pc, a pop-up ad website is automatically loading in those browser. I make restore setting in all browser. But still it is happenning. How to get rid of it?


Moment Generating function With Gamma distribution

However i'm not sure about the result because in another calculation choose B seemed to be the answer.   Am I missing something? Thanks guys


which URL is better for a search engine?

In 2 ways I can show The article URL in my website: My Breadcrumbs website for a content to both of ways is this:  home>>computer>>hardware>>cpu>>this-is-an-article.html  The First way: LINK of article : example.com/computer/hardware/cpu/this-is-an-article.html catagory 1:       example.com/computer.html catagory 2:       example.com/computer/hardware.html catagory 3:       example.com/computer/hardware/cpu.html  THe second way: LINK of article : example.com/cpu/this-is-an-article.html catagory 1:       example.com/computer.html catagory 2:       example.com/hardware.html catagory 3:       example.com/cpu.html  which one is the best for serach engine specialy google?


Can anybody share Regular Expression below example:  minimum 3 alphanumeric and then add only one '@' then again minimum 3 alphanumeric  example: rohit@tcs or himansu@infosys


Difficulty summing items from a large string of numbers using foreach

I have been trying one of the Project Euler challenges but I have gotten stuck with an annoying problem.   double sum = 0; string numbers = "3710728753390210279...."  foreach (int item in numbers) sum += item;  Console.WriteLine(sum); Console.ReadLine();   When I run this code it doesn't split each number how I expect it to e.g. the first number 3 will instead be 51 and the second number 7 will be 55. I don't understand where it gets these numbers from.   Thanks in advance.


creating bib.file in a very simple language

I am ''VERY NAIVE'' about bib.tex (EVEN LATEX). I have used  \begin{thebibliography}{99}  in my latex text. But now I have to use bib.tex, and need ''VERY SIMPLE'' information how I should creat a bib file, should I download something or only add somme usepackage ?


In a script I have inherited the output of one of our programs is put in to a file with:   program &>> result.txt   I have been reading in my book "Learning the bash shell" at home over the weekend, but cannot find what this means ( I know what >and >> mean ).  I am missing something obvious?


How do I install Ubuntu on a Chromebook?

I am trying to install Ubuntu as as desktop usage  on an Acer C7 Chromebook. I have downloaded it but it is asking for an app to open it. Is there such an app?   Is it possible to do this?


How to set up a default program opening an unknown file extension?

I tried to open a file with an extension name of adb in Finder (to be precise, PathFinder). When I clicked the file, vi editor is activated to open the adb file. I didn't do anything with the adb file, so my guess is that vi editor changed the system setup to open it whenever unknown file format is opened.  How can I change this behavior? I want to open TextMate as a default.


Give an example for $f(A)\setminus f(F) \neq f(A\setminus F)$.

I came across this, $f(A)\setminus f(F) \neq f(A\setminus F)$. I'm not sure that I completely understand why they cannot be equal. So could someone give an example for which $f(A)\setminus f(F) \neq f(A\setminus F)$?   I think an example of this might help me to better understand.


Should I wear mask to supermarket to protect myself from coronavirus?

US news keeps telling average people NO NEED to wear masks for coronavirus, but I see on TV that when Chinese/Korean/Japnese go out to the street, all of them wear masks.   If the US advise people to wear make later on, we don't have enough supplies anyway. Because we don't have enough supplies. What's your take on this?   Also, if mask doesn't work, why I see emergency people wear mask all the time then?  Doesn't wear masks reduce my risk?   Also, what's the correct Western perspective on wearing a mask? Will people look at me differently on the street if I wear a mask?


How do I change font size on Ubuntu 18.04 Desktop

Does anyone know how to change the size of the fonts on icons on Ubuntu 18.04 desktop?  How do I change the icon size of the icons that appear when the show applications button is pressed?   Thanks for any help given :)


Why does Obi-Wan think so lowly of Leia?

Fess Ilee (Ferus Olin) thought that there was the Dark Side in Luke, but only light in Leia. He was a Jedi, so he was probably correct. Why did Obi-Wan only see anything in Luke? Leia, her whole life, was a natural leader. Luke only started to come around in Episode V and VI. What did Luke have that Leia didn't, in Obi-Wan's eyes?


what does $\lim _{x\to 0}$ $x^{x^{x^{x^{x^{x\cdots}}}}}$ evaluate to?

I was wondering if there is any possible way to define a limit for this form?  I tried using L’hopital rule and tried evaluating the limit:  $$\lim _{x\to 0} x^{x^{x^{x^{x^{x\cdots}}}}}$$  $$\lim _{x\to 0} x^{x^{x^{x^{x^{x\cdots}}}}} = \lim _{x\to 0} y$$  $$\lim_{x\to 0} x^y = \lim_{x\to 0} y$$  $$\lim _{x\to 0} \ln y = \lim _{x\to 0} \frac{\ln x}{\frac{1}{y}}$$  $lim _{x\to 0}$ $\ln y$ =  $lim _{x\to 0} $$\frac{\frac{1}{x}}{-\frac{1}{y^{2}}\frac{dy}{dx}}$  $lim _{x\to 0}$ $\ln y$ =  $lim _{x\to 0}$ $-\frac{y^{2}}{x}\frac{dx}{dy}$  $lim _{x\to 0}$  $x^{x^{y}}$ = $lim _{x\to 0}$  $y$  $lim _{x\to 0}$  $\ln y$ = $lim _{x\to 0}$  $\ln\left(\frac{\ln y}{\ln x}\right)$  following the same steps yield the result: $lim _{x\to 0}$  $\ln\left(\frac{\ln y}{\ln x}\right)$ = $lim _{x\to 0}$ $-\frac{y^{2}}{x}\frac{dx}{dy}$ substituting the previous result leads to the equation   $lim _{x\to 0}$ $\ln y$ = $lim _{x\to 0}$  $\ln\left(\frac{\ln y}{\ln x}\right)$   $lim _{x\to 0}$ $x^{x^{x^{x^{x^{x...}}}}}$ =  $lim _{x\to 0}$ $\log_{x}\left(x^{x^{x^{x^{x...}}}}\right)\$$  substituting $x^{x^{x^{x^{x^{x...}}}}}$ as 0 or 1 does not satisfy the equation (as manually checking the limit with a calculator yields a result of a number that approaches 0 or 1).  However if I let $lim _{x\to 0}$ $x^{x^{x^{y}}}$= $lim _{x\to 0}$ $y$ then I will get the result such that  $lim _{x\to 0}$ $\ln\left(\frac{\ln\left(\frac{\ln y}{\ln x}\right)}{\ln x}\right)$ = $-\frac{y^{2}}{x}\frac{dx}{dy}$ = $lim _{x\to 0}$ $\ln y$  therefore another equation is made such that $lim _{x\to 0}$  $\log_{x}\left(\log_{x}\left(x^{x^{x^{x^{x...}}}}\right)\ \right)$= $lim _{x\to 0}$ $\ x^{x^{x^{x^{x...}}}}$ However, substituting the value of $\ x^{x^{x^{x^{x...}}}}$ as 0 or 1 satisfies the above equation.  So how does this work?


What does "Open a console/terminal" mean?

I want to install a file and the instructions say "Open a console/terminal", then "and cd to the location where the installer was downloaded". What does this mean in plain English? It seems one has to be a computer geek to do the simplest thing in Linux!


Postfix emails detected as spam with gmail

I know that there are a few posts about this and I have been reading them for a while now but still, I can't resolve my issue.  I’m running ISPconfig with postfix and I can’t figure out why my outgoing emails are marked as spam in gmail and outlook.com.   Reverse DNS is fine I set up SPF DKIM and DMARC (when I look in headers for a gmail email it says pass, same for outlook) I’m not blacklisted Mxtoolbox check is ok (it returns only too warning related to SOA expire value and Name server on same network) HELO is returning the proper name I tried different content in the email / plain text etc … I changed headers to display the right hostname instead of localhost I tried to use a different IP  I’m not using the server to send bulk emails.   Here is the result when I send a mail to check-auth@verifier.port25.com.  ========================================================== Summary of Results ========================================================== SPF check:          pass DomainKeys check:   neutral DKIM check:         pass Sender-ID check:    pass SpamAssassin check: ham   Here is the content of an email to gmail :  Delivered-To: xxxxx@gmail.com Received: by 10.37.115.87 with SMTP id o84csp2701146ybc;         Wed, 14 Oct 2015 02:24:12 -0700 (PDT) X-Received: by 10.180.23.231 with SMTP id p7mr27203112wif.30.1444814652908;         Wed, 14 Oct 2015 02:24:12 -0700 (PDT) Return-Path: <xxxxx@xxx.fr> Received: from xxx.xxx.fr (xxx.xxx.fr. [xxx.xxx.xxx.xxx])         by mx.google.com with ESMTPS id ao6si9344594wjc.158.2015.10.14.02.24.12         for <xxxxx@gmail.com>         (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);         Wed, 14 Oct 2015 02:24:12 -0700 (PDT) Received-SPF: pass (google.com: domain of xxxxx@xxx.fr designates xxx.xxx.xxx.xxx as permitted sender) client-ip=xxx.xxx.xxx.xxx; Authentication-Results: mx.google.com;        spf=pass (google.com: domain of xxxxx@xxx.fr designates xxx.xxx.xxx.xxx as permitted sender) smtp.mailfrom=xxxxx@xxx.fr;        dkim=pass header.i=@xxx.fr;        dmarc=pass (p=QUARANTINE dis=NONE) header.from=xxx.fr Received: from mail.xxx.fr (mail.xxx.fr [127.0.0.1])     by mail.xxx.fr (Postfix) with ESMTP id 761538392E     for <xxxxx@gmail.com>; Wed, 14 Oct 2015 11:24:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xxx.fr; h=     user-agent:message-id:from:from:date:date     :content-transfer-encoding:content-type:content-type     :mime-version:subject:subject; s=default; t=1444814652; x=     1446629053; bh=ZRVRT3UM6A3vr5Bjs0V90xDPq6+kbcb9HUlVjWHZ8Vc=; b=Y     pcDBU5OXZZsskSavKUNkbU8+TApXPx98+fJCXc4/5UkEXuLa7fNT/8HWidm0m8y2     chyd8e03x3u7keKwLXdKQz4SOoo1baIdB55DwY0tNebusGegoxnARAoVk1RoqO1E     e4FlvW5FkG4CNlPrFDEa0FKvURIDy+5g/dpS89k6UY= X-Virus-Scanned: Debian amavisd-new at mail.xxx.fr Received: by mail.xxx.fr (Postfix, from userid 33)     id 525068392A; Wed, 14 Oct 2015 11:24:12 +0200 (CEST) To: <xxxxx@gmail.com> Subject: Envoi depuis webmail X-PHP-Originating-Script: 0:main.inc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8;  format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 14 Oct 2015 11:24:12 +0200 From: Damien Lxxxxxxx <xxxxx@xxx.fr> Message-ID: <89350fb9a97732f74b1cbb8f7a1988ad@xxx.fr> X-Sender: xxxxx@xxx.fr User-Agent: Roundcube Webmail/0.7.2  Bonjour,  Merci de me recontacter.   Do you have any idea what’s wrong with my setup?  Thank you.


How to obtain the mirror image of an array (MATLAB)?

Given an array:  array1 = [1 2 3];   I have to reverse it like so:  array1MirrorImage = [3 2 1];   So far I obtained this ugly solution:  array1MirrorImage = padarray(array1, [0 length(array1)], 'symmetric', 'pre'); array1MirrorImage = array1MirrorImage(1:length(array1));   Is there a prettier solution to this?


How come such different methods result in the same number, $e$?

I guess the proof of the identity $$ \sum_{n = 0}^{\infty} \frac{1}{n!} \equiv \lim_{x \to \infty} \left(1 + \frac{1}{x}\right)^x $$ explains the connection between such different calculations. How is it done?


prove $\frac{1}{2}\mathbf{\nabla (u \cdot u) = u \times (\nabla \times u ) + (u \cdot \nabla)u}$ using index notation

I'm having some trouble using index notation to prove the identity   $$\frac{1}{2}\mathbf{\nabla (u \cdot u) = u \times (\nabla \times u ) + (u \cdot \nabla)u}$$  The closest I can get is by expanding the first term on the RHS, which gives  $$\mathbf{u \times (\nabla \times u)} = 2u_j \partial x_i u_j - u_j\partial x_i u_i - u_i \partial x_j u_j$$  but I don't see what to do from here (if what I've done so far is correct).  Any help will be appreciated!  EDIT  The comments so far are all a bit dubious about my expression for the first term on the RHS, here's my work:  $$\mathbf{u \times (\nabla \times u)} = \epsilon_{ijk}u_j\epsilon_{klm}\partial x_lu_m$$ now I move the second Levi-Civata symbol to the left and use the identity GFR posted to get   $$\epsilon_{ijk}u_j\epsilon_{klm}\partial x_lu_m = (\delta_{il}\delta_{jm}-\delta_{im}\delta_{jl})u_j\partial x_lu_m$$ expanding this gives  $$\mathbf{u \times (\nabla \times u)} = u_j\partial x_i u_j - u_j\partial x_j u_i$$ This next step i'm not sure about, I move the derivatives to the left of each term  $$u_j\partial x_i u_j - u_j\partial x_j u_i = \partial x_iu_ju_j - \partial x_j u_ju_i$$  then the product rule gives my original equation for $\mathbf{u \times (\nabla \times u)}$


How does a wire's magnetic field appear as an electric field, when the wire is neutral?

It is well known that electromagnetic force depends on frame.  I was reading a book, it says     If a charge is moving parallel to a current carrying wire then a magnetic force will be exerted on charge. But if we start moving with the charge at same velocity then it is in rest for the moving frame but it will experience the force again and since both frames( stationary one and the moving one) has no acceleration w.r.t each other so acceleration on the charge will be same in both frames but reason of this acceleration in moving frame as there is no magnetic field must be an electric field   My question is that it is well known that current carrying wire is neutral so how can there be an electric field in moving frame and if it is there then what is the origin of this field?  As it was marked as a possible duplicate, I want to clarify that I want an intuitive answer. There is written that a moving current carrying wire will appear as charge. How it is possible when wire is neutral? I am new to electrodynamics so sorry if i ask bad questions.


I have some troble understanding the Kernel density estimation.  If a consider the next example:  s<-0 z<-density(rnorm(25)) f<-function(i)approx(z$x,z$y,xout=i)$y for(i in seq(min(z$x),max(z$x),length.out = 10000)) s<-s+f(i) s   I expected getting that s is approximately equals to one since I am considering an approximation for the integral of the Kernel density function (that I suppose is also a density). However, I don't get the expected result. Why it doesn's sum one?  The idea behind this is that I wanted to use the Kernel as the density of my data points. I was interpolating to get my explicit function and use with other x values. Or do you know another way to get a density function estimated by fitting?


How does Ubuntu prioritize repositories?

What is the philosophy behind the prioritization of repositories when Ubuntu tries to install or update an app?  As I learned from , when we have the highest version in the repository, the order of repositories in sources.list file determines the priority. But in the case that repositories have been added to sources.list.d, which principle will be used fir prioritization?   Also in the case that I want to know the priority using command, I learned from  that I can use apt-cache policy.


Closed form expression for the product $\prod\limits_{k=1}^{n}\left(1 - \frac{1}{ak}\right)$

A simple method for evaluating a product is term cancellation. For example, the product  $$\begin{align*} \prod_{k=2}^{n}\left(1-\frac{1}{k}\right)&=\prod_{k=2}^{n}\left(\frac{k-1}{k}\right)\\ &=\frac{1}{2}\cdot\frac{2}{3}\cdot\frac{3}{4}\cdots\frac{n-1}{n} = \frac{1}{n} \end{align*}$$  is done via a telescoping argument. However, if we take a product that is just a bit more complicated, say  $$\prod_{k=1}^{n}\left(1 - \frac{1}{ak}\right)$$  for some $0,1 \neq a \in \mathbb{R}$, the argument immediately breaks down. I am interested in whether there exists a closed form solution for the general product given above.  This question is in part inspired by my attempt to prove the asymptotic bound .


Trying to make a script that will copy some files between machines, and unzip them. (Running CentOS 6.7) Everything seems to work except the unzip part,   This is the command giving me some issues,   ssh -i /root/.ssh/qasynd.key file_sync@10.5.107.82 'unzip /home/root/tmp/*.zip'   Ignoring the user/directory structure as that's just for the command, what could cause this? I did try to point it to /usr/bin/unzip as opposed to just unzip.


repeatatively creating sync_super for www-data which is showing high CPU usage

I am facing same kind of problem of having sync_supers recreated on my server, which are using high CPU usage:  4353 www-data 20 0 24392 3888 1012 R 100.0 0.0 13:15.26 [sync_supers] 5268 www-data 20 0 24392 3888 1012 R 100.0 0.0 9:42.56 [sync_supers] 4344 www-data 20 0 24264 3744 876 R 99.7 0.0 70:22.26 [sync_supers] 6792 www-data 20 0 24392 3892 1012 R 85.5 0.0 7:16.08 [sync_supers]   I have deleted few but again recreated with different pid.  Please help. I am not expertised in Ubuntu and linux, so bit difficult to trace the issue.  Thank you very much.


Turning a java class into an executable file using command line

Hi I have a java class as shown below but I now what to be able to call the main function and give it a textfile name to use in the command line window so my input would look like this in the command line: Main.exe TextFile.txt  The class is as shown below:  package com.company;  import java.util.ArrayList;  import java.util.Scanner;  import java.io.File;  import java.io.FileInputStream;  import java.io.IOException;  public class Main {  static ArrayList<Character> letters; static ArrayList<Integer> lettersCount; private static boolean caseSensitive = true;  public static void main(String[] args) { // write your code here     letters = new ArrayList<Character>();     lettersCount = new ArrayList<Integer>();      loadFile(caseSensitive);      print(lettersCount, letters);      System.out.print("Enter: \n" +             "'1' to make it not case sensitive\n");     Scanner reader = new Scanner(System.in);     int input = reader.nextInt();     reader.close();      switch (input){         case 1:             caseSensitive = false;             loadFile(caseSensitive);             print(lettersCount, letters);             break;         default:             System.out.print("There was an error with your input.\n");             break;     } }  public static void loadFile(boolean caseSensitive){     File file = new File("Text.txt");     if (!file.exists()) {         System.out.println("File does not exist.");         return;     }     if (!(file.isFile() && file.canRead())) {         System.out.println(file.getName() + " cannot be read from.");         return;     }     try {         FileInputStream fis = new FileInputStream(file);         char current;         while (fis.available() > 0) {             current = (char) fis.read();             //          System.out.print(current);             //          System.out.print("\n");             if(caseSensitive == false){                 current = Character.toUpperCase(current);             }             if(current != ' ' && current != '\n' && current != '\t' && current != '\r'){                 int index = 0;                 Boolean characterFound = false;                 for (char character: letters) {                     if(character == current){                         lettersCount.set(index, lettersCount.get(index) + 1);                         characterFound = true;                     }                     index++;                 }                 if(characterFound == false){                     letters.add(index, current);                     lettersCount.add(index, 1);                 }             }         }     } catch (IOException e) {         e.printStackTrace();     }      /* int index = 0;     for (char character: letters) {         System.out.print(letters.get(index));         System.out.print(lettersCount.get(index).toString());         System.out.print("\n");         index++;     }*/ }  public static void print(ArrayList<Integer> lettersCount, ArrayList<Character> letters){     int totalLetterCount = 0;     for (int x = 0; x < lettersCount.size(); x++) {         totalLetterCount += lettersCount.get(x);     }     System.out.print("Total characters: " + totalLetterCount + "\n");     if (caseSensitive == true){         System.out.print("Most frequently used characters: (default: case sensitive) \n");     }     else {         System.out.print("Most frequently used characters: (not case sensitive) \n");     }     for(int numRankings = 0; numRankings < 10; numRankings++){         int mostFreqIndex = -1;         for (int x = 0; x < lettersCount.size(); x++) {             if(lettersCount.get(x) > mostFreqIndex){                 mostFreqIndex = x;             }         }         System.out.print(numRankings + 1 + ". " + letters.get(mostFreqIndex) + " Times used: " + lettersCount.get(mostFreqIndex) + "\n");         letters.remove(mostFreqIndex);         lettersCount.remove(mostFreqIndex);         }      }   }


What's the technical difference between a flash drive and an SSD?

I was just reading a question on backups with flash drives, but I was not quite sure why SSDs would be better than flash drives for backups.  To me, solid-state drives look like larger versions of flash drives. But surely there must be something that makes the former much more reliable than the latter.  What's the difference between an SSD and just a regular flash drive? For example, do they both use NAND?


I have the following PageViewModel class:  public class PageViewModel : ViewModel<Page> {  public PageViewModel ()         {             Kywords = new List<Keyword>();             AnswserKeywordDictionary = new Dictionary<string, Answer>();         }         public Company Company { get; set; }         public List<Keyword> Kywords { get; set; }         public Dictionary<string, Answer> AnswserKeywordDictionary { get; set; } }   In my view i'm using the property AnswserKeywordDictionary  like that:  @Html.DisplayAffirmativeAnswer(Model.AnswserKeywordDictionary["myKey"])   my question is : how can i return a default value if "myKey" is not in the dictionary.  Thanks in advance


How to protect my files on external harddisk from being deleted

My brother and I share the same external hard disk the problem I have is how to protect my files from being deleted by him or any body else. I want to make sure that the file can be viewed/copied but not cut/deleted. We both use different pc systems. This would help also when I give my hdd to someone else.  P.S. Dont suggest encryption softwares and other stuff (TrueCrypt etc.).  Thanks in advance


How can I share my Google Chrome search engine entries?

I have created some search entries in Google Chrome using 'Edit search engines'.  How can I share some of these entries with my colleagues?


Conditions for when gravitational force acts on the centre of mass

In my physics material it says the gravitational force can be considered to be applied to the centre of mass of a body only in the following cases: 1.The effective gravitational field is homogeneous 2.The body has a spherically symmetric mass distribution 3.The effective gravity field is proportional to the radius vector Condition 1 makes perfect sense to me , If the centre of gravity is not at the centre of mass than obviously gravity can not be considered to act on it . Why are the other two conditions required ?


How to Call an Event from Html Css and Jquery

I am trying to call the event from button through css. It not working. When i click the delete button the listed file need to be removed from list.   i couldn't able to place the input type also. I am trying to get multiple fileupload similar like gmail add and delete. Anyone help on this


Is it possible with AppleScript to choose a clickable element in a web page and click it and if so, can you give me an example?


In a login script I found onlline, the creator added this function to prevent SQL-injection attacks.  function Fix($str) {     $str = trim($str);     if(get_magic_quotes_gpc()) {         $str = stripslashes($str);     }     return mysql_real_escape_string($str); }   Since I read that magic_quotes_gpc is (or has been) removed, it feels like this function is a bit outdated. Wouldn't just simply using mysqli_real_escape_string($user_input) add sufficient security?


c++ use of new keyword in folly queue's write() function

I am reviewing Facebook folly's lock free queue and am unfamililar with an approach they're using.  In the write() function, they use syntax   new (&records_[currentWrite]) T(std::forward<Args>(recordArgs)...);   I would have expected something more along the lines of   records_[currentWrite] = ....   I know im missing something, but if someone could kindly explain the use of new here, as i would have thought that creating a heap variable would have an overhead consequence.  if (nextRecord != readIndex_.load(std::memory_order_acquire)) {     new (&records_[currentWrite]) T(std::forward<Args>(recordArgs)...);     writeIndex_.store(nextRecord, std::memory_order_release);     return true; }     Thanks!


To make literature search simpler and more efficient, I'm looking for a good tool that would come up with a list of publications based on a given set of publications/research areas. So far, I've found  but it does not seem to work all that well. I was wondering if someone in this community might know about a better tool or an altogether better approach for pursuing efficient literature search.


I have submitted my question, as I have been unable to request further information from the responders to it, as the system advised that there were 705 too many characters.  Apologies for this, but grateful for a further response.  I thought it would be helpful if I provided the YouTube link to Professor Brian Greene's talk about the nature of space, so as to enable responders the opportunity to view it if they wish.  My comments and observations follow.  The link to Prof Greene's 'space', discussion is: .  During the explanation, Greene posed the question: 'What is space?' to which responses were provided by astrophysicist prof Alex Filippenko: '... we still don't really know what space is'.  Similarly, theoretic physicist, Prof James Gates says: 'it is one of the deepest mysteries in physics.'  So, I still have a comprehension deficit: what is space?  I have great difficulty in rationalising what is it the is being twisted, curved and rippled. These adjectives are used to describe the properties of space, but little attempt is made to describe the nature of what  is undergoing these transformations, i.e. what is space ‘made’ of.  Now, it appears to me that if one valiantly attempts to convey to the layman the properties of something, then it would help to describe what that thing it is ‘made’ of.  The problems in doing so have been acknowledged by august contributors to Prof Greene's programme.  Nevertheless, and despite sometimes, discussing ‘space’ without mentioning the inextricably linked component of time, Prof Greene attempts to explain the nature of 'space'.  I would be grateful for a further response to elucidate the problem I still have regarding what 'space' is comprised of.


How to resize an image without losing quality

I have an image of 90x122 pixels i want to resize it to make it 512x512 pixels but the image loses it quality Is there any way of doing this without losing the quality?.


Password Gets Reset when executing user_save

I have a function that sets a user to confirmed after they login to my site for the first time. However, whenever I run this function and I log out and try to log back in the password doesn't work anymore and I have to do a manual reset in the database. I can't seem to find what would cause a change in the password. Any advice?  Note that I am using mongodb.  function update_profile($uid,$attribute_name,$attribute_value,$arrayaction=NULL) {     // update some user property     $existing = user_load($uid);     $edit = (array) $existing;      //Update profile iformation     if(!empty($arrayaction))     {         if(strtolower($arrayaction) == 'push')         {             array_push($edit[$attribute_name]['und'][0],$attribute_value);         }         else if (strtolower($arrayaction) == 'unset')         {             if(($key = array_search($attribute_value, $edit[$attribute_name]['und'][0])) !== false) {                unset($edit[$attribute_name]['und'][0][$key]);             }         }     }     else     {         $edit[$attribute_name]['und'][0] = $attribute_value;     }      //Make the changes to the user     user_save($existing, $edit); }  function module_user_login(&$edit,$account) {     if ($account->access == 0) {         update_profile($account->uid,'field_confirmed',array('value'=>1),NULL);     } }


I can't think of a better title, feel free to edit.  I'm retaking a course at university, and the basic assessments are very similar; if I can assume that I'm studying effectively, could there be any issues with modifying my assignments to fit the new criteria, and effectively resubmitting them?  From my perspective, this cannot be collaboration or collusion, but it could be defined as plagiarism, at least by a computer. I don't see why I would have to reference my own work here if it is adapted from previous writings, is it therefore sensible to assume that there will be no complication from an ethical perspective?  I'm also interested in the general concept for academia - would I have to reference my previous writings, and if so, how?  Edit: Let me clarify that this particular case is not a significant assignment, but rather a small "checkpoint".


CFQuery - Update a table by comparing it to another table

I have a perplexing problem that I am finding difficult to work through.  I have 2 tables in my MYSQL database containing similar data. I'll outline just the pertinent information.  Table1 - ezpay_Usage Columns: ticket_ID date_opened date_closed - No data in this column yet  Table2 - Closed_Tickets Columns: ticket_ID date_opened date_closed - Has all the data  Table2 has data in the column "date_closed". We just changed out DB Structure and added the same column to Table1 (Currently has no data in that column though). Both columns will reference the same data and going forward will be updated in unison.   My questions is, how can I update all the existing records in Table1 with the data for the date_closed column by comparing it to the data in Table2.  I was thinking perhaps this way?:  First, Query The Table with the Data in question  <cfquery name="source_table" datasource="#datasource#">     select *      from closed_tickets  </cfquery>'   Second, query the table I want to update  <cfquery name="tableToBeModified" datasource="#datasource#">     select *     from ezpay_usage </cfquery>   Then, run an update query on the table I want to update  <cfquery name="update" query="#datasource#">     update ezpay_usage     set date_closed = #source_table.closed_date#     where ticket_id = #source_table.tciket_id# </cfquery>   Anyone have any suggestions for me? Thanks.


How can I draw outlines around 3D models? I'm referring to something like the effects in a recent Pokemon game, which appear to have a single-pixel outline around them:


product of quasi-coherent sheaves is not a quasi-coherent sheaf

Reading the basics of $\mathcal{O}_{X}$ modules, where $\left(X,\mathcal{O}_{X}\right)$ is a fixed ringed space, i understood that arbitrary direct products of quasi-coherent $\mathcal{O}_{X}$ modules are quasi-coherent $\mathcal{O}_{X}$ modules. I also know by a result of Gabber that $\mathsf{Qcoh}\left(X\right)$ is a Grothendieck category for an arbitrary scheme $X$ and consequently  it is a complete category. But, i was wondering: is the product of quasi-coherent sheaves coincide with the product in the category of $\mathcal{O}_{X}$ modules? Or there is a counter-example that arbitrary products of quasi-coherent sheaves are not quasi-coherent?


The Add Feature Button is not present on toolbar in QGIS 3.6

This may sound crazy, but I do not have an Add Feature button on my toolbar in QGIS 3.6.  Am I missing something?


Fantasy series where a Vietnam vet is transported to a fantasy land

The leading character is a Vietnam vet who is transported to a fantasy land. He gets a horse who he calls JEB Stuart. Other in the story is a beserker, a King who fights with his fists and a other person who has be transported from Earth.


Why I cannot use universal instantiation rule here?

I have the following premise:      $$\forall x (Fx \vee \neg Fx) \rightarrow Ga$$   Why I cannot use UI and get: $(Fa \vee \neg Fa) \rightarrow Ga$ And what is the difference between the first premise and the below premise:     $$\forall x ((Fx \vee \neg Fx) \rightarrow Ga)$$   Thanks in advance.


When is a continuous harmonic function holomorphic?

I am trying some questions in complex analysis and I got struck on this particular question.  Question: Let $f:\bar {U} \to \mathbb{C}$ be a continuous function which is harmonic in $U$, the unit disc with center origin. Prove that $f$ is holomorphic in $U$ iff $\int_{-\pi}^{\pi} f(e^{it}) e^{int}dt  =0$ for all positive integers $n$.  Assuming $f$ to be holomorphic I proved the other side but I have no idea on how I can prove that f is holomorphic if it satisfies $\int_{-\pi}^{\pi} f(e^{it}) e^{int}dt  =0 $.


Can polymorph and true polymorph change a PC's race and sex?

Can polymorph and true polymorph alter a PC's race and sex? If a PC can be altered in such a way, can the PC speak and use his or her hands?


How to cd to a directory that contains a space in its name?

I have a directory called "Reader 0.5" in my Desktop on Mac Os X. When to access the directory in terminal, I am using below code:  cd /Users/niho/Desktop/Reader 0.5   but it throws:  No such file or directory  error.  How can I cd into that directory?  Thanks.


Grant permission for new created files inside folder automatically

I have a folder which permission is set to 777 but when I add any files or folder unziping in that folder. Extracted files or folder permission never change. Destination folder permission is 777 and I want what I will add in that folder will automatically get permission of 777.   When I add any files or folder by extracting .zip in that folder, extracted folder/files permission won't change automatically. I always have to chmod for newly add file/folder!


I built (by following tutorials, see below) a Mob Grinder. It's a simple 20x20, with water, etc.     But when I go up there, it's not dark inside. I don't use Gammabright and I didn't put torches or anything.    I went to have dinner and put hoppers in the ground and stood 1 block away from the spawner, to see if some mob spawn and falls. But I got just 5 bones, 2 strings, 1 gunpowder and 4 rotten flesh, which is far less spawns than in the video.  I'm playing on multiplayer, but I'm very far away from other players. I saw in other topics, that we need to stop the mob spawning in the area around me, then they will get more chances to spawn in my trap, but it doesn't works, I don't know what to do!   When I'm on the top of the spawner, the Y is 96, and when I'm on the ground, the Y is 65. By the way, I think the problem isn't the nether rack, 'cause I see on the gamepedia, and it says: "Usage: Netherrack can be used as part of a trapping mechanism for Mob farming."  Tutorial Video:


Why is it, when I update, save and publish a landing page, that the changes are not immediately available when you request the page?   The changes to a landing page seem to go live with 5 minutes interval, despite the option at time of publishing a landing page saying 'publish immediately'.  Am I having too high expectations?


how to solve the" error: attempt to read or write outside of disk 'hd0'

error: attempt to read or write outside of disk 'hd0' . Entering rescue mode . . . grub rescue>


Use mathematical induction to prove an assertion

The assertion: $n^3 + 5n$ is divisible by $6$  I have completed the basis step $(n=1)$ and the first part of the induction step $(n=k)$, but I am stuck on the second part $(n=k+1)$.  This is what I have so far:  For $n=k$: $k^3 + 5k = 6t$  For $n= k+1$:  $(k+1)^3 + 5(k+1)$  $= k^3 + 3k^2 + 8k + 6$  $= (k^3 + 5k) + 3k + 3k^2 + 6$  $= 3k^2 + 3k + 6t + 6$ $= ???$  I cannot pull out a $6$ because that would leave halves that cannot be counted as integers. How should I proceed?


Simple field calculator equation in ArcGIS 10 not working

I'm new to ArcGIS 10 and am trying to do a really simple field calculator equation and it is not working. I'm just trying to find the percentage of a certain demographic trait by doing:  [asian]/[total]*100   It is populating about 10% of the column correctly and then I get an error:     There was a failure during processing, check the Geoprocessing Results   window for details   Obviously my syntax is not incorrect or else it wouldn't start populating the field correctly.   Does anyone have any idea why this is happening?


The following is a question from the sample GRE Mathematics Subject Test found on the ETS website:  Let $M$ be a $5\times 5$ real matrix. Exactly four of the following five conditions on $M$ are equivalent to each other. Which of the five conditions is equivalent to NONE of the other four?  (A) For any two distinct column vectors $u$ and $v$ of $M$, the set {$u,v$} is linearly independent.  (B) The homogeneous system $Mx=0$ has only the trivial solution.  (C) The system of equations $Mx=b$ has a unique solution for each real $5\times 1$ column vector $b$.  (D) The determinant of $M$ is nonzero.  (E) There exists a $5\times 5$ real matrix $N$ such that $NM$ is the $5\times 5$ identity matrix.  Apparently, the correct answer is (A), but I can't figure out why this is true. If $M$ is nonsingular, as is implied by statements (B)-(E), then isn't that equivalent to its column vectors being linearly independent? And if the 5 column vectors are independent, then I can easily show that each pair of vectors are independent. What am I missing?


Powershell script to display all groups and the users they contain

I'm currently trying to write a script that displays each group and user in the domain.          Import-Module ActiveDirectory  $Groups = (Get-AdGroup -filter * | Where {$_.name -like "**"} | select name -expandproperty name)  $Table = @()  $Record = [ordered]@{ "Group Name" = ""; "Name" = ""; "Username" = ""; }  Foreach ($Group in $Groups) {  $Arrayofmembers = Get-ADGroupMember -identity $Group | select name,samaccountname  foreach ($Member in $Arrayofmembers) {  $Record.Set_Item("Group Name", $Group)  $Record.Set_Item("Name", $Member.name)  $Record.Set_Item("Username", $Member.samaccountname)  $objRecord = New-Object PSObject -property $Record $Table += $objrecord  }  }  $Table | export-csv "C:\temp\SecurityGroups.csv" -NoTypeInformation   It always returns these errors:  New-Object : A positional parameter cannot be found that accepts argument '+='. At C:\Users\tech\Desktop\list.ps1:17 char:14 + $objRecord = New-Object PSObject -property $Record $Table += $objrecord +              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     + CategoryInfo          : InvalidArgument: (:) [New-Object], ParameterBindingException     + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.NewObjectCommand  New-Object : A positional parameter cannot be found that accepts argument '+='. At C:\Users\tech\Desktop\list.ps1:17 char:14 + $objRecord = New-Object PSObject -property $Record $Table += $objrecord +              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     + CategoryInfo          : InvalidArgument: (:) [New-Object], ParameterBindingException     + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.NewObjectCommand   Repeating over and over.  Any help would be greatly appreciated!  BTW This is server 2012 R2


Questions with little research are very highly upvoted

For a long time, each vote for a question gave you only 5 rep because if you have a question, do no research on it, then put it on a Stack Exchange site (especially Stack Overflow) and it's a popularly asked question, it will get hundreds of upvotes.  Look at the top voted questions on Stack Exchange, they have no research and very little content – most of them are one or two sentences – but the hundreds of people who look up the same question see the answer, think "Oh, that's useful", then upvote it. And if you have a question about a somewhat obscure topic, put a lot of research and time into it, it will get very few upvotes.  Why?  Because it's not a popular question.  All of the popular questions are taken, so there's nothing you can do.  Users can get a lot of non-deserved reputation that way. The very text of the upvote button says, "This question shows research effort; it is useful and clear", but that's not the reason why people upvote the top questions. The question is, what can be done about it?  For a time there was awarding of only half-reputation for question upvotes but that's not fair to those who actually have good questions.  And forcing people to put a lot of text into the question body will just be a frustrating annoyance. Are there any solutions to this?


Radical Ideal in the Coordinate Ring is Intersection of Maximal Ideals

I need to prove that a radical ideal in the coordinate ring $\mathbb{C}[V]$ (where V is an algebraic variety) is the intersection of all maximal ideals containing it.    The hint I was given was to consider the correspondence between ideals in a quotient ring $R/I$ and the ideals of $R$ containing $I$.  Any suggestions for where to begin? I don't even know where to start.


Suppose a group G is generated by two elements a and b. If ab=ba, prove that G is abelian.

This question is from Charles Pinter's A book of Abstract Algebra.  Pinter defines $G$ to be the set which contains all the possible products of $a,b$ and their inverses, in any order, with repetition of factors permited. He calls this $G$ as the group generated by $a,b$.   Since $ab=ba$, then following things are true: $a^{-1}b=ba^{-1}$, $a^{-1}b^{-1}=b^{-1}a^{-1}$ and $b^{-1}a=ab^{-1}$. $(*)$  Let $x_1,x_2 \in G$. Then $x_1,x_2$ are any two possible products of $a,b,a^{-1}$ and $b^{-1}$ (as defined above). The product $x_1 x_2$ is also any possible product. We can rearrange the $a,b,a^{-1},b^{-1}$ in $x_1 x_2$ using the equations $(*)$ in way such that it equals $x_2x_1$. Hence G is abelian.   Does the above even qualify as proof?  What are some alternative ways to prove this?


Is there anyway I can get symmetry on my entire project?

I want to know if I can make my entire project symmetrical


I want to use Ubuntu based computer (2 machines) in organization  1) to run some learning initiative 2) Some production small projects.  Please let me know if there is any licensing fee if I don't expect any support (from community or professionals) in both these situations. Regards, Sumit


"Squeezing in" between polynomial and exponential

Let $\mathbb{R}_+$ denote the set of positive reals. Let $\mathbb{R}_+^{\mathbb{R}_+}$  denote the set of all functions $f:\mathbb{R}_+\to \mathbb{R}_+$. For $f,g: \mathbb{R}_+\to \mathbb{R}_+$ we say $f\leq^* g$ if there is $N\in\mathbb{N}$ such that $f(x)\leq g(x)$ for all $x\geq N$.  Let $A=\{ f\in\mathbb{R}_+^{\mathbb{R}_+}: \exists n\in\mathbb{N}: f(x) = x^n \text{ for all x}\in \mathbb{R}_+\}$ and let $B=\{ f\in\mathbb{R}_+^{\mathbb{R}_+}: \exists \varepsilon\in\mathbb{R}_+: f(x) = (1+\varepsilon)^x \text{ for all x}\in \mathbb{R}_+\}$.  Question. Is there $s\in\mathbb{R}_+^{\mathbb{R}_+}$ such that for all $a\in A$ and for all $b\in B$ we have $a\leq^* s\leq^* b$?  Soft question. (Just out of interest; not needed for acceptance of answer.) If "yes" to the main question above, is there a "natural" problem that is not polynomial, but solvable in "time $s$"?


A doubt on Christoffel symbols: to be a tensor, or not to be, what's the answer to that question?

Following $[1]$ we realize that, in order to construct a covariant derivative, we must to compare two possible covariant derivatives such as: $(\bar{\nabla}_{a} - \nabla_{a})\Omega_{b}$, where $\Omega_{b}$ is a covector field. Now, the difference of the covariant derivatives defines a tensor field called $C^{c}_{ab}$ which later will be the christoffel symbols.  The Christoffel symbols appears when we identify the bar-covariant derivative as the partial derivative operators:  $$(\bar{\nabla}_{a} - \nabla_{a})\Omega_{b} = C^{c}_{ab}\Omega_{c} \iff  \nabla_{a}\Omega_{b} = \bar{\nabla}_{a}\Omega_{b} -  C^{c}_{ab}\Omega_{c} \implies   $$   $$ (\partial_{a} - \nabla_{a})\Omega_{b} = \Gamma^{c}_{ab}\Omega_{c} \iff  \nabla_{a}\Omega_{b} = \partial_{a}\Omega_{b} -  \Gamma^{c}_{ab}\Omega_{c} \tag{1}$$  But, these indices aren't summation convention, rather, they are the "Penrose's abstract index notation"; therefore these equations are coordinate free (latin indexes represent abstract notation and greek indexes are coordinate-chart representation/summation convention).   There's a convincent explanation for why the gammas are tensors (more generally the $C's$)$[1]$. Wald says then that the components of $\Gamma^{c}_{ab}$, the $\Gamma^{\delta}_{\mu \nu}$, transforms like a tensor but just for a covariant derivative with respect to $\partial_{a}$. But if we change coordinates, and therefore the basis vectors $\partial_{a} \to \partial '_{a}$, then we also need to change the notion of $(1)$ to another covariant derivative:  $$\nabla_{a}\Omega_{b} = \partial '_{a} -  \bar{\Gamma}^{c}_{ab}\Omega_{c} \tag{2}$$  and due to this we realize that the components of Christoffell symbols become non-tensorial. Ok, this is convincing, but the fact is, fixing a derivative $\bar{\nabla} _{a}$ in one chart (and following Wald's explanation), the components of $\Gamma^{c}_{ab}$ are indeed components of a tensor because the diference of covariant derivatives gives rise to a tensor in $(1)$. Therefore, due to tensor theory, you should be able to conclude that they transform like a tensor! This is quite confusing.  My doubt is: Christoffel symbols are tensors such as:  $$ \Gamma =\Gamma^{c}_{ab}\frac{\partial}{\partial x^{c}}\otimes dx^{a} \otimes dx^{b}?$$  $$* * *$$  $[1]$ WALD.R. General Relativity. pages $30-34$.


I have a TreeMap with String keys and instances of a Class as values. I want to be able to sort on an object of the Class. I have gotten this far:  public class StockTakeCompare  {      public static TreeMap<String, StockItem> sortByValues(final Map<String, StockItem> treeMap) {         Comparator<StockItem> valueComparator =                 new Comparator<StockItem>() {                     public int compare(StockItem o1, StockItem o2) {                          int res = o1.Name.compareTo(o2.Name);                         return res != 0 ? res : 1; // to preserve items with equal values                     }                 };          //THIS LINE THROWS AN ERROR:         TreeMap<String, StockItem> sortedByValues = new TreeMap<String, StockItem>(valueComparator);         sortedByValues.putAll(treeMap);         return sortedByValues;     } }   The line:  TreeMap<String, StockItem> sortedByValues = new TreeMap<String, StockItem>(valueComparator);   gives this error:      error: no suitable constructor found for  TreeMap(Comparator).    That makes sense but is there another way I can achieve my goal?    THIS IS NOT A DUPLICATE. My question is regarding using  classes as values in the TreeMap AND sorting on objects of those classes. The "duplicate" only deals with Primitives as values


Distance between 2 arduino's using rf links

I currently have a setup where I send a char using a Tx of 434MHz and an Uno to a Mega with a Rx. The Mega counts how many times it receives the char and then if it falls below a certain number it triggers an alarm. Is this a viable way to measure the distance between two microcontrollers while indoors or is there a better way.  Transmitter (Mega)  #include <SoftwareSerial.h>  int rxPin=2; //Goes to the Receiver Pin int txPin=5; //Make sure it is set to pin 5 going to input of receiver  SoftwareSerial txSerial = SoftwareSerial(rxPin, txPin); SoftwareSerial rxSerial = SoftwareSerial(txPin, rxPin); char sendChar ='H';  void setup() {   pinMode(rxPin, INPUT);   pinMode(txPin,OUTPUT);   txSerial.begin(2400);   rxSerial.begin(2400); }  void loop() {   txSerial.println(sendChar);   Serial.print(sendChar); }   Receiver  #include <SoftwareSerial.h>  //Make sure it is set to pin 5 going to the data input of the transmitter int rxPin=5;  int txPin=3; //Don't need to make connections int LED=13; int BUZZ=9; int t=0;  char incomingChar = 0; int counter = 0;  SoftwareSerial rxSerial = SoftwareSerial(rxPin, txPin);  void setup() {   pinMode(rxPin, INPUT); //initilize rxpin as input   pinMode(BUZZ, OUTPUT); //initilize buzz for output   pinMode(LED, OUTPUT); //initilize led for output   rxSerial.begin(2400); //set baud rate for transmission   Serial.begin(2400); //see above }  void loop() {   for(int i=0; i<200; i++) {     incomingChar = rxSerial.read(); //read incoming msg from tx      if (incomingChar =='H') {       counter++; //if we get bit "h" count it       }     delay(5); //delay of 10 secs   }   Serial.println(incomingChar);   Serial.println(counter); //prints the the bits we recieved    if(counter<55) {     //if we receive less than 100 bits than print out of range triggers alarm     Serial.println("out of range");      tone(BUZZ,5000,500);digitalWrite(LED,HIGH);   }   else {     noTone(BUZZ);digitalWrite(LED, LOW);     //if we get more than 100 bits than we are within range turn off alarm     Serial.println("in range");    }    counter = 0;   incomingChar=0; }


How to tell Google to crawl distinct part of the webpage?

What approach should I take to make the website Google-friendly, .  The problem is that when a specific content is being requested (eg. ) user is taken to the page using scrollbar, though the surrounding content is still being loaded. How to tell Google that for this URL  only the #36 entry should be crawled.  Is there a tag or other way to select the surrounding content as irrelevant for the URL?


I am trying to move a PHP Laravel application from my development computer running apache to a server running nginx. I have configured the database connection, and my Laravel app (mostly) responds with the expected page. However, there are random times when the server does not respond quickly and returns a  504 Gateway Time-out   after some time. A  service php5-fpm restart   or trying again later fixes this temporarily. I am using nginx with PHP 5.6 (through FPM), HHVM, and MySQL. I do not want to increase the maximum execution time as the script should not take this long in first place.  I suspect this is an issue with either the PHP scripts in the new environment or a configuration issue. This should not be an issue with nginx itself, as static resources are sent correctly. How can I troubleshoot and fix this?


How can I prevent a command block from saying a command was completed? (Like "Located player") Minecraft Bedrock

When I enter the /testfor command, and a player stands on the area the command block is detecting, a chat message appears saying "found MarioTimeWhoa". This didn't used to happen. How can I fix this?


Reproducing a set of ip commands in netplan

I recently upgraded to ubuntu 18.04 from 16.04 and am trying to figure out how to get my ip route and ip rule commands that I used to put in /etc/network/interfaces working under netplan.  These are the commands that I'm trying to reproduce, that I previously ran in /etc/network/interfaces:  sudo ip rule add table 129 from 192.168.1.160 sudo ip route add table 129 to 204.8.230.0/24 dev enp0s3 sudo ip route add table 129 to 192.168.1.0/24 dev enp0s3 sudo ip route add table 129 default via 192.168.1.1   This is my first pass at the netplan config in /etc/netplan/01-netcfg.yaml:  # This file describes the network interfaces available on your system # For more information, see netplan(5). network:   version: 2   renderer: networkd   ethernets:     enp0s3:       dhcp4: yes       routes:         - from: 192.168.1.160           to: 204.8.230.0/24           via: 192.168.1.1         - from: 192.168.1.160           to: 192.168.1.0/24           via: 192.168.1.1   However, after a restart those routes do not show up in the ip route output. How do I get these routes to stick?  Note that I've also tried putting these commands in a script in /usr/lib/networkd-dispatcher/routable.d based on some documentation I found, but that does not appear to have worked either.  EDIT: I'm getting closer. This is the new config, but now the problem is that although the table shows up in ip rule, ip route show table 129 is empty:  # This file describes the network interfaces available on your system # For more information, see netplan(5). network:   version: 2   renderer: networkd   ethernets:     enp0s3:       dhcp4: yes       routing-policy:         - from: 192.168.1.160           table: 129       routes:         - to: 204.8.230.0/24           via: 192.168.1.1           table: 129         - to: 192.168.1.0/24           via: 192.168.1.1           table: 129         - to: 0.0.0.0/0           via: 192.168.1.1           table: 129   I'm on netplan version 0.36.1


Stop System Preferences Software Update to notify me of a OS update

I am on Mojave and I will not ever upgrade to Catalina because I have 32 bit stuff I am not planning to ditch.  Software Updates in System Preferences still shows that there is one 'update', i.e. a major OS upgrade (see pic).  This is annoying and I'd like not to have this notification.  How can I turn it off?


What is surjective comparability equivalent to?

By surjective comparability I mean the following principle:  "For any nonempty sets $A,B$: there exists a surjective function $f$ from $A$ to $B$ or there exists a surjective function $g$ from $B$ to $A$."   Is this statement provable in $ZF$? If not then what exactly that principle is equivalent to (over $ZF$)?


Creating a single vertex on the cursor position

How do I create a single vertex (not connected to another vertex) on the cursor position?


Update manager won't install from un-authenticated sources

My update manager shows updates available. When I click on install updates it shows the following and does not update.     The action would require the installation of packages from not authenticated sources.    in details:     accountsservice cups cups-bsd cups-client cups-common cups-ppdc empathy empathy-common libaccountsservice0 libcups2 libcupscgi1 libcupsdriver1 libcupsimage2 libcupsmime1 libcupsppdc1 nautilus-sendto-empathy scribus-trunk   How to get updates ?


What factors influence the speed of the rebel fleet?

I'm just playing my first round of FTL and I'm wondering what can affect the speed of the rebel fleet that is pursuing me.   Does the time I spend in realtime in each system matter, or is only the number of jumps important?  What ways are there to slow down the fleet?


Here's my ps1 variable:  export PS1='\e[33;1m\u@\h\]: \e[31m\W\e[0m\e[0;32m$(parse_git_branch)\e[0m$\] '   Where parse_git_branch is a function that shows what branch I'm currently on in git, such as (master).  I've also set this in my .bashrc  stty columns 500   The behavior is really weird - in VS code if I make my integrated terminal really small, the line wrapping works correctly. If it's above a certain size, it starts overwriting itself on the same line.  Any idea what I'm doing wrong?  edit  Ben was correct below - I had to make sure the escape characters matched up and wrapped the entire thing in brackets. This seems to work:  export PS1='\[\e[33;1m\u@\h\]: \e[31m\W\e \e[0;32m$(parse_git_branch)\] \]\e[0m$\]\] \]'


Is there a way to exclude specific sites from remembering form history?

I'd like to keep form history turned on but exclude certain sites and haven't found a way.


Is there any way to call the parent version of an overridden method? (C# .NET)

In the code below I tried in two ways to access the parent version of methodTwo, but the result was always 2. Is there any way to get the 1 result from a ChildClass instance without modifying these two classes?  class ParentClass {     public int methodOne()     {         return methodTwo();     }      virtual public int methodTwo()     {         return 1;     } }  class ChildClass : ParentClass {     override public int methodTwo()     {         return 2;     } }  class Program {     static void Main(string[] args)     {         var a = new ChildClass();         Console.WriteLine("a.methodOne(): " + a.methodOne());         Console.WriteLine("a.methodTwo(): " + a.methodTwo());         Console.WriteLine("((ParentClass)a).methodTwo(): "          + ((ParentClass)a).methodTwo());         Console.ReadLine();     } }   Update ChrisW posted this:     From outside the class, I don't know   any easy way; but, perhaps, I don't   know what happens if you try   reflection: use the Type.GetMethod   method to find the MethodInfo   associated with the method in the   ParentClass, and then call   MethodInfo.Invoke   That answer was deleted. I'm wondering if that hack could work, just for curiosity.


Indentation in TOC and Lists of Figures/Tables

I am just starting to use Latex to write a university report. It does feel like a steep learning curve, and is at times frustrating, but I guess it is because I'm very new to it.  I got a question regarding TOC/figures/tables.  Basically, my document structure currently gets displayed in TOC as follows:    Contributions *section*   Summary *section*   List of Figures *section*   List of Tables *section* 1 Introduction *chapter*   1.1 Background *section*   1.2 Other Section *section* 2 Other Chapter *chapter*   However, I'd like it to be displayed like this:  Contributions Summary List of Figures List of Tables 1 Introduction   1.1 Background   1.2 Other Section 2 Other Chapter   Notice, that the first four unnumbered sections are not indented, but keep the indentation of numbered sections. Also, related to this question. I'd like my Lists of Tables/Figures to be NOT indented.   For example, instead of this:  List of Figures    1. Caption ------------------------------------------ 4   Have this:  List of Figures 1. Caption --------------------------------------------- 4   Thanks for you help!  ** EDIT (added more info)  Here is the minimal working example:  \documentclass[11pt]{report}  \usepackage{graphicx}  % Remove "Chapter" from title. No break between # and name. \makeatletter \renewcommand{\@makechapterhead}[1]{% {\setlength{\parindent}{0pt} \raggedright \normalfont \bfseries\Large\thechapter.\quad\ #1 }} \makeatother  \begin{document}  \pagenumbering{roman}  \section*{Contributions} \addcontentsline{toc}{section}{Contributions}  This is a contributions sections.   \section*{Summary} \addcontentsline{toc}{section}{Summary}  This is a summary section.  \cleardoublepage \tableofcontents %TOC  \cleardoublepage \listoffigures \addcontentsline{toc}{section}{List of Figures} %List of Figures  \pagenumbering{arabic} \chapter{Introduction}  Welcome to introduction chapter.  \section{Background}  This is a background section.\ref{capt} \begin{figure} \caption{Sample Figure.} \label{capt}  %must be after caption \end{figure}   \end{document}


I was wondering if there is a way to execute a command to start a client in the background, with no output on the screen.   I want to run multiple clients in the background of my screen.  Thank you


new cyclist here. I've recently started riding and have worked my way up to a 50K in 2 hours 24 minutes, averaging 21 km/h. I noticed that I really wasn't able to carry my speed through climbs and would like to know how to improve. On flat ground I can go 23-24 km/h but am usually going at a slow jog type pace on any type of hill. Thanks for the help.


zsh I/O redirection: redirecting and then piping; what is going on?

Can somebody explain what is going on in this command:  echo foo >&2 | grep foo   Zsh (5.0.2) prints foo twice. One seemingly to stdout and one to stderr, since running these commands:  { echo foo >&2 | grep foo } >/dev/null   and:  { echo foo >&2 | grep foo } 2>/dev/null   both just print foo once.


can't install app, because it's not supported in my country/area

I recently moved to another country and i would like to install bank appliation for my bank account in this country. however Play Store says i can't do that, because it's not available in my country (i guess it thinks i'm still in a previous country)  how to 'switch' to actual region/country ?


Do you use the masculine or feminine with "victim"?

My mother tongue is Latin-based so I'm used to differences in male/female for neutral words. I don't know how this would work with some words in English.  If the "victim" in a sentence is neutral (ie: it could be either a man or a woman, in this context it makes absolutely no difference and we don't know if it's a man or a woman), should I use "his" or "her"?  My instinct would tell me to use his but I seem to remember encountering her in such a neutral situation before.  EDIT:  Here is the exact sentence (it's from a IT Security paper I'm writing):     Finally the paper will demonstrate how the attacker may control the   contents of the web pages delivered to the victim as well as redirect   his downloads towards malicious files.   As you can see I used his here, is that correct?


How can I change my password?  I have looked around  but haven't found anything promising. A few answers got me close, but the advice always came from a more advanced user. I am new to the world of Linux however I feel I'm following the directions 100%.   I love Ubuntu & I'm learning a lot of good information but I have been spending far to much energy & time on what should be easy.


What are the differences between desktop environments in Ubuntu?

For example, in some distributions like Debian, the same CD netinst allows you to choose one or all of the desktop environments (Gnome, Xfce, etc...) but in Ubuntu you actually have to choose between different distros or forks (Kubuntu, Xubuntu, Lubuntu...)   What's the difference between having a distro like xubuntu and installing ubuntu and then doing something like   sudo apt-get install xubuntu-desktop   Or  sudo apt-get install xfce4    What's the difference between ubuntu with xfce and Xubuntu? Why are they called "flavours" instead of just different desktop environments?


Did Michael Corleone ever get revenge against those who killed his wife?   I just watched the 3 Godfather movies again and I was not able to figure out who made the attempt on his life and in the process killing his wife with the car bomb Sicily in the first movie. I know it was one of his body guards that planted the bomb, but I could not get who was actually behind it. I am guessing it was probably the Barzini crime family for the killing of Virgil Sollozzo, but I am just making an assumption there and if in fact it was the Barzini crime family then obviously he did get his revenge. I was hoping someone could back this assumption up, or not.  So did Michael Corleone ever get revenge against those who killed his wife?


How to disable beep sound in Linux CentOS 7 command line?

I just installed the basic Linux CentOS 7 (no desktop) and am experimenting with the system. Every time I make a mistake (entering things that the command line doesn't like), the computer beeps and it's driving me crazy.   What do I type in the command line to stop this annoying beep?  [root@localhost /]# #what should I run here?


How to check the battery level of devices connected via Bluetooth in OS X

I have a set of Bluetooth headphones that I use with my iPhone and Macbook (OS X Yosemite).   On my iPhone, a little battery meter pops up next to the Bluetooth logo each time I'm connect the headphones.  I have found no such option on my Macbook (OS X ) and am wondering if anyone else has experienced the same issue.  The only potential solution I came across was the Battery Tracker on the Mac App Store. It is not clear whether it supports all Bluetooth devices (and not just standard peripherals), and I would rather not pay the $1.99 to find out.  I know that my headphones have the  Bluetooth profile, so my gut is telling me that information about my battery level has to be accessible somewhere on my computer.  Here is a  of the device profile from my mac's System Information. RSSI seems like the only thing that could have been a battery meter (everything else is booleans or id's), but from what I've read it seems to be a metric for signal strength.  I'm interested in finding a solution from a practical standpoint, but am equally as interested in understanding how it would be/is achieved from a technical standpoint.  Think I just need to figure out what the battery metric/param/variable is called, and where I can get it.  Please let me know if you have any thoughts/insights ! Thanks


Plugins/Extension to Download videos (Similar to IDM)

How can I download videos on youtube and other platforms. Which is the best downloader compared to IDM in windows. How do I configure it and its extension in any browser on linux for example chromium?


Where is the layers button/function that was in 2.79? I have not been able to find the layers function.


How does head stops cat in following command : cat /dev/urandom | head -c 10

How does it happen that if I enter: cat /dev/urandom  then it will take forever to output data, but with: cat /dev/urandom | head -c 10  the output ends after 10 random bytes, does head instructs somehow cat to finish its output?


Can a wizard cast two spells by taking a full round action?

If a wizard does not move can he cast a second spell in his turn the way melee characters can take extra swings? Also if so, can he still use a quickened spell for a total of three a turn?  I have a level 15 wizard/abjurant champion and was wondering how it worked.


Can I Localise Content for Different Markets on a Single Domain?

Is there a way to localise content for different markets on a website that only has a single domain and no geo-targeted subfolders or subdomains? For example, I have a website that is a .com TLD, is there a way to localise a blog post taregetd at the US market for the Australian market without creating 2 very similar versions of the same blog post and having them both under one blog/resource hub?


Proof $\Vert x\Vert_\infty \leq \Vert x \Vert \leq \sqrt{n}\Vert x\Vert_\infty$

For $x \in \mathbb{R}^n$ we define $\Vert x \Vert _\infty := \sup_{k = 1,..,n} |x_k|$ (meaning that $\Vert x \Vert _\infty $ is the biggest component of $x$ according to amount)  How can one prove that   $$\Vert x\Vert_\infty \leq \Vert x \Vert \leq \sqrt{n}\Vert x\Vert_\infty$$  I have seen it on , but there's no proof to it.  I know that using Cauchy–Schwarz inequality we get for all $x\in\mathbb{R}^n$ $$ \Vert x\Vert_1= \sum\limits_{i=1}^n|x_i|= \sum\limits_{i=1}^n|x_i|\cdot 1\leq \left(\sum\limits_{i=1}^n|x_i|^2\right)^{1/2}\left(\sum\limits_{i=1}^n 1^2\right)^{1/2}= \sqrt{n}\Vert x\Vert_2 $$  but that doesn't help me.


I created my account with a random birthday. Happened for that to be under 13. Is there a way I can change my birthday?


The weighted sum of two independent Poisson random variables

Using wikipedia I found a way to calculate the probability mass function resulting from the sum of two Poisson random variables. However, I think that the approach I have is wrong.  Let $X_1, X_2$ be two independent Poisson random variables with mean $\lambda_1, \lambda_2$, and $S_2 =  a_1 X_1+a_2 X_2$, where the $a_1$ and $a_2$ are constants, then the probability-generating function of $S_2$ is given by $$ G_{S_2}(z) = \operatorname{E}(z^{S_2})= \operatorname{E}(z^{a_1 X_1+a_2 X_2}) G_{X_1}(z^{a_1})G_{X_2}(z^{a_2}). $$ Now, using the fact that the probability-generating function for a Poisson random variable is $G_{X_i}(z) = \textrm{e}^{\lambda_i(z - 1)}$, we can write the probability-generating function of the sum of the two independent Poisson random variables as $$ \begin{aligned} G_{S_2}(z) &= \textrm{e}^{\lambda_1(z^{a_1} - 1)}\textrm{e}^{\lambda_2(z^{a_2} - 1)}  \\ &= \textrm{e}^{\lambda_1(z^{a_1} - 1)+\lambda_2(z^{a_2} - 1)}. \end{aligned} $$ It seems that the probability mass function of $S_2$ is recovered by taking derivatives of $G_{S_2}(z)$ $\operatorname{Pr}(S_2 = k) = \frac{G_{S_2}^{(k)}(0)}{k!}$, where $G_{S_2}^{(k)} = \frac{d^k G_{S_2}(z)}{ d z^k}$.  Is this is correct? I have the feeling I cannot just take the derivative to obtain the probability mass function, because of the constants $a_1$ and $a_2$. Is this right? Is there an alternative approach?  If this is correct can I now obtain an approximation of the cumulative distribution by truncating the infinite sum over all k?


Forward declaration of template with incomplete argument

I am stuck with this code and don't understand the error. I'm trying to make a forward declaration of template specialization in a header and then define this specialization in a source file. When I try to include this header, compiler complains that I'm using incomplete type.  Error:   $ error: invalid use of incomplete type 'A_Template<Stub *>'   std::cout << A_Template<Stub*>().int_method() << std::endl;                ^~~~~~~~~~~~~~~~~~~ $ note: forward declaration of 'A_Template<Stub *>' struct A_Template<Stub*>;        ^   /* a.h */ #pragma once template <class T> struct A_Template{};  class Stub{};  template<> struct A_Template<Stub*>;   /* a.cpp */ #include "a.h"  template<> struct A_Template<Stub*> {     int int_method() {return 42;} };   /* main.cpp */ #include <iostream> #include "a.h"  int main() {         std::cout << A_Template<Stub*>().int_method();     return 0; }   Can anyone tell me what is wrong and is there a way to fix it?


Can I combine different races as a single army?

Can I mix soldiers from totally different armies?  I mean, can I have some, say, Necrons in among my Chaos Space Marines?  I have a couple different armies, and I'd like to combine them.


I have a Lenovo Y700 and I installed Ubuntu 16.04 yesterday. I downloaded the iso and installed it in my USB drive using YUMI. I had a problem trying to boot from the USB since it wasn't recognized. I had to go to BIOS and set it to boot from Legacy. Then it already appeared on my boot options. I installed it, restarted the computer and then GRUB appeared. Everything fine, until I tried to boot Windows. There are two options to boot Windows: Windows 10 and Windows Recovery. None of them worked, it shows a black screen saying I need to recover my Windows. Ubuntu boots fine.  However, if I switch boot in the BIOS to UEFI, Windows loads just fine (although GRUB isn't displayed).  I have two questions: Should GRUB be booted with Legacy mode? (I think so but I'm not sure about that) What can I do to fix my Windows Boot from GRUB?  Thank you in advance!


Let $\eta$ be a bi-linear form on $\mathbb{R}^4$ given by $$\eta\left(x,\,y\right)=x_0y_0-x_1y_1-x_2y_2-x_3y_3$$ The Poincare group is defined as the group of isometries of $\eta$, that is, the group of all maps $\Lambda:\mathbb{R}^4\to\mathbb{R}^4$ such that for all $(x,\,y)\in\left(\mathbb{R}^4\right)^2$, $$ \eta\left(\Lambda\left(x-y\right),\,\Lambda\left(x-y\right)\right)=\eta\left(x-y,\,x-y\right)$$  Then one usually says that these comprise affine transformations, for example, in the Wikipedia article on the Poincare group: "The Poincaré group itself is the minimal subgroup of the affine group".  My question is: is there a mathematical theorem that says, just given the data I specified so far (or more data?), that $\Lambda$ has to be affine (and if so, what is that theorem and its proof?), or is it part of the physical input which stipulates that lines must be sent to lines?


with uMatrix I can block domains for specific external content. But I would like to know if there is also a blocker for specific scripts on a domain. With uMatrix it is all or nothing for one source type (image, css, script, ...) for one domain, but I would like to allow some scripts and block other ones on a single domain.


How can one prove that $2^n-1$ divides $2^{pn}-1$?

I am reading the following, which seems true but cannot prove myself :     Let $p$ be a prime, and $n>p$ with the condition that $n$ has all its primes factors greater than $p$. Then $2^n-1$ divides $2^{pn}-1$.   I can see that $2^n-1=\sum_{j=0}^{n-1}2^j$ and $2^{pn}-1=\sum_{j=0}^{pn-1}2^j$ but cannot go further.  On an example we have $p=3$, $n=5$ so $2^5-1=31$ and indeed $2^{15}-1=32767=31\times 1057$.  Thank you for a precise explanation (this is not part of any homework, I actually am an older person and forgot lots).


Can a Dragonborn with an Extra Attack use both their breath weapon and their melee attack?

My Dragonborn character is about to get the Extra Attack ability and I'm curious if it can be used with the breath attack. Since a Dragonborn can only use the attack once per short rest I know he can't use it twice, but could he use his breath weapon and then make a melee attack?  I've only seen extra attacks used for the same weapon attacking twice for PCs so I'm not sure if a Dragonborn can use both their breath weapon and melee weapon as an extra attack.


Divergence of $\int_{0}^{+\infty }\frac{\cos x}{x}\ \mathrm dx $

How to prove that  $\int_{0}^{+\infty }\frac{\cos x}{x}\ \mathrm dx $ diverges ?


Conditional Formatting with Unequal Row Elements

I have an Excel table. I want to highlight the rows in which at least one element is different from the others for a given row. How can I do that? An example:    PRODUCT         COLUMN 1   COLUMN 2     COLUMN 3  Product 1       2,080.30    2,070.00    2,080.30  Product 2       2,728.20    2,728.20    2,728.20  Product 3       3.50        3.50        3.50  Product 4       1,720.00    1,720.00    1,720.00  Product 5       513.50      513.50      513.50   Row 1 will be highlighted.  Thanks


How do I force a user to change a password at the first time login using ssh?

I'm trying to force a newly created user to change a password at the first time login using ssh. For security reasons I want to give him a secure password until he logs in for the first time. I did the following so far:  useradd -s /bin/bash -m -d /home/foo foo passwd foo   Doing chage -d 0 foo only gives me the the error Your account has expired; please contact your system administrator on ssh login.


I'm trying to use the gnome-terminal profiles to cd to a given directory and register some aliases just after the terminal opens.  I have created a script:  ~/Document/project1/ops-setup.sh  #!/bin/bash alias up='docker-compose up -d' alias down='docker-compose stop' ...   Then a new gnome-terminal Project 1 profile running the following as "custom command"  bash -c "cd ~/Document/project1;. ./ops-setup.sh"   I can see my script launched when I open the terminal with this profile, the terminal remains opened but it does not leave the prompt.     The child process exited normally with status 0.   I tried to add a bash run after it so the prompt remains  bash -c "cd ~/Document/project1;. ./ops-setup.sh";bash   but no alias registered (I guess that's because it is a new process)  I also tried --init-file  bash --init-file <(echo "cd ~/Document/project1;. ./ops-setup.sh")   but bash complains     bash: cd ~/Document/project1;. ./ops-setup.sh): No such file or directory   How can I keep my aliases registered for this Project 1 profile ?    There are  to keep the terminal opened after running scripts and I that's not my issue. I'm really talking about keeping aliases registered


JavaScript Closures example and explanation

I have found this example of a closure on codeproject but it does not explain how it works.        function getMultiplier(multiplyBy){        function multiply(num){           return multiplyBy * num;        }          return multiply;     }       var multiplyByTwo = getMultiplier(2);     var multiplyByTen = getMultiplier(10);     var twoIntoFive = multiplyByTwo(5);      var tenIntoSix = multiplyByTen(6);        console.log(twoIntoFive); // 10     console.log(tenIntoSix); // 60     Now i am going to assume, with my C brain what is happening. Please correct me or give your explanation.   functions in javascript can also be objects, so the inner function multiply(num) is a method of getMultiplier, looking from outside. var multiplyByTwo is assigned the return value of function getMultiplier when invoked with argument 2. when you call getMultiplier(2), javascript interpreter creates an object in memory based on the definition of getMultiplier(). that object has a method multiply and it's address is assigned to variable multiplyByTwo. var twoIntoFive = multiplyByTwo(5); calls the getMultiplier(2) object's method multiply(num) with argument 5. that returns simple numeric 10 into variable twoIntoFive multiplyByTwo = 0; will make the garbage collector of javascript delete object getMultiplier(2) from memory.


When Would You Prefer DateTime Over DateTimeOffset

A few months ago I was introduced to the new  type and was glad 's flaws with regard to time zones were finally taken care of.  However, I was left wondering if there were any overhead or problems that could occur from using this new type.  I work on a multi-locale web application. Does anyone know of anything that could sway me from just using it for all my date/time work? Is there a window for abuse here?  Reference:


I want to use a power regulator PCB I designed to switch down 60V to 12V and 12V to 5V in order to power a USB plug and use it as a phone charger. My only worry is that the switching regulators I am using (TI TPS54560) can provide up to 5A of current whereas the plug is rated for 1A. Do phones cap their charging current at 1 or 2A on their own or is this something I need to implement in my system in order to avoid damaging them? Thank you for your help!


(Hiccup reading)      Night Fury: Speed: Unknown. Size: Unknown. The unholy offspring of lightning and death itself. Never engage this Dragon. Your only chance, hide and pray it does not find you.   -     Hiccup      You know, I just happened to notice the book had nothing on Night Furies. Is there another book? Or a sequel? Maybe a little Night Fury pamphlet? WHOA!   In the original How To Train Your Dragon, when Hiccup looks up the existing information about the Night Fury dragons, everything is listed as being "unknown", yet everyone seems to be able to immediately identify that Toothless is a Night Fury.  This continues into the second movie, where Eret, Valka and Drago all immediately recognize the species. Valka states that Toothless may be the last surviving Night Fury.   The Night Fury species seems to be awfully recognizable for a species that is supposedly all but extinct, and that no information is known about it.     What happened to the rest of the Night Fury dragons? Is this addressed in any of the extra materials, or in any of the books?


Suddenly increased number of flags remaining in MSO & SO

Recently there are a few changes in Flagging term on meta site. Due to this there was some flag counting problem in profile's helpful flag. Now it looks .  But just now when I click on the flag link, I found that there is increase of number in flag a post, have a look at following image,    As you can see Now I can flag maximum 61 post ( I have already used one, so it's showing 60 in image ). This change has come suddenly So, I think this is again due to that flag changes problem, because till I remember I was having flag count around 40 something. It shows same count for Spam & Offensive flag also. Edit Now It looks that this new flag weight system has been applied in Stack Overflow too, I just logged it and found that my flag weight is being increased from 46 to 100 (yesterday night it was 46), see the following images,    Even Spam & Offensive flag weight is also increase and lost it's red color.    Kindly look into this and fix it.


Can't install anything. Error "unmet dependencies"

I can't install anything on my Ubuntu. It gives me the following error. I tried all the things I found on different websites but it still doesn't work.  The following packages have unmet dependencies:  libpcap0.8-dev: Depends: libpcap0.8 (= 1.5.3-2) but 1.4.0-2 is installed sqlite3: Depends: libreadline6 (>= 6.0) but 6.3-4ubuntu2 is installed          Depends: libsqlite3-0 (= 3.8.2-1ubuntu2.1) but 3.8.2-1ubuntu2 is installed


How to stop Tkinter Frame from shrinking to fit its contents?

This is the code that's giving me trouble.   f = Frame(root, width=1000, bg="blue") f.pack(fill=X, expand=True)  l = Label(f, text="hi", width=10, bg="red", fg="white") l.pack()   If I comment out the lines with the Label, the Frame displays with the right width.  However, adding the Label seems to shrink the Frame down to the Label's size.  Is there a way to prevent that from happening?


Suggested edits accepted/declined history or graph

Is there a place or an option to see my own suggested edits with their review status (accepted or declined) in form of a list or a graph?  I'd like it to be more like a list of my flags where there is a visible thing that says [active] or the reason why it was declined. It'd make it much easier to see if and where I have gone wrong.


What is a referee in the manuscript submission process?

Please submit, with the manuscript, the names, addresses (including   countries), and e-mail addresses of five potential referees who are   outside the authors' institutions and must not have conflict of   interest with the authors.   Do you think I should name 5 researchers from a similar area that are not affiliated with my university and co-authors? Is this what referees are?


I attempted to post a bug report but it failed because I was missing one of the required tags. After adding the tag, I couldn't post the question because I had triggered the timer to prevent posting too frequently, even though my post hadn't been submitted.    Update: now I have to wait 20 minutes to post my second bug report? Let's see if I remember to come back and click submit in 20 minutes...


There are some questions which were written with my (mainly used) pseudonymous account, but contain some identifiable information, so it would be great if this account could take ownership.  As  and both merging accounts and dissociating yourself from a question is possible, too, would the Stack Exchange team be willing to change the ownership of these posts?


I want to compare my old and new webpage design, What is the fastest way to compare layouts of my old and new webpage versions?


Save all temporary and permanent files in just one folder while running a model using ModelBuilder in ArcMap

Is it possible to save all temporary and permanent files thats derived from a model created in ModelBuilder using ArcMap in just one folder thats predefined but with relative path. I am asking this question as I wish to run my model on different laptops.


Why is 3D stress tensor acting only on three surfaces?

I'm trying to learn about the stress tensor (in 3D)    The tensors are said to have directions (the first subindex $i$ in $\sigma_{ij}$) and specify the surface upon which they act (the second subindex $j$ in $\sigma_{ij}$).  What confuses me is why is it defined only to act on three surfaces, even when the cube has six surfaces?


Why are my sprinkles beneath the frosting

I am a beginner to Blender and watching .  At 8:46 is when my problem occurs, because my sprinkles are appearing beneath the icing.


Baking 2 dishes needing slightly different temperatures and time

In one oven I need to bake 2 dishes: one needs 35 minutes at 375ºF, and the other needs 45 minutes at 350ºF.  How much time should the second dish cook at 375ºF?


How to open a file dialogue box in JavaScript?

How can I get an "open file dialogue" box in JavaScript?


Why does second variable holding first variables initial object ref variable does not update when firsts points to a new object ref s?

As I understand, object references x in x = { greet: hi } stores a reference to object { greet:hi} unlike primitive types that hold actual values ( y=10)  In the following code, console.log(y) outputs {greet: "hi"}.  Why does y object reference is not updated to point to {greet: 'hello'} when x obj ref is updated to point to x = {greet: 'hello'}     var x = {greet: 'hi'}; var y = x; x = {greet: 'hello'};  console.log(y); console.log(x)