I cant make a .theme folder or .icon folder in nautilus

For some reason, I can't make a ".theme" or ".icon" file in the Ubuntu file browser to change my theme, or for some reason they are not shown.  When I try to make another one it always tells me that there is already a file called ".icon" or ".theme" but if I search for them in the search bar they are not shown. My Linux version is Ubuntu 18.04 and I am running it on a Lenovo t420s with a i5 2400.. something. Please Help.


I have been watching real analysis lectures on YouTube by Prof. Francis Su and he provided a simpler definition of $\lim \sup$ as  Let $\{s_n\}$ be a sequence of real numbers, then   $\lim\sup s_{n} = \displaystyle\lim_{n \to \infty}\left(\sup_{k \gt n}s_k\right)\tag1$ where $n,k \in \mathbb{N}.$  In Walter Rudin's Principles of Mathematical Analysis the definition for $\lim \sup$ given is as  Let $\{s_n\}$ be a sequence of real numbers. Let E be the set of numbers $x$ (in the extended real number system) such that $\{s_{n_k}\} \to x$ for some subsequence $\{s_{n_k}\}$. This set E contains all subsequential limits, plus possibly the numbers $+\infty, -\infty$ We now put  $s^* = \sup E$  The number $s^*$ is called the upper limit of $\{s_n\}$ and we use the notation  ${\displaystyle\lim \displaystyle\sup}_{n \to \infty} s_n = s^*.$  Also some answers here also said that  $\lim \sup$ is the infimum of all supremums of $\{s_n\}.$  I know these definitions are equivalent but what is the intuition behind these definitions being same? Like how $\lim\sup s_{n}$ in $(1)$ will always be a subsequential limit and that too supremum of the all subsequtial limits of $s_{n}$?


I am trying out the following precise definition of a limit but seemed to be stuck at the following step below:  Given that:  \begin{align}  \lim_{x \to a} f(x) = L \end{align}  The precise definition is expressed as follows: \begin{align} 0<|x-a|< \delta \end{align} \begin{align} |f(x)-L|< \epsilon \end{align} I wanted to show that following if: \begin{align}  \lim_{x \to9} \sqrt{x} = 3 \end{align}  Then prove using the precise limit definition that  \begin{align} \sqrt{9} = 3 \end{align}  I attempted to subsitute with the following: \begin{align} 0<|x-9|<\delta \end{align} \begin{align} |\sqrt{x}-3|<\epsilon \end{align}  To make it look similar to the top one I changed the bottom to this form: \begin{align} |\frac{x-9}{\sqrt{x}+3}|<\epsilon \end{align}  But now I am stuck as I can't express epsilon nor delta, any clues where to go from here?


If $(a_n)$ is Cauchy it has a subsequence $(a_{n_i})$ such that $d(a_{n_{i+1}},a_{n_i})<2^{-i}$ for all $i$.

Let $(X,d)$ be a metric space and $(a_n)$ a Cauchy sequence in $X$. How to show that there exists $n_1<n_2<\cdots$ such that $$d(a_{n_{i+1}},a_{n_i})<2^{-i},$$ for all $i\in\mathbb{N}$?  I tried to use induction, but it doesn't work. The base case is OK, but if we have $$d(a_{n_2},a_{n_1})<2^{-1},\ldots,d(a_{n_k},a_{n_{k-1}})<2^{-(k-1)},$$ I don't see any reason for to exist $n_{k+1}>n_k$ such that $d(a_{n_{k+1}},a_{n_k})<2^{-k}$.


Subgroups of $\mathbb{R}/\mathbb{Z}$ are either cyclic or dense

