Definite article before scientific terms named after people

This is my first post here so I hope the format of my question is correct.   I am wondering whether it is necessary to use the definite article before physical quantities named after people, e.g.:     The Heisenberg interaction comes from a complex interplay between the Pauli exclusion principle and the Coulomb interaction.   I think that it is incorrect to use the definite article if the name is in its possessive form:     Can you explain Maxwell's equations to me?   but that we should put the article if the name is in its subjective form:     Can you explain the Maxwell equations to me?   Is this correct?


I'm trying to learn to plot in latex, but I'm having a problem trying to find out which packages that are best to use in this situation, and I find it a bit of a learning curve.   Suppose you have the following function:    I would like to know, how I could graph this in Latex. I have searched around and found out that you could use the PGF and tikz packages, and use the declare function, but I have problems with the intervals in which $x$ is defined   How would I approach this problem, as a complete newbie to graphing in Latex?  I tried using a similiar post about it, and tried to plug in my intervals. My code looks like this:   \documentclass[tikz]{standalone} \usepackage{pgfplots} %\pgfplotsset{compat=1.8} \begin{document} \begin{tikzpicture}[   declare function={     func(\x)= (\x \in [-\pi, -\frac{pi}{2}) * (0)   +      and(\x \in [-\frac{\pi}{2},\frac{\pi}{2}) * (\frac{\pi}{2}-|x|)     +      and(\x \in [\frac{\pi}{2}, \pi]) * (0)    ;   } ] \begin{axis}[   axis x line=middle, axis y line=middle,   ymin=-5, ymax=5, ytick={-5,...,5}, ylabel=$y$,   xmin=-5, xmax=5, xtick={-5,...,5}, xlabel=$x$, ] \end{axis} \end{tikzpicture}  \end{document}


Converting a basic disk to a dynamic one

What does this mean, and how can I fix it?     Disk Management:    The operation you selected will convert the selected basic disk(s) to    dynamic disk(s). If you convert the disk(s) dynamic, you will not be    able to start installed operating systems from any volume on the disk(s)    (except the current boot volume)are you sure you want to continue? (Yes) (No)   What does this mean? Is it okay to go ahead and say Yes, or will something break if I do?  My computer is a Dell and the hard disk is an SSD Fix.


The new top bar gets crowded — too crowded to the point of things overlapping

Observe:    The Winter Bash and the flags overlap. Now, I understand this is a complete edge case, and I also understand that it's a (not-so-)subtle hint that I should be handling those flags and suggested edits pronto if I want to get to the hats, and I also understand that the hats will soon be gone anyway. Yada yada. Still an issue, so I'm reporting.   (Plus it's a result of a recent change to a recent change, as originally the suggested edits were not displayed in the new top bar, so perhaps this possible overlap was overlooked.)  There is some empty room to the right of the badges, after all, so perhaps stuff can be moved just a notch in that direction.


Definition of Tangent line at singular point ? and geometric meaning

I am reading the book Complex algebraic curves by Kirwan. In the exercise of chapter 2 of the book i am asked to find the tangent line at a singular point.  I was able to calculate the singular point. I want a definition of tangent line, so that i can calculate the same?  what is the geometric meaning of a tangent line here? Is it related in any way to theory of smooth manifolds?  Can someone please explain with minimal use of new math. Thank you!


How many Surjective functions are the for $A = \{a,b,c,d,e,f\}$ to $B = \{1,2,3,4\}$

I am having trouble understanding this question.  I know the total number of function is $4^6 = 4096$. There are no injective functions as the domain > co domain.  I know there is a part that I'm missing that has to do with the amount of functions that are neither surjective nor injective.  My train of thought was along the lines of (total - injective (=0) - not injective not surjective) = total number of surjective.


OSX Android studio's gradle cannot read .bash_profile environment variable

I am having a KEY_STRING as system variable in mac OSX and Windows. Which has absolute path to my keystore.  ~/.bash_profile entry would be  export KEY_STRING =~/config/release-signing.keystore   Same path setup in each of my team mates machines[Windows/OSX/Linux].  My Gradle script to access this variable would be  def keystorePath = System.getenv("KEY_STRING"); println keystorePath;   This script works fine in Windows in both console and android studio.  My problem specific to mac android studio.  If I run the build in terminal which is working fine and reads the env variable.  But when I do gradle sync or set up run configuration [Gradle task] it cannot resolve the variable.  I have reported this  to Google as well.  Again here is the quick summary:   Setup an environment variable in ~/.bash_profile Read it anywhere in build.gradle   def keystorePath = System.getenv("KEY_STRING"); println keystorePath; Add gradle task in configuration.  It is not reading the environment variable.


What's the best way to store unused sushi rice?

Let's say, I only want to make 1 sushi roll right now.  Is there a good way to store the rest of the rice for tomorrow's rolls?  And what about storing the nori?


Using simple Math in SLD file on Geoserver?

Is it possible to use simple Math in an SLD file on Geoserver? Suppose I want to read a text size property from a database and multiply its value, how can I do this?  <sld:TextSymbolizer>     ...     <sld:CssParameter name="font-size">         <ogc:PropertyName>text_size</ogc:PropertyName> * 2.1     </sld:CssParameter>     ... </sld:TextSymbolizer>   This simple approach obviously doesn't work, so I thought there must be some way to achieve this.


Will my laptop be able to install ubuntu?

I want to install Ubuntu as my main OS, but I'm worried that it will not work and mess up my laptop.  Here are my specs:   Also, I want to know if this will mess up things like wifi and speakers.


Getting Error 000212: Cannot create XY event source Failed to execute (Make XY Event Layer). using ArcGIS ModelBuilder

I have a model created in ModelBuilder using ArcGIS Desktop that works on PC1 set up with relative paths and workspaces. When I try run it on PC2 I get an error message statin      Error 000212: Cannot create XY event source Failed to execute (Make XY   Event Layer).   with the exact same files. I tried again an run it on P1 again with the same files and it works.   Can you advise?


What does this mean? ($\boldsymbol{I}_{\theta, \infty}(x_i)$)

In my studies I came across this  There is some more to this answer but for the purpose of this question lets leave it at that. I can't figure out what $\boldsymbol{I}_{\theta, \infty}(x_i/i)$ is and have already spent way to long trying to figure it out. Any help would be appreciated.


I've just changed my primary computer from a laptop running XFCE and 19.10 to a desktop running Gnome 3 and 20.04 overall I'm very impressed.  One of the tools I tend to use all the time is Zenmap but I can't locate it in either the software catalogue or via running apt in a terminal window, so I assume it's been removed.   So   What's the rationale for this? Are their issues with Zenmap I should be aware of? Is there a simpler way of installing then the way outlined on Nmap's site (i.e.  ) Is there an alternative application that will let me port scan my LAN (IP address / open TCP port is a must-have, description of service and UDP ports are a nice to have since I'm generally just checking if a known port can be seen)


What modifications do phrasal verbs make  There are two sentences     I shaved my beard.      I shaved off my beard/I shaved my beard off.   What is the difference between these two sentences?


Getting back the 10K and Review notification

Today I saw that new top bar has been implemented in stackoverflow.  But it will fine if we get back the 10K tools and Review.  Currently there is only Review option where there is notification like before.  So here is my , of adding dropdown for Review option.  Which includes the options like 1. 10k Tools 2. Suggested Edits    Here is screenshot of my proposal.


Why would rmdir /s fail but still delete the innermost subdirectory?

I had a directory structure (src/...) created by Cygwin's 7za.exe.  From a command prompt I ran rmdir /s /q src. This resulted in error messages (paraphrasing as my DOS shell has long since overflowed):  Cannot delete src/test/unit/geom The directory is not empty  Browsing to src/test/unit/geom showed that it was indeed empty, so I ran the same rmdir command again.  Same error, but pointing at src/test/unit instead.  And my Explorer window that was showing the absence of contents in src/test/unit/geom dropped down to src/test/unit. Three rmdir executions later, it is fully gone. This is Windows 7 and set CYGWIN=nontsec had been run.  I believe this has been the source of  for some time now, but until now I hadn't identified the culprit. What can I do to avoid this in the future?  If it happens again, what should I look for in terms of identifying corrupt aspects of the directory structure?


color glitches and weird texture in render

When I look in my preview render everything looks fine (for not having finished lighting) but when i actually render it the color of my doughnut icing glitches and the texture of the table doesn't appear.


Getting limited result from oracle in order

I have a set of 4000 records,I am only allowed to retrieve 300 records.  I am doing pagination on the resultset, but since we are limiting the result to 300 i am getting different results for each DB hit.  So is there any option to get the ordered first 300 of the 4000 records, without getting the entire result of 4000 records.  Below is the query:  select id from table where name='ronaldo' and rownum <= 300 order by id asc;


I want to concatenate two Regular expressions with AND operator (I don't know if this is possible ... ) so the match happens only when the string matches RegEx1 and RegEx2.   RegEx1: [a-g]+  RegEx2: [b-z]+  Example1 : String "bcd" match   Example2 : String "hijk" not match    It was easy with OR operator, but for AND I could not find a solution.


Better techniques for trimming leading zeros in SQL Server?

I've been using  for some time:  SUBSTRING(str_col, PATINDEX('%[^0]%', str_col), LEN(str_col))   However recently, I've found a problem with columns with all "0" characters like '00000000' because it never finds a non-"0" character to match.  An alternative technique I've seen is to use TRIM:  REPLACE(LTRIM(REPLACE(str_col, '0', ' ')), ' ', '0')   This has a problem if there are embedded spaces, because they will be turned into "0"s when the spaces are turned back into "0"s.  I'm trying to avoid a scalar UDF.  I've found a lot of performance problems with UDFs in SQL Server 2005.


Send email with an attachment located in Google Drive

I want to send a PDF attachment located on Google Drive from a Sheet.   Code I'm using is:  function sendEmails() {   var sheet = SpreadsheetApp.getActiveSheet();   var startRow = 2;  // First row of data to process   var numRows = 8;   // Number of rows to process   // Fetch the range of cells A2:B3   var dataRange = sheet.getRange(startRow, 1, numRows, 2)   // Fetch values for each row in the Range.   var file = DriveApp.getFilesByName('ScriptCarPass.pdf')   var data = dataRange.getValues();   for (i in data) {      var row = data[i];     var emailAddress = row[0];  // First column     var message = row[1];       // Second column     var subject = "Sending emails from a Spreadsheet";     MailApp.sendEmail(emailAddress, subject, message, {attachments: file});   } }   Everything works fine except the attachment - i.e. if I run without the attachment it works fine.  I keep getting error Invalid argument: inlineImages  I've also tried with:   attachments: [file.getAs(MimeType.PDF)]   but that gives error that .getAs isn't recognised.


How do I take one file from one un-merged feature branch into a different feature branch in git?

So I've been working on a feature branch which changes a number of files, committed it and pushed it, but it hasn't been merged into master yet. I've created a new branch off of master for a different feature and this feature depends on one line from one file committed in the last feature branch, but I don't necessarily want it to have all of the features from the other branch until they're merged with master.    Last time I had this problem I just changed the file in both branches but that caused problems for me down the line. What's the elegant git way to do this?


Legendre symbol - Find all primes such that $(7/p)=1$

I've been thinking a lot about this problem, but couldn't come up with an answer.  Any help would be appreciated!


Where are the Stack Exchange data dumps?

I see a lot of talk around here regarding the Stack Overflow public data dump.  Where is it? How can I play with it?


How to properly solve for the inverse problem of OLS?

In textbook ordinary least squares we want to find a vector of coefficients $b_{k+1\times n}$ such that the sum of the squared deviations of what's observed ($y_{n\times 1}$) from what's assumed to be systematic $Xb$ (or $u'u$ for $u=y-Xb$) is minimized. In addition to the observables $y,X$ we make assumptions about the distribution of $u$ eg $u\sim N(0,1)$.  Is it possible to solve for the inverse linear problem ie. given observables $X$ and an arbitrary but given $b^*$ vector of coefficients, we wish to derive those $y$ that would have produced as a solution of the direct problem, the exact vector $b^*$?  My Approach  I have tried producing $u$ such that for $g=X'u$, $g'g$ is minimized but the result does not produce reasonably looking $y$'s even though when the $y's$ are used in the direct problem as a dependent variable yields the desired $b^*$'s.  (The generated $y$ data seem to be evenly dispersed above and below the regression line, leaving a narrow corridor around the regression line empty, as illustrated below:  ).  Motivation  The motivation is to be able to generate datasets (collections of $n$ $y$'s) that display persistently the desired regression line (given by the $b^*$'s) when OLS is used on them, for a given set of regressors $X$.


Innacuracy when multiplying integer by float in python 3.8

When multiplying 100 by 1.10 the returned value is 110.00000000000001. Why is that 00000000000001 there? And how do I get around it so it doesn't show up Code that I ran: def aumentar(valor, porc):     return valor*((100+porc)/100)   print(aumentar(100, 10)) #When I run this I get 110.00000000000001 shown up on the terminal


Sci fi short story, enemy weapons made the population deaf

I read this short story at least thirty years ago, an anthology in the UK but the story was set in the US.  A grandmother is struggling to raise her grandson, I think the parents are dead. There is an ongoing war with (I think) Russia. Nothing atomic is mentioned IIRC, instead some futuristic weapons are being deployed.   The problems are caused because a weapon used a while ago  has rendered the population deaf. The woman is continually waving a sign saying NO at this kid to try and get him to behave, she gets him to school. There are despairing teachers trying to instil some learning into these kids , a real problem with both sides being deaf.  Mention is made in the newsheets of another enemy weapon that can cause the body's molecules to separate, causing rapid death, this is characterized by people suddenly growing to giant size and doing a parody of a dance as the weapon destroys them.  I think the downbeat short story ends with her and the kid in the street outside her house, they are suddenly dancing and getting rapidly bigger, surrounded by their neighbours doing the same.


suppose $tr(A^k) = tr(B^k)$ for all $k$=$1,2,....$. why $A$ and $B$ are same characteristic polynomial? .

Let $A,B \in {M_n}$ and suppose $tr(A^k) = tr(B^k)$ for all $k$=$1,2,...$ . Why do $A$ and $B$ possess the same characteristic polynomial?


I want the QED symbol to be 1 line lower at the end of proof

Just as my title says, I would prefer to have my qed symbol to be 1 line lower than the last line of my proof. By default its on the same line and aligned to the right.   How can I achieve this?  EDIT: See below code for an example:  \documentclass[11pt,a4paper]{article} \usepackage[margin=3cm]{geometry} \usepackage[english]{babel} \usepackage{amsmath, amsthm} \begin{document}  \begin{proof}     Hello there good chap! I'll put in another line here just to be sure its clear what I mean. \end{proof}    \end{document}


What is the average distance of two points chosen uniformly on a unit square? What I am asking is how to calculate $E\left(\sqrt{(x_1-x_2)^2+(y_1-y_2)^2}\right)$ for $x_1, x_2, y_1, y_2$ spread uniformly on $[0,1]$.


In my 2nd and 3rd reference, there is a large space after URL, why and how can I remove it? \usepackage{natbib}  \begin{document}  \bibliographystyle{agsm} % Harvard style \bibliography{ref.bib}  \end{document}  And the ref.bib entries with the problem. @article{Tabish2007,    author = {Syed Amin Tabish},    issn = {1658-3639},    issue = {2},    journal = {International journal of health sciences},    month = {7},    pages = {V-VIII},    pmid = {21475425},    publisher = {Qassim University, Kingdom of Saudi Arabia},    title = {Is Diabetes Becoming the Biggest Epidemic of the Twenty-first Century?},    volume = {1},    url = {https://pubmed.ncbi.nlm.nih.gov/21475425 https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3068646/},    year = {2007}, }  @article{Ramachandran2014,    author = {A Ramachandran},    issn = {0971-5916},    issue = {5},    journal = {The Indian journal of medical research},    keywords = {*Physical Examination,Diabetes Mellitus/diagnosis/*epidemiology/physiopathology,Humans,Prediabetic State/*diagnosis/epidemiology/physiopathology,Risk Factors},    month = {11},    pages = {579-581},    pmid = {25579136},    publisher = {Medknow Publications & Media Pvt Ltd},    title = {Know the signs and symptoms of diabetes},    volume = {140},    url = {https://pubmed.ncbi.nlm.nih.gov/25579136 https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4311308/},    year = {2014}, }


How to highlight a selected feature in qgis plugin using python

I am working on a plugin that would highlight selected features by changing its color. Can anyone help me regarding this? The plugin searches for required features and once found, I want that those features are highlighted with color different from the layer color. How to do this?  Here is the snippet:  def processResults(self, results):     if self.layer is None:         return     if self.selectBox.isChecked():         self.layer.setSelectedFeatures(results)         if len(results) == 0:             return          if self.panBox.isEnabled() and self.panBox.isChecked():             canvas = self.iface.mapCanvas()             rect = canvas.mapRenderer().layerExtentToOutputExtent(self.layer, self.layer.boundingBoxOfSelected())             if rect is not None:                 if self.scaleBox.isEnabled() and self.scaleBox.isChecked():                     rect.scale(1.5)                     canvas.setExtent(rect)                 else:                     canvas.setExtent(QgsRectangle(rect.center(), rect.center()))             canvas.refresh()   This code just scales the canvas 1.5 times, what I want is not zooming in it, but just highlight it on the same scale by either changing color or any other means. How to do it?


I have a 32-bit very old pc, I tried with the 32-bit option that was in the official page don't worked to me,my pc dosen't have cd, I need the USB installation someone know how to install ubuntu in this 10 years old PC. Thank You


Is it possible to make an underfull tabulary spread out?

With this MWE  \documentclass{article} \usepackage{tabulary}  \begin{document}  \hrule  \begin{center}   \begin{tabulary}{\textwidth}{|L|L|L|}     foo&bar&baz   \end{tabulary} \end{center}  \hrule  \end{document}   I get a table which is narrower than the page:   But I'd like the table to be spread out to \textwidth like tabularx would do. Is this possible?  Or is there an alternative approach?


An event is a 4D point in spacetime. At every point in spacetime there is a tangent space. 4-vectors live in the tangent space. One can contract two events using a metric tensor. Is there a process that moves the event as a point in the manifold to the tangent space?


How to pick and differentiate a flat color?

When I am using Color Picker in Photoshop or Illustrator I am unable to get a Flat color. What are the things or basic points that I should keep in mind so that I am able to judge a color whether it is flat or not. Although flat color can be picked form websites such as       e.t.c.    Picking a flat color is not my problem. I want to learn the skill needed to judge and differentiate a flat color from other. Do all flat  colors values follow a pattern ?(like specific hue and saturation).


I want to prove  the following proposition.  If every Sylow subgroup of a finite group $G$ is normal for every prime $p$, then $G$ is the direct product of its Sylow groups.  IDEA. I have the idea to use the following theorem. THEOREM If every Sylow subgroup of $G$ is a normal subgroup, then $G$ is isomorphic to the product of its Sylow subgroups.


At some point in my notes they essentially imply that when $u\sim \mathcal{U}(0, 1)$ then $-\log(u)\sim \text{ExponentialDistribution}(\lambda=1)$. Clearly this isn't true since by the integral transform we should use the inverse CDF?


How much did McGonagall know about Snape?

A follow-up question of   It seems that before the Battle of Hogwarts, McGonagall faced Snape in a brief battle. Snape escapes as a coward, as McGonagall shouted. Now did she know that Snape planned this? It seems to me that she doesn't know. In the books, only Harry and Dumbledore know that Snape is a double agent.


Find a formula for this sequence (and prove it).

This is a 2 part problem.  Part I  I need help finding a formula for this sequence of numbers:  $$\frac{1} {1\times 2} + \frac {1} {2\times3} + \cdots + \frac {1} {n(n+1)}$$  Part II  I need to prove the formula conjectured in Part I.


When my training loss goes down, my evaluation loss goes up. What is this a symptom of?

I'm training a multi-label image classifier with a dataset of 4096 images and a network model based off of DenseNet, using an SGD optimizer. The pink graph has a learning rate of 0.01, and the blue graph has a learning rate of 0.001. Both have a momentum of 0.9. What is this a symptom of? Do I need more data?


I too have lost my horse (white) due to an ambush by many bandits that gang up on me and killed me. Once I got back in game I also received this brown horse Tennessee. I looked at the map and that horse was the only horse that had the white saddle icon. I went to the stables to check and i even went to camp where I can receive any of my horses but the best horse that I used is gone. What happened ? Any clue? Maybe the bandits took it and switch off with there’s ?


How can I add a preview for an MP3 on a Facebook post without Soundcloud?

I use Soundcloud to add  a preview for an MP3 on a Facebook post:    How can I add a preview for an MP3 on a Facebook post without Soundcloud so that the user doesn't have to open a new tab to listen to the MP3?


Using Ubuntu 14.04 LTS.   sudo apt-get update   thats all i ran, and it'd start off real smooth, then it'd get to a part where it gets stuck for like a fair ammount of time after which it'd display this error.  W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ trusty/restricted amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty_restricted_binary-amd64_Packages)     W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ trusty/restricted i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty_restricted_binary-i386_Packages)     W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ trusty-updates/restricted amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-updates_restricted_binary-amd64_Packages)     W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ trusty-updates/restricted i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-updates_restricted_binary-i386_Packages)     W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ trusty-backports/restricted amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-backports_restricted_binary-amd64_Packages)     W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ trusty-backports/multiverse amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-backports_multiverse_binary-amd64_Packages)     W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ trusty-backports/restricted i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-backports_restricted_binary-i386_Packages)     W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ trusty-backports/multiverse i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-backports_multiverse_binary-i386_Packages)     W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ trusty-security/restricted amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-security_restricted_binary-amd64_Packages)     W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ trusty-security/restricted i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-security_restricted_binary-i386_Packages)     W: You may want to run apt-get update to correct these problems   of course the suggestion it suggested isnt going to work, as it's that very command after running which i came across the error.  I've tried creating a new sources.list file, and also, in the 'other software' tab in the updater settings, i found two "canonical Partners" and thus i eradicated one of them. Still it wont work.  there are a number of lists that the error tells of... I checked one and couldnt make any sense out of it.   Also, I installed the 32bit architecture manually so as to be able to use skype


How can I force unzip / zip not to create a subdirectory when I extract it?

Depending on how a zip file is created, sometimes it will extract all of the files directly, and sometimes it will extract the files into a subdirectory.  If the latter is true, how can I force the unzip command to "ignore" that first level directory?  Example:  cd /tmp wget http://omeka.org/files/omeka-1.5.1.zip mkdir omeka unzip omeka-1.5.1.zip -d omeka/ cd omeka/ ll   What I'm getting is /tmp/omeka/omeka-1.5.1/:   total 12 drwxr-xr-x 3 root root 4096 2012-05-08 18:44 ./ drwxrwxrwt 6 root root 4096 2012-05-08 18:44 ../ drwxr-xr-x 5 root root 4096 2012-04-20 14:54 omeka-1.5.1/   What I want is of the files extracted to /tmp/omeka/, (one level up and no version number included in the directory structure)  /tmp/omeka/(files)   I know I can use the -j option to "junk paths" but I want to keep the subdirectory structure, just not the top level directory structure. How can I do this?


Piped I/O MergeSort, Null Pointer Exception Java

I am trying to create a Piped I/O mergesort. I have the sorting working, but I am struggling with merging the pipes.  This is my Merger.java     1 import java.util.*;   2 import java.io.*;   3 class Merger implements Runnable {   4   5     ObjectInputStream ins[] = new ObjectInputStream[2];   6     ObjectOutputStream out = null;   7     int b[] = null, start=0;   8     //1 level merger, we do other 4 levels   9     //Only last level need an array to write into it   10     public Merger ( PipedInputStream in1, PipedInputStream in2,      PipedOutputStream pout, int b[]) {   11         try {   12 ins[0] = new ObjectInputStream(in1);   13             ins[1] = new ObjectInputStream(in2);   14             if(pout==null) {   15                 System.out.println("POUT = NULL\n");   16                 out = null;   17             }   18             else{   19                out = new ObjectOutputStream(pout);   20             }   21             this.b = b;   22         } catch (Exception e) {}   23     }   24   25     public void run() {   26         int num[] = { -1, -2 },   27             errCnt=0, // number of pipes caused error   28             k = -1;   // k will be 0 or 2 indicating the pipe to read from   29   30         try {   31             num[0] = ins[0].readInt();     // read from first pipe   32             num[1] = ins[1].readInt();     // read from second pipe   33         } catch (IOException e ) {   34             System.out.printf("\n\t\tOne or two pipes are not connected.\n");   35             return;   36         }   37   38         //compares num[0] & num[1], k written to array   39         while(errCnt < 2) {   40             try {   41                 if( errCnt < 1 )  k = num[0] <= num[1] ? 0 : 1;   42   43                 if( b != null) b[start++] = num[k];   44                 else {   45                     out.write(num[k]);   46                     out.flush();   47                 }   48                 num[k] = ins[k].readInt();   49             } catch( IOException e ) {   50                 errCnt++;   51                 //find source of exception   52                 k = ( k == 0 ? 1 : 0);   53             }   54         }   55     }   56   57 }   I call this function in two different cases. I have 6 different levels of Merging. 0 - 5. On 1-4 I call     122         for(int i = level-1; i >= 0; i--){   123             n = (int) Math.pow(2,i-1);   124             for(int j = 0; j < n; j++){   125                 if (i == 1){   126                     mergers[i-1][j] = new Merger(pin[i][j*2], pin[i][j*2+1], null, b);   127                     System.out.printf("Merger[%d][%d]   (pin[%d][%d], pin[%d][%d], null, b\n", i-1, j, i  , j*2 , i, j*2+1);   128                 }   129                 else {   130                     mergers[i-1][j] = new Merger(pin[i-1][i*2], pin[i-1][i*2+1], pout[i-1][j], null);   131                     System.out.printf("Merger[%d][%d]   (pin[%d][%d], pin[%d][%d], pout[%d][%d], null\n", i-1, j, i , j*2 , i, j*2+1, i-1, j);   132                 }   133   134             }   135         }   I get the error on line 126 and 130. I think it's because on the last level I pass null to the Pipedoutput (pout) and the other levels I pass null to array b.  The print statements are just to debug that I'm passing in the correct values


Why is JavaScript's number *display* for large numbers inaccurate?

So in JavaScript, 111111111111111111111 == 111111111111111110000. Just type any long number – at least about 17 digits – to see it in action ;-)  That is because JavaScript uses double-precision floating-point numbers, and certain very long numeric literals can not be expressed accurately. Instead, those numbers get rounded to the nearest representable number possible. See e.g.   However, doing the math according to IEEE-754, I found out that every number inside [111111111111111106560, 111111111111111122944] will be replaced by 111111111111111114752 internally. But instead of showing this ...4752 number, it gets displayed as 111111111111111110000. So JavaScript is showing those trailing zeros which obfuscates the real behavior. This is especially annoying because even numbers like 263, which are accurately representable, get "rounded" as described.  So my question is: Why does JavaScript behave like this when displaying the number?


Are there rules for forming adjectives from names?

I may not be using the right terms for what I'm asking, but for example, "Cartesian" is an adjective derived from Descartes' name, and "Dickensian" is an adjective derived from Charles Dickens' name, both of which are used to describe things that are related to the particular person they refer to. Are there rules (even loose rules) for how such adjectives are created, or is it more of an art than a science? Is there a special name for such adjectives (like a "demonym" is a noun for people from a particular place)?  Thank you in advance for any help. Please let me know if you'd like any clarification of what I'm asking!  Edit  And if there aren't rules for this, what are the most common suffixes used, and what are examples of such suffixes?


How to make extension method to System.IO.File

If there is a way, I want to know that the way to make extension method to System.IO.File in c#.  I want to make a method like below.  // 'CreateDirectoryAndFile is the method I made System.IO.File.CreateDirectoryAndFile("path");    but I've searched it on google, I can't find the way.  So, I was forced to try to do like below.  // I made a FileHelper class for this method. FileHelper.CreateDirectoryAndFile("path");   Isn't there a way to do like this?


I have a client who would like their wordpress permalinks to look like this:   /%category%/%state%/%city%/%street%/   I can get this information easily enough with custom meta data in the post editor, but I'm at a loss to see a method for creating custom permalink tags. Can anyone tell me how this might be achieved?  Cheers!


Can fuzzy borders be added to external pictures programmatically?

In my opinion, external pictures are often more pleasing to the eye on a white background when they have fuzzy rather than "sharp" borders. For instance, compare this    to that    Adding fuzzy borders is straighforward in image-editing tools such as GIMP (Filters >> Decor >> Fuzzy borders...).   However, using 3rd-party tools for adding fuzzy borders on an image to be included in a .tex file lacks maintainability. What if I suddenly decide that the fuzzy borders I added to my original image are too narrow or too wide, or that I no longer want fuzzy borders? I would have to modify all my image files in a 3rd-party image-editing tool...  Is there a way to add fuzzy borders to external pictures programmatically in LaTeX, without modifying the original image file? That would be nice! You could then tweak some fuzzy-border settings globally, decide whether or not you want fuzzy borders at all, etc. directly inside (rather than outside) your input file.  My attempt: I didn't find any way of using \shade with different opacity for top color and bottom color. Therefore, I thought I could draw concentric rectangular paths of decreasing dimensions and decreasing opacity on top of the picture, but that seems like a very wasteful way of doing things.  I'm not asking for a full solution here, merely for pointers.  Can you think of a better approach?  Related questions on TeX.SE include:        but I haven't been able to adapt the solutions proposed there.


How can I test for the .RAW file extension?

I'm trying to set up an sh script that will run every 30 minutes. During each run, I want to check a directory for the presence of at least one .RAW file. Upon finding that file extension, I will have other code to execute, but right now I'm having trouble figuring out the correct if statement to use.  I know this code example isn't the most ideal way to do it, but here's the code I tried which is obviously wrong:  cd ./dir/ if [ ! -f "*.RAW"]; then   echo "No files!" else   echo "Yes files!" fi   How can I correctly test for the presence of the .RAW extension?


Why do commented lines in a linux configuration file sometimes work?

By a commented line I mean either:   #!/usr/bin/perl -w   and the comments in /boot/grub/menu.lst file as described in .  It already has a comment, i.e the line begins with a #, but still is being interpreted. Why is that so?


I know that isn't first topic of this type but I have read almost all similar topics and proposed solutions don't work.  I have table with 8 handmade rows, there is also add row button which adds row in this way:  function addNewRow(){        var numRows = $('#newTasks tr').length;      $('#newTasks').append('
<input type="text" id="title-'+numRows+'" />	<input type="text" id="description-'+numRows+'" />	<input type="button" id="delete-'+numRows+'" class="deleteButton" value="x" />
'); }   As you can see I have delete button in each row but in dynamically generated rows it doesn't work.  $(document).ready(function(){      [...]      //Delete button click event     $('.deleteButton').click(function(){                 alert($(this));         deleteRow($(this));     }); });   Even alert action isn't triggered by dynamically generated button but in case of handmade rows it works fine. I think it doesn't treat dynamically generated buttons as classified "deleteButton" but from the other hand css does.   function deleteRow(thisButton){     thisButton.parent().parent().remove(); }


When does decision tree perform better than the neural network?

I was experimenting with different modelling methods including KNN, Decision Trees, Neural Networks and SVN and trying to fit my data to see which works the best. To my surprise, the decision tree works the best with training accuracy of 1.0 and test accuracy of 0.5. The neural networks, which I believed would always perform the best no matter what has a training accuracy of 0.92 and test accuracy of 0.42 which is 8% less than the decision tree classifier.   Could someone please explain the circumstances/cases where neural networks could have low accuracy when compared to a modelling technique like the decision tree. I had tried my neural network with different configurations like:  1 hidden layer and 1 neuron : Train Accuracy 34% Test Accuracy 42% 7 hidden layers and 5 neurons in each layer: Train Accuracy 79% Test Accuracy 42% 1 hidden layer and 100 neurons: Train Accuracy 34% and Test Accuracy 35%   but not in a single case, I found the neural network to beat the decision tree test accuracy of 50%.


I somehow changed the way my meshes are displayed in edit mode :    Do you know how to return to the original display that is provided by default in Blender ? I've tryed many options in Properties panel and in User Preferences.  It happens only in "User Ortho" view.


Word to describe someone doing something even though told not to

I'm looking ideally for a word to describe someone who does something even when they're told not to. Like, if they're told not to do something like a dare, or just to not go and do such-and-such, they will do it. In fact, it will only make them more determined that they can do it.   Examples:     She was described as ___ because she was told to not go to the party, but did it anyways.         She was called ___ since her father told her to not do any stupid dares but she didn't listen to him.          He has a tendency to be ___ - he likes to prove he can do it, despite others telling him he can't.   Thanks for your answers!


I am following the instructions at   My PHP version is PHP 7.0.33-0ubuntu0.16.04.1.  When I run this command...   composer global require drush/drush:dev-master   ...I get this output...  Problem 1     - Installation request for drush/drush dev-master -> satisfiable by drush/drush[dev-master].     - drush/drush dev-master requires consolidation/site-process ^2.0.0-beta3 -> satisfiable by consolidation/site-process[2.0.0-beta3] but these conflict with your requirements or minimum-stability.   However, I have minimum stability set to dev...  "minimum-stability": "dev",   So why is the output telling me that beta code doesn't meet the "dev" stability level?


How to indicate the tip to cleaners in hotels and motels

mentions tipping cleaners:     Forgetting the cleaners      It seems ridiculous to you and me, but in the US, and Canada, and many   parts of the Middle East, hotel guests are expected to leave money out   – the equivalent of a few dollars per day – for the housekeeping team.   You'll never see these people, but the cleanliness of your room will   certainly increase with the more money you decide to leave.   How do you indicate what money is (and is not) intended as a tip to the cleaners in hotels and motels (in the United States if it needs to be narrowed down to a specific country)?  The question  more or less answers my question, but doesn't address whether cleaning staff may inadvertently interpret money left lying around that wasn't meant as a tip as one.


import qgis geoprocessing tools in python os x 10.9.5

I'd like to use the python bindings from qgis, but in a standalone project. I need the geoprocessing tools for vectors.  I updated QGIS (Wien - 2.8), python (3.4.3), etc. However, it always ends with the following error :                 import qgis.core       Traceback (most recent call last):         File "", line 1, in          File "/Applications/QGIS.app/Contents/Resources/python/qgis/init.py", line 26, in            import sip       ImportError: dlopen(/Applications/QGIS.app/Contents/Resources/python/sip.so, 2): Symbol not found: _PyCObject_Type         Referenced from: /Applications/QGIS.app/Contents/Resources/python/sip.so         Expected in: flat namespace        in /Applications/QGIS.app/Contents/Resources/python/sip.so           I set the following path : export PYTHONPATH=/Applications/QGIS.app/Contents/Resources/python/ export DYLD_LIBRARY_PATH=/Applications/QGIS.app/Contents/MacOS/lib/:/Applications/QGIS.app/Contents/Frameworks/  The issue is obviously about SIP, but I truly don't know what to do. The python console inside QGIS is not insulting me when I'm giving it "import qgis.core". So I 'd bet there is something about the versions of SIP, Python "command line" and Python "QGIS command line".  I can't say what... and I'mm really stuck.   I am using miniconda3 for my libraries (rsgislib, gdal, ogr, ...).


How can I make python busy-wait for an exact duration?

More out of curiosity, I was wondering how might I make a python script sleep for 1 second without using the time module?  Is there a computation that can be conducted in a while loop which takes a machine of n processing power a designated and indexable amount of time?


How to format HD 1TB in more than three gpt partitions?

How to format HD 1TB in more than three gpt partitions without any operarations system. At least 7 partitions in gpt  There is a tutorial to do gpt partitions? 1 for Windows 10 and the others that are need for got style partitions.  2 for data, backup 3 for Ubuntu. 4 for home in separate partition. 5 for backup or data.


How can I break an align environment for a paragraph?

I would like to have two displayed equations, broken by a short paragraph, but with aligned equal signs (as if using the align environment).  Is there some way to "break" the align environment temporarily?


Ubuntu 14.04.3 LTS WUBI won't run the Installer

As far as the wiki says wubi.exe should eventually let me install UBUNTU like a Windows program, however it only gives me the option or rather the notice to boot into the demo mode and make the installation from there. What do?


Prevent user from unpinning items on the taskbar on Windows 10?

We have some laptops which go out to end users when they need to go to events however a few users seem to then go an unpin everything from the taskbar which makes my life a little frustrating when it comes to doing a health check and clean up afterwards  Is there like a local policy I could set on the machines that would prevent from items from being unpinned on the taskbar?


How to open a bank account in the US as a foreign traveler?

I am travelling to the US on vacation. I would like to open a bank account, probably a free checking account so that I can purchase tickets & rent hotels online.   How do I go about this? Is it easy to open a free checking account in the US?


Is there a way to add English subtitles for S.T.A.L.K.E.R.: Call of Pripyat?

I am Russian myself, and I have, obviously, played S.T.A.L.K.E.R. series in Russian language (the original one). However, I want to share this game with some of my friends who don't speak Russian at all, and I have found out that this game is awfully translated.    It is dubbed in English, not subtitled. IMO, this English dub is of very bad quality, I like the original much more.  At the same time, some lines are not dubbed (and hence not translated at all!), so an English-speaking player wouldn't understand what goes on. I did a quick Google search, it did not yield anything.    I liked that Source games where you could easily turn subtitles on, reading stuff in any language you want, but listening to it as it was originally done.  Any option to do the same with S.T.A.L.K.E.R. series, particularly "Call of Pripyat", so I can reliably advise the game for my non-Russian friends?


Young adult book about experiment on teens in a big room with shifting platforms

I read this book about 20-30 years ago. It's about a group of teenagers who wake up in a huge room where each is on a separate platform. As the book progresses, they go unconscious and the platforms change, move or become connected. The children are punished or rewarded through a variety of methods including food and pain. The goal is to get them to either hurt each other, or see if they band together, I can't quite remember. Please tell me if this sounds familiar.


Good textbooks on Non-Euclidean Geometry?

I'm currently taking a class called Foundations of Geometry. We started with the stereographic projection and carried onward through fractional linear transformations, and now we are working with the Poincaré Disk Model. We've been finding things like non-Euclidean lines, circles with their non-Euclidean centers and non-Euclidean distances, delving into hyperbolic trigonometry. We don't use a textbook though, the professor just wrote up his own notes, and while good, they're restricted to just our 10 quarter class, and we're just studying one of the non-Euclidean geometries. So I was wondering if anyone had suggestions on some books that may cover more of the hyperbolic geometry or perhaps some elliptic, or any others in general. Thanks! =D


I am writing a doctoral thesis and I am using  to set the references in APA (American Psychological Association) format. Mostly this has worked perfectly fine, but I would like to suppress the author initials from the compiled version (in-text, not in the end references section). This happens because there are multiple authors with the same name e.g.,     Smith and Jones (1992) or Wells and Smith (1901)    are typeset in-text as:      I. Smith and Jones (1992) or Wells and D. Smith (1901).   Although it may be correct to have the initial in-text in APA format, in reality I am using BPS (British Psychological Society) format, which uses an adapted APA format (and you guessed it, they don't like the initial in text). Thus in-text should look like the first example above (without initial) but looks like the second (with).  To clarify: Any ideas on how to suppress the initial in-text in apacite?  Thanks.  ps. I understand that I could do it with a different bibtex style, but my question pertains to apacite.


What is $\sum\limits_{i=1}^n \sqrt i\ $?

What is $\sum\limits_{i=1}^n\sqrt i\ $?   Also I noticed that $\sum\limits_{i=1}^ni^k=P(n)$ where $k$ is a natural number and $P$ is a polynomial of degree $k+1$. Does that also hold for any real positive number? How could one prove it?


UV map for cuboid produces islands of same size

I have a cuboid with height, width and length not of same scale. When I Smart Project UV map for this, I get islands of same size.   I think I must get islands of different sizes as height, width and length are not of same scale for my cuboid.   Am I doing anything wrong or is it normal ?


Is there a way to migrate a question that is already closed without first reopening it and closing again as off-topic to migrate?


Recently a short fall broke not only my Nexus 4's cheap phone case, but the digitizer as well. The LCD and everything else is perfect, however the touch screen only works on the top quarter of the screen. I have no bluetooth mouse/keyboard and USB On-The-Go doesn't work for Nexus 4.  Unfortunately USB Debugging is disabled (I really regret turning it off). How can I unlock it or back up the data on my phone?


Which of the following should I use?     Today is me and Joey's anniversary   Today is mine and Joey's anniversary


If $R$ is a ring, J is an ideal in $R$, and $I$ is an ideal of $J$ (with $J$ considered as a ring), does it follow that $I$ is an ideal of $R$?  That is, is $I$ necessarily closed under multiplication by elements of $R$?  Surely $I$ is closed under multiplication by elements of $J$ (since $I$ is an ideal of $J$).  The "obvious" approach to proof fails so quickly that it must be false, that "an ideal of an ideal is not necessarily an ideal of the big ring".  Please provide a counterexample.  (Or a proof?)


Ubuntu 20.04 doesn't restart/reboot, after installation on a new laptop

After installation Ubuntu 20.04 on my new laptop Lenovo-Legion-5P, I can't reboot/restart the system. I'm getting in a black screen. CPU: intel core i7-10875H CPU 2.30GHz GPU: nvidia GeForce RTX 2060 Bios Version: EFCN38WW Tried this: Boot Mode: Legasy Support --> UEFI PTT: Enable --> Disable This way doesn't work for me. Any ideas? Thank you


How to identify polygons with "flag" sliver errors

Working in ArcMap, I have come across errors in a polygon layer that I will call "flag slivers" (taken from similar language in parcels call "flag lots").  These sliver polygons (see image below) are typically composed of just one additional node that user has  accidentally added.    In the images below, the "flag" and the "flagpole" are one single-part feature where the "flagpole" just overlaps itself.  The left-hand image has a total of 5 nodes.     When seen alone the errors are very obvious, but when multiple polygons are adjacent, they are nearly impossible to see because they appear to be the boundary between 2 polygons.  This likely happens because they are using a shapefile based editor, and therefore I cannot implement any topology-based editing rules to prevent this from happening in the future.  Does anyone have a way of identifying and resolving these types of errors?  I would prefer an automated method of both identification and resolution since field users are the ones who created the errors, but I am stuck cleaning up after them.  Thanks.


I have this problem I can't figure out how to do it Suppose A and B are finite sets and $f : A → B$ is surjective. Is it true that the relation $“|A| < |B|”$ is a sufficient condition for claming that $f$ is a bijection?


Recently I've seen various videos showing the . All of the videos which I have found have a pattern which repeats every $60\mathrm{s}$.   I am trying to work out the relationship between the period of the overall pattern and the difference in length between each of the pendulums.  From the small-angle approximation for the period of a simple pendulum, for each pendulum with period $T$ we have:  $$T\approx2\pi\sqrt{\frac{L}{g}},$$  Where $L$ is the length of the pendulum and $g$ is the acceleration due to gravity.   If we take (say) $n$ pendulums, with lengths $L,L+d,\dots,L+(n-1)d$, then the pattern repeats at a period $t$ when all of $\frac{t}{L}\in\mathbb{Z}^{*}$, $\frac{t}{L+d}\in\mathbb{Z}^{*}$, $\dots$, $\frac{t}{L+(n-1)d}\in\mathbb{Z}^{*}$. where $\mathbb{Z}^{*}=\mathbb{N}\cup\{0\}$.   However, I'm not sure how to develop a direct relationship between $t$, $d$ and $L$.


Cloth animation - pants falling down - pin to waist :)

I've just created pants/trousers for a standard human model by selecting the legs area, creating a new object and scaling it up little, then adding cloth modifier (e.g. denim) When I animate, the pants just 'fall down' obviously - I think the answer is pinning - but not sure how to pin the pants to the original character's waistline (as if the pants had a belt keeping them up?)  And please don't point me to this question     Since it only links to a tutorial which shows how to create a top - not a skirt or pants hanging from a waist.  Thanks J


Squeeze Theorem - Finding the limit of $\sum_{k=1}^{n} \frac{n}{n^2+k}$

Find the limit of the sequence $(b_n)_{n=1}^{\infty}$ defined by  $$b_{n} = \sum_{k=1}^{n} \frac{n}{n^2+k} = \frac{n}{n^2+1} + \ldots +\frac{n}{n^2+n} $$  for $n \geq 1$. I know that I have to use Squeezing Principle but I do not know how to find the lower and upper bound


I am using an Intel board made in 2009, model  P5KPLAM-IN series but today I've upgraded it to a DDR4 supported Mother manufactured by ASUS with Intel I3 7th generation and I deployed the same hard disk and I don't have old motherboard for some reason.  Nnow whenever I boot up the old HDD in the new motherboard Windows 7 booting logo starts loading but before fully loaded on screen  Windows 7 reboots automatically.  I tried booting with Windows7 bootable DVD but mouse doesn't works at Windows 7 installation GUI, I also tried loading driver from USB and rescan drivers but nothing happens, Windows don't find drivers in it.  I connected the hard disk to another running pc with Windows7 it shows a single 470GB c: drive .  If somehow I load ASUS motherboard drivers in the attached HDD then I hope everything starts work normal.


How to get the following planar binary trees diagram in Latex?

I want to get the above diagram in Latex, but I don't know how to edit it. Any help will be appreciated. I know I had better post my effort here, but I really can not get it by tikz. I find an example written by Stefan Kottwitz. I try to modify his example to get what I want. But I am failed.  % A simple Tree % Author: Stefan Kottwitz % https://www.packtpub.com/hardware-and-creative/latex-cookbook \documentclass[border=10pt]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}[sibling distance=10em,   every node/.style = {shape=rectangle, rounded corners,     draw, align=center,     top color=white, bottom color=blue!20}]]   \node {Formulas}     child { node {single-line} }     child { node {multi-line}       child { node {aligned at}         child { node {relation sign} }         child { node {several places} }         child { node {center} } }       child { node {first left,\\centered,\\last right} } }; \end{tikzpicture} \end{document}


$L_2$ is of first category in $L_1$ (Rudin Excercise 2.4b)

We mean here $L_2$, and $L_1$ the usual Lebesgue spaces on the unit-interval. It is excercise 2.4 from Rudin. There's several ways to show that $L_2$ is nowhere dense in $L_1$.  But in (b) they ask to show that  $$\Lambda_n(f)=\int fg_n \to 0 $$   where $g_n = n$ on $[0,n^{-3}]$ and 0 otherwise, holds for $L_2$ but not for all $L_1$. Apparantly this implies that $L_2$ is of the first Category, but I dont know how.  Second, I can show this holds for $L_2$ but I cant find a counterexample in $L_1$.  Theorem 2.7 in Rudin says:  Let $\Lambda_n:X\to Y$ a sequence of continuous linear mappings ($X,Y$ topological vector spaces) If $C$ is the set of all $x\in X$ for which $\{\Lambda_n x\}$ is Cauchy in $Y$, and if $C$ is of the second Category, then $C=X$.  So if we find a $f\in L_1$ such that $\Lambda_n(f)$ is not Cauchy, then we proved that $L_2\subset C \subset L_1$ is of the first category. However I dont see why showing that $\Lambda_n(f)$ does not converge to 0 for some $f\in L_1$ is enough here.  Am I missing something?


Is a pregnant creature considered a single entity for spells such as Banishment?

Using the D&D 5e RPG system. We'll use a  and the spell  as an example. What, if anything, occurs when you attempt to cast such a spell on a creature that is currently pregnant?  The spell specifies the following:     You attempt to send one creature that you can see within range to   another plane of existence. The target must succeed on a Charisma   saving throw or be banished. If the target is native to the plane of   existence you’re on, you banish the target to a harmless demiplane.   While there, the target is incapacitated   Does the spell take effect and if so does it bring the as yet unborn creature(s) with the mother? Possible complications include, beyond the spell only targeting a single creature, that it must also be a creature that you can see. The supposition is that being inside another creature would provide those inside with .     A target with total cover can't be targeted directly by an attack or a   spell, although some spells can reach such a target by including it in   an area of effect. A target has total cover if it is completely   concealed by an obstacle


Connection between adjusted R-squared and t-ratio

Writes : Consider a model with $k-1$ regressors and the same model with an extra regressor. Then it can easily be seen that  $\bar{R}_{k}^{2} - \bar{R}_{k-1}^{2} = \frac{1 - \bar{R}_{k}^{2}}{n-k+1} \left( \hat{t}_{k}^{2} - 1 \right)$   where $\bar{R}_{k}^{2}$ and $\bar{R}_{k-1}^{2}$ denote the adjusted multiple correlation coefficients for the models with $k$ and $k-1$ explanatory variables respectively, and $\hat{t}_{k}$ is the estimated $t$-ratio of the added variable.  Unfortunately he does not derive this result. Does anyone know how it works?


As a result of a tibial plateau fracture, now I've got a metal plate inside my knee with several screws. I assume it's titanium alloy. I've never traveled by plane before, and I'm worried that there are going to be problems with the security machines. Anyone with the same experience?


$W^{1,1}(\mathbb{R}^n)$ is not compactly embedded in $L^1(\mathbb{R}^n)$?

i have this question :  in an example of the compact embedding, the autor gives a demonstration of : the sobolev space $W^{1,1}(\mathbb{R}^n)$ is not compactly embedded in $L^1(\mathbb{R}^n)$  So let $F\in D(\mathbb{R}^n)$(=the space of smooth functions with a compact support in $\mathbb{R}^n)$ ., not identically equal to zero and $\{x_n\}$ a sequence such that lim $x_n=+\infty$ when $n\rightarrow \infty$. so $F_n(x)=F(x-x_n)$ is bounded in $W^{1,1}(\mathbb{R}^n)$ and it converge a.e. to 0.  so if it converge strongly in $L^1$ we will have :$||F_n||_{L^1}=||F||_{L^1}=0$, an this is a contradiction .  my question is : where is the contradiction and how to prove that the embedding is compact in "this case or in normed (Banach) spaces (general case)"?  thank you very much.


How to display R^2 value using pgfplots?

I have the following code   \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{pgfplotstable} \usepackage{pgfplots} \pgfplotsset{compat=1.11}  \pgfplotstableread{ x1 y1 y2 0   1   1 1   2   4 2   3   9 3   4   16 4   5   25 5   6   36 6   7   49 7   8   64 8   9   81 9   10  100 10  10  100 }\tableLabel  \begin{document}  \begin{tikzpicture} \begin{axis}[ legend pos = north west, title = Cool Graph, xlabel ={Cool X}, ylabel ={Cool Y}, grid = major, legend entries = {best fit, y1, y2}, ]  \addlegendentry{%     $\pgfmathprintnumber{\pgfplotstableregressiona} \cdot x     \pgfmathprintnumber[print sign]{\pgfplotstableregressionb}$ lin.     Regression} % \addlegendentry{y1}  \addplot table [x index=0, y = {create col/linear regression={y=y2}}]     {\tableLabel}; \addplot table [x index=0, y = y1]{\tableLabel};        %The data entries in column y1 \addplot table [x index=0, y index=2]{\tableLabel};     %The data entries in column y2 %\addplot table[row sep=\\, y={create col/linear regression={y=Y}}]  \end{axis} \end{tikzpicture} \end{document}   I wish to also show the R^2 value (least squares regression value) on my graph, is this possible?


Probability inequality for the case $E(X^2)=1$

I am trying to solve the following exercise from Kai Kai Chung's A Course in Probability Theory: If $E(X^2)=1$ and $E(|X|)\ge a>0$ then $P[|X|\ge \lambda a]\ge (1-\lambda)^2 a^2$ for every $0\le \lambda \le 1$. I know that the second condition implies that $a\le 1$ by Jensen's inequality and hence the proposition holds for trivial cases $\lambda \in \{0,1\}$. I guess I could integrate some indicator functions but I have no clue. Could someone give me a hint?


Simplest way to prevent iTunes from automatically launching when iPhone/iPad is connected

When I connect my iPad or iPhone to my Mac iTunes automatically launches. What is the simplest way to prevent this from happening?


Do unarmed strikes count for Hunter's Mark?

I have a Ranger3 Blood Hunter3 in a CoS campaign. The ranger multi-classed into bloodhunter for flavor and role play. He has chosen Order of the Lycan.   One of the abilities allows them to make 1d6(scaling with level) unarmed strikes. How should I handle the use of the spell Hunters Mark while using the unarmed strike?   I know that monks can make unarmed strikes in lieu of weapon attacks but would that trigger Hunter's Mark? Also would this roll over to the Blood Hunter homebrew class as well?  Hunter Mark reads "you deal an extra 1d6 damage to the target whenever you hit with a weapon attack" Can I concider the Blood Hunter unarmed strikes to be weapons?  Thank you both for your answers and insight on my inquiry. I guess this is being flagged a duplicate and in a way it may be. The other post didn't come up on my search regarding the Blood Hunter or Hunters Mark and unarmed strikes. I'm going to let this get mark duplicate and link over to the other page. Thanks again.


Possible To Raise Associate Salary In GTA Online As A CEO?

So I've been a CEO in GTA: Online for about 2 weeks now and my brother plays on his computer as well. I invite him as an associate to my company so that we can pickup packages and make deliveries and such together. Every so often (Maybe 10-15 minutes), he receives a paycheck which started at $5,000 and is now at about $7000. Before I became a CEO, I joined a company as an associate and immediately got $10000 for my paycheck.  I was wondering if there was a setting in the SecuroServe CEO section in the menu to increase salary so I can increase my brother's salary to $10000.   I looked at all the SecuroServe menus I could find but I found nothing on it. Is salary even controlled by me or is it based off rank/level? I know it's not based off your time as an associate for the company because I was getting paid $10000 and I had just joined the company. Please let me know if you know of a way to increase the salary of an associate!


Question from pathfinding Mathematics Olympiad

Find all polynomials P(x), for which $P(x)*P(2x^2)=P(2x^3+x) \text{if} x € R$ My Attempt: $P(x)=a_0+a_1*x^1+....+a_n*x^n$ Comparing Coefficients $a_n = 1$ or $0$ $a_0 = 1$ or $0$ I am stuck here Please help me 🙏🙏


On a fresh install of ubuntu 17.10 I enabled gnome extensions and logged out. When i logged back on the appearance changed completely.   No icons, Low resolution text   plus there is a new panel at the bottom. I guess this is the default gnome look. There wasn't even ubuntu dock. I had to add it. I tried changing themes but no luck. I would like to have my stock look restored. It looks ugly.


What differences are there between "sitting room", "lounge", "lounge room", and "front room"?

Each of these terms seem to be used to designate a room, in a private house or in the front of a public facility, where one can sit and relax and talk. But, are there any differences to them – or do they mean just about the same and, as such, can be used interchangeably?  Also, are any of these terms more typical of an English variety than of another?  Aside from that, what's the difference between a drawing room, a sitting room, a lounge (room), and a parlor, to designate a generally cozy room in a private house or a restaurant where guests can be entertained, or withdraw to after a meal to sit and relax and talk (and drink too!). Is one of these terms more typical of an English variety than of another?  Lastly, can "living room', "sitting room", "front room", "lounge (room)", and "parlor" be used interchangeably to designate a room in a home used by the members of a household for leisure activities or to entertain guests, etc., and are any of these terms more typical of an English variety than of another?


Hypothesis:   $f(x) = a_0 + a_1 x + \ldots + a_n x^n \in F[x]$ s.t. $f(x)$ irreducible over field $F$. $deg(f(x)) = n \ge 1$. Let $V = (f(x)) \subset F[x]$.   Goal: Show that $\mathcal{B} = \{1 + V, x + V, x^2 + V, \ldots , x^{n-1} + V\}$ forms a basis for $E = F[x]/V$  Attempt:   Linear Independence: If this set weren't linearly independent, then a non-trivial $b_i \in F$ would satisfy  $$ b_0 + b_1x + \ldots + b_{n-1} x^{n-1} + V = 0 + V $$   But this would then imply that $b_0 + b_1x + \ldots + b_{n-1} x^{n-1}  \in 0 + V$. But this would contradict $V = (f(x))$ since it is impossible that $f(x)\,\,|\,\,b_0 + b_1x + \ldots + b_{n-1} x^{n-1}$ of strictly lower degree.  Now how would I show that this set spans $F[x]/V$?


Make a USB in Ubuntu to boot a Macbook Air

The title pretty much covers it all, but I want to create a USB drive with Ubuntu on it to boot a Macbook Air. My computer has Ubuntu 14.04 on it, and that's it. How do I do it ?


I was using pscp to copy files from a Windows machine to a Linux machine. I accidentally got the path wrong and now there are files that I can't seem to remove. I think it is because of the slashes in the name... It is telling me the file or directory doesn't exist. I am attaching a photo. Thanks!


How to compact VirtualBox's VDI file size?

I've a VirtualBox VM which configured a very large hard disk size (bigger than host). By my mistake, a program on the VM generated lots of log files and the VDI file size keeps growing until there is no space on the host.   Now I've deleted the log files but the VDI file size are not getting smaller after using VBoxManage.exe modifyhd "C:\Virts\mybox-i386.vdi" compact  Is there a way to really compact the VDI file size? Thanks!


G is a graph with n vertices. Prove that $χ(G) · χ( \overline G) ≥ n$.

Let $G$ be a graph with n vertices. Prove that $\chi(G)\cdot\chi(\overline G)\geqslant n$.   I know that the chromatic number of a graph with $n$ vertices will have somewhere between $\chi(G-\ni) \leqslant\chi(G)\leqslant\ni(G-v)+1$ and also that the upperbound of the chromatic number will be greater than or equal tot he max degree of a vertex in $G+1$ and that the lower bound is the greater than or equal to the largest clique.  Is there anything we can do with this information to prove our proposition?


Parallel processing from a command queue on Linux (bash, python, ruby... whatever)

I have a list/queue of 200 commands that I need to run in a shell on a Linux server.   I only want to have a maximum of 10 processes running (from the queue) at once. Some processes will take a few seconds to complete, other processes will take much longer.   When a process finishes I want the next command to be "popped" from the queue and executed.  Does anyone have code to solve this problem?  Further elaboration:  There's 200 pieces of work that need to be done, in a queue of some sort. I want to have at most 10 pieces of work going on at once. When a thread finishes a piece of work it should ask the queue for the next piece of work. If there's no more work in the queue, the thread should die. When all the threads have died it means all the work has been done.  The actual problem I'm trying to solve is using imapsync to synchronize 200 mailboxes from an old mail server to a new mail server. Some users have large mailboxes and take a long time tto sync, others have very small mailboxes and sync quickly.


variance of a mixture in terms of the mean and variance of each component

I am following the MATLAB example to fit a mixture of two normal distribution that you can find   At some point it is defined the inital guess for the standard deviation as:  sigmaStart = sqrt(var(x) - .25*diff(muStart).^2)   where x are the data and muStart is the initial guess for the mean (i.e. centered at the two quartiles of the data)  using my data sigma is a non real number since I have  var(x) = 0.1045 muStart = [0.7000    1.3600];   Could you please tell me what's wrong? Peraphs the formula to calculate the sigmaStart?


Linux Redhat 7 : How to set a shell option globally / system-wide?

I'm having some troubled time trying to figure out how to turn on the xpg_echo option of the bash for every shell that will get run on my Linux RedHat system (7.4).  I know I can have what I need (the purpose is to expands backslash-escape at anytime as all the shells are ported from an HP-UX server) by using shopt -s xpg_echo, it's working fine for most cases.  Now my problem is where to turn on this option "system-wide" or "globally" so that every shell that I will run uses it.  I tried putting shopt -s xpg_echo into one custom shell in /etc/profile.d/myshell.sh.  It's working fine for:   Interactive shell sessions (get's sourced from /etc/bashrc) Login shell sessions (get's sourced from /etc/profile) shell programs without a bash shebang (that is no #!/bin/bash on 1st row)   but I can't get it to work in following cases, as it seems the /etc/profile.d/ scripts don't get sourced and the xpg_echo option is not inherited from the calling shell:   when running a shell script (with for example echo "a\tb") as a bash argument, e.g. bash /tmp/mytest.sh when running a shell script that has the bash shebang (#!/bin/bash) on 1st row   I'd like to know if there is any way to turn on the shell option xpg_echo for every conditions where I need to run a shell.  NB: I'm using GNU bash, version 4.2.46


If $\dfrac{c}{d} > \dfrac{a}{b}$, then $\dfrac{c}{d} > \dfrac{a+c}{b+d} > \dfrac{a}{b}$   This is intuitively clear to me but I don't know how to prove this. I tried rewriting all the fractions to the same for but I still couldn't figure it out because I can't really say anything about the size of $a,b,c,d$ on their own.  What tactic should one use for these types of problems?


I'm literally about 6 hours into Ubuntu.  I've gotten Steam onto the desktop. It seems I can't get it to fully install and update.  When I click the icon, the following comes up:  Steam needs to install these additional packages:      libgl1-mesa-dri:i386, libgl1-mesa-glx:i386, libc6:i386   If I try to install I get  ......................................................................................... Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (= 10.1.3-0ubuntu0.6)  unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed                         Depends: libcheese7 (>= 3.0.1) but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages   I am running on a 64-bit version so I know that may be the problem. just a general overview of my PC. It's a 2009 hp pavilion, running off of sandybridge.  If I continue in the terminal:  You are missing the following 32-bit libraries, and Steam may not run: libGL.so.1   If anyone has a step by step guide on how I can get around the 64-bit issue and installing the 32-bit files. please let me know. So far I'm actually enjoying fiddling around with Linux so this is just another thing to learn.


Probability of lim sup, lim inf for sequence of random variables.

Maybe this is extremely simple, but i havent found a specific answer for this online.  For a sequence of independent continuous random variables $X_n$ ,$n=1,2,3,...$ , all with the same probability density function $f(x)>0$ for all real $x$, and a specific real number $b$, what do the following events mean in simple terms and what is the probability of each?  a)$\lim_n\sup\{X_n \gt b\}$ b)$\lim_n\inf\{X_n \gt b\}$ c)$\lim_n\sup\{X_n \le b\}$ d)$\lim_n\inf\{X_n \le b\}$


Prove that a given expression is always an integer

Given integers $x_1, x_2, \dotsc, x_n$, prove that the expression   $$   \prod \limits_{1\leq i<j\leq n}\frac{x_i - x_j}{i-j} $$   is always an integer.    I think induction should work, but I couldn't get anywhere with it.


How to deal with downvoting sock puppets?

offers an answer to "How to report Sock puppets who upvote their own posts".  describes revenge voting.  Recently, I've downvoted an answer and added a comment. After submitting my answer to the same question, I noticed that the downvoted answer has been upvoted (within 2 minutes, probably a sympathy vote, I thought). I added more explanation to the downvoted answer, because the answerer believed that his answer was correct. A few minutes later, I received a downvote for my top upvoted answer. My answer became accepted, for which I received another downvote. I verified (Data explorer) that the specific user did not add new downvotes. So, I suspect this user of having a sock puppet, since the order of events were too coincidental.However, since the sock did not upvote the owner's post, flagging the post will probably not help. So, how can moderator's attention be requested for this case? Attachments: Comment chain:  Reputation mutation (the times do match):


Film in which people can time-travel to relive the biggest world disasters; main character changes a destiny, saving many people

I saw a film about 10 years ago. It was about people that could live the biggest disasters in the world that had happened again. They could travel in time and see these disasters. There were some plane crashes, metro crashes, Titanic disaster and so on.  But one man (positive main role) saw another bad man who was throwing a coin in the air and this coin fell down. This positive role changed a destiny and saved many people. This saving caused some damages to negative roles in this film.


I'm not sure why my for loop doesn't continue incrementing "i"

I'm having difficulty understanding why my code only runs once. I can click the first square that appears and the class changes, but it seems to stop there. I am trying to be able to click squares and have new ones appear and so on. I am unable to click the second square that is created. I've logged "totalSquares.length" as well as "i". "i" seems to be less than the length of totalSquares so I am unsure why my loop stops. I also have a Codepen link . Thank you in advance. Let me know if you need more clarification. HTML:
Test
         Your
         Aim

Score:
0

              JS: let totalSquares = []; const squares = document.getElementById("square"); const totalScore = document.getElementById("score"); const heading = document.querySelector("h1"); let score = 0;  totalSquares.push(squares);  for (var i = 0; i < totalSquares.length; i++) {     totalSquares[i].addEventListener("click", function() {         createSquare();         this.classList.add("clicked");         score++;         totalScore.innerHTML = score;         console.log(totalSquares.length, i);     }); }  function createSquare() {     let div = document.createElement('div');     div.setAttribute("id", "square");     document.getElementById("container").appendChild(div);     totalSquares.push(div); }


Prove that there is a unique positive integer $n$ such that $2^8 + 2^{11} + 2^n$ is a perfect square.

I think I have almost got to the solution: Let us start by considering two cases: $n\geq8$ and $n<8$. 1: $n\geq8$ $2^8+2^{11}+2^n$=$2^8(1+2^3+2^{n-8})=2^8(9+2^{n-8})$.......Factoring $2^8$ and                               simplifying terms inside the bracket. Now since $2^8$ is already a perfect square,$(9+2^{n-8})$ has to be a perfect square as well for $2^8+2^{11}+2^n$.Therefore we can write the following equation: $9+2^{n-8}=x^2$ =>$2^{n-8}=x^2-9$ =>$2^{n-8}=(x-3)(x+3)$ Hence, (x-3) and (x+3) are factors of a power of 2. The only factors of a power of 2,say $2^k$, is 2 and any $2^g$ where $g\leq k$. Therefore, $x-3=2^y$.......equation 1 $x+3=2^z$.......equation 2  (Product of $2^y$ and $2^z$ is $2^{n-8}$)* Subtracting equation 1 from 2 gives: $2^z-2^y=(x+3)-(x-3)$ =>$2^z-2^y=6$ (let us say $y<z$) $2^y(2^z-1)=6$. The factors of 6 that multiply to 6 are (1,6) and (2,3). So,  $2^y$ and $2^z-1$ have to be equal to 1 and 6 or 2 and 3. Out of these, for $y,z$ to be integers, 2 and 3 can only fit the equation. Hence y=1;z-y=2 or z=3.From *, $2^{n-8}=2^{y+z}=2^{3+1}=2^4$. Since $2^{n-8}=2^4$,$2^n=2^{12}$ If $z<y$, $2^z(1-2^y)=6$. Again following the same rules we must have $(2^z,1-2^y)=(1,6)$ or (2,3). None of them satisfy the equation when $x$ and $y$ are integers. Hence we can conclude that when $n\geq8$ , the only n that can make $2^8+2^{11}+2^n$ a perfect square is $n=12$. 2:$n<8$ Sub case 1: $n$ is odd. Since $n$ is odd, $n$ could be expressed as $2l+1$, where $l$ is an integer. Therefore, $2^8+2^{11}+2^n=2^8+2^{11}+2^{2l+1}=2^{2l+1}(2^{8-n}+2^{11-n}+1)=2*2^{2l}((2^{8-n}+2^{11-n}+1)$, Since there is a $2$ outside the bracket,$(2^{8-n}+2^{11-n}+1)$ must contain atleast one power of 2 and it is obvious that $(2^{8-n}+2^{11-n}+1)$ cannot be a power of 2. In this problem, I was not able to prove that there is no $n\leq 8$ such that n is even which can be a solution to the problem . Can someone help me out with it? I arrived with three different solutions for proving that, only to realize their defects.


Referee says the proof is wrong, but it is not, what to do?

About 3 months ago, my co-author and I submitted a mathematical paper to a journal. Yesterday, we got the editor's response and the paper has been rejected. The reason is that the referee thinks that our results are wrong or trivial.  However, we carefully read the referee's report and we conclude that the "errors" pointed out by the referee are not errors at all and that our proofs are correct. In all modesty, we think that the referee understood very poorly even the statements of our theorems.  Personally, this is the first time that such a situation occurs to me. I already have four papers published in such journal and the reports I got from the referees have been always really accurate.  What do you think is the best thing to do? Forget about and try another journal? Write an e-mail to the editor explaining why we disagree with the decision? Other ideas?  EDIT: Thank you very much for all your answers. At the end, we submitted our paper to another journal with only some slight edits we have already planned to do independently by the referee's report.


QGIS 2.2.0 Update column with another layer

I've got 2 layers : the first one with points, the second one with polygones (their ID). I created a new column in the first layer, and I want to update it with the ID of the polygone that contains the point. I hope I'm clear ! It seems to be a basic issue, but I spend a large part of the day surching for the answer, in vain... Thanks a lot for the incoming answer!


Altering table on SQL Server 2012 AON High Availability Databases

In a production site, the current configuration I am using is three SQL Server 2012 servers, with some databases configured with AON High Availability. I understand that between the AON High Availability databases, data would be replicated, but I was wondering if this remains true for the table definition. By my understanding, I believe that table structures not to be handled manually. CMIIW.  Assuming that is correct, what is the best way for me to deploy changes in table structure with minimal downtime?  Update:  It seems I missed out a similar question but with different wording, but nevertheless it answers my question:   Even though it's a duplicate question, but I think I'll keep this just for those who is searching it with a different wordings.


"In back of'' vs. "back of" vs. the spatial sense of "behind" in AmE

What's the difference to these expressions, as in "The little girl was hiding in back of the tree" vs. "The little girl was hiding back of the tree" vs. "The little girl was hiding behind the tree"?  In addition, do "in back of" and "back of" have any currency in AE today? Plus, are these idioms safe to use for all proses, even the most formal one?


Monitoring Bandwidth Across Multiple Systems in a Home Network

For the past several years, I have been using a simple software bandwidth monitor on my computer to keep track of my monthly bandwidth usage. It has worked fine (more or less; the numbers are slightly off from my ISP’s online tracker).  This works fine for a single computer, but when my mother connects her laptop to my router or if I use  second computer, then monitor and managing bandwidth becomes much more difficult.  I considered running a bandwidth monitoring software on each system that is to connected and (somehow) transferring the logs to a central system to (again somehow) be incorporated into a central log file, but not surprisingly, this is a nightmare at best.  I also thought about a router solution (as has been mentioned, but it would need to be easy to use and customize).  Is there an easy way to monitor and log total bandwidth usage (ie from multiple systems)? It should not require all the systems to be monitored to be on at any specific time, nor having all systems connect through another one (i.e., they should be able to connect directly to the Internet connection).  Also, it should be able to differentiate between local and remote traffic so that transferring files between two local systems does not count towards Internet bandwidth usage.


In Minecraft: XBox 360 Edition, There is an option to reset the Nether. What does this do? Does it generate a "brand new" Nether with a completely different layout, or the same Nether with some additional features?


Value of $\lim_{h\rightarrow 0}\frac{a^h-1}{h}$

I'm given a question by my friend. State the value of $\lim_{h\rightarrow 0}\frac{a^h-1}{h}$ for $a=2$.   Then I've used l'Hopital's rule to solve it and I got the answer of $\ln 2$.  But my friend said need to be solved by first principles method. I wonder how. Can anyone show me? Thanks.


Travelling to Pakistan with expired NICOP

According to the Federal Immigration Authority Pakistan, it's possible for dual citizens to travel to Pakistan with an expired NICOP.    I've already booked my ticket with PIA. Anyone here who has traveled under similar circumstances? I just want to be sure that I will be allowed to board.


If function $f$ is integrable at $[a,b]$ prove that $f$ is bounded at $[a,b]$.  Could you explain without using rieaman integrable?  I have did so far :  if $f$ is integrable then it is continuous at $[a,b].$ let $a\in I=[a,b]$ so for any $\epsilon>0$ there is $\delta$  such as  $$|x-a|\leq\delta\Rightarrow|f(x)-f(a)|\leq\epsilon$$  assume $|t-a|\leq\delta$ then $-\epsilon\leq f(t)-f(a)\leq \epsilon$  so $\int_a^x-\epsilon\leq \int_a^xf(t)-f(a)\leq \int_a^x \epsilon$  $\int_a^x|f(t)-f(a)|\leq\epsilon|x-a| $


A Kenku can only speak by mimicry, so can a Kenku fulfill the verbal portion of spells of his class? I would assume that he could only cast a verbal spell if he has heard the spell be cast by another caster of his same class. Also, the other caster would have to have cast the spell in a way that the Kenku knew what was spoken and why.


I am trying to prove AM-GM with the following steps:    Prove that AM-GM holds for two variables Prove that if AM-GM holds for $k$ variables then it holds for $2k$ variables Prove that if AM-GM holds for $k$ variables then it holds for $k-1$ variables   If I prove all of these, I will have proved AM-GM. I have proved (1) and (2), but I am still struggling with (3).   Proof for (1)  By the Trivial Inequality, we know that the first statement is true. Therefore \begin{align} (a-b)^2 \ge 0 \implies\\ a^2-2ab+b^2 \ge 0 \implies \\ a^2+2ab+b^2 \ge 4ab  \implies\\ a+b \ge 2\sqrt{ab}  \implies\\ \frac{a+b}{2} \ge \sqrt{ab}\hspace{3mm}\blacksquare\\ \end{align}  Proof for (2)  Let our numbers be $a_1, a_2, a_3, \ldots, a_{2k}$. Denote $$x = \frac{\displaystyle\sum_{i=1}^{k}a_i}{k}, y = \frac{\displaystyle\sum_{i=k+1}^{2k}a_i}{k}$$  We know that by AM-GM for 2 variables, that $$\frac{x+y}{2}\ge \sqrt{xy}$$ By our definition of $x, y$ this means that $$\frac{x+y}{2} = \frac{\frac{\displaystyle\sum_{i=1}^{2k}a_i}{k}}{2}=\frac{a_1+a_2+a_3+\ldots+a_{2k}}{2k}$$ Again by definition, $$\sqrt{xy} = \sqrt{\left(\frac{x_1+x_2+\ldots+x_k}{k}\right)\left(\frac{x_{k+1}+x_{k+2}+\ldots+x_{2k}}{k}\right)}$$ By AM-GM for $k$ variables, $$\sqrt{\left(\frac{x_1+x_2+\ldots+x_k}{k}\right)\left(\frac{x_{k+1}+x_{k+2}+\ldots+x_{2k}}{k}\right)} \ge \sqrt{\sqrt[k]{x_1x_2\ldots x_k}\sqrt[k]{x_{k+1}x_{k+2}\ldots x_{2k}}}$$ This is simply equal to $$\sqrt[2k]{x_1x_2x_3\ldots x_{2k}}\hspace{3mm}\blacksquare$$  However, I have no idea how to proceed on (3). I tried using the definition of AM and GM but did not come up with anything useful. Feel free to point out any errors or flaws on my proofs for (1) and (2).


How can I create an executable JAR with dependencies using Maven?

I want to package my project in a single executable JAR for distribution.  How can I make a Maven project package all dependency JARs into my output JAR?


The `System` process has a high CPU usage. ntoskrnl.exe!KeReleaseInStackQueuedSpinLock+0x1e0 is the culprit. How to fix it?

I noticed that the System process has a high CPU usage (specifically, around 100% of 1 core). Following , I opened the properties of System in  and see that the ntoskrnl.exe!KeReleaseInStackQueuedSpinLock+0x1e0 is the one using most of the CPU. What could the issue should be?  I use Windows 7 SP1 x64 Ultimate.


Characterization of the $L^p$ convergence.

If $\mu$ is a positive measure on a measurable space $(X,\mu )$ and $f, f_n \in L^p(\mu )$ for $1<p<\infty$, are such that $f_n \rightarrow f$ pointwise a.e., show that $||f_n-f||_p\rightarrow 0$ if and only if $||f_n||_p\rightarrow ||f||_p$.  I think that for the nontrivial implication, one approach could be to show somehow that $f_n$ converges weakly to $f$ and then using the reflexivity of the space and the boundedness of the sequence to conclude. But is $L^p$ reflexive for an arbitrary measure $\mu$, or it has to be $\sigma$-finite? Also is there a more elementary solution, probably using the Vitaly convergence theorem or things like that?


How do I compute the derivative of this inverse function?

Let $$f(x)=\frac{1}{16}(e^{\arctan(\frac{x}{7})} + \frac{x}{7})$$ You are given that $f$ is a one-to-one function and its inverse function $f^{-1}$ is a differentiable function on $\mathbb{R}$. Also $f(0)=\frac{1}{16}$. What is the value of $(f^{-1})'(1/16)$?


When you call someone, do you say "Is this Mr Smith?" or "Is that Mr Smith?" when that person picks up?

I feel it should be this since am talking to the very same person, but for some reason I see some people saying “Is that XYZ?” What are your thoughts about this bit of phone etiquette?


Can I backup my iphone on Activation lock mode

My iPhone 6 is locked to icloud,, it has never been synchronized with iTunes i need a way to backup it,, is there any modded iTunes or any program can help me.


I am planning to use Lubuntu with Win8 Secure Boot PC. Will the 32-bit Live iso of Lubuntu boot (and work) with the Win8 Secure Boot PC ? Will the 32-bit Live iso of Lubuntu support Secure boot ?  Thanks.


I'm an Indian and going to Nigeria but my pnr is multi itinerary that means I will be flying by air Arabia to shrjah and then sharjah to Dubai. In sharjah layover is 10 hours while in Dubai it is 2 hours but I need to change my flight in Dubai and I will be flying by Egypt air. So, I want to know weather I need a transit visa for changing flights in Dubai or not?? Thanks


Can I use both poles of a DPST relay for double intensity?

Is it acceptable to solder both poles on each side of a DPST relay so that it becomes a SPST relay with double maximum intensity? The voltage remains the same (230V AC).  I am quite confident that it would work in my case since the relay is already almost good enough: the relay is rated 30A, and I would use it for a 32A (max) appliance. Beside, this appliance doesn't start with a high intensity (soft start), and gets stopped before switching off the relay in normal operations.  But I'd like to know if this is an acceptable practice in the general case. In particular, I don't know if this could cause issues when closing or opening the contacts, since they may not close/open exactly at the same time, could it somehow reduce the relay lifetime or even cause a catastrophic failure? I don't believe over-heating the relay would be possible since the over-intensity time would be very short (the total close/open time is below 10ms).  I'm also interested to know how this would behave in the case the relay fails (at end of life). For example, would this increase fire risks?


Trouble installing Realtek wireless driver for rtl8723be

I've just installed Ubuntu on an HP Pavilion and I'm having difficulty with the wireless driver. Initially, the connection would drop after a couple minutes of connectivity.  I tried several solutions, most of which involved compiling and installing different driver versions. At one point, connectivity was improved but still had issues. I tried the instructions here  but didn't notice any change.  After a restart, I can no longer connect with wireless. Wired connection is fine.  Output of lshw -C network:     *-network UNCLAIMED             description: Network controller        product: RTL8723BE PCIe Wireless Network Adapter        vendor: Realtek Semiconductor Co., Ltd.        physical id: 0        bus info: pci@0000:01:00.0        version: 00        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress cap_list        configuration: latency=0        resources: ioport:e000(size=256) memory:fea00000-fea03fff    *-network        description: Ethernet interface        product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller   and the output of lspci -nn | grep 0280 is:  01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723]   I tried repeating some of the driver installs but nothing changed. I also tried following the various links in this thread:  but all the repos with my device version (RTL8723BE) are empty.   I'm new to ubuntu and thought I should ask for help here instead of blindly following any more instructions. Any help would be appreciated.


Labels not displaying correctly in the centroid of the polygon in GeoServer SLD

When creating labels using centroids of a polygon layer, I'm facing the problem that some of them are missing. Eg:    Ok, I can make it reappear by using "maxDisplacement" vendor option, but, using this option labels appear displaced. Some to the right, some to the left.     How can I render all the labels propperly in the centroid of the polygons?  Here is the SLD code I'm using:  <?xml version="1.0" encoding="UTF-8"?> <sld:UserStyle xmlns="http://www.opengis.net/sld" xmlns:sld="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml">   <sld:Title/>   <FeatureTypeStyle>      <Rule>        <PolygonSymbolizer>          <Fill>            <CssParameter name="fill">#40FF40</CssParameter>          </Fill>          <Stroke>            <CssParameter name="stroke">#FFFFFF</CssParameter>            <CssParameter name="stroke-width">2</CssParameter>          </Stroke>        </PolygonSymbolizer>        <TextSymbolizer>         <sld:Geometry>           <ogc:Function name="centroid">             <ogc:PropertyName>geom</ogc:PropertyName>           </ogc:Function>         </sld:Geometry>          <Label>            <ogc:PropertyName>cod_25000</ogc:PropertyName>          </Label>          <Font>            <CssParameter name="font-family">Arial</CssParameter>            <CssParameter name="font-size">11</CssParameter>            <CssParameter name="font-style">normal</CssParameter>            <CssParameter name="font-weight">bold</CssParameter>          </Font>          <LabelPlacement>            <PointPlacement>              <AnchorPoint>                <AnchorPointX>0.5</AnchorPointX>                <AnchorPointY>0.5</AnchorPointY>              </AnchorPoint>            </PointPlacement>          </LabelPlacement>          <Fill>            <CssParameter name="fill">#000000</CssParameter>          </Fill>          <VendorOption name="autoWrap">100</VendorOption>          <VendorOption name="maxDisplacement">50</VendorOption>          <VendorOption name="repeat">1</VendorOption>        </TextSymbolizer>      </Rule>    </FeatureTypeStyle> </sld:UserStyle>


New Nintendo 2DS XL - Switzerland Region Lock

Recently I bought the New Nintendo 2DS XL in Switzerland together with 2 games.  I just realized that the games are French/German edition.  Now, I have to go back to Italy, does this means that I can only play German/French games with this console?  The region lock is also for the Swiss version of the console?  Many many thanks


It is generally assumed, from a person's perspective, that pushing a cart is more easier than pulling one. But why? Is there any difference in terms of force required to achieve the same amount of displacement?  Or is it merely human perception?  Why is it that almost all automobiles transfer torque to the back axle. But then, why do trains have engines in the front?


Check if the sequence $$\frac{1}{n}+\frac{1}{n+1}+...+\frac{1}{2n}$$ is convergent. I really don't know how to start.


Compare the hash password value in mysql.user

Say I have a password "Foobar1234". In MySQL database (5.6), the hash value is   *59C0D3B7983F06CF32F555AD04BAC66BCF952597   I want to try this outside of MySQL database so the SQL query isn't logged. Is the hash function known? I am using the default settings.  Here is the doc:


When outputting data prior to rendering it, what is best practice in terms of when to use esc_html()? For example, what if my PHP template contains the following code:  <?php $title = "Contact"; ?> <h1> <?php echo $title; ?> </h1>   Would I need to wrap $title in esc_html()?  If the answer is 'no,' can you give me an example of when I would need to wrap $title in esc_html()?  Assume there is no user input on the page in-question.   seems to say 'yes,' a variable should be escaped with esc_html() anytime it is enclosed in an HTML element.  But  seems to indicate 'no', a variable should be escaped with esc_html() only if there is a chance the variable could text that could be interpreted as harmful/unexpected HTML (i.e. a dynamic variable, or user inputted variable).  Previous Stack Exchange Questions  I've seen the following Stack Exchange questions, which give some insight.  But none have an accepted answer, so I was hoping to get one here.  The replies in these questions indicate that the answer to my question is 'no,' esc_attr() is not needed in my particular case.    - The reply here simply says one doesn't need to esc_html() on hard coded URLs.  - The reply here indicates I need to esc_html(), "...anytime you are not 100% sure that what you want to output is a valid HTML for that context."  - This says, "don't bother to escape static strings, it's pointless."


Can you play in Minecraft Xbox one with a Xbox 360 Controller?

Me and my friend want to have a split screen thing in Minecraft but he has  a Xbox 360 controller and we are playing in Xbox one. Can you play in Minecraft Xbox One with a Xbox 360 controller?


Trouble understanding Big O notation for a sum of n integers

This problem is an example in a Discrete Math textbook. How can big-O notation be used to estimate the sum of the first n positive integers?  Solution: Because each of the integers in the sum of the first n positive integers does not exceed n, it follows that $$1+2+...+n \le n+n+...+n=n^2$$ From this inequality it follows that $1+2+...+n$ is $O(n^2)$.  I do not understand how the sum of $n$'s is equal to $n^2$. Can anyone explain to me what the book used to get this?


here is what the machine shows   #apt-get install tor Reading package lists... Done Building dependency tree        Reading state information... Done Package tor is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'tor' has no installation candidate


How does iCloud Photo Library's "Optimize iPhone Storage" setting work in relation to other photo apps on iOS?

If I have Optimize iPhone Storage enabled on my iPhone and my phone storage is completely full, I understand that iOS will only store a low-res thumbnail of many of my photos on the device. (The full high-res version of the image will only exist in iCloud and on devices with Download and Keep Originals enabled.)  But when only thumbnails exist on the device, how does that work in relation to other photo apps on iOS? For example, do third-party cloud-based photo apps (like Google Photos, Dropbox's Carousel, or Amazon Prime Photos) have access to the full high-res images from the iCloud Photo Library? Or will they only see the low-res thumbnails in some cases?


Is there easy way to extend space in partition?

Is there an easy way to resize partition? I have a dual boot laptop with windows and Ubuntu at the beginning I didn't think I will use Linux this often, so I have given 50GB only, but with time I even stopped using Windows :D Now I would like to take some free space which windows don't use and extend the ubuntu OS storage. I am very new to Linux so I would like sth with UI or a simple way to do, does anyone know? I've tried gparted but didn't work I've tried Easeus but it requires premium for EXT4 DONE ppl in the comments answered my question, if anyone looking for answer


Do we require a transit visa to connect through Abu Dhabi, UAE?

We are about to visit the United States. Our travel itinerary on Etihad Airways is as follows:  Departure flight Colombo - Abu Dhabi 8.25 hr layover - Los Angeles   Return flight Chicago  - Abu Dhabi 15 hr layover - Colombo  Do we need transit visas for connections in the UAE?   Do we have to re-check our baggage in Abu Dhabi, as well? If we do, would we require a visa


I have provided some sentences below. What's the difference between "if a" and "if any" in the sentences. I think all of them are correct and mean the same thing. I don't know what the difference is. I always use them interchangeably in this kind of context. Can someone please tell me how I should choose the correct word?  1- If a/any student is found smoking in the classroom, he or she will be suspended from the school.  2- As per the new tax law, If a/any house is situated in a metropolitan city, 15 percent tax will be charged on the value of it.