How can we define event to be proper and improper when there is no absolute frame of reference

Suppose in an empty space two rocketships exists with person A and B of same age inside each. Let A move with velocity c/2 away from B and return. They'll find out that B grew older while A didn't have that change in age due to relative passing of time. But this incident can also be interpreted in another way such that, we can assume B to be moving away while A stood still as there is no other frame to compare with. How will we define proper time and improper time in this case? Do we have to take the initial point of A in space into consideration? Doesn't this mean we're taking space as a universal reference frame?


My credit has been really poor for a lot of years.  I really want to be able to have better credit but everything I do does not help.  Can anyone give me any insight on how to fix it up?


Will my RAID0 stay intact when I move it to a new computer?

My primary drive is a 250GB WD SATA drive. So, I added 2x 500GB 7,200 RPM WD SATA drives into my Windows Vista box and created a 1TB RAID0. I then formatted the the primary drive and installed Windows 7. To my pleasant surprise when I booted into Windows 7 my RAID0 was still intact and I kept trotting along the same as I did before.  Now I am replacing my motherboard, processor, and RAM and plan on formatting the primary 250GB drive again and using it to boot for a new clean install of Windows 7.  My question is: if I move these two SATA drives which are setup for RAID0 into the new system, install Windows 7 again, will the RAID0 remain?  Edit: Software RAID. I created it within Windows. The RAID0 does NOT contain the system boot partition.


Multidimensional aliens start collecting butterflies in bubbles. Nothing can stop them and the Earth is then destroyed. It was a short story. I remember the aliens were like robots, with spooky smiling faces that were only vaguely human.


Let $f:\left[a, b\right]\to\mathbb{R}$ be twice differentiable.  Suppose $f(a)=f(b)=f_{+}'(a)=f_{-}'(b)=0$ and $|f''(x)|\le M$.   Show that $|f(x)|\le \frac{M(b-a)^2}{16}$.  My try:  From taylor expansion we have $f(x)=\frac{f''(\xi _1)}{2}(x-a)^2$ and $f(x)=\frac{f''(\xi _2)}{2}(x-b)^2$.  Then $|f(x)|\le\frac{M}{2}(x-a)^2$ and $|f(x)|\le\frac{M}{2}(x-b)^2$  So $|f(x)|\le\min{(\frac{M}{2}(x-a)^2,\frac{M}{2}(x-b)^2)}\le\frac{M}{8}(b-a)^2$  But this conclusion is weaker than the aim.  And I thought through using $$f(c)=\frac{f''(\xi )}{2}(c-a)(c-b)$$ I can say$$|f(x)|\le\frac{M}{8}(b-a)^2$$ which only uses the condition that $f(a)=f(b)=0$ and is still weaker.  Any hints? Thank you in advance!


Years ago, I created a Gmail account. I no longer have the user or password information, and my primary email account has changed.  Can I recover this?


I have installed a font, and now I wish to remove it, but I am not sure exactly how. I installed it by opening the .TTF file and clicking the "Install" button. But there is no uninstall button, and no obvious way of uninstalling a font installed in that way.  So my question is really obvious, how do I uninstall a font installed in that way?


Probability of winning a game in tennis?

Suppose there is a tennis singles match, where Player A plays a single game against Player B.  The probability that player A will win a single point is $x$, and thus $1-x$ is the probability that Player B will win a point.  The scoring system in tennis goes 15, 30, 40, then game.  However a score of 40-40 is known as deuce and the winner of the next point gains an "advantage".  If this player wins again, he then wins the game, but if he loses the score returns to 40-40, or deuce.  So given the probability player A will win a single point is $x$, what is the probabilty that player A will win the entire game?


How can I enable Civ 5 mods on Mac OS X?

Officially, the Mac OS X version of Civilization V does not support mods. However, from common sense, some discussions I've found online, and Aspyr's poor track record, I'm guessing it is indeed possible to enable the mod browser and mod playing, at least for some mods.  So, is it possible? And if it is, how?


My General relativity skills suck. I need a good paper that   does not start with equivalence principle and pages of elevator experiments derives principles mathematically, not by physical intuition explicitly shows how to compute things, again not via Penrose diagrams, in fact just for  completion no modern dualities or any such. Just dirty old GR does not make outlandish statements without proper(mathematical) justification Uses understandable English Is short ( 15>pages>35 ) and concise   :::::::::::::::::::  It should probably be an older paper with language closer to that of the intrinsic geometry school, may be closer to Tullio-Levi's absolute differential calculus, but with a slight modern improvement in the language.   It should have the spirit of Dirac, by this his sweet way of keeping it short and relevant, as in his General Relativity book, but not using his exact style.


Get the append value of input tag in jquery

I'm using to append a div inside a div where the second div is the parent of an input tag.I tried to get the value of this input tag using .val() of jquery, but am not getting any value, not even null! Here is the HTML code,

   In to the #newDiv I am appending:  var v = "
Pancard Number *
<input id='panNumId' required='' type='text'name='panImg1' placeholder='Enter your Pancard number'/>
"; $('#newDiv').append(v);`   To get the value I wrote jQuery code as  $('#panNumId').change(function () {   var amount = $("#panNumId").val();   alert("value appended : " + valueApp); });   The problem here is that, when I call the element with the respective id, the element is not shown up, that is, I can't even select this element #panNumId.Is there any way that I can get the appended element.Iam not asking for an event problem, the problem is to get the element.Thank you for helping.The question which is set duplicate one,is not the answer which Iam looking for.My question is different.


Why doesn't the orange light filter appear bluish if it transmitts orange and reflects or absorbs all other frequencies?

I was going through the absorption and reflection phenomenon of light and this question struck my mind as I was walking through the light filters. Why does orange filter not appear bluish if it transmitts orange light and reflects all other lights except orange?


Show that if $u$ is harmonic in $\mathbb{R}^n$ and $u = o(|x|)$, then $u$ is constant.  I am trying to prove this result by the mean value property. But it doesn't work. Please help me. Thanks!  PS: I just realized that one can prove it easily by the estimates on the derivatives of harmonic functions, which implies a stronger result:   If $u$ is harmonic in $\mathbb{R}^n$ and $u \le C(1+|x|)^N$, then $u$ is a polynomial of degree at most $N$.   But I am still curious about how to prove it directly by the mean value property, which is the "Hint" for this problem.


Is there any built-in way to get the length of an iterable in python?

For example, files, in Python, are iterable - they iterate over the lines in the file. I want to count the number of lines.   One quick way is to do this:  lines = len(list(open(fname)))   However, this loads the whole file into memory (at once). This rather defeats the purpose of an iterator (which only needs to keep the current line in memory).  This doesn't work:  lines = len(line for line in open(fname))   as generators don't have a length.  Is there any way to do this short of defining a count function?  def count(i):     c = 0     for el in i: c += 1     return c   To clarify, I understand that the whole file will have to be read! I just don't want it in memory all at once


US visa issuance with delinquent credit card debt?

I did 5 years of post-college education in the US, 1993 to 1997. Due to financial issues, I was unable to pay my credit card bill of a certain bank. The debt remains unpaid. I do plan to pay and solve the debt later this year. Could I be denied a visa for having an unpaid bill?


I have a scanner that worked fine in UM 18.04. But no longer works in 20.04. Should I report that as a bug to Launchpad? What are the criteria for determining bugs?


Yesterday I faced somebody's angry and have downvoted several times so I asked the support about the reversal for downvotes and they answered that works same way as the upvoting reversal. Nice, but today when I logged in to my account, I have noticed that I received a upvoting reversal of 295 points!!!!(please, let me add more exclamations)!!!!!!!!!!  Here's my reputation board:    I'm so curious to figure out what was that for.  I have got +8 points for the downvoting reversal, which was five(-10) in fact. And you can count in your hands the upvotes I have received since Aug 16, about 8 I have counted.


How to solve this limit: $\lim_{x\to\infty}\sqrt{x+\sqrt{x}}-\sqrt{x-1}$

Compute the limit $\lim\limits_{x\to+\infty}\sqrt{x+\sqrt{x}}-\sqrt{x-1}$  my attempt:  I tried to multiply top and bottom by the conjugate  $$\begin{align} \lim_{x\to+\infty}\sqrt{x+\sqrt{x}}-\sqrt{x-1}&=\lim_{x\to+\infty}\left(\sqrt{x+\sqrt{x}}-\sqrt{x-1}\right)\frac{\sqrt{x+\sqrt{x}}+\sqrt{x-1}}{\sqrt{x+\sqrt{x}}+\sqrt{x-1}}\\ &=\lim_{x\to+\infty}\frac{\left(\sqrt{x+\sqrt{x}}\right)^2-\left(\sqrt{x-1}\right)^2}{\sqrt{x+\sqrt{x}}+\sqrt{x-1}}\\ &=\lim_{x\to+\infty}\frac{(x+\sqrt{x})-(x-1)}{\sqrt{x+\sqrt{x}}+\sqrt{x-1}}\\ &=\lim_{x\to+\infty}\frac{1+\sqrt{x}}{\sqrt{x+\sqrt{x}}+\sqrt{x-1}} \end{align}$$  But I don't know what I can do after this.


Hobo guy doesnt have Emo gloves in south Park: Stick of Truth

I've been stuck on this for hours, the hobo guy doesn't have the gloves. I've checked every vendor and I definitely didn't sell them. The game is awesome but this is ridiculous.


Stopping Windows from consuming my bandwidth while copying files over lan

When I copy a file over my network using windows (in this case 7), it seems to use all available bandwidth which means that I can't do anything else on the network while the transfer is in progress. How can I limit the amount of bandwidth that windows uses so that I can keep using my network during file transfers?


Allow uploaded images as replies in chat

In chat, almost everything works as a reply to a specific message, including oneboxes. The only thing that doesn't seem to work as a reply is an uploaded image. Even if I hit the reply button before uploading the image, it will always be posted like an empty message.  Curiously, even if I post an image that has already been uploaded, as a link, such that it oneboxes, I can do so as a reply. Apart from the little reply-arrow, this even looks identical to a freshly uploaded image (and I suspect that behind the scenes, uploading actually does just generate a onebox to the uploaded image's link).  So I guess I can currently work around this, by uploading the image first (e.g. by inserting it into a post on main which I then never submit), and then posting the link as a reply, but that seems rather like a rather annoying workflow.  So would it be possible, to take replies into account when uploading images, too?


How can I dynamically unload a javascript file?

I am including pages using Ajax but I also need to include their respective javascript files, which requires removing the previous javascript files from memory at the same time.  How can I unload the currently-loaded javascript files (as well as their code in memory) so that I can load the new page's files? They will more than likely conflict, so having multiple independent files' javascript files loaded.


Traverse a list in reverse order in Python

So I can start from len(collection) and end in collection[0].  I also want to be able to access the loop index.


Show that $\lim_{x \to a} f'(x) = A \Rightarrow f'(a)$ exists and equals $A$

