java -cp [command line] multiple directries

I try to execute a class from the command line via java command (Windows cmd). I specified the classpath as well.  java -cp bin\ training.TestClient  works. But I can't specify another folder with a jar.  java -cp bin\:lib\ojdbc7.jar training.TestClient  If I try this I get an "main class not found" error.  How can I include the lib\ojdbc7.jar in the classpath as well?


Giant alien flies into the solar system; the rocky planets are its eggs

I read this short story in an anthology borrowed from the local public library around 1980.  (The book itself may have been older.)  The story begins with the global sensation of a massive object entering our solar system from interstellar space.  As it approaches the Sun it maneuvers which indicates it is an actual alien visitor, not just a random rogue planet.  (It is of planetary scale.)  I believe that when it is viewed through a telescope it has massive wings that it uses to steer using the Sun's light.  The alien brakes into a solar orbit and matches its orbit to Mercury.  Humanity watches, wondering what it is doing, and then the crust of Mercury starts to crack.  The entire crust is dislodged, and a smaller version of the alien spreads its wings.  The alien begins to spiral out to Venus' orbit, and people on Earth start freaking out.  Massive projects are started to drill through the Earth's crust and set off hydrogen bombs in the hope of killing the hatchling before it destroys the Earth.  Meanwhile Venus hatches, and the (now 3) aliens start towards Earth.  The story ends with the narrator saying something like "this morning the Earth began to knock."


I get the following:  myPrompt: ~ $ sudo apt-get install libboost-all-dev Reading package lists ... finished Dependency tree Status information is read ... finished Some packages could not be installed. This may mean that You have requested an impossible situation or if the Are using the unstable distribution that some required packages have not created or have not left Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies: libboost-all-dev: Depends: libboost-date-time-dev but it is not installable                     Depends: libboost-python-dev but it is not installable                     Depends: libboost-thread-dev but it is not installable E: Problems can not be corrected, you have held broken packages back.   Translated from german  I have no clue why this is. Tried to fix this according to some stuff found on the web... Like sudo apt-get -f install