So I know that subgroups of $(\mathbb{R},+)$ are either isomorphic to $x \mathbb{Z}$ for $x\in \mathbb{R}$, or dense in $\mathbb{R}$.  I don't see how (if?) this descends to the quotient, though. Denote $G = \mathbb{R}/\mathbb{Z}$. If $H \leq G$, then by the third iso theorem there is a group $\mathbb{Z} \leq \tilde{H} \leq \mathbb{R}$ such that $H \cong \tilde{H}/\mathbb{Z}$. How to proceed? I'm very lost.    (Also, from this it supposedly follows that for $x\in\mathbb{R}$ the image of  $$ \phi_x:\mathbb{Z} \to G, \quad n \mapsto nx + \mathbb{Z} $$ is dense in $G$ if $x$ is irrational. I also don't see this: For any $x$, the image of $\phi_x$ is $x\mathbb{Z} + \mathbb{Z}$, is this not cyclic? The above result would then imply that the image is not dense. Somewhere is an error in my thought process.)


I accidentally deleted the .profile in my Ubuntu 18.04 today. How to retrieve this.  regards,


A local IP address (RFC 1918) on my network that is not … local

I've noticed an IP address today on my network (192.168.15.1) which when visited actually goes to a page that has a router webconfig page (Not my router)  The puzzling thing is that i tried traceroute 192.168.15.1 which said that the distance between me and that host is 9 hops, whereas the distance between me and any other computer on my home network is 2 hops away (My computer --> Router --> Host)   Can someone please explain what's going on here ?  tracert output:  Tracing route to 192.168.15.1 over a maximum of 30 hops    1    <1 ms    <1 ms    <1 ms  192.168.1.1   2    47 ms    51 ms    49 ms  [163.121.171.123]   3     *        *        *     Request timed out.   4   128 ms     *        *     163.121.211.134.dnet.net [163.121.211.134 ]   5     *      134 ms   126 ms  10.37.242.18   6    94 ms    90 ms    95 ms  10.35.2.157   7   178 ms   254 ms   206 ms  10.32.8.107   8    85 ms    57 ms   318 ms  10.35.0.186   9   215 ms   241 ms   230 ms  192.168.15.1  Trace complete.


How do I adjust the width of a grid column?

I've tried looking up the code and couldn't find something that allows me to adjust the width of a column. I want to make the width larger (in the vertical direction). This is what I have so far:  \begin{center}     \begin{tabular}{ | l | p{2cm} |}      \hline       Problem & Points \\ \hline       1 &   /4 \\ \hline       2  &  /4 \\ \hline       3  &  /4 \\      \hline  \end{tabular} \end{center}


If air cannot conduct electricity, how can lightning happen?


I wanted to use different funny mouse cursor pointer to my commercial website project. Is there any website providing this mouse pointer images for free or for low price?  If not how can i create a mouse cursor images myself. I guess its extension is .cur  I have little knowledge of photoshop and gimp tool. Can i create the mouse cursor pointers with this? If you can give a link to free cursor pointer images or tutorials to create this mouse cursor pointer, it will be much helpful to me. Let me know where should i start first.  Thanks


In the kinematic equations $\vec{v}^2 = \vec{v}_0^2 + 2\vec{a}\cdot \Delta \vec{x}$, what does squaring a vector mean?

One of the kinematic equations, $\vec{v}^2 = \vec{v}_0^2 + 2\vec{a}\cdot \Delta \vec{x}$, involves squaring the initial and final velocities. My questions is, if velocity is a vector, what meaning does the squaring have? Does it signify taking a dot product with itself?


Applying the principle of equivalence to an accelerated frame

Consider a scientist who is accelerating at a constant rate along the x direction, in flat minkovski space. The relevant coordinate transformations are  $$\begin{cases}t'=t \\ x'=x+\frac{1}{2}at^2 && a=\text{const}  \\ y'=y \\ z'=z\end{cases}$$  The question is, do you expect the curvature tensor to vanish in the primed coordinates?   One argument is that the curvature tensor is indeed a tensor. Since the space is flat, the curvature tensor will vanish for a stationary observer and hence will vanish in all coordinate systems. This makes sense because the curvature of space-time is an intrinsic property of the manifold and doesn't  care about which reference frame (RF) we measure it in.  But when i try to apply the equivalence principle (EP) to answer the same question i wind up contradicting myself. Which is worrying because it likely means that my basic understanding of the concept is flawed.   The EP says that the scientist cannot decide whether his laboratory is uniformly accelerating in flat space or if his laboratory is fixed on the surface of his home planet, who's surface conveniently results in an acceleration of 'a' outward from the planet (recalling that a freely falling observer is now the definition of unaccelerated). So actually, the primed coordinates aren't those of someone who is accelerating uniformly in flat space, they're  equivalently the coordinates of someone fixed in a gravitational field, the space of which is curved and so has a non zero curvature tensor.   Please correct where my logic fails, it's something quite basic and fundamental so i would really like to straighten it out. Thanks.


How do I find acceptance/rejection notes on Stack Overflow peer review for edits?

I've recently tried an edit and it no longer appears as I edited. My initial guess was it was peer reviewed and the peer rejected the update. Assuming that is true, what is to be done then, when the edit is significant due to a fault in the code sample of the original un-edited answer?  Now I think otherwise, having read some similar Q-A on Meta.  It seems more likely that the view reverts after some minutes pass. Then, the original unedited answer appears. This does not indicate peer review rejection. Am I correct?  I don't know where to find peer review notes, or vote stats in the edit queue as I've learned it's called.


Real analysis : A problem on convergence of a recursively defined sequence

Let $a>0$ and $x_1>0$. Define the sequence $(x_n)$ recursively as $$x_n=\frac{1}{2}\left(x_{n-1}+\frac{a}{x_{n-1}}\right) \tag{1}$$  We have to show that $x_n$ is convergent and find the limit. I know that there is a way of considering the given formula as a quadratic equation in $x_n$ and then using the fact that the discriminant is non-negative. But I want to achieve a direct proof.  Firs of all, it is clear from the definition that all the terms of the sequence is strictly positive. Playing around with the sequence a bit, it became clear to me that if $x_1<\sqrt{a}$ then it increases until it overtakes $\sqrt{a}$, then decreases until it goes under $\sqrt{a}$, and so on. If it touches $\sqrt{a}$ at any point then it becomes a constant sequence after that point, each consequent term being $\sqrt{a}$. Thus, an obvious target for the limit is $\sqrt{a}$.  Hence, we consider estimating the quantity $$|x_n-\sqrt{a}|$$  Using $(1)$, we obtain $$|x_n-\sqrt{a}|=\left|\frac{1}{2}\left(x_{n-1}+\frac{a}{x_{n-1}}\right)-\sqrt{a}\right|=\frac{|x_{n-1}-\sqrt{a}|^2}{2x_{n-1}} \tag{2}$$  The temptation is to apply $(2)$ repetitively to obtain something like  $$|x_n-\sqrt{a}|=\frac{|x_{1}-\sqrt{a}|^{\text{something big}}}{(2x_{n-1})(2x_{n-2})^2 \cdots}$$  I have two problems here. We have to show that $(x_n)$ safely bounded away from $0$ so we can bound the terms in the denominator (which I think should be do-able). The more crucial part is that we cannot assume $|x_1-\sqrt{a}|<1$. So we gotta look for some $N$ such that $|x_N-\sqrt{a}|<1$.  Any help to complete this $``$direct$"$ proof will be much appreciated. Thank you.


How to calculate this limit related to hypergeometric functions

How to calculate this limit  $$ \lim_{n\rightarrow+\infty} np^n \sum_{k=n}^{+\infty} \frac1k \binom{k-1}{n-1} (1-p)^{k-n} ,\quad\,where\;0<p<1 $$


How to get Maven to run war:exploded but not war:war

I have a Maven pom that uses <packaging>war</packaging>.  But actually, I don't want build the war-file, I just want all the dependent jars collected and a full deployment directory created.  So I'm running the war:exploded goal to generate the deploy directory:  <plugin>     <groupId>org.apache.maven.plugins</groupId>     <artifactId>maven-war-plugin</artifactId>     <executions>         <execution>             <phase>package</phase>             <configuration>                 <webappDirectory>target/${env}/deploy</webappDirectory>                 <archiveClasses>true</archiveClasses>             </configuration>             <goals>                 <goal>exploded</goal>             </goals>         </execution>     </executions> </plugin>   The trouble is, the war file still gets built.  Is there a simple way of having <packaging>war</packaging> execute the war:exploded goal instead of the war:war goal?  Or is there another simple way to do this?


Can I get a consensus on the version of Android required for the official mobile app?

In the  of the Android app, it says Android 4.1 or higher is required. However, the  argues that 1.6 is the required Android version. Why do these two pages argue with each other, and which one is lying?  Screen shot:


I am aware that this might not be the ideal place please move/close this if so.  So since yesterday I run into the following problem:  I use \usepackage[T1]{fontenc} and \usepackage[utf8]{inputenc} in the preamble and save the document in TeXShop accordingly as a UTF-8 encoded file.  As soon as I close the document and open it anew the document is now of type applemac and obviously the special characters are all different. Now this only seems to happen for new document because I wrote my thesis with the same preambel and there when I open it it is still a UTF-8 encoded document.  I really have no idea what's going on. Has anyone ever experienced something similar?


Getting null expection thrown at me when everything seems to be declared correctly

I'm trying to hide a password for a bank ATM, and i'm getting a null exception for a char[] deceleration. My classmate and professor can't see why I'm getting this thrown at me as everything is correct in the code. The funny thing is it runs fine on repl.it but I get the exception thrown at me on eclipse and netbeans. The int 'pass' is declared earlier in the code and the getPassword() function is declared on another class where it returns an integer password.   I've tried declaring the char[] before assigning it to readPassword() from the console     //allows you to log in with valid account. not case sensitive    else if (choice.equals("L") || choice.equals("l"))    {      System.out.print("\nPlease enter your id: ");      id = scnr.nextInt();      scnr.nextLine();      Console console = System.console();      System.out.print("Please enter your password: ");      char passChar[] = new char[100];      passChar = console.readPassword();      String passPars = new String(passChar);      pass = Integer.parseInt(passPars);       //verifies id and password      for (CustomerAccount i : list)      {        if (i.getId() == id && i.getPassword() == pass)           {            obj = i;            check = true;            break;           }      }   Here is the ran code where the expection is thrown at me --  Please enter your id: 123 Exception in thread "main" java.lang.NullPointerException     at Main.main(Main.java:76) Please enter your password: 123  I expect it to say "Please enter your password: " and you enter the password on that line and it is hidden text in the console.


I use the latter most of the time, but I am unsure where the former is more appropriate. What are the different uses of "distinctly" vs "distinctively"?


How can I call use a variable in bash and use the same variable in python. There are two separate file .bash and .py  .bash file  while read -r x do printf  "%s\n" ${x} "Found" done < path/to/file.txt   .py file  print(${x}+"something here")   I want to establish some connection between the two file so the variable the bash holds can be used in the .py file


Let $n \in \Bbb N$. Let $p>2$ a prime number. Show that $1^n+2^n+...+(p-1)^n \equiv 0 \pmod {p}$

This is an exercise in my abstract algebra reader, in the chapter about polynomial rings.      Let $n \in \Bbb N$. Let $p>2$ a prime number. And let $n$ not divisble by $p-1$. Show that      $$1^n+2^n+...+(p-1)^n \equiv 0 \pmod {p}$$   Our teacher assistant gave a hint to solve this with induction. We have tried to solve this using induction, but after some hours tring, I don't believe anyomre that this is possible. At least, I don't think I'm able to do that with my current knowlegde about mathematics. If someone has an idea how to solve this with induction (or maybe an other way), then I'm all ears.


Transferring between Domestic and International terminal T2 - Chhatrapati Shivaji International Airport

Does anyone know how long it takes to transfer from the domestic to the international terminal at Mumbai T2? My elderly father is making this trip and I want to give him as much information to prepare him. Additional information such as if he has to exit the domestic terminal and reenter the International one will be of help too.  He is flying Jet Airways into Mumbai which I believe arrives at T2 and the international terminal is T2 as well.  Thanks in advance.


Why does the reputation need to be publicly displayed?

Possible Duplicate:          The idea of getting greater privileges with greater reputation is good, but what is the benefit of publicly displaying that reputation? Since SO claims to be about good questions and answers, that purpose is better served if the reputation is only visible to the account owner (and, of course, the site admins). This would better ensure that content gets pushed up solely by its merit, and not based on the author. (See )   Edit (copied from comment to an answer below): Once you have gathered high reputation, you can also gather more reputation with ordinary answers, especially from newbies (newbies on the topic, not on the site) who usually choose to accept or upvote an answer on the assumption that "since a high-rep user has posted it, it is probably right". Can you guarantee that doesn't happen often?


The program is designed to scan the user for the first two cards they receive and tell them what they have. Unfortunately, when it asks "Are the cards suited?: " it terminates before input can be taken. I also could learn how to organize the conditions in a switch statement rather than all these ugly if-else statements as well.   package Test; import java.util.Scanner; public class Test { public static void main(String[] args) {              // TODO Auto-generated method stub             int card1 = 0;             int card2 = 0;             String fc1, fc2;             String answer;               Scanner scan = new Scanner (System.in);             System.out.println("First card: ");             if (scan.hasNextInt())             {                     card1 = scan.nextInt();             }             else             {                     fc1 = scan.next();                      if (fc1 == "A")                     {                             card1 = 14;                     }                     else if(fc1 == "K")                     {                             card1 = 13;                     }                     else if (fc1 == "Q")                     {                             card1 = 12;                     }                     else if (fc1 == "J")                     {                             card1 = 11;                     }             }              System.out.println("Second card: ");             if (scan.hasNextInt())             {                     card2 = scan.nextInt();             }             else             {                     fc2 = scan.next();                     if (fc2 == "A")                     {                             card2 = 14;                     }                     else if (fc2 == "K")                     {                             card2 = 13;                     }                     else if (fc2 == "Q")                     {                             card2 = 12;                     }                     else if (fc2 == "J")                     {                             card2 = 11;                     }             }           if (card1 == card2)           {              System.out.println("You have a pair.");          }          else           {         System.out.println("Are your cards suited?(y/n): ");         answer = scan.nextLine();               if (answer == "y")              {                  if (card1 >12 && card2 > 12)                  {                      System.out.println("High value suited cards.");                  }                  else                      if (card1 == card2++ || card1++ == card2)                      {                          System.out.println("Suited connectors.");                      }              }              else                  if(answer == "N")                  {                      if (card1 >=12 && card2 >= 12)                      {                          System.out.println("High value cards, hold.");                      }                      else                          if(card1 > 5 && card2 > 5)                          {                              if(card1++ == card2 || card1 == card2++)                              {                                  System.out.println("Connectors.");                              }                              else                              {                                  System.out.println("Fold");                              }                         if (answer != "y" || answer != "n")                         {                                 System.out.println("Invalid entry.");                         }                      }              }             }              }                   }


Could I pick up a human with a strong enough magnet?  Humans contain magnetic materials, such as iron.


Convergences of definite integral of a function

Let $s$ be a real number greater than 1. Let the function $f$ be defined as  $f(x)=\frac{ln(x)}{x^s}, x>0$.  a) Show that  $\int_{a}^{\infty}\frac{ln(x)}{x^s}dx$ converges for $a>0$ and find its value.  b) Show that the infinite series $\sum_{n=1}^{\infty} \frac{ln(x)}{n^s}$ converges.    I believe I can show that (a) converges but I'm not certain how to find it's value. Any help is appreciated.  For (a) I note that for $f(s)=\frac{ln(x)}{x^s}, x>0$ we have that f is a positive valued decreasing function because $f'(s)=\frac{1}{x^{s+1}}-\frac{s\cdot ln(x)}{x^{s+1}}<0$ for $x>0$.  Therefore   $\int_{a}^{\infty}f(x)dx=\lim_{t \to \infty}\int_{a}^{t}\frac{ln(x)}{x^s}dx=\frac{ln(a)}{a^{a-s}(s-1)}+\frac{1}{a^{a-s}(s-1)^2}=\frac{(s-1)ln(a)+1}{a^{s-1}(s-1)^2}<\infty$.  Which implies that $\int_{a}^{\infty}\frac{ln(x)}{x^s}dx$ is convergent.   But I'm uncertain how to find it's value.  for (b). I will argue that it converges because f is positive and decreasing with $\lim_{x \to \infty}f(x)=0$. Meaning that as $\int_{a}^{\infty}\frac{ln(x)}{x^s}dx$ converges $=>$ $\sum_{n=1}^{\infty} \frac{ln(x)}{n^s}$ converges.


Can proteins/peptides pass through the intestine?

I've heard somewhere said that :     Stomach cells do not absorb anything larger than single amino acids.   Is that wrong?  How do biological toxins (peptides/proteins) from mushroom or bacteria like Botulinum come to our blood and affect our body after we eat them?   Update: In fact, i want to know if we drink milk, is there anyway IGF-1 protein from milk can pass through the intestine and affect our body. Because I see some arguments/debates about the IGF protein in milk can cause acne.


"set -eo pipefail" not working in Windows Subsystem for Linux (Ubuntu 16.04)

I have installed Windows subsystem for Linux on my Windows 10 machine which is supposed to be emulating Ubuntu 16.04.  When I try to execute a script that has the following 2 lines at the top of the script, it gives me the error :invalid option name set: pipefail  Script lines:  #!/bin/bash set -eo pipefail   This script runs fine on my Mac and on a CentOS system I have.  I have checked  (and verified) my Ubuntu shell to ensure it supports the pipefail option in bash by running set -o.  The output of cat -net /path/to/myscript is:  #!/bin/bash^M$ set -eo pipefail^M$   This question was marked as a duplicate of "How to change Windows line-ending to Unix version" but I do not feel it is duplicative of that because I personally did not know that the problem I was having (that is outlined in my question) was being caused by the type of line-ending in my shell script.  The answer in each of the questions is the same but 2 different questions were asked.


Why do we make a distinction between derivatives and partial derivatives?

The definition of a partial derivative is the "derivative of a multi-variable function relative to a single variable when all other variables are held constant".  But isn't the regular derivative (for one-variable functions) just a trivial case of this, where there are no other variables to hold constant? Why do we need the separate notation for partial derivatives (that is, writing $\displaystyle \frac{\partial f}{\partial x}$ rather than just $\displaystyle \frac{df}{dx}$)?


Compare 1st column of the 1st file and 2nd column of the 2nd file and matching


When characters take off their glasses, why do their eyes turn into a "lip eyes" icon?

Often in anime which features a character who wears glasses, when they take off their glasses, their eyes turn into a sort of puckered lip emoticon that looks like the number 3.    The meaning is fairly obvious, that the character looks drastically different or worse without their glasses on. But why is this icon used, specifically?


MS SQL, see if any items in one list match items in another list

I am writing a SQL Stored Procedure.  One of the parameters that is being passed to the Stored Procedure is a list (comma-separated string).  I know if I want to find a specific string in that list I can use something like SELECT * FROM myTable WHERE myField IN (@myList)     But what if "myField" also contains a list (comma-separated string).   How can I check to see if "@myList" matches any value in the list in "myField"?  I am using SQL Server 2014 SP1, if that makes any difference.


How to execute sh script from a desktop shortcut?

Im trying to make a shortcut to login my ssh server:  ssh x.x.x.x   I made the following file:  ssh_home.sh   Made it executable:  sudo chmod +x ./ssh_home   Checked by right clicking properties to check if it was executable and it was..  But whatever I do, when double clicking it, it will launch gedit. I tried "Open With" but no terminal app is shown there. I searched the net but only found a way to link to the file while not integrating it in one "shortcut file"


Why do I need to type ./mysql even that I am in the folder?

So I am in a folder where mysql executable already is..  When I try mysql in terminal I get: -bash: mysql: command not found  But this will work: Korays-MacBook-Pro:bin koraytugay$ ./mysql Welcome to the MySQL monitor.  Commands end with ; or \g. Your MySQL connection id is 107 etc etc...  So why is the ./ required?   Also how can I add this mysql to my PATH?


What is pokemon-like game's view called?

I'm trying to make a game with a top down view, but angled, like pokemon, zenonia, zelda(I think), and most rpgs(specially the ones made with rpg maker). But I don't know what is this view called so I'm finding it tricky to get resources or even assets. I heard things like bird-view, 3/4. But I don't really know the exact name.  I would also apreciate any resources or guide with this type of games.  Thanks!


I can't pass an array as a parameter to a function in C#

I want to create a filtered array with LINQ inside the function I created and print it on the screen. I got some errors.     static void Main(string[] args)     {         //created an integer array         var values = new[] {2,9,5,0,3,7,1,4,8,5 };          // display original values         Console.WriteLine("Orijinal Dizi:");         foreach (var element in values)         {             Console.WriteLine($"{element}");         }          FilteredArray(values);              }     public void FilteredArray(int[] values)     {         var filtered =             from value in values             where value > 4             select value;         Console.WriteLine("4ten büyükleri filtreleyen dizi");         foreach (var item in filtered)         {             Console.WriteLine($"{item}");         }     }  "FilteredArray (values);" is underlined in red. Error CS0120: An object reference is required for the non-static field, method, or property 'Program.FilteredArray(int[])'


A movie about an alien and an alien cop that chases him

Might be a little vague - from what I recall it might be mid 80's to early 90's, English speaking, american origin, live action movie, about an (evil) alien that uses humans as hosts (and can change his host), the alien itself looks like a small (half-basketball size) grey blob, and he's chased by some sort of an alien cop (humanoid) that has a silver phaser-looking gun that shoots a red ray/laser,I remember the final scene being the injured alien cop shooting the exposed alien blob, which had just exited his dying host on some sort of conference stage/platform, I was pretty young so I can't recall much more. Any help would be much appreciated :)!


Transit via UK for 43 hours for GC holder

We are the nationals of Ukraine, currently live in the US and hold Green cards for all family members. We will be travelling to Ukraine via London and we have 42 hours layover between the flights (arrive at 11.15 pm day 1, depart at 5 pm day 3)). I read on uk.gov website that we should be allowed to exist the airport since we have green cards, but I am slightly concerned that we have more than 24 hour connection. Can please someone help sharing your knowledge if this is something we should be able to do? Thanks in advance!!


