Trying to modify the .profile file but it is missing

I am very new to the bashshell and unix. I am proficient with Java and I know a bit of C, so bash and scripting is very new to me.  I am trying to modify the .profile in my home profile to have it echo my name every time I log on - however I encountered a situation. It is missing. I have checked for the hidden files in my directory using ls - a but it isn't there.  So do I just create a .profile file? I know that there is a /etc/profile that is given to me by my administrator but I am not allowed to overwrite that file.   Also, what would I include in the .profile file if I make my own? Would it just be as simple as creating the file and adding an echo statement with it accessing my username? I have tried this, and it failed.  Here is what my current script looks like(that fails):  PATH=/usr/bin:/usr/lbin:$HOME/bin:.:  export PATH echo "My user profile has executed. Greetings!"   I'd like to add I'm not sure if this PATH is showing the correct path either - it is what I copied from my book.


Does the Bezout GCD equation hold in a UFD?

I'm wondering  when Bezout's Theorem is valid.  I know when the ring $R$ is a Euclidean Domain or a Principal Ideal Domain there is always $\gcd(a,b)$ and I can find $x,y \in R$ such that $\gcd(a,b) = ax + by.$     I know when the ring $R$ is a Unique Factorization Domain, there is always $\gcd(a,b)$. My question is, in this case can I find $x,y \in R$ such that $\gcd(a,b) = ax + by.$ ?   Now if $R$ is just a commutative ring, if there is $d \in R$ such that $<a>+<b> = <d> $ I know that $d = \gcd(a,b)$. In this case, can I find $x,y \in R$ such that $\gcd(a,b) = ax + by$ ?


JavaScript: Effects of multiple AJAX in modern browsers

Hello I am new to programming. I know that you can make multiple ajax calls but I wanted to know what is the limit for AJAX call. Also what are the side effect of making multiple Ajax calls? Also what is there any browser set rule for that?


I have some problems in using the plural form of a uncountable noun. For instance:  "The density of all the solutions is measured."  or  "The densities of all the solutions are measured."  Is there any difference between these two sentences?  Sometimes I find that uncountable nouns are very confusing. I don't know when to use its plural form. (p/s:I'm not a native English speaker)  Thanks in advance.


"There are more than one people" or "There is more than one people"?

Given the following two sentences.   There are more than one people. There is more than one people.   Which one of them is grammatical, both of them, any one of them or none of them? The noun people (presumably collective) is generally plural. Therefore, the former sentence seems to be correct (this is usually the case in my local languages).  It is something similar to the case, where zero is (mostly) considered plural though intuitively it should be singular. Moreover, it should be safe to say, there is more than one person instead of saying, there are more than one person. but I'm not sure about people, when used in such constructs. Sorry for this simple question :)


If $a$ and $b$ are positive real numbers such that $a<b$ and if $$a_1=\frac{a+b}{2}, b_1=\sqrt{(a_1b)},..., a_n=\frac{a_{n-1}+b_{n-1}}{2},b_n=\sqrt{a_nb_{n-1}},$$ then show that   $$\lim_{n\to\infty}b_n=\frac{\sqrt{b^2-a^2}}{\arccos\frac{a}{b}}.$$ I tried to calculate explicitly the first few terms $a_2,b_2$ etc but the terms got too complicated really quickly and I couldn't spot any pattern.


Obtaining unique lines with matching strings

I have a JSON like text file of records with duplicate ids that look like:  {"ID":"93" , "ST":[42,77,51]} {"ID":"21" , "ST":[43,4]} {"ID":"94" , "ST":[65,11,4]} {"ID":"93" , "ST":[42,77,51,29,63]} {"ID":"73" , "ST":[21,20]} {"ID":"94" , "ST":[65,11,4]} {"ID":"77" , "ST":[87]}   I am trying to filter the duplicates and always keep the first occurrence of such a match. The field ST could be the same but also different for the records with the same id.  The output would look like:  {"ID":"93" , "ST":[42,77,51]} {"ID":"21" , "ST":[43,4]} {"ID":"94" , "ST":[65,11,4]} {"ID":"73" , "ST":[21,20]} {"ID":"77" , "ST":[87]}   A similar question has already been asked , but for this case the data file being edited was a comma separated file. Here we are dealing with a JSON data and the goal will be to find the lines that have the same id values(may be a regex match) and keep the latest one. Anyone has an idea how to tackle that with awk, sed or pure command line tools?


Initially, I drafted the following sentence. He argues we consistently make assumptions that are wrong. Later, because it looked like a quote, I added a comma. But, do I need a comma? He argues, we consistently make assumptions that are wrong. However, the sentence is not a quote. I am simply summarizing a seminar I attended, and I have found I am using this sentence structure often. Plus, for the sake of variety, I would like to flip this basic structure. We consistently make assumptions that are wrong, he argues. Unfortunately, I have searched both my "Chicago Manual of Style" and "The Chicago Guide to Grammar, Usage, and Punctuation" with no luck at finding any examples highlighting this condition. For a moment, I thought CMoS Section 6.27 applied. In my example sentence, maybe that is implied. So, I thought I might have found my black-and-white answer. I don't need a comma. However, it seems odd to me that we consistently make assumptions that are wrong would be considered a restrictive relative clause. If I were to drop he aruges, the sentence is still complete. Plus, relative clauses are normally shorter. Lastly, Section 6.27 did not provide any direction if I were to flip the sentence. Subsequently, I also found CMoS Section 6.42 which comes close as well. However, it deals with questions, not statements. But, its example sentences are quite close to my example. Thus, I dove into the sections on sentence structure in "The Chicago Guide to Grammar, Usage, and Punctuation," researching subject, object, and verb. However, as I watch the clock, I have realized I need expert help. I understand there are often no black-and-white answers, but can anyone point me to the correct section related to the structure of my example? Can someone help me understand the parts of my example sentence as they relate to any particular "rule" in CMoS? Is that implied? Is the comma required? Is the comma only preferred? May I flip the sentence? How does it relate to the rules of a quote? Are these two independent clauses? I think there are many technical ways to approach my question, and any one answer would help me dig out of my rabbit hole.


My professor announced the grades. He told us in each part what grades we had. My oral presentation for the project was way better than other students. But he just gave me 89 for oral and gave others 88.  I think it is not fair at all, because most of the students were not clear or the did not consider timing. He also told me that "your presentation was very good".  Also, I performed very well on the final exam but he also did not give me the 100. I think it is not fair.  How can I make a complaint? What should I write?


Allow folding/collapsing of certain segments of posts

A question with attachments, screenshots and/or long code, makes it vertically long and often difficult to read fast.  It would be nice to have a new kind of format, such as 'hideable', with a graphic button or a '+' / '-' sign, so you can add additional details, visible only on a click.


Is this formula for the $n^{th}$ prime number useful?

Is the below formula for the $n^{th}$ prime number in elementary functions useful somehow?  $$p(n)=\sum _{a=2}^{2^n} \sin \left(\pi  2^{\left(n-\sum _{b=2}^a \frac{\sin ^2\left(\frac{\pi }{b}((b-1)!)^2\right)}{\sin ^2\left(\frac{\pi }{b}\right)}\right)^2-1}\right)\frac{a \sin ^2\left(\frac{\pi }{a} ((a-1)!)^2\right) }{\sin ^2\left(\frac{\pi }{a}\right)}.$$


Why do some words ending in -o take the -es plural?

According to , most words ending in -o take the regular -s plural, but some take the -es plural. For example, these take -s:   photo / photos zero / zeros avocado / avocados   But these take -es:   potato / potatoes tomato / tomatoes torpedo / torpedoes   Most sites suggest that there is no rhyme or reason and that English Language Learners simply need to memorize which take which (although some words like 'halo' admit both pluralizations).  Other sites suggest that -o words that take -es have something to do with life. For example, 'potato' has something to do with life. Is the explanation acceptable? If not, can anyone provide an alternate explanation?


How many solutions are there to the equation $na\equiv _m0$ for $0\leq a <m$?

I'm reading trough a proof that the number of (group) homomorphisms $\mathbb{Z}_n\rightarrow \mathbb{Z}_m$ is $$\text{gcd}(n, m),$$ and this is the only step that I'm not understanding, namely, that the number of solutions to the equation $na\equiv _m0$ for $0\leq a <m$ is $\text{gcd}(n,m)$.  I would appreciate any help.


I have this in GParted.  I want to extend my / filesystem (by eventually reducing the /home partition). I've seen , but the answers doesn't fit my need.


Why did Snape need to appear well-informed?

"You will have to give Voldemort the correct date of Harry's departure from his aunt and uncle's," said Dumbledore. "Not to do so will raise suspicion, when Voldemort believes you so well informed."   Snape had just killed Dumbledore, why would it raise suspicion about the movements of Harry's departure? it would seem likely that once Dumbledore died at the hands of Snape the Order would surely have changed any plans they would have had in place for Harry's exit from Privet Drive?


Use of ref/label: Also linking word before label number

Is it somehow possible that I can extend the link to something which I produce by using \ref with a label by the word standing before \ref? If I write something like that: For further information, have a look into chapter \ref{chap:abc} and figure \ref{fig:def}  then the only thing being "clickable" are the chapter number and the figure number. Is it somehow possible to make the words "chapter" and "figure" being linked to those objects as well?


How to add section*{something} to the table of content?

Today,I want to make the sections Append A,B,C in the table of content.However,I don't know how to do.  \documentclass[a4paper,cs4size,UTF8]{ctexart}                         \usepackage{amsmath}                  \usepackage{mathtools} \usepackage{amssymb}              \usepackage{times}                   \usepackage{fancyhdr}                \usepackage[colorlinks,linkcolor=blue,anchorcolor=blue,citecolor=red,unicode]{hyperref}                    \usepackage{lastpage}                 \usepackage{pdfpages}  \pagestyle{fancy}                       \setlength{\headheight}{14.5pt}         \fancyhf{}                             \fancyhead[c]{常州大学本科生毕业论文}              \fancyfoot[c]{第 \thepage 页,共\pageref*{LastPage}页}   \begin{document}  \begin{titlepage}                             \tableofcontents                        \end{titlepage}   \section{Introduction}  \subsection{引言}  babababababababbabababbabababbabababababbbaababbabababab \newpage \section*{Append A} \newpage \section*{Append B} \newpage \section*{Append C} \end{document}


Suppose I have a LimitedValue class which holds a value, and is parameterized on int types 'min' and 'max'.  You'd use it as a container for holding values which can only be in a certain range.  You could use it such:  LimitedValue< float, 0, 360 > someAngle( 45.0 ); someTrigFunction( someAngle );   so that 'someTrigFunction' knows that it is guaranteed to be supplied a valid input (The constructor would throw an exception if the parameter is invalid).  Copy-construction and assignment are limited to exactly equal types, though.  I'd like to be able to do:  LimitedValue< float, 0, 90 > smallAngle( 45.0 ); LimitedValue< float, 0, 360 > anyAngle( smallAngle );   and have that operation checked at compile-time, so this next example gives an error:  LimitedValue< float, -90, 0 > negativeAngle( -45.0 ); LimitedValue< float, 0, 360 > postiveAngle( negativeAngle ); // ERROR!   Is this possible?  Is there some practical way of doing this, or any examples out there which approach this?