When I was studying grammar, I learned that when we want to use a verb in its 'infinitive form' at the beginning of a sentence, we must use it in its 'gerund form', otherwise, if I used 'to' at the beginning of the sentence the verb wouldn't be in its 'infinitive form' because 'to' would be a preposition. I'm gonna give an example for you guys to understand better what I mean.   "Reading a little bit every day is an awesome activity". (Even though the verb is in the 'gerund', it means 'infinitive'.) [ Is this correct? ]  "To read a little bit every day is an awesome activity".  (the word 'to' in this sentence doesn't put the verb 'read' in its 'infinitive form' because 'to' works as a preposition in this case.)  [ Is this correct? ]  So, my question is: Must I always put the verb in its 'gerund form' to mean 'infinitive' at the beginning of a sentence or can I use both forms meaning the same? And is there any grammar rule which explains that?


After initial contact, how long should I address a professor as "Dr. Smith" or "Professor Smith"?

Let's assume that I've contacted professors in the United States and referred to them appropriately as "Dr. Smith" or "Professor Smith" based on their having attained a Ph.D.   If they respond to me informally, should I continue to address them formally? If so, for how long?


How do I solve $x^{k}=k^{x}$, given k, analytically?

I've tried taking the log of both sides (but am left with $k\ln{x}=x\ln{k}$).


X and Y are sets. X is infinity and Y is countable. How can I show that #X=#(XUY)

$\#$ is the cardinality.  I tried to create an injection from X to XUY and another from XUY to X, than, it is possible to proof that there is a bijection between the sets due the Cantor-Bernstein Theorem. But I failed, I was not able to create the injections.


Why “to” is here in this sentence? “please to ring the bell”

Among songs from Wee Sing for Baby, there is a song “To Babyland”  The lyrics begin as:      How many miles to Babyland?   Anyone can tell: Up one flight, to the right.   Please to ring the bell”   I am not an English native and I think the lyric is right grammatically because it is written by English native. But I don’t know why “please to ~~” is used. I have learned that “please ring the bell” is right.   And on more question. “up one flight” - here “flight” means “floor”?? (a dictionary says) Is the 2-3rd line sentences mean “ If you go up one floor and go to the right, you will find a door and you should ring the bell on the door.”?? Do I understand well??  Thank you in advance.


Estimate probability from sample frequency in a binomial distribution

If I get $s$ successes out of $n$ trials in a binomial distribution, what is the probability $p$ of getting a success in each individual trial?  Presumably $p = s/n$, but what if $s = 0$ or $s = n$?  Would the probability $p$ really be $0$ or $1$?  That seems far too certain if the sample size $n$ is very small, so is there some correction factor to account for small sample sizes in estimating $p$?


Unable to run javac though java is working

I am getting the error message below when I run javac on ubuntu terminal:  The program 'javac' can be found in the following packages:  * default-jdk  * ecj  * gcj-4.6-jdk  * gcj-4.7-jdk  * openjdk-7-jdk  * openjdk-6-jdk Try: sudo apt-get install <selected package>   While Java -version is working.  How to resolve this?


Showing that the unit ball in $(C^\alpha[a, b], \|\cdot\|_\alpha)$ is compact in $(C[a, b], \|\cdot\|_\infty)$

Let $(C[a, b], \|\cdot\|_\infty)$ be the usual Banach space of continuous functions on $[a, b]$ and for $\alpha\in(0,1]$ and $f\in C[a, b]$ define $$ [f]_\alpha = \sup_{x,y\in[a,b];x\neq y}\frac{|f(x)-f(y)|}{|x - y|^\alpha} $$ Let $C^\alpha[a, b]$ be the set of functions $f$ in $C[a, b]$ for which $[f]_\alpha < \infty$, and endow $C^\alpha[a, b]$ with the norm $$ \|f\|_\alpha = \|f\|_\infty + [f]_\alpha $$ It is known that $(C^\alpha[a, b], \|\cdot\|_\alpha)$ is a Banach space.  I've been asked to show that the unit ball $B^\alpha := \{f\in C^\alpha[a, b]\ :\ \|f\|_\alpha\le 1\}$ is compact in $(C[a, b], \|\cdot\|)$. Not just precompact, but compact. I've already shown that it's precompact using Arzela-Ascoli, so all that's left is to show that $B^\alpha$ is closed in $(C[a, b], \|\cdot\|_\infty)$.  Suppose $f_n\in B^\alpha$ converges wrt $\|\cdot\|_\infty$ to $f\in C[a, b]$. We know that $\|f_n\|_\alpha \le 1$, and hence $\|f_n\|_\infty \le \|f_n\|_\alpha \le 1$. We can use this to show that $\|f\|_\infty \le 1$ as well. What can we do to show $\|f\|_\alpha\le 1$? This would show that $B^\alpha$ contains its $\|\cdot\|_\infty$-limit points, and hence is closed.


I am trying to style the first word of a paragraph, but it is not working. Can anyone help. I can style the first letter, but not the first word. I have reasons to not use  to do this.     .product-title {   width: 100vw;   text-align: right;   font-size: 4.5vw;   letter-spacing: -0.05em;   color: #ffffff;   "  } #first-letter-here p::first-letter {   font-family: arial;   font-weight: 900;   font-size: 3em; } #first-word-here p::first-word {   font-family: arial;   font-weight: 900;   font-size: 3em; }

     Milk and cookies.

     Milk and cookies.


Glob filter format with regular expression

I can view all jpg images in a folder using the function :  $list = glob('../uploads/images/*.jpg'); usort(    $list,    create_function('$b,$a', 'return filemtime($a) - filemtime($b);') ); foreach($list as $file) {     echo '<img src="../uploads/images/'.basename($file).'"/>';    }   How do I get regular expression in the file format? I tried to accept jpg and JPG but did not work: $list = glob('../uploads/images/*.("%.+.[jJ][pP][eE]?[gG]$%i")');


Changing values of elements in a list of lists

When I manually declare and initialise all the elements in a list of lists and change one of the values, the change can be seen as one would expect.  a=[[0,0,0],[0,0,0]] a[0][0]=9 print(a)   The output is [[9,0,0],[0,0,0]] as one would expect.  However, when I use shorthand notation, changing the first element of the first list changes the first element of all the lists. Here's the code:  a=[[0]*3]]*2 a[0][0]=9 print(a)   This time, the output is [[9,0,0],[9,0,0]]!  What's going on?


I've been working on a little script to insert data into a database but I'm not very sure if it's secure this way. Some feedback would be pretty cool! So my question, is this a secure way of inserting data?  CODE:  function dbRowInsert($table, $data) {    require_once('../config.inc.php');       $buildData = null;      $countLoop = 1;       foreach($data as $field) {           $sep = ($countLoop!=count($data) ? ',' : '') ;       if((int)$field == $field) {         $buildData .= (int)$field . $sep;       } else {         $buildData .= '"' .mysqli_real_escape_string((string)$field) . '"' . $sep;       }       $countLoop++;      }     $fields = array_keys($data);     mysqli_query($conn, "INSERT INTO" . $table . "(`" . implode('`, `', $fields) . "`)                         VALUES('" . $buildData . "')"); }


In May of 2015 my iPad Mini died because it got wet. I purchased a new iPad Mini 3 and reinstalled the apps I wanted on it ( and mourned the loss of my old Mini). Now that it's July and my new mini has its own backup I've discovered that I still have the backup to the old Mini (I know, I was pretty dumb that I didn't realize this sooner.)   Is there anyway to restore the old backup to the new iPad without losing the new backup? In other words, can I combine them?


Will transferring a domain name to a new registrar cause downtime?

Will transferring a domain name to a new host cause downtime at all on the domain?  It's the highest traffic time of the year for us but we really want to keep things moving and need to migrate hosts because our current host charges per subdomain. It's imortant we get this subdomain up and running in the next few weeks, so I'm wondering what kind of down time (if any) we should expect migrating the registrar.  It doesn't seem like it would...


Reversing string of length 1 has some weirdness

I am reversing a string in python though I don't want to reverse the complete string. I am using str[::-1] to reverse the string but excluding the last character.  For example: string = '0123456789' to be reversed to string = '987654321'.  However when the string length is 1 then problem arises with the reversing.  I simply used string=string[len(string)-2::-1]. It works fine for string having length greater than 1. But when string length is 1, python shows some weird results.      w='0123456789'     >>> w[len(w)-2::-1]     =>'876543210'           #PERFECT     >>> w[len(w)-2:0:-1]     =>'87654321'            #PERFECT     >>> w[len(w)-2:-1:-1]     =>''                    #WHAT? - (1)     >>> w[len(w)-2:-2:-1]     =>''                    #WHAT? - (2)     >>> w[len(w)-2:-3:-1]      =>'8'                   #WHAT? - (3)     >>> w[len(w)-2:-4:-1]     =>'87'                  #WHAT? - (4)     #now see what happens when length of w is 1     >>> w='a'     >>> w[len(w)-2::-1]     =>'a'                    #WHAT - (5) as len(w)-2 is -1      >>> w[len(w)-2:0:-1]     =>''                     #PERFECT     >>> w[len(w)-2:-1:-1]     =>''                     #PERFECT as it's [-1:-1:-1]     >>> w[len(w)-2:-2:-1]     =>'a'                    #WHAT - (6)     >>> w[len(w)-2:-3:-1]     =>'a'                    #WHAT - (7)     >>> w[len(w)-2:-4:-1]     =>'a'                    #WHAT - (8)   when w='0123456789' why are the lines marked WHAT - (1) and WHAT - (2) not showing anything while the lines marked WHAT- (3) and WHAT - (4) start from 8 in reverse direction? When w='a' why are the lines marked WHAT - (5) shows 'a' when I am starting from -1 index and what is happening with the lines marked WHAT - (6), WHAT - (7) and WHAT - (8)?


1) Is it possible to make hidden notes on beamer?  2) Is it possible to hide them at the presentation time, from the eyes of listeners, but keep them in front of the presenter's eye? I assume that is not possible with a typical presentation tool, like Acrobat Reader.


How can one see the Moderator Scores outside an election?

During a Site's Moderator Election i remember that the nominee posts has this score next to their profile image which was made up by a number of factors such as meta participation and flagging.  I am wondering if there is a way to view these outside an election so one can try and work on it before the next one comes up?


How to create an object from an Element of a Map

So i currently have this:    public static JavaFact register(JavaFact jf){     Scanner input = new Scanner(System.in);     Map<String, Activity> activities = new HashMap<String, Activity>();     Map<String, Activity> companyActivities = new HashMap<String, Activity>();      activities = jf.getAllActivities //this is just to get all the existent     // activities into the Map activities      System.out.println("How many activities is the user envolved in?");     int count = input.nextInt();     for(int i = 0; i<count; i++){          System.out.println("Insert activity code");          String code = input.nextLine();          Activity a = activities.get(code);          companyAcitivities.put(code, a.clone()); //the error refers to this line     } }   With this i'm getting a NullPointerException after running it on main. How can i solve this? What i want is for the user to insert the code of the Activity, and then add that Activity to the companyActivities wich will be the Map holding all the activities corresponding to the Company in question.


I made a shapefile from a DEM raster of Ethiopia, and I want to find the total area of the shapefile. I have changed the CRS of all files to Africa_Albers_Equal_Area_Conic (ESPG: 102022), and the units are meters. I have tried using the field calculator, but the answers are very small. I have also used the identify features tool, and the answers are the same as the field calculator's.   I also used "count" in the field calculator to get the number of pixels, but these sometimes seem very small too. The pixel size is 0.000277778,-0.000277778, but I don't know what the units are, so I am not sure how to use that to find the area.          I tried using the measure area tool where you draw a polygon, but this gave a very small answer too.   I read there might be a way to do it with GRASS, but I have a problem with my GRASS plugin which I don't understand.


How to change the boot order of APFS volumes?

I recently set up a new APFS volume to support dual boot for the macOS Catalina beta alongside my Mojave install. Unfortunately, this new "beta OS" volume seems to have set itself up as the default boot volume.  How can I change the order of volumes so that the more stable OS takes priority?


When one should use spacing line \quad or \,

In general, in most places, it is said that using TeX defaults is the best. However, TeX does provide things like \, and \quad etc. When one should use them? Both in general and in math mode in particular.


I need help understanding the answer to this one question...

This a may be an inconvenient question, but I am needing help in the understanding the top answer given in this question:  My main problem is that I can’t understand why or how some passwords where removed twice?


how to embed a single word through out a logo?

Please can anyone help me how to implement this effect in the text. Kindly help me with this. I have been trying but I can't get it to work.


Surfaces in $\mathbb P^3$ not containing any line

Let $d \geq 4$. I'm interested by know if there is a surface $S$ of degree $d$ in $\mathbb P^3_{\mathbb C}$ such that $S$ does not contains a line. I know  I have no idea how to do it.


If $a^{3}+b^{3}+c^{3}=(a+b+c)^{3},$ prove that $a^{5}+b^{5}+c^{5}=(a+b+c)^{5} .$ Generalize your   result.   Here is my attempt :–     Let $a, b, c$ be the roots of the equation   $x^{3}+p x^{2}+q x+r$      $\left.\begin{array}{I}{a^{3}+pa^{2}+qa+r=0} \\ {b^{3}+pb^{2}+qb+r=0} \\ {c^{3}+pc^{2}+qc+r=0}\end{array}\right\}$      Adding the three equations,      $\sum a^{3}+p\sum a^{2}+q\sum a+3r=0$      Substituting the term given,      $(\Sigma a)^{3}+p\Sigma a^{2}+q\Sigma a+3r=0$   I can't think of anything more and I'm clueless on what to do next.  Any help would be appreciated.


Where I can find the manpage of IF condition of bash?

I want to learn more about the -n or -z option  in IF condition, I tried: man if   man condition  don't know where I can getto the  the manpage of 'IF condition'.


Passport issues september 2006 - has 'camera' symbol is it valid?

Hi I have a 'camera' symbol on my passport on the front page. My passport was issued to be in September 2006 and is Valid until May 2017 - does that mean my passport is fine to travel to the USA and meets the e passport/biometric requirements to enter the USA. I have an approved ESTA also. I fly to the USA next week so am rally worried.


I want to view (and/or edit) colorized text in emacs, such as is output by ls -l --color=always, tree..., or whatever.   The text I refer to exists in a file. When I open that file in emacs, I want to be able to see it colorized, or toggle it to show ANSI (SGR) escape sequences.     ansi-color.el seems be be what I need, but I haven't been able to get it to do any colorizing of the ANSi escape sequences, but I do see blue-bold for individual contol bytes (eg. ^A and ^[)... I'm not sure if that is a feature of ansi-color, but I think it is.       According to the , it can work with strings and regions, but even that doesn't seem to work.. For example the function ansi-color-apply-on-region is not recognized by M-x. It says, "No match"     I've added (require 'ansi-color) to my .emacs file and even (add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on). I get no error or warning when emacs starts, so I'm stuck.        How can I get the standard functions to work, and can it be made to automatically apply when opening a file whose name is suffixed with .col?


Proving $f(x)=x\cdot |x|$ is a bijection

Prove that the function $f: R\to R$ given $f(x)=x\cdot |x|$ is a bijection  Proof 1: f is injective  Suppose $$f(a) = f(b) \implies a\cdot |a| = b\cdot |b|$$ $$\implies (a\cdot |a|)^2 = (b\cdot |b|)^2$$ $$\implies a^4 =b^4$$ $$a=b$$ Thus, f is injective  Proof 2: f is surjective  Pick $n\in R$, we want to show $n=f(x)$ for some $x\in R$  $$\implies n= a\cdot |a|$$ for some $a\in R$  I dont know how to complete the surjective proof


Evaluating the improper integral $\int_{0}^{\infty} \frac{x^3}{e^{x}-1} dx$

I read somewhere that   $$ \int_{0}^{\infty} \frac{x^3}{e^{x} - 1} = \frac{\pi^4}{15}$$  Does anyone see a way to prove this? My first idea was doing a contour integration and use the residue theorem, but that seems to be a lot of work so if anyone has a better idea I'd be glad to hear it.


Let M be a Noetherian module over commutative ring R.   Show that R/Ann(M)  is a Noetherian ring.   I know M is Noetherian module over R then M is also Noetherian over the commutative ring R/Ann(M)  . From this result can I say R/Ann(M) is Noetherian ring?


Error bars, linear regression and "standard deviation" for point

I have a set of experimental data points. I performed the measurements in triplicate, for each of the point of the data set. Therefore, I can draw each data point with the standard deviation of each triplicate. See the picture attached.  In experimental sciences, it is common to report a value with its standard deviation. Ex: a mean, +/- the std.  I can calculate a linear regression for the data set. If I have the equation of the linear regression, I can calculate x for any y. Let's take y=50 -> x=11.69  Now, is there a way to evaluate the "dispersion" of this extrapolated point ? Something like 11.69 +/- something.  I know it should be the other way around, like 50 +/- something for x=11.69, but then I could use the equation to transform it to x.  Basically what I'm asking: is there a global "standard deviation" for a complete linear regression ?  EDIT: When I say "any y", I mean that y will not be an experimental value. I choose it to be 50.


How to handle repeated references in footnotes?

I have to cite the same reference two times on each footnote on different pages. Suppose footnote note 1 on page 1 is the same reference as footnote 7 on page 4. Should I provide different serial numbers for the footnote or the same?  Can I repeat the same reference twice with different footnote numbers, or should I us the same footnote number for identical references? I cannot write "ibid", as the footnotes are not in sequence.


What is the buffers column in the output from free?

briefly list the format of the free command, noting that buffers is kernel memory that must be written out to disk and cache is file data that does not need to be written disk.  On my system, unlike most times I have run free, buffers occupies over 10% of RAM.  Usually, buffers are a small, almost token, value.    My question is, what exactly is in the area called buffers?  Can I look for it with lsof?  Does it consist of open file regions that have not been flushed?  Is it memory mapped file regions?  What is it?  The system runs well and little swap is used, so performance is fine.


Omission of definite article with musical instruments

What is the rule for omitting/including the definite article in the following sentences:     I used to play piano.   I used to play the piano.   I would pick the first sentence, but I've heard people say the second sentence even when they are not referring to a specific piano. Which one is correct?


How do I auto load a database jar in Groovy without using the -cp switch?

I want to simplify my execution of a Groovy script that makes calls to an Oracle database. How do I add the ojdbc jar to the default classpath so that I can run:  groovy RunScript.groovy   instead of:  groovy -cp ojdbc5.jar RunScript.groovy


"Fetch vote count" on a review audit immediately reveals it

I'm reviewing Stack Overflow on my 5.5" Android phone. (yes I'm adding this information because that's how I spot this bug)  I just came across a bad post in FP and was about to vote it down. Because I'm using my phone in portrait mode, the UI is rather small and I accidentally tapped the vote number, which is the action for fetching vote count (show V+ and V- separately). It then shows a red box saying "Vote count on deleted post is not available". I immediately realized it's an audit, and gave it a random flag.  The result doesn't matter because I had already decided to vote it down, but isn't this setting too obvious? I can always click on fetch vote count to determine if it's an audit.


First order weak derivatives of $f(x)=|x|^r$

Let $f(x)=|x|^r$ for a given real number $r$. Show that $f$ has first order weak derivatives on the unit ball $B_1(0)\subset \mathbb{R}^n$ provided that $r > 1-n$.  Does anyone have an idea on how to prove this?


I want to install eclipse ide on my Ubuntu

I am taking a course in Open Source Programming this semester and have been asked to download any Linux distro, so I chose Ubuntu. I have set up my java environment and now I need to install Eclipse IDE.   I have followed the answers to similar questions via here and still haven't been able to get the job done.   sudo apt-get install eclipse-cdt sudo snap install -classic eclipse   these are similar commands I have tried on my newly installed Ubuntu system.


Prove that the ellipsoid $E = \{ (x,y,z) \in R^3 \mid \frac{x^2}{a^2} + \frac{y^2}{b^2} + \frac{z^2}{c^2} \leq 1 \}$ is convex

I know what an ellipsoid is, but I do not know how to approach how to prove that one is convex. Any advice would be greatly appreciated.


How can I send a custom desktop notification?

I have a custom script and I want to send a desktop notification (the one that appears in the top right corner of the screen) with a custom message. How do I do that?


Why do the controls for materials look different?

The first image, the material properties shows in one way.     On the second image, the material properties, is displayed in a different way   Why is it different?  could you tell me why this happens to me? thank you, regards


Homeomorphism between $\mathbb{R}$ and $(0,1)$

I was working with an exercise of general topology and I had a question: are there an homeomorphism $f:\mathbb{R}\to(0,1)$ such that $f(x)\in\mathbb{Q}$ if and only if $x\in\mathbb{Q}$?, i.e., the homeomorphism maps the rationals to rationals and therefore the irrationals to irrationals.  My intuition says that the answer is yes but I can't find an example. The closer example was $g:\mathbb{R}\to(0,1)$ defined by $g(x)=\dfrac{1}{1+2^{-x}}$. But I think that doesn't works.


How can I create an animated device mockup?

Say I have a GIF such as this:    How could I create something like , where the user added this video into a still shot of an iPhone?  Better yet, if I could put it in a mockup like  where it has a smart layer that I would normally just drop my still image into, but in this case I'd love a GIF. I have Adobe Photoshop CS6.


Im running apt-get install and the answer is always please insert the disc label. Im using Ubuntu Server 16.04 on VMware virtual machine. Can anyone help?


I think that QM does not favor free will, any more than Classical Mechanics does, and here is my reasoning:   QM predicts odds, but that doesn't mean we are free, right? To be free, we will have to change the odds in our favor, so to speak. Maybe I don't understand probability well, but it seems to me that fixed odds still mean no free will. The laws of QM have been shown (somewhat) to give the same results as Classical Mechanics at macroscopic scales. So all the previous arguments about whether there is free will or not can continue to be valid (I suppose).   So, what is wrong with this reasoning?


I am trying to setup bCNC and can't open the ./dev/attyACM0 port

I've added myself to the dialout group and run   getent group dialout    and it returns  dialout:x:20:myUserName   I try to access the serial port and am getting...  [Errno 13] could not open port /dev/ttyACM0: [Errno 13] Permission denied '/dev/attyACM0'   So clearly I've left a step out.


Pdf of the difference of two exponentially distributed random variables

Suppose we have $v$ and $u$, both are independent and exponentially distributed random variables with parameters $\mu$ and $\lambda$, respectively.   How can we calculate the pdf of $v-u$?


There should be slots next to global but I cant find them.


Finding the tangents common to two rotated ellipses?

Is there a way to find the four tangents that two rotated ellipses share?  I believe that if two ellipses do not intersect and do not contain one another, they will have four tangents in common and I wish to find these tangents. I know how to complete the same process with circles and wish to do the same with ellipses.


how can insert accents and "ñ" with mysql

I'm doing an insert in mysql but all my accents and "ñ"  changes to "?".  I serched  in internet and I've done this:  I changed the collation of my data base and tables to utf8_spanish_c I changed my php.ini in default_charset  but I have the problem yet.  what can i do?


Does a fully-resolved phylogenetic tree have to be dichotomous?

I read that wherever there is polytomy there is an unresolved pattern of divergence. I don't understand why this is so.  When divergence takes place, is it necessary that there will be division into only 2 paths? Can't there be more than 2 paths with all the paths being equally related to each other (that is, no 2 paths being related more to each other than to a third path)?  In other words, does a fully-resolved phylogenetic tree have to be dichotomous?


Text chopped off in IE 11 when clicking a direct comment link

I like the new meta stack design.  But some of the text is getting chopped off in IE 11.          Refresh didn't appear to help.  Edit trying to help with recreating it:  When someone comments on my question. Little (1) shows up in the menu bar at the top. I click on that and it brings you to   https://meta.stackexchange.com/questions/230382/text-chopped-off-in-ie-11?noredirect=1#comment756793_230382   That made the bug show up again in this post.  It doesn't appear to happen if I view a question directly from the site via:     Questions -> click any question ->   https://meta.stackexchange.com/questions/230382/text-chopped-off-in-ie-11   This leads me to wonder if its something with the extra parameters being sent in the url from viewing a comment or because its coming from the menu.  noredirect=1#comment756793_230382


Can the edit summary be changed by users doing an additional edit from edit review?

I have observed a few times that, when I suggest an edit and that edit is accepted by someone else, but they add a further edit, then they seem to duplicate my edit summary in their own edit. However, this is usually not accurate to their edit.  : revision 7 has the same edit summary as (my) revision 6.  Question (which is why I tagged this ): Is this just a default? Can the reviewer actually change the edit summary for their subsequent edit?


New to python and having trouble with populating a list.  mat = [[0]*3]*4  for i in range(4):   for j in range(3):     mat[i][j] = (i,j)  print(mat)   The piece of code above prints out:  [[(3, 0), (3, 1), (3, 2)],  [(3, 0), (3, 1), (3, 2)],  [(3, 0), (3, 1), (3, 2)],  [(3, 0), (3, 1), (3, 2)]]   When I thought it should print out something like:  [[(0, 0), (0, 1), (0, 2)],  [(1, 0), (1, 1), (1, 2)],  [(2, 0), (2, 1), (2, 2)],  [(3, 0), (3, 1), (3, 2)]]   I realize this might be a simple question, but what am I doing wrong? Everywhere online tells me to populate a list this way as well.  Thanks in advance!


UK Standard Visitor visa refusal for job interview - under V4.2(a) for lack of own funds

I have received a refusal for a UK visit visa. Below is the relevant text of the refusal. What does this mean and what steps can I take to significantly increase my chances of success in a potential new attempt to apply?      The Decision      I have refused your application for a visit visa because I am not satisfied that you met the requirements of paragraph(s) V4.2-V4.10 of the Appendix V: Immigration Rules for Visitors because:      Home Office records shows that you have been previously been refused a UK visa (VAF Shefo/344051). However each application has to be assessed on it own merits using the information and evidence submitted.      You state that you wish to visit the United Kingdom to attend your interview with the British Army and you have provided a reference letter in support of this. You state that your sister will fund your trip and you have provided her bank statements. However, the onus is on you to qualify for a visit visa based on your own circumstances and your own intentions.      In order to be able to  make a decision on whether or not to grant you a visit visa in this category, I have taken into account your stated circumstances in Ghana, the reason for your visit and your proposed travel arrangements. I note that you state you earn GHS 266.00 (48.44) pounds per month employed as a sales representative. You appear to have no property, investment,savings or asset in your own country. I must take into account your personal and economic circumstances in Ghana when coming to my decision and given that you would not be able to afford to fund this visit without third-party financial assistance, I am not satisfied that your personal circumstances in Ghana are such that you would have sufficient intention to leave the United Kingdom at the end of your visit as stated.       Given the statement you have made and the documentary evidence you have presented to support your application I am not satisfied that your circumstances in Ghana, coupled with your reasons for wishing to travel to the UK, are such that you have shown your intention are as stated or that you intend to leave the UK at the end of your proposed visit.      In light of all the above , I am not satisfied that you are a genuine visitor and will leave the UK at the end of your visit. Your application for visit visa has been refused under paragraph V4.2(a).


How to effective mine more Unicoins by hammering rocks?

I've clicked the hell out of this Unicorn-app and almost destroyed my mouse - got some suggestions on how to be more effective mining Unicoins?  I mean, there must be some javascript-hack?     Placed Bounty: 100,000,000 reputation points     Edit: Thanks to everyone having some little fun at this harsh and unemotional website. :) A big shout-out to the SO-Devs for this awesome widget. cya


Shouldn't the logo be linked to the About page of a website?

For example the Apple logo takes you to the homepage of apple.com from any page.    Even I link the logo to the homepage, but doesn't it make more sense if we link it to the about page?


Markdown preview is inconsistent with actual rendering when using blockquotes inside a list

On Meta Islam I posted , which seemed perfect in the preview below the edit box.        But when I posted the question I got something partially different:


understanding the equation for the standard error of the mean

from wikipidia:  Does someone have a reference for a proof of this statement about SEM? I couldn't find one in the citation. This equation holds true for any distribution you are sampling from?


Shutdown Cause -20 after dropping my MacBook

I dropped my MacBook Pro 13" 2019. The Touch Bar is not working. The computer is restarting after 3-5 minutes. log show reports the shutdown cause is -20.   What could be the problem and solution?


How can I derive $\langle p | x \rangle=e^\frac{ipx}{\hbar}$ without resorting to wave mechanics?

$\langle p | x \rangle=e^\frac{ipx}{\hbar}$ can pretty easily be derived from wave mechanics. But how can it be derived without resorting to it? I've seen it be derived from the translation operator $\hat T$. It is shown that for an infinitesimal displacement $\epsilon$ the translation operator in the position eigenbasis is: $$\langle x |\hat T |\psi\rangle=\left( 1+\dfrac{\partial}{\partial x}\right)\langle x | \psi\rangle=\left( 1+\dfrac{\partial}{\partial x}\right)\psi_x$$ In which $\psi_x$ is the state vector's representation in position space, such that $$|\psi\rangle=\int^{\infty}_{-\infty}\psi_x |x\rangle dx$$ And it then assumes that because momentum generates translation, $\frac{\partial}{\partial x}=\frac{i}{\hbar}\hat p$.  Now this leaves me rather unsatisfied. Is there any way to prove the form of the momentum operator, and from it prove $\langle p | x \rangle=e^\frac{ipx}{\hbar}$ using, for example, the matrix representation of quantum mechanics?


Extract all the polygon coordinates from a SpatialPolygonsDataframe?

I want to do something relatively simply but it seems to be very difficult to do, though I am very new to using R for spatial data so apologies if I've missed something obvious.  I have a list containing 161 shapefiles of bird distributions in the world, they are each in the format of a SpatialPolygonsDataFrame. I also have world climate data in a raster stack format for 8 variables. Both sets of files are in the same projection (lat and long WGS84). I want to create new columns for the climate data with 1's where the species polygon overlaps with the climate data and 0 where it doesn't. I tried various functions to do this, quite a few initial options didn't work, the best option appeared to be:  pnt.in.poly(XY coordinates of climate data points, XY coordinates of species polygon)   I changed my raster of climate data into points to get the XY coordinates. I unified the polygons for each species shapefile and then used:  species@polygons[[1]]@Polygons[[1]]@cords   to get the coordinates for my species polygons as a matrix. However, I discovered that:  species@polygons[[1]]@Polygons[[1]]@coords    wasn't actually getting all the coordinates of the polygons only some of them.  I tried using fortify from the ggplot package, and it gives me a dataframe with coordinates but some of them are for holes in the polygons. I ran that with the pnt.in.poly function excluding the holes but it took an hour to run and when I looked at the output maps after it matched for some of the range but not all of it- there were holes in the distribution where there shouldn't be holes.   I also tried this method that I found somewhere else:  lonlat <- lapply(slot(species, "polygons"), function(x) lapply(slot(x,"Polygons"), function(y) slot(y, "coords")))    which gives me a list with 436 items- but I'm still not sure how to get the coordinates into a matrix form that will work in pnt.in.poly.  I'm sure this should be easier to do! Does anyone know a better way?


I have trouble with my usb flash memory device

I tried to load Windows iso file to my USB flash memory device.I had an error when the files loading. I formatted the device and repeated the process a couple of times. Now the flash memory device is not opened or formatted or written. I tried something to solve for the read only issue, but they didn't work. Any idea what could be the issue?


windows 10 bootable drive using startup disk creater?

Can i use Ubuntu's startup disk creator for the creation  windows 10 boot able USB stick. Suggest any other way for bootable drive creation


I desperately need to find out how to colour or shade part of 3D text in blender 2.8. I want to change A's and D's colour  EDIT: It is text converted to mesh so this is ONE big object, and i cant ( i think) convert it back to 2d text becouse i lose progress. Also none of these soluttions works  EDIT: I cant change 2d text's colour as well ( i used mehtod shown linked below)


As seen on Worldbuilding:    linked question:


Generating a default LaTeX bibliography from existing BibTeX file

unfortunately I cannot bring Texmaker to create a bibliography using BibTeX, so I was wondering: Can I create code that suits the needs of the default environment \begin{thebibliography} importing my .bib database? Is there an automatic procedure, any available piece of software?


For a book cover, I want to write the title vertically (like in Japanese, but using English text):           T T        I H        T I  I  M  L S  S  Y  E   How do I do this without jumping through a host of \vbox and \hboxes?


How do I enable dragging files to applications minimised to Ubuntu Dock in 17.10?

I have upgraded to 17.10 but I am frustrated that I am unable to drag a file say, from Files to a text editor that is minimised. In older versions I was able to drag it to the sidebar, hover over the application and it would open. Is there a way to get this to work in 17.10?


Can you make just part of a regex case-insensitive?

I've seen lots of examples of making an entire regular expression case-insensitive.  What I'm wondering about is having just part of the expression be case-insensitive.  For example, let's say I have a string like this:  fooFOOfOoFoOBARBARbarbarbAr   What if I want to match all occurrences of "foo" regardless of case but I only want to match the upper-case "BAR"s?  The ideal solution would be something that works across regex flavors but I'm interested in hearing language-specific ones as well (Thanks )  Edit  The link Espo provided was very helpful.  There's a good example in there about turning modifiers on and off within the expression.  For my contrived example, I can do something like this:  (?i)foo*(?-i)|BAR   which makes the match case-insensitive for just the foo portion of the match.  That seemed to work in most regex implementations except Javascript, Python, and a few others (as Espo mentioned).    The big ones that I was wondering about (Perl, PHP, .NET) all support inline mode changes.


Prevent Windows 10 from log off, restart, or shut down with open files/programs

I'm looking for a group policy setting or a third-party program that can prevent Windows 10 (and earlier) from a logoff, restart, or shutdown command, initiated by either the user or the system.  I didn't have as many issues with this in Windows 7, however Windows 10 has automatically restarted my computer several times from updates in the middle of me working on something. I know other users have complained about this over the past several months as well. I have also accidentally logged off of my computer once or twice before while I have programs and files open, and it doesn't prompt to close programs or anything of that nature.  I would like to be able to totally prevent the system from logging off, restarting, or shutting down unless I manually close all of my open programs and files first. Does anyone know of a way to do this?  As a note, I've already set the local policy item under Computer Configuration > Administrative Templates > System > Shutdown Options for "Turn off automatic termination of applications that block or cancel shutdown" to "Enabled".  :::EDIT:::  I've seen this question:    Unlike that question, I'm asking for a group policy setting (that I haven't already set) or a third-party program that will prevent Windows 10 (and earlier) from not only being shutdown or restarted, but also prevents a log off command. The question linked refers to no program or group policy that will suffice as an answer to my question.


How to run python script in windows backround?

I have a python script that running on windows server 2008 on cmd line. I don't need any interact during script running. By the way the script is running during about a week. So if the server disconnects my connection for some reason, my script stops and I have to start over and over again. It is huge trouble for me and I don't know how to solve this problem.  Here is my question.  How to run a python script in backround on windows server even user disconnect from the server?  Thanks in advance for your help.


The following problem can be found in S.L. Loney's The Elements of Coordinate Geometry (Examples X, Problem 19):     Prove that the if the area of the triangle formed by the three straight lines $a_1x+b_1y+c_1=0, a_2x+b_2y+c_2=0, a_3x+b_3y+c_3=0$ is $A$, then      $\displaystyle (a_2b_1-b_2a_1)(a_3b_1-b_3a_1)(a_2b_3-b_2a_3)A = \frac12 \begin{vmatrix} a_1 & b_1 & c_1\\  a_2 & b_2 & c_2 \\  a_3 & b_3 & c_3 \\  \end{vmatrix}^2$.   Now one can solve this problem by finding the points of intersections and using the the determinant formula for the area of the triangle.   I want to know if there is a slick proof (especially using vectors). The determinant and the expressions $a_2b_1-b_1a_2$ are reminiscent of cross products.  Thanks.


Why is "==" working when it should be .equals() comparing Strings in the array list?

I created a simple method to remove all instances of the desired string from the ArrayList. When checking the method I realized that I was supposed to use .equals() when comparing the value in the ArrayList to the target instead of using "==". Why does "==" work when .equals() should be used to compare the two string values?   public class MyProgram extends ConsoleProgram {     public void run()     {          ArrayList<String> pokemon = new ArrayList<String>();         pokemon.add("Beedrill");          pokemon.add("Castform");         pokemon.add("Charmander");         pokemon.add("Charmander");         pokemon.add("Ditto");          System.out.println(pokemon);          remove(pokemon, "Charmander");          System.out.println(pokemon);     }      public static void remove(ArrayList<String> list, String target){        for(int i = list.size()-1; i > 0; i--){            if(list.get(i) == target){                list.remove(i);            }        }     }   }   Here's a picture of the working code on sololearn.com.


On 14.04, my kernel version is 3.11.0-18?

After upgrading to 14.04, my kernel is not upgraded! it's like before:  Linux Boxi 3.11.0-18-generic #32-Ubuntu SMP Tue Feb 18 21:11:14 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux  Here's what I did:  sudo apt-get update sudo apt-get dist-upgrade sudo do-release-upgrade sudo apt-get update sudo apt-get dist-upgrade     lsb_release -a  No LSB modules are available. Distributor ID: Ubuntu Description:    Ubuntu 14.04 LTS Release:    14.04 Codename:   trusty


Security of RSA public key depending on how it's computed

I understand that the public key in RSA encryption may be computed using Euler's totient function or Carmichael's totient function.  I'm now trying to figure out how the choice of totient function affects the security of the public key, if any. Are there any ways in which a chosen totient function may make it easier or harder to compute the private key from the public key?  Edit for clarification: Are there any direct ways in which the choice of totient functions may affect the 'backtracking' process of figuring out the private key (d) from the public key (e)?


\ref, make figure/table reference automatically toggle between "above" or "below"

Is it possible to automatically include a reference to the position of a labeled object (Table, Figure) in text? By this I mean the following:  Say I have labeled a figure in chapter 1:  \label{fig:one}   Then I refer to it in text by using:  See Figure~\ref{fig:one}   Which produces "See Figure 1.1" as desired. I'd like to be able to have it produce: "See Figure 1.1, above" or "See Figure 1.1, below", automatically detecting whether to produce "above" or "below" depending on whether the figure will be placed above that position on the final page.


MS SQL - Can I find a source of prior log growth?

We have a DB in simple recovery mode (which we want). At some point in the past, the LDF grew to be 20ish GB, and I'd like to shrink that.   However, I don't want to shrink it if some process is simply going to grow the file again. Is there a query/table/object that might help return information about transactions that caused the file to grow? Or perhaps is there a table that indicates when the file grew in the past?  Thanks!


I want to kill process, which related to rsync. By entering ps axu | grep -i lsyncd, I receive information about one process: andrej   10690  0.0  0.0  15984  1148 pts/1    S+   16:52   0:00 grep --color=auto -i lsyncd  But when I'm trying to kill it, by using sudo kill -9 10690 I receive:  kill: (10690): There is no such process


In Counter-Strike: Global Offensive, you can collect guns. These guns can replace the default in-game guns. They do not change gameplay at all, and are purely cosmetic.  How can I get new guns?


How do you determine if an interface is a physical LAN port on a Windows PC?

I'm looking for a method to acurately determine if an interface is the physical 802.3 ethernet port on a pc in windows.  Using ipconfig /all I can list all the interfaces, and when I do this on my pc several entries can be listed here including VPN, Bluetooth, Wifi and the physical ethernet interface.  I'm looking for something like, "isPhysical(interface)". (It's ok to have multiple physical lan ports, I just want to know if it is a physical port or not).  UPDATE:   Jay and Chris thanks!  (Not enough space in the comments so I'll post here)  I'm currently looking at using WMI Win32_NetworkAdapter. However, it shows 4 interfaces with AdapterType="Ethernet 802.3".  I only have 1 phyical port on my pc the others have the Name, "Virtual Machine Network Services Driver".  (I assume these are installed by my company for some nefarious reason)  I found the attribute I need in the interface, but it's not available in winXP!!!     PhysicalAdapter Data type: boolean   Access type: Read-only      Indicates whether the adapter is a   physical or a logical adapter. If   True, the adapter is physical. Windows   Server 2003, Windows XP, Windows 2000,   and Windows NT 4.0:  This property is   not available.   Is there any way to determine if it's a physical port, other than doing a text filter for the word "Virtual" in the name?  UPDATE 12/08  Looks like the virtual interfaces are added when you have a VM installed.  Here's some details about the virtual adapter:   Found an issue where if the user doesn't have admin rights the WMI interface doesn't return the data needed.  So, now looking at the GetAdapterInfo method.  However, it seems to add 'virtual machine services driver" to the actual adapter's description, making the 'virtual' text check invalid.  And the structure returned by GetAdapterInfo:


How can we relate the idea of flux with electric field

Doesn't flux mean the measure of flow of something  represented by vector A. But in the case of an electric field we have nothing that actually flows . So how can we use the idea of flux while dealing with electric fields


Difference between BinaryFile vs MemoryMappedFile?

what is advantage of using MemoryMappedFile over BinaryFile?? Compared reading time of both the methods, time taken was almost same?  class Program {     public static void WriteToBinaryFile<T>(string filePath, T objectToWrite, bool append = false)     {         using (Stream stream = File.Open(filePath, append ? FileMode.Append : FileMode.Create))         {             var binaryFormatter = new BinaryFormatter();             binaryFormatter.Serialize(stream, objectToWrite);         }     }      public static void WriteObjectToMMF(string mmfFile, object objectData)     {         // Convert .NET object to byte array         byte[] buffer = ObjectToByteArray(objectData);          // Create a new memory mapped file         using (MemoryMappedFile mmf =                MemoryMappedFile.CreateFromFile(mmfFile, FileMode.Create, null, buffer.Length))         {             // Create a view accessor into the file to accommmodate binary data size             using (MemoryMappedViewAccessor mmfWriter = mmf.CreateViewAccessor(0, buffer.Length))             {                 // Write the data                 mmfWriter.WriteArray<byte>(0, buffer, 0, buffer.Length);             }         }     }   }


GRUB command line appears on boot after deleting Ubuntu partition from Windows 10

I dual booted Win 10 and Ubuntu, then I deleted my Ubuntu partition. But every time I start my PC I see   GNU GRUB version 2.02~beta2-36ubuntu3.2 Minimal BASH-like line editing is supported.  For the first word, TAB lists possible command completions.  Anywhere else TAB lists possible device or file completions".   I can run windows by exiting from there and choosing windows boot loader.  How can I stop this screen from appearing and delete GRUB?


One-time estimated tax payment for windfall

I recently sold an investment that has generated a capital gain that is a substantial fraction of my 2020 income. My brokerage did not withhold tax (I think that is normal), but I am now materially underpaying my federal income tax for 2020 (ignore the state and local tax, somehow my employer over-withheld those). I have never done an estimated tax payment before or filled out a 1040-ES. Can I just make a one-time, one-off payment here: ? Do I necessarily need to fill out a 1040-ES or can I make an educated guess at the tax (did some excel sheet math and have an idea of what the number should be)? Edit: also, how would I go about reporting this one-time payment when I file my 2020 taxes?


Is there any Deep Freeze-like application for Ubuntu?

I'd like to know if there is any alternative to Deep Freeze for Linux that still under development, because I've read some things on the internet and looks like the same company which developed Deep Freeze had a Linux version of it, but the project was discontinued.


I am from Pakistan and like to apply for UK visitor visa with family of 4. While making seperate application at gov.uk, and filling financial detail for family, it is not possible to write N/A as it need numbers. I am confused how to find a solution for this issue. Waiting for your response, Regards,


A method to choose a point from a nonempty closed set to avoid the use of $\mathsf{AC}$

Fix a point $z \in \mathbb{C}$. Let $S \subset \mathbb{C}$ be a nonempty closed set. Let $$T = \{ w \mid d(z, w) = d(z,  S)\}.$$ Then $S \cap T$ is a nonempty closed set. Let $f\colon [0, 1] \to T$ be defined by  $t \mapsto z + d(z, S)e^{2\pi it}$. Then $f^{-1}(S \cap T)$ is closed subset of $[0, 1]$. Thus $f(\inf f^{-1}(S \cap T)) \in S$.   By this way we can make a choice function for the entire family of nonempty closed subsets of $\mathbb{C}$. Is this way independent of $\mathsf{AC}$? And can this method extended to other Euclidean spaces, or even metric spaces and topological spaces?


Why do heavier objects fall faster in air?

We all know that in an idealised world all objects accelerate at the same rate when dropped regardless of their mass.  We also know that in reality (or more accurately, in air) a lead feather falls much faster than a duck's feather with exactly the same dimensions/structure etc.  A loose explanation is that the increased mass of the lead feather somehow defeats the air resistance more effectively than the duck's feather.  Is there a more formal mathematical explanation for why one falls faster than the other?


Deleted Partitions now laptop wont start

my laptop was previously dual boot windows/linux. I removed linux, and re-installed windows, and upgraded to windows 10. My partitions were still all out of whack so i used a partition tool to try and add all my unallocated space back to my fresh windows install. I think i deleted some recovery partitions somehow... the tool restarted my computer, and before boot started doing stuff at a terminal like screen for the partitions. at one point i got thee windows 10 error screen which said I will need to run a repair.  I went to create a USB install media to run the repair, but in the time I was gone my screen went black and wouldnt come back. I held the power button to shut down, and then pressed it to turn on.  Heres my issue - every other post says things about entering the bios to boot via usb and run my repair, or do some disk utilities to fix it, etc. I can't even get this far.  When i press the power button of my laptop, the light on the power button comes on but I do not hear the harddrive spinning up, and it looks like the monitor never even turns on, and im just at a pure black, silent laptop.  Anyone have any idea what to do? :(


Authoritative link to provide users in comments for minor edits

There is this .  This is in the .     Edits are expected to be substantial   Now I am in discussion with another user:        .  Can we have an authoritative link to give to users regarding minor suggested edits. It would stop needless discussion and wasting of time.    The issue here, is not this user in particular, but the whole minor edit debate  Whether the suggested edit is valid or not, it would be good to know either way.          I have added images, as the question in this example is so badly downvoted, I would not be surprised if it is deleted by the owner, in which case links would be useless


How to mimic Thick Stylish Font used in the cover page of the book : Problems in General Physics by I. E. Irodov

I am trying to mimic the thick stylish font used in cover page of the book :    MWE is :  \documentclass[dvipsnames, svgnames]{minimal} \usepackage{pst-text, pagecolor, xcolor} \DeclareFixedFont{\RM}{T1}{phv}{b}{n}{3.8cm}  \begin{document}  \pagecolor{Black} \color{White}  \rput(2.7in,.0in){\pscharpath[fillstyle=solid,fillcolor=magenta!50]{\RM Problems}} \rput(3in,-1.2in){\pscharpath[fillstyle=solid,fillcolor=magenta!50]{\RM in General}} \rput(2.15in,-2.5in){\pscharpath[fillstyle=solid,fillcolor=magenta!50]{\RM Physics}}  \end{document}   This produces :   But this is pretty far from the original.   Any ideas ??  Thanks


Is there any in-universe explanation as to why some CAD have to look like guns?

I understand plenty the visual effect of Tatsuya and Crimson Prince shooting magic bullets unto each other and other magical shooting plethora of effects.  But it seems to me that all those spells could be cast without those gun-shaped CAD wihtout much fuss.  Is there any explanation to why there are gun-shaped CAD, from the point of view of an advantage to the magician, or is it just for visual dramatic effect?


Diophantine equation involving prime numbers : $p^3 - q^5 = (p+q)^2$

Find all pairs of prime nummbers $p,q$ such that $p^3 - q^5 = (p+q)^2$.  It's obvious that $p>q$ and $q=2$ doesn't work, then both $p,q$ are odd. Assuming $p = q + 2k$ we conclude, by the equation, that $k|q^3 - q - 4$ because $\gcd(k,q)=1$ (else $p$ is not prime) and $k=1$ has no solution.  I also tried to use some modules, but I couldn't.


Losing constitution scores in battle; does it bring down my hp and how?

So, I run an artificer in my one campaign that just reached lv 20. Part of the lv. 20 ability (Soul of Artifice) reads:     If you’re reduced to 0 hit points but not killed outright, you can use your reaction to end one of your artificer infusions, causing you to drop to 1 hit point instead of 0.   My artificer is using one of his infusions to replicate the amulet of health magic item which requires attunement and reads     Your Constitution score is 19 while you wear this amulet   If my character is about to be knocked down to 0 hp, and then uses his reaction to end his infusion that created the amulet, what happens?  This post is  but I feel is still different since in this case I need to know if things would happen any differently in this case since it happens instantaneously in the middle of combat, which was a question that the other one did not have to answer, so think of this as more of a follow-up to that one based on new rules


Back before chrome became the default browser for Android, there used to be a stock Android browser called "Browser" (anyone who used a stock version of Android before 4.2 knows what I'm talking about)  Anyhow, It had a feature that allows you to save a Web page for later reading but that browser no longer exists and that feature doesn’t seem to exist in chrome.   Does this mean that now I have to install a third party app (such a Pocket) to save articles for later reading??


Is there a way to fix the Invalid Session error?

I've been watching videos on youtube of "how to fix minecraft error invalid session" but none of them can help me cause  I don't have them. Could anyone please help me fix this in an easy way? Or is there no way?


How to stop mysql from running at boot time?

Currently, my MySQL server starts on every server boot. For a couple reasons, this is undesirable behavior. Is there a way to disable this behavior?


Number of ring homomorphisms from $\mathbb Z_{12}$ to $\mathbb Z_{28}$.

Question:      Find the number of non trivial ring homomorphisms from $\mathbb Z_{12}$ to $\mathbb Z_{28}$. ($f$ is not necessarily unitary, i.e., $f(1)$ need not be $1$.)    Suppose $f$ is a ring homomorphism from $\mathbb Z_{12}$ to $\mathbb Z_{28}$.  Consider $f$ as a additive group homomorphism.  Let $k= |\ker f|$ and  $ t = |\operatorname{im}(f)|$. Then $k\mid 12$ and $t\mid 24$ and $kt=12$, by first isomorphism  theorem of groups.  There are two possibilities $k=3$, $t=4$   and $k=6$, $t=2$.  For the first case $f$ should map $1$ to an element of the subgroup generated by $7$ as there is a unique subgroup of $\mathbb Z_{28}$ of order $4$ generated by $7$. For the second case $1$ has to map to $14$, for the same reasoning.  So there are at most two ring homomorphisms from $\mathbb Z_{12}$ to $\mathbb Z_{28}$. Question is how to check the possible maps which are ring homomorphisms.  Thanks.


Good day;  I'm making a Monthly budget to keep track of where I spend my paychecks. I stumbled upon the rent part; would that be considered a debt? Since it's basically something that I "accept" I'll be paying for the next 12 months, each month, in accordance to the lease?


Hey i have found a way to use Whatsapp on ubuntu using Pidgin! But i don't understand everything on the site... Can someone help me?  I have completed the pidgin installation and whatsapp plugin. Now i have to do the SMS whatsapp verification. See the script for that here :   Can someone tell me how do i exactly do the commands and codes etc.  Thanks,


Op-amp circuit with feedback: does the polarity matter?

Suppose we have the following circuit:         – Schematic created using   Does the polarity of the op-amp (= which terminal is the inverting and the non-inverting input) affect \$U_o\$? Taking the usual analysis (see below) into consideration it seems like it doesn't matter. This makes no sense to me, because op-amps act as comparators. Can someone please give me an intuitive explanation of why this happens, if it is true? Also, is there any case that the polarity matters when we have feedback?  Analyzing the circuit: suppose we want to find \$\frac{U_o}{U_s}\$:   Voltage law from GND,\$U_s\$ through the inverting terminal(=GND, virtual short): \$-U_s+i_1R_1=0 \Rightarrow U_s=i_1R_1\$ (1) Voltage law from inverting terminal(=GND, virtual short) through \$U_o\$: \$i_2R_2+U_o=0 \Rightarrow U_o=-i_2R_2\$ (2) Current law for the node next to inverting terminal: \$i_1=i_2\$ (3)   (1), (2), (3) \$\Rightarrow \frac{U_o}{U_s}=-\frac{R_2}{R_1}\$.


A short story about an astronaut on Mars

When I was a kid I had a book that had many older sci-fi short stories. One of my favs was about an astronaut who was the only one left alive after a crash-landing on Mars. His food and water ran out but he eventually found an uninhabited Martian city that was not compatible with human life. In the end the city changed him to a Martian where I assume he lived happily ever after.


Let $a, b \in \mathbb{R}$. Show that $|ab| \le \frac 12 (a^2 + b^2 )$.  Need consider three cases: (i) both $a,b \ge 0$: $|ab| = ab=\frac{2ab}2= \frac{(a+b)^2-a^2-b^2}2=\frac{(a+b)^2-(a^2+b^2)}2$.  (ii) both $a,b \lt 0$: $|ab| = ab$ , same as in (i).  (iii) either one of $a,b \lt 0$: $|ab| = -ab=-\frac{2ab}2= -(\frac{(a+b)^2-a^2-b^2}2)=-(\frac{(a+b)^2-(a^2+b^2)}2)$.   So, need prove $2ab \le a^2+b^2$ which is again back to the question.  I have in mind only an approach based on triangle formed by three vectors, but am unclear about using that. The reason is need to constrain the angle formed to $90^o$, as only then $a^2 + b^2 = a^2+b^2$. But, even with that constraint, the issue is that the vector approach has equivalent formulation only in terms of complex quantities.   So, no progress possible.


1.Babies need to sleep 18 hours.      2.Babies need to sleep for 18 hours.   Are these sentences different in meaning? As my teacher says, we use "for" to describe "continuous action without a pause".


proof of accommodation in Europe for schengen visa

i am going to tour Europe in mid Oct for around 15 days. i have already booked flight tickets. but the travel itinerary is not fixed. whether the travel itinerary provided by some tourist-sites like visareservation.com will be sufficient to apply for the schengen visa.


What is the difference between two desktop installation command?

These days, I installed desktop environment on Ubuntu 18.04 server LTS that is based on Gnome, Firstly, I use command to install desktop  sudo apt install ubuntu-desktop when it was finished and reboot, it was strange that machine stops at booting step. Checking the command information, I found that GDM3 cannot be reloaded correctly. So I switch to lightdm and reboot it: problem fixed. The session information will be like:  Another way.i use another command to install desktop sudo apt install ubuntu-unity-desktop the process of installation is success and smooth with no errors. check the session like it:  So, I wonder ask u about the relationship between ubuntu.desktop and unity.desktop, though some answers can be searched but not clearly.


There are $n$ points on the plane. Any $3$ of them are inside of a unit circle. How to show that all points are inside of unit circle?  It is needed to prove that if there is a unit circle for each $3$  points which contains them, there is also a unit circle which contains all $n$ points.


Why does my one lens have different exposure (t-stop) than my other lens?

I have been comparing my Pentax Takumar 28mm f3.5 lens (via an adapter) to my Canon 18-55mm 3.5-5.6 IS lens.  When I have them both set to the exact same f-stop, the exposure meter of the camera is a few ticks lower when the Takumar lens is being used than it is when the Canon lens is being used.  What could be contributing factors to this? Is it the lens coating? I have read that t-stop takes into account the actual transmitted light, as opposed to the theoretical based f-stop. So my question still sort of remains that same. Why does my one lens have a different t-stop to my other lens, when both are at the same f-stop?  What are the contributing factors to t-stop?


How would you count occurrences of a string (actually a char) within a string?

I am doing something where I realised I wanted to count how many /s I could find in a string, and then it struck me, that there were several ways to do it, but couldn't decide on what the best (or easiest) was.  At the moment I'm going with something like:  string source = "/once/upon/a/time/"; int count = source.Length - source.Replace("/", "").Length;   But I don't like it at all, any takers?  I don't really want to dig out RegEx for this, do I?  I know my string is going to have the term I'm searching for, so you can assume that...  Of course for strings where length > 1,  string haystack = "/once/upon/a/time"; string needle = "/"; int needleCount = ( haystack.Length - haystack.Replace(needle,"").Length ) / needle.Length;


Java-based program will not load anymore

I'm in a class that requires us to use the Alice 3 program. I was running the program just fine earlier today and now it will not make it past the splash screen. I go into the system monitor and it shows that multiple instances of Java are running, with Alice3 running at the top, so why would it suddenly stop loading?  I'm fairly new to Ubuntu, but I don't think I made any significant changes to prompt this...  I reinstalled probably 3 times now, restarting in between, but no luck.  Thanks in advance!


Fail of markdown parser detected if '_ 's are used in a naked URL

In the answer , the parser breaks my URL link.  The URL was with __word__:      http://www.open-mpi.de/projects/hwloc/doc/v1.2/group__hwlocality__membinding.php#gade5e2c28ea8475a479bf2b1df36c6ccd   After parsing, it becomes (<a href is broken; no clickable link):  hwlocality_membinding.php#gade5e2c28ea8475a479bf2b1df36c6ccd">http://www.open-mpi.de/projects/hwloc/doc/v1.2/group_hwlocality_membinding.php#gade5e2c28ea8475a479bf2b1df36c6ccd   Short test:  http://example.com/_test_ -> test">http://example.com/test  Or if I put in a naked URL with _test_ just here:


Number of ordered pairs of primes (p,q) such that pq divides (2^p+2^q).

I was trying to solve a question given as follows:  Find all ordered pairs of primes (p,q) such that pq divides (2^p+2^q).  I have been able to solve a bit of it and I am sharing what I have done:  I have broken the problem into four cases among which three of them has been solved by me. The cases are as follows:  Case 1: p=2 and q=2 is an obvious solution.  Case 2: if p=2 and q≠2 then only I have got the only possible solution as (p,q)=(2,3).  Case 3: if p≠2 and q=2 then I have got the only possible solution as (p,q)=(3,2).  Case 4: if p≠2 and also q≠2 , then I am unable to approach further.  Please help me with a way to solve  the fourth case.


What's the difference between hypothesis, theory and law?

What's the difference between ,  and ? I think I'm confused now because I exactly learned the misconception one as explained below in high school.  According to this university's website it says that what I learned from school is a misconception. Is this explanation generally accepted among the scientists.     MISCONCEPTION: If evidence supports a hypothesis, it is upgraded to a   theory. If the theory then garners even more support, it may be   upgraded to a law.      CORRECTION: This misconception may be reinforced by introductory   science courses that treat hypotheses as "things we're not sure about   yet" and that only explore established and accepted theories. In fact,   hypotheses, theories, and laws are rather like apples, oranges, and   kumquats: one cannot grow into another, no matter how much fertilizer   and water are offered. Hypotheses, theories, and laws are all   scientific explanations that differ in breadth — not in level of   support. Hypotheses are explanations that are limited in scope,   applying to fairly narrow range of phenomena. The term law is   sometimes used to refer to an idea about how observable phenomena are   related — but the term is also used in other ways within science.   Theories are deep explanations that apply to a broad range of   phenomena and that may integrate many hypotheses and laws. To learn   more about this, visit our page on the different levels of explanation   in science.


Synaptics Touchpad : solving 2 finger problem triggered by resting palm

My laptop is: "Lenovo G580" and it comes with a very sensitive touchpad. Specially, when I place my hands comfortably to type, it "thinks" I'm touching the top-left corner. This becomes really annoying when I have to use both (the keyboard and touchpad), as it thinks I'm performing a 2 finger click (the mouse stop moving). I have disabled the 2 finger click, which defaults to right click, in order to prevent the right-click-menu randomly (imagine that!).   Using Xubuntu 12.10. These are my settings:  LeftEdge                = 2300 RightEdge               = 5000 TopEdge                 = 1652 BottomEdge              = 4658 FingerLow               = 25 FingerHigh              = 30 FingerPress             = 256 MaxTapTime              = 180 MaxTapMove              = 242 MaxDoubleTapTime        = 180 SingleTapTimeout        = 180 ClickTime               = 100 FastTaps                = 0 EmulateMidButtonTime    = 75 EmulateTwoFingerMinZ    = 282 EmulateTwoFingerMinW    = 7 VertScrollDelta         = 110 HorizScrollDelta        = 110 VertEdgeScroll          = 0 HorizEdgeScroll         = 0 CornerCoasting          = 0 VertTwoFingerScroll     = 1 HorizTwoFingerScroll    = 0 MinSpeed                = 1 MaxSpeed                = 1.75 AccelFactor             = 0.036324 TrackstickSpeed         = 40 EdgeMotionMinZ          = 30 EdgeMotionMaxZ          = 160 EdgeMotionMinSpeed      = 1 EdgeMotionMaxSpeed      = 440 EdgeMotionUseAlways     = 0 TouchpadOff             = 0 LockedDrags             = 0 LockedDragTimeout       = 5000 RTCornerButton          = 0 RBCornerButton          = 0 LTCornerButton          = 0 LBCornerButton          = 0 TapButton1              = 1 TapButton2              = 0 TapButton3              = 2 ClickFinger1            = 1 ClickFinger2            = 1 ClickFinger3            = 0 CircularScrolling       = 0 CircScrollDelta         = 0.1 CircScrollTrigger       = 0 CircularPad             = 1 PalmDetect              = 0 PalmMinWidth            = 10 PalmMinZ                = 200 CoastingSpeed           = 20 CoastingFriction        = 50 PressureMotionMinZ      = 30 PressureMotionMaxZ      = 160 PressureMotionMinFactor = 1 PressureMotionMaxFactor = 1 ResolutionDetect        = 1 GrabEventDevice         = 1 TapAndDragGesture       = 1 AreaLeftEdge            = 0 AreaRightEdge           = 0 AreaTopEdge             = 0 AreaBottomEdge          = 0 HorizHysteresis         = 8 VertHysteresis          = 8 ClickPad                = 0   What I have tried:  1) The "CircularPad" option could solve my problem, but for some reason it doesn't work :(  2) Palm detection seems to fail as well... (currently disabled)  3) The "Block touchpad while typing" option resulted annoying as well, as I often use both input methods at the same time (like when you are searching for a file in a directory and type part of its name, and then clicking on the correct file). With that option, I have to wait about 3 secs in order to be able to use the touchpad, which I think is too much.  4) I could disable 2-finger scroll, but I use it a lot.   5) I thought that changing the Edges could be the easy way to go. I checked X and Y values in: "synclient -m 100" , and change the LeftEdge and RightEdge values as shown above. But even after setting them (using synclient LeftEdge=...) the cursor still moves below the LeftEdge and after the RightEdge, what am I doing wrong?  It seems that many options have no effect (like TapAndDragGesture), while changing others do (like setting 3 finger middle-click, etc.). Is that possible?  What other alternatives could I try to solve it? Thanks in advance!


I need help with STATS homework about normal distribution

The distribution of sale price for new MacBook Air’s is approximately normally distributed with a mean of \$800 and a standard deviation of \$70. (a) Mr. Bob plans to spend between $700 \text{ and } $850 on a new Apple MacBook Air. What proportion of the available MacBook Airs can Mr. Bob afford? (b) What is the 90th percentile of computers of this type? (c) Show that a MacBook Air priced at \$1000 would be considered an outlier using the 1.5 × IQR rule. For a, I tried doing 850-700=50 and $\frac{50}{800} = \frac{1}{40}$, for b, I tried $m+(0.5 \times R)/y$ for c, I tried $1.5 \times 700 - 1.5 \times 850$


"Seen" status is earlier than the user's last post

I posted what I think is a clever answer to:    But then I noticed the question was posted a while ago on Mar 2.  I wanted to see what the chance of the user logging back in and seeing my answer, but the  says the user was seen on Feb 19.  I thought this was supposed to be the date they last logged in? How could they have asked a question on Mar 2 if they haven't logged in since February?  Thanks


Add a legend title to the legend box with pgfplots?

I am using  to draw some plots. I usually use \addlegendentry and get a nice default legend box. There are some options for legend box placement and layout (e.g. number of columns).  For some plots I would like to add a title inside the legend box.  Could not find the something about this in . Does anyone know what is the way to customize the legend box?


Calculate for every positive integer $n$ and for every prime $p$ the expression  $$1^n +2^n + \cdots +(p-1)^n \mod p$$    I need your help for this. I don't know what to do, but I'll show you what I know.   Wilson's theorem The identity $X^p-X = \prod_{a \in \mathbb{F}_p-1}(X-a)$ $\exists a \in \mathbb{Z}, \ a^2 \equiv -1 \mod p \qquad \iff \qquad p \equiv 1 \mod 4$   Now can you please provide me a hint?


For a point $x$ and a non-empty subset $A$ of a metric space $(X, d)$, define \begin{align}\inf\left\{ d(x,a):a\in A\right\}\end{align} Prove that if $y$ is another point in $X$ then $$d(x,A)\leqslant d(x,y)+d(y,A)$$


– Schematic created using   This is a minimalist FM transmitter I've found from   I'm a bit confuse about three things  1)How does this modulates the base input signal to frequency modulation ?  Because I don't see any change happening neither in Inductance nor in Capacitance of that LC tank oscillator. Is that because of C1 somehow ?  2) For what purpose capacitor C5 is used ?


Is it possible for a wizard to learn a spell from a bard (or other classes) if it is on the wizards spell list?

I know it isn't possible to learn a spell through words alone, it has to come in a written form. So would it be possible for a Bard to create a spellscroll and then let the wizard learn it? Assuming the spellscroll is of a spell on the wizard spell list.  This question is quite similar to  although this assumes teaching directly.  I'm asking for RAW answers.


Evaluate $$I=\int \frac{dx}{(x^2-x+1)\sqrt{x^2+x+1}}$$  My book gave the substitution for $$\int \frac{dx}{P\sqrt{Q}}$$ as  $\frac{Q}{P}=t^2$ when $P$ and $Q$ are quadratic expressions  So accordingly i used     $$\frac{x^2+x+1}{x^2-x+1}=t^2 \tag{1}$$ we get  $$\frac{(1-x^2) \, dx}{(x^2-x+1)^2}=t \,dt$$  Then  $$I=\int \frac{\sqrt{x^2-x+1}\:dt}{1-x^2}$$  By Componendo Dividendo in $(1)$ we get  $$\frac{x^2+1}{x}=\frac{t^2+1}{t^2-1}$$  But how to express integrand purely in terms of $t$?


Gold tag badge icon missing on mobile web

On questions that get closed by the dupe-hammer, the fold tags badge doesn't show up nicely inside its box on the mobile site.    Also, when a moderator closes, just a little space after the diamond might improve visibility.


I have a query     SELECT employeedept, execoffice_status, employee, COUNT(*) AS 'employeetotal', YEAR_cse1 =YEAR(execoffice_date) FROM CSEReduxResponses WHERE execoffice_status = 1 GROUP BY employeedept, execoffice_status, YEAR(execoffice_date), employee  order by [YEAR_cse1], LIMIT 20   Which when I add the LIMIT it gives me a error "Incorrect syntax near '20'.".  Is there another way to get the top 20?  I have  Microsoft SQL Server Management Studio  10.0.2531.0, SQL server 2008.


the following gives me 5 hi:  for i in {1..5} ;  do echo hi $i done   but when i do the following with variable, it wont:  num=5 for i in {1..$num} ;  echo hihi $i done   and i tried put some " " or  or ' ' around, but it still doesnt give me 5 hi, please give me some advice. the result return is {1..$num}, so please tell me how to set up a proper for situation with variable. thanks.


Which references should I use for the following topics in Waves and Optics?

This is the course content for a waves and optics course that I am currently taking: Oscillations: Review of simple harmonic motion and damped oscillations, coupled oscillators and normal modes.(4) Waves: wave equation, superposition of waves with same and different frequency, Lissajous figures, standing waves, dispersion relations and group velocity.(4) Maxwell's equations: Wave equation, plane, spherical, cylindrical and beam like solutions of the wave equation.(3) Boundary conditions: reflection and transmission at the boundary.(2) Propagation of light in anisotropic media.(2) Coherence: Spatial and temporal.(2) Polarization and double refraction, quarter and half wave plates.(2) Geometrical optics: Paraxial approximation, lens aberrations, ray matrix approach to Gaussian optics, optical systems and resolving power.(8) Interference: Division of wavefront (Young's double slit) and amplitudes (Newton's rings, Michelson interferometer), multi-wave interference-Fabry-Perot interferometer, thin optical coatings (single and multilayer), interference filters.(6) Diffraction: Huygen-Fresnel and Kirchhoff's theories.(2) Fresnel diffraction: rectangular, circular and zone plates.(2) Fraunhoffer diffraction: Slits (single, double) and grating and circular aperture.(2) Introduction to metamaterials.(1) Due to Covid-19, this semester was botched up and the instructor managed to teach only a fraction of the course. I am currently using Vibrations and Waves by AP French and Griffiths for the waves section. I am looking for textbook recommendations for the other topics in the above list. If possible, please mention the topic which is present in each book.


is a Horcrux single-use or can it be used multiple times?

can one get resurrected with a single Horcrux multiple times, or can the Horcrux only be used once? for example, back when Voldemort was alive and had 7x Horcruxes, would killing Voldemort's body be about as good as taking out 1 of the Horcruxes?


Asked about if you can come to the party and you want to know the number of the people who’ll attend it, which is more commonly used, “How many people are going?” or “How many people are coming?”


I want to print a box into the Java console using Unicode characters, but for some reason it gives me this runtime error:  --------------------Configuration: PacManGame - JDK version 1.7.0_25 <Default> - <Default>-------------------- Exception in thread "main" java.lang.NullPointerException     at Scoreboard.genTopLine(Scoreboard.java:35)     at Scoreboard.<init>(Scoreboard.java:17)     at PacManGame.main(PacManGame.java:36)  Process interrupted by user.   code:   Does anyone know what's wrong?


Integral around unit sphere of inner product

For arbitrary $n\times n$ matrices M, I am trying to solve the integral  $$\int_{\|v\| = 1} v^T M v.$$  Solving this integral in a few low dimensions (by passing to spherical coordinates) suggests the answer in general to be  $$\frac{A\,\mathrm{tr}(M)}{n}$$ where $A$ is the surface area of the $(n-1)$-dimensional sphere. Is there a nice, coordinate-free approach to proving this formula?


tenses with the expression it.... two years since

She invited me to dinner. But it _____ two years since I _____ to her house. So I lost my way.   The answers were "was" and "had gone".  Could they be "had been" and "went"?


Alright, so I'm a total linux noob. However, I'm having trouble with a Windows machine and want to use Ubuntu 16.04.3 LTS to figure out how to fix it. I've made a bootable USB drive and managed to convince Windows to let me boot from it. Everything is going well so far. However, I'm rather inept when it comes to using Linux, and can't seem to make heads or tail out of how to get the terminal to do anything.  In order to perform the test I'm wanting to perform, I need to mount my windows partition. When I try to do that through the GUI, I get a message that says:     Unable to access "Windows"      error mounting /dev/sda4 at /media/ubuntu/windows: Command-line 'mount   -t "ntfs" -o "uhelper=udisks2,nodef,nosuid,uid=999,gid=999" "/dev/sda4" "/media/ubuntu/Windows"' exited with non-zero exit status   14: Windows is hibernated, refused to mount. Failed to mount   'dev/sda4': Operation not permitted The NTFS partition is in an unsafe   state. Please resume and shutdown Windows fully (no hibernation or   fast restarting), or mount the volume read-only with the 'ro' mount   option.   Deciding that booting up Windows, then shutting it down would take a very very long time (due to the issue I'm trying to fix), I decided to try mounting the drive as read-only, so I typed the following into the terminal:     sudo mount -ro -t "ntfs" -o "uhelper=udisks2,nodef,nosuid,uid=999,gid=999" "/dev/sda4" "/media/ubuntu/Windows"   This produced what looks likes information on the command itself that is basically indecipherable to me, and did not mount the drive. What am I doing wrong, and how to I do this one very simple thing?


I have a model which you can see here (camera perspective).    In the second image, you can see how the render turned out.    I'm at my wit's end trying to figure our why it's not showing up in the render. If anyone needs more information, just ask and I'll get it to you. I've already checked the normals and they're not the cause.


1) What happens in the ovary and in the bloodstream that brings about this change in the uterus? 2) Why does the level of FSH decrease and remain at a relatively low level during the luteal phase of the cycle?    For 1 I was thinking: So estrogen levels increase and the follicle matures which first cause menstruation and then the lining reforms??  For 2 I was thinking: the follicle has already ruptured by the luteal phase


Prove that $\sqrt{2}$, $\sqrt{3}$, and $\sqrt{5}$ can not all be terms of a single arithmetic progression

I have come across a problem in a book on elementary mathematics that I am unable so solve. The problem statement is : "Show that the numbers $\sqrt{2}$, $\sqrt{3}$, and $\sqrt{5}$ cannot be terms of a single arithmetic progression" When I look at the hint for the problem in the back of the book it provides a partial proof by contradiction. They say : assume we have an arithmetic progression such that $m,n,p \in \mathbb{N}$ with : \begin{align} a_{m} & = \sqrt{2} \\ a_{n} & = \sqrt{3} \\ a_{p} & = \sqrt{5} \end{align} Here we know $m$, $n$, and $p$ must be pairwise distinct. They then tell the reader to use the formula for the general term of an arithmetic progression to compute $\frac{n-m}{p-m}$. The formula referenced here is : \begin{equation} a_{k} = a_{1} + (k-1)r \;\; \forall k \geq 1 \end{equation} Where $(a_{i})_{i \geq 1}$ is the progression and $r$ is the common difference between adjacent terms. I am able to compute $\frac{n-m}{p-m}$ using the formula, but I do not understand why computing this can allow proving what the problem requests of the reader. Can someone help me with this ?


How to create a YouTube playlist from a list of links?

I have very long lists of YouTube links/bookmarks. I want to create playlists for my YouTube channel with them. Is there any way to do it automatically without having to add each individual URL to a playlist?


How do I sync two ubuntu folders which are in different servers configured in aws?

I have set up 2 ubuntu instances in aws. How do I sync /usr/ubuntu in both the machines?


Is there any condition that makes duplicates to be auto deleted at all? Or the duplicate status would protect of it:     If the question was closed more than 9 days ago, and ...         not closed as a duplicate   .....         ... it will be automatically deleted


Time Travel young adult novel from late 80's

This book had a story similar to the 12 monkeys story.  It took place after an apocalypse and the main character was going back in time to try to fix his current timeline.  His base was in a bomb shelter under the Cinderella City Mall in Denver (it's gone now but was once the largest mall in the world.)  I'm pretty sure the apocalypse was a nuclear war. I think the cover was black and green.  I can't remember more because the 12 monkeys story is distorting my memory.


Prove that given collection of subset is a topology.

Problem  Let $X$ be a set ; let $\tau_c$ be the collection of all subsets $U$ of $X$ such that $X-U$ either is countable or is all of $X$. Prove that $\tau_c$ is a topology on $X$.  Attempt  1) $X,\phi \in \tau_c $  2) for any set $ {U_\alpha} \subset \tau_c $ where $I$ is the indexed set, $X- \bigcup \limits_{\alpha \in I} U_\alpha $ = $ \bigcap \limits_{\alpha \in I } X- U_\alpha$. If for all $\alpha \in I ,U_\alpha=\phi$ ,we are done. If there are at least one $U_\alpha \neq \phi$, say $U_o$.Then $X-U_o$ is countable. Then  $ \bigcap \limits_{\alpha \in I } X- U_\alpha \subset X-U_o$  3) similarly for intersection.   Doubt  Why $X-U_o$ is considered countable?  What if X is some uncountable set.   Any help or suggestion will be appreciated .


Why linebreaks break the line height within certain environments with size-changing macros?  I'm trying to understand what's the difference between these three approaches:   \newenvironment between {} or \begingroup/\endgroup inside a minipage     \documentclass{article} \begin{document} \thispagestyle{empty} \section{With newenvironment}  \newenvironment{env}{\begin{center}\LARGE}{\end{center}} \begin{env}   Text with\\linebreak \end{env}  \section{With begin/endgroup}  \begin{center} {\LARGE Text with\\linebreak} \end{center}  \begin{center} \begingroup \LARGE Text with\\linebreak \endgroup \end{center}  \section{With minipage}  \begin{center} \begin{minipage}{\textwidth}\centering   \LARGE   Text with\\linebreak \end{minipage} \end{center}  \end{document}


How did Odin come to leave the Tesseract on Earth?

The Tesseract is taken by Johann Schmidt only because he could find it on Earth. How did the Tesseract come to be on Earth?  Which explanation is correct? :   Odin lost it during a war. Odin left it on Earth for (safe?)keeping.


Dynamic_cast not needing to perform a run-time check?

Quoting from item 45 in C++ Gotchas:     First a dynamic_cast is not necessarily dynamic, in that it may not   perform a runtime check. When performing a dynamic_cast from a derived   class pointer (or reference) to one of its public base classes no   runtime check is needed, because the compiler can determine statically   that the cast will succeed. Of course, no cast of any kind is needed   in this case, since conversion from a derived class to its public base   classes is predefined.   I thought the above description is where a dynamic_cast is normally used (and therefore would do run-time checks??).   Could someone please explain the difference between the above quote and the "typical" need to use a dynamic_cast? This got me confused as to when I need to use dynamic_cast and why I don't need to use it for the above scenario.


If an attacker had a padded message and its corresponding CBC-MAC tag, how would they construct another message which produces the same tag for the same key as the original? The padding scheme used in this scenario is to add 0's to the end of the message until is it a full block.   What about when the attacker has an non-padded message? How would they accomplish a similar attack and what conditions are needed for the message for the attack?


What is this, how to obtain information about a process ID

How can I get more information than what top shows me about a process?  I currently have a process that displays as j and has the CPU running at +2400%. Searching for j yields no results.  Here's an example of the top output:  PID  USER  PR  NI    VIRT    RES    SHR S  %CPU %MEM   TIME+     COMMAND                                                                              1722 root  20   0 2118996  57076   1148 S  2488  0.2   43934:45  j                                                                                This is being run on CentOS Linux release 7.2.1511 (Core) using 2 x Intel Xeon E5-2660v3 with 2.60 GHz.  ls -l /proc/1722/exe gives me:  lrwxrwxrwx 1 root root 0 Mar  3 17:13 /proc/1722/exe -> /usr/games/j   ls -lH /proc/1722/exe gives me:  -rwxr-xr-x 1 root root 313496 Dec 29 09:58 /proc/1722/exe


Multiplication in Permutation Groups Written in Cyclic Notation

I didn't find any good explanation how to perform multiplication on permutation group written in cyclic notation. For example, if $$   a=(1\,3\,5\,2),\quad b=(2\,5\,6),\quad c=(1\,6\,3\,4), $$  then why does $ab=(1\,3\,5\,6)$ and $ac=(1\,6\,5\,2)(3\,4)$?


Iam using Toshiba Elite with windows 7 64 bits , can I convert to bits 32?

Where can I find Free software to convert windows 7 to 32 bits ?  Thanks  Paulus


I'm making an AJAX call in drupal 7 via the standard AJAX Framework. My  problem is that when a status message is set by the AJAX callback, it is simply lost (or displayed at the next reload of the page). How can I display the status messages right after the AJAX callback has finished running, without reloading the page? Is there a module for that?


How do I get rid of these added "windows"?

I accidentally created far too many of these window-type things. It's literally the same view like 5 times... (I don't know what they are called - I apologize!)   How do I get rid of them?