How to get current UTC or GMT date time in millis in android instead of getting device's current date time

I am trying to get current UTC date time in millis. But every code I used for this returns me the device's current date time. When I chenge my device's date, time it shows me chenged one. So, I want to get GMT/UTC date time so that it will show me correct date even if user changes the date, time of his/her device.  Codes I tried:  Calendar calendar = Calendar.getInstance();         long now = calendar.getTimeInMillis();   and  DateFormat df = DateFormat.getTimeInstance();         df.setTimeZone(TimeZone.getTimeZone("UTC"));         String gmtTime = df.format(new Date());         Date gmtDate = df.parse(gmtTime);   Actually I want to set an alarm at November 15 2017, 5 PM using AlarmManager, receive that event hide some activities in my app which I don't want to show after this date, time.  How can I acheive this?  Thanks in advance!


Missing entry in grub menu after kernel upgrade on ubuntu 16.04

I just Upgraded my kernels to 4.4.0.31.33 , and the new upgrade removes the old kernels so I ended up without 4.2.0-35 , the one previously used.  The problem is that grub does not see the new kernel image and everything that uses that looks for the old linux headers which are missing.  Even when I run sudo update-grub2 the old entries appear , but not the new ones:      Generating grub configuration file ...     Warning: Setting GRUB_TIMEOUT to a non-zero value when   GRUB_HIDDEN_TIMEOUT is set is no longer supported.     Found linux image: /boot/vmlinuz-4.2.0-35-generic     Found initrd image: /boot/initrd.img-4.2.0-35-generic     Found memtest86+ image: /boot/memtest86+.elf     Found memtest86+ image: /boot/memtest86+.bin     done


Calculate the degree of the extension $[\mathbb{Q}(\cos(\frac{2\pi}{p})):\mathbb{Q}]$ where $p$ is a prime number.   My thoughts are:   I am lost My intuition says it has to be $ \frac{p-1}{2}$ and that the base vectors are probably $\{\cos(\frac{2n\pi}{p}) \mid 0 \le n \le p-1 \}$, notice  $\cos(\frac{2n\pi}{p})=\cos(\frac{2(p-n)\pi}{p})$.   I don't know how to prove/calculate it.


I am going to install cm7 and it seems to me that is 'good' to partition my SD card.  I did some reading but I am not sure if ext partition will become accessible as mass storage when an Android phone is connected to the computer.   I still want to transfer files from / to my SD card via computer. How can I backup files if they are on an ext partition?  How big ext partition is good if my sd card is 16GB?    HTC Desire on Android 2.1


Reference sObject Fields dynamically from a string value