I currently use x64 and I tried to install Microsoft Office 2010 Professional x86 & x64 and it failed with Wine and Play on Linux.  It says that it needs MSXML 6 SP1, yet installation fails every time. It says that it is not supported by the processor or that installation could not continue.  I can downgrade to x86, if that means that I can install Microsoft Office 2010?


In this assignment I am supposed to have three threads, these threads are supposed to count up from 0, printing the count each second and printing messages at seven and fifteen seconds.   I can't figure out my error, I think it is that my threads don't know what they are referring to but I'm not sure.  The error:   Exception in thread "Thread-0" Exception in thread "Thread-1" Exception in thread "Thread-2" java.lang.NullPointerException at TimePrinter.run(TimePrinter.java:7) at java.lang.Thread.run(Unknown Source)  java.lang.NullPointerException at MessagePrinter2.run(MessagePrinter2.java:8) at java.lang.Thread.run(Unknown Source)  java.lang.NullPointerException at MessagePrinter1.run(MessagePrinter1.java:8) at java.lang.Thread.run(Unknown Source)     public class Counter{      private int counter;     private Lock counterLock;      private Condition sevenCondition;     private Condition fifteenCondition;     public Counter() {         counter = 0;         counterLock = new ReentrantLock();         sevenCondition = counterLock.newCondition();          fifteenCondition = counterLock.newCondition();     }     public void incrementCounter(){         counterLock.lock();         try{              counter++;             if (counter%7 == 0)                  sevenCondition.signal();             //else sevenCondition.await();             if (counter%15 == 0)                  fifteenCondition.signal();             //else fifteenCondition.await();             System.out.print(" " + counter + " ");          } finally {counterLock.unlock();}     }      public void sevenSecondMessage()throws InterruptedException{         counterLock.lock();         try{             while (counter%7 != 0){                 sevenCondition.await();             System.out.println("Seven Second Message");             }         } finally {counterLock.unlock();}     }      public void fifteenSecondMessage() throws InterruptedException{         counterLock.lock();         try{             while (counter%15 != 0){                 fifteenCondition.await();             System.out.println("Fifteen Second Message");             }         } finally {counterLock.unlock();}     } }     public class TimePrinter implements Runnable{         private Counter counter;         public synchronized void run(){             try {                 counter.incrementCounter();                  Thread.sleep(1000);             } catch (InterruptedException e){}         }     }        public class MessagePrinter1 implements Runnable{     private Counter counter;     public synchronized void run(){         try {              counter.sevenSecondMessage();              }catch (InterruptedException e){}          }      }      public class MessagePrinter2 implements Runnable{         private Counter counter;         public synchronized void run(){             try {                  counter.fifteenSecondMessage();                  }catch (InterruptedException e){}              }          }      public class Main2 {      public static void main(String[] args){          Runnable timeprinter = new TimePrinter();         Runnable message1 = new MessagePrinter1();         Runnable message2 = new MessagePrinter2();          new Thread(timeprinter).start();         new Thread(message1).start();         new Thread(message2).start();     } }


Number of ways to select $K$ people from $N$ people such that at least $r$ people are there in between them

Number of ways to select $K$ people from $N$ people (who are aligned in a line)  such that at least $r$ people are there in between them  Ex: I want to select 3 people from 10 people (who are aligned in a line) such that at least 2 people should be there between the selected people   May I know the resources for learning this type of problems , also what is the solution if people are arranged in circular manner


Mesh deforms after automatic weights (IK and pole vector)

Blend :   My self made rig completely deforms after automatic weights. I've altered the rotation of the IK bone, in pose mode and reset the rotation of the bones with alt+G. When I created the bones, I did not pay attention to rotation axes. Did I mention I did not took the time to rename the bones?  What I might think is the problem is the legs, of the original mesh were not completely in T Pose.  Furthermore, the lower part of the mesh breaks after the process, which is caused by other problems. I Followed this tutorial


How to handle selectors that have ID's that keep changing?

I am using Fire bug in firefox browser to identify a unique id in the web pages using the Xpath feature.  Sometimes the Xpaths are not unique, ie: the xpath id is dynamic and keeps changing as the result my script fails. Can anyone let me know how to customize the Xpath so that I can still use it to uniquely identify an object?


Curious on the species of a large Orange Spider?

Heres the images of her:     She just laid a large yellow fuzzy sack of babies recently (Were pretty sure were just going to deposit her and her eggs in a grove in the forest soon)  We have lots of brown recluses here in North Carolina, but no idea what she is.  Climate: Humid, Tropical.  Zone: Sneads Ferry, North Carolina, United States.  Size: About 1.5 Inch, leg spans are about 1 inch on their own.


Appling a material to selected faces only

I looked at this  to apply my material to only one face however the material is applied to the entire mesh. What have I done wrong?


Showing that every polynomial over the Algebraic Numbers has a $0$ in the Algebraic Numbers.

Let $\mathbb{A}$ denote the field of Algebraic Numbers: the field of all complex numbers that are algebraic over $\mathbb{Q}$. Assuming that every polynomial over $\mathbb{C}$ has a $0$ in $\mathbb{C}$ how would you go about proving that every polynomial over $\mathbb{A}$ has a $0$ in $\mathbb{A}$? I've tried contradiction but all that has lead me to is concluding that the $0$ of some $p(x)\in \mathbb{A}[x]$, say $\alpha$, is transcendental over $\mathbb{Q}$, which doesn't help much. I'd appreciate a hint as where to start the proof.


Is it faster to have four times 2 GB or two times 4 GB of RAM with a dual-channel mainboard?

I'm building a Core  system which supports dual-channel memory (up to 16 GB in four DIMMs), my target is 8 GB. From the performance perspective, is it better to have two times 4 GB or four times 2 GB?


I am trying to write a paper in LaTeX.  I am able to indent most of the paragraphs by using \\ at the end of the previous paragraph and adding a blank line in between the paragraphs like so.    This is the last sentence of the previous paragraph.  \\  This is the first sentence of the next paragraph.   However, I am unable to indent the first paragraph of my paper or any of the first paragraphs in any of my sections.  Any advice is welcome.


How to arrange the output of set based on predefined list

list1=['f','l','a','m','e','s'] #This is the predefined list list2=['e','e','f','a','s','a'] #This is the list with repitition x=list(set(list2)) # I want to remove duplicates print(x)   Here I want the variable x to retain the order which list1 has. For example, if at one instance set(list2) produces the output as  ['e','f','a','s'], I want it to produce ['f','a','e','s'] (Just by following the order of list1). Can anyone help me with this?


I've noticed my shield only seems capable of taking a few hits, at least right now, so I'm leery about using it.   If my shield breaks, is it completely useless, or are there some attacks it is still able to block?  Furthermore, is it possible to repair a broken shield?


I'm looking to find help on why Chrome is giving me this weird screen. Whenever I open a new tab it doesn't show the familiar Chrome apps, with the option to view tabs open on other devices in the bottom right. This started happening about a couple weeks ago. I have uninstalled Chrome and it comes back when I re-install it.  Anyone have any ideas?


I want to deselect multiple edges on my model. I currently know how to deselect one edge at a time by CtrlClick, but I am looking for a faster way for that. Deselecting one by one takes forever.  I am using the 3dsmax preset, so the CtrlClick is deselecting edges one by one.  For example, you could use the selection tools in 3dsmax (lasso, circle, box, spray etc.) to quickly deselect verts / edges / faces by Alt(Click+Draw a region).


Why does Super User site appear twice in vote-to-close dialog?

Super User appears in both the main Off-Topic list and the Migration list of the close dialog. Is this a bug or intentional?  I also don't really understand why Server Fault appears in the main Off-Topic list and not the Migration list, apart from it being new.  Here:    and:


I dropped my external HDD (WD My book 2TB, non-portable) from 1m (3ft) height on the hard floor. Now there seems to be no problem, but is there any way that I can check if it is okay?  In the old days, I remember that there were utilities that check 'bad sectors'. Does this apply to modern external HDD?


Clicking a community bulletin blog link traps me in mobile view for some articles

Similarly to  (now fixed) where the slug ?blb=1 was forcing the blog to remain in mobile view in Chrome, I'm now experiencing the same issue with links form the community bulletin with the slug ?cb=1. For example, when I click a blog link to  from the community bulletin I am presented with the mobile view.  When I click the exit button in the footer the page reloads, still in the mobile view - I'm stuck.  Removing the ?cb=1 slug takes me back to a normal view. I've just noticed that I can only reproduce this on the War of the Closes Article, though it persists after a cache clear and in incognito. Chrome 27.0.14 Windows 7


If two continuous maps into a Hausdorff space agree on a dense subset, they are identically equal

Let $f, g : X \to Y$ be continuous functions. Assume that $Y$ is Hausdorff and that there exists a dense subset $D$ of $X$ such that $f(x) = g(x)$ for all $x \in D$. Prove that $f(x) = g(x)$ for all $x \in X$.  Here is what I have so far,  Proof: Let $f : X \to Y$ and $g : X \to Y$ be continuous and suppose that $f(x)=g(x)$ for some dense $D\subset  X$. Let $x  \in X$, since $D$ is a dense subset of $X$, $x  \in \mathrm{Cl}(D)$. I'm unsure how to proceed from here.


Why do print and echo behave differently in a "for" loop

If I use print in this code: <?php for($i = 1; $i <= 3; print $i . "\n") {   $i++;  }    ?>  I see as output this:  2 3 4  But when I use echo the code doesn't work: <?php for($i = 1; $i <= 3; echo $i . "\n") {   $i++;  }    ?>  I see this error:  PHP Parse error:  syntax error, unexpected 'echo' (T_ECHO), expecting ')' in /media/datos/xampp/htdocs/temp/1.php on line 3  My question is:  Why can I use print as a third expression in a for loop, but cannot when using echo and why do they behave differently from each other?  References:


Obtaining the $j$th component of the OLS - an explanation

In a linear regression setting, I've seen that the $j$th component of the ordinary least square estimator $\hat{\beta}_j$ can be obtained as follows: $$\hat{\beta}_j = Y^T Z^{(j)} / (X^{(j)})^T Z^{(j)}, $$ where $Y$ is the response vector, $X^{(j)}$ is the $j$th column of the design matrix, and $Z^{(j)}$ is the residual vector when regressing $X^{(j)}$ against the remaining columns of the design matrix $X^{(-j)}$.   Could you help me understand why this works? A geometric explanation would be really helpful!


System process using CPU while lid is closed

I'm running Windows 8.1 on my laptop, and it is set to do nothing when the lid is closed.  However, I often notice that the fan gets very loud, and when I open the laptop I can see CPU usage suddenly drop from 70% to almost nothing. It seems that System process is using 30%+ CPU while the lid is closed, and then suddenly stops when I open it. What could cause this behavior?


What can be the end product of my PhD dissertation? Can a PhD be an applied research?

I know that the end product of a master's thesis can be not only a scientific finding, such as the relationship found between certain variables, but also the business plan, or even a concept for a new product or service.  What can be the end product of my PhD dissertation? My idea is to actually to carry out a research project, in other words, to have some 100-200 interviews, collect some qualitative data etc. But can a business plan / model be my actual finding? Can I make a business case, develop that something [and later sell it as a finished product], but still call this everything a PhD by turning the idea into a scientific problem, and having a product as a result / finding?  Can a PhD be an applied research?  Working title: Development of an innovative marketing product (or service) for tourism industry, and understanding a demand for such a product (or service).   Field of study: Marketing / Innovation / Tourism