I'm a lot confusing in how to draw some pictures using tikz.  The firts one is a equilateral (not regular) polygon, like this:     And some smooth curves like this:    If you can help me, I don't have so much experience in tikz.


Into how many finite regions does $n$ lines in general position divide the plane?

I have $n$ lines in the plane such that no two are parallel and no three lines intersect in a common point.     Into how many finite regions do the lines divide the plane?   I came up with this recurrence relation: $$x_3=1, \qquad x_n=x_{n-1}+n-2 ,$$ and I found out it is correct. Even though I solved it intuitively, I'd like to understand how to prove this recurrence relation formally. How can I do it?


Hidden characters inserted after pipe (|) followed by a space

Very often, on my Mac, when I use the pipe (|) character followed by a space character, an invisible character will be inserted in between.  This is especially annoying when using the terminal, as it makes commands invalid.  If I type the following in iterm2, I often get the following:  ls | cat zsh: command not found:  cat   If I hit the up-arrow-key to get my previous command, and then remove and reinsert the space between | and cat, the command will work.  When I copy paste the working and non working commands into a file, like this:  non-working: ls | cat working: ls | cat   and open it in  it shows the following:  non-working: ls |¬†cat working: ls | cat   I've also experienced the same kind of issue in SublimeText2 using the square brackets ([]) followed by a space. So I don't believe its an issue with iTerm2.