Let $f:[a,b] \to \mathbb{R}$ be continuous on $[a,b]$ and   differentiable on $(a,b)$. Show that $\lim_{x \to a} f'(x) =  A > \Rightarrow f'(a)$ exists and equals $A$   I am unable to think of any way to solve this problem  I tried using mean value theorem on $[a,x ]$ for $a < x < b$   $\exists \; c \in ]a,x[ \; \Rightarrow f'(c) = \frac{f(x)-f(a)}{x-a} \Rightarrow \lim_{x \to a} f'(c) = \lim_{x \to a} \frac{f(x)-f(a)}{x-a} $  Now the RHS represents $f'(a)$ but how does it equals $A$? because $f'(c) $ is a constant


Do images uploaded to imgur.com have any backup?

It seems that images uploaded on the SE sites are hosted on . Are these images stored somewhere else too? I mean, is there some sort of backup plan for restoring them? What happens if  goes bankrupt or something bad happens to it?


IllegealArgumentException on invokation of specific method

I need to call a method on a class in a JAR file at runtime, using reflection.  My Code so far looks like this:  package com;  import java.io.File; import java.io.IOException; import java.lang.reflect.Constructor; import java.lang.reflect.Method; import java.net.URL; import java.net.URLClassLoader;  public class MyJarImport {      public static void main(String[] args) throws Exception{          // C:\\KnimeIntegrationProjekt\\Knime\\pmmlj         // C:\\Users\\marcel.hoffmann\\JavaWorkspace\\HelloWorld\\bin\\Hello         //C:\\Knime\\ClusterJar      File file  = new File("C:\\Knime\\ClusterJar");     try{     URL url = file.toURI().toURL();     URL[] urls = new URL[]{url};     URLClassLoader cl = new URLClassLoader(urls);      //loading the jar file from directory     Class<?> cls = cl.loadClass("MainModel");      Constructor<?> constructor = cls.getConstructor();     //instantiate the classfile     Object MainModelObj = constructor.newInstance();     /* searching the methods in order to get an instance*/     Method mGetInput = cls.getMethod("getInputFields");     Method mNumInputs = cls.getMethod("getNumInputs");     int dim = (int) mNumInputs.invoke(MainModelObj);      Method mMining = cls.getMethod("getMiningFunction");     String miningFunction = "";     /*returns either Classification, Regression or Clustering     not used yet, but maybe later to figure out what miningfunction has been used     that effects the content of evalOutputs[]*/     miningFunction = (String)mMining.invoke(MainModelObj);     String[] inputFieldUnsorted = new String[dim];     inputFieldUnsorted = (String[]) mGetInput.invoke(MainModelObj);     Object[] sortedInputs = new Object[dim];      int index = 0;     /*sorting the inputs from getInputFields respecting the getInputFieldIndex returns*/     for(int i= 0; i<inputFieldUnsorted.length;i++){         Method mInputIndex = cls.getMethod("getInputFieldIndex",String.class);         index = (int) mInputIndex.invoke(MainModelObj, inputFieldUnsorted[i]);         sortedInputs[index] = inputFieldUnsorted[i];     }     /* sortedInputs[] contains the column names of the iris.csv table invoking the evaluate method. concerning the documentation the method u need to call in order to use the model inside the jarfile*/     Method mEvaluate= cls.getMethod("evaluate", Object[].class);    /* allocating an array for the outputs of the evaluate method*/     Object[] evalOutputs = new Object[dim];     evalOutputs = (Object[]) mEvaluate.invoke(MainModelObj, sortedInputs, inputFieldUnsorted);    /* closing the opened classloader*/     cl.close();     } catch(IOException e) {         System.out.println("File not found!");         e.printStackTrace();     } catch (ClassNotFoundException e) {         e.printStackTrace();         System.out.println("Class not found!");     }     } }   This code throws an exception --  IllegalArgumentException:wrong number of arguments:   Exception in thread "main" java.lang.IllegalArgumentException:  wrong number of arguments at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.MyJarImport.main(MyJarImport.java:58)   I referred to the documentation and it says that the method signature is something like:  Object[] MainModel.evaluate(Object[] inputs);   I debugged the code and I think everything works, in terms of the values of the variables. But this call seems to be the problem.   I just read something about invocation, that says the VM tries to invoke the main method of the jar file and the main methods requires its String[] args parameter, but why would it do that, if I want to invoke an explicit method?  I hope someone can help me with this little problem.


If $A$ is an empty set, how should I understand $\forall x\in A$?

It might look quite stupid, but I had become little confused when understanding empty functions. Anyway, my question is,  If there is a statement $P(x)$ starting with "for $\forall x\in A$,..." and $A$ is an empty set, should I understand this as because the assumption is false, the conclusion is absolutely true? If not, how should I?    Well, the place where I got stuck was this: For every set X, there exists a unique empty function $f : \emptyset \rightarrow X$. To prove this I should set two empty functions $f_1, f_2$, and show that $\forall x\in \emptyset$, $f_1(x)=f_2(x)$. When thinking as I stated above, since the assumption is false, the conclusion is true. But instead if we think about a statement $\forall x\in \emptyset$, $f_1(x)\neq f_2(x)$, this may be also true....(?)


Is therea List of unlocked regions for Pokemon Go?

Is there a List of regions and countries where pokemon-Go is already unlocked, and/or when certain countries are beeing unlocked?  There are no informations regarding this on the official Pokemon-Go website.


Find the radius of convergence of $\sum_{n=1}^{\infty}{n!x^{n!}}$. Should I look at this series as: $\sum_{n=1}^{\infty}({n!x^{(n-1)!})x^{n}}$? I am really confues here. In addition, any attempt to compute any kind of "lim sup" fails. I would appreciate your help in this.


What does a supercharge physically conserve?

What is actually being conserved? I've calculated it for the Wess-Zumino model but I still have no idea what is actually being conserved due to Noether's Theorem.  There is already a , but the answers don't actually say if there is anything physically conserved.  I have heard that the number of fermions is kept equal to the number of bosons, but is this not a fact that susy requires? I feel like it doesn't actually come from the charge itself.  In Qmechanic's answer it is said that "the experimental consequences of a conserved supercharge are extracted by other indirect means." What are these means?


McAfee found 2 viruses but could not fix automatic opening of unwanted firefox and chrome pages and javascript

Having downloaded and installed a sound recording software which contained viruses causing unwanted web pages and javascript panels to pop up, I thought I would get rid of the problem by installing AVIRA, but that did not work. So I've just uninstalled Avira and installed the commercial software McAfee. Having run a complete 8 hour or more scan on my Windows 7 Home Premium 64-bit coomputer, I now have ended up with the following window:    I can't believe the problem couldn't be fixed. I always thought McAfee could get rid of all PC problems. Now what? Am I stuck forever with these two viruses????    EDIT: Now I get it. McAfee would have blocked these programs before they could actually get installed had I installed it before running any programs from the Internet without checking out any comments by other users (and the program I downloaded that contained the viruses, called Free Audio Converter 2015, actually was the first result when I typed free audio converters in the google search box (an inorganic paid result). What a scam. Now these viruses have opened the door for many more viruses. I have even called McAfee support and they would only help me for a fee and would not offer free support, not even as a one-off, for my localized version of Windows. So now, my decision is: back up my user directory and reinstall everything from scratch!!!! (that will get rid of all viruses and malware for good), and install McAfee as soon as the Windows installation is finished.


Two players alternately flip a coin; what is the probability of winning by getting a head?

Two players, $A$ and $B$, alternately and independently flip a coin and the first player to get a head wins. Assume player $A$ flips first.  If the coin is fair, what is the probability that $A$ wins?   So $A$ only flips on odd tosses. So the probability of winning would be $$ P =\frac{1}{2}+\left(\frac{1}{2} \right)^{2} \frac{1}{2} + \cdots+ \left(\frac{1}{2} \right)^{2n} \frac{1}{2}$$  Is that right? It seems that if $A$ only flips on odd tosses, this shouldn't matter. Either $A$ can win on his first toss, his second toss, ...., or his $n^{th}$ toss. So the third flip of the coin is actually $A$'s second toss. So shouldn't it be $$P = \frac{1}{2} + \left(\frac{1}{2} \right)^{2} + \left(\frac{1}{2} \right)^{3} + \cdots$$


What is the cost personally of my Trip please


Voltage applied to secondary is not matching calculation

Why is the RMS voltage applied to the secondary not 3.3 V in Multisim? 120/36 = 3.3 V


Precedence of the shell logical operators &&, ||

I am trying to understand how the logical operator precedence works in bash. For example, I would have expected, that the following command does not echo anything.  true || echo aaa && echo bbb   However, contrary to my expectation, bbb gets printed.   Can somebody please explain, how can I make sense of compounded && and || operators in bash?


Based on certain patterns exclude lines in file


Here is an excerpt from The Hitchhiker's Guide to the Galaxy:     'He threw away a copy of Joseph and the Amazing Technicolor Dreamcoat , he threw away a copy of Godspell: he wouldn't need them where he was going.'   My understanding is that independent clauses should be separated by a conjunction, a semi-colon, or a full-stop. Therefore, shouldn't this sentence read     'He threw away a copy of Joseph and the Amazing Technicolor Dreamcoat ; he threw away a copy of Godspell: he wouldn't need them where he was going.'   Although I think the second sentence is technically correct, I would say that the first sentence is more natural. If commas and semi-colons can be thought of as cues for how long we should pause when reading a sentence, then the first sentence is a clear winner. So is Douglas Adams breaking a punctuation rule in the interests of readability, or is no rule being broken at all?


Why does changing the content of a char pointer passed as a parameter to a function lead to a SIGSEGV?

I was wondering why the following code leads to a SIGSEGV? #include <stdio.h> #include <stdlib.h> #include <string.h>  void splitt(char string[255]){        string[1] = 'a';  }  int main (void){          splitt("cut");      }  I thought that if I passed a pointer to a function as a parameter, I could change the content of the pointer in this function and this would also have an effect in the calling function. That's why I'm confused why this doesn't work. Thank you in advance for any help!


I want to upgrade from 14.04 to 14.04.2 without doing a fresh install.  I want to keep all my configuration the same.  How can I do that?


Do you know the reason why we must use the article a instead of the in the following?

A human ear responds to a wide range of frequencies.   My teacher already has said me, when you are speaking about a part of your body that it belongs to it- it is not artificial et cetera- you must say the following:  the eye  the ear  .  .  et cetera.  But, I just have seen the above sentence.  Would anybody kindly elaborate it?  Many thanks


Is there a way I can disable mods for specific players?

My friends and I want to do a Magic v Science server where each team can only use their given mods. Is there a way to prevent the magic team from using mods like Thermal Expansion, Industrial Craft 2 etc., and the science guys not having access to Ars Magica, Witchery etc?


How common the usage of "fortnight" instead of "two weeks ago"?

Today firstly I recovered by  that the words "two weeks ago" can be replaced by the word "fortnight", while so far I didn't came across this thing. How common is this word?   It's not clear to me if "two weeks ago" is used by native English speakers or maybe they should say "fortnight" instead. In other words, I would like to know if I should use it in the spoken language or it's considered weird in spoken language?      "About a fortnight ago, four men were sentenced to one month in prison   after eating in public."


Adjectives after noun: " in a layer high"

I can't figure it out why we put 'high' after noun 'layer'. What does it mean? When can we use adjectives after nouns? Is there any difference in the meaning if we swap the position of the adjective and noun in the example above?     ozone   a form of oxygen that is found in a layer high in the earth's   atmosphere.


I'm attempting to figure out an error message that I got from dnsstuff.com when examining my DNS records.  The error reads as follows.     NS list does not match list from parent zone. This should be addressed because queries for this domain may require an extra lookup (and more overhead) because there is no direct relationship between the NS records at the parent and the NS records at the authoritative servers. This can cause delays. The mismatched NS list is:      nameserver ns1.domain.co. | xxx.xx.xxx.xxx is missing NS2.domain.co. | yy.yyy.yy.yyy   There are a couple questions I have regarding this.   What is the difference between a parent and authoritative zone?  In other forum posts I've seen, the seem to be used interchangeably (although that could be my misperception). What does it mean for the NS list not to match the list from the parent zone?  What is "the list from the parent zone" to which they refer? How might you recommend that I resolve this?   In case this affects any answers, I'm running Virtualmin on Ubuntu 12.04.  Any help is appreciated.  Many thanks in advance!


Continuous unbounded but integrable functions

Many tricky exercises concern the quest for functions that satisfy particular conditions. For example, let us consider the spaces $C_p( \mathbb R), 1 \leq p < \infty$, of continuous functions on $\mathbb R$ such that $\int_{\mathbb R} \lvert f(x) \rvert^p \mbox{d}x < \infty$. I found the following exercises rather demanding:   Find a function $f\in C_1(\mathbb R)$ such that $f$ is unbounded; Find a function $f \in C_1(\mathbb R) \backslash C_2(\mathbb R)$.   so one can deduce that $C_p \not\subset C_q$ if $p < q$.  I'm quite sure that a function defined to be zero everywhere except for triangular peaks of height $k$ and base $1/k^3$ centered on positive integers $k$ is a solution for both the exercises. (it's a simple matter to give to this function an explicit form, but I think it would be rather unclear.)   Is it correct?  Can anyone give other examples? (for the one or the other exercise, not necessary a solution of both of them!)


How do I move the Launcher to the bottom?

I'm using Ubuntu 16.04, it's as new as I can get without the PC running slow (old computer lol) and I like Ubuntu, but the only thing that bugs me is where the launcher is, I'd like to move the launcher down to the bottom, kinda like Windows, and again I can only us Ubuntu 16.04 because if I us 18.04 it starts running really really slow. If there's not a way I'll eventually get over it. But I would like to move the Launcher to the bottom, I don't mind it if it's a terminal command(as long as you go step by step) or through something else, it's just annoying and seems like it's faster if I move it to the bottom. Thank you to all who's willing to answer my question.


Where to ask for information about cloud integration

I'm currently starting my internship, and I need to gather knowledge related with the integration of cloud services (SaaS).  I'm currently comparing integration platforms available in the market (iPaaS and similars), and the next steps are to analyze approaches to integrate services, and also look for open-source libraries related with the integration of services.  My question is in which Stack Exchange site should I ask for people's opinion on these issues?


Schengen visa holder issued by the Italian embassy - getting into Romania via Frankfurt?

I'm planning to go to England, Romania and Italy in June.  I have applied for the English and the Italian visa and both were approved, But when I went to the Romanian embassy in Dubai, I was told that I don't need a visa to enter Romania because I hold a multiple entry Schengen visa and that will allow me to enter Romania for 4 days.   Now I have booked my tickets - Dubai - England, England - Romania via Frankfurt, Romania England via Frankfurt and then England - Italy.   My question is would I be fine traveling to Romania via Frankfurt, considering that I got my Schengen visa from the Italian embassy and that is not my first destination and I do not hold the Romanian visa?


Quantum mechanics potential barrier problem

While reviewing some quantum mechanics, I cam across a very interesting situation.  For a potential barrier, if a particle has an energy $E$ less than the potential barrier $V_0$, it is possible to measure it inside the potential barrier or the classically forbidden region quantum mechanically.  But, if we calculate reflection and transmission coefficients for the wave, we find out $R=1$ and $T=0$ which means the wave will be fully reflected and no transmission will take place. But still there is probability of finding it inside the potential barrier. How?


Discrepancy between Google Ads clicks and Google Analytics sessions

After a month of ads with Google Ads Shopping campaigns and continuously identifying, day after day, a significant discrepancy of clicks on Google Ads and Sessions in Google Analytics (as well as another analytics tool that brings numbers very close to analytics's numbers), I contacted Google Support. For more than 3 weeks, after numerous interactions and different/contradictory suggestions/explanations/solutions, it finally seems that my case has taken a direction towards the solution, but the result that has been passed to me, despite having convinced me that it is the which may actually be the cause of the problem, was not satisfactory to me. I was really disappointed with the procedure Google Support provided me, and would like more explanations and information from the community.  What I got last through Google's support was this:     "There are two methods for logging out of a session: a session can be   opened on the same day or on several days, weeks or months. Expiration   by time: After 30 minutes of inactivity At midnight Campaign Change:   If a user enters through a campaign, he leaves and then comes back   through another campaign. Why is there a discrepancy between clicks   and sessions? I have separated this  from the help center that   explains specifically what we said in connection If you've noticed one   of the following discrepancies between clicks and sessions, use the    to identify and resolve issues.   As well as reporting the discrepancy between clicks and sessions up to   20% is considerable. "   Among the Google help links passed by the support, it has not been clear to me whether a 20% less discrepancy in the number of sessions in relation to clicks is normal or if only when the session number is higher (the phrase "A single user can open multiple sessions" suggests that it is only normal when the number of sessions is higher).  But if it's really normal that the number of sessions is 20% less than the number of clicks, I'm led to think of the possibilities:  1 - Analytics fails as a tool to count 100% the number of sessions (accessed by the same person or by different people). Once when a click occurs, the user is taken to the site and must count as a session. If it is normal for analytics to compute 20% fewer sessions than clicks, soon the analytics fail to compute all the sessions.  2 - Google uses this explanation to be able to charge up to 20% more clicks than clicks that actually occurred from its users.  I do not like to believe in either hypothesis, first to rely on Google Analytics as a tool to identify sessions and because their numbers are very similar to that of a third analysis tool used (built by my ecommerce platform), and also for not believing that a company like Google would lend itself to deliberately charging 20% more clicks from its customers. So I turn to the community so maybe someone will bring me a third alternative that I have not been able to identify and/or a totally different explanation from the one I received from the support (as they have done so many times over the course of those weeks).


In Star Trek (2009), Did the Original Timeline Survive?

Usually, in Star Trek, when there's a timeline change, the indication is that the original timeline is gone and replaced with the new one.  In City on the Edge of Forever, Kirk makes a comment that if they don't get the timeline straight, that millions of people who never died before will die.  Much of the time travel in Trek created suspense by declaring a need to restore the original timeline.  It's already been discussed in other questions about how, in the new movie (simply titled Star Trek with no subtitle or series number) they were unable to restore the original timeline.  While some of this is open to interpretation, it seemed like in this instance, for the first time, in Trek, there was an alternate timeline that was seen as an alternate possibility - no reference was made to it replacing the original timeline.  In this movie, was there any reference to the original timeline still existing?  In this movie, was the original timeline still considered to be intact?


Python - changing element value of a list in list

I have a list in list. All the values are False. I have to change value to True of a very specific one.  s=[[False,False,False,False]    [False,False,False,False]    [False,False,False,False]    [False,False,False,False]]   I want to change it into this:  s=[[False,False,False,False]    [False,False,False,False]    [False,True,False,False]    [False,False,False,False]]   P.s.: I tried doing this:  s[2][1]=True   But i got this:  [[False,True,False,False] [False,True,False,False] [False,True,False,False] [False,True,False,False]]


Implement a Counter to track records by record type

I have an object called 'Protocols' with 5 record types that will produce 5 types of documents. For each type, I need to track the number of documents that have previously been published, e.g. Protocol Lease #00001, Protocol Incident #00001, Protocol Return #0001, etc.  If each type was in a separate object, this could have been done through autonumber on record name. Not the case here.  It seems like custom metadata and custom settings cannot be updated with a trigger or process.  I am wondering if there is a way to create global variables that can be updated programatically?  Any ideas?


How can i burn an Windows 8 iso in a USB with ubuntu? Como monto una imagen ISO de Windows 8 desde ubuntu?

Como puedo montar una imagen ISO de WIndows 8 en un USB para luego instalarlo junto a ubuntu??? He encontrado programas pero son para windows y con el unetbootin no me funciona bien, ayuda!  How can I mount an ISO image of Windows 8 on a USB with ubuntu ???  I have found programs for Windows (I need in ubuntu) and the unetbootin did not work well , help!  Sorry for my english :\


Trouble Making Macbook Pro Retina Power 3 External Displays

I have a late 2013 15" Macbook Pro Retina (the newest model as of the time of this question). I've seen numerous blog posts that show this computer powering 3 external displays, plus the built in retina display, but I can't make it work. I have a 22" ASUS connected by mini display to VGA adapter, a 30" Hannspree connected by mini display to HDMI adapter, and a 22" LG connected to the built-in HDMI. I can get every combination of 2 monitors working plus the built-in, but I can't get all 3 external on at the same time. I've tried with the built-in open and closed. I've also tried using 2 mini display to VGA adapters. According to a CNET article, this should work!


I have a div tag which contains text, and I want to align the contents of this div vertically center.  Here is my div style:        div {      height: 200px;      line-height: 200px;      text-align: center;      border: 2px dashed #f69c55;    }    span {      display: inline-block;      vertical-align: middle;      line-height: normal;    }   Here is my html
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Haec et tu ita posuisti, et verba vestra sunt. Non enim iam stirpis bonum quaeret, sed animalis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Haec et tu ita posuisti, et verba vestra sunt. Non enim iam stirpis bonum quaeret, sed animalis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Haec et tu ita posuisti, et verba vestra sunt. Non enim iam stirpis bonum quaeret, sed animalis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Haec et tu ita posuisti, et verba vestra sunt. Non enim iam stirpis bonum quaeret, sed animalis.
   I wanna text like in image below:-   i.stack.imgur.com/a5wQe.png


"Watched any" vs "saw any" in a sentence

Have you watched any new movies?  Is this the correct way to ask? Or is it better to ask Saw any new movies?


Show that if n is a positive integer, then  $${2n\choose0} + {2n\choose2}+ \dots + {2n\choose2n} = 2^{2n-1}$$ I assume the proof is done by induction but how to I do the k+1 case?


How can I go about displaying a date that is formatted to a users locale, for example me and my Australian friends use the format dd/MM/yyyy, while the Americans amoung us use MM/dd/yyyy. I know I can format a date in visualforce like so  <apex:outputText value="{0,date,dd/MM/yyyy}">     <apex:param value="{!myDateValue}" />  </apex:outputText>   but how can I use the salesforce locale,   but how can I use these on my page?  I have found a very comprehensive solution , but I was hoping someone new of an inbuilt, or more elegant way.


I have a tikz file that contains a table. Can I tell tikz to square all $y$-values before plotting? That is, I want the entry $(2,3)$ to be plotted at $(2,9)$, without changing all entries in the table by hand.


Apache2: Forbidden You don't have permission to access /dir/ on this server

I can access localhost but not the sub directories index.html  My default conf looks like:  <VirtualHost *:80> ServerAdmin webmaster@localhost  DocumentRoot /var/www <Directory />     Options FollowSymLinks     AllowOverride None </Directory> <Directory /var/www/*/>     Allow from None     Order allow,deny </Directory> <Directory /var/www/>     Options Indexes FollowSymLinks MultiViews     AllowOverride None     Order allow,deny     allow from all </Directory>  ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin">     AllowOverride None     Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch     Order allow,deny     Allow from all </Directory>  ErrorLog ${APACHE_LOG_DIR}/error.log  # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn  CustomLog ${APACHE_LOG_DIR}/access.log combined     Even after allowing read/edit/write access to the directory, its showing Forbidden error. Tried all possible ways out in forums, didnt worked. Anyone has a solution.  Between above I tried something for sub directory access:  <Directory /var/www/*/>     Allow from None     Order allow,deny </Directory>   Please suggest me possible solution. Thanks!


Fairly new to regex, looking to identify a user id pattern that is all alpha, is exactly 6 characters, and the second character is always a Z.  Any help would be appreciated.


Prove inequality $(1+x+y)(1+y+z)(1+z+x) \ge 9(xy+xz+yz)$

I need to prove inequality $$(1+x+y)(1+y+z)(1+z+x) \ge 9(xy+xz+yz)$$ for nonnegative $x,y,z \ge 0$  I can do it with partitional derivates $$f(x,y,z)=((1+x+y)(1+y+z)(1+z+x)-9(xy+xz+yz))$$ and find $$ \frac{\partial f}{\partial x}=2xy + 2xz + 2yz + z^2 + y^2 + 2x - 6y - 6z + 2$$ $$ \frac{\partial f}{\partial y}=2xy + 2xz + 2yz + x^2 + z^2 + 2y - 6c - 6x + 2$$ $$ \frac{\partial f}{\partial c}=2xy + 2xz + 2yz + x^2 + y^2 + 2z - 6x - 6y + 2$$ minimum value of function $f$ is $f(1,1,1)=0$ that's why $(1+x+y)(1+y+z)(1+z+x) \ge 9(xy+xz+yz)$.  But I need the prove without partitional derivates.  Any standart inequality (Inequality of arithmetic and geometric means, Cauchy–Schwarz inequality) don't help me.


Exclude certain pages from using a HTTPModule

Is there a good way to exclude certain pages from using a HTTP module?  I have an application that uses a custom HTTP module to validate a session. The HTTPModule is set up like this in web config:  <system.web>   <!-- ... -->   <httpModules>     <add name="SessionValidationModule"        type="SessionValidationModule, SomeNamespace" />   </httpModules> </system.web>   To exclude the module from the page, I tried doing this (without success):  <location path="ToBeExcluded">   <system.web>     <!-- ... -->     <httpModules>       <remove name="SessionValidationModule" />     </httpModules>   </system.web> </location>   Any thoughts?


Captive WIFI portals suck.  So often when I open in a browser (Desktop Chrome or Mobile Chrome) a HTTP site, I get the captive portal, but with auto-completion and so quickly I connect again to WIFI.  The problem is that after the captive portal redirects, I'll have also a HTTPS redirect and Chrome remember the certificate and to use only HTTPS.  So I cannot use the same site twice (in a session).  A well-known public HTTP only site will resolve this.  Well-known sites usually work, causing some less debugging of the WIFI connection.


Casting instants between first strike/normal strike combat phases

Let's say I have a 1/1 with first strike that's attacking and blocked by a vanilla 4/4.  It deals first strike damage, but that's not enough to kill the defending creature. Right now, the attacking creature will have to take damage from the blocking creature.  Before the attacking creature takes that damage, can I “finish off” the blocking creature by casting  and avoid it taking damage?  I am unsure whether,and when,a player gains priority during that step.  What, in my opinion, distinguishes this question from the others with which it can be associated, is the exact moment in which the players have the priority to cast spells again, which I believe should be placed exactly between the conclusion of the "first strike damage assignment phase" - in which first strike creatures assign their damage - and  the "ordinary combat phase" - in which other creatures without first strike assign their damage.     It should be specified when players gain priority and it is possible to cast spells able to damage creatures during combat, and if it is possible to do so; and, above all, if these damages due to spells are assigned without the possibility,for creatures without first strike, to respond to them.    I don't think these are trivial things ...


Custom Controllers - effect of running in System mode

The VisualForce Developer's Guide says:     Like other Apex classes, all custom controllers run in system mode. Consequently, the current user's credentials   are not used to execute controller logic, and the user's permissions and field-level security do not apply.   To play around with this idea, I set up a profile that could read the Case object, but did not have visibility of the Description field. I then assigned this profile to a user.  My understanding of the quote from the VF developer's guide was that any user would still be able to access the field (i.e. see it if it was referenced in a VF page). However, that doesn't appear to be the case. The following code is a quick page that displays the Description field. Logged in as the test user, the field is not visible.  <apex:page controller="PermissionsController">     <apex:form >         <apex:pageBlock >             <apex:pageBlockSection >                 <apex:outputLabel value="{!c.Description}" />             </apex:pageBlockSection>         </apex:pageBlock>     </apex:form> </apex:page>      public class PermissionsController {      public Case c {get; set;}      public PermissionsController() {         c = [SELECT Id, Description FROM Case WHERE CaseNumber = '00001031'];     }   }   Interestingly, even when I switch the Case permissions off completely for the test profile, the user with that profile can still see the page, if not the field, but if I use a standard controller, then the normal insufficient privileges page is shown.  Does the quote basically mean that the code will still access all objects and fields referenced in the controller, even if the running user doesn't have permission, but the normal field level visibility is applied for the VisualForce page?


Windows 8 / Ubuntu 13.10 in dual boot - how to make Grub by default to manage it

good afternoon every. as it's said in the title, I have Windows 8 and Ubuntu on my laptop (EFI) and it boots automatically on Windows 8. To boot on Ubuntu, I have to change the boot order with the F9 key. it's annoying so I want Grub manage it, what must I do?


How to remove Ubuntu and put Windows back on?

I have absolutely no experience with Linux, and I desperately need to get my computer back up and running again with Windows.  How do I remove Ubuntu and reinstall Windows?    Editor's note: many of the answers are about removing Ubuntu from dual-boot but keeping Windows (which is a bit complicated), while other answers are about removing Ubuntu from single-boot (which is easy: basically just format the disk while installing Windows). The question as written is ambiguous between dual-boot or single-boot.


So "how do I do this" with no effort shown is on topic now?

Saw .  The new close reasons do not include "no research effort shown or attempt at solution made", so I just downvoted and left.  Is this by design?


I want to draw a simple graphics rectangle\ circule in QGIS 2.12, just as i do it in ArcGIS:       I red       and installed the tool "Rectangles ovals digitizing in QGIS", but it works only when i edit a layer. I want graphics rectangle box and not editing a layer, just has in the Print Composer Layout


Install 64bit apps on 64bit machine running 32bit OS

I have a 64bit machine but because of some graphical troubles,i was obliged to install ubuntu 32bit.Now I need to install indesign 64bit trough Wine.Do you think there is a way to install 64bit apps on my 32bit OS as I have 64bit machine performance?


Is there a way to get Google Calendar reminders to act like Alarms?

I miss many calendar reminders because they're just too subtle. I might put my phone down and walk out of the room for 5 minutes, missing the reminder, then come back and not touch my phone again for an hour; completely missing an important appointment.  If reminders worked like alarms, they would make their notification sound continuously (up to a point, like alarms: ~10 minutes), and take over the whole screen, until silenced. That would be preferable to me. Is there an app that can do this?


What is the most efficient way to compute the difference of lines from two files?

I have two lists in python list_a and list_b. The list_a have some images links, and the list_b too. 99% of the items are the same, but i have to know this 1%. The all surplus items are in list_a, that means all items in list_b are in list_a. My initial idea is subtract all items: list_a - list_b = list_c, where the list_c are my surplus items. My code is:  list_a = [] list_b = [] list_c = []  arq_b = open('list_b.txt','r') for b in arq_b:     list_b.append(b)  arq_a = open('list_a.txt','r') for a in arq_a:     if a not in arq_b:         list_c.append(a)  arq_c = open('list_c.txt','w') for c in list_c:     arq_c.write(c)   I think the logic is right, if i have some items, the code is run fast. But i dont have 10 items, or 1.000, or even 100.000. I have 78.514.022 items in my list_b.txt and 78.616.777 in my list list_a.txt. I dont't know the cost of this expression: if a not in arq_b. But if i execute this code, i think wont finish in this year.  My pc have 8GB, and i allocate 15gb for swap to not explode my RAM.  My question is, there's another way to make this operation more efficiently(Faster)?   The list_a is ordinate but the list_b not. Each item have this size: images/00000cd9fc6ae2fe9ec4bbdb2bf27318f2babc00.png The order doesnt matter, i want know the surplus.


compare value with all the fields of a table in mysql

I ahve a table called info_acc (id,state,country,zip) now i need to compare a set of keywords with al the fileds of this table say value is Alaska I need to compare this with id,state,country,zip and in match with any filed then row(s) will be selected. How can I do this with efficient way? Thanks


Can someone explain how to use how V.S. whom? Please give an example for both, please!


Dock randomly switches between screens. Any way to stop?

I have a iMac running OS 10.9.3 that has 2 monitors connected to it.  Randomly, thourhgout the day the dock will flip either to the left or right screen. Its pretty annoying.  Does anyone know what is causing this or how to fix it?


Why are there two photons in pair production Feynman diagram?

Given    I wonder why are there two photons entering in a) pair production? Isn't it one photon resulting in $e^+e^-$ ?


Suppose I have got a list of result set of string as below :   [ B397 B406 B431 B434 B468 B820 B85 ]   I have another list  as below :   [ B397 B406 B431 ]   If I want to filter out of result set using list B, then return result set as :   [ B434 B468 B820 B85 ]   How can I filter out?   workings :    new_set = []      for item in result_set:             // item found in another list                  new_set.append(item)


Is this weird pattern in my residual plot normal?

I've been having some troubles interpreting my residual plot to check the assumptions for multiple linear regression. I've checked for independence by calculating Durbin Watson and I've checked for collinearity, both okay. However, my residual plot looks very strange to me, and I think it's because my dependent variable (and independent variables as well) is job satisfaction, measured with only 1 question where the respondents had to indicate their satisfaction with 1, 2, 3, 4 or 5, ranging from very satisfied to not satisfied. So there are only 5 different values for my dependent variable. I think that is why my residual plot has these strange parallel lines.   However, I have no idea how to check for a linear curve and normal distribution. I think homoscedasticity is okay, right? But I think it's not a good sign that the parallel lines aren't all distributed around zero.   Can anyone help?


Where can I find service pack 1 installer for windows 7 ver 6.1.7600?

I am searching for the service pack 1 installer of Windows 7 version 6.1 build 7600, and can't seem to find it.  Can someone help me and provide me a link for this build version ?  Thanks.


Subtract the date from current date javascript

I want to subtract the pastDate with current date and check if the different is greater than 7 days. I am trying to do with momentjs but the subtract doesn't seems working my way.  pastDate= "2018-03-09 22:53:19"; dateFrom = moment(Date.now() - pastDate).format('YYYY-MM-DD HH:mm:ss');  if(dateFrom >= 7 ){   console.log("Expiry Date"); }   Please help me with correct syntax.


I use 'book' document class. However, an addition of extra page after every chapter is inconsistent

I am using a book document class. I use \include{} to include a chapter. I checked the spec, it says for book class an extra empty page is added after every chapter. However, what I observe is the empty pages are inconsistent. i.e at for some chapter empty pages are added and for some they aren't.


Can one modify ubuntu and publish it as their own linux distro?

Ubuntu is coming under open source  licence. Whether if one wish to make some change in kernel or any other change (let it be the gui appearence) and publish it as their  own linux distro is legal?


Why is there a definite article in the phrase "jump in the air"

I must admit, that despite having spoken English for quite some time, i still cannot grasp all the intricacies of articles. My native tongue just doesn't have them, and they continue to perplex me.  The phrase "jump in the air" seems to stand out as something unusual. One is not jumping into the tank with some specific air, but instead is just jumping upwards, whatever air one meets there is quite irrelevant and unknown.  I have read , which was very helpful, but i don't believe is relevant in this example. Would one consider "jump in the air" to be an idiom? If so, that would explain it.


Unable to execute .jar file from terminal despite having Java installed

I've installed the latest release of JDK with NetBeans on Ubuntu. When I attempt to execute a .jar file from the terminal with java -jar Minecraft.jar, this is outputted:  The program 'java' cannot be found in the following packages:  * default-jre  * gcj-5-jre-headless  * openjdk-8-jre-headless  * gcj-4.8-jre-headless  * gcj-4.9-jre-headless  * openjdk-9-jre-headless Try: sudo apt install <selected package>   What are possible fixes to this issue?


Reflection of sound waves from the open end of an organ pipe & relationship b/w nodes & pressure

We know that standing waves are created when any wave traveling along the medium will reflect back when they reach the end. But in an open organ pipe, there is nothing to oppose the wave and reflect it back. So then how are standing waves created in such a case? In standing waves where is the pressure greater, at nodes or anti-nodes?


Background  Looking to achieve a fairly complex layout from a Markdown source document. The layout resembles:    Code  \usemodule[newcolumnsets,visual]  \setuphead[chapter][   header=empty,   footer=empty,   number=no,   page=yes,   before={\blank[none]},   after={\blank[none]}, ]  \setuphead[section][   number=no,   before={\blank[small]},   after={\blank[small]}, ]  \definepapersize[BookPageSize][   width=601mm,   height=305mm, ]  \definelayout[BookPageLayout][   backspace=10mm,   cutspace=10mm,   width=585mm,   height=147mm,   topspace=10mm,   header=0mm,   footer=0mm, ]  \setuppapersize[BookPageSize] \setuplayout[BookPageLayout]  % No page number at the top. \setupheadertexts[] \setupfootertexts[]  \setupindenting[yes, small]  \definecolumnset[BookColumns][n=4,distance=0.0333\makeupwidth]  % left page (even page numbers) \setupcolumnset[BookColumns:1][width=.5\makeupwidth] \setupcolumnset[BookColumns:2][width=.125\makeupwidth] \setupcolumnset[BookColumns:3][width=.125\makeupwidth] \setupcolumnset[BookColumns:4][width=.125\makeupwidth] % right page (odd page numbers) \setupcolumnset[BookColumns:5][width=.5\makeupwidth] \setupcolumnset[BookColumns:6][width=.125\makeupwidth] \setupcolumnset[BookColumns:7][width=.125\makeupwidth] \setupcolumnset[BookColumns:8][width=.125\makeupwidth]  \definecolumnsetspan[BookIllustration][n=4]  \starttext   \startbodymatter     \startcolumnset[BookColumns]       \chapter[title={Title},reference={title}]       \subsection[title={Subsubtitle},reference={subsubtitle}]       \column        \input ward        \section[title={Subtitle},reference={subtitle}]        \input knuth       \input tufte        \section[title={Subtitle},reference={subtitle}]        \startformula  \frac{\dot{R}^2}{R^2} = \frac{8\pi G}{3}\rho - \frac{kc^2}{R^2}  \stopformula        \startformula  \frac{\ddot{R}}{R} = -\frac{4\pi G}{3} \left(\rho + \frac{3p}{c^2}\right)  \stopformula        \input tufte        \placefigure[bots]{}{\externalfigure[https://i.imgur.com/nSBuPAA.jpg][width=\paperwidth]}     \stopcolumnset   \stopbodymatter \stoptext   This code produces the following, which is pretty close:    Problems  There are a few issues:   The fourth column contains a lot of whitespace at the top. The second column contains garbled text (could be a page height issue). The image is displayed on the second page.   Questions  How can I resolve these issues without changing the body matter, but affording some tweaks to \placefigure such that:   the last column is aligned to the top; the garbled text does not appear; and the image is on the same page as the text?   Version  Using ConTeXt 2019.04.04 13:31.


what function that is differentiable 2019 times, but is not differentiable 2020 times?

Please give a example of function that is differentiate 2019 times, but is not differentiate 2020 times


Let $f(x)$ be a polynomial in one variable $x$ and let $\alpha$ be its $\delta$-multiple root  ($\delta\ge2$).   Show that in the Newton's $x_{k+1}=x_k-f(x_k)/f'(x_k)$, the rate of convergence to $\alpha$ is not quadratic.  My solution: Suppose that $\alpha$ is one regular root of equation.Then  $$x_{k+1}=x_k-\frac{f(x_k)}{f'(x_k)}=\phi(x_k)$$ convergence rate to $\alpha$:  $$x_k-\alpha=\phi(x_k)-\phi(\alpha)=(x_k-\frac{f(x_k)}{f'(x_k)})-(x-\frac{f(x)}{f'(x)})$$ $$(x_k-\alpha)=(f'(x_k))^{-1}(f(x_k)-f(x))=(x_k-\alpha)+(f'(x_k))^{-1}\{ f'(x_k)(x_k-\alpha)+O((x_k-\alpha)^2)\}=f'(x_k)^{-1}O((x_k-\alpha)^2))  \tag{1}$$  so the convergence rate to $\alpha$ is quadratic.  But if $\alpha$ is not regular root, then $(f'(x))^{-1}$ has no meaning. We need do slightly change in $(1)$, $$(x_k-f'(x_k)^{-1}f(x_k))-(x-f^{(\delta)}(x)\delta!f(x))=(x_k-x)-f'(x_k)(f(x_k)-f(x))$$ $$=(x_k-x)-f'(x_k)^{-1}(\frac{f^{(\delta)}(x_k) (x_k-x)^{\delta}}{\delta!}+O((x_k-x)^{\delta+1}))$$  convergence rate to non regular root $\alpha$ is one.  Is my solution correct?  Then I do same thing to next nonlinear equation:  $$f(x)=x^2(x-1) $$, m is integer.  so the newton's formula is above, and how about convergence rate to $0,1$?  I think convergence to 1 is one, absolutely convergence to 0 is quadratic. when convergence rate is 1, the how about the convergence rate?


How should "deceptively" actually be used?

I'm not sure if this is a duplicate question, but I couldn't find anything on here on the topic. I can't seem to figure out what is actually meant when using the word "deceptive," or rather, what is the proper way to use it.  Example: "The floor is deceptively flat."  Do you mean that the floor is flatter than it looks, or it looks flatter than it is?  I know that's not a really good example, but I'm struggling to think of a better one now, however I think it serves to illustrate what I mean. There are many cases that I've felt that the word deceptive is used... interchangeably, if you will.  How about this: "He's deceptively strong." I think most would agree here that it means the person being referred to is stronger than he appears. But then what about this: "He looks deceptively strong."  I realize also that I may be finicky or am talking here more about semantics than anything else, but I really would appreciate it if someone could set the record straight for me. It's something that's been bothering me for ages and I can never seem to find 100% clarity on the matter.  I can't seem to find an official definition on the web either for which way around it should be. The common opinion seems to be that you should infer its meaning from the context it's being used in, which is fair most of the time, but there have been cases that I've come across where it is used and I find myself wondering which way around the person using it, meant it.  Any  help?


Panic Report initproc exited exit reason namespace 2 subcode 0xa description none


How to calculate $\int_{0}^{\pi/4} \frac{\sin x}{\sin x + \cos x} \, dx$

Can somebody give mi idea, how to solve this integral?  $$\int_{0}^{\pi/4} \frac{\sin x}{\sin x + \cos x} \, dx$$


When to use "And" at the start of sentence?

I know that and is used to join two sentences or phrases. There are some places I've read that have And is used at the beginning of a sentence. What are the occasions when this is done?


How to create list from 100 elements to list of 10

I have small brain fade today and I believe it will be faster to get hint here than wondering for an hour.  I have list A of 100 elements. How can I create another list(B) basing on list A, that will have 10 elements, so that each element is mean of 10 elements from  list A?  Thank you in advance.  e.g.  A = [10,10,10,10,10,20,20,20,20,20,30,30,30,30,30,40,40,40,40,40] B = [15, 35]


Use of 'prototype' vs. 'this' in JavaScript?

What's the difference between  var A = function () {     this.x = function () {         //do something     }; };   and  var A = function () { }; A.prototype.x = function () {     //do something };


Where do complaints about poor or inappropriate moderators go?

What is the process for reporting moderator behavior that is inappropriate or unhelpful?  I have a moderator who is:   acting passive-agressive by being argumentative in comments as he effectively answers my question, while refusing to bother to actually answer it (we've all seen that in regular users), is making "suggestions" designed to provoke rather than help, and is being snide and confrontational.   Is there a productive way to draw attention to this without escalating too much or being confrontational?    Note that the question here isn't (at least not quite yet) about  as much as it is about being a regular old badly behaved user.


How to emulate Google Maps driving directions using pgRouting?

Would like to emulate google maps' driving directions functionality but use pgRouting instead. google's data over the project area & scale is quite a bit off so we want to use our own transport network data in postGIS.  any hints?  thanks.


Any of you who have at least little experience with graphic design software, photography or professional printing, must have -almost undoubtedly- have gone through this: 'the struggle' of RGB and CMYK colour spaces.  Now, there are many questions regarding matters of 'which should I choose', 'what is what' and converting problems, but that's not really what I'm after here.  As a graphic designer with only a couple of years of experience, I still have this struggle from time, and find the whole CMYK/RGB choosing/converting/saving situation quite confusing, to say the least. I do know that RGB is meant for digital end purposes, and CMYK is suitable for printing.  I have always been wondering about the neccesity of this whole thing. So, my question is: why are there these two colour profiles, instead of just having one?   Wouldn't it be a lot easier if printers or software could convert any RGB file to a CMYK printing document instead? I'm pretty sure it does already exist, by the way, because printing an RGB file sometimes simply prints the right colours for me. Alas, not always (doesn't seem to be related to the printer of software I print from).    I have gone trough some RGB vs. CMYK-related questions and found this, a.o., (), an answer of user DKuntz2 (thanks DKuntz2):     RGB is a light-based theory. All colors begin with black "darkness",   to which different color "lights" are added to produce visible colors.   RGB "maxes" at white, which is the equivalent of having all "lights"   on at full brightness (red, green, blue).      CMYK is a color-based theory. All colors start with white "paper", to   which different color "inks" are added to produce output colors. CMYK   "maxes" at black, at which point all "inks" are applied at 100% (cyan,   magenta, yellow, black).   Not sure if this is entirely right, though, because some people disagreed with DKuntz2:     I disagree. With RGB you start with black - the absence of light; with   CMYK you start with white paper.   – e100  Although this does clarify the differences fairly well, I still don't see the point of the two colour profiles(/spaces)    Side question: What happens when you work in an RGB document in photoshop, then press ctrl+y? Photoshop says the document is RGB/8/CMYK, but it can't be both. Right?  EDIT:  Big thanks for the answers, the (current) three below are very informative and interesting. I understand the whole thing a bit better, although it's all very complicated and in-depth to me. Especially when I read about terms like colour models, colour profiles, colour spaces, colour spectra and gamut all one after another.  As much as I would like to accept an answer as the desired one, I feel that my question in the core isn't fully answered yet. What I would really like to emphasize is what I asked about earlier: Wouldn't it be a lot easier if printers or software could convert any RGB file to a CMYK printing document instead?. As Alan Gilbertson explained, the reason is - if I understand correctly - basically a 'lost-in-translation' thing that makes the conversion not 100% accurate, and the colours to possibly be a bit distorted.  However, I still don't see how the solution cannot be an automated conversion done by a printer. Should be possible with modern technology; if you can convert RGB to CMYK in Photoshop, why can't a printer do the exact same for you? As was also said in the answers, the slightest differences in colours and colour spaces, can not be seen by the human eye. And that's what it all comes down to: what we want to see. Be it on a screen or on a sheet of paper.  The fact that this question has three very long answers, or even moreso the fact that there are so many questions about these two colour models (I now know the right term, yay) kind of proves that this is way more complicated than it should be.


scrlttr2: Position of the recipient's address

I have scrlttr2 based letter with source code given below.  The letter will be printed on a windowed enveloped and I need to specify the exact location of the recipient's address box.  How can I do this (make the recipient's address box appear at a certain location on the paper) ?  % koma_env.tex \documentclass[a4paper,backaddress=off,foldmarks=false,fromalign=right]{scrlttr2} % \usepackage{lmodern} \usepackage[utf8]{inputenc} % \usepackage[T1]{fontenc} % \usepackage[english]{babel} % \usepackage{url}  \setkomavar{date}{\flushleft\vspace{-\baselineskip}\today\par}  \setkomavar{fromname}{\{\{Landlord Name\}\}} \setkomavar{fromaddress}{\{\{Landlord Correspondence Address Line 1\} \\ \{\{Landlord Correspondence Line 2 (if applicable)\}\} \\ \{\{Town/City\}\} \\ \{\{County\}\} \\ \{\{Postcode\}\}}  \begin{document}  \begin{letter}{\{\{Tenant Names\}\} \\ \{\{Property Address Line 1\}\} \\ \{\{Property Address Line 2 (if applicable)\}\} \\ \{\{Town/City\}\} \\ \{\{County\}\} \\ \{\{Postcode\}\}}  \KOMAoptions{fromphone=false,fromfax=false} \setkomavar{subject}{Pre Check-Out Inspection at \{\{1st line of Property\}\}}  \opening{Dear \{\{Tenant Names\}\}}  Your tenancy is due to come to an end on \{\{date\}\}. I would like to arrange an inspection at the property before the tenancy ends to identify anything that may lead me to retain some of your deposit if not addressed by the time I retake possession.  Carrying out this inspection prior to the tenancy ending will give you the opportunity to tackle anything raised and ensure I can return the maximum amount of deposit to you when the tenancy ends  I would like to carry out the inspection on \{\{date\}\} at \{\{time\}\}. It would be best if you were present then if anything is identified we can discuss this and be clear on what would be required to rectify it. Please can you contact me as soon as possible to confirm whether or not this is convenient.  If you do not wish to be present I have a set of keys to access the property and will send you the results of the inspection. Please let me know either way at your earliest convenience.  \closing{Kind Regards}  \end{letter}  \end{document}


Edit: Appearently the question has been marked a duplicate of  even though my question is about how to safely work with a list on one thread while another thread is modifying it, and the linked question is about how to remove during iterating.  Problem: I have a List<Object> objects in a class. This class also contains a getObjects() method which returns the object list.  I have two threads working with this list. One thread is adding objects every now and then, and the other thread is doing stuff with them and removing it from the list once it's done. The problem occurs when I'm iterating over the list in thread two, while thread one adds an object to the list at the same time.  I have attempted to counter this, by having thread two only work with a copy of the list, and not the actual one. Using List<Object> newList = getObjects();. Here I presumed that since newList is a different list(with the same objects though), that I could safely iterate over it and work with the objects. However it appears that this still causes the exception, because (I assume) the = operator just makes newList a reference to the objects list. And that I'm still iterating over the objects list.  Question: So my question is: How do I safely work with the objects from the list in thread two?   Code: Even though I doubt it'll be of use for answering the question, here's the code(I removed all unneccesary clutter thats irrelevant to this question).  public class One {     List<Object> objects;      public One()     {         objects = new ArrayList<Object>();     }     public void addObject(Object object)     {         objects.add(object);     }     public List<Object> getObjects()     {         return objects;     } }  public class Two {     private One one;     public Two(One one)     {         this.one = one;     }     public void processObjects()     {         List<Object> newList = one.getObjects();         for(Object object : newList) //Causes error because during iteration thread 1 adds an object to the objects list.         {           //dostuff with the object.         }         one.getObjects().removeAll(newList);     } }


Automorphism group of the quaternion group

Let $Q_8$ be the quaternion group. How do we determine the automorphism group $Aut(Q_8)$ of $Q_8$ algebraically? I searched for this problem on internet. I found some geometric proofs that $Aut(Q_8)$ is isomorphic to the rotation group of a cube, hence it is isomorphic to the symmetric group $S_4$. I would like to know an algebraic proof that $Aut(Q_8)$ is isomorphic to $S_4$.


I am not able to find a way to determine how much disk space is free. The methods I am seeing are not clear and provide information that appear to need to be put together for a big picture. Is there a third party utility program that can provide a clean estimate of remaining disk space?


Can you export stl file from one object in one layer?

I had several pieces of a project in different layers.  After modifying a piece in layer e.g. 4, it was selected, active and in object mode.  I selected 'export', 'stl' and executed.  The file statisics show a very large file, and when I import the stl file, the entire project, from all layers, show up on one layer. What did I do wrong? TIA


Samsung Galaxy S4: Get files from broken & locked screen

I have a Samsung Galaxy S4. I broke the screen a few days back and it was locked at the time. The phone is working because it can charge and I can hear the alarm and incoming calls and messages but I can't see a thing because it is all black. I can't possibly unlock the phone because the touch is not working too. I need to retrieve my files from the phone. So when I connect my phone using a USB to my MAC, it shows me absolutely nothing except this error:   If your device's screen is locked, disconnect its USB cable, unlock your screen, and then reconnect the USB cable.    Like I said, I cannot unlock the screen. I can't use Samsung's Find my Phone application because I never added a Samsung Account to it and so my device is not registered for remote data recovery.   When I connect my phone to my HP laptop via USB, it shows nothing, not even an error.   Is there any way I can unlock my phone remotely and retrieve my files?


Is "Ask Question" a better search tool than the search bar in Stack Overflow

I've been observing that asking a question is a way better search tool than the search bar. Here is an example:  Say, this is what I am looking for:      pandas number of subgroups for each group   Let's see which one of the following three methods will return better search results.   Go to , and type it in there. It returns only one result, and  is really not an answer to what we are looking for. Try , and type it in there, and you'll see that  is perfectly what that search query would be looking for! Go to , and search like this: site:stackoverflow.com pandas number of subgroups for each group, and the first result is again that useful post.   So clearly, googling or asking a question is a better idea than using the native search engine.   asked 6 years ago if we could implement a better search engine, and the answers refer to the search tool I just mentioned in item 1. Clearly, it is not working as desired.  My question is two-fold:    Why is the "Ask Question" search is working better than the search bar? Please include examples in your answer if you believe this is not true. If most of us believe that this is indeed true, can we implement the search that the "Ask Question" invokes as the main search engine?


How to get files more than one extension?

I have a program which gives random files. It is simple but I'm quite new to this. Im having trouble with creating fileinfo list of files. I added a contextmenustrip which has multiple choose of file genre (e.g: video files, text files..)  I wanted to define string array with cntxtmnustrp. and want it make new array and combine with previous. But it didnt work. Should I create a arraylist and add each list to this?     public partial class Form1 : Form {     public Form1()     {         InitializeComponent();     }     Random r = new Random();     string path1;              DirectoryInfo dif;   // List<FileInfo> files;     FileInfo[] files;     FileInfo[] newfiles;       int randomchoose;     int fok;     int kok, pd;      string[] filetypes;             private void button1_Click(object sender, EventArgs e)     {          FolderBrowserDialog hoho = new FolderBrowserDialog();  // yeni dosya yeri          hoho.ShowNewFolderButton = true;          if (hoho.ShowDialog() == DialogResult.OK)          {             path1 = hoho.SelectedPath;              textBox1.Text = path1;             dif = new DirectoryInfo(path1);                            foreach (string ft in filetypes)         {            files = dif.GetFiles("*.ft", SearchOption.AllDirectories);           //files.AddRange(dif.GetFiles(string.Format("*.{0}", ft), SearchOption.AllDirectories));              newfiles = newfiles.Concat(files);         }                                                                         //pd = liste.Length;             pd = files.Length;             kok = pd;         }                       }          }            private void button1_Click_1(object sender, EventArgs e)     {         listBox1.Sorted = true;      }      private void cesit_Click(object sender, EventArgs e)     {         //contextMenuStrip1.Show();         contextMenuStrip1.Show(this.PointToScreen(cesit.Location));     }       private void videoFilesToolStripMenuItem_Click(object sender, EventArgs e)     {         filetypes = new string[2] { "txt", "png" };      }      private void musicFilesToolStripMenuItem_Click(object sender, EventArgs e)     {         //tur = ".png";         //textBox4.Text = tur;     }      private void textFilesToolStripMenuItem_Click(object sender, EventArgs e)     {      }  }


I've been following the guide linked below to enable Hyper-V in Windows 8 so that I can try out a few Linux distros without having to mess around with my UEFI bootloader on my machine, however, this option appear to be unavailable to me. Is this because I am using an OEM version of Windows 8?    According to this guide, the option to enable Hyper-V should be available in the 'Turn Windows features on or off' menu however my menu does not display this option:    I used to use Virtualbox on my Windows 7 machine but thought I had better try the built in functionality of Windows 8 so can someone confirm whether or not I need the Pro version of Windows 8 to do this as there seems to be mixed signals coming from a general Google search on the topic.


Say I harvest crop as a hobby on my land, and it's less than an acre. What's the tax on the crop income?


Wrong output when str_replace with acute ( ´ ) in utf-8 website

I'm trying to replace an apostroph ( ' ) with acute ( ´ ) from a string after entered into a form and submitted it.  <?= str_replace("'","´",$_POST['string']) ?>   string for example is: "Jan's Motel" > should become "Jan´s Motel"  This works good when using charset iso-8859-1, but I need my website to be in utf-8.  I utf-8 the result string is "JanÂ´s Motel"  I don't understand why it becomes " Â´ " instead of " ´ "  Here ist my example code:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">   <head>     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />     <title>notitle</title>   </head>    <body>     <form action="?" method="post">       <input type="text" name="string" value="<?= str_replace("'","´",$_POST['name']) ?>" />     </form>   </body> </html>   Can anyone please help?


For $u,v$ nonzero, show $u\cdot v = 0$ implies $u$ and $v$ are linearly independent.

I know that if $u\cdot v = 0$ then by definition, $u_1v_1 + u_2v_2 + \cdots +  u_nv_n = 0$  I also know that if $u$ and $v$ are linearly independent and a matrix $A$ has $u$ and $v$ as its successive column vectors then the equation $Ax = 0$ will have only the trivial solution.   However I can't think of anything else that might help me answer this question.


pgfplots: bar chart | multiple addplot | centered to tick | labels of second addplot are missing

I have a xbar chart in pgfolots. I want to have multiple addplot commands. I use symbolic y coords and ytick = data. Problem 1 is that I want all bars centered in respect to the ytick. Problem 2 is that the labels of the second addplot are missing. Background: I want this special layout because I want to have nodes near coords later in the addplot command (only for specific bars).     \documentclass[border=5mm,tikz]{standalone}  \usepackage{tikz} \usepackage{pgfplots}  \begin{document}  \begin{tikzpicture} \begin{axis}[     xbar,     symbolic y coords = {A,B,C,D,E},     enlarge y limits = 0.15,     ytick = data,     width = 160mm,     height = 90mm,     xmin = 0,     xmax = 10,     title = {One \texttt{\textbackslash addplot}},     ] \addplot[fill=green] coordinates {(1,A) (2,B) (3,C) (4,D) (9,E)}; \end{axis} \end{tikzpicture}  \begin{tikzpicture} \begin{axis}[     xbar,     symbolic y coords = {A,B,C,D,E},     enlarge y limits = 0.15,     ytick = data,     width = 160mm,     height = 90mm,     xmin = 0,     xmax = 10,     title = {Two \texttt{\textbackslash addplot}},     ] \addplot[fill=green] coordinates {(1,A) (2,B)}; % A-B \addplot[fill=green] coordinates {(3,C) (4,D) (9,E)}; % C-E \end{axis} \end{tikzpicture}  \end{document}


N-dimensional generalization of vector curl from elements of Jacobian

I want to determine whether a certain n-dimensional, simply-connected vector field is conservative. I can very easily calculate its Jacobian in numerical form.  In 3 dimensions, the problem is easy: the Jacobian is a 3x3 matrix, and the curl can be obtained from its elements:  [jacobian[2,1] - jacobian[1,2],  jacobian[0,2] - jacobian[2,0],  jacobian[1,0] - jacobian[0,1]]  A curl of zero would mean that the vector field is conservative.  But what if my Jacobian has 100 elements? The curl is only defined for 3 dimensions, but is there a formula for some high-dimensional generalization?


Linear Mixed-Effects Models (lmer function in R) - Statistical significance?

I have the following mixed models:  modeloIa<-lmer(log(FstPSAmm2+1)~AntherAreamm2+(1|plant), REML = F)  modeloIIa<-lmer(log(FstPSAmm2+1)~AntherAreamm2*color+(1|plant), REML = F)  modeloIIIa<-lmer(log(FstPSAmm2+1)~AntherAreamm2*color*FlPerBranch+(1|plant), REML = F)  modeloIVa<-lmer(log(FstPSAmm2+1)~color*AntherAreamm2*PlVoldm3+(1|plant), REML = F)   The first one is the null modell. The variable color is the fixed effect I want to test. FlPerBranch and PlVoldm3 are covariables.   How do I select the best model? How do I know if the variables are significant? These two questions are for me a dilemma.  If I use the AIC criterion I should select one model, but if I use the likelihood ratio test, starting from my null modell, I should select another. Any advice will help me a lot, thanks.


GRASS via Processing Toolbox doesn't work in QGIS 2.8.3 on Mac?

I am quite new to QGIS and working with the external applications such as GRASS.  When trying to launch a GRASS tool from the processing toolbox I get the following error:     Missing dependency. This algorithm cannot be run :-(   This algorithm   requires GRASS to be run. Unfortunately, it seems that GRASS is not   installed in your system, or it is not correctly configured to be used   from QGIS    Click here to know more about how to install and configure   GRASS to be used with QGIS   When I am using GRASS from the Plugins menu it works. I have GRASS 6.4 installed to my system and running, GRASS 7 installed, but it doesn't run, probably due to some known El Capitan issue. Anyhow, GRASS 6.4 should be working. Moreover, there is also the GRASS that comes with the QGIS installation.  Unfortunately I messed up the path to GRASS that was originally set in Processing -> Options before I even tried if the original setup works. I tried really every possible path I could think of, to the GRASS-6.4 installation in my applications folder (/Applications/GRASS-6.4.app) and to the GRASS folder in the QGIS installation (/Applications/QGIS.app/Contents/MacOS/grass), I don't get the GRASS tools to working. I reinstalled QGIS to restore the original settings, but obviously I have to delete the particular settings before (but where?), because the path was still as I set it before reinstallation.  SAGA is working from the processing toolbox.  So, long story short:   Any suggestions what could be the issue? Anyone experiences with running GRASS via processing toolbox with QGIS 2.8 on El Capitan? It would be already a great help if someone could give me the original path to GRASS set at "Processing" --> "Options"


Problem Installing 11.2.0 on RHEL 7 64 Bit

I have problem in stalling Oracle ASM on RHEL 7, Please advice   [root@localhost grid]# ./root.sh Performing root user operation for Oracle 11g  The following environment variables are set as:     ORACLE_OWNER= grid     ORACLE_HOME=  /u01/app/grid/product/11.2.0/grid  Enter the full pathname of the local bin directory: [/usr/local/bin]: The contents of "dbhome" have not changed. No need to overwrite. The contents of "oraenv" have not changed. No need to overwrite. The contents of "coraenv" have not changed. No need to overwrite.  Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root script. Now product-specific root actions will be performed. Using configuration parameter file: /u01/app/grid/product/11.2.0/grid/crs/install/crsconfig_params Creating trace directory LOCAL ADD MODE Creating OCR keys for user 'grid', privgrp 'oinstall'.. Operation successful. LOCAL ONLY MODE Successfully accumulated necessary OCR keys. Creating OCR keys for user 'root', privgrp 'root'.. Operation successful. CRS-4664: Node lrma086 successfully pinned. Adding Clusterware entries to inittab ohasd failed to start Failed to start the Clusterware. Last 20 lines of the alert log follow: 2015-10-19 10:19:43.306 [client(28082)]CRS-2101:The OLR was formatted using version 3. 2015-10-19 10:19:46.259 [client(28109)]CRS-1001:The OCR was formatted using version 3. [client(28227)]CRS-10001:CRS-6021: No msg for has:crs-6021 [l][unlimited] [client(28228)]CRS-10001:CRS-6021: No msg for has:crs-6021 [n][65536]  ohasd failed to start at /u01/app/grid/product/11.2.0/grid/crs/install/roothas.pl line 358, <ALERTLOG> line 6. /u01/app/grid/product/11.2.0/grid/perl/bin/perl -I/u01/app/grid/product/11.2.0/grid/perl/lib -I/u01/app/grid/product/11.2.0/grid/crs/install /u01/app/grid/product/11.2.0/grid/crs/install/roothas.pl execution failed


"X as well as Y" ; will this be followed by singular verb or plural verb?

"X as well as Y" singular or plural  When two nouns are connected using "as well as", does that become singular or plural? For eg. Sam as well as his brother Dean has / have to come. Which one is correct?


Latex Figures appear before text in pandoc markdown

I am using pandoc to convert markdown to pdf, but I need to place some figures with more formating than the     ![Alt text](image.png)   so I use something like this:    # Document with figures    This document have figures but they appear before the title    \begin{figure}   \centering   {\includegraphics[width=2.5in]{some_figure.png}}   \caption{Comparing Dq from different p-model}   \end{figure}   and then I use the following command:   pandoc -H test_fig.sty test_fig.md -o test_fig.pdf   and test_fig.sty have:   \usepackage{graphicx}   the resulting pdf have first the figure and then the title.


I just downloaded VLC from the software center in Ubuntu.  But, it is not the current version.  It is version 2.1.6.  Is it safe to use this version?  Why isn't the current version available through the software center?  Thanks


Get an array of list element contents in jQuery

I have a structure like this:

text1

text2

text3

   How do I use javascript or jQuery to get the text as an array?  ['text1', 'text2', 'text3']   My plan after this is to assemble it into a string, probably using .join(', '), and get it in a format like this:  '"text1", "text2", "text3"'


In this graph related to the Rician Distribution why on the $y$ axis I see values greater than $1$? It does not mean the probability?  Please may I ask how to read this graph and have some information about it? Further, if I want to depict the probability what I can do?


Map numbers, represented in character, to their numeric format without defining my own dictionary

For example "two" to 2, or "one hundred thirty four" to 134. I can define my own dictionary but it becomes impractical/tedious for very large numbers. Is there a look up table somewhere for this sort of conversions?


Would i be able to update 12.04 LTS to 13.04?

After installing  Ubuntu 12.04 LTS , would i be able to update my system to 13.04 without losing my data? And how i will do it? Can Anyone Tell me?


I attempted to integrate the following function from a practice problem in my Calculus textbook:  $$\displaystyle \int_{0}^{\frac{\pi}{2}}{\frac{1}{1+\tan^\sqrt{2}(x)}} \ {\rm d}x$$  I failed to find an indefinite integral, and I am assuming getting an indefinite integral is simply impossible. Using Wolfram|Alpha to estimate the definite integral, I got $0.785398$. I am assuming this is $\frac{\pi}{4}$, but I have no formal proof that this is the answer.


Why doesn't System Monitor show activity over ethernet connections?

In the Network history graph of System Monitor, network activity over Wi-Fi shows up fine, but activity over wired ethernet doesn't show up at all.  Using lspci, my ethernet adapter shows up as follows:  02:00.0 Ethernet controller: Qualcomm Atheros AR8162 Fast Ethernet (rev 10)   Is there any way to fix this?  To be absolutely clear, I am having no problems with the network connection itself, I just am unable to monitor its activity.


Hey guys I've been having trouble with my code within the if statements. Regardless of what I enter the if statements always return f_resist [] to 0. I think there is an error along my if statements but im not sure :(  Scanner u_scancolor = new Scanner(System.in); //declare input box System.out.println("Enter three colors on the resistor seperated by hyphens.      ie: Red-Blue-Brown"); System.out.println("Colours you can use: Black, Brown, Red, White, Orange,   Yellow, Green, Grey, Violet, Blue"); String f_wire = u_scancolor.next(); //takes a string System.out.println(f_wire); int [] f_resist; f_resist = new int [3];   String [] f_wordcolor= f_wire.split("-"); //splits the colors by hyphen into   individual strings   for (int cnt1=0 ; cnt1<3; cnt1++) {   f_wordcolor [cnt1] = f_wordcolor [cnt1].toUpperCase();  System.out.println(f_wordcolor [cnt1]);  if (f_wordcolor [cnt1] == "BLACK ") {    f_resist [cnt1] = 0;   }  else if (f_wordcolor [cnt1] == "BROWN") {    f_resist [cnt1] = 1;  }    else if (f_wordcolor [cnt1] == "RED") {    f_resist [cnt1] = 2;   }   else if (f_wordcolor [cnt1] == "ORANGE") {    f_resist [cnt1] = 3;   }  else if (f_wordcolor [cnt1] == "YELLOW") {    f_resist [cnt1] = 4;   }  else if (f_wordcolor [cnt1] == "GREEN") {    f_resist [cnt1] = 5;  }   else if (f_wordcolor [cnt1] == "BLUE") {    f_resist [cnt1] = 6;   }    else if (f_wordcolor [cnt1] == "VIOLET") {    f_resist [cnt1] = 7;   }    else if (f_wordcolor [cnt1] == "GREY") {    f_resist [cnt1] = 8;   }    else if (f_wordcolor [cnt1] == "WHITE") {    f_resist [cnt1] = 9;   }    System.out.println(f_resist [cnt1]);  }  String f_add1 = Integer.toString(f_resist [0]); String f_add2 = Integer.toString(f_resist [1]); String f_stringadd = f_add1 + f_add2;  int f_intadd = Integer.parseInt(f_stringadd);   int f_ohm = f_intadd*10^f_resist[2];  System.out.println("Total ohms: " + f_ohm);  } }


null pointer exception while trying to read from .xls file apache poi

private static HSSFSheet ExcelWSheet;  private static HSSFWorkbook ExcelWBook;  private static HSSFCell Cell;  private static HSSFRow Row;  private  static String[][] getTableArray(String FilePath, String SheetName)    throws Exception  {         FileInputStream ExcelFile = null;     String[][] tabArray = null;     try{         ExcelFile = new FileInputStream(FilePath);         // Access the required test data sheet         ExcelWBook = new HSSFWorkbook(ExcelFile);         ExcelWSheet = ExcelWBook.getSheet(SheetName);         int startCol = 1;         int ci=0;         int totalRows = ExcelWSheet.getPhysicalNumberOfRows();         int totalCols = ExcelWSheet.getRow(1).getLastCellNum();         System.out.println(totalRows);         System.out.println(totalCols);         tabArray=new String[totalRows][totalCols];         DataFormatter formatter = new DataFormatter();            for (int j=1;j<=totalRows;j++, ci++)             {                //totalCols = ExcelWSheet.getRow(j).getPhysicalNumberOfCells();                //tabArray=new String[totalRows][totalCols];                int cj=0;                for (int l = 1; l < totalCols;l++, cj++) {                 //tabArray[ci][cj] = getCellData(j, l);                  Cell = ExcelWSheet.getRow(j).getCell(l);                   String CellData = formatter.formatCellValue(Cell);                  System.out.println(CellData);                   tabArray[ci][cj] = CellData;                  System.out.println(j);                 System.out.println(l);                 System.out.println(tabArray[ci][cj]);                 System.out.println("tabArray["+ci+"]["+cj+"]: "+tabArray[ci][cj]);             }              }            System.out.println(tabArray);     }      catch (FileNotFoundException e)      {          System.out.println("Could not read the Excel sheet");          e.printStackTrace();      }      catch (IOException e)      {          System.out.println("Could not read the Excel sheet");          e.printStackTrace();      }finally {          ExcelFile.close();     }      return tabArray;  }   ///// Cell = ExcelWSheet.getRow(j).getCell(l); here where its throwing null pointer exception.  coloumns heading are TestCases,Enquiry ID, Sl No., Material  need to read from the 2nd column Enquiry ID only and pass one by one in data driven framework.  want to read enquiry ids from excel and pass it to my @test method


Time-independent Schrödinger function: If the potential $V$ is even, then the wave function $\psi$ can always be taken to be either even or odd

I have done the Problem 2.1 in Griffiths' quantum mechanics,  and it seems not making sense to me.  What if the wave function isn't symmetric at all?  Then obviously the proof doesn't work. The solution confuses me.      If $V(x)=V(-x)$ then the "position" wave function can always be taken to be either even or odd.


When Firefox drops Java applet support, how will I run old Java applets?

Java applets are soon to be killed off forever.  I understand why we shouldn't make new ones.  But what will happen to old ones?  There are still Java applets that people may use, and there's no guarantee that anyone will be willing or able to port them to JavaScript.  For example,  has a lot of Java applets that explain and visualize certain digital audio concepts.  Another course I'm taking uses a lot of Java applets to visualize computational geometry ideas.  When Firefox drops NPAPI support, that's it, we've cut off this great reference material to all but those willing to jump through arcane technological hoops.  The following possible solutions don't always fit the bill:   Just use FireFox   Port it or rewrite it  May not be open source, or it may not be practical to do so (e.g. lack of domain knowledge). Ask the original author to do it  They may have stopped supporting it years ago.  Doesn't make it any less effective at, say, tracing out the steps for Delaunay triangulations. Find an alternative  If none exist, we're back to the second option.  If the only ones that do exist aren't browser-based, all bets are off for convenience (which is the whole point of browser apps).   Is there currently (or will there be within a year) a convenient, cross-platform way to run existing Java applets once all the major Web browsers drop NPAPI support?  Note that:   Actually so in-browser isn't critical, but it should still be cross-platform.  Ideally I wouldn't have to download extra software (after all, I already do have a JVM installed). No, I'm not suggesting we re-open the security holes that Chrome and Firefox are trying to close. If there are alternative Web browsers out there designed specifically for legacy Java applet support (or at least with no plans to drop existing NPAPI support), I would be okay with that.


Since the new user interface was put in place, a notification was added so that users would know when there is more then five suggested edits in the edit queue.  This icon has always displayed in a lighter orange color (which I do not have a picture of at the moment).    Then today, I was browsing and I noticed the notification was a shade of red?     I'm assuming the different colors mean different things, but is this documented anywhere?


Is DNA a single molecule or 46 separate pieces (out of 23 chromosome pairs)?

It seems that biology books refer to DNA as 'a' molecule (implying that it is a single continuous uninterrupted double strand) ... but in those same books chromosomes are depicted as 23 separate objects (chromosome pairs) containing DNA. Are these illustrations misleading ? Are chromosomes somehow connected end-to-end or are they disjoint ? Is it a single noodle or is it 46 pieces ?


divergence of the cross product of two vectors proof

Prove $\vec{\nabla} \cdot\left ( \vec{A}\times\vec{B} \right )=\vec{B}\cdot\left ( \nabla \times\vec{A} \right )-\vec{A}\cdot\left ( \nabla \times\vec{B} \right )$  I have expanded the LHS for this and obtain a horrible expression that would be even tedious to put them into latex form without a headache.  I attempted to rearrange the LHS so as to obtain the RHS but to no avail.  any help is appreciated.


I am reading everywhere on new questions and blogs that since version 0.20, OneHotEncoder is able to handle string features. Moreover, the documentation is what looks more ambiguous. Here are the first two lines from the documentation:  Encode categorical integer features as a one-hot numeric array. The input to this transformer should be an array-like of integers or strings, denoting the values taken on by categorical (discrete) features.  First line says it  encodes categorical integer features  and the next line says  input should be array like of integers or strings.  When i tried it, i still got the value error. print(X.columns) encoder = OneHotEncoder(categorical_features=[1,4,5]) encoder.fit(X)  Index(['age', 'sex', 'bmi', 'children', 'smoker', 'region'], dtype='object') ValueError: could not convert string to float: 'female'  I am aware of the means to handle encoding of string features with LabelEncoder, ColumnTransfomer and pd.getDummies() but specifically want to understand about this.


book recommendation on functional analysis

I recently started studying functional analysis. I have many ebooks loaded on my laptop, but can't figure out which one to start with. I've asked my instructor, and he says there aren't any specific books to start with. Here's a brief list of the topics on our syllabus:   Normed linear spaces Banach Spaces Hilbert spaces Compact Operators Knowledge of $C[0,1],L^p[0,1]$ Continuous linear operators Hahn-Banach theorem    Open mapping and Closed Graph Theorem   Uniform Boundedness Principle   I'm seeing these topics first in my lifetime. One thing I want to ask is whether functional analysis is very difficult. Please suggest some books to start this topic which covers the above and contains some exercises. Thanks in advance.


Keyframes without interpolation / Behaviour

a quick question on how keyframes / rendering an animation works within Blender. I want to render multiple images with different settings within some materials ,different shapekeys and poses, but no movement at all. I thought the best way to archive this, is to render a x frame sequence and have drivers tap in or out with 100% on each frame. So my question is: How does Blender handle this? For each frame, will blender first apply all keyframes and then render ? Also can I deactivate the interpolation thing, or can it happen that something is not 100% on frame 2 when i have set it 0% on frame 1 and 100% on frame 2 ?  A short answer is all i need, thanks in advance.   Also on a side note : How is Blender handling resources ? Besaid file is getting kinda large with many meshes/materials and i have experienced slower performance while doing the same tasks (like creating another mesh :D).Making other stuff invisible didn't seem to change that. Moving them to another layer seemed better (maybe that in fact is freeing all memory for those items ?).It is still very workable, but in general, if there is a way to make blender kinda ignore all the stuff i don't need right now entirely without removing it from the file, that would be great.  Thank you in advance, again.  Have a nice time,  Aaron.


Can black holes act as a lens for gravitational waves?  If space-time dips around a black hole or any source of gravity then can the gravitational waves be affected by that?