I understand that with words that indicate portions e.g. a lot, a majority, some, all, etc, I need to look at the noun after 'of' to decide if the verb is singular or plural. If the noun after 'of' is singular, I should use a singular verb. If it is plural, I should use a plural verb. For example:  All of the pie is gone. All of the pies are gone.  But what about the following statement:  Each of the children ____ (be) given a balloon on Children's Day.  Should the answer be 'is' or 'are'? Does the same rule apply? Thanks.


"You're a louse!" "I?" (Personal Pronouns vs Objective Personal Pronouns)

While reading Atlas Shrugged I've come across a number of conversations similar to the following:     Person 1: "You're a louse!"      Person 2: "I?"   This sounds very odd to me, but I can see how 'I?' could be short for 'I am?'.  I've looked around trying to discover if this is grammatically correct and I've learned about personal pronouns (I, you, he, she, it, we, they) and objective personal pronouns (me, you, him, her, it, us, them).  Personally, I think the conversation sounds much better like this:     Person 1: "You're a louse!"      Person 2: "Me?"   ...with the reasoning that this:     Person 1: "He's a louse!"      Person 2: "Him?"   sounds much better than this:     Person 1: "He's a louse!"      Person 2: "He?"   Therefore I think the correct grammar in this scenario is the objective personal pronoun (me) rather than the personal pronoun (I). I'm not sure, though.  Can anyone give me some concrete rules about this scenario?


Where do I suggest new Stack Exchange sites?

Is there an appropriate place to suggest new Stack Exchange based sites, perhaps a place for them to be voted upon?  I wish there was a Stack Exchange site for Aviation (both real-life and simulated).


Throughout MS documentation for AlwaysOn Availability Groups (AG) and AlwaysOn Failover Cluster Instances (FCI) I see the following pattern:  FCI is for HA scenarios. An AG synchronous secondary replica, co-located with the primary, is for HA scenarios. An AG asynchronous secondary replica, in a different datacenter, is for DR scenarios.  Here is an . Since option #1 and #2 are both for HA scenarios, how do I decide between them? If MS published costs and RPO/RTO metrics for both #1 and #2, it would be fairly easy to decide which I want. Or perhaps there is a different way to understand the ROI differences between these options.  For example, perhaps option #2 is best suited for VLDB's and option #1 is best suited for very high transaction volumes.  I don't know. So again, what is the selection criteria a DBA uses to choose between options #1 and #2? To further complicate things, I know that options #1 and #2 can be combined!  When is it wise to combine the two options?  When is it pointless to combine the two options?  I know when these options are combined, the AG no longer supports automatic fail-over.  It's interesting trivia, but doesn't answer my question. Incidentally, I intend on provisioning my final solution into Azure IaaS.  If I use an Always On FCI, I will likely create the quasi-SAN using Storage Spaces Direct (S2D). Update I've found two articles that give a comparison.  The first is , and the other is .  Both have a chart like this: ╔═════════════════════════════╦══════════════════════════╗ ║ FCI                         ║ AG                       ║ ╠═════════════════════════════╬══════════════════════════╣ ║  * Server Level             ║  * Database Level        ║ ╠═════════════════════════════╬══════════════════════════╣ ║  * Requires shared storage  ║  * Uses direct           ║ ║     (SAN or Storage Spaces  ║     attached storage     ║ ║     Direct)                 ║                          ║ ╠═════════════════════════════╬══════════════════════════╣ ║  * RTO from 30              ║  * RTO typically less    ║ ║     seconds to 20 minutes.  ║     than 30 seconds      ║ ╠═════════════════════════════╬══════════════════════════╣ ║  * RPO: no data loss.       ║  * RPO: ???              ║ ╠═════════════════════════════╬══════════════════════════╣ ║  * Only Passive Secondaries ║  * Active or Passive     ║ ║                             ║     Secondaries          ║ ╠═════════════════════════════╬══════════════════════════╣ ║  * One SQL Server           ║  * Multiple SQL Server   ║ ║     instance/license        ║     instances / licenses ║ ╚═════════════════════════════╩══════════════════════════╝  The article didn't comment on AG RPO, but I read elsewhere that there is no data loss when recovering from a synchronous secondary replica.  I don't know if that is true and I don't know what the RPO of asynchronous secondary replica might be.  In Azure there is  are created with the AG (regardless if you have your own domain controllers).  I don't know if an Azure FCI has the same heavy-handed requirement. Most significantly - I still don't know why it is valuable to combine the two techniques.  I've only read that it  availability.  That is a vague claim IMO. More trivia: I also spotted a discussion suggesting that .


How can I run a bash variable as a command exactly without additional quotation?

I'm trying to make a script which needs to save a command to be run as a string. The string in question needs to contain quotes, and when attempting to execute it bash adds additional quotation characters which in some cases causes the command to not run as expected.  Here is an example script. The command example run in this example script obviously doesn't do anything and it will simply say command not found, however you can still run the script and see what I'm talking about because I added -x to the #!/bin/bash line so that the exact command being run is printed out.  Example:  #!/bin/bash -x  #command typed explicitly example -options "-i filename"  #command stored in string first commandstring='example -options "-i filename"' echo "running command: ${commandstring}" ${commandstring}   The output of running this script for me is (ignoring the two "command not found" errors):  + example -options '-i filename' + commandstring='example -options "-i filename"' + echo 'running command: example -options "-i filename"' running command: example -options "-i filename" + example -options '"-i' 'filename"'   So you can see that the first line of course is run as expected giving the command line parameter:  -i filename  However, although the echo command prints the string in a way that would execute perfectly as well, when the string is placed on the command line it changes and the parameter being passed in becomes  '"-i' 'filename"'  which contains additional quote characters, and this is causing the actual command I'm using in my real script to fail.  Is there any way to prevent this?


My rim size is 622-20 and my current tire is 622-30 Can I fit a 622-35 or a 622-40 tire on my rim?   My forks are wide.


I just installed a newer version of Tex Live on Ubuntu 14.04 LTS 64 bit but when I type in the terminal:  tex --version the answer is: TeX 3.1415926 (TeX Live 2013/Debian) Why if I just installed the 2016 version?  Thanks so much!


I wanted to know the  of a certain software (omc), so I ran first    which omc file /usr/bin/omc   and that gave me all information I needed. Before telling my colleagues, I wanted to shorten it to a single line:    which omc | file   but that did not work. But why not?


Show $\left(1+\frac 1 x\right)^{x} < e < \left(1+\frac 1 {x}\right)^{x+1}$

I had to resort to the following characterization of number $e$ in order to :     $\forall x > 0. \left(1+\frac 1 x\right)^{x} < e < \left(1+\frac 1 {x}\right)^{x+1}$   Unfortunately, I don't have this result yet in my theorem prover. What is an easy way to derive it?


Show that, in all bases $n$ greater than $3$, the number written as $1331$ is a perfect cube.  I was given this question to do and sadly I have no idea where to even begin. Any help will be appreciated:)


when I type "sudo apt upate" it shows an eror it is below

E: Type '“deb' is not known on line 53 in source list /etc/apt/sources.list N: Ignoring file 'some-ppa.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension N: Ignoring file 'rethinkdb.lis' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension E: The list of sources could not be read.I am not able to install any packages of this eror please help


Should one avoid using the phrase "note that" in math writings?

I always thought that the phrase "note that" in a mathematical writing is simply something you say to express that what comes after "note that" is a fact. Due to its neutrality and versatility, I use it a lot, without even thinking the possible sentiments that might possibly make some people get me wrong. Moreover, many times we have to prevent symbols to appear directly after a comma or a period, so "note that" is convenient in this aspect too.   However, some incidents lead me to presume that perhaps those readers who are not that mathematically experienced could take "note that" as an imperative or even a condescending sign? This is much to my surprise. So, if I am writing something to someone that is senior than me in academia and that is not that mathematically experienced (say an applied engineering scholar whose math background is all from the school curriculum), would it be suggested that I avoid using "note that"? Thank you.


How to perform a for each statement in java with an ArrayList?

Is there a foreach statement in java that I can use to create a string from an ArrayList such as:  ArrayList<String> captured_photos=new ArrayList<String>(); captured_photos.add("pic1"); captured_photos.add("pic2"); String MyMessage=""; foreach(AnElement,My_ArrayList){MyMessage+=AnElement+", ";}   That will create MyMessage: "pic1, pic2, "?