What's the easiest way to catch an overflow exception in C++?  For example, when I'm writing something like  int a = 10000, b = 100000; int c = a * b;   or (optionally)  std::cout << a * b;   I'd like to catch an exception (or notification). How to do so? Maybe there is any native solution for GNU C++, isn't there?


I just got this error while trying to connect to a computer through ssh. I had set up the connection to allow me to connect using just my self-signed certificate, but now I am unable to connect.  This is just a server I am using for a home-server, and I can access it directly if necessary.   ssh user@server @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @       WARNING: POSSIBLE DNS SPOOFING DETECTED!          @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ The RSA host key for server has changed, and the key for the corresponding IP address 192.168.0.6 is unchanged. This could either mean that DNS SPOOFING is happening or the IP address for the host and its host key have changed at the same time. Offending key for IP in /home/user/.ssh/known_hosts:3 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that the RSA host key has just been changed. The fingerprint for the RSA key sent by the remote host is 91:c9:85:31:8e:4f:87:b3:6c:9c:9d:1a:15:db:ab:ae. Please contact your system administrator. Add correct host key in /home/brad/.ssh/known_hosts to get rid of this message. Offending key in /home/user/.ssh/known_hosts:2 RSA host key for server has changed and you have requested strict checking. Host key verification failed.   This is the content of ~/.ssh/known_hosts.   |1|d5CgOYPDw2Q7wlQyjpF7+4jKjOU=|vmXkaQaDnT/64x0XFFi0U8BNRbg= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAr/m+Oz/9pnreHxXg5bXzsn0Ka2QREFOnny7L2T2mjZX/0dE4/x/RBa0AhekMmvmYw8BJ2AW326vogUJtHrZzizXuPS4T2jylkwBv0gsnOf4OO7iPNGHo1CCkp1DmP6oFpj/wBBg0yloFxGNiadgaNBydiMpl7eXtbDYpa0epWI1HZ8mZ9Ol05NOu2XmyKetfNAvFMFlK1VAXCE/APtWYugqcbbQhrL0r8Ir4/D0O9MgW9kMyka0MurOrhimk5cz0LKPVyFcXtBWzWK4XwbL7sw5i6k30khDV2h/k2SpGiCsiu0OM243rCf3a1rkAAJxmWl9z8eC7sfKJA8FGljUbww== |1|6RbvzZSpKoIlRMl8ofMSPoN1qfA=|l7MRcepn1d2O2CaQlUJ5gw/NTSw= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAr/m+Oz/9pnreHxXg5bXzsn0Ka2QREFOnny7L2T2mjZX/0dE4/x/RBa0AhekMmvmYw8BJ2AW326vogUJtHrZzizXuPS4T2jylkwBv0gsnOf4OO7iPNGHo1CCkp1DmP6oFpj/wBBg0yloFxGNiadgaNBydiMpl7eXtbDYpa0epWI1HZ8mZ9Ol05NOu2XmyKetfNAvFMFlK1VAXCE/APtWYugqcbbQhrL0r8Ir4/D0O9MgW9kMyka0MurOrhimk5cz0LKPVyFcXtBWzWK4XwbL7sw5i6k30khDV2h/k2SpGiCsiu0OM243rCf3a1rkAAJxmWl9z8eC7sfKJA8FGljUbww== |1|9rVqV4b7VneWzhpHeig7SDxVM2I=|6kUP3PZy+oVKzWoI+BmdTvDST7M= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAsgc5hj6+geXQ7+5TynE1W19lgH/If5wratYY3MHfzlE2RR8FrL28wcmJzDyEkBifNh23F01bhZIiXfVKGp/PF20+eqq84bnwa2cAQFHFEHCnY7agNAg3WW8jBO3eerWg9ZfWZhW9Lo32sG6Er/4Eia/Vo/JxdnI9mCG4HuKBO1dd2gBg5+9NLskKFX/Yh5XjV4a54QDx6/ktP3pE8NRbYfGouWTmU//td749vRbN/SEPBKvuwANkxhbusjw00teDQ2AMqG30YyQvxu0H00jB3idfEzAT5e7FC751Xbkd3T15Dd9A0320E+0HC38BJztMluS46ji3+M5a4jv1Dqttvw== |1|cE5cVMpkJlL/OuvFSBEu+ZjDdW8=|e04sC1zJ8JpI6zN+uzUS2/6HBBQ= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAs7JJacVNc1wk/6RZqMHin5RwR/LdIcMGGeG6WG4Sl/wETY9KYUVd126Yb2MV7vBT/8dW0iE6u6+sRVM3Xn5MG9K2PvQ57SbIQ53FvR4qBCqYkSn5sKs2wt9GpXh2MFN5TuXth2d1BABSR2a1u461K8SKbhclPVeFCeligaI4lGc= |1|h3/mWczIHdBmfFBO2hBIxz8BgOY=|GOVyuZWCfGKP31FcbgZsqkyVHcA= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAs7JJacVNc1wk/6RZqMHin5RwR/LdIcMGGeG6WG4Sl/wETY9KYUVd126Yb2MV7vBT/8dW0iE6u6+sRVM3Xn5MG9K2PvQ57SbIQ53FvR4qBCqYkSn5sKs2wt9GpXh2MFN5TuXth2d1BABSR2a1u461K8SKbhclPVeFCeligaI4lGc=   Any help would be greatly appreciated.


