How to initialize a vector of a structure with unique_ptr?
Can I list-initialize a vector of move-only type?
Restore SQL Server 2012 backup to a SQL Server 2008 database? My office is a converted garage about 30 feet from my house.   I have a coaxial cable already running from my house to the office.   I want to attach a Ethernet cable from my DSL modem, in my office, to a computer in my house.   Since I already have the coaxial cable installed, I bought two coax to Ethernet converters (NVA-P-860-BP78 Video Balun), but when I hooked them up I am getting no signal. It was my understanding that an Ethernet signal could travel over a coaxial cable.   Is that wrong? Any ideas why this isn't working? How long will it take for Google's disavow tool to work? I had updated the disavow list on March 18th  with spammy domains which were linked to my site. Those links still show up in Google Search Console.  I Wanna know how long does it need to take effect? I would like to upgrade my main system to 16.04, but I work on projects that require OpenJDK 7.   Apparently it is not available from a trivial apt-get install openjdk-7-jdk. Only versions 8 and 9 are listed in the repository.  Can anyone point me to instructions on how to install it? I am a seafarer (marine engineer) and I have to often visit different countries. This time I received my sign-off from Iran and they stamped my passport. Would this cause a problem for getting a US C1D1 visa since my next company wants me to have this visa? I am an indian national. How would you know if your (high dimensional) data exhibits enough clustering so that results from kmeans or other clustering algorithm is actually meaningful?  For k-means algorithm in particular, how much of a reduction in within-cluster variance should there be for the actual clustering results to be meaningful (and not spurious)?  Should clustering be apparent when a dimensionally-reduced form of the data is plotted, and are the results from kmeans (or other methods) meaningless if the clustering cannot be visualized? Can anyone please help and tell me if this sentence is correct?  &quot;A significant amount of zombies were detected in your city.&quot;  In my opinion it should be &quot;A significant amount of zombies was detected in your city.&quot; because &quot;amount&quot; should be in agreement with &quot;was&quot; even though amount usually refers to something plural. Are both (was and were) acceptable in this case? Edit1: Yes, &quot;number&quot; would be the correct one in this case. So allow me to ask one more thing.  &quot;A significant amount of purchases were detected...&quot;  Does the use of &quot;number&quot; apply in this case also? As purchase is not exactly a thing/person. And if no, is it correct to say &quot;A significant amount of purchases were detected...&quot;? Edit2: So, please tell me what is the correct phrasing?  &quot;A significant amount of purchases were detected...&quot; &quot;A significant amount of purchases was detected...&quot;  Or, since purchases are countable, is the use of &quot;number&quot; instead of &quot;amount&quot; correct here, as in:  &quot;A significant number of purchases were detected...&quot; &quot;A significant number of purchases was detected...&quot;  Or would amount be correct since a purchase involves money and it refers to the amount of money? Would greatly appreciate an answer, and if possible a detailed explanation. How to make text aligned left/center/right in the same line? I am trying to align some text to left/center/right in the same line. For example, I want to put my phone number on the left, my name in the center, and my email on the right, how do I do that? Wildcard not working in subprocess call using shlex How to specify the SMTP server in PHPMailer? Can a concentration spell be cast without actually concentrating on it for an "instant" effect? SQL Server compatibility with New TLS Standards The major browsers are moving beyond SSL3.0 and TLS1.0 . The PCI Security Council has declared an end-of-life date for these protocols to be considered sufficiently strong encryption.   We need to move away from these protocols, to use newer and stronger ones. On Windows servers, you can very easily disable these old protocols, and instead offer only TLS1.1 or greater.  However, as noted , Microsoft SQL Server 2008 R2 and SQL Server 2012 (Standard, at least) both will not start if those lower protocols are disabled.  However, there are a growing number of versions of MS SQL Server.  There are SQL Server Standard, Business Intelligence, Enterprise, Express, Web, and Compact editions.  And of course there is SQL Server 2008, 2012, 2014, and (in pre-release) 2016.  Which of these editions support or will support the use of only TLS1.1 or greater protocols? I'm new to data mining and I'm trying to train a decision tree against a data set which is highly unbalanced. However, I'm having problems with poor predictive accuracy.  The data consists of students studying courses, and the class variable is the course status which has two values - Withdrawn or Current.   Age Ethnicity Gender Course  ... Course Status   In the data set there are many more instances which are Current than Withdrawn. Withdrawn instances only accounting for 2% of the total instances.  I want to be able to build a model which can predict the probability that a person will withdraw in the future. However when testing the model against the training data, the accuracy of the model is terrible.  I've had similar issues with decision trees where the data is dominated by one or two classes.  What approach can I use to solve this problem and build a more accurate classifier? Class with single method -- best approach? Where can I get a clean ISO of a specific build of Windows 10? I need to repair my Windows 10 installation. Where can I get a clean ISO (with install.wim, no Install.ESD, so that I can run DISM against the WIM) of the specific Windows 10 build required for this?  In my case, I need the Anniversary update (Build 14393), Creators Update (Build 15063) or Fall Creators Update (Build 16299.15). Compute the period of a decimal number a priori Expressing the area of the cross section of a cylinder I was able to solve similar questions where a triangle was involved, but this one has had me looping and pondering on it for the past week.  The Condition: Let $r$ be a positive constant. Consider the cylinder $x^2+y^2\leq r^2$ and let C be  part of the cylinder that satisfies $0\leq z\leq y$.  The questions:  (1) Consider the cross section of $C$ by the plane $x=t(-r\leq t\leq r)$ and express its area in terms of $r,t$  (2) Calculate the volume of $C$, and express it in terms of $r$.  (3) Let $a$ be the length of the arc along the base of the circle $C$ from the point $(r,0,0)$ to the point $(r cos\theta,r sin\theta,0)(0\leq\theta\leq\pi)$. Let $b$ be the length of the line segment from the point $(r cos\theta, r sin\theta, 0)$ to the point $(r cos\theta, r sin\theta, r sin\theta)$. Express $a$ and $b$ interms of $r,\theta$  (4)Calculate the are of the side of $C$ with $x^2+y^2=r^2$, and express it in terms of $r$.  Here are the expected answers(which I keep failing to get to):  (1) $\frac{1}{2}(r^2-t^2)$  (2) $\frac{2}{3}r^3$  (3) $r\theta$ and $r sin\theta$  (4) $2r^2$ Derivation of Mode of grouped data A formula to calculate the mode for grouped data's is given in my text book: Mode = $l + \dfrac{(f_1 - f_0)h}{2f_1 - f_0 - f_2} $ Where, $l = $ lower limit of the modal class, $h = $ size of the class interval, $f_1 = $  frequency of the modal class, $f_0 = $ frequency of the class preceding the modal class, $f_2 =$ frequency of the class succeeding the modal class. Can you please explain the derivation of this formula, as it is not given in my T.B. Thanks . Algorithm for computing Hadamard product of two rational generating functions If I have two generating functions $A(x) = \sum_na_nx^n$ and $B(x) = \sum_n b_nx^n$   then the Hadamard product is $(A \star B)(x) = \sum_{n} a_nb_nx^n$.  Now when $A$ and $B$ are both rational functions ($P(x)/Q(x)$ with polynomials $P, Q$) I've seen non-constructive proofs that $A \star B$ is also rational.  Given two rational generating functions $A$, $B$, is there an algorithm that efficiently computes $A \star B$? Or at least a constructive proof you could use to write an algorithm? Let $f : \mathbb R^n \rightarrow \mathbb R$ be a measurable function.  We know that $f$ is not necessarily locally integrable - but how hard can a measurable $f$ fail to be so? For example, is it true that $f$ is locally integrable outside of a negligible set $N \subset \mathbb R^n$?   Edit: In consideration of the comment by zhs, let me correct the phrasing of the question. I was originally wondering whether the 'singular' behaviour of a measurable function can be localized to a 'small' set.   A motivational example is $f(x) = 1/x$ over the real line. It is locally integrable in the complement of the origin. Hence, a conceivable phenomenon, which I had in mind originally when asking the question, could be that a measurable $f$ is integrable over open sets that are compactly contained in the complement of some negligible sets.