Contradiction between law of conservation of energy and law of conservation of momentum?

Yesterday, while studying a simple question, a rather strange doubt hit my mind:     Consider a ball of mass $m$ moving with velocity $v$ that collides with a wall in a perfectly elastic collision and rebounds back with the same velocity. Taking the direction of initial motion of the ball as positive, the change in momentum of the ball is $-2mv$ and the wall is clearly at rest.   So, in order to obey the law of conservation of momentum, the wall must gain a momentum of $2mv$.  Now, this itself confused me a lot. I then applied the law of conservation of kinetic energy to this situation, and clearly the magnitudes of the initial and final velocities of the ball are equal, so kinetic energy of the ball is conserved and hence the final kinetic energy of the wall must be zero in order to conserve energy.  Now, this contradicts with the law of conservation of momentum, which says that the wall must gain momentum of $2mv$.  One more point: If we are talking about a wall then it is an important fact, which must be considered, that the wall is fixed on earth and so the mass of the wall is equivalent to that of earth, say $M$. If the law of conservation of momentum is applied now then we get velocity of the wall, say $V=2mv/M$ which is no doubt an extremely small value. But, the law of conservation of energy strictly says that the velocity of the wall must be exactly zero, not even the smallest value is allowed (theoretically speaking).   Please clarify this and correct me anywhere if I'm wrong. I have tried my best to make it clear what I want to ask :).


I would like to show that polynomial $x^3-xy^2+y+1$ is irreducible over $\mathbb{Q}(x)[y]$. I thought I could find the roots in using $\dfrac{-b\pm\sqrt{b^2-4ac}}{2a}$, but I found that the two roots are $\frac{-1±\sqrt{4x^4+4x+1}}{-2x}$. These two roots couldn't be in $\mathbb{Q}(x)$.  Is anyone could help me to solve this problem?


Should Community Moderators be "elected for life", or have terms?

While I applaud the excellent work of , the question has come up:     How long will be the elected moderator’s “mandate”? Is it for life, or are we going to have “moderator elections” regularly?   Of course, any community moderator who wishes to recuse him or herself can certainly do that at any time.   Should we have term limits that require community moderators be cycled out periodically, so others get a chance to moderate? Should we hold regular (say, yearly) moderator elections? Is it better to have a larger pool of community moderators, and let the normal ebb and flow of turnover get us "natural" variability in moderation?   What are your thoughts on this?


Proof of number of flops required to reduce a n×(n+1) matrix

While studying the row reduction algorithm to solve a linear system, I came across a statement saying that "a flop is one arithmetic operation on two real floating point numbers. For an $n×(n+1)$ matrix, the reduction to echelon form can take $\frac {2n^3}{3}+\frac {n^2}{2}-\frac {7n}{6}.$ In contrast, further reduction to reduced echelon form needs at most $n^2$." Does anyone know how to prove the above 2 formulas? Please bear in mind that I have only just begun to study linear algebra, and thus am unfamiliar with many technical vocabularies in linear algebra.<\p>


Software architecture/Design question, where to ask?

I've noticed that every design/architecture question on Stack Overflow is closed as opinion based. Where should I ask my questions then?


How can I calculate the age of a person in years, months and days in C#

I need to calculate the age of a person taking in consideration the years, months and days to check if the person is under 14 or not.The return result should be boolean if the person is under 14 or not. I tried with this code but I'm getting an error of conversion.          var under14 = false;         string person.DateOfBirth = "04/01/2012";         var DateOfBirth = Convert.ToInt32(person.DateOfBirth);         var ageDifMs = Convert.ToInt32(DateTime.Now) - DateOfBirth;         var ageDate = new DateTime(ageDifMs);         var age = Math.Abs(ageDate.Year - 1970);         if (age < 14)             under14 = true;


New equation environment causes indentation in text immediately following the equation

MWE :   \documentclass{article} \usepackage{amsmath,amsthm} \newenvironment{Equation}{\begin{equation*}}{\end{equation*}}   \begin{document} \begin{Equation} x = y \end{Equation} The first line of text which follows the equation (in the same paragraph)  is slightly indented.  \end{document}   Obviously I don't want the indentation.   I'm introducing this new environment because it makes the source code have a nicer color scheme in my LaTeX editor (TeXmaker). Basically I don't want it to recognize the equation environment.


Conditional Expectation : How is E[E[xy|x]]=E[xE[y|x]]?

I read that "The law of total expectations states E[xy]=E[E[xy|x]]. By linearity of conditional expectations, E[E[xy|x]]=E[xE[y|x]]" but I am not able to understand the part "E[E[xy|x]]=E[xE[y|x]]" I would be really thankful if you could explain this.


How can I recover contact information from a stolen phone?

My phone got stolen yesterday. The problem is that all phone numbers are in it, and I don't know any numbers now. I tried many different solutions to get my contacts to PC.  Google I went into my Gmail account, and on the left side of the screen selected Contacts > My Contacts, but none of my phone contact's names or numbers are there. Only the e-mail contacts are there with the e-mail addresses.  Bluestacks I installed Bluestacks on my PC, managed to login with my Google account, but the contacts are not there, and most of the apps require SMS verification.   Is there any way that I recover the contact information from my phone?


Is it true that $\dim(X) \leq \dim(X^{\ast})$ for every infinite dimentional Banach space $X$?

Given an arbitrary infinite dimensional Banach space $X$, can we deduce that it's dimension $\dim(X)$ (the cardinality of one of its Hamel bases) is less or equal of the dimension  $\dim(X^{\ast})$ of its dual space (the space of all continuous linear functionals $f:X\to\mathbb{R}$)?


is final fit with X,y or X_train , y_train?

I split the dataset with   X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)   and the fit   from sklearn.metrics import log_loss clf.fit(X_train, y_train) clf_probs = clf.predict_proba(X_test) score = log_loss(y_test, clf_probs) print(score)   is final submission with   clf.fit(X,y) or clf.fit(X_train,y_train)???


Counting $(0,1)$ matrices with 3 one's in each row and column

If $f(n)$ is the number of $n\times n$ binary matrices with exactly three $1$'s in all rows and all columns, then $f(n) = 6^{-n}n!^2 \displaystyle\sum_{\alpha+\beta+\gamma=n}\dfrac{(-1)^\beta(\beta+3\gamma)!2^\alpha3^\beta}{\alpha!\beta!\gamma!^2 6^\gamma}$ where the sum ranges over $\alpha,\beta,\gamma \geq 0$  This is from the introductory chapter of Stanley's Enumerative Combinatorics Vol1. How does one arrive at this summation?


If $X,Y,Z$ are iid unif[0,1], then $(XY)^Z \sim \text{unif}[0,1]$.

Here's a mind-blowing fact (to me at least) that is perhaps not so well-known:  If $X, Y, Z$ are iid uniformly distributed in $[0,1]$, then $W = (XY)^Z$ is also uniformly distributed in $[0,1]$.  If you don't believe me, you can check this by computing an appropriate integral.  My questions are:  (1) Is there a good, natural reason for this? It seems too good to be just a coincidence. Note that I'm not asking for a proof by computation. Instead, I'm looking for a simple intuitive reason.  (2) Is there some history behind this observation?


How to fix java.lang.NullPointerException in Http11InputBuffer.java?

I do Know What a NullPointerException means But in my case I'm receiving the exception from Http11Processor.java, Http11InputBuffer.java which I have never accessed it.  Complete Exception:     java.lang.NullPointerException       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:389)       at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:1110)       at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)       at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:785)       at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1425)       at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)       at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)       at java.lang.Thread.run(Thread.java:745)   And a huge amount of warning Saying:      WARNING: Unable to add the resource at [/WEB-INF/lib/tomcat-i18n-ja.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache   Jan 25, 2017 4:46:11 PM org.apache.catalina.webresources.Cache getResource      INFO: The background cache eviction process was unable to free [10] percent of the cache for Context [/Duck] - consider increasing the maximum size of the cache. After eviction approximately [10,212] KB of data remained in the cache.   And my web project is getting really slow and is getting really hard to load if in my browser.  I'm using Apache 9.x and java 8  All replies are much appreciated


I heard that bigger pixel size of sensor will get better quality, especilly noise in low light condition. if I set image size to a smaller resolution, will it affect the pixel size and improve image quality? (My camera is Sony A6000, APS-C sensor)


I have linux Fedora.  I am trying to change the local ip address by 2 ways:   With sudo ifconfig <interface_name> <ip_address> netmask <netmask_address> With ip -  sudo ip link set dev <interface_name> down sudo ip addr add 192.168.1.12/24 dev <interface_name> sudo ip link set dev <interface_name> up    in both ways ping works but Internet connection seems to be down and doesn't work at all.  I looked at this links:       but I didnt really got the answer I was looking for.


I have an array of items.  var items = {'A', 'A', 'A', 'B', 'B', 'C'}   I want to output an array that counts how many of each item there is. So the output should look like:   {   'A': 3,   'B': 2,   'C': 1  }


If $\{f_n\}$ is sequence of measurable functions on $X$, then $\{x: \lim f_n(x) \text{ exists}\}$ is a measurable set.   My idea is to prove that $$\{x: \lim f_n(x) \text{exists}\}=\{x: \liminf f_n(x)=a<\infty\}\cap \{x: \limsup f_n(x)=a<\infty\}=\bigg(\cup_{j=1}^{\infty}\cap_{n\geq j}\{x: f_n(x)=a\}\bigg)\cap\bigg(\cap_{j=1}^{\infty}\cup_{n\geq j}\{x: f_n(x)=a\}\bigg)$$ which two sets are measurable and their insection is also measurable. Is it correct?  Moreover, Notice that function $g=\limsup f_n-\liminf f_n$ is measurable because $f_n$ is measurable and by proposition 2.7. So $$\{x: \lim f_n\text{ exists} \}=\{x: \limsup f_n=\liminf f_n\}=\{x: g(x)=0\}.$$ is measurable which because $g^{-1}(\{0\})$ is measurable.  Another question: Do I need to consider that $ \limsup f_n=\pm \infty \text{ or } \liminf f_n=\pm \infty$