Is it possible to reference the fields of an sObject (opportunity in this example) dynamically from a string value? For example, take the following code:  for(Opportunity o: oppList) {       for(String s : strList) {            // I'd like to set the opportunity field values based on the string             // value that contains the API name of the opportunity field       }  }  So, the variable strList contains the opportunity API field names. I'm trying to clear some fields on the opportunity in a before update trigger, but I have to access the field names dynamically in the strList.


this is the designed pid controller and i am using TL084 op-amps which has +15 volts and -15 volts as their supply. when the error is generated, due to integrator the control signal(Vc) output is going to saturation point of nearly 15 volts. I want Vc to be in the range of (0.85-3.8 volts), so that i can give this to SG3524 PWM IC to generate constant duty ratio PWM pulses. I tried by putting zener diode of 3.3 volt rating, but now Vc is coming upto 3.5 volts(basically saturation limit has come down to 3.5 volts) . The problem is how to limt the Vc to the specified range. Can any one please suggest modifications for proper design of anti-windup  working scheme of this.  Here VFb=-3 volts and VRef= 3 volts


How to check if a binary is 16 bit on Windows

I have an .exe file that I am unable to run on Windows 10. I suspect that it is because the binary is 16 bit. Is there a simple way to check? Something like  would be great.


Is it possible to have two overlapping PictureBox controls with transparent images?

Having two overlapping , I'm trying to make the transparent areas of the picture box let the controls below (in the z-order) being visible.  Even after , I cannot get the desired result.  This is what I currently have:    And this is what I want:    So my question is:  Any way to achieve my desired result with two PictureBox controls (or with another way) that overlap each other and let the transparent areas shine through?  Update:  Actually I solved it by using  to the the SO question "".


Get name of the opened file in the Text Editor

I need to get name of the opened file using blender script. Note: I need to get name through my addon, not through Blender Text Editor Something like that: bpy.data.texts["Text12"].name (This example is not appropriate because you need to know the file name)


Media Creation Tool deleted my backed up data on USB drive

I am running Windows 8.1 and downloaded Windows 10 for installation on another machine. I have a 128 B SanDisk Cruzer Blade USB drive that had other backed-up files on it.  After the files had been loaded by the Media Creation Tool all of my other data on the USB drive was gone and now it is only the 3.13 GB of data for Windows 10 and 28.8 GB free space.  Where did my data and the other 90GB go?


Looking for a Basic ( or "for Dummies" ) Explanation of the Lagrangian - Hamiltonian Relationship. ( Mathematician )

(Mathematician here - first time physics.stack poster). I'm basically looking for as simple as possible explanation of the Hamiltonian - Lagrangian relationship. $\textbf{My understanding :}$ $\textbf{The Hamiltonian.}$ Say we have some particle in $\mathbb{R}^d$, with a position $q(t)$ and velocity $\dot{q}(t)$, i.e evolving in time. Exactly how it evolves depends on the system. For a given system we can write down the Hamiltonian $H(q,\dot{q})$, and Hamiltons equations say $$ \frac{dq}{dt}=\frac{\partial H}{\partial p}, ~~~~\text{and}~~~~ \frac{dp}{dt}=-\frac{\partial H}{\partial q}. $$ e.g if $H=\frac{p^2}{2m}+V(q)$ where ($m$=mass and $V$ is some energy potential) then Hamilton's equations say that the time derivative of position is velocity (i.e Newton's 2nd Law), and the change in momentum is equal to the negative gradient of the potential energy (i.e. the system tries to minimize energy). $\textbf{The Lagrangian.}$ I understand this object only through "the Principle of Least Action". It is a functional on paths (which I think of as $q(t),\dot{q}(t)$ from above?) $L[q(t),\dot{q}(t)]$, such that $$\underset{q ~:~ (q,\dot{q})(0)=(x,y),~(q,\dot{q})(h)=(x^*,y^*)}{\text{armin}}  \int_0^h L[q(t),\dot{q}(t)]dt  $$ returns the "most likely" or "cheapest paths", i.e the ones that a physical system would take. $\textbf{My Questions :}$ (if you can only answer 1 of them that is still greatly appreciated )  What are the most important things missing from my interpretation of $H$ and $L$?  How (and heuristically why) are these two objects related through the Legendre transform?  Picking up a Partial Differential Equation e.g :   $$  \partial_t \rho_t(x)=-\text{div}\Big(\rho_t(x)\nabla_p H\big(x,-\rho_t^{-1}(x)\nabla P(\rho_t(x))  \big)\Big), $$ where $\rho$ is the density of a fluid and $P$ is its pressure. Why can we call this a Hamiltonian of the PDE? Note PDE taken from :


How to match command-like arguments using regex (C#)

I'm trying to parse filters for a search command I'm coding. The user can search using one or more arguments. The values can have spaces (if so, must be wrapped around double quotes). Also, there are several "operators" I've declared, these are: = (for equals), := (for starts with), =: (for ends with) and * (for contains). For example:  name=John name:="John Doe" name*"ohn Do"  Must match: name=John, name*"John Doe", name*"ohn Do" I've tried using Regex (C#) but it won't match the string when it doesn't contain quotes. This is what I came up with so far: Regex.Matches(input, "(name(=|:=|=:|\\*)([^\"](\\S+)) | (name(=|:=|=:|\\*)\"([^\"]*)\"))", RegexOptions.IgnoreCase);  Which is basically match the word "name" followed by one of the operators followed by anything up to a space, or the same but up to the closing double quotes. But it doesn't match anything. In reality I'm replacing "name" with a few keywords inside a foreach, but for the sake of simplicity, let's just match the word "name". Anyway, any ideas what I might be doing wrong?


Clipboard Manager for Ubuntu 16.04, 18.04

I'm looking for an application that can copy two or more items and then I can choose one of them to paste. Indeed, it should work on terminal.


I'm trying to delete a folder in Windows 7 and get a perplexing error message: "Could not find this item:  This is no longer located in G:\Graphics.  Verify the item's location and try again.  I can see the folder -- I can find it.  I just can't delete it.    I also get a second error message (sometimes) when I click on the folder: G:\Graphics 2009-11-17 refers to a location that is unavailable...this information might have been moved to a different location.    I'm using Windows 7; this folder is on an external hard drive.  I've emptied the folder (there were items in it); I've scanned that external hard drive for errors.  Trying to rename the folder yields the same enigmatic error message.    Is there a way to delete this folder?


How are the two definitions of Canonical Transformations related/equivalent?

I am aware of two definitions of canonical transformations which I state below. Definition $1$ We go from old set of $\{q_i,p_i,t\}$ of $2n$ phase space variables to a new set $\{Q(q_i,p_i,t),P(q_i,p_i,t),t\}$ of $2n$ phase space variables such that  the determinant of the Jacobian of the transformation is $+1$ and the functional form of the old hamiltonian $H(q,p,t)$ changes to new hamiltonian $K(Q_i,P_i,t)$ but Hamilton's equations in the new variables remain preserved in form $\dot Q_i=\frac{\partial K}{\partial P_i},~ \dot P_i=-\frac{\partial K}{\partial Q_i}$. Definition $2$ We go from old set $\{q_i,p_i,t\}$ of $2n$ phase space variables to a new set $\{Q(q_i,p_i,t),P(q_i,p_i,t),t\}$ of $2n$ phase space variables such that the the determinant of the Jacobian of the transformation is $=+1$ and the funadamental Poisson bracket relations remain unchanged i.e.$\{Q_i,P_j\}=\delta_{ij};~\{Q_i,Q_j\}=\{P_i,P_j\}=0.$  Are these two definitions related? I mean, does 1 imply 2 and 2 imply 1? How to show/see this, if true?


18.10 won't bring up desktop; can ssh into it and run lightdm

I upgraded to 18.10 from 18.04 using do-release-upgrade. The upgrade was successful, but on rebooting, the system seems to freeze after the Plymouth splash screen and systemd (OK/FAIL) status output, but before the desktop. I don't get a tty login either. This happens with both the 4.18.0-10-generic and 4.15.0-10-generic kernels.  Updates:  Using another PC, I can ssh into the host and then run sudo lightdm to bring up the desktop.  Changing grub options from quiet splash to nomodeset did not fix the problem.  Renaming /etc/X11/xorg.conf to xorg.conf.bak did not fix the problem.


What is the advantage of making the user use 'apt update' then 'apt upgrade'?

To me it seems like needless hassel for the lay user but I assume there must be some advantage over just automatically updating the repository when the user wants to upgrade.


How to animate scroll down and up the webpage using jquery

Here is jquery i got from stackoverflow as well.  $('ul.navigation').find('a').click(function(){     var $href = $(this).attr('href');     var $anchor = $('#'+$href).offset();     $('body').animate({ scrollTop: $anchor.top });     return false; });   Here is my nav

HOME

ABOUT ME

SERVICES

PORTFOLIO

SOMETHING TO READ

CONTACT ME

   It jumps on the correct id but it does animate. Animation part is what I'm missing. Thanks in advance!


I wonder what happens when you construct the Tiling spaces considering the natural action of $SE(n)$ or $E(n)$ rather than $\mathbb R^n$. In order to do that, I need to understand both the riemannian metric, and the volume form of the considered group. Are they unique?   Could you suggest an example based reference on Lie groups?


What makes someone deserving of a Ph.D.?

Few days back while attending a thesis defense, one Professor was asking the defender why does he think, he deserves the degree. I was wondering since then, is there really any general answer for that? or the answer should be given describing my own work and then emphasis them how it is important for research field?  I asked the question here to know your opinion about it and to list down what could be the possible answers to this question.


If an object is large enough and slow enough is there a point that we can say we know its position and momentum?

Let’s say you have a 3000 lb vehicle moving very slow at 1 kilometer per hour. It seems obvious that you could simultaneously determine its position and momentum at any point along the way but does the uncertainty principle still apply even here?  You should be able to calculate this at a future point. If not then why not? If so then at what point do you revert back to uncertainty?


automatic new page when using \tableofcontents etc

I use \documentclass[12pt,openany]{book} on a MAC 10.9.2 running LaTeX TeXshop 3.35. How do I suppress the new page command which seems imbedded in the macros \tableofcontents, \listoffigures, \listoftables?   Thanks


Prove that if $\operatorname{rank}(T) = \operatorname{rank}(T^2)$ then $R(T) \cap N(T) = \{0\}$

Let $V$ be a finite-dimensional vector space and let $T:V\to V$ be linear. Prove that if $\operatorname{rank}(T) = \operatorname{rank}(T^2)$, then $R(T) \cap N(T) = \{0\}$. I don't see this implication, at all. Please give hints and explain conceptually.


What is the difference between read() and fread()?

I'm reading source code of the linux tool . They use the read() function there. Is there a difference to the standard C fread() function? (I'm not counting the arguments as a difference.)


How do I upgrade Skype using terminal on Ubuntu 14.04?

I need to upgrade my skype version using terminal. Right now I have the Skype version 8.11.0.4 and the notification icon I am getting the text, i.e.   A new update is available. Install latest version via your package manager, then restart skype.   So I need to upgrade the latest version using terminal. I need the steps to upgrade this.


Why doesn't text piped into an echo get outputted?

Why doesn't this command output "1"?  echo 1 | echo   I imagine it working this way:  1. echo 1 (outputs 1) 2. | echo (takes the 1 as an input, then echos it)   Isn't this what should happen?


Is it true that when $n \geq 5$ there is a surjective homomorphism from the symmetric group $S_n$ to $S_{n-1}$? How come this is so? Does it have to deal with the subgroup $A_n$ being simple?


Let $Q$ be orthogonal matrix and $v,u$ be vectors. Show that $Qu \cdot Qv = u \cdot v$

Suppose $Q$ is orthogonal $n$ by $n$ matrix and $v,u$ are vectors in $\mathbb R^n$. Show that   $$Qu \cdot Qv = u \cdot v$$   My attempt:  We will denote arbitrary element of $Q$ as $q_{ij}$  So   $$Qv =  \begin{pmatrix} \sum_{i}^{n}q_{1i}v_i\\  \cdots\\  \sum_{i}^{n}q_{ni}v_i \end{pmatrix} $$  and  $$Qu =  \begin{pmatrix} \sum_{i}^{n}q_{1i}u_i\\  \cdots\\  \sum_{i}^{n}q_{ni}u_i \end{pmatrix} $$   Hence  $$\begin{align}Qu \cdot Qv & = \sum_{j=1}^{n}\biggr(\sum_{i=1}^{n}q_{ji}u_i \sum_{i=1}^{n}q_{ji}v_i\biggl ) \\ & = \sum_{j=1}^{n}\sum_{i=1}^{n}q_{ji}^2v_iu_i \\  & = \sum_{i=1}^{n}\sum_{j=1}^{n}q_{ji}^2v_iu_i = \sum_{i=1}^{n}\underbrace{\sum_{j=1}^{n}q_{ji}^2}_{= 1}v_iu_i = u \cdot v \\  \end{align}$$  $\blacksquare$   Is it correct? Is there a better way to prove it?


Applying to PhD programs in mathematics, how to address (now resolved) health issues that affected GPA and subject GRE scores?

I want to apply to a doctoral program in mathematics (I am currently a master's student) that is strong in algebra. The schools I found that have what I am interested in are "tier 1" schools with very competitive admissions and I am not sure what to do to improve my application. I had to withdraw a semester after my first year of graduate school because of several health problems, and when I went to the doctor I was told I had severe iron deficiency anemia as well as another medical issue I do not want to discuss here. I had it for almost ten years, but my previous doctor never diagnosed it. My GPA has suffered a lot from its side effects (it is 3.3) and also my subject GRE from undergrad is terrible (560). I was not able to retake the subject GRE because of a time conflict.  I want to apply for Fall 2016 because my health is a lot better now, but I am not sure what to do to make my application better. I feel like if I try to explain my health issue it will look like I am trying to make excuses. I have done seminar presentations, gone to an algebra conference, and done independent work without a faculty adviser (they always seem to tell me they are too busy or that I should stop studying material outside of classwork).  If someone can offer a suggestion on how I should approach explaining my situation or could suggest something for me to do to make myself more competitive, it would really help.


Old sci-fi show about some kids that travel to a distant part of space and are trapped by the boss in a spear of influence

I'm not sure if it was a series or a mini series but some kids get lost on a space ship and end up finding a long lost earth.  The ship might be called "Merlin" and it has an AI. They end up being noticed by the bad guys and they activate something called the "spear of influence". It detects any ship that passes the barrier of a huge area of space so they are trapped.  I remember one part of the plot was regarding the ship running out of water so they had to get more from an asteroid or a comet. If anyone remembers the name please let me know


Removing a file with non-printing characters

I've come across a file created accidentally, and having a really screwed up filename. The output of ls -lq:  ls -lq total 2 -rw-r--r--. 1 mbyx7ag2 zk01 0 May  1  2014 ???E@X?p@8?@   I have made numerous attempts to kill this thing, but so far to no avail. Every time I get errors because the file doesn't exist, despite ls showing it there, and being able to stat it:  stat ^A?E\@X?p\@8^H\@    File: `\001\360\265E@X\342p@8\b@'   Size: 0           Blocks: 3          IO Block: 32768  regular empty file Device: 1ah/26d Inode: 5239755888  Links: 1 Access: (0644/-rw-r--r--)  Uid: (231058/mbyx7ag2)   Gid: (10027/    zk01) Access: 2014-05-01 15:47:28.638919596 +0100 Modify: 2014-05-01 15:47:28.638919596 +0100 Change: 2014-05-01 15:47:28.638919596 +0100   Interestingly, the stat command there is the result of tab completion, and looks nothing like the names used anywhere else.  I've tried the ideas in these questions:        I also tried the two methods from  (under "Extirpating non-printing characters").   The worrying thing is that the supposedly 'foolproof' trick of using inodes like this:  ls -i 5239755888 ???E@X?p@8?@ find . -inum 5239755888 -delete find: cannot delete `./\001\360\265E@X\342p@8\b@': No such file or directory   doesn't work.  Does anyone know any other tricks I could use to get rid of this file?


March 10th Patch Tuesday appears to cause SQL Server client connection problems

Since applying the full set of patches on a Win 7.1 Pro desktop and a Windows 2012 R2 Datacenter Azure server running SQL 2014, SQL Management Studio (2008 and 2014 versions) won't connect to the SQL 2014 Azure server. The client connection attempt times out and fails with SQL server error 5.   SQL server transactional replication continues to work normally between local SQL 2008 instance and the remote SQL 2014 instance. Also, the SQL Management Studio 2014 on the remote (Azure) server can connect to the local (on site) SQL 2008 instance with no problem, as well as to the remote (Azure) SQL 2014 server. DNS resolution and IP connectivity in both directions is normal. I can see that the remote SQL 2014 instance correctly creates its SPN at startup. There is a warning on the SQL 2014 that NTLM fallback is being used by some clients.   I don't have a local instance of SQL 2014 nor a remote instance of SQL 2008. So I'm not sure if it's a relevant factor that the server is remote, on Azure, over VPN, or if I would be seeing the same problem with a patched local client and patched local SQL server.   I notice the SQL Browser service on the remote SQL 2014 server is stopped and disabled. I'm not sure if this was the case pre-patch. However I am running one instance on the default port, not a named instance, so I would expect I don't need the SQL Browser service?  There are reported authentication problems with this Patch Tuesday relating to Server 2003 network file shares. I haven't seen reports of general AD authentication problems, or SQL Server authentication problems. Is anyone else having this problem or similar? Any suggestions of which KB I should try to rollback? Should I run the Kerberos configuration analyser? Should I start the disabled SQL Browser service?   Any help appreciated.   Removing MS15-027(KB3002657) from the server and rebooting the server does not resolve the problem. Removing KB 3046049 on the client and rebooting the client does not resolve the problem.  Removing KB 3046049 on the server and rebooting the server does not resolve the problem, but the error code changed from 5 to 53 (a more common error code).   Edit: this is not the same problem as   though it may have the same root cause. (There seem to be increasing reports of a variety of authentication related problems after Tuesday's patch.) Specifically in my case, windows authentication is working normally, I can RDP into the patched machines and between the patched machines and AD based login works fine.   Edit: The same problem affects SQL authentication (non AD). Identical error message. That suggests this is a connectivity problem and not an authentication problem.   We don't have any Windows 2003 servers affected. So the problem we are seeing is not confined to Windows Server 2003 (as is reported for some other similar March Patch issues).


Method of ascent to prove that $x^2 − 3y^2 = 1$ has infinitely many solutions

Use the method of ascent to prove there are infinitely many solutions to the Diophantine equation: $$x^2 − 3y^2 = 1$$ We can do this by showing how, given one solution $(u, v)$, we can compute another solution $(w, z)$ that is larger is some suitable sense. Then my proof will involve finding a pair of formulas, something like: $w = x + y$ and $z = x − y$. However I tried these formulas and they don't work. So I asked my teacher and she said that there is a pair of second degree formulas which do work; one of them has a cross term and one of them involves the number 3.


How to use JDBC based database extension of GeoServer for other JDBC based database?

I'm doing R&D on GeoServer for my project requirement to access JDBC based Database(MapD).  So to do that GeoServer provided some extension for particular database access extension like JDBC based extension sql server,but in my scenario database is another that also have JDBC based driver.  I got github geotools link but didn't get which classes and method used for make extension and  how going on process.  So To make GeoServer extension for JDBC based database, which java classes and method need to change and make jar file to put into lib folder to access database on GeoServer.  So any help me how to do in steps.


Filename with red writing and black background with arrow pointing to another file, does anyone know what this means?

Trying to figure out what this means -> see image, any help is greatly appreciated!


Is $\mathbb{R}$ an algebraic extension of some proper subfield?

Is there a (proper) subfield $K$ of $\mathbb{R}$ such that $\mathbb{R}$ is an algebraic extension of $K$?  From this question, , it is clear that for such an $K$, $[\mathbb{R}:K]=\infty$.  This question seems to be non-trivial, and I suspect any existence result will be non-constructive. Any references will be appreciated.


What exactly does $\dot\sim$ notation mean?

What does $\dot\sim$ notation (dot over tilde) mean, in the context like $x \mathrel{\dot\sim} \mathcal N(0,1)$?  Turns out it is easier to find how to typeset it correctly:  that one should type \mathrel{\dot\sim} instead of simply \dot\sim to fix the spacing issue -- than to find what it actually means. It has only been used  on CV until now; is it standard?


Can a masters student apply for a second masters in the same field at another university?

Are students with masters degree allowed to enter a masters program in the same area at a good university?  Is second masters a good option for a better research experience and improving your CV before applying to a PhD in top programs? I am specifically interested in US universities and computer science.


Following Question. I have a big amount of ArrayList attributes (basically the same as Kreuzlagerort20kg etc). Instead of initializing them all in the constructor (the part commented out) i'd love to initialize them inside the fillLager() method, making it possible to call the method inside the constructor and have them initialized and filled then. If i do it in the code, i always get a nullpointerexception.   Is it possible and/or sensible to initialize an arraylist inside a method, without getting said nullpointer?  import java.util.ArrayList; public class Lager { private ArrayList<Screws> KreuzLagerort20kg,KreuzLagerort50kg;  public Lager(){         //KreuzLagerort20kg = new ArrayList<Screws>();         //KreuzLagerort50kg = new ArrayList<Screws>();          fillLager(1,KreuzLagerort20kg,20);         fillLager(1,KreuzLagerort50kg,50); }  public void fillLager(int typ,ArrayList<Screws> lager,double lagerGewicht){       lager = new ArrayList<Screws>();       // code that loops through combinations and adds them to the arraylist     }}}}}}


I want to create a kbordermatrix with an underbrace and some text below. I tried it with  \documentclass{scrartcl} \usepackage{kbordermatrix} \begin{document} \[ \underbrace{ \kbordermatrix{  & 1 & 2  \\ 1 & a & b \\ 2 & c & d  }}_{test} \] \end{document}   which gave me this output:    As you can see the underbrace also goes below the rowlabels since they are treated as an extra column. Is there a way of using an underbrace which is only below the actual matrix?


How can I achieve this glowing effect on my images?

I've looked around for tutorials but I'm not quite sure how it's achieved. Thanks for any help!


OnClick() Jquery call function from external js file

i am writing a jQuery file using onClick() to be an event for a button. But i want to load another js function from an external js file. How can i do that ? i have been trying but no result  This is my main.js  $(document).ready(function(){     $("#dashboard").on("click", function(event){         event.preventDefault();         $('#content').html(dashboardTemplate);         // I want another js external file will be loaded here      }); });   This is my external js file: The element #btnAddGroup is inside dashboardTemplate which is just a html file      $("#btnAddGroup").on("click", function (event) {         event.preventDefault();         alert('test');     });   Thank you    Edit : Based on your suggestion  external.js  function addGroup(){     $("#btnAddGroup").on("click", function (event) {         event.preventDefault();         alert('test');     }); }   main.js  $(document).ready(function(){     $("#dashboard").on("click", function(event){         event.preventDefault();         $('#content').html(dashboardTemplate);          $.getScript('external.js', function() {             addGroup();         });      });   });  Its still not working. I am trying troubleshoot. thanks again


I used the a string variable in if statement bust it is showing that variable is not used

I used this code: Scanner SC = new Scanner(System.in); String Gender = " "; System.out.println("...."); String Ans1 = SC.nextLine(); Ans1 = Ams1.toLowerCase(); if(Ans1 == "yes") {   Gender = "male";   System.out.println(Gender); } else { System.out.println("Get out!"); }   I think I used the Gender variable in if statement, but it's showing  The Value of the local Variable is not used. And when I ran, it works but the value of gender is the same as the previous. It means that if I write yes it doesn't show the word male it shows the space I gave. Please Help!


Drupal 7 site display unexpected symbols

My site working very effectively on my localhost, but when I move the working site's all folders and files to Live Server i.e to cPanel, Its only display unexpected symbols that are given below.  ‹Ý0M™å‘/ðë¥R!ŒH6L¨½¯Tl³/)4-/`4A‹.iÌ$³·†1‚š–b·Ê¹¢jZ-"¯i!¶=Ç¡Wô¶Ö¢c.kžu›pW:W_R–ÚF½¶™Õj!jWÒj5ƒ°µöÃb‚¹hB:=ú…4Íçÿ Ÿ>ÿ’ubK-NeýS¥#™Ú÷<‘FªR%•ûöËÝÍÍ—õm{£òùÅ<CR€u"Ôµ±/”hŒJ¨w}F{¼”Zï¦‘‡oýùZ,Oä¿G{ð&i:¯y`ðŠkë#o¥ F`xMû&©Lh¥26ˆÊaäÁ(•¤l¬æ š×+8]r¯Bš%êðÐ¸¢Zœ%<_I6Ðq¤*dÏÔ¡zssSyAþƒT²É¶iDƒ¡âž™r t%K,¡¨²,i©LLùzxI{¨å‘ÀŸêŸG°²ƒ#ˆÔ    ¬Ë$KÔk¾„÷À;ÈB;ß^¬gå‘%éZÀ£kÒOX·™sß—“fêIùk—†<6©{[õzuÃüçà5¸W} µ—Em«(½‚öWEm·^¯„ÍŠv²Ï˜ªS6“„*°iY2qh·HÈ|NÁõÕúG§¤HšëÖHñµ’):àR âÈ¡–}j.•¬†E»êv×µ@1G³”Êb“–ÈêÂ¶N€Ê]™’q'”±P‹ØM¹ø‘¦1Ãº‰+n;Øûxm%ø}ð0úG,_VŒ6q;zVLsÌ½k–Ô6j¯1ç]Îß`5å•pˆl›Â½ÆkàUÏÜ'¬00Ø½~öY‰¬©Ëœ”“z´XRVŽ6?õÊÅ•“€È&aEaµè!Î‹c¹}ËìóˆÉL%j[®HÓ]Htd¦ôÜ®/wI†,qÖ¥i F®*kèèþÕøDqºÙW3ß`þ©êˆ.Úw=Y.½fž2ëÌKZÖñ¦GÉ<Ÿˆ9$Ø¡pù#gk> W%!:Žçèt©#ÆÔ"ƒƒU~–¸’¿šµÚVù<±"ä"òXNas•øý$i€¨3Õ¬·>i¦_Õ6WÅõrQËªåQ‡C%œÙyÙ)…lÒòºmŽ™OÅÉ”s¼•Ÿ“ìý|ò÷ÑC'ÔÚwùõ'Ygçô8Ú<áZ›í_¯ò´J- .xwø„*¾‹…œ€õ‘â;°`Ð|Ê£íí» ‡ƒþmÛql»ÕøñÓÁáþåþ'ÇiaãÚÕ_õ´‹üõC³OI¦”I„~µ0ÑpFUßÚ³ÚŽUµb(Ÿ%¬Ëo¡ê¸ý`FìBUX{_--ô#uGG‰kA÷ÎÇƒóð ÷ã«wÿ•þ>è½ ¶w½_Þ~<Œ/6?ü1ŒÞ}8í¥ÁÕ[  °WQã:l"ko£:Þ–mà¥Žbç-µe;¦nÑúoã´s÷ÒßÝÚS›Ý`±KÆ–K³7ª»Éd©vO³?´ó ¢=‡X–Ü»Ï‡›ðÃíŽ¹4 %‡:…Ò,†öÄj0üL;Ã‡€—ÙRà…Z ªì@XXÍ·ª…\¹âM¢¬=™4Êž3¨HúÝ1j”Ì[8°HÒÍ7Q=‘S{àR\‰“Û.ò`í"v/âÍÌt’k\:_• o²WóI%¢ÚÓy©qôFö1‘GJÕù£v)´`}fùv‘j¥ˆî   ™e|ÚÙŸ{BëtN{,±sÈ}KÞŸÌƒ˜9?È>÷ðU Ó!”Ù&lýDK¿\Ù‹DÄòÉrŒ¼wjÿžÊï#:£|R¿[ý\hD¼§ùö Ûs]èŒæeŽ`s‹À¶4tŠ<ì¾6:òÉQwä‰~€ÿ²ž¿áyQKÅpümÓfLå'Ù7x†¬¼¨yœf«á+Ûp#%ºÙ%Ä [·@ÿ /¡ôØoY!ûŽ¿ð)Ià¦øÚŽp¿iåXD?‹lZƒµ(ˆG4°Ç›•&«uÐ"¶¬9seN   UP’Cú¸§Ë˜FÅÞ Vk#\ë÷£“äŸÿìC7î³†ß‰i79ó—S#%Æ Ê––r¬nÊ”Œ",–Ð J5)ÓViavy"a· ’Ï|â'"öÅY§ÙR„¹ˆ;" 8.Ï,—©ob ,ãÓð“Õº\ãú…•É”ŽíP«zmŽ$*ÈÌábÈîZÑ—}FD4‡Ï äßÓ4!X¼×"(´š0†úÄÏR€×È‚f…ûOhŒc«u†Ÿ»&o¶ô¿ø,åÐÎq!‚²&£ÂÖkhÏÜ½¬CŸ7=e§_‡Õ*McÑ¢AÌÚ5˜Âl}cqáæ–5¬ÍPÚû¤dó` ¢žQü37öqëâòã#²rHÞì_¼{zBÞœž“w§¿5œx;S•¢˜LÞó ivtà`AŒ(f[zI–IxžLÃßÌ+õ9ÆªsYF=›£;%ý¬«´d   §5¼µ¡a  Má˜Ð!   „ˆg…ý ~Çc;/³Pã-+‹guƒƒ Ï@ë8]lxº7Ì Ç  ë–™”…{–«ÝÈÊTm~¯Éz¹Y‡c˜Îm6Íúœcgƒ….øÇÉ.oºh8šØLM8F3¬ÖÑ¨§Ì}F„¾8hÏVÔÏ¥Õ×ÎÊ¥Q„âåÔ¬ˆõ§ýó÷ót]J&¤¡-K%þ.Üá!œÓî“NÌ_u9>·É!í3ù€Î†9$Ï?Ò—·§¾¸PÍ7¨ùP%…¸B¹â@ïÈf”Ev]ˆ   ÈduYYÃ!^gø¾ß©ß%å´=˜fúcšÌ&Ü{“Êö&Ø_‹mj´/¹ø«iáÿÑÍéUi) Ì-LpüÂò‹i´–fÇyk‹ñéãRZ`RùË¡¤=]éB›g°K»©·¼t1œå6Æáf³ùÀe5Ó°vfÖtÙ¬&Oókw»¸g6ª3Œõ¹wžöì×‚ª•ûð9æõ×¾#ƒùHô\,s.ÇKÛÚ]æ¶5Ó=(0ö8ÓË/’¦.Ë²_áÖW0w;¼ïnŸû‘×É1lI×Ççwïÿ¼&ºí¦RD]æê© ôóÜ~o8K`UàwüîŸÑüâÄ÷”„ åÿ¹c¼IÂb&žÍðVÝv…POðšcc³dÿ†FÄsB[¼…Û|l3ÚÆß>7f2ÏiD'-ñí‚¥SH‚ÂaÊüÜšÁq!ÓÌ¾,16S¦9I7)‰S®Ìºb”Kç §¯ŠÜ`œðõ†¶ÄgßxYˆ9YÝD.ò¦±Äé\ ÄPÚPó¹¾ˆ±Z—ØBþ†ñ/ä h¿/¾¬+ÀÎ_ ‚kPiÙ±¸7Ä+&ÓžÑ8×½äL÷N¤9—°Ò¼_Ö§–Y‹mÏ0õÙ¶¸1f‹*b7šÈ4ô»güS+x;Añíû(NÕQHy°’¥.ÞœºŒ(ADš|c0|cB!lëN‹,oÖ£‡½ööŸÂ¶Iþ'uÀƒ$a‘g±)sY„j9ñ  ™ê*RùJ FTÄB”Çbe{}šHŒ±>\¾±w,æ1]ëñà’C¢K˜Ã³ñ^¿&E¯3i_žkXYÏ‘þŽïD:Á?ö’0¿¸¿ìs<1#z(äÝ5«õïÅu1   °YŽVTz`„‘ÍþŠ)hê›uÉÿ_ÌÅ…ô´ÓÃÜÜÆæŽ5Æâ##î\4fí”©ÂDÀ!ªD7o0”E\Ð½MY™L>ÞiáísßgQŽGvÜ”~ö‹£†?<¦    lÀ'[gþßøûm/¾Ýýø×ôìXþöúUxö·íŸÅîéÉka„¸ƒJ  ÿÈx:Úx:zÀvI ›ZÚ\×™µY>ÜóLÄ-žˆ‡ÙMÊ?ÿ›Œÿ‰©r ³v¶!7|ªïKðdý/oþŽ¿;K   I also change the permissions of index.php but nothing works for me. Also my index.php works, when I write die('test') in index.php it displays "test" on the page. I think the problem is in these two lines of code in index.php,  drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); menu_execute_active_handler();    If any one know how to fix this error, Please let me know I'll be very thankful to all of you. Thanks in Advance...


Touchpad won't work after kernel update to 4.15.0-72-generic

The touchpad on my laptop stopped working after an automatic kernel update to 4.15.0-72-generic.  My only work-around at the moment is to start up with the  previously installed kernel (4.15.0-70).  Where should I report this bug to have any hope of it being fixed, and which information do I need to include?


I have a hosted VM with about 20 client websites on board. Many use a database which is currently SQL Server 2008 R2 (not an evaluation). Because of upcoming licensing issues, I need to change to the Web Edition of SQL Server with my current host. Is it possible to install SQL Server Web Edition on a box that already has SQL Server 2008 R2 installed?  If it's not possible, could someone suggest best process for this switch?


Can somebody please suggest me is it possible to pop up screen on salesforce when an api of salesforce is hit from remote system,actually i am integrating dialler in salesforce for which i need to pop up screen when a call comes!


We are trying to replace a 20A 250V single outlet that was installed in 1975. We have tried replacing it with a 15A 120V double outlet. When checking our completed work, the outlet tester read that the wires were reversed. We changed the wiring, and the outlet tester still read that the wires were reversed.


How to install Google Drive on Ubuntu 14.04?

I am using Ubuntu 14.04, I tried to search for Google Drive on Ubuntu Software Center, but couldnot find it. Searched for answers in Askubuntu but all I found was ways to install  which didn't worked for me.   Can anyone please give me some ideas?    Update: Don't know why they marked it as duplicate entry, as the link mentioned in question gives answer for Ubuntu 12.04, which as I see is two different things.


Redirecting stdout to a file you don't have write permission on

When you attempt to modify a file without having write permissions on it, you get an error:  > touch /tmp/foo && sudo chown root /tmp/foo > echo test > /tmp/foo zsh: permission denied: /tmp/foo   Sudoing doesn't help, because it runs the command as root, but the shell handles redirecting stdout and opens the file as you anyway:  > sudo echo test > /tmp/foo zsh: permission denied: /tmp/foo   Is there an easy way to redirect stdout to a file you don't have permission to write to, besides opening a shell as root and manipulating the file that way?  > sudo su # echo test > /tmp/foo


I have VPS of following configuration.  RAM : 4GB Swapped RAM : 4GB Disk : 500GB   I'm unable to start any service it's showing No Space is available.   df -i  Filesystem                                              Inodes   IUsed  IFree IUse% Mounted on rootfs                                                 6545408 6544345   1063  100% / udev                                                    510093     297 509796    1% /dev tmpfs                                                   514106     225 513881    1% /run /dev/disk/by-uuid/4bdbc1bc-2c9d-48d9-a6ab-654bc6ca727a 6545408 6544345   1063  100% / tmpfs                                                   514106       2 514104    1% /run/lock tmpfs                                                   514106       2 514104    1% /run/shm /dev/xvda1                                               62248      20  62228    1% /boot   Is there anyway to increase inode value by means of swapping or anything? I've enough disk space but 100% inode value giving me this problem.


I'm trying to fix the “the system is running in low graphics mode” problem. When I press Ctrl+Alt+F1 to go to tty1 and login, it goes straight back to the login prompt. Why does this happen and how can I get to the terminal?  Running Ubuntu 14.04.5 on an Asus laptop with nvidia card.  EDIT: After i try to login it says unable to cd to '/home/user'  EDIT2:  $ namei -xl /home/*  f: /home/user $Drw-rw-rw- root root / $drwxr-xr-x root root home $drwxr-xr-x user user user   EDIT3: Thanks for the time and help. I booted Ubuntu from usb and backed up important files and reinstalled Ubuntu. It appeared that all files were changed to root? All directories like: /home /opt were binary and inaccessible files. Only as root I could navigate the directories and copy them to a usb.


Give an example of a convergent series $$\sum_{n=1}^{\infty}a_n$$ such that the series $$\sum_{n=1}^{\infty}a_{3n}$$ is divergent..  I cannot find find any kind of series... I am also be very thankful if you find a divergent series (changing the term convergent)...


So, in light of , and , how can we patch for the shellshock bug/exploit/vulnerability for currently supported Ubuntu versions? 13.10 and 14.04?


How to click a checkbox with Selenium Python without an id?

How do I click a checkbox with Selenium Python, if I don't have any id which defines the checkbox?


Recipe calls for letting beef stand at room temp for 1hr. Is it safe?

I'm following a recipe for a roast beef tenderloin with caramelized onion and mushroom stuffing from "The Best of America's Test Kitchen" (2008) cookbook. After butterflying the roast, stuffing and rolling it, and then tying it off, I'm told to:  Stir together 1 tablespoon of oil, 1.5 teaspoons kosher salt, and 1.5 teaspoons pepper in a small bowl. Rub the roast with the oil mixture and let stand at room temperature for 1 hour.  (emphasis mine. Full recipe here: , ) Though I can't find a link at the moment, I remember reading that the USDA advised against leaving meats in "danger zone" temperatures (like room temp). Is this safe to do?


C# pass parameter to method with type known only in runtime

Intellisense gives me an error 'myType' is variable but used like a type  var myType = myObject.GetType(); var result = MyMethod<myType>(param);   Where:  var myObject = new MyType(); // MyType extends MyBaseType  public static string MyMethod<TArgs>(string param)    where TArgs : MyBaseType {     // Do stuff... }   So at the runtime the myObject.GetType() is known (it's MyType in our case).   Question:   How could I in a right way pass myType "dynamically" (which in a runtime could be MyType) to public static string MyMethod<TArgs>(string param) method?


(Olympiad Question) $f(2x) + 2f(y) = f(f(x+y))$

This was Problem 1 from the 2019 International Mathematics Olympiad.  Find all functions $f$ : $\mathbb{Z}$ $\rightarrow$ $\mathbb{Z}$  that satisfy $f(2x) + 2f(y) = f(f(x+y))$ whenever $x , y$ $\in$ $\mathbb{Z}$.  And this is my progress...  Let $x=y$ then $f(2x) + 2f(y) = f(f(x+y))$ then $f(2x) + 2f(x) = f(f(2x))$ (substitute $x$ with $y$) then $2f(x) + 2f(x) = f(2f(x))$ (from Cauchy's theory $f(nx) = nf(x)$ where $n > 0$) then $4f(x) = 2f(f(x))$ (from Cauchy's theory $f(nx) =nf(x)$ where $n > 0$) then $2f(x) = f(f(x))$ (divide both sides by $2$) then $f(x) = 2x$ which is one of the satisfied fuctions. Let $x = -y$ then $f(2x) + 2f(y) = f(f(x+y))$ then $f(-2y) + 2f(y) = f(f(-y+y))$ (substitute $x$ with $-y$) then $2f(-y) + 2f(y) = f(f(-y+y))$ (from Cauchy's theory $f(nx)=nf(x)$ where $n>0$ ) then $2f(-y) + 2f(y) = f(f(0))$ (from additional inverse property of any integers) then $2f(-y) + 2f(y) = 0$ (from Cauchy's theory $f(0)=0$ ) then $f(-y) = -f(y)$ (from additional inverse property of any integers, since $f(y)$ $\in$ $\mathbb{Z}$) then all functions $f$ : $\mathbb{Z}$ $\rightarrow$ $\mathbb{Z}$ that satisfy $f(2x) + 2f(y) = f(f(x+y))$ whereas $x,y$ $\in$ $\mathbb{Z}$ are odd.  I can't continue because I'd almost lost my dinner when I solve this, so I decided to take some Clorazepate and sleep. Can you continue or check my progress? Is it right or not? Can you help me please?


From my home pc using putty, I ssh'ed into a remote server, and I ran a python program that takes hours to complete, and as it runs it prints stuff. Now after a while, my internet disconnected, and I had to close and re-open putty and ssh back in. If I type 'top' I can see the python program running in the background with its PID number. Is there a command I can use to basically re-open that process and see it printing its stuff again?  Thanks


Please help understanding the difference between force and kinetic energy for an object hitting a wall?

If a car hits a wall at a speed of $v$, and an identical car hits a wall at a speed of $2\,v$, with the kinetic energy equation $E_K = \frac{1}{2}mv^2$ (the speed goes from $v$ to $0$) the second car will lose 4 times the energy, and therefore cause 4 times the damage, but with the force equation $F = ma$ (the car hits the wall and decelerates), it will hit with 2 times the force, and cause 2 times the damage.  How can this be explained?


Why is my text blurry when I transfer it from Illustrator to InDesign?

I know that we aren't supposed to use Illustrator for text, but I needed to use the Type on a Path feature and that's why I did it.    Above is the text in Illustator. When I export the text from Illustrator to InDesign, the text becomes blurry.     I'm assuming because it becomes an image file when it goes into InDesign.  Thus, I was wondering if there was a way to increase the image quality or directly copy the text boxes from Illustrator so that when they appear in InDesign, they are text boxes rather than image boxes.  Thanks in advance!


The script is not working correctly. Even if the service is not running, then also the output is ok stating that service is running.  #!/bin/sh is_running=`ps aux | grep -v grep | grep "$1" | wc -l` echo $is_running if [ "$is_running" > 0 ]; then    echo "OK: $1"    exit 0 else    echo "Problem: $1 is not running"    exit 2 Fi   Ran it using: sh scriptname couchbase-server


Add additional templates to the templates drop down on add page menu

I'd like to add a custom page template to the drop down menu shown in the picture.    Had a good google at this but couldn't find anything, was too hard to form a concise query.   Thanks for reading


Use bibliography numbers and citation from other file

This question led to a new package:      I want to reference to citations from other file. Similar to what xr package does to labels, but I want to apply it for the bibliography.  If I'm able to do \cite{someone} in the main file, and it creates let say the number [4], I want to do the same \cite{someone} in a second file, and also create the same number [4]. Similar to what xr does with the labels.  By the way, I tried to add the main.bbl file from the main file. However, that adds all the references to the end of the second file. I want to avoid this.  Is there any package that accomplish this?


Similar to , but different result set, can anyone help me with the output of getent group?  It's something like this:  groupname:x:0:   just not sure what the x:0: signifies?


Why do some python scripts begin with #!/usr/bin/env python?

I noticed that some python scripts start with  #!/usr/bin/env python   instead of  #!/usr/bin/python   Are python scripts the only ones that use #!/usr/bin/env? Are there any scripts that start out with for example #!/usr/bin/env bash or #!/usr/bin/env perl? If not then why are python scripts different?


I noticed that the paper size invoked by a4paper is not working right in my examples:  \documentclass[a4paper,11pt,oneside]{article} \begin{document} Test \end{document}   I checked with Preview.app and it tells me the paper size is 21.59 cm × 27.94 cm. A4 should be 21.0 cm × 29.7 cm.  When I use \usepackage[a4paper]{geometry} I notice a different size of the paper (it gets narrower) and Preview.app says: 21.01 cm × 29.71 cm, which seems right. I can reproduce this exact behavior with every class: article, book etc., scrartcl, scrreprt, etc., g-brief2 except memoir which gives me 21.01 cm x 29.71 cm    Is there something wrong or am I missing something?


Invariance of Lagrangian under Poincaré group transformations implies covariant Lagrange equations?

I'm taking a class on classical fields and I came across a statement that I can't think about an argument to show that its true.  It says that Invariance of a Lagrangian under transformations on Poincaré group ensures the covariance of the Euler–Lagrange equations under these transformations.  How can one prove this?


Hypothetically what would happen in this situation?

Would the speed of 'push' be equal to the speed of sound?


Question:     show that: the beautiful ${\tt sqrt}$-identity:      $$ \left({2 \over \sqrt{\vphantom{\Large A}\, 4\ -\ 3\,\sqrt[4]{\,5\,}\ +\ 2\,\sqrt[4]{\,25\,}\ - \,\sqrt[4]{\,125\,}\,}\,}\ -\ 1\right)^{4} =5 $$   Can you someone have methods to prove this by hand? (Maybe this problem have many methods?because this result is integer. It's a surprise to me.) Thank you   Because I found this $$4\ -\ 3\sqrt[4]{\,5\,}\ +\ 2\sqrt[4]{\,25\,}\ -\ \sqrt[4]{\,125\,}$$ is not square numbers.


Automatically put an alias into ~/.bashrc or ~/.zshrc

Is there a command line util/script that automatically saves aliases? E.g.  save-alias my-ip="curl ipecho.net/plain"   and that will define an alias, then add/update it in ~/.bashrc or ~/.zshrc  I was thinking about writing a script that would define an alias and then automatically save it. Having to manually add an alias each time to the config file is annoying. But I thought perhaps I'm going to reinvent the wheel and that you guys already have some solution to this annoyance.  EDIT: I ended up writing the script which you can find in the answers.


Lorentz transformations: new actual notation for a $4$-vector

For the Lorentz trasformations I use this notation  \begin{equation*} \left\{\begin{aligned} x&=\gamma (x'+\beta ct')\\ y&=y'\\ z&=z'\\ ct&=\gamma (ct'+\beta x')\\ \end{aligned}\right. \end{equation*}  with this matrix   $$L^*=\begin{pmatrix}\gamma & 0 & 0 & \beta\gamma\\ 0 & 1 & 0 & 0\\ 0 & 0 & 1 & 0\\ \beta \gamma & 0 & 0 & \gamma\end{pmatrix}$$ Introducing the imaginary unit $i=\sqrt{-1}$, the Lorentz transformations will allow you to switch from an orthogonal Cartesian coordinate system to an orthogonal one. Hence I, actually, use $L$ that is an orthogonal matrix.  $$L=L(\beta)=\begin{pmatrix}\gamma & 0 & 0 & -i\beta\gamma\\ 0 & 1 & 0 & 0\\ 0 & 0 & 1 & 0\\ i\beta \gamma & 0 & 0 & \gamma \end{pmatrix}$$  My usual notation that I use is the following to define a quadrivector $\boldsymbol{\mathcal{X}}=(x,y,z,ict)$, or even better is:  $$\boldsymbol{\mathcal{X}}^\intercal=\begin{pmatrix} x \\ y \\ z \\ ict \end{pmatrix}$$ Why most physicists now use $(ct,x,y,z)$ instead of $(x,y,z,ict)$ (or $(ict, x,y,z)$) and let the electromagnetic field tensor have real components?


Every non-Noetherian module has a submodule maximal with respect to being not finitely generated.

Let $M$ be a module. Show that if $M$ is not Noetherian then $M$ has a submodule $N$ such that $N$ is not finitely generated whenever $N<A\leq M$.  The question is related to , which only ask about first part of the solution(Zorn's Lemma), but I doubt that it implies the result in an obvious way. Please be aware that is different from my question, we can view that the above question is part 1 and my question is tring to find part 2 of the proof.  The first part of the solution is copied as following:     Let $Y$ be the set of non-finitely-generated submodules of $M$. If $(N_α)$ is a chain in $Y$ then $Q=\bigcup_{\alpha} N_α$ is in $Y$ (else $Q$ is f.g., which implies $Q=N_α$ for some $α$, whence $N_α$ is f.g., contradiction.   Then please complete the proof.


I'm pondering the following number theoretical problem:  Show that if $a^m-1 \mid a^n -1$ then $m \mid n$.  My first idea was to use the factorization $a^m -1 = (a-1)(a^{m-1}+a^{m-2}+\cdots+a+1)$ in the condition $d(a^m-1)=a^n-1$, but I can't seem to bring anything out of that.  My second idea was to consider the cases where $a^m-1$ and $a^n-1$ are even/odd, using $a^m-1=2k$ or $2k+1$, respectively. But that doesn't seem to bring about anything either.  I've tried WLOG to assume $m \leq n$ and factor the divisibility condition as $da^m -d = a^n-1 \Leftrightarrow a^m(d-a^{n-m}) = d-1$, but that doesn't seem to do anything for me either.  Any ideas?


Can anyone tell me the most proper commands with all steps to change my desktop environment to GNOME 3?  I am using Ubuntu 14.04.


How to populate owner name instead of id from a child object

Here i am trying to get owner name value from child object incident , OwnerId is populating correctly but when i tried with Owner.Name, value is coming null in debug log.  Please find my piece of code below and suggest me how to get incident Owner Name in case record Incident_Owner__c field.(Parent : case  Child : Incident)  trigger Updateincident on BMCServiceDesk__Incident__c (after insert, after update)  {    //You want it on update too, right?   Map<ID, Case> parentCases = new Map<ID, Case>(); //Making it a map instead of list for easier lookup   List<Id> listIds = new List<Id>();    for (BMCServiceDesk__Incident__c childObj : Trigger.new) {        listIds.add(childObj.Cases__c);        System.debug('@@@@@@@@@@@@'+listIds);   }    parentCases = new Map<Id, Case>([SELECT id,Helpdesk_Case_Status__c,Helpdesk_Case_Resolution__c,(SELECT ID,Name, BMCServiceDesk__FKStatus__c,Owner.Name,BMCServiceDesk__Status_ID__c,BMCServiceDesk__incidentResolution__c FROM Incidents__r) FROM Case WHERE ID IN :listIds]);       System.debug('@@@@@@@@@@@@'+parentCases );    for(BMCServiceDesk__Incident__c inc: Trigger.new){        Case myParentCse = parentCases .get(inc.Cases__c);        myParentCse.Helpdesk_Case_Resolution__c = inc.BMCServiceDesk__incidentResolution__c;        myParentCse.Helpdesk_Case_Status__c = inc.BMCServiceDesk__Status_ID__c;        myParentCse.Incident_Owner__c = inc.Owner.Name;         System.debug('@@@@@@@@@@@@'+myParentCse.Incident_Owner__c);        myParentCse.Incident_Number__c = inc.Name;         System.debug('@@@@@@@@@@@@'+myParentCse.Helpdesk_Case_Resolution__c);   }      update parentCases.values();      System.debug('@@@@@@@@@@@@'+parentCases.values()); }


pushing rigidbody with force to match mouse position

i'm making a game in which the player character, a 2d rigidbody, is controlled by the user's mouse dragging them. i originally made it so that the player character's position was made the same as the mouse's whenever the mouse was clicking, but this allows for the player to drag the character through walls. i decided the best way to get past this is to apply force to the character until it reaches the mouse's position so as to get the player there as fast as possible without going through walls. when the character reaches the mouse's position, i tried to set its velocity in both axes to 0. however, i seem to be stuck as the movement is largely inaccurate. here's my code:  using System.Collections; using System.Collections.Generic; using UnityEngine;  public class Player : MonoBehaviour {     public Rigidbody2D rb2D;     public bool isBeingHeld;     public float force = 1;     Vector3 mousePos;      // Start is called before the first frame update     void Start()     {      }      // Update is called once per frame     void Update()     {         mousePos = Input.mousePosition;         mousePos = Camera.main.ScreenToWorldPoint(mousePos);          if (isBeingHeld == true)         {             if (mousePos.x == this.transform.position.x)             {                 rb2D.velocity = new Vector2(0, rb2D.velocity.y);             }             if (mousePos.y == this.transform.position.y)             {                 rb2D.velocity = new Vector2(rb2D.velocity.x, 0);             }             if (mousePos.x > this.transform.position.x)             {                 rb2D.AddForce(new Vector2(force, 0));             }             if (mousePos.x < this.transform.position.x)             {                  rb2D.AddForce(new Vector2(-force, 0));             }             if (mousePos.y > this.transform.position.y)             {                 rb2D.AddForce(new Vector2(0, force));             }             if (mousePos.y < this.transform.position.y)             {                 rb2D.AddForce(new Vector2(0, -force));             }         }          if (Input.GetMouseButtonUp(0))         {             isBeingHeld = false;         }     }      private void OnMouseOver()     {         if (Input.GetMouseButtonDown(0))         {             mousePos = Input.mousePosition;             mousePos = Camera.main.ScreenToWorldPoint(mousePos);             isBeingHeld = true;         }     } }   thank you!


Where do I get more chocolate bars from?

I've already enchanted all of my gear except for the knights armor and the spoon (which I don't have yet, how do you get the spoon anyways?).  The only places I haven't really discovered yet are: right door of the desert fortress, the big empty room with a chest all the way up some plateau, the spikes room in the castle, hell and the developer. Unless theres a place somewhere hidden, I don't know where to get more chocolate bars.


Sync directories from iMac & MacBook . What is the recommended method?

I like to sync directories from my Imac & MacBook . What is the recommended method?


Multiple Stack Overflow accounts for same email address?

I just registered on Stack Overflow. I found out that I already had an unregistered account associate with the same email. I tried to merge them but failed.    The problems are: when I use my Gmail account login, it goes to new account, but if I reset the password, it goes to the old unregistered one. If it's possible, I still want the reputation from the old account.


Should I create a Facebook app for a business page with my personal account

A plugin we're using on our website requires us to create a Facebook app and get a Facebook App ID so that users can share a Facebook post from our website after entering a competition draw.  I was able to the a Facebook app easily enough by going to:   Everything is working fine but it seems odd that the app is managed under my personal Facebook account.  I checked with the person who created the Facebook page for the business and they did it from their personal account too.  Is there a better way of doing this so that the Facebook app is not under my own personal account? Are there any costs associated with having a Facebook app like this?


How do you deal with configuration files in source control?

Let's say you have a typical web app and with a file configuration.whatever. Every developer working on the project will have one version for their dev boxes, there will be a dev, prod and stage versions. How do you deal with this in source control? Not check in this file at all, check it with different names or do something fancy altogether?


Why does a ball exert force on the ground straight downwards even when the ball is thrown to the ground at an angle?

When a ball hits the ground at an angle, the ground gives the ball a reaction force straight upwards. So, the ball must exert a force straight downwards on the ground? But why? Why doesn't the ball exert a force on the ground at the angle in which the ball hits the ground?


let $p$ is odd prime numbers, and there exsit postive ineteger $a$ such $$p!|a^p+1$$  show that $$p!|(a+1)$$  I think maybe can use $$a^p+1=(a+1)(a^{p-1}-a^{p-2}+\cdots-a+1)$$ then I can't Continue


Compute closed form of $\sum_{k = 1}^{\infty} \frac{k}{3^{k}}$

Compute closed form for: $$f(x)  = \sum_{k = 1}^{\infty} \frac{k}{3^{k}}$$  EDIT: There appears to have been solutions linked to this question as it is seen a s duplicate. One of them is a bit advanced and doesn't really explain the intermediate steps that some of the less mathematically mature may have difficulties piecing together. I feel this one may benefit beginners in Real Analysis more.  This question is in a chapter on power series and uniform convergence.  My Ideas:  When I look at this what comes to mind is that in order to find a closed form solution I'm going to have to attempt to manipulate this expression into a power series from that tools are available to use to compute it.  That being the case I would like to get this into something like: $$\sum_{k = 1}^{\infty}a_{k}x^{k}$$.  I see if I take the integral of both sides I would arrive at something of the form:  $$\int_{0}^{x}f(t) dt  = \int_{0}^{x} \sum_{k = 1}^{\infty} \frac{k}{3^{k}}dt \\ \Rightarrow \ = \sum_{k = 1}^{\infty} \frac{k}{3^{k}}x$$  If I take this integral $k$ times I would be able to get a $x^k$ term eventually. But I don't see anything fruitful coming from that, maybe I would have to play around with it more.  Another thought was examining the $\frac{k}{3^k}$ term I ask myself if there is a time that this ratio would ever be greater than $1$, because if not then I may have my geometric series right in front of me. Attempting to figure when $\frac{k}{3^{k}} > 1$, the only thing I arrived at was: $$\frac{\ln{k}}{k} > \ln{3}$$.  Which isn't very conclusive. So assuming that it is always true that  $\frac{k}{3^{k}} > 1$, the closed from of the solution would be:  $$\frac{3^k}{3^k - k}$$  Feedback on the thought process? Am I heading in the right direction with either idea? or perhaps something else should be tried?


Can't get email updates for Favorite Tags

On the page  there's a list of the questions that match my Watched Tags across all sites. I'd like to get these questions emailed to me instead of having to check the page. I used to be subscribed to some other tags, which worked fine, but I changed my mind and wanted to be subscribed to all my Watched Tags. So I clicked "Subscribe" on the Email Updates section on the right hand side of the page, entered my email address (and checked "every 3 hours") and hit "subscribe".  I didn't get a confirmation email and haven't been receiving any emails. I retried a few times in case I entered my address wrongly, but nothing worked.


When do we have $ \lim_{n\to\infty}\sum_{k=1}^{n^2}\frac{n^{r-1}}{n^r+k^r}0$?

Let $r>0$ and   $$ a_n(r)=\sum_{k=1}^{n^2}\frac{n^{r-1}}{n^r+k^r} $$ When do we have   $$ \lim_{n\to\infty}a_n(r)<+\infty? $$     One can write $$ a_n(r)=\frac1n\cdot\sum_{k=1}^{n^2}\frac{1}{1+\left(\frac{k}{n}\right)^r} $$ which looks simpler but I don't see how it would help. Also I tried to bounded $\{a_n(r)\}$ but I don't see how.   [ADDED:](Thanks to Daniel) It does look like a Riemann sum. I think this is not an integral on a finite integral. Instead it looks like $$\int_0^\infty\frac{1}{1+x^r}dx.$$ But I'm not sure if this the corresponding integral or not.


Does it mean "user"? I attempted to navigate to  usr via  cd however I received No such file or directory error.  I could only find  in Russian the following information:      "/usr (от англ. User System Resources — системные ресурсы   пользователя) — каталог в UNIX-подобных системах, содержащий   динамически компонуемые программы, файлы пользователей и программы,   устанавливаемые вручную. В соответствии с FHS, монтируется на корневую   файловую систему и должен содержать только не изменяющиеся программами   данные (то есть /usr в режиме эксплуатации может быть смонтирован в   режиме «только для чтения» без ущерба для функциональности)[1].      Традиционная система подкаталогов /usr/   Вторичная иерархия для данных   пользователя; содержит большинство пользовательских приложений и   утилит, используемых в многопользовательском режиме. Может быть   смонтирована по сети только для чтения и быть общей для нескольких   машин[2]. /usr/bin/"   However, I don't understand.    Translation of the quote:  /usr ( from English "User System Resources" ) - catalogue/directory in UNIX-like systems, containing dynamically combined programs, user files and manually-installed programs. In accordance with FHS, it is mounted on root filesystem and must contain only data which is not to be modified by programs (that is to say, /usr in operational mode can be mounted as read-only without loss of functionality)  Traditional system of subdirectories /usr/ Secondary hierarchy for user's data; contain most user's applications andutilities, used in multiuser mode. Can be mounted over network only in read-only mode, and can be shared between multiple machines.


non-zero Vector space with new scalar multiplication defined over finite field still vector space?

If $V$ is a vector space (not the zero vector space) over $\mathbb{R}$, and if $F$ is a finite field.  how could I show that it is not possible to define a new scalar multiplication of $F$ on $V$, in a way that $V$ with this scalar multiplication and the usual addition becomes a vector space over $F$?  Thanks in advance.


How to log in to WIndows after disabling all services?

I disabled all services and startup applications and now the computer won't let me log in. It will get me to the initial startup screen, but it won't connect to the Internet. Then when I click or press a key to log in, the password box never appears.   How to go back to normal boot? Shift+Restart or F8 to get into safe mode doesn't work. Restoring to a system restore point resulted in an error. Even Resetting Windows didn't work.


Making Objects in the file or appending/linking them?

I've been learning about the append and linking function to bring in objects from other Blend files to the current one being worked on, but something keeps nagging at the back of my mind:   Aside from having already created the object for another blender file, why would you not just make the object in the current blend file instead of giving it it's own blend file and then appending/linking it?   Would it not be easier to make the object, say a window on a different layer of the blender file you are working in then copy-link it into the scene on a different layer instead of linking it from an external blender file? Is there any advantage in doing it either way or is it just a personal choice?


What is the difference between putting macros in a .sty package file vs. simply \input them from another .tex file?

If \input just  into your new document, then what is the difference between calling a set of commands via \input{filename} (where filename is some .tex document) and creating a package with these commands defined and calling that package via \usepackage?


What differences it will make, if i use "telinit 6" instead of "reboot" command to restart my computer?

I am trying to understand Run Levels in Unix, I found Runlevel 6 is state of reboot. So I tried to switch to run level 6 using the command telinit 6 and it worked same as reboot on my computer. I am using Kali Linux, so sudo is not required.  Is changing/switching runelevels just commands to invoke some process?  When we are booting up or restarting or powering off, are we just changing run levels?


SciFi novel concerning future (this year) and music broadcast from star system

Publication: I would wager a guess at around 1970. Plot Points: It is set in the year 2019 and a program to detect extra-terrestrial life hears music broadcasts from a star system. They go to the planet where the music is being broadcasted from. Unfortunately, only one of the crew members lived to the year 2075 to tell the story of the expedition. Other than that, I don’t remember much... Author: I don’t actually remember who the author is, but I combed through huge lists of Asimov’s, Bradbury’s, and Orwell’s works to find this book, but I could not.


Updated Android phone with Android N Beta, Will factory reset revert the OS version back?

I updated my Android phone with Android N using Android Beta Program, Now if I factory reset my phone, will it revert the OS version back to the old one?


I am not very good with Ubuntu and clueless on how to install Virtualbox. Please help.


I found an old unanswered question on ServerFault.com that I would like to revive because I have the exact same issue.  However, my account is new and I do not yet have enough reputation to post a comment.  So here is my question:  do I post my plea for more information as an answer with the hope that it's flagged as trivial answer and converted to comment, or create a new question and provide a link to the old question?  I just don't want my question to get flagged as duplicate, nor do I want my "answer" to get downvoted due to not actually being an answer.    I did search and found  - which is my plan B. But please be nice, this is my first Stack question.  Just like the guy in the thread I linked, I have been a long time reader of Stacks, just never felt the need to post until now.


Prove that this specific sequence converges

I have to prove that this sequence converges. I have already shown that it is increasing, all thats left is to show it is upper bounded. However, I have no idea where to start.   Thanks in advance


Can't multiply sequence by non-int of type 'float'?

I'm trying to write a calculator for a project in class but keep getting hit with an error:     Traceback (most recent call last):     File "C:\Users\shane\PythonPrograms\louie.py", line 56, in        tax_percent = (price * tax)   TypeError: can't multiply sequence by non-int of type 'float'   My code is below. Can anyone help me debug this?  size_types = {'mini',               'regular',               'large' }  meat_types = {'pork',               'beef',               'chicken' }  def price_pork_meal(size):     if size == 'mini':         return 3.00     if size == 'regurlar':         return 4.00     if size == 'large':         return 6.00     else:         return (input('Please try again:'))     return size  def price_beef_meal(size):     if size == 'mini':         return 4.00     if size == 'regular':         return 7.00     if size == 'large':         return 9.00     else:         return (input('Please try again:'))     return size  def price_chicken_meal(size):     if size == 'mini':         return 3.50     if size == 'regular':         return 6.00     if size == 'large':         return 8.00     else:         return (input('Please try again:'))     return size  def final_price(price, tax_percent):     price = size     total_price = price + tax_percent     return total_price   size = (input('Please enter mini, regular, or large:\n'))  price = size  tax = 0.825  tax_percent = (price * tax)  print(final_price(price, tax_percent))


How to config the default version of maven-site-plugin for all project?

This is continuous question for   for latest maven (3.5.4), if we do not specific maven-site-plugin in project's pom file, then default version like:  [INFO] --- maven-site-plugin:3.3:site (default-site)   Is it possible to configure maven to always use the latest maven-site-plugin like 3.7.1 for all project?   This is different from , as I ask for maven plugin, some of them by default do not need to specify in pom, but general dependency you always need to specify in pom.


What is the physical explanation for energy transport in simple electrical circuits?

Keeping it simple, what is the physics approach to a current in a wire connected to a battery? How does the electric field behave?  I've read somewhere that, contrary to the common conception, electrons don't really flow as water in a hose so, what is really going on there? How is energy transported at the speed of light if electrons don't flow like very fast water?


I have a university issued Mac on which I do not have root access. I noticed a weird problem in the behavior of which and presumably lstat. I want to know if this is Mac thing, or a setting changed by the IT department. Now the problem: I installed TeXLive in user mode (I know this is not typical on Macs, but ...),and adjusted the path. I can run the programs, but which does not find them. This is a problem because TeXLive depends on the determining directory the binaries are in. I can fix the problem by aliasing the names of the binaries to include the full path. But some other utilities (LaTeXML, I think) seem to break. Here is the output from bash that illustrates the problem. Note that 'kpsewhich' runs but fails while kpsewhich, aliased to the full path name works as intended. I also don't understand why kpsewhich seems to look for ./kpsewhich.  $ echo $PATH /Users/rao.3/perl5/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:~/texlive/2020/bin/x86_64-darwin:~/LuaDist/bin $ alias kpsewhich alias kpsewhich='/Users/rao.3/texlive/2020/bin/x86_64-darwin/kpsewhich' $ kpsewhich keyval.sty /Users/rao.3/texlive/2020/texmf-dist/tex/latex/graphics/keyval.sty $ 'kpsewhich' keyval.sty lstat(./kpsewhich) failed: ./kpsewhich: No such file or directory kpathsea: Can't get directory of program name: ./kpsewhich $ which kpsewhich $ which 'kpsewhich' $ which which /usr/bin/which


Unlocking all weapon slots for a lower level character after an existing character beats the game?

I know when you normally unlock weapon slots as answered in , but mine's a little different. I have a few characters that have already beaten the entire game, or almost the entire game (right before the end of the final mission). If I create a new character, is there any way to unlock all his weapon slots without playing through to the point at which he gets all four weapon slots?  I ask this because I have a character that I've done this for, but I'm not positive how. It might have been because I was farming the Warrior and this character finished that mission, but I'm not sure.  edit: Character A has finished the game on Normal and TVHM, and is on the very last mission right before calling the moonshot on UVHM. Character B is a newly created character. I started the game in UVHM with Character A, brought in Character B to call the moonshot, then saved on Character B. I think that's why all the weapon slots are unlocked on Character B, but I'm not positive.


Is there a way to run several consecutive lines in the system command window using python

I have the following line of commands used in sequence from the command window.  cd path 1 && file.bat && cd path 2 && printfNav path3 > Testing.txt  Is it possible to have this done through python?


How to ask about ordinal place of an offspring?

Here is the question: I want to know what is the ordinal place of someone in her family. For example, I'd say:    I'm the second child of my parents.  and afterwards, I'd like to ask something along these lines:  What nth child are you?    (So that I'm expecting something like first, second, third, etc. child as answer). Just wondering how the question should be asked.