I have some browser bookmarks to a few filtered-tag queries. These now all show no matches ("No questions found."), but if I put the tag(s) in the search bar and query there are plenty of hits.  This is the case for Google Chrome as well as IE8, at least. For instance, this filter: .  I stumbled on this workaround: I start to create a new filter, defining it the same way as one of my existing filters, and I hit Preview.  Then I can go back to choosing the previously defined filter, and it works. But I apparently need to use that workaround separately for each filter that I have. It is not enough to do it for one filter, in order to fix things for all of the filters. Am I missing something? Thx.


Material 001 and Material 002 how to intertwine them with another environment

Suppose that I create Material001  and Material002  in Material Properties and set them to some color. Can I use this 2 items in other buttons like Texture Properties, Object Data Properties etc. ? Where and how do I intertwine them with this button ?


Logistic Regression Model Selection Criteria

I'm having a go at coding a logistic regression model building algorithm and I'd appreciate some advice. I've read in several places (including here) that minimizing both AIC and BIC could be an effective strategy for model evaluation.   My algorithm employs the following (undoubtedly simplistic) approach:   Fit a model with the intercept only, establish AIC and BIC for null model. Iterate through the list of features, creating test models that consist of each feature plus the intercept. Evaluate the test models, selecting that model which minimizes both AIC and BIC scores. Set AIC and BIC threshold to that of current best model values. Remove the feature selected in current round. Repeat, iterating through remaining features, creating new sets of test models for comparison (including previously selected features plus intercept), until no further reduction in AIC and BIC values occur, return the model with current lowest scores for AIC and BIC.   I'm sure this is a hopelessly naive approach, and I'd appreciate some feedback. I suppose my basic question is whether I'm completely misusing these criteria. Thus far, it returns a parsimonious model with very low p-values for all features. Examining the features in depth, it certainly provides some useful insights into the data I'm working with. It's definitely narrowed the field, and given that my data set has 40 features (the final model contained only 6), it's obviously preferable to guessing!