How to add time duration column total from Skype Call History CSV file in Excel 2010?  These are my exact steps on how to set up my Excel spreadsheet.  How to import Skype Call History CVS in Excel 2010:   Create a blank spreadsheet. Data > Get External Data > From Text > Import Skype Call History CSV file. Text Import Wizard > Original data type: Delimited > Next. Enable "Semicolon" checkbox under Delimiters group > Next. Select each column in "Data preview" > Change all columns to "Text" under Column data format group. Select the empty last column > Select "Do not import column (skip)" under Column data format group. Finish > OK. Delete "Simplify your business invoices with the Skype Manager. Find out more at skype.biz" cell at the bottom. Resize columns.   Change "Duration" column to a Time format:   Select all cells in the column below the "Duration" header Right click > Format Cells... > Select "Custom" > Type: "[hh]:mm:ss" > OK.   When I do a =SUM(F2:F29) in a cell below the time durations, I get a sum of 00:00:00. How do I add the times?  When I double click on a time duration cell and press Enter, Excel converts the cell from mm:ss format to hh:mm:ss format but then wrongly assumes that the minutes are hours and that the seconds are minutes. For example, 02:24 (2 minutes, 24 seconds) becomes 02:24:00 (2 hours, 24 seconds, 0 seconds). How do I fix this?  In a Skype account's Call History, you can export the data to a CSV file.    The "Export to history file" link, for example, may lead to , which will export the Skype Call History for March 2011.  Here is a sample Skype Call History CSV file, saved as "call_history_2011-03.csv":  Date;Item;Destination;Type;Rate;Duration;Amount; "March 31, 2011 17:31";+00000000000;USA;Call;0.000;00:05;USD 0.000; "March 31, 2011 17:30";+00000000000;USA;Call;0.000;00:11;USD 0.000; "March 31, 2011 14:33";+00000000000;Canada;Call;0.000;03:01;USD 0.000; "March 31, 2011 12:29";+00000000000;Canada;Call;0.000;10:59;USD 0.000; "March 31, 2011 12:26";+00000000000;USA;Call;0.000;00:00;USD 0.000; "March 31, 2011 11:47";+00000000000;USA;Call;0.000;00:41;USD 0.000; "March 31, 2011 11:46";+00000000000;Canada;Call;0.000;00:19;USD 0.000; "March 31, 2011 11:21";+00000000000;Canada;Call;0.000;00:42;USD 0.000; "March 31, 2011 11:19";+00000000000;Canada;Call;0.000;00:38;USD 0.000; "March 31, 2011 11:19";+00000000000;Canada;Call;0.000;00:02;USD 0.000; "March 31, 2011 11:18";+00000000000;Canada;Call;0.000;00:02;USD 0.000; "March 31, 2011 11:17";+00000000000;Canada;Call;0.000;00:34;USD 0.000; "March 31, 2011 10:20";+00000000000;USA;Call;0.000;00:40;USD 0.000; "March 31, 2011 09:51";+00000000000;USA-Toll Free;Call;0.000;17:19;USD 0.000; "March 30, 2011 23:04";+00000000000;Canada;Call;0.000;13:43;USD 0.000; "March 30, 2011 22:39";+00000000000;Canada;Call;0.000;00:29;USD 0.000; "March 30, 2011 22:38";+00000000000;USA;Call;0.000;00:34;USD 0.000; "March 30, 2011 21:55";+00000000000;Canada;Call;0.000;08:21;USD 0.000; "March 30, 2011 18:26";+00000000000;USA;Call;0.000;00:53;USD 0.000; "March 30, 2011 15:56";+00000000000;Canada;Call;0.000;02:18;USD 0.000; "March 30, 2011 15:53";+00000000000;Canada;Call;0.000;00:30;USD 0.000; "March 30, 2011 11:58";+00000000000;USA;Call;0.000;00:24;USD 0.000; "March 30, 2011 10:01";+00000000000;USA;Call;0.000;00:11;USD 0.000; "March 30, 2011 10:00";+00000000000;USA;Call;0.000;00:00;USD 0.000; "March 30, 2011 10:00";+00000000000;USA;Call;0.000;00:00;USD 0.000; "March 30, 2011 09:59";+00000000000;USA;Call;0.000;00:38;USD 0.000; "March 30, 2011 09:56";+00000000000;USA;Call;0.000;02:24;USD 0.000; "March 30, 2011 09:55";+00000000000;USA;Call;0.000;00:35;USD 0.000;  Simplify your business invoices with the Skype Manager. Find out more at skype.biz


Usage of brackets for missing or unclear transcription

I have for many year wondered what is missing when I read sentences like     David Canton, the Education Department spokesman, stated:    “(It) shouldn’t have happened. (C)ommon sense should prevail.”    I can understand that (It) might mean mean that the transcriber did not hear the "It" - perhaps the person omitted the word, but "(C)ommon"?   Would that mean that the recording might have some noise drowning the "C" out and the transcriber could not hear it or how do you interpret this?


Scifi & Fantasy:SE Seems to be suffering from much the same CSS issues raised in early June; faulty formatting, messed up user profiles, weird colour schemes:      At the time, this was attributed to a need to...     graft[ed] the new image uploader styles to the old base styles.   It's reported that this is happening on Mi Yodeya and Seasoned Advice as well.  Is this new CSS error part of an ongoing update or a genuine glitch?


Parker Solar Probe passing extremely close to the Sun; what relativistic effects will it experience and how large will they be?

note: This is a question about relativistic effects. I've included some detail about the spacecraft and its orbit for background, but the question is about relativistic effects and their observability.     When the Parker Solar Probe passes within 8.5 solar radii of the Sun, it will be moving really fast.  A perihelion and aphelion of about 6.6 and 109 million kilometers suggests a semi-major axis of 57.8 million kilometers. The standard gravitational parameter for the Sun is:  $$GM_{Sun} \ = 1.327\times 10^{20} m^3/s^2$$  So using the :  $$v^2 \ = \ GM_{Sun}\left(\frac{2}{r}-\frac{1}{a}\right)$$  the orbital velocity at perihelion will be about 195,000 m/s, or about 25 times faster than a satellite in LEO. This is close to one part per thousand of the speed of light! I think this will be a new record for a spacecraft velocity relative to the solar system.  Depth of a gravitational potential well for an object of mass $m$ is approximately given by:  $$u_G \ = \ -GM_{Sun}\frac{1}{r}$$  At 6.6 million kilometers the spacecraft will be 23 times deeper in the Sun's gravitational well than it would be at 1 AU.  Will there be any particularly unique relativistic effects detectable for the Parker Solar Probe during it's close flyby of the Sun?  Just for example, during one close flyby, how much time will its on-board clock gain or lose compared to some convenient standard solar system timescale? I know there are several different choices, "GPS time" might be one but I don't want to arbitrarily choose an inconvenient one.     above: Parker Solar Probe cropped, from .    above: screen shot from NASA's      note: the link seems to be dead now, but there is plenty of related information available at     above: Illustration of the Parker Solar Probe's orbit, from .


Why is the migration from Stack Overflow only allowed to  those specific sites?        Yes, these sites are closer to programming, but IMHO, TeX - LaTeX and SharePoint are rarely used; for example, the Server Fault, Programmers, Code Review are the better options to choose.  Maybe this list should be a read from the user's preferences.


Are these double negatives? "No it is not. No I don't think so."

A double negative is generally defined as two negative words in the same clause. In these examples:  "No it is not." "No I don't think so."  is "No" considered a clause unto itself? Or is it in the same clause as the rest of the sentence, thus constituting a double negative?


Is it correct to use the word "videos" as plural of "video"?

I.e. in the sentence:     I'm searching for gardening related videos.   or:     You may download the two videos at this link...   Thanks.


Can anyone help me in finding some data related to Oracle Metadata .  I have certain very specific questions around it . Listing them below as per my understanding :   Where can i get Table metadata details like Table Size, create timestamp and update timestamp for all the tables  Where can i get View metadata details like create timestamp and update timestamp for all the Views in the database Where can i get Procedure metadata details like content of procedure create timestamp and update timestamp for all the Procedures in the database Where can i get  Column metadata details like create timestamp and update timestamp for all the Columns in all the tables in the database Where can i get MACRO metadata details like content of MACRO create timestamp and update timestamp for all the Procedures in the database Where can i get Data regarding metadata of Queries like Runtime, IO Time , CPU Time etc Where can i get INDEX metadata details


How do I hide unnecessary .directories in my home directory?

I found some .files in my home directory now. They are .local, .mozilla, .java, .Skype, .adobe and many more. They make my home directory messy. How to hide these files? They were not present before.


Ubuntu 12.4lts iPhone 5 can't mount. test this computer loops endlessly

Just what the subject said.   Wife just got a new iPhone 5c iOS 7. I had pulled all the goodies off her old android (now my new android) and wanted to dump the pics and stuff back onto her new phone.  Alas, no joy.   iphone prompts 'Trust this Compter?' I select to trust, and it just pops back up again, looping endlessly.   Ubuntu 12.04LTS


I have no particle systems in my menu options

I am new to Blender. I have no Particle Systems in my menu options.  Is it an add-on I need to download or is there something I need to purchase?


How can I read a file and split each line in C++?

I have a file like this:  4 88 101  1 22 100  6 41 151  I have 3 arrays and i want to put the first values(4, 1, 6) to my first array, the second values(88, 22, 41) to my second array etc. So how can I split each line by space??  I have already read the file but I cannot fill my arrays with these values.


How to properly connect the Denoise node in Compositor?

After enabling Denoising Data pass, there are now two image outputs:  Image Noisy Image  Which should I use with the Denoise node?  doesn't cover it.


I have been trying to make the aligned equations in the same line with item number. I have tried array, aligned, alignat, and eqnarray, but they dont work out for me.   The picture is from align* environment which I resort to do.   Thanks in advance, genius!


European citizen visiting Cuba while in US?

I may be visiting the US soon for both work (conference) and leisure (sight-seeing) but was wondering whether it is possible to pay a visit to Cuba, as I see that direct commercial flights have been restarted. From what I can tell, it is still not permitted for US citizens to travel to Cuba as tourists (from the ).  What is the legal status of European citizens - would it be permitted for me to travel as a tourist from, say, Florida to Cuba on a commercial flight? Would this cause problems for me on my return to the US?  I understand that the question has been asked before () but the situation has changed and I believe it warrants asking again.


Convert multiple rows into column base on another column value

I have search through the answer but could not get what i'd like to have. my table is as below.      No  |    Name            | Relation    1   | A                  | P 1   | B                  | GO 1   | C                  | JB  2   | AH                 | P 3   | TY                 | P 3   | DO                 | JB 3   | DO1                | JB              3   | DO2                | JB 3   | DO3                | JB 3   | DO4                | JB 3   | DO5                | GO 3   | DO6                | GO              3   | DO7                | GO 3   | DO8                | GO 3   | DO9                | GO 3   | DO10               | GO 4   | PA                 | P 4   | PA2                | GO 4   | PA3                | GO              4   | PA4                | GO 4   | PA5                | GO 4   | PA6                | GO 4   | PA7                | GO   Each No will have in Relation only one 'P', max 5 'JB' and max 6 'GO'.   I'd like to get below result.    No  | P    | JB1  | JB2 | JB3 | JB4 | JB5 | GO1 | GO2 |GO3 |GO4 |GO5 |GO6 | 1   | A    | C    | NULL| NULL| NULL| NULL| B   | NULL|NULL|NULL|NULL|NULL| 2   | AH   | NULL | NULL| NULL| NULL| NULL| NULL| NULL|NULL|NULL|NULL|NULL| 3   | TY   | DO   | DO1 | DO2 | DO3 | DO4 | DO5 | DO6 |DO7 |DO8 |DO9 |DO10| 4   | PA   | NULL |NULL |NULL |NULL |NULL | PA2 | PA3 |PA4 |PA5 |PA6 |PA7 |


I know how reputation works and also read this post   According to this post your reputation will be decreased by 1 when you vote an answer down/not useful.  As you can see in my profile -1 reputation is deducted from my account even though I didn't downvote on this post. So I'm not sure what it represents.