I found this lovely snippet of code in /etc/profile on a CentOS box:  for i in /etc/profile.d/*.sh ; do     if [ -r "$i" ]; then         if [ "${-#*i}" != "$-" ]; then             . "$i"         else             . "$i" >/dev/null         fi     fi done   I know that it loads in the .sh files from /etc/profile.d, but I'm confounded by the last if statement, if [ "${-#*i}" != "$-" ].  What is this syntax doing?  I'm not even sure where to look it up.


I want to install Sublime Text 3 , but had a problem, my terminal is showing this error:     dpkg: error: dpkg status database is locked by another process   What shall I do?


Angular acceleration of ball when falling

Why is it assumed that angular acceleration is 0 when a ball is midair after rolling off a surface with constant velocity?


Prove that $1 + \cos\alpha + \cos\beta + \cos\gamma = 0$

If $\alpha + \beta + \gamma = \pi $ and $\tan(\frac{-\alpha + \beta + \gamma}4)\tan(\frac{\alpha - \beta + \gamma}4)\tan(\frac{\alpha + \beta - \gamma}4) = 1$  Then prove that:     $1 + \cos\alpha + \cos\beta + \cos\gamma = 0$.   I have no idea how to go about this.   Please help.


Are there any traces for evolution in modern humans over the last 100 years?

I ask that because I had a biology class and my teacher said something about a bone in the back of the head that apparently every male has, and for some reason, in the last 20-25 years, its started to fade away and so even though my father has the bone I don't. Or when I was still in high school, and I had to do X-rays for braces the doctor told me that I don't even have wisdom teeth? Are those traces of evolution or are they just random mutations?


There are identities for the sine of sum but are there for sine of product ? Had someone come up with this ? Or is it even possible to rewrite the $sin(a*b)$?


Convert follow path animation to keyframes

I have multiple cameras on the scene, each camera is parented to a path using follow path method. So when I play the animation all the camera moves at same time. But I need to convert this path animations to keyframes so I can change the timing of animations.  So how do I convert follow path animation to keyframes?


I've acquired a license for Windwos 8 but my Sony support says that my Sony laptop is not compatible. I think that it will run Windows 8 and I've heard that it's possible to do a "parallel install" and keep Windows 7. How can I do this?  And if the parallel install works, can I then remove Windwos 7?   Will my 3G modem with builtin SIM card have support in Windows 8? I have no "strange" peripherals, only standard Sony Vaio VPCSA.


where does struct object get memory in main function?

how does tmp get memory from the machine, from heap or stack?  I thought it was from the stack, but it seem that the code can run properly  #include<bits/stdc++.h> using namespace std; struct node {    int a[1000000]; }; int main() {     node tmp;     memset(tmp.a, -1, sizeof(tmp.a));     cout << tmp.a[0];     return 0; }


I wish to communicate with a moderator concerning 4 injustified downvotes that was made on 2 of my questions and 2 of my answers. These downvotes were done in a lapse of time of 1 minute and 12 seconds at the following times: 20:57:55 20:58:07 20:58:29 20:59:07 These downvotes were done:  The two first ones , on the only two questions I've ever asked The two later downvotes , on two questions that appeared to have been upvoted today and that were consequently at the top of the list of my upvoted answers, on the right side of the display.  So they were done on the immediately visible threads appearing in my user's page. I also noticed a comment of mine has disappeared. It was among the comments appended to this question:  At 19:59 I did a question in a comment to the OP's question. It is still visible at this time. I was asking for more information on what the OP wanted to do. I received two answers in comments, one of a user, and one of the OP, that were repeating exactly the same thing that is in the OP's question. Then I did another comment saying I thought this answer was rather weird because the OP was supposing he was knowing perfectly to what amount of info it was sufficient to limit the question. And now I notice that the two answering comments of the third user and of the OP , and my last comment too, have disappeared. Conclusion: It is clear for me that these 4 downvotes done in a 1mn12secs burst have been made with retaliating intention. The fact that the downvotes were done at this speed proves that they weren't done on the basis of the reading of the content of these questions and answers. I wish to know if a moderator can examine who is the downvoter, to verify it is the OP user of the said question, and to judge and decide to remove these unjustified downvotes. I don't care a lot about points, but I feel it is intolerable that any user may downvote like that, as if using a gun. That's not an attitude that fits with the desired functioning of SO, I think. Moreover, it already happened something similar for some other answers of mine, 3 weeks ago, more or less, and I didn't say anything because I had another business to do, and also it is complicated for me to express in English. But this time, it is so evidently a bad manner that I can't let this pass without asking some advice and explanation to a moderator. Will I have the opportunity to speak with one ?


I knew that Joe was used to mean the average man, and I discovered that joe is used to mean also coffee.   What is the origin of such meanings? When it is used to mean the average man, should I understand that Joe is/was the most common name?


show normality with non-linear transformation

This is one of the problem in the Allan Gut's Second Course for Probability.  Let $X_1$, $X_2$ be independent standard gaussian e.g. N(0,1).   Let $Y_1 = \frac{X_1^2 - X_2^2}{\sqrt{X_1^2 + X_2^2}}$, $Y_2 = \frac{2X_1X_2}{\sqrt{X_1^2 + X_2^2}}$. Show $Y_1$, $Y_2$ are independent standard normal.   It is easy to show $Y_1$, $Y_2$ has mean 0, variance 1 and covariance 0. However, I am having trouble show they are joint normal, since the transformation is non-linear.


When is the plural 'es' pronounced "ess/ez/izz" vs. "eez"?

I was just thinking about this when I typed out "processes" and realized that I've heard it pronounced both "process-izz" and "process-eez".  Is one incorrect, or is it considered an accent thing, or are they both completely acceptable?  I also thought of words like "parentheses" and "menses" as being strictly -eez but can see how those may be special exceptions.  Are there any other questionable words like this?


Why is this wrong with python multi-dimensional list multiplication (concatenation)?

I would like to create a python multi-dimensional empty list without very long codes. So I tried this:   a = [[[]] * 2] * 2     It turns out that when I print(a), I got the multi-dimensional empty list:     [[[], []], [[], []]]   But when I append something into one of the empty list:     a[0][0].append(np.array((1.5,2.5)))     All the empty lists got this np.array:     [[[array([1.5, 2.5])], [array([1.5, 2.5])]], [[array([1.5, 2.5])], [array([1.5, 2.5])]]]     But if I create the multi-dimensional empty list like below:  b = []   for i in range(2):        c = []       for j in range(2):           c.append(([]))       b.append(c)     It works. When I print(b), I still got:    [[[], []], [[], []]]     But when I do   b[0][0].append(np.array((1.6,2.6)))    then print(b), I got:    [[[array([1.6, 2.6])], []], [[], []]]     which is what I want.    Why is does happen?  I am using Python 3.6.8  This is my codes:  This is wrong:  a = [[[]] * 2] * 2   print(a)   a[0][0].append(np.array((1.5,2.5)))   print(a)     This is what I want:  b = []   for i in range(2):       c = []       for j in range(2):           c.append(([]))       b.append(c)   print(b)   b[0][0].append(np.array((1.6,2.6)))   print(b)     Why a = [[[]] * 2] * 2 cannot work, and how can I create this shortly? Thanks!


how to disable lamp shape behind object with glass material? (when rendering)

how to disable lamp shape behind object with glass material when rendering? Its not appear when rendering camera in this order -> camera-lamp-glass object but it is appear in this order -> camera-glass-lamp


How to always have Reverse Osmosis filtered water when travelling between apartments with varying plumbing?

My uncle will travel and  stay at serviced apartments (whose  structure and interior he must not change), across Canada for work where the tap water is normally safe, but he needs  (hereafter ) water for health reasons.  's  portable countertop RO system's Diverter Valve (DV) must be connected to the faucet's  (MT), and so does not help, because even if the apartments' faucets use MT, the MT's size may not match the DV's.


Measure is a serious weak point of mine, and I cannot figure out this problem:  Let $E \subset \mathbb{R}$ be Lebesgue measurable. Suppose that for all open intervals $I$, we have $m(E\cap I) \leq \frac{1}{2} m(I)$, where $m$ denotes Lebesgue measure. Prove that $m(E)=0$.  Any help is greatly appreciated!


Why is that updating problem after just installing ubuntu 12.04?

E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/


Understanding use println() non-static method from "out" static-variable?

Why we can use non-static method "java.io.PrintStream.println()" from static variable "java.lang.System.out", without creating new PrintStream instance before?   I've tried like Java.lang.System below, but runtime say exception java.lang.NullPointerException   class SystemTry {         static PrintstreamTry out; }  class PrintstreamTry extends SystemTry{         public void println(String s){                 System.out.println("param: "+ s);         } }  public class Executor{         public static void main(String argp[]){                 SystemTry.out.println("test");         } }    Yes, NullPointerException means one of reference use before creating object, so how to understanding use System.out.println() directly without creating object or NullPointerException?


This question appears in my textbook's exercises, who can help me prove it?     If a group $G$ is the set-theoretic union of finitely-many cosets, $$G=x_1S_1\cup\cdots\cup x_nS_n$$ prove that at least one of the subgroups $S_i$ has finite index in $G$.   I think that the intersection of these cosets is either empty or a coset of the intersection of all the $S_i$. I want to start from this point to prove it. So I suppose none of these $S_i$ has finite index, but I don't know how to continue?


How can I chunkload on a server running from my own computer without requiring client-side mods

I have a really fast computer, so resources isn't an issue, but what I want is to be able to chunkload my VANILLA world from a SMP / bukkit /etc., but bukkit's download pages have been taken down, so probably not bukkit. I just want to load my vanilla farms (Mob farm, sugar cane farm) and not have issues.


How can I increase the 100 file upload limit in drag & drop upload in SharePoint 2013?  I would also like to know if this limit is applicable to permissions levels -> i.e. can a user with Site Owner permission be configured to upload a great er number of files than 100?


What characters should I use or not use in usernames on Linux?

I want to create user accounts named after a domain name. adduser complains that the usernames need to match the NAME_REGEX regular expression.  adduser: Please enter a username matching the regular expression configured via the NAME_REGEX configuration variable.  Use the `--force-badname' option to relax this check or reconfigure NAME_REGEX.   I can add the users using useradd without complaint.  Is there a reason that I shouldn't modify the regular expression to allow ., - and _?  What characters will cause problems and shouldn't be allowed in usernames?  This is the default NAME_REGEX.  NAME_REGEX="^[a-z][-a-z0-9]*\$"


Mouse scroll wheel speed far too sensitive

In my Crunchbang installation with X11, openbox, my wireless usb mouse is listed at both /dev/psaux and /dev/input/mouse0. It's working fine apart from the scroll wheel, which although active, is far too sensitive.  I'm thinking maybe the kernel is raising double the scroll events that it should be? Not sure what to check out even if this is the case?   I tried adjusting sensitivity via lxinput but it affected everything on the mouse apart from the actual scrollwheel.  xinput list  ⎡ Virtual core pointer                              id=2    [master pointer  (3)] ⎜   ↳ Virtual core XTEST pointer                    id=4    [slave  pointer  (2)] ⎜   ↳ Microsoft Microsoft® Nano Transceiver v2.0    id=9    [slave  pointer  (2)] ⎜   ↳ Microsoft Microsoft® Nano Transceiver v2.0    id=10   [slave  pointer  (2)]   doing    xinput test 9 results in expected mouse motion events (but nothing for button clicks/scrollwheel)   xinput test 10 results in unknown class with no events fired.


What's happening to syntax highlighting for [css] questions?

I just noticed that the prettify language hint for questions tagged  has been changed to lang-default; it was lang-css before. While this allows HTML code blocks to be highlighted as HTML, unfortunately it prevents CSS code blocks from being highlighted as CSS. So now instead of , I now have to add lang-css to CSS code blocks!  What's the reason for this change? (Note, only developers and moderators have the ability to change the prettify language for a given tag.)  Also, if I try to change it back to lang-css, I get this prompt:     Setting a language to a value other than default should ONLY be done if the odds of a XML, Javascript, or HTML code block in the same post is very low,are you sure you wish to make this change?   And then I'm reminded of that question I asked not too long ago, linked above, regarding highlighting HTML code blocks in questions with lang-css, and then I cancel and step back on making the change.  Is there something else going on with prettify and HTML/CSS code blocks behind the scenes that I'm not aware of? It'd be great if a developer working on integrating prettify with the site could help me understand this.


VSE: how to zoom in on image without pixel blur?

edit: i think this might be a solution? But I don't understand how to do it can anyone help? i open a new scene and...then im stuck  "This really bugged me, but I got a solution: Create a new scene, and in that - using the node compositor zoom in/out of the clip. Add that scene into the other scene's VSE as a 'strip'. You are then able to "use the resolution" of the original clip re-sized however you like. It's slower and more clunky, but works (and very powerful!). As others have said the "transform" simply takes the existing canvas output and makes it bigger or smaller. It has no access to any extra resolution in the original, and can't "see beyond the edges" either. Image offset / crop do not allow you to control the size, they simply set it at "the original's resolution". Which is good enough for what it is."    I have to render out a 1080p video. So I set the workspace to 1080p.  I wanted to zoom deep into an image and end up with a part of it that wasn't blurry looking. So if I did this with a normal 1080p image....it would be blurry no doubt...  But what If I made a HUGE image, lets say 3x the size @ 5760x3240 (or whatever) in an image editor. And set it up so that the end view I get is an actual 1920x1080 view with no forced zoom, then there wouldn't be any blur!  So I have this large image. The intent would be to place it in the timeline. zoom out of it so get it into the 1080p window. Then just zoom in straight down to that intended 1080p point (My king is on the throne text bit).    Tried: 1. changing workspace to the original image size and then changing it back to 1080p, made it blurrry as can be when changed to 1080p (basically scaled the original image to 1080p and zoomed in on it :/). 2. tried image offset then adding transform layer....but the transform layer cuts anything not displayed in the 1080p viewport....and u can't fit an image that large in a 1080p window obviously.  Soo what can I do? you can do this all with a record screencapture. Infact its what the monitor is doing if u got a 1080p monitor....its scaled it down, I just want to zooom in and not get blur at the text selection.


Is there a gender-neutral word for "aunts and uncles"/"parents' siblings"?

Brothers and sisters are siblings.  Husbands and wives are spouses.  Mothers and fathers are parents.  Sons and daughters are children.  Grandparents, grandchildren ... but what about uncles and aunts, or nieces and nephews?  In writing this, I scanned the "Similar Questions" sidebar and found that half of my question is already answered; there is no real term for nieces and nephews.  Bummer.  But I'm still wondering about aunts and uncles: does anyone know about that?


Problem: Let $f_1(y)$ and $f_2(y)$ be density functions, and let $a$ be a constant such that $0\le a\le 1.$ Consider the function $f(y)=af_1(y)+(1-a)f_2(y).$   Show that $f(y)$ is a density function. Such a density function is often referred to as a  mixture of two density functions. Suppose that $Y_1$ is a random variable with density function $f_1(y),$ and that  $E(Y_1)=\mu_1$ and $\operatorname{Var}(Y_1)=\sigma_1^2;$ and similarly suppose that $Y_2$ is a random variable with density function $f_2(y),$ and that $E(Y_2)=\mu_2$ and $\operatorname{Var}(Y_2)=\sigma_2^2.$ Assume that $Y$ is a random variable whose density is a mixture of the densities corresponding to $Y_1$ and $Y_2.$  (i) Show that $E(Y)=a\mu_1+(1-a)\mu_2.$  (ii) Show that $\operatorname{Var}(Y)=a\sigma_1^2+(1-a)\sigma_2^2+a(1-a)[\mu_1-\mu_2]^2.$ [Hint: $E(Y_i^2)=\mu_i^2+\sigma_i^2,\;i=1,2.$]   My Work So Far:   Since $f_1$ and $f_2$ are non-negative, and $a$ and $1-a$ are also non-negative, it follows  that $f$ is non-negative. We integrate: \begin{align*} \int_{\mathbb{R}}f(y)\,dy &=\int_{\mathbb{R}}[af_1(y)+(1-a)f_2(y)]\,dy\\ &=a\int_{\mathbb{R}}f_1(y)\,dy+(1-a)\int_{\mathbb{R}}f_2(y)\,dy\\ &=a+1-a\\ &=1, \end{align*} as required. (i) We have \begin{align*} E(Y) &=\int_{\mathbb{R}}y\,f(y)\,dy\\ &=\int_{\mathbb{R}}y\,[af_1(y)+(1-a)f_2(y)]\,dy\\ &=a\int_{\mathbb{R}}y\,f_1(y)\,dy+(1-a)\int_{\mathbb{R}}y\,f_2(y)\,dy\\ &=aE(Y_1)+(1-a)E(Y_2), \end{align*} as expected.  (ii) We compute \begin{align*} \operatorname{Var}(Y) &=a^2\operatorname{Var}(Y_1)+(1-a)^2\operatorname{Var}(Y_2)+2a(1-a)\operatorname{Cov}(Y_1,Y_2)\\ &=a^2\sigma_1^2+(1-a)^2\sigma_2^2+2a(1-a)[E(Y_1Y_2)-\mu_1\mu_2]. \end{align*} We can arrive at this expression also by expanding out $V(Y)=E(Y^2)-(E(Y))^2.$ I see no way to simplify this. Indeed, if we assume $Y_1$ and $Y_2$ are independent, then the variances merely add, because the covariance disappears. It looks wrong to me, but I have verified that the identity holds for a couple of uniform distributions. I keep going around in circles on this one. Any ideas?    Many thanks for your time!


Automatically collect internet (broadband) speed metrics over time

(Before anyone jumps to the conclusion that this is the same question as , please read it through. Also I am looking for more comprehensive and detailed data than the poster in .)  Many years ago I used to use a tool called Line Speed Meter (or Monitor) by TCPIQ. This was a brilliant piece of software that would sit quietly in the background and several times a day (according to a selectable frequency) would reach out and test internet line performance against servers all over the world. In the course of a week (or more), thousands of servers would be tested and enough data would accumulate that one could analyze performance according to time of day, day of week, location of server, etc. Drill-down was possible to the point where you could see every server that was tested.  This data was invaluable in determining if one really was getting the performance being paid for. It was also infinitely more valuable than spot checks you perform at sites like  or even the better-regarded ones like  or  (both of which, incidentally, are biased toward USA users - which I am not one of anymore).  Unfortunately Line Speed Meter is no longer supported and the company that made it now has instead a tool called isposure that is nowhere near as flexible or transparent - it is geared to supplying data to ISPs rather than to the consumers. For example, according to their FAQ, it usually runs only once a day automatically - I'd like to start with running it every couple of hours for a week or two - and scale back once I have a good basis so that I can notice when performance changes. Also, the details of the tests are no longer visible to the consumer-user.  My question: is there a (preferably free) tool/service available today to automatically collect comprehensive line speed metrics so I can map out and analyze the performance I am getting on my Broadband internet connection?  EDIT 2012-02-13: I left something out of the above.  In my country, each ISP sells a package that implies performance beyond the borders of my small country. They own (or lease) the lines going across the ocean. They have full control of the bandwidth leading from their servers to the backbones in the USA and EU. Peformance through the cloud is very much relevant and although not entirely, certainly largely under the local ISP's control, since traditionally, the bottleneck has been traffic out of the country.  As an example, at the moment, my ISP is advertising widely their new transatlantic cable and how their performance now outstrips everyone else's. I haven't "felt" it - so I want a tool to quantify it.  Performance within my country is usually good. The problem is that almost all my work involves access to the Internet in North America, Europe, Pacific Rim and others. So I care about and want to document the end-to-end performance I am getting from my ISP - and if I switch, compare to what I get at a new ISP.  EDIT 2013-03-07: As @harrymc pointed out I neglected to mention OS. All the machines on my home LAN are (sadly) Windows (XP or 7). If A tool requires *nix, I have a couple ancient machines in storage I could probably re-purpose - but my preference is for a Windows-based tool. Thanks.  EDIT 2013-03-10: As a further clarification - a method to monitor speeds achieved during regular work provides half of what I'm looking for. What was nice about TCPIQ is that it would ferret out thousands of sites around the world and do brief d/l & u/l tests against them to check speed and then log the results. This gave a valuable statistical database for analysis of speed overall, as well as during times of day, days of week and according to geographical targets. That's the sort of functionality I'd like to achieve (again).


Using an article plus an adjective without a noun and another article plus a singular noun

Please consider the following, guys. I met a good and a bad mother on the way here What I am trying to say: There were two mothers, one bad and one good. Is it okay to use that construction? Or need I remove the articles and use mothers instead?


The number of links for a folder doesn't reflect the real status?

A question for ls command.  root@cqcloud script]# ls /var/www/html -la  total 36  drwxr-xr-x  9 root root 4096 Aug 31 01:12 . drwxr-xr-x  7 root root 4096 Aug 31 01:10 .. drwxr-xr-x  2 root root 4096 Aug 26 04:07 cmd drwxr-xr-x  5 root root 4096 Jul  3 10:07 cn.fnmili.com drwxr-xr-x  7 root root 4096 Aug 30 11:42 internal drwxr-xr-x  3 root root 4096 Jul 25 02:03 node drwxr-xr-x  4 root root 4096 Jul 11 01:26 sandbox drwxr-xr-x 13 root root 4096 Aug 26 03:45 tpshop drwxr-xr-x  2 root root 4096 Aug 31 01:12 trash  [root@cqcloud script]# ls /var/www/html/cmd -la  total 16  drwxr-xr-x 2 root root 4096 Aug 26 04:07 .  drwxr-xr-x 9 root root 4096 Aug 31 01:12 ..  -rw-r--r-- 1 root root 52 Aug 26 04:07 .htaccess  -rw-r--r-- 1 root root 73 Aug 26 04:02 df.php   You can see that the cmd folder has a link count of 2, but it actually has 4 links, including 2 files, . and .. folder. Can anyone explain why?


Extensions of f to a continuous linear functional

I am working on the following exercise, but I really don't know how to start this: Let $X$ be a normed space, and let $W$ be a linear subspace. Fix a $f_W \in W'$. Prove that the following are equivalent:  a) $W$ is dense in $X$ b) there exists a unique extension of $f_W$ to a continuous linear functional on $X$.  I know that a linear functional $f_X$ is an extension of $f_W$ if $f_X(u)=f_W(u)$ for all $u \in W$. And $W$ is dense if every point in $X$ is contained in $W$, or a limit point of $W$. I am very thankful for help!


How to show file size of featured image?

How to show file size of featured image in post on single.php?  For example: File size of featured image is: xx kb/Mb  I need size of featured "full" rezolution, also file size of "medium" resolution would be great?  Best regards.


Reading images of QR codes displayed in the browser

I constantly come across websites that reference an Android application, and provide a QR code of the URL to download the application from the marketplace.  Those same sites very rarely provide the actual link to the application in any other form.  I am looking for way to read QR codes that are on the phone itself.  Ideally, I would like a method that utilizes the "share" functionality of the built in browser in such a way that I merely hold my finger down on an image of a QR code, select "share" from the resulting menu that comes up and select an app to send the image of the QR code to.  Are there any ways to do this or come close to the above functionality?


So a while back, I asked a question about a dual list UI.  I didn't explain my question well enough, and the answers reflected that.  My question now is, "Is there a better way to allow the user to accomplish their goals than with the UI I've created".    The goals are as follows.   User must be able to select Super-Categories to cut down on the Available List size User must be able to Filter Categories to cut down on the Available List Size. User should be able to use a general Add/Remove to move Categories from the Available to the Selected List.   Here is my current setup, pay no mind to the colors, they were used for sizing and positioning.  The thing I'm noticing is how this UI setup seems to always feel like it needs more and more space.  It also feels VERY unbalanced because of the Filter and Super-Category selection being on one side, and nothing being on the other.  I could move the Filter so that it was on the same line as "Sections"/"Super-Categories" and then add a Separator for a mental break.  But I feel that leads the user to think that the filter works on the Selected List when it only works on the AvailableList.  Any help is GREATLY appreciated.  UI Atrocity Below...


Roots of a functionwith condition $\int_0^\pi f(x) \sin x dx = \int_0^\pi f(x) \cos x dx =0.$

Let $f:[0,\pi] \rightarrow \Bbb R$ be a continuous function which satisfies $\int_0^\pi f(x) \sin x dx = \int_0^\pi f(x) \cos x dx =0.$ Show that $f$ has at least two roots.


I have dual non-EU passports - can I back-to-back two 90-day EU stays using the two passports?

I am a citizen of two non-EU countries, both of which are allowed 90-day visa-free stays in the EU. Can I stay in the EU 90 days on one passport, leave the EU for one day then re-enter the EU on the other passport for a further 90 days? Looking to spend (up to) 6 months straight in the EU without breaking visa rules. Which comes first - the passport or the individual I guess?


What exactly is Type Coercion in Javascript?

What exactly is type coercion in Javascript?  For example, on the use of == instead of ===?


Is the Universe inside the event horizon of a white hole or a black hole or none?

I have read this question:    But it does not have a satisfying answer.  And this one:      This one says that we are not inside a black hole, because:   The large scale geometry of the universe is described by the Friedmann-Lemaitre-Robertson-Walker metric. The geometry of the spacetime of a black hole (in its simplest form) is described by the Schwarzschild metric.   Now here:    Safesphere's comment says that our universe is inside a white hole.  Question:   Which one is it, is our universe inside a black hole or a white hole or none?


I need to return this value:     Is there anyway to get the registered Force.com domain for a given org, with raw Apex code or Metadata API?


How do I take a steathy picture with my iSight camera from the command line?

Is there a command line utility that allows me to take a picture from the built in camera?  Something like screencapture allows for, well, screen captures.  The reasoning for a command line tool is I would like for it to be stealthy, without a countdown or flash or other indication to the user that a picture is being taken.


If I am a stationary observer and the electrons are moving relative to me,then shouldn't its density increase according to special relativity and thereby create an altogether negative net charge.


Are there any open source alternative to Landscape?

Better yet, are there any Spacewalk-like software packages that work for both RedHat-based and Debian-based systems?


Proving $\binom {n-1}{r-1}=\sum_{k=0}^r(-1)^k\binom r k \binom{n+r-k-1}{r-k-1}$

Prove the identity: $\displaystyle\binom {n-1}{r-1}=\sum_{k=0}^r(-1)^k\binom r k \binom{n+r-k-1}{r-k-1}$   It looks a bit similar to the "no gets their own hat back" problem or inclusion exclusion or non distinct balls in bins.   Trying to find a combinatorial solution seems like impossible because of the alternating sum (how can we explain inclusion exclusion?).  Trying to expand the RHS doesn't help nor using any of the simple identities I know of (like Pascal's).  Any hints or directions please?  Note: no integrals, no generating functions nor use of other identities without proving them.  Edit: I think I got it:   LHS:   n non distinct balls to r bins such that every bin has at least one ball, spread 1 ball to each bin, we're left with n-r balls to r bins.  RHS:   General case: $\binom {n+r-1}{r-1}$   complement: at least one bin is empty; 1 bin is empty, choose that bin $\binom r 1$ and spread the balls: $\binom{n+r-1-1}{r-1-1}$, do this up to r empty bins.   Since we have many over counting, we'll apply the inclusion exclusion principle and we got what we desired.


Which of them is the proper preposition to use.   Most people say "on the shelf", but I have seen "in the shelf" as well.


When does mass get converted into energy?

You know how energy is converted into mass in the sun, in particle accelerators and in nuclear bombs...Well mass gets converted into energy only in those situations (relativeley) and it doesn't happen in our day to day life...This makes it look like there needs to be a circumstance that the particles are in to get converted into energy...But in the situations that I've mentioned, the circumstances are different eg-            particle accelerators- high speed                                                                                sun                  - high temprature  See what I mean? ... So my question is What is the general circumstance that a particle needs to be in, in order to get converted into energy?...Help will be valued...THANX


How can I divide a collection into sub collections of 50 elements each in C#?

I have a collection that looks like this:  IList<TQBase> = hq;  public class TQBase {     public int i { get; set; }     public int q { get; set; } }   The collection has over 300 items in it.  Now I need to create a collection of these collections such that:  h[0] = the first fifty elements of hq h[1] = the next fifty elements of hq ... h[n] = any remaining elements of hq   Can anyone suggest a way that I can create the second collection. Is this something that  I could do with Linq or is there an easier way?


What are some good problem solving techniques for Math Olympiad style tests?

I am taking part in a Math Olympiad style test at my school in a few weeks. This test is mainly problem solving based and tests you on topics such as counting techniques, algebra, geometry as well as some miscellaneous topics.  So, I was wondering whether there are any key problem solving tactics to help me solve the questions while at the same time, increasing my efficiency.     I understand that people have asked a question like this before, however, I am asking for some specific techniques to support me problem solving.   Thank you :)


Is it possible to view the contents of a debian package?

I want to see the contents of a debian package, especially if the package is properly cleaning up whatever it installs.  I want to also see how it goes about installing the software, what directories it creates, symbolic links etc.


Help on the relationship of a basis and a dual basis

If $B_1 = \{v_1,\ldots,v_n\}$ and $B_2 = \{v_1',\ldots,v_n'\}$ are basis for a vector space V, and $D_1= \{\delta v_1,\ldots, \delta v_n\}$ and $D_2 = \{\delta v_1',\ldots, \delta v_n'\}$ are the corresponding dual bases of $V^*$ prove that, if $P$ is the change-of-basis matrix from $B_1$ to $B_2$, then $(P^{-1})^T$ is the change-of-basis from $D_1$ to $D_2$  (this is a theorem from Schaum's outline of theory and problems of linear algebra)  My knowledge of linear algebra is not great, but so far I have that   \begin{align} \text{For any }v \in V, [v]_{B_1}&=P[v]_{B_2}\\ \text{so } (\alpha_1,\ldots,\alpha_n)(v_1,\ldots,v_n)^T&=P(\beta_1,\ldots,\beta_n)(v_1',\ldots,v_n')^T \end{align} for some $\alpha_1,\ldots,\alpha_n,\beta_1,\ldots,\beta_n \in F$ (where $F$ is a field)  How do I use the fact that $D_1$, $D_2$ are dual basis to further this proof? And also, where does the transpose of $P^{-1}$ come in? Can I use that $D_1 = \delta B_1$ and $D_2 = \delta B_2$ (where I am guessing $\delta$ is the kronecker delta?)  Any hints or suggestions are greatly appreciated, I know that my knowledge is quite limited with regard to this, links to text or sources that could explain a problem like this would be great.


Why do we regard $z$ and $\bar z$ as independent in CFT?

I have been studying String Theory and CFT for a while, and I am sad to say I do not know why we treat $z$ and $\bar z$ as independent variables, and why we go on to consider the algebra $Vir\oplus\bar {Vir}$ instead of simply $Vir$. The literature I followed never really explained this, just simply did it. Is there a clear explanation of this fact?


In the movie "A Walk to remember" Jimmie's father says the following to his son-in-law who got into medical school. Actually Jimmie is dead when he says,      We are proud of you, son.  Jimmie would have been proud of you, too.   I wonder if the use of "would have been" is correct in this case. Shouldn't it simply be "would be"? I mean why past of would instead of present?


I tried to use the software updater but it doesn't give the upgrade option

I launched the software updater to upgrade from 13.10 to 14.04 but the updater doesn't give the upgrade option. The version on the Ubuntu 14.04 shows an upgrade button on the updater.


Quadratic equation with complex numbers as coefficients

$$iz^2 + 3z -1 -3i=0$$  I am a bit confused on approaching this problem initially. I believe that $a,b,c$ are meant to be real numbers in the quadratic equation here. So would I be using these as coefficients?:  $$a=i$$ $$b=3$$ $$c=-1-3i$$  And then progress as $$z_1, z_2 = \frac{-b \pm\sqrt{4ac-b^2}}{2a}$$  Or am I completely wrong?


Trouble with geometric proof of gravitational force inside a sphere

In  (Argument on Page 4, accompanying diagram on Page 11), the author attempts to prove Proposition 70 in Newton's Principia (gravitational force = 0 inside a hollow sphere) with a more streamlined version of Newton's original argument.   But the problem is I don't understand why we need to use infinitesimal cones instead of normal ones, since the area on the sphere formed by the cone can be calculated from $r^2\theta$, where $\theta$ is the solid angle of the cone's vertex, shouldn't the conclusion just fall out?  If, however, I resort to infinitesimal cones, why should the elemental area $dS$ be $\frac{r^2d\Omega}{\cos \alpha}$? Where does $\cos\alpha$ come from, and why does it matter that the angle between the normal to the surface and the cone be equal on both sides?


I can't log in because I delete `/etc/passwd`. How can I recover my files?

I can't log in to Ubuntu because by accident I deleted the passwd files. I have many important files on my hard disk of which I have no backup. How can I recover them?


I have a Maya plugin and want to get events for timeChanges. However I need to pass a function that I don't want to be static, but this fail at compilation:  void MyClass::initializeCallbacks() {     MDGMessage::addTimeChangeCallback((MMessage::MTimeFunction) &timeChanged,this); }  void MyClass::timeChanged(MTime tim, MyClass* clientData) {     <Code> }   I then get the following compilation errors:  must explicitly qualify name of member function when taking its address   ...&timeChanged,this);      ^~~~~~~~~~~~       MyClass:: error: cannot cast from type 'void (MyClass::*)(MTime,       MyClass *)' to pointer type 'MMessage::MTimeFunction' (aka 'void       (*)(MTime &, void *)')   How can I properly pass a pointer of my function ?


How are Stack Exchange sites officially branded?

How are sites in the Stack Exchange network, including Stack Overflow, officially branded? How are their names abbreviated? What conventions should be used in the FAQ?


Stack Exchange topic-specific blog posting

Does Stack Exchange support user blogs for specific topics or is this currently in development? Users with expertise in specific areas may have the desire to write a blog post teaching a particular topic. This would create a more stable foundation for user learning in established areas, pushing questions to be more focused on the cutting-edge where consensus hasn't been established, promoting discussion, development, and progress in the relevant areas.


How to prove this series $\sum_{j=1}^{\infty} \sqrt{a_j a_{j+1}}$ converges?

If $a_j>0$ for every $j$ and if $\sum_{j=1}^\infty a_j$ converges then prove that $\sum_{j=1}^\infty \sqrt{a_j a_{j+1}}$ converges. I want to use arithmetic mean${}>{}$geometric mean, but I don't know how to show the series $\sum \frac{a_j +a_{j+1}}{2}$ converges.


How to display your own name in publications list when you are a middle-author on a publication with a large number of authors?

My Name is among tens of authors of a paper on global health.     For the purpose of my CV update, I need to show my name without showing the names of all authors of the paper.    My preferred style is JAMA, which shows the names of the first 3 authors followed by 'et al'.  Would the following format be appropriate, at least for my CV, when My Name is published in the middle of a long authors' list ?    First Author, Co-Author, My Name, et al   If so, will this (customized) format ever cause any confusion for any group of audience?


How to change camera to current view on LAPTOP

How do I change camera to current view in Mac Laptop? I am trying to do what "Ctrl + Alt + Numpad 0" does on desktop version Thanks


For which systems is the equipartition theorem valid?

Under what conditions does a system with many degrees of freedom satisfy the equipartition theorem?


Is it necessary to add a comma in this sentence “Pumas are large, cat-like animals which are found in America. ”

If we delete the comma between "large" and "cat-like",does it make a difference?


How can I "grep" patterns across multiple lines?

It seems I am misusing grep/egrep.   I was trying to search for strings in multiple line and could not find a match while I know that what I'm looking for should match. Originally I thought that my regexes were wrong but I eventually read that these tools operate per line (also my regexes were so trivial it could not be the issue).  So which tool would one use to search patterns across multiple lines?


Are actions and bonus actions interchangeable?

While I know you can't cast 2 spells of first level or higher in a turn, and actions can't just be used as bonus actions, is the reverse true?  Say there's a barbarian cleric that rages as a bonus action: can they use healing word as an action, when it normally takes a bonus action? Can bonus actions be used as actions in the case of using a bonus for something else such as rage?


Alternating roots of $f(x) = \exp(x) \sin(x) -1$ and $\exp(x)\cos(x) +1$

The following is a homework problem:  Prove that between two roots of the function $f(x) = \exp(x) \sin(x) -1$ there must be at least one root of the function $\exp(x)\cos(x) +1$.  I think it is possible to prove it by simply computing the signs of the functions at $\frac{\pi}{2}k, \pi k, \frac{3\pi}{2}k, 2\pi k$. However, I'm looking for a more elegant way. It is intuitively clear that the roots of $f$ are ˋˋconverging'' to the roots of $sin$ and the ones of $g$ to the ones of $cos$. Do you have any hint how to construct a nice argument based on this observation?


try to change his opinion or try changing his opinion

A powerful opponent made a long speech criticizing John. This speech was so powerful that it threatened John's political career. John decided to try to change his rival's opinion of him. To do this, he sent a letter to him asking for a favor.   Instead of using "try to change", can I use this expression "try changing"? Does it sound awkward? Grammatically wrong?


The word Government is to be used as singular or plural

Government of Kerala has agreed   Government of Kerala have agreed   which is the correct usage


Why does measuring the voltage drop across a thing not simply measure the battery voltage?

Imagine a trivial circuit with battery and one resistor. To measure the "voltage drop" across the resistor, we stick a voltmeter in parallel with it. However, this means the voltmeter is also directly electrically connected to the terminals of the battery. Therefore, why doesn't it simply measure the battery voltage, regardless of the resistor?        I hypothesized that the answer is because some of the available voltage/pressure/force/power/energy/magic/whatever-it-is from the battery is being drained through the resistor, it will not be passing through the voltmeter and will therefore not be measured by it, but this still doesn't fit, because that means the voltmeter is not measuring the voltage drop; it's measuring the voltage that wasn't dropped. If the battery supplies 5 V and voltmeter reads 4 V, how is 4 V possibly the voltage drop of the resistor, when the available voltage has actually dropped by 1 V and I still seem to have a non-dropped 4 V to play with?  I guess I really do not understand what the voltage drop is supposed to mean. I don't know why the resistor is dropping voltage at all, when it is supposed to resist current. I'm so lost.


I'm trying to run a jar application under Ubuntu, so I installed OpenJDK Java 7 Runtime, but when I open this application I got this message :     The file '/home/aimad/Programms/jMerise/JMerise.jar' is not marked as   executable.  If this was downloaded or copied from an untrusted   source, it may be dangerous to run.  For more details, read about the   executable bit.


Is there a standard way to read aloud fractions?

Common fractions have standard English equivalents, e.g.:   "One half" for 1/2 "Three quarters" for 3/4   But is there a preferred way to read aloud non-standard fractions?  The closest way I know of is to say one number is "over" another. For example:   "Three-hundred thirty-four over eleven" for 334/11   But that doesn't seem quite right to me, because one number being "over" another isn't really what makes a fraction, since that's notation.  Because of this I like to say:   "Three-hundred thirty-four by eleven" for 334/11   Sometimes I use the inflection "-ths" after any number, but I worry this sounds unusual. For example:   "Three-hundred thirty-four elevenths" for 334/11   But I worry this might be incorrect.  Should I say keep saying "by"? Should I start saying "over"? Is there an accepted standard way, or are these all respectable sounding alternative ways?


Styling not applies to code on edit after clicking "this post has been edited" message

When I was checking , I saw an alert about an Edit made to the post. I clicked that to see the edit and found the styling for code was not applied after edit. Ref below image  so I refreshed the page and found the styling is again applied to the code. Ref below image  I believe it's kind of bug so added a question over here.


How can I find the cheapest private hotel room (as opposed to a bed in a dorm) using online tools?

I tried the standard tools like  or , but there the cheapest option is always a bed in a dormitory. In particular I was searching for Amsterdam and the first few pages of results (sorted by price ascending) were full of dorms, making the tools useless in practice. How can I efficiently filter on the fact that I want a private room (for whatever number of people I enter)?


How to text, as a blind carbon copy, multiple phone numbers at once?

explains as it claims in its title: 'How To Send Text Messages to Multiple Recipients Using iPhone'. However, what do I do if I want to prevent each recipients from seeing all the other recipients in the address field (ie I want this to be a Blind Carbon Copy)?  For my iPhone 5s, I already tried , which claims:      The option you're looking for is located at Settings > Messages > Group Messaging. Turning this off will send all messages individually to their recipients.   I do see and can access (iPhone  Home Screen) > Settings > Messages, but just like the commenters below that answer, I can't find Group Messaging?


Error pop ups appear everytime I log into Ubuntu

Everytime I log into Ubuntu 14.04, I get a couple of error pop ups. Every single time.    It appears also sometimes a third on shortly after, for example after opening the browser.  How can I find out the reason for this pop-ups? and more importantly, how can I stop them?   UPDATE: Just to be clear, I do not want to "hide" message warnings. I want to find out the reason why this pop ups come, and how I could possibly fix them, as I am sure they are symptomatic of an underlying problem somewhere.


Improve the placement of the "you need 150 reputation" banner in the election

I know I'm not eligible to vote in the election at The Workplace. But it stuck me as odd that I wasn't warned about that when I tried to do so. Well, it turned out I was wrong, but the banner was placed rather unlucky for mobile devices:  Can we place the banner closer to the voting buttons, at least on small screen widths such as mobile devices.


KML to Shapefile losing Fields in ArcGIS for Desktop?

I am trying to convert KML File to shapefile, but all the fields are being deleted except the name.  How can I convert a KML/KMZ file to shapefile without losing the fields?


Tried running sudo apt-get update and it can't find the release files

I'm new to Linux and Ubuntu so I'm still learning many of the features it has to offer. Today I installed OBS and a icon theme (shadow-icons) and when I run sudo apt-get update I get these errors.  W: The repository 'http://ppa.launchpad.net/kirillshkrogalev/ffmpeg-next/ubuntu xenial Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. W: The repository 'http://ppa.launchpad.net/upubuntu-com/icons/ubuntu xenial Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. E: Failed to fetch http://ppa.launchpad.net/kirillshkrogalev/ffmpeg-next/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found E: Failed to fetch http://ppa.launchpad.net/upubuntu-com/icons/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found E: Some index files failed to download. They have been ignored, or old ones used instead.   I've looked all over the web for a solution and can't seem to find one. Only thing I could locate remotely close was commenting out   # deb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (201708$   but alas this helps none and was already commented out before hand. Any help would be appreciated for a solution to this issue. Thanks!


How to prove that adding $n$ to the numerator and denominator will move the resultant fraction close to $1$?

Given a fraction:  $$\frac{a}{b}$$  I now add a number $n$ to both numerator and denominator in the following fashion:  $$\frac{a+n}{b+n}$$  The basic property is that the second fraction is suppose to closer to $1$ than the first one. My question is how can we prove that?  What I have tried:  I know $\frac{n}{n} = 1$ so now adding numbers $a$ and $b$ to it would actually "move it away" from $1$. But I cannot understand why $\frac{a}{b}$ is actually farther away from $1$ than $\frac{a+n}{b+n}$.  Why is that? What does it mean to add a number to both the numerator and denominator?


Learning and using English I'm always confused about what word to use for referring to things that have been described by me a few sentences earlier: "that" or "this".   Confusion comes from the fact that only the equivalent of "this" is always used in my native language for such referring. But I've noticed that in English for such referring "that" is used as often as "this" (or maybe even more often).  Some examples for illustrating (just tried to google something appropriate to convey my idea better):     We assess local... the demographics of the local population. What are the natural traffic drivers in the area. Things like cinemas and pubs and retail and office and all that type of things and we now put together a bit of a matrix and actually give a weighted score to each of the things we know help our business. That helps us decide in a more scientific fashion.   or:     The problem of Cervantes' origin became after that into a tough matter. Some experts believed that the Cervantes from Alcázar, in the times of the Lepanto Battle, was in the age of a child, more concerned about gathering nests and that type of things than about fighting as a soldier.   and for "this":     I believe lot of people who involved fishery industries in Mexico Gulf are suffering now but as for economic issues, U.S government and other countries will support them and give an utmost response to it. Important thing is that we learn from this mistake and make sure this type of things will never happen in the future and protect nature environment thus we have to take this technology to get energy from water very seriously. I really hope this technology will be available and used for everybody as soon as possible.   Is there a rule describing proper usage of these words in cases like this? (or should I have written "..in cases like that"?)


Correlation between three variables question

I was asked this question regarding correlation recently, and although it seems intuitive, I still haven't worked out the answer satisfactorily. I hope you can help me out with this seemingly simple question.  Suppose I have three random variables $A$, $B$, $C$. Is it possible to have these three relationships satisfied? $$ \mathrm{corr}[A,B] = 0.9 $$ $$ \mathrm{corr}[B,C] = 0.8 $$ $$ \mathrm{corr}[A,C] = 0.1 $$ My intuition is that it is not possible, although I can't see right now how I can prove this conclusively.


Can we get the ability to search for “user:current”?

On some pages, you can put “current” where the user ID would go and it will redirect to the logged-in user’s version of the page; for example, https://scifi.stackexchange.com/users/edit/current would redirect to https://scifi.stackexchange.com/users/edit/102999 for me.  It’d be nice to extend this feature to search; user IDs are long and hard to memorize, so what if we could type user:current in search to find posts by ourselves?


Is there such a thing as a Ubuntu Certified Engineer?

I am looking for certification on Ubuntu server technology or possibly Debian (as long as its supplied by Canonical, is that even possible?) which Ubuntu is based on.  Is there such a thing provided by Canonical? In what regions are these services available? Can someone get Ubuntu training and certification the same way Red Hat and other companies supply? Where can I get more information on this matter?


Energy losses in transmission of electricity

Could somebody please explain why we step up the voltage when transmitting electricity over long distances? I have read it is to reduce energy losses. Why does a high voltage not result in high energy losses? Could you also show me it using the p=v^2/R equation as thats where my difficulties lie. If the voltage is really high would the power losses not me bigger?


I want to find a pattern " and b_start in (ANYTHING)" and replace it with an empty string. The following code of mine does not work; i'm afraid it's due to the brackets in the pattern. Can anyone help to point out what's wrong with it? Many thanks.   $a=" and b_start in (2,3,5,6...) and b_end in (4,5,3,4,5...)"; $b=preg_replace("/ and b_start in \(.*\)/", "", $a);   I expect $b to return " and b_end in (4,5,3,4,5...)";


Trigger Hotkey / Shortcut Event only once

I'm developing a Delphi XE7 multi-platform application and want to use some hotkeys / shortcuts.  TActionList, TMainMenu and TMenuBar all have properties to assign ShortCuts.  I am using an shortcut to add a new TTabItem on a TTabControl. That ShortCut is Ctrl + T.  So if the user presses Ctrl + T a new tab is added on said TTabControl - working correctly.  However if the user keeps holding down those 2 keys multiple tabs are created as well.  The shortcut event is triggered as long as the user keeps holding down those keys.  Adding a new tab is only an example. I am using multiple shortcuts that I only want to trigger once.  Is there any way to only trigger a shortcut event once?  I tried timers / waiting a specific amount of time. But that causes problems if the user wants to quickly perform 2 hotkeys.  Thanks for reading and I appreciate all help.


I got a B- in Math. How bad is that for Econ?

So the title explains why I'm posting. I'm a masters student in economics at a pretty prestigious university and one of the courses that you're required to take as a first year is called Math Methods for Economists. It covers topics from Calculus to Linear Algebra and Differential Equations. I really wanted an A in this class because I'm hoping to have the option of applying to a really good PhD program (although I'm not sure yet), but I got a B- in the class.  I'm pretty upset by this. I really thought I could get an A. I took Calc I and II as an undergrad and I got halfway through Linear Algebra- I dropped out because it was the last semester of my senior year and honestly I was just lazy (but I still remembered a lot of the concepts from the class).  In the class I did really quite poorly on the first exam and I do blame myself for not preparing enough for that one. I was going to drop the class and retake it in the Spring (because you have the option of taking it online with FULL internet access during the exams) but then the professor said that if you get an A on the final he'd just give you an A in the class. I was determined to use that loop hole and get that A on the final.  I spent the 5 days before the exam studying so hard- I mean every free second that I wasn't eating or sleeping- I was up until 3:00am every night studying. I don't think I've ever spent so much time preparing for an exam.  I kind of knew it was hopeless though. This professor gives insanely hard exam questions that he does almost nothing to prepare you for. As aforementioned, I have quite a bit of background in math and I have never seen math problems like the ones he puts on his exams.They're not conceptually hard to understand but he tries to trick you using the most obscure algebra techniques that even software has trouble finding a closed form solution for. I've tried plugging some of the problems into symbolab.com and multiple times I was told "can not be solved" - which I didn't even know was possible.   I ended up getting an 82 on the exam and I just think its so unfair that I have to have a B- on my transcript. I've never blamed a professor for my own grade but this is ridiculous. I know some students complained about the professor directly to the program advisor before and nothing resulted from it.  Is there anything I can do about this? Does the B- condemn me to eternal graduate school hell? I'm really just looking for some peace of mind.


What does a light wave look like? (3D model)

What does a light wave look like?   The only models I can seem to find online are 2D waves, they just look like sin() graphs.  I have seen the models of the two components of "light waves" (electric field and magnetic field) and they are represented on a 3D Cartesian coordinate system, but they are still just two 2D waves.    Surely light isn't really FLAT like this is it?   I guess I have always assumed it pules out in all directions greater then lesser as it travels, giving off the shape that you see during a sonic boom:    I have drawn what I picture to be a 3D model of the electric field of a light wave as it travels from left to right:   (cone image from: )  Is this an accurate representation of what the 3D radiation emitting from a light beam looks like, like a 3D wave?  (Obviously it would be more wavey, using a 3D cone graphic to create this diagram caused the edges to look spiked and sharp, a better object to use would have been something like a bullet (3D parabola) but I'm not the best with photoshop).    Also, if this is a somewhat accurate model of light wave pulsing in 3D, what does the magnetic wave look like in model form? Do they just overlap with possibly a slightly larger or smaller amplitude but the same maxima and minima locations along t (x-axis in my model)


I'm looking for tools to monitor the linux system. I would like to know what are the best/ most used monitoring tools for linux, preferably command-line or with the possibility to be used from the command line too.   I am aware that are a lot of individual tools for monitoring a specific resource, but I want to know if there is a "all in one" system monitoring tool that can be used.


Can a particle stop disintegrating by zeno effect?

Can a free neutron be prevented from disintegrating by observing it continuously? (Zeno effect).


My students were asked, in an exercise in their published workbook (in which there are sometimes mistakes), to identify the noun or nouns in a sentence within a passage about carrier pigeons being used for scientific research. The book said that "Each bird carried a GPS satellite tracking receiver on its back."(Punctuation as written: i.e. no commas.) The answer book identified 'GPS', 'satellite' and 'receiver' as separate nouns within the sentence.  I am confused. To me, 'GPS', 'satellite' and 'tracking' could be regarded as adjectives describing the only noun in the sentence, being 'receiver'. Either that or all four words could be forming a compound noun: the name of the object in question is a 'GPS satellite tracking receiver', rather like a 'bedside table' being one physical object but with two words to describe it.    I am sure that the answer book is wrong and that these are not separate nouns, but I am unclear whether there are three adjectives and a single word noun in this sentence, or whether there is a four-word compound noun and no adjectives.


Releasing locks to temp files after ArcPy script crashes in ArcMap?

Sometimes when I'm testing an ArcPy script and it ends with exception, ArcMap is still holding locks to some temp files (I run my scripts through ArcMap).  I cannot run the script any more, because it cannot delete/overwrite the temp files and in the end I have to restart ArcMap to release the locks.  Is there a way to do in a more clever fashion?


What datatype to use when storing latitude and longitude data in SQL databases?

When storing latitude or longitude data in an ANSI SQL compliant database, what datatype would be most appropriate? Should float be used, or decimal, or ...?  I'm aware that Oracle, MySql, and SQL Server have added some special datatypes specifically for handling geo data, but I'm interested in how you would store the information in a "plain vanilla" SQL database.


Sorry if that question was already asked but I didn't find any answer on google. I would like to know if it's dangerous to let users know data ids. For instance, if a user has as primary key in my data table "users" id=34.  Is it bad, to let him know that in the html/js code ? Is it recommended to hash data ids ? Which method is usually used in php ?  Thanks a lot for your response


iMac (early 2008 macOS 10.11) showing colourful lines during startup

I recently fixed an old iMac (early 2008) that was showing lines during boot and then going into white screen, I installed Ubuntu Server first and the problem seemed to have gone away, then i tried installing Debian but it broke it so I reinstalled it with Ubuntu Desktop. The problem seemed to be gone, so then I reinstalled it with OS X 10.9 and updated it up to 10.10 and then 10.11, it ran ok, even supporting Minecraft OptiFine 1.9. Then after shutting it down normally, it started showing lines (sometimes CYMK, sometimes RGB, sometimes black and cyan) again as if I hadn’t done anything. Help?  UPDATE: It seems to work perfectly when i hold the escape key during startup (but not when i don't), im not sure whats going on...? Doesn’t Work anymore, ig I’ll have to turn it into parts


When using:  \documentclass{standalone} \usepackage{graphicx,auto-pst-pdf,chemnum} \begin{document} \cmpd[counter-representation=bar]{foo} \end{document}  I get "1" as label output. I would like to define an own label with foo being the internal descriptor and bar being the label's output when called. Pre-1.0 I was using \cmpd[cmpd-label=foo]{bar} which did what I wanted.


I have been using Teamviewer to connect my Windows machine from ubuntu for the past three months. Now I'm facing an inconvenience to use Teamviewer.   I'm using team viewer to connect remote desktop of windows. I don't have any dedicated IP and my modem doesn't support any free DDNS services so I'm not able to use inbuilt remote desktop connection feature in windows.  Does anybody can suggest me a good alternate program to use in Ubuntu 12.04?


I know this is a basic question, but I didn't know where else to find the answer.   I  want to extrude the top face of this rail straight downward, but when I do this it leaves 2 extra faces.   I want a result similar to what I have now, but without the faces that I marked.   Is there a way to do this? Any help would be greatly appreciated!


Mail on Big Sur does not reliably find dollar values

As an online shopper, I regularly use Amazon to purchase lots of stuff.  When I reconcile my credit card spending, I use Mail.app to search all mailboxes for specific dollar figures (e.g. command-option F, then type 24.95). Prior to Big Sur, finding dollar figures in Mail.app worked perfectly, whether the email messages resided "On My Mac" or on iCloud.  However, since Big Sur, doing a global Mail.app search for numeric strings, especially with a decimal point, doesn't work reliably. For example, I'll do a global search in Mail.app for 65.88 and I'll get one result from a locally archived message from years ago, however a very recent message in my InBox containing that figure is not found.  When I do a single message search (command-F) looking for 65.88, the value IS found. Unsurprisingly, using Spotlight delivers the exact same results. Using mdutil, I've manually erased and rebuilt the Spotlight index, rebuilt my Mail.app mailboxes, deleted all ~/Library/Mail/V8/MailData/Envelope* files to force the Mail.app to re-import everything, and reinstalled Big Sur.  I've also confirmed all my Spotlight settings to assure that Mail and Messages are included in searches, and that the volume where my mail resides is not excluded.  Nothing worked. I should note that I am using one SSD for macOS, and a separate SSD for my Home directory (c/o "Advanced Options" under Users & Groups).  I've had this setup well before Big Sur, again, without any issues. Interestingly, I tried using the Spark email app, which DID successfully find dollar figures without any issue.  I suspect that Spark is not relying on Spotlight to obtain search results, and that's why it works.  (I would use Spark, however it doesn't support local mailboxes.) I've already sent Apple a report using the Feedback Assistant, and I can only hope something will get fixed. Can anyone else confirm this issue with Mail.app on Big Sur?  Any ideas on what else I can do?


Will adding content to my site regularly improve SEO performance?

Does putting up content on a daily basis have a positive effect on Google rankings? Will my site appear higher in SERPs?


If $f$ is continuous and positive and $\int_a^b f(x)dx=0$ therefore $f(x)=0$ for all $x\in[a,b]$.

If $f$ is continuous and non-negative and $\int_a^b f(x)dx=0$ therefore $f(x)=0$ for all $x\in[a,b]$.  My attempts  Suppose $f\neq 0$, i.e. there is an $x\in ]a,b[$ s.t. $f(x)\neq 0$. Since $f$ is continuous, there is a $\delta>0$ s.t. $f|_{]x-\delta,x+\delta[}> 0$ (we take $\delta$ small enough to have $]x-\delta,x+\delta[\subset ]a,b[$. Therefore $$\int_a^b f(t)dt\geq \int_{x-\delta}^{x+\delta}f(t)dt>0$$ contradiction. The cas $x=a$ or $x=b$ goes the same but with $f|_{]a,a+\delta[}>0$ or $f|_{]b-\delta,b[}>0$.


Read columns from file, then column into an exsisting csv file

Essentially, I have a csv file that contain multiple columns, called cols.csv  1,a,100 2,b,200 3,c,300 4,e,400   and I have a new csv file that has one column, called col.csv  f g h i   I want to copy the items in col.csv and append them to the end of each line in cols.csv so that, cols.csv now contains those  1,a,100,f 2,b,200,g 3,c,300,h 4,e,400,i   is that possible at all? i tried join, paste, nothing worked


So I want to prevent overriding shared keys, when doing a mixin with JS, so we have:  const v = {   a: {     b: {       c: 4,       d: 'str'     }   } };   console.log(Object.assign({}, v, {a: {b: {c: 5}}}));   this will log:     { a: { b: { c: 5 } } }   but I am looking for this instead:     { a: { b: { c: 5, d: 'str' } } }   anyone know how to do this (preferably without a library).


I'm trying to generate a string between capital A-Z in java using Secure Random. Currently I'm able to generate an alphanumeric string with special characters but I want a string with only upper case alphabets.    public String createRandomCode(int codeLength, String id){         char[] chars = id.toCharArray();         StringBuilder sb = new StringBuilder();         Random random = new SecureRandom();         for (int i = 0; i < codeLength; i++) {             char c = chars[random.nextInt(chars.length)];             sb.append(c);         }         String output = sb.toString();         System.out.println(output);         return output ;     }    The input parameters are length of the output string & id whhich is alphanumeric string.Can't understand what modifications to make to the above code to generate only upper case alphabet string. Please help..


Does Xubuntu 18.04 have support only 3 years while Ubuntu 18.04 has 10 years?

I just saw that Xubuntu 18.04 will have LTS support only until 2021 while the standard Ubuntu 18.04 will have LTS support until 2028.  Is this correct? Aren't the updates for Xubuntu and Ubuntu coming from the same repositories? Will some updates from the standard Ubuntu still be installed for Xubuntu after 2021? If so, which updates will be installed and which not?  Edit 1: Adding Sources   Support for Xubuntu until 2021       Support for Ubuntu 18.04 extended to 10 years.       Edit 2: Comment by @pomsky solved the question. Only unclear point is: Since Ubuntu 18.04 might be the first version to have LTS = 10 years, wouldn't it make sense that other flavors will also have extended LTS?  Also regarding which updates will still be available and which not, the two other questions posted by pomsky provide the answers: Anything related to the desktop environment, packages that come only from Xubuntu will not receive any updates after the LTS for Xubuntu ends. But the core aspects, the system related packages will still receive updates because of the Ubuntu LTS.


I have many files in directory(with folders so i think solution must be recursive in deep)   root-folder   file-1.png file-2.png file-3.png file-4.png file-5.png folder-1   file-1.png file-2.png file-3.png     I need to rename all files, which contains - character to _.   file-1.png -> file_1.png   But. I have little remark. folder-1 and root-folder must be not affected.  How i can do that?


Receiving notifications on upvotes, downvotes, and other reputation-related changes

I have been using the beta Stack Exchange official app for three days. The notification system is amazing. I receive a new comment and my phone vibrates instantly! Just gorgeous! Now I know whenever I'm mentioned, or if someone posted a comment to me.  But I miss a feature: Notifications for reputation changes   All know what I'm talking about: We are aaaaalways checking for reputation changes, and would be amazing if we receive phone notifications when someone upvote/downvote our questions or if someone has accepted our answers. Just like in the achievements tab recently added to the web client.  So: Are reputation notifications listed on the app roadmap, or there is a problem of implementing that?  As we commented, this feature should come with specific notifications settings, to allow us to disable/enable certain common notifications. I'm not someone who receives one upvote per minute, but there are some folks on the SE network (Yes John Skeet, I'm talking about you...) who could consider phone reputation notifications a completely mess, just a continuous vibration of their phone.


I understand that it is a celestial object of very small radius (typically 18 miles/30 km) and very high density, composed predominantly of closely packed neutrons. Neutron stars are thought to form by the gravitational collapse of the remnant of a massive star after a supernova explosion, provided that the star is insufficiently massive to produce a black hole.  Question:   How can a  neutron star have a magnetic field when its particles are neutral?


Prove that chromatic number $\geq \frac{V^2}{V^2-2E}$

Let us have a simple graph G. (That means no loops and no multiple edges)  Prove that $\chi \geq  \frac{V^2}{V^2-2E}$  I found the task in the book by John Bondy "Graph Theory with Applications" (Task 8.1.1)  The preliminary theorems didn't help me, and trying to transform the equation didn't help either.  I know that $2E \geq \chi \cdot (\chi -1)$. And that $V \geq \chi$  My equation can be transformed to $V^2 \geq 2E \cdot \frac{\chi}{\chi -1}$  Am I close?  Searching I have discovered that my question is a duplicate. The answer down here is partial, but more beautiful than the answer to the question, which is duplicated, though.


Algorithm to calculate N paths from K set

I'm looking for an algorithm that can calculate N paths from K set where N=10 and K=32. This is not a combinatory algo, I don't need every number in every position.   So basically I need to be able to find the distinct paths of up to 10 elements in a collection of 32.  Edit:  If I have a set of numbers   {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20}   I would like to get every unique path of 10. So an example would be  Path 1 {1,2,3,4,5,6,7,8,9,10} Path 2 {1,2,3,4,5,6,7,8,9,11} Path 3 {1,2,3,4,5,6,7,8,9,12}    Down the line I would like something like this:  Path N { 3,5,6,8,9,12,14,17,18,19 }   Since I need every possible path consisting of 10 elements from the larger set.


How do I change the "Show Application" logo with an icon?

I want to replace my "Show Application" logo with an .ico file, I want it to look like Unity 8. I found the "show-applications-extension-symbolic.svg" in the "/usr/share/icons/gnome/scalable/actions/" and I tried to replace it with my converted ".ico file to .svg". But it seems that it is impossible to convert an .ico file to .svg because they are different types of files.  Can you find a solution for this? This is how Unity 8 DE looks:   Thank you for your time :p  edit: I want to use the file as it is (if possible) but if the solution requires to convert the file, well, it's okay. This is the .ico file in question (it is converted to .png because this website doesn't allow to send .ico files):  ( If you have an svg of this image, please send )


Forgot Stack Exchange password and no access to email

I've forgotten my Stack Exchange password and I no longer have access to my email.  But, I'm already logged in Stack Exchange app in my Android smartphone (that's where I'm asking from)  What can I do to gain access to my account and log in from my computer?


I have a figure drawn in Word. I would like to include this in my LaTeX document without redrawing it.


What are the other things can be queried in salesforce except object?

Except standard object or custom setting, what are the other things can be queried. example : Apex Jobs.


Why is the average value of the function using integrals astronomical despite the scale on the graph and the interval


Possible Duplicate:                I'm getting thanked a lot these days and want to find lots of different ways to say you're welcome.  Could for sure mean you're welcome?


Debugging the execution order of Upstart jobs

I'd like to be able to debug the execution order of the jobs started by Upstart (ideally without injecting dumping code into every job file).  How can I do this?


transfer pizza onto stone without sticking

After I have made my pizza and put the toppings onto it, I find that I am unable to transfer the pizza on to the pizza stone in the oven.  When I try to do it the pizza goes out of shape, gets folded, the toppings get messed up and sometimes it sticks or rips. I have tried putting lots of flour under the pizza before I add the toppings but it didn't really help.  I am having to make the pizza on a metal tray and then put the tray onto the stone. Put I think that doing this prevents my pizza base from crisping properly.  What am I doing wrong? Is there some technique I should use, or am making the dough to wet, or to thin or something?


How can I determine the installed edition of Windows XP if the OS does not boot up?

I have a drive that I cannot boot, but it has an installation of Windows XP on it.  I need to know what type of XP it has, and MS's solution () presupposes I can load the OS.  Is there a folder or file I can look at that might give me a clue as to the flavor of XP (Home, Pro, MCE, etc) I need to use for a recovery installation? Thanks.


How to find my VirtualBox guest's host IP address from the guest itsefl?

Is there a way to discover which is my VirtualBox VM's host machine? My VM guests only network is a "bridged adapter" (no NAT). A sample ifconfig is:  CODE: SELECT ALL   EXPAND VIEW enp0s9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500         inet 192.168.1.36  netmask 255.255.255.0  broadcast 192.168.1.255         inet6 fe80::f821:6317:c27a:16c6  prefixlen 64  scopeid 0x20<link>         ether 08:00:27:f6:b5:54  txqueuelen 1000  (Ethernet)         RX packets 6889970  bytes 9898198227 (9.2 GiB)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 587306  bytes 43842901 (41.8 MiB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0  lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536         inet 127.0.0.1  netmask 255.0.0.0         inet6 ::1  prefixlen 128  scopeid 0x10<host>         loop  txqueuelen 1000  (Local Loopback)         RX packets 1002  bytes 105104 (102.6 KiB)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 1002  bytes 105104 (102.6 KiB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0  virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500         inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255         ether 52:54:00:73:34:0f  txqueuelen 1000  (Ethernet)         RX packets 0  bytes 0 (0.0 B)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 0  bytes 0 (0.0 B)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0   Sample netstat -rn output:  CODE: SELECT ALL   EXPAND VIEW Kernel IP routing table Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface 0.0.0.0         192.168.1.99    0.0.0.0         UG        0 0          0 enp0s9 192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 enp0s9 192.168.122.0   0.0.0.0         255.255.255.0   U         0 0          0 virbr0   Both Host and Guest machines are Linux CentOS 7.


Smaller p-values on a selective multiple regression analysis

When I run a multiple regression analysis in Excel on 20 independent variables and 1 dependent variable (in two goes), I obtain in the summary a set of p-values. When I select the (six) ones that are less than 0.25 and then rerun the multiple regression analysis, the p values are smaller than they were previously. Shouldn't the p values be the same?? I would have thought that the p-values should be the same as each time an individual regression is run against the dependent variables?  Otherwise could someone please point out my misunderstanding of multiple regression analysis and explain/justify why these p-values are smaller.


Dual Citizenship (US, S. Korea) and entering Korea

I am currently a college student (20yrs) finishing up a semester of college in the US before flying back to Korea to be with my parents, but I heard that the travel restrictions in Korea are a bit crazy at the moment due to COVID-19.   I am a dual US/Korean citizen and am wondering how exactly I should be entering Korea using these two passports to avoid the travel restrictions. My name is different on the two passports and dual citizenship is allowed in both countries.  Before COVID-19, I would usually exit the US and enter Korea with my US passport due to having a 90- day travel visa. However, now the Korean government is making people who hold short term visas quarantine in a government-designated facility for 2 weeks at their own expense (~$1200!!), and I would really like to avoid that.   I'm a little confused about which passport to buy the airplane ticket with and which to show in immigration in both countries. Does anyone know how I would go about doing that?  EDIT: Not trying to avoid quarantine/self-isolation! Just trying to avoid paying $1200 to self-isolate at a government-designated facility when it is possible to self isolate at my parents' house (which is what Korean citizens have been doing).


I would like to know the exact probability of the following game. I start counting from one to 13 and do this totally four times. On each turn I say a number and turn a card from a deck. Ace is considered to be as 1. If on one turn I say the same number as it is on the card, I lose. What is my winning probability?


Timeline of Dragonball Super Broly Movie

According to  query's answer, The Dragon Ball Super Broly movie is set after the Dragon Ball Super series. My query is, if its timeline is set after the Dragon Ball Super series, then why didn't Goku's U.I. triggered (Assuming it's spontaneous, and Goku still don't know how to trigger it whenever he wants) when he was pushed to the limit while fighting Broly, and instead he did the fusion with Vegeta?


Setting a Google+ vanity URL like plus.google.com/me

Where can I set a vanity URL for my Google+ profile? Ideally I would like to be able to have my current profiles.google.com URL brought over in case Google decide the profiles are now valid for Google Plus.  I've seen services such as gplus.to and plus.ly but neither are official means.  From my searches I also don't think it's currently available (infered from the lack of results).  I could have it like profiles.google.com/me (which you could choose here: ). But this link does not work anymore (IMHO because profiles.google.com is being integrated into Google+)


Is there any material that a magnetic field cannot penetrate?

Is there any way to build an enclosure that protects its contents from magnetic fields more effectively than simply keeping sources of magnetic fields away by the same distance the box would?


"Cross-thread operation not valid" inside foreach

I'm trying to load data to a combobox and it's working when i run the form without debugging. But when i try to run it with debug mode I get an error :System.InvalidOperationException: 'Cross-thread operation not valid: Control 'ResultBox' accessed from a thread other than the thread it was created on.' How can I fix this? And btw a have a background worker that writes the message when the data is downloaded. I read somewhere that this issue can be fixed using backgroundworker. Here is the form code:  public Form1()     {         InitializeComponent();         backgroundWorker1.WorkerReportsProgress = true;     }      private void Form1_Load(object sender, EventArgs e)     {         backgroundWorker1.RunWorkerAsync();     }      private Task GetDataTask() {         return Task.Factory.StartNew(() => {             List<Result> results = new List<Result>();             results =   GetResults.GetData("http://worldcup.sfg.io/teams/results/");             foreach (var result in results)             {                 ResultBox.Items.Add(result.Fifa_Code);             }         });     }      private void ResultBox_SelectedIndexChanged(object sender, EventArgs e)     {      }      private void SaveTeam_Click(object sender, EventArgs e)     {      }      private async void backgroundWorker1_DoWork(object sender,   DoWorkEventArgs e)     {         await GetDataTask();     }      private void backgroundWorker1_ProgressChanged(object sender,   ProgressChangedEventArgs e)     {         resultsLoadedLabel.Text = (e.ProgressPercentage.ToString() + "%");     }      private void backgroundWorker1_RunWorkerCompleted(object sender,   RunWorkerCompletedEventArgs e)     {         resultsLoadedLabel.Text = "Podaci učitani!";     }   This line of code inside foreach gets the exception :   ResultBox.Items.Add(result.Fifa_Code);   This is the class that gets results:  public class GetResults {      public static List<Result> GetData(string url) {         var client = new RestClient();         var request = new RestRequest(url, Method.GET);         request.AddHeader("User-Agent", "Nothing");         IRestResponse<List<Result>> results = client.Execute<List<Result>>     (request);         return results.Data;     } }


Please identify tag synonyms more clearly on the Tags page

At the moment, the pages that come up under the Tags tab display synonyms at the end of the list. There's little indication that they're synonyms; they look just like any tag that's used once. Only alphabetization on the page where the single-use → synonym switch occurs gives any indication that certain tags are synonyms at all.  We already identify tags that are used multiple times by appending a number, like "× 574." Can we append something similar for synonyms, like "× 0" or "(s)"?


If $gHg^{-1} \subset H$, must we have $g^{-1}Hg \subset H$?

Let $H$ be a subgroup of a group $G$. Consider the set $\{g \in G: gHg^{-1} \subset H\}$. Must this set always be a group? If $H$ was a finite subgroup then $gHg^{-1} \subset H$ if and only if $gHg^{-1} = H$ and so the answer to the question is yes. But what if $H$ is infinite?  In the case of infinite $H$, the only thing I am not sure about is if $g \in G$ such that $gHg^{-1} \subset H$, must $g^{-1}Hg \subset H$?


Get non-integers from string in javascript

How can I create a regex for that returns true if it has only numbers and '+' basically 0-9 & +. Using javascript or jQuery.


Print year after author in biblatex' numeric style

I'm using the default style numeric in biblatex. In this style, the year is printed last in the bibliography:   I would like to have the year directly after the author's name:     George Harrison. 2000. My music is better than Paul's and John's.   What command can I put into the preamble of my .tex file to enforce this?  \documentclass{article} \usepackage{csquotes,biblatex,filecontents} \begin{filecontents}{\jobname.bib} @BOOK{harrison2000,     AUTHOR = "George Harrison",     TITLE = "My music is better than Paul's and John's",     YEAR = "2000"} \end{filecontents} \addbibresource{\jobname.bib} \begin{document} Text \parencite{harrison2000}. \printbibliography \end{document}


Long Exposure phtography with milky way and an object

I want clear one concept in AstroPhotography with an object in foreground. When I tried to capture the milky way with focus on infinity and 20 sec of exposure. I went pefect.  But when I tried to capture the milky way with my friend holding torch in foreground, his picture was blurry everytime.  Kindly help me out, how to take a person and milky way both in focus and clear, that too in one shot.   I've attached a picture for example.    Thanks n BR, Prashant


I'm having some trouble about crc-calculator with Hexadecimal value. In fact, I have this good code that calculate correctly with ASCII input.  But hexstring that I need to calculate "44007A0004 ... " cannot be converted to ASCII char. How I can change my function to calculate hex input string crc?    public String  CRC_CCITT( int flag,String str)  {             int crc = 0x00;          // initial value            int polynomial = 0x1021;               byte[] bytes = str.getBytes();      switch(flag){       case 1:           crc=0x00;           break;       case 2:           crc=0xFFFF;           break;       case 3:           crc=0x1D0F;           break;        }       for (int index = 0 ; index< bytes.length; index++) {           byte b = bytes[index];           for (int i = 0; i < 8; i++) {               boolean bit = ((b   >> (7-i) & 1) == 1);               boolean c15 = ((crc >> 15    & 1) == 1);               crc <<= 1;               if (c15 ^ bit) crc ^= polynomial;            }       }       crc &= 0xffff;       str = Integer.toHexString(crc);       return str;             }


Okay to enter data directly into small table or better to go to new screen?

My organisation is working with developers to make a new health information system (For mainly desktop users). At moment of delivering the DFS, they are asking for more $$$$ as they say the complexity is much higher than expected initially. To determine complexity they look at number of screens and fields.  From the beginning they told us we had to always jump to a new screen to enter data and never enter data directly in a table.    The compelexity would be reduced by 20% if we were able to enter directly in a table.  But they state "to modify directly the summary table without going through the editing screen would lead to degraded user experience : not in accordance with the rest of the application + not recommended by UX designers" The tables in question are simple with only 5-6 fields to fill per line (see below).  No one in our staff is knowledgeable in UX and so the higher ups are ready to yield to the developers and handover the money.  However in my experience as a user I think it would be much easier to fill in a table directly than have to click, enter a new screen, enter fields, save and then return to table and do the same for the 35 other lines.  Are we being taken for a ride?


How to get rid of "defer (-52): Retry time not yet reached" exim4 logs?

I have such a logs in mainlog of exim4. All I do with exim4 is learn only so all mails are fake. Now I try to manage theese logs that appear frequently:  2016-12-20 14:28:01 1cJ2UW-0006Yq-3m == root@adammax.tk R=manualrouteadam T=maildir_home defer (-52): Retry time not yet reached 2016-12-20 14:28:01 1cJ8rt-0001Ur-Qj == root@adammax.tk R=manualrouteadam T=maildir_home defer (-52): Retry time not yet reached 2016-12-20 14:28:01 1cJ2YZ-0000W9-W5 == root@adammax.tk R=manualrouteadam T=maildir_home defer (-52): Retry time not yet reached 2016-12-20 14:28:01 1cIsqP-0002Xn-KY == gogo@linwayedm.com.tw R=dnslookup T=remote_smtp defer (-53): retry time not reached for any host 2016-12-20 14:28:01 1cJE0z-00028i-Ve == root@adammax.tk R=manualrouteadam T=maildir_home defer (-52): Retry time not yet reached 2016-12-20 14:28:01 1cIrmt-0002Hz-Td == gogo@linwayedm.com.tw R=dnslookup T=remote_smtp defer (-53): retry time not reached for any host 2016-12-20 14:28:01 1cIsS3-0002Rj-MM == gogo@linwayedm.com.tw R=dnslookup T=remote_smtp defer (-53): retry time not reached for any host 2016-12-20 14:28:01 1cJ2X1-0000R4-EY == root@adammax.tk R=manualrouteadam T=maildir_home defer (-52): Retry time not yet reached 2016-12-20 14:28:01 End queue run: pid=11801   How to remove that since I do not need that?