Manage Dash-to-Dock favorite apps by command line

I'm trying to improve my knowledge in all Ubuntu environments, searching and learning how to write bash and python scripts to customize my Bionic Beaver machine.  I therefore would like to know how to change the pinned applications in my dock via command line. I've found some similar questions here, but most of them were answered for old Ubuntu versions.  ,  and  describe the list I'm looking for would be stored at com.canonical.Unity.Launcher favorites, however I couldn't find this schema searching through dconf-editor.  Do someone has a clue where could I find it at Ubuntu 18.04 Bionic Beaver? Or perhaps some other way to manage this list via command line?


Probability that no two consecutive heads occur?

A fair coin is tossed $10$ times. What is the probability that no two   consecutive tosses are heads?   Possibilities are (dont mind the number of terms):  $H TTTTTTH$, $HTHTHTHTHTHTHT$.  But except for those,  let $y(n)$ be the number of sequences that start with $T$  $T _$, there are two options, $T$ and $H$ so,  $y(n) = y(n - 1) + x(n-1) = y(n - 1) + y(n - 2)$  Let $x(n)$ be the number of sequences that start with $H$,   $H _$ the next option is only $T$ hence,  $x(n) = y(n - 1)$   The total number of sequences $F(n)$ is:  $$F(n) = y(n) + x(n) = 2y(n - 1) + y(n - 2)$$  We are after $F(10)$,  $$F(10) = 2y(9) + y(8)$$  $$F(3) = 2y(2) + y(1) = 1 + 4 = 5$$  $$F(4) = 2y(3) + y(2) = 6 + 2 = 8$$  But I'm not quite sure where this will take me though.


What is the distribution function of $\left( \begin{smallmatrix} X \\ (-1)^nX \\ \end{smallmatrix}\right)$ where $X\sim N(0,1)$

Find the distribution function of this multivariate normal variable where $X \sim N(0, 1)$ $$ \begin{pmatrix} X \\ (-1)^nX \\ \end{pmatrix} $$  I need this for a proof that marginal convergence in distribution does not imply joint convergence in distribution, but I am really rusty.   Any help is much appreciated.   Edit:  Explaining notation.  This is a sequence of two-dimensional random variable vectors, where $n$ takes values in the natural numbers. The distribution function should differ for odd and even values of $n$.


I have a little problem with my Ubuntu system.  When selecting boot on startup for a harddrive, the partition can't be mounted. The error which occurs is as follows:   dmesg | tail  [  470.027891] EXT4-fs (sda2): Unrecognized mount option "x-gvfs-show" or missing value   The corresponding /etc/fstab entry is:  /dev/disk/by-uuid/d0e8607e-9067-49c9-929e-83ec7f70cea1 /mnt/d0e8607e-9067-49c9-929e-83ec7f70cea1 auto nosuid,nodev,nofail,x-gvfs-show 0 0   Also in the GUI:


If a set is open, does it mean that every point is an interior point?

In Walter Rudin's Principles of Mathematical Analysis he defines open set as: "E is open if every point of E is an interior point of E." So this can be translated in logic as "If every point of E is an interior point of E, then E is open."  But does this mean that "If E is open, then every point of E is an interior point of E?" How is one sure when encountering these definitions that the converse also applies?


Every finite group of order more than two has a nontrivial automorphism

I want to prove that every finite group $G$ of order more than 2 has a nontrivial automorphism.  I've seen this question answered on this site for infinite groups, but the proofs given use the fact that if $g^2=1$ for every $g$ in $G$, then $G$ is a vector space over $\mathbb{Z}_2$.  This is an exercise in Herstein's text that appears before the section on (the fundamental theorem of) finite abelian groups.  I think I can prove this result using that theorem, but was wondering if there are more elementary proofs.  Here is my proof: If $G$ is nonabelian, then $\exists x \in G$ such that the map  $(T_x: g \mapsto x^{-1}gx)$ is a nontrivial automorphism of $G$.  So suppose $G$ is abelian.  Then the map $g \mapsto g^{-1}$ is an automorphism of $G$; this automorphism is nontrivial if some element in $G$ has order at least 3.  If every element in $G$ has order 2, then by the fundamental theorem on finite abelian groups, $G \cong C_2 \times \cdots \times C_2$ is the direct product of $k$ copies of $C_2$ for some $k \ge 2$.  A map that interchanges the generators of the first two copies and fixes the remaining $k-2$ copies yields a nontrivial automorphism of $G$. QED.


Why is normal ordering a valid operation?

Why is  even a valid operation in the first place? I mean it can give us some nice results, but why can we do the ordering for the operators like that?  Is its definition motivated by the relation between the normal ordering and the time-ordered product, which is basically the content of Wick's theorem?


I am checking to see if an object is null before using it like this   if (resturant.getLat() != null)    //do stuff   But it is throwing a java.lang.NullPointerException how can I check that restaurant.getLat() is not null?  Thanks


I cannot boot Windows 7 after I installed Ubuntu on a partition

I installed Ubuntu and now I can't access Windows 7. When it boots it shows Ubuntu and Windows 7. I can launch Ubuntu, but when I try to launch Windows it goes to the Windows loading logo and stays there forever. I've ran boot repair and Windows repair, neither have worked. I cannot access my backup either. EDIT: I tried using system recovery from windows boot and boot repair in ubuntu. Im not super sure what boot repair it was, I just ran the program and it instructed me through terminal. Ubuntu works fine it is on a partition, windows loads but stays at the starting windows screen. It shows up as an option for boot, but does not complete the boot.


In an Android device, is it possible to port a URL such as www.example.com to a local network address such as 192.168.0.2:8081?  Do I need to install an application on that device?


Show that $R[x]/(x^2-c)$ is a Dedekind domain

I am trying to solve the following question.  Let R be a PID. Suppose that 2 is a unit in R. Let $c_1, ..., c_t$ be irreducible elements of R and let $c=c_1 ... c_t$. Show that the ring $R[x]/(x^2-c)$ is a Dedekind domain.  A Dedekind domain is a noetherian ring of dimension 1, which is integrally closed. So far I have that R is a PID $\Rightarrow$ R is a Dedekind domain, so in particular $\dim(R)=1$. Also R noetherian $\Rightarrow$ $\dim(R[x]) = 2$ and $R[x]$ noetherian. $R[x]$ noetherian $\Rightarrow$ $R[x]/(x^2-c)$ noetherian. I think I'm supposed to somehow use the fact that we are taking the quotient by an irreducible polynomial to show that the dimension is reduced by 1, but I'm not quite sure how. Also I'm not sure how to use the assumption that 2 is a unit, nor how to go about showing that the resulting ring is integrally closed.


The difference between these two sentences?

Would you mind arranging to travel with us Would you mind to arrange travelling with us


Display real apostrophe in parts of a document

The question  is my question too, but the answer points to a package upquote that affects the entire document. I need to display an apostrophe (U+0027) only a couple of times within the document. Otherwise I would like the general conversion to quote to take place.  \documentclass{article} \usepackage{fontspec, xunicode, xltxtra} \defaultfontfeatures{Mapping = tex-text}  \begin{document} \noindent I would like an apostrophe to appear in the word ap'ple (U+0027), but a right quotation mark (U+2019) when I quote the word `orange'. \end{document}


my article has been evaluated since 17 months. what do you think about this situation?

I submitted my article to a journal on 12.01.2016. I asked many times about status of my paper. I have not received a reply from the editor even though my article has been evaluated since 17 months. what do you think about unethical situation?


Suppose $x_1 ≥ x_2 ≥ · · · ≥ 0$. Then $\sum_{n=1}^{\infty} x_{n}$ converges if and only if $\sum_{n=1}^{\infty} 2^{n}x_{2^n}$ converges. I mean it is evident that $x_{2^n}$ is meant to be a sub sequence of $x_n$ but I'm quite unsure how to proceed.


Linux iptables rejected - How do I enable it back?

so I'm having a client in my network connected to the router through my computer with arpspoof. When I know want to stop the packet forwarding I execute:  iptables -A FORWARD -j REJECT   that is working how I expected. But when I try to do something like:  iptables -A FORWARD -j ACCEPT   I cannot manage to make the packets go through like in the beginning.   Am I doing something wrong or are there any other arguments I should use different from "ACCEPT"?


How can I get access to EXT2, EX3 and EXT4 partitions on Windows 7?

I tried all programs recommended to mount Linux partitions like EXT2 or EXT3 or even EXT4 but no one can do well on Windows 7 32 bit.  I want to access read-write, is there a program that can do this?


How to return view window back to original location

How can I return my view window back to the original location?  Specifically, I want to have options panel to the right of the view window.  Thank you!


Comparing strings in onPostExecute (resulting from mysql operation)

I have been trying to connect to a mysql database and it was succesfull. In the onPostExecute method, I get a result which seems to me exactly the same as the real input. In this example the emailadress jb@jb.jb. Logcat shows both the real input as the result. Yet my code doesn't agree that it is the same. Any advice?  EDIT: This link apparently gave the answer:


Although many have attempted to explain the difference among \mathrm, \textrm, \textnormal and \text (and others?), I found them misleading.  See for example the LaTeX's Wiki \mathrm explanation   Why is it wrong? Let's try all of them within an article and a beamer and you'll see the difference and, therefore, error.  equation.tex  \begin{eqnarray*}   \int_1^9\! \cos{x} \,\mathrm{d}x & & \textrm{this is textrm}\   \sum_1^9 y                       & & \textsf{this is textsf}\   \prod_1^9 z                      & & \textnormal{this is textnormal}\   \bigcup_1^9 w                    & & \text{and this is just text} \end{eqnarray*}   article.tex  \documentclass{article} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb}  \begin{document}   \input {equation} \end{document}     And until here everything looks fine...  beamer.tex  \documentclass{beamer} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb}  \begin{document}   \begin{frame}     \input{equation}   \end{frame} \end{document}     And here we can clearly see that \mathrm does not behave as expected, i.e. does not provide a function aspect to the d. Does anyone know what am I supposed to use here instead? Just \text?? o.O  Moreover, I cannot see any difference between \textnormal and \text.  Finally, \textrm looks useless..


Has anyone seen a bitizen with Panna City Medicines dream job yet?

I've just gotten the reward for 35 decorations but it just occurred to me I've yet to see any bitizen with Panna City Medicines dream job. Or do they only trigger when you unlock the shop?


Why do we invert then multiply when dividing fractions?

I have looked up various sites online. They only explain it in a very basic arithmetic way. Would someone explain to me why is $\displaystyle\frac{x}{\frac{1}{2}}$ is $\displaystyle\frac{2x}{1}$?


A follow up to this thread:   I've installed Drupal 8.2.5 two times on my server. First with the "minimal installation" option, and after that with the "normal installation" option. In both cases the installation worked without any errors. But in both cases I can't install experimental modules. I set the check mark next to an experimental module, then click install, the site refreshes and nothing changes. I can install other modules just fine. Since I must upgrade an existing Drupal 7 installation, I need the experimental Migrate modules.   No error messages are given, neither in "reports" nor on server level. Does someone know why this pre-alpha-like error occurs and how to avoid it?


Is there another type of number more advanced than complex numbers?

I am a student and I was introduced to complex numbers about a year ago. I am curious to know whether there is another type of number system more advanced than complex numbers.   So the way I was introduced to complex numbers was by being told the history of numbers. First, there were integers, which were used to count things (such as ten fingers, two eyes, and so on.) Then we came up with decimals that came in handy for example when we say "the glass is half full." Next, we used negative numbers. That was handy in for example in accounting to show debt. Then we came up with imaginary numbers, which are used in, for example, quantum mechanics. So my question is are there any other types of number systems?  Surely, there must be infinite types of numbers. This is because I imagine the real numbers to take up a dimension (similar to the x-axis) and imaginary numbers to take another dimension (similar to the y-dimension.) As a result, I am thinking there must be an infinite type of number because we can add as many dimensions as we like. Am I correct to assume this?


What would a non-binary or genderfluid magical person be called in the Potterverse?

I think it is safe to assume that magical otherkin would not have a problem as they would be able to express themselves by becoming Animagi, but what would we call a magical person of unconventional gender?  I doubt they would be happy being called a witch or a wizard, as both terms presume a strict gender binary, so what term would they use?  Please note that this question is asked with tongue firmly in cheek, but I do wonder if any thought has been put into this type of question by either the fans or JK herself.


Proving $x+y =\sup\left\{ r+s: r,s \in \mathbb{Q}, r\leq x, s\leq y\right\}$

I am trying to show that the following holds: $$x+y =\sup\left\{ r+s: r,s \in \mathbb{Q}, r\leq x, s\leq y\right\}.$$  I have been able to show that   $$x=\sup\{q\in \mathbb{Q}: r\leq x\}$$ and similarly that $$y=\sup\{q\in \mathbb{Q}: r\leq y\}.$$  Thus, I am essentially trying to show that  $$\sup\left\{ r+s: r,s \in \mathbb{Q}, r\leq x, s\leq y\right\}=\sup\{q\in \mathbb{Q}: r\leq x\}+\sup\{s\in \mathbb{Q}: s\leq y\}.$$  One direct is trivial, namely that $$\sup\left\{ r+s: r,s \in \mathbb{Q}, r\leq x, s\leq y\right\}\leq\sup\{q\in \mathbb{Q}: r\leq x\}+\sup\{s\in \mathbb{Q}: s\leq y\}=x+y.$$  The other direction is tricker, though. I was trying to approach this by contradiction: Let $A=\{ r+s: r,s \in \mathbb{Q}, r\leq x, s\leq y\}$ and suppose that $\sup A < x+y$. I was trying to use the fact that $\mathbb{Q}$ is dense in $\mathbb{R}$, but I'm still not seeing how to get the proof to work out. Suggestions?? Thank you!!


Ubuntu 18.10 how to rename current terminal Tab title

I want to rename my current terminal tab - window title. Please help me how to do it either using CUI or GUI.


prime factorization of number which is product of all divisors of another number

I need to calculate prime factorization of a number which is product of all divisors of a number represented as product of primes.   For example $2^1 \times 3^1 \times 5^1 = 30$, and product of all divisors of 30 is $2 \times 3 \times 5 \times 6 \times 10 \times 15 \times 30 = 2^x \times 3^y \times 5 ^ z$ , I need to calculate $x,y,z$ which are $4,4,4$ in this example  Is it possible to calculate $x,$y,z without calculating actual product of divisors ? ( may be with divisor function ?)


Creat a bootable USB of windows 10 on ubuntu

How can i make a bootable USB of windows 10 on ubuntu ?  I tried to extract the iso on the usb key but all i got was an error when i tried to install it.  How can i make a bootable USB of Windows 10 using Ubuntu ?  Thanks


i work with EVI MODIS and i need to stack all raster i had using python but i don't know how  i'm using this backag and script to read my rasters       import os     import glob     from osgeo import gdal     import numpy as np     import matplotlib.pyplot as plt     import scipy.ndimage     import pandas as pd     import datetime as dt     import rasterio as rio       #repertoire de travail       inDir = r'D:\MODIS\Doy2000/'     os.chdir(inDir)       #repertoir sorti       outDir = os.path.normpath(os.path.split(inDir)[0] + os.sep + 'output') + '\\'      if not os.path.exists(outDir): os.makedirs(outDir)      # Create list of MODIS rasters for surface reflectance     modis_EVI = glob.glob('MOD13Q1.006__250m_16_days_EVI_**.tif')  modis_EVI Out[32]:  ['MOD13Q1.006__250m_16_days_EVI_doy2000209_aid0001.tif',  'MOD13Q1.006__250m_16_days_EVI_doy2000225_aid0001.tif',  'MOD13Q1.006__250m_16_days_EVI_doy2000241_aid0001.tif',  'MOD13Q1.006__250m_16_days_EVI_doy2000257_aid0001.tif',  'MOD13Q1.006__250m_16_days_EVI_doy2000273_aid0001.tif',  'MOD13Q1.006__250m_16_days_EVI_doy2000289_aid0001.tif',  'MOD13Q1.006__250m_16_days_EVI_doy2000305_aid0001.tif',  'MOD13Q1.006__250m_16_days_EVI_doy2000321_aid0001.tif',  'MOD13Q1.006__250m_16_days_EVI_doy2000337_aid0001.tif',  'MOD13Q1.006__250m_16_days_EVI_doy2000353_aid0001.tif']   but idon't know how stack all my raster in python  need help i'm very new in python


The following one is working for restricting maximum number of authors for both citations and bibliography but how do we restrict to only citations.  \documentclass{article} \usepackage[T1]{fontenc} \usepackage[american]{babel} \usepackage{csquotes} \usepackage[style=authoryear,maxnames=2]{biblatex}  \renewcommand*{\finalnamedelim}{\addspace\&\space}  \addbibresource{biblatex-examples.bib}  \begin{document} Filler text \parencite{bertram,companion,jaffe,moraux}. \printbibliography \end{document}


I noticed an unexpected different line spacing of the titlepage what drives me crazy. The left page is the MWE, the right page without the \\ in front of Name.  \documentclass{scrartcl}  \begin{document}  \centering \Huge \textbf{UUUUUUUU UUUUUUUUU UUUUUUUUUUUUU UUUUUUUUUUUUU} \vspace{\baselineskip}\\ \textbf{UUUUUUUU UUUUUUUUU UUUUUUUUUUUUU UUUUUUUUUUUUU} {\rmfamily\Large \vspace{5\baselineskip}\\Name}  \end{document}     Any idea what causes this? Thanks alot!  Cheers, Stephan


D8 - Twig naming for content type failing

I have a content type I added with the machine name news.  Per  and  I have set up node--news.html.twig pushed to Acquia successfully and cleared all caches.  The answer on  says my file name should work.   says same thing: "Content specific node templates is simple - node--[content-type-machine-name].html.twig, e.g. node--article.html.twig, clear the cache."  I have twig debugging enabled and if I add page--node--336.html.twig it works as expected.  Debugging output using node--news.html.twig:  <!-- FILE NAME SUGGESTIONS:    * page--node--336.html.twig    * page--node--%.html.twig    * page--node.html.twig    x page.html.twig --> <!-- BEGIN OUTPUT from 'themes/fimc/templates/page.html.twig' -->  I have also tried page--node--news.html.twig with no success.  What am I doing wrong?


Im writing this java code for school.  I need to see if the data is a palindrome or not and then let the user know the results.  My eyes are bleeding.  I can't figure this out!  import javax.swing.JOptionPane; import helpers.*;  public class Palindrome {     public static boolean check(String dataInput) {          boolean test = false;         String reverseDataInput = new StringBuffer(dataInput).reverse().toString();         if (dataInput == reverseDataInput){             test=true;             return test;         }         return test;     }      public static void main(String[] args) {          String inputString = "";         int number = 0;         boolean isPalindrome = false;                 number = helpers.InputUtilities.getIntegerInput(inputString, -99999, 99999);          String str = Integer.toString(number);         isPalindrome = check(str);         if (isPalindrome = true){             JOptionPane.showMessageDialog(null, str + " is a palindrome!", "Area", JOptionPane.PLAIN_MESSAGE);         }         else {             JOptionPane.showMessageDialog(null, str + " is not a palindrome!", "Area", JOptionPane.PLAIN_MESSAGE);         }            } }


On Windows 8, Num Lock is off after booting after Shut Down. I changed the value of HKEY_USERS\.DEFAULT\Control Panel\Keyboard to 2, which works when fast startup is disabled or when I use restart.  How can I force Num Lock to be on before reaching the lock screen? Thank you.


I'm looking for a way to change the color of the text output from my python scripts as it runs.  The basic idea is something like this:  if (Data < LowerLimit):     print "Failed" # Output Failed as Red Text elif (Data > UpperLimit):     print "Failed" # Red Color else:     print "Passed" # Blue Color   The scripts are being used on windows machines for quick data analysis.


Let $R$ be a ring and let $M$ be an $R$-module. Define the annihilator of $M$ to be the following subset of $R$:  $Ann_R(M) =\{r\in R \mid rm = 0_M  \text{ for all } m\in M \}$  Prove that $Ann_R(M)$ is an ideal of $R$.  please help as much as you can a full answer is greatly appreciated   Thanks


Why is Compactification restricted to Toroids, Calabi-Yau et al?

I think I've missed this point somehow. I've just started with Compactification and so far, I don't really see why it is restricted to the above mentioned types of manifolds?   I have to admit, when studying T-Duality, I simply took Toroidal compactification as a kind of "why not"-thing.  Could someone point me in the right direction? Been skipping through my books to look for some explanation of this, but couldn't find anything. Thanks!


Color bands on a cheap resistor is confusing me

I bought a cheap electronics components kit(for the first time, I'm a rookie electronics hobbyist) which came with some cheap resistors with no clear written specifications.  The resistor I am looking to integrate into my simple circuit is colored blue, and it has five color bands.  I don't want to say what color band is last or first(I don't know how to determine the order of the color bands) but the two outer bands are both brown, with there being three black bands in between them, again, making a total of five color bands.   What does all this specify? Does anybody know where I can get quality resistors(that are better documented and come with written specifications) at a good deal?     And if I have this problem again, can someone please supply me with links that can instruct me on how to competently decipher resistor color coding and anatomy. Thank you.


Pokemon go can't detect camera orientation

I know the reason I can't see Pokemon in AR mode is because I don't have a gyroscope on my phone. Anyway I don't really know much about gyroscope sensors or anything but what I really want to know is can this be something they can fix in the future with an update? Will I be able to see Pokemon in the future in AR mode even if my phone doesn't have a gyroscope or will I just have to get a new phone?


$G$ non abelian, order $p^3$ ($p$ prime). Suppose that the center is $p^2$, prove that $\exists\ x$ outside of the center, of order p

Let $G$ be a non abelian group of order $p^3$, with $p$ prime.  I'm proving that $Z(G)$ (its center) is of order $p$. I already know how to do it by saying that its order can't be $p^3$, nor 1, and if it's $p^2$ then $G/Z(G)$ is cyclic then G is abelian, Abs!  But I've been reading another way of proving it and the author supposes that $|Z(G)|=p^2$. Then, she says: "$\exists\ x$ outside the center of $G$, of order $p$." Could someone give me a hint? Thanks!


Deriving the equation for Angular Momentum?

The equation for angular momentum is L=mvr in which L is the angular momentum, m is the mass, v is the velocity, r is the radius.  How does one derive this equation from the other laws of motion?


Let $f$ be an analytic function on $D(0, 1)$ and continuous on $\overline{D(0, 1)}$.    We assume that $f \equiv 0$ on the $arc$ defined by {$e^{i\theta},  0\le \theta_1 \lt \theta \lt \theta_2 \le 2\pi$}. $\quad$ prove that $f= 0$ on $D(0, 1)$.


Are neutrinos and anti-neutrinos the same thing?

Neutrinos are subatomic particles with no electrical charge. Anti-matter has the same mass, spin, etc. as that of regular matter except the charge of anti-matter is opposite to that of the normal matter. As neutrinos don't have a charge, shouldn't both be the same thing?


Chat reputation in left bar seems different than any other reputation displayed for users

I was just chatting on the Ask Different chat - and the reputation numbers for me and the others chatting don't seem to match any other reputation count I can see on the sites here.  Is there some calculation being made? These numbers are the highest of any other combined reputation I have seen. For me - I'm listed over 10k - but no other aggregate reputation counter I can see is above 8k.  Perhaps I'm unaware how reputation is calculated, but the people there suggested a bug report in case this isn't intended.  (after three lines of text are drawn - a number shows beneath our icons in the left hand side)


Unable to give admin rights back to main account Windows 8.1

I use HP notebook and my os is windows 8.1. Someone made my guest account as administrator and removed administrator rights from my main account. So, I m not able to access anything from my main account. There is no option to give admin rights back to my main account, because the current admin account is guest account. I m completely locked out here. Someone please help me. Thanks in advance.


im trying to narrow down a flag to catch by removing strings with certain  unwanted words so  i use  cat $(find / -size 33c -group bandit6 -user bandit7) | grep -v 'Permission'   but my results end up being  find: ‘/cgroup2/csessions’: Permission denied find: ‘/home/bandit28-git’: Permission denied find: ‘/home/bandit30-git’: Permission denied find: ‘/home/bandit31-git’: Permission denied find: ‘/home/bandit5/inhere’: Permission denied find: ‘/home/bandit27-git’: Permission denied find: ‘/home/bandit29-git’: Permission denied find: ‘/tmp’: Permission denied find: ‘/lost+found’: Permission denied find: ‘/root’: Permission denied find: ‘/etc/ssl/private’: Permission denied find: ‘/etc/lvm/backup’: Permission denied find: ‘/etc/lvm/archive’: Permission denied find: ‘/etc/polkit-1/localauthority’: Permission denied find: ‘/sys/fs/pstore’: Permission denied find: ‘/proc/tty/driver’: Permission denied find: ‘/proc/24068/task/24068/fd/6’: No such file or directory find: ‘/proc/24068/task/24068/fdinfo/6’: No such file or directory find: ‘/proc/24068/fd/5’: No such file or directory find: ‘/proc/24068/fdinfo/5’: No such file or directory find: ‘/boot/lost+found’: Permission denied HKBPTKQnIay4Fw76bEy8PVxKEDQRKTzs   when all i want is  HKBPTKQnIay4Fw76bEy8PVxKEDQRKTzs   `


Can I exit Canada for a couple of days to renew my status as a visitor?

I am currently in Canada as a tourist, however, according to the  I am only allowed to remain in Canada as a visitor for a total of 6 months. My question is, if I were to leave Canada and go to the US for a couple of days and then return to Canada will my status as a visitor be "renewed" i.e. would I be able to stay in Canada for another six months?  I should clarify that my visitor visa expires in 2024. Also just to provide some context, my son will be out of University by May 10, and we had both originally planned to return back to our country together. I have already applied for a status extension but I am afraid the processing times might take too long, hence why the question.


How can I find the radius of convergence $R$ of the power series $\sum^{\infty}_{n=0} \frac {(-1)^n 2^{-n} z^{2n+1}} {n!}$?

How can I find the radius of convergence $R$ of the power series $\sum^{\infty}_{n=0} \frac {(-1)^n 2^{-n} z^{2n+1}} {n!}$ ? I've tried to get it onto the proper form $\sum^{\infty}_{n=0} a_n(z-a)^n$ without luck. I need this form to use the well-known formula for calculating the limit of the terms $a_n$ (ratio) ?


Where are my terraria character plr. files? Im playing steam version

I need to find my pLr. files for my terraria character but i have steam version so can't find them! Where are they can anyone help?


Why do first years cross the lake to get to the castle?

It makes sense to keep them together, and to have them arrive in the Great Hall separately from the rest of the school for the Sorting. But why the boats? The lake crossing is dramatic, but inefficient - as we see in book 4 when Dennis Creevey falls in the lake during the storm.   Is there a canon (books/movies or JKR) explanation for why the first years come up from the train in boats instead of carriages?


how to introduce a girl who is friend and not girl-friend

Often times I have got across situations where I have to tell a girl that      "I don't have a girlfriend but there are some girls who are friends"   So I was looking for the right word here or a good slang would do.  Googled a lot but couldn't find the answer to what I am looking for.  Also I have seen girls replying      "I don't have a boyfriend but guy friends"   So , is there any equivalent of guy friends for boys ?


Support of a module with extended scalars

I have a question which should be pretty basic commutative algebra, but I can't find a reference and I'm stuck on proving a result myself, so here it goes:  Let $\varphi: S \to R$ be a morphism of commutative rings and let $M$ be a finitely generated $S$-module. Then, we can "extend the scalars of $M$" by considering $M \otimes_S R$, which is naturally an $R$-module. I would like to get a description of $\text{Supp}(M \otimes_S R)$ (as an $R$-module) involving $\text{Supp}(M)$ and $\varphi$.  Maybe this helps: by Eisenbud's Commutative algebra with a view toward algebraic geometry, Corollary 2.7, the problem can probably be solved by finding a description of $\text{Ann}(M \otimes_S R)$ and it is not difficult to see that $\varphi(\text{Ann}(M))R \subset \text{Ann}(M \otimes_S R)$, but I fail to prove the other inclusion.


I have difficulty understanding the following sentence: -Or does it somehow lie behind its properties, supporting them, a solid peg on which they happen to hang. Please help me grasp what the present participle function here, together with why a noun phrase followed by a relative clause stands alone. Thank you!


Setting up indexes for PostGIS distance queries

I'm building an application that is supposed to query and return every Record in a table that is X kilometers away from PointX. Records and PointX's positions are determined from (long/lat) information provided by Google Geocode API. I'm new to PostGIS. After a quick research, I've found . The answer seems to be along the lines of: SELECT * FROM your_table WHERE ST_Distance_Sphere(the_geom, ST_MakePoint(your_lon,your_lat)) <= radius_mi * 1609.34  The problem is that even though I'm only getting started at GIS, when I look at the above query, I can't possibly imagine how this can use an index. There are 2 function calls. I imagine the table being scanned for every Record. Does PostGIS have any index type capable of making the above query performant and, if not, what would be the recommended approach doing what I need?


I have selected the best ARIMA(p,d,q) model via maximisation of AIC and got the estimates of its AR & MA coefficients.  However, after having subsequently modelled the conditional volatility with a GARCH(1,1) via rugarch package in $R$ (and having previously specified to consider ARMA(5,5) for conditional mean) the estimates for conditional mean comes out to be different!    Questions:   Is it normal? Why just adding  a model for conditional variance I'm affecting the conditional mean model? Should I force rugarch to use the the same estimates I got before by modelling just the residuals of the ARMA(5,5) model with GARCH? Would I get "better estimates" or not?


I am planning to travel from Chicago to Delhi via London with intention of ~36 hrs in transit.  I am Indian resident, with valid US visa (until 2015).  Going by UK border agency information  I will be needing land side visa.  I have following queries:   Is it possible to get the land side visa on arrival or do I need to apply prior to leaving US?   If it is on arrival, and for some reason I am denied, will I need to wait for connecting flight within airport for that long?   What is the procedure and fees? I scanned through the UK border agency site, but could not find a procedure, and further details. It seems very scattered.   I see that one of the flight option has 48 hrs 15 min difference. Can landside visa be applied for this case?


The best way to get into an online game?

I am a person that's wanted to get into DnD from the moment I've heard about it. There's no groups I know of in my area that play it, and my close by friends don't seem interested, wouldn't know how to play and are generally too busy for this.  I have tried to get into online games with online people, however two of the people I know to be DMS are too busy by this point, and the third has no faith in online play. ( We tried regardless and it failed spectacularly when he failed to show up for around five consecutive sessions.)  I really want to get into this, specifically to play online. I'm scared of trying to do this in person, and don't really think I have much ability to go anywhere. I would be very happy to give any edition a try, but I don't know how to find any group to actually join.


This backslash in my FRC vision program is not an escape sequence, but I cannot figure out what it is?

I have absolutely no idea what the backslash at the end of the first line does. I have searched high and low.   camera = CameraServer.getInstance() \      .startAutomaticCapture(name=config.name, path=config.path)


I took several photographs of full moon but all pictures are bright, can I reduce the brightness and bringout the layers of moon as I see with naked eye.?


How to assign an installed ssl certificate to a new website while creating it using powershell script

I am writing a powershell script to automate creation of websites in iis 10 and iis 8. This is what I have put in to the script till now: $WebSiteName = "TestApp8" $PathInfo = "D:\iis\testapp" $PortNumber = 1014 $CertificateName = "IIS Express Development Certificate" New-WebAppPool -Name $WebSiteName New-Website -Name $WebSiteName -ApplicationPool $WebSiteName -PhysicalPath $PathInfo -Port $PortNumber -ssl New-NetFirewallRule -DisplayName $WebSiteName -Profile 'Private' -Direction Inbound -Action Allow -Protocol TCP -LocalPort $PortNumber  The script works for majority of the part and creates a website as expected. However it misses out on one of my requirements, which is assigning a SSL certificate. It defaults to "Not Selected". My requirement is to assign a certificate which is already available in the drop down. For example, assign "IIS Express Development Certificate"  I have been following  to create the script. The document talks about -sslflags parameter. However I am not sure on how to use it and whether it will serve my purpose or not. Setting in a random value for sslflags has thrown an error stating: Bindings property 'bindingInformation' must specify hostname value when SSLFlags value is non zero.


If someone comments in a mod election, there is no link to this comment from the "all activities">"comments"

Just noticed this bug in the profile of  on Graphic Design.        As you can see, other comments do have link, but the comments left in the election page don't.


How can the Kandorians(Kryptonians) have their powers?

We see that in the 9th season of Smallville, both in the first and the ninth episode, the Kandorians - whose genes were laced with blue kryptonite - have powers (example, Alia).  How can they have their powers under a yellow sun? In the first episode Alia had all the powers of a Kryptonian under a yellow sun even after her cells were laced with blue kryptonite, and in the ninth episode she was seen using super speed under a yellow sun.  Also in the alternate timeline(where Lois went) Major Zod and his men had kryptonian abilities under RED sun but Kal- El did not. Why? How can this be possible? How can they have their powers under a yellow sun and red sun?


QuickLook for files with no extension or an unknown extension

I'm a programmer, and I find Mac's QuickLook a really great feature for quickly becoming familiar with a particular code base.  Basically, I open up a Finder window in the directory where my code files are, I push the spacebar (to evoke QuickLook), and then I arrow key up/down/left/right through all the files and scroll within QuickLook as needed.  The problem that I run into are files with no extension and files with unknown extension.  How can I convince the Mac to attempt to QuickLook these files as text files (which they usually are).  Also, it's really nice how QuickLook automatically colors the code based upon the type of code it thinks it is.  How can I extend the types of code files that the Mac recognizes?  For instance, I want to be able to QuickLook the code in a *.html.erb file or a *.js.erb file.


How can I view all questions asked on my account?

I'd like to view all my questions on all my sites at once. Is there a way to do this?  Currently, when I click on the "Questions" tab in my profile, it only shows me the questions I've asked on that site.


A friend of mine sent me a  link to a parametric curve that creates a detailed drawing of a game character.      The parametric equation that draws it is about ~9 screens tall on my computer; and appears to consist of thousands of sine's added together; unlike simpler examples like the , this would have taken an enormous amount of effort to construct by hand; leaving me wondering how exactly is something like this created?


Why Same File Shows Different Sizes in Different Operating Systems

I want to give some scenarios:   A movie file shows 700 MB in Windows but it shows around 735 MB in Ubuntu, which is in my drive having NTFS partition. Similarly another file shows 446 MB in Windows but 467 MB in Ubuntu. Also when I download files from internet they change once downloaded in Ubuntu but do not change in Windows. I generally have to upload torrents mentioning the file sizes. Most of the time I use Ubuntu, I use Windows to play games only.   Actually my questions are:   Which size should I mention while creating torrents? Is there any tool or software or formula to calculate the file size in Ubuntu equivalent to file size in Windows?   I have already tried following links but could not find my actual answers:


I'm trying to set up the High Precision AD/DA Board from Waveform. The last step is to run sudo ./dac8532_test, where it notes in the instructions that if command not found, to run chmod +x. The command was not found, so I ran chmod +x dac8532_test and tried sudo ./dac8532_test again.  The command was again not found (sudo: ./dac8532_test: command not found). I checked and the file dac8532_test is indeed in the directory I'm in (there are two other files with that name, but they have the extensions .c and .o if that matters).  What am I doing wrong? (Note: if there's any information I need to add, please let me know; I wasn't sure what was necessary.)  Output of file dac8532_test:  dac8532_test: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=ff54034576038bbed2b96bce738f008281aa7d28, not stripped   Output of ls -al dac8532_test:  -rw-r--r-- 1 pi pi 59232 Jun 29 11:07 dac8532_test


Ubuntu 20.04 Desktop has no compress/extract in menu

If I right-click a folder from the desktop I do not see "Compress" nor do I see "Extract" or "Extract to" when right-clicking a zip on the desktop. However if I view those folders/files in then file manager then right-clicking shows the usual compress/extract options in the menu.


If y' is positive at a value of x, then y is increasing there. Is the converse true?

I know it's a dumb question, but I really don't know it. I've thought of the derivative of y = x but it's still positive and the book says the answer is no.


Unable to acheive desired effect with ID mask

I'm trying to make the render have an effect where the stars (which are exploded fragments) have a glowing glare-like effect and the other objects (i.e. film reel and cubes) are their natural colors.  However, despite having made the star objects all a pass index of 1 and the rest 0 by default, everything seems to render a green glowing effect that's supposed to be only for the objects with a pass index of 1.  To illustrate:  This is the render of the image naturally (I rendered at very low quality but it's just for demonstration purposes):    And this is with the composite nodes:    So in essence I want the objects in the the first render I showed to keep those colors, but the stars to have the colors of the green glowing effect.  As you can see from the 2nd picture everything has the green effect.  My node setup is pretty big so I will provide a link to download the  so you can see the nodes more clearly.


How to physically damage a USB stick, SD card, or SDXC card to permanently make it read only?

Over the years, I have had several cases where either an SD card, a USB stick or any other removable storage medium has had a physical defect, and after some use, or a certain amount of formatting, it becomes a Read only drive no matter what OS or means of formatting it you use, including the dd utility. In most of these cases, everything I have read says that this is almost 100% of the time a hardware failure and/or a defective storage medium, which I would agree with. In my case, I am not trying to fix a damaged USB, or SD card, but instead, trying to write files to it, and then physically modify it (and do "targeted damage"), so that after I have the files on it that I want, it is impossible for any software whatsoever to modify it, and it is impossible to put it back into RW mode again. Does anyone know of any way to permanently alter, or intentionally damage, an SD card or USB stick, so that It will forever be stuck in read only mode? I can't  find any sort of starting point anywhere on the internet, so even links, blogs, or articles involving this subject matter would be helpful. If you have the expertise to provide direct instructions for a task such as this, a writeup would be even better!


'I flunked every thing, but you have to let me pass.' How is this an Appeal to Pity?

I know I flunked every exam, but if I don't pass this course, I'll have to retake it in   summer school. You have to let me pass!   Why is this a fallacy? I agree that the speaker desires sympathy and commiseration, but what is fallacious about his objective (reasonable, to me) to avert retaking the course (in the summer)?   This question was motivated by pp 154 of 180, A Rulebook for Arguments, by  Anthony Weston


Can I buy (liquid) duty free at Dublin airport, before going through pre-clearance?

Following on from my , I've been watching the  from the Dublin airport website. That mentions that after checkin, passengers clear normal Irish security checks, then proceed (via optional shopping) to a TSA-style security check before reaching the CBP juxtaposed border control. It also mentions that duty free shopping is available after immigration and customs.  That leads me to wonder - can I buy duty free liquids in the main bit of Dublin Airport, before reaching the US pre-clearance area? Or must all duty free liquids (eg alcohol) be purchased in the smaller duty-free shop after US pre-clearance just before boarding?


How to box the last (or one) line of an aligned set of equations?

I am trying to get the last equation in a list of aligned equations boxed, however this is more challenging than I thought it might be.  I would like to be able to do it with the box both including the equation number and without.  Below are my current simple methods for framing equations.  Any input is welcome and appreciated.  \documentclass{article}  \usepackage{amsmath} \usepackage{mdframed} \usepackage{empheq}  \begin{document}  Blah blah blah.  \begin{mdframed} \begin{align} 1+2&=3\\ 1+2+3&=6 \end{align} \end{mdframed}  Blah blah blah.  \begin{empheq}[box=\fbox]{align} 1+2&=3\\ 1+2+3&=6 \end{empheq}  \end{document}


I know that Strings in Java should be compared using .equals() and not using == operator.  But in the given below code there is a primaryObserverId which has a value of ""  The given below if condition runs fine on Java 6 but fails on Java 7   String primaryObserverId = request.getParameter("primary_observer_id");         if(primaryObserverId == null || primaryObserverId=="")             primaryObserverId = RoleMap.getUserIdForThisSession(session.getId());   Need to know why this code was working on Java 6 and not on Java 7.  I know how the concept of String Pool works for string literals in java , just want to know the reason  this abrupt behavior.  Can using different version of GlassFish may cause any issue as I am using GlassFish-2.1 with Java 6 and GlassFish-4.1 with Java  7


I'm looking for a word to describe someone who is being used. I want a noun to describe this person, not a verb or or adjective.  Maybe like a pushover.


Why does my canteen says no prisoners assigned?

For some reason after i build my canteen it shows a warning that says "No prisoners assigned to  this canteen" and i have no idea why. My prison is fenced in and no staff only areas are blocking prisoners routes to the cantten,


How do you remove a draw handler after it's been added?

I'm making an attempt to use batFINGER's method from  for drawing some text on screen without a modal operator, but I'm finding I can't get the text to go away once it's been drawn.   class DrawingClass:     def __init__(self, context, prop):         self.prop = prop         self.handle = bpy.types.SpaceView3D.draw_handler_add(                 self.draw_text_callback,(context,),                 'WINDOW', 'POST_PIXEL')      def draw_text_callback(self, context):         font_id = 0          sel_obj_1 = (int(bpy.context.selected_objects[0].location[0]))         blf.position(font_id, sel_obj_1, 10, 0)         blf.size(font_id, 12, 72)         blf.draw(font_id, "%s %s" % (context.selected_objects, self.prop))         scene.frame_set(scene.frame_current)      def remove_handle(self):         bpy.types.SpaceView3D.draw_handler_remove(self.handle, 'WINDOW')    I then call the DrawingClass with a checkbox in the UI:  def get_draw_screen(self):     bpy.context.scene.frame_set(bpy.context.scene.frame_current)     return self["vp_draw_screen"]  def set_draw_screen(self, value):     context = bpy.context      test = DrawingClass(context, "TURKEY PALS")     self["vp_draw_screen"] = value     if value:         test     else:         test.remove_handle()     bpy.context.scene.frame_set(bpy.context.scene.frame_current)     When you check the checkbox the name of the selected object will draw on screen and will update with the scene selection, but unchecking the box doesn't stop the text from drawing.   Checking the box again appears to draw a new instance on top of the previous one.   I'm guessing that each time I check the box a new instance of DrawingClass is being created, but I don't know how to access the instance again to remove them.  I've found answers explaining how to remove app handlers like this one  but can't quite figure out how to apply it to this situation.    Thanks for any help!


I can't figure out why I don't have execution permissions on files I create by default. I don't think I messed with any Ubuntu permissions, it's pretty default stuff.  When doing some research I found out about a thing called umask, running umask returns 0002 I don't think that's the problem. I've tried creating files in a bunch of different folders, they all look like -rw-rw-r--.  farzher@farzher-laptop ~ $ touch pants.txt  -rw-rw-r--  1 farzher farzher     0 Jul 24 21:58 pants.txt   I know how to execute it chmod 755 pants.txt but I want execute by default. If I'm missing any important information just comment and ask.


Why is the Monotone Convergence Theorem restricted to a nonnegative function sequence?

Monotone Convergence Theorem for general measure: Let $(X,\Sigma,\mu)$ be a measure space. Let $f_1, f_2, ...$ be a pointwise non-decreasing sequence of $[0, \infty]$-valued $\Sigma-$measurable functions, i.e. for every $k\ge 1$ and every $x$ in $X$, $$0 \le f_k(x) \le f_{k+1}(x).$$ Next, set the pointwise limit of the sequence ${f_n}$ to be $f$. That is, for every $x$ in $X$, $$f(x) = \lim_{k\to \infty}f_k(x).$$ Then $f$ is $\Sigma-$measurable and $$\lim_{k\to \infty}\int f_k d\mu = \int f d\mu.$$  I've noticed that when it comes to monotone convergence theorem (either Lebesgue or general measure), usually its definition restricts the monotone function sequences to be nonnegative. I'm not sure why the 'nonnegative' is necessary.


Images that are on the Imgur server can not be viewed

Here in my company there is a policy that limits me to seeing certain websites, which, to a certain extent, I agree with. Unfortunately, images that are on the Imgur domain (including ) can not be viewed. I tried a technique where I add the term "cache:" at the beginning of the page address to try to see something, but I did not succeed.  Anyway, is there any technique that I can navigate and see the images? I do not think it is going against company policy, but there must be an unnecessary lock.