Try to search java + relocation offered, first page is totally occupied by amazon postings. I can't see anything else. Please allow to filter out companies by names.


Why it is important to find largest prime numbers?

It always takes a  and money to find the next . Why is it so important to do this work and what is the application those numbers?


Understanding math behind RSA key derivation

I was reading through the key derivation for RSA. Here are the steps per wiki -    Select strong primes $p$ and $q$ such that $pq = n$ $\phi(n)$ = $(p-1)(q-1)$ select $e$ such that $e$ and $\phi(n)$ are coprime. Select $d$ such that $ed mod(\phi(n)) = 1$   I do not understand why the $\phi(n)$ is even needed. Why can't we just skip the step and say -- select $e$ such that $e$ and $n$ are coprime.  Would it not work? Is the math somehow dependent on that? If so what is it?   Also why should $e$ be coprime to $\phi(n)$?  To clarify my main question was about why e needs to be relatively prime to phi(n). Would it not work if its relatively prime to n?  After following poncho's answer -- Lets say I want to pick e relatively prime to n. In his example N = 77. Lets say e = 4 then d = 19. So $edmod(N) = 1$. Of course e is not a prime number here, but the spec does not say e should be prime.  It would appear that the $\phi(n)$ is chosen so that its smaller than N giving an opportunity to find the $e$ and $d$. So why choose $(p-1)(q-1)$? Why can't it be some other operation to make the result smaller than n?  I know I am missing something here and its not clicking. Hope some one explains it.


I'm searching for a data base or webservice, that provides buildings at a level of detail (LOD) of   cuboid (length,width,height) or roof, corners, etc   or better. The area should cover germany.  I've seen very good results at google earth but there seem to be no way to export and use that data.  It'd be nice if the data source is INSPIRE-complient.


Special relativity time dilation - what will the outcome be?

if observer 1 sees observer 2 moving toward  him at near the speed of light, observer 1 will say that his clock runs faster then observer's 2 clock, but observer 2 will see observer 1 toward him at near the speed of light, and observer 2 will say that observer 1 clock moves slower than his.  when they meet and compare clocks, what will the outcome be?


How to push the footer down while the nav bar is open?

I've a responsive navbar, but if i open the nav there will be a drop down menu and i will be hidden under the footer.  So how can i push the footer down, only when the Navbar is open?  I've sticked the footer to the bottom like this:  width: 100%; height: auto; position: absolute; bottom: 0; left: 0;   JSFiddle:


Suppose, for the sake of illustration, that $AF=2$, where $F\mathbb{'s}$ coordinates are $(2,0)$ and $A$ is the point of origin; $E=(0,1)$ and circle $A$ has $R=1.5$  How do I solve the area of the intersection of the circle and rectangle by integration?  If we let $f(x)=1$, then the area of the rectangle is defined by: $$\int_0^Ff(x)dx$$   If we let $g(x)=\sqrt{R^2-x^2}$, then the area of the circle is defined by: $$4\int_0^Rg(x)dx$$ Now my best attempt to find the area is through: $$\int_0^Rg(x)dx-\int_0^{\sqrt{R^2-1}}(g(x)-1)dx$$  The first integral gives me a quarter of the area circle $R$, the second gives me the area of the circle that is outside the rectangle, because the circle and the top line intersects at $x=\sqrt{R^2-1}$  Is my solution correct?


Construct the triangle with given angle bisectors

given three lines $\ell_1,\ell_2, \ell_3 $ which intersect in one point $P$. How can one construct a triangle such that the given lines become its angle bisectors?  So far I tried to find conditions on how the three given lines have to intersect such that the desired triangle exists. There are altogether six rays $\omega_1^1, \omega_1^2; \omega_2^1,\omega_2^2;\omega_3^1,\omega_3^2$ - any line $\ell_j$ determines the two rays $\omega_j^1,\omega_j^2$- emanating from the common point $P$.  Any of the three vertices $V_1,V_2,V_3$ of the desired triangle has to lie on exactly one line, i.e.  $V_j\in \ell_j=\omega_j^1\cup \omega_j^2$. Hence we have either $V_j\in \omega_j^1$ or $V_j\in \omega_j^2$.  Therefore the triangle should exist if and only if it is possible to choose three rays $\tilde{\omega}_1\in \lbrace \omega_1^1, \omega_1^2\rbrace $, $\tilde{\omega}_2\in \lbrace \omega_1^2, \omega_1^2\rbrace$, $\tilde{\omega}_3\in \lbrace \omega_1^3, \omega_1^3\rbrace$ such that any three of the rays $\tilde{\omega_1}, \tilde{\omega_2}, \tilde{\omega_3}$ form an angle less than $\pi$.  But I do not know how to construct the triangle?!   I started to draw a circle around $P$ with any radius. Now I can choose a Point $V_1$ on the ray $\tilde{\omega_1}$ outside the circle. And now I can draw the tangents through $V_1$ to the circle. I think those tangents will meet the other rays at some points $V_2,V_3$ (Why?). Now we can draw the line $V_2,V_3$. But this line needs to be tangent to the circle and I'm not sure about that. Will this construction work, or is it done in a different way?  Best regards


A finite, cancellative semigroup is a group

Let $G$ be a finite, nonempty set with an operation $*$ such that   $G$ is closed under $*$ and $*$ is associative Given $a,b,c \in G$ with $a*b=a*c$, then $b=c$. Given $a,b,c \in G$ with $b*a=c*a$, then $b=c$.   I want to prove that $G$ is a group, but I don't know how to show that there exists an identity $e\in  G$ such that $e*x=x$ and $x*e=x$ $\forall x \in G$. I also don't know how to show that $\forall$ x $\in G$ there exists a $y \in G$ such that $y*x=e$ and $x*y=e$. How do I do this?


Let $G$ be a group of order $pq$, $p>q$  and $p$, $q$ are primes. Then prove that  If $q\mid p-1$ then there exists a non abelian group of order $pq$. Any two non-abelian groups of order $pq$ are isomorphic.   I have proved that if $q\not\mid p-1$ then $G$ is cylic . But how to prove this one I have no idea. Any kind of hint is very much welcome. This problem is in Herstein book, page 75.


Is there any way to find which process was running on a particular time in linux?  I found the disk utilization was 99% and CPU utilization was 100% on two different times yesterday. The issue was resolved automatically, but I need to find which process or user causes the issue.  I used sar -d -f /var/log/sa/sa11 to find disk utilization. Util was 98% from 11:10:01 to 11:40:03. and sar -P ALL -f sa11 to find cpu utilization. user was 99.36% from 8:40 to 9:50.  After that everything was normal without any restart.   I need to know which process(es) causes the utilization so high.


instead of removing low area..........puddles in my concrete patio

Amending my original question... The edge of slab is only a couple feet from Low area and it would pour into  gravel theoretically if not for the low point.   would it make more sense to try to grind down that portion ...?  ORIGINAL QUESTION-- whats best way to even out areas of concrete patio where rain water collects into 2 large puddles and it also sits right up against pool decking  A crack has also formed which I tried to patch with concrete caulking  Please help I have been trying to find the right solution and dont really understand if I should use self leveling or if it needs to be done in thin layers


How do I determine number of strings of length n are palindromes using decimal digits?

I'm struggling with a few of my homework problems so I thought I might ask for some help on them. Here's the question:     I'm assuming it requires $\frac{n}{2}$ to determine a number to factorialize?  I'm stumped with the length n part and not sure what to do. Anything is appreciated. Thanks!


PHP in math operations I have strange issue

why echo (int) ((0.1 + 0.7) * 10); result is 7 ?  I was surprised when get value 7 ? I dont understand why ?


Let $\{x_n\}$ and $\{y_n\}$ be sequences of real numbers which converge to $\ell$ and $m$ respectively. Show that  $$\lim_{n\to \infty} \frac{1}{n}\sum_{k=1}^{n}x_ky_{n+1-k}=\ell m$$  This is a problem I found in a book, it seemed to be routine, but now I can't solve it.  What I tried :     Let us take some $\epsilon>0$. Now after a stage $N$, both $|x_n-\ell|<\epsilon$ and $|y_n-m|<\epsilon$. Now I wanted to break the sum $$\left|\frac{1}{n}\sum_{k=1}^{n}x_ky_{n+1-k}-\ell m\right|$$in two parts, one upto $N$, and other one for $N+1$ to $n$. Now we need this to be arbitrarily small. But here I am lost. I don't know how to proceed anymore. Because when I take $x_i's$ to make up a finite sum, then the $y_j's$ are there too with $j$ very large. I think this is the main idea, but unable to do anything further. Can someone help me? Thanks.


When i run my code i get NoClassDefFoundError 2 packages

Im trying to get an ai chat into a gui sp i can chat with it there instead of just in the console. But when i have the 2 packages and try to run them i get error in my code, but i dont see any problems in the code itself   since i theres no clear error in my code, im not sure what code to post here. so heres a image of line 34-35


Who is responsible for calling the water between England and the United States "the pond?"

I'd like to blame the English of course, but if there is an individual culprit that would also be satisfying. As an example of such an individual culprit, the American, T.S. Kuhn, coined the equally inappropriate "paradigm shift", according to :     Word Origin   C20: coined by T.S. Kuhn (1922–96), US philosopher of science    is a       Jocular reference to "the Atlantic Ocean" [that] dates from 1640s.   Is this the first use of pond in this sense? Was the first use "jocular"?    This question has been said to be a duplicate of , but that question, and the answers, focus on why the phrase "across the pond" was used, rather than on the origin of "the pond" (not "across the pond"). Also, that question, and so the answers, did not focus on the origin of the phrase, even if the answers did dally with the origin. Note that the  tag was added to that question more than a year after most of the responses; the one later response did not treat the origin of the phrase.


Is it possible to search for posts only from a particular Facebook page?

I was just wondering if it's possible to search for specific keywords in a Facebook wall of a certain page.  I found  but it is 3 1/2 years old now so I thought things might have changed.  Can this be done?


if-else statement does not execute in Java

Why my if-else statement doesn't execute when gender == "m" or gender == "f" ?  Scanner input = new Scanner(System.in);       do      {         System.out.print("Please enter 'm' for male and 'f' for female child: ");         String gender = input.next();          System.out.print("The height of the mother in inches: ");         int motherHeight = input.nextInt();          System.out.println("The height of the father in inches: ");         int fatherHeight = input.nextInt();          if(gender == "m")          {             double childHeight = ((motherHeight * 13/12) + fatherHeight) / 2;             System.out.println(childHeight);         }         else if (gender == "f")         {             double childHeight = ((fatherHeight * 13/14) + motherHeight) / 2;             System.out.println(childHeight);         }       }      while(input.hasNext());


How to interrupt/revert the action called from controller.JS to Apex controller

I have developed the lightning aura component for custom import and export feature. I need to include the time lapse since some times it is loading for longer time even though there are few records to update/insert. If i click on another tab and then come to the original tab then the results are quick but if stayed at same page then loading is take much longer time. Any suggestion why it will happen. And also as it is running for longer time i want to introduce cancel button while uploading so that if user don't want to go further then he/she can cancel the upload.How to can achieve it could you please help me. while uploading if user click on cancel then flow should exist and if there are any DML operations committed then those should be reverted back. Component page:  selected the file -> click on upload new items or update existing items then loading will start.  Here once i click on cancel button how to recall the action called by upload buttons? Please suggest.


How to define binary operation on arbitrary set in order to create a group structure.

Is it (and if yes how?) possible to define an an binary operation $*$ for an arbitrary set $M$ such that $(M,*)$ is a group?  If $M$ is finite or countable infinite this is trivial, but is it also possible for any other sets? And if yes how can you construct $*$? If no can you provide a counterexample?


How to keep left & right margins equal on separate pages

This must be a really common problem but I haven't find notes that address it in a satisfying way.   Why does tex create an automatic indention when texts are going cross into the next page?    Screen shot of the code


Cannot move file to trash warning when trying to delete a file in Nautilus

I am trying to delete files in Nautilus and every time I try to delete one it always gives me this message:     Cannot move file to trash, do you want to delete immediately?   Then it gives me several questions. All I want is that when I press Delete in the keyboard, it sends it automatically to the trash can. Not to ask me every time.  The problem relates to NTFS partitions, external drives but also include Linux filesystems.  What are the reasons for nautilus beeing not able to move to trash?


How to add up the total of three different scores in the BGE?

I have 3 properties from three different "throws" in a game in which I want to add up the 3 scores and produce a total.  I have 3 properties holding each score and those work fine. I have a 4th property as a total which I then use "assign" "THROW 1+THROW 2+THROW 3" but the total always comes to -1.  I have everything typed correctly but not sure how to solve this. Using python is not an option with my limited programming skills.


Gaining access to private beta questions through the API

I'm not sure how this site has done it, but  appears to be able to load questions from private beta websites through the V2 API.   to the list of questions on Puzzling.SE. I only found this because one of our private beta questions was indexed, and I was researching an answer. It was the first result (yay!), but on the other hand, it was exposed.  Is this intentional? If so, what is Column80?


Why does Linux need to have both `/dev/cdrom` and `/media/cdrom`?

Inspired by . Why does Linux need both /dev/cdrom and /media/cdrom?  Why not just access files on the cdrom through /dev/cdrom?


My code currently filling up a HashSet with an object of Class Coin.  private HashSet<Coin> walletcoin; public Wallet(int WalletSize) {     walletcoin = new HashSet<Coin>();     for(int i = 0; i < WalletSize; i++){         walletcoin.add(new Coin());     } }   This seems to be working fine.  Class Coin:  public class Coin {     public Coin(){     }     }   The second method is currently trying to remove a Coin object from the HashSet.  public int removeCoin() {     Coin toremove = new Coin();        if(walletcoin.contains(toremove))        {                if(walletcoin.remove(toremove))            {                return 1;            }         }        return 7; }   I have created a new object of Class coin, to try to search against the HashSet. Currently after testing the program skips straight to the final return statement and does not go through the if statements.  How would I be able to modify my code in order for the if statements to correctly work, and remove one of the type Coin elements from the HashSet.


Show $\otimes$ and $*$ are the same operation on $\pi_1(G, x_0)$ where $(f\otimes g)(s) = f(s) \cdot g(s)$ where $\cdot$ is the group operation on the topological group $G. $  This is a question from the Munkres text which is really frustrating me. It's number 7 on page 335 for anyone with the book. I've already proved the first two parts.  There is a hint and that is to compute $(f*$ $e_x)$ $\otimes$ $(e_x$ $*g)$.   When I do this it is pretty easy to see that this is the same as $f \otimes g$ but am at a loss as to how this is the same as $f*g$.


Prevent SQL Injection by input type text

I need some help and very very fast because my database was injected. I need at least a script that won't allow users to use :[Spaces, Sybols like ('*','=','/','.') and a list of words ('SELECT','FROM','WHERE')] in the text fields of my register form.  I heared something about mysql_real_escape_string(). What is this command doing? And don't post links to PHP: mysql_real_escape_string() Manual because I already read that.


Find the sum of he series to infinity : $\tan^{-1} (\frac 12) + \tan^{-1} (\frac 18) + \tan^{-1} (\frac{1}{18})...$

The series is $$\tan^{-1} (\frac{1}{(2)(1^2)}) + \tan^{-1} (\frac{1}{(2)(2^2)})+ \tan^{-1} (\frac{1}{(2)(3^2)}).....$$ I know the series will telescope, but I don’t know how it would work. These problems usually reduce to $\tan^{-1} a- \tan^{-1} b$, but that’s not happening here


c++ : TCP Server "bind" function failed (errno 98) if I do not wait enough time between two consecutive app launch

discovering TCP socket, I made a very simple test based on my understanding of the subject and some tuto found on the net  Server :  void Server(void) {   int localSocket;   int distantSocket;    sockaddr_in serverInfo;   sockaddr_in clientInfo;    int sizeOfSocketInfo = sizeof(struct sockaddr_in);    /* Open Socket */   std::cout << "open socket" << std::endl;    localSocket = socket(AF_INET, SOCK_STREAM, 0);   if (localSocket == -1)   {     std::cout << "open failed, error - " << (int)errno << std::endl;     exit(errno);   }    /* Configure server */   serverInfo.sin_addr.s_addr = INADDR_ANY;   serverInfo.sin_family = AF_INET;   serverInfo.sin_port = htons(61001);    /* Bind Socket */   std::cout << "bind socket" << std::endl;    if (bind (localSocket, (sockaddr *) &serverInfo, sizeof(serverInfo)) == -1)   {     std::cout << "bind failed, error - " << (int)errno << std::endl;     exit(errno);   }    /* Wait for client */   std::cout << "Wait for client ..." << std::endl;    listen(localSocket, 1);   distantSocket = accept(localSocket, (sockaddr *)&clientInfo, (socklen_t*)&sizeOfSocketInfo);    std::cout << "client connected  - " << inet_ntoa(clientInfo.sin_addr) << std::endl;    /* Close Socket */   close (localSocket);   close (distantSocket);    std::cout << "socket closed" << std::endl; }   and client :   void Client(void) {   int localSocket;   sockaddr_in clientInfo;    /* Open Socket */   std::cout << "open socket" << std::endl;    localSocket = socket(AF_INET, SOCK_STREAM, 0);   if (localSocket == -1)   {     std::cout << "open failed, error - " << (int)errno << std::endl;     exit(errno);   }    clientInfo.sin_family = AF_INET;   clientInfo.sin_port = htons(61001);   clientInfo.sin_addr.s_addr = inet_addr("127.0.0.1");    /* Open Socket */   std::cout << "connect to server" << std::endl;   if (connect(localSocket, (sockaddr*)&clientInfo, sizeof(clientInfo)) < (int)0)   {     std::cout << "connect failed, error - " << (int)errno << std::endl;     exit(errno);   }    std::cout << "connected !" << std::endl;    close(localSocket); }   When I launch the server in one terminal and the client in another one, it seems to be ok :  server side :   > ./tcpTest -s open socket bind socket Wait for client ... client connected  - 127.0.0.1 socket closed >    and client side :   > ./tcpTest -c open socket connect to server connected ! >   But, if, just after this first try, I launch the server again ...  > ./tcpTest -s open socket bind socket bind failed, error - 98 >   And I have to wait a "certain time", I don't know exactly how long, one minute maybe, to have the server working again.  I can't figure out what's happening, looking to open socket with sockstat does not show anything strange (I only see mozilla socket).  I found this guy having the same problem but in Ruby    If this is really the same problem, how can I apply the same solution in C++ ? Or do you have any idea ?  Thank you


I am interested in getting into the Star Wars Expanded Universe, and was wondering what would be the best place to start.


How to stop an automatic redirect from “http://” to “https://” in Chrome

I had something set up wacky in our DNS setup which is now resolved. The remaining problem is that chrome has cached the incorrect setup. Specifically, when using Chrome http://example.com is now redirecting to https://example.com (naked domain), which is not valid/supported.  http://example.com SHOULD redirect to http://www.example.com and then force https://www.example.com. But on a handful of browsers (including mine) this doesn't happen because of some funky Chrome caching. I tried going to “Privacy -> Clear Cache” but it had no effect.


Here $\triangle ABC$ is a isosceles triangle with $AC=BC,\angle C=20^\circ$, $\angle ABM=60^\circ$ and   $\angle BAN=50^\circ$. What is the value of $\angle BMN$? please help me with this problem.


Can I add several additional variables to my principal component regression?

I did a principal component analysis, which resulted in 7 components that I am now using for a principal component regression on my independent variable.  However, I want to add 2 control variables, but these are not component scores, but "normal" variables (on a Likert scale, the same sort of variables my independent variables were).  Is that okay to do or do I have to make these into components as well? I have done the regression both with those two as variables and combined in a component and the results are practically the same.


How do I sort and match in columns with similar data in Notepad++?

I have data in separate columns which I wish to match up. An example:  UL Application: Outdoor Volts: 120-277  Watts: 14    UL Application: Post    Volts: 120-277  Watts: 14    UL Application: Outdoor Volts: 120-277  Watts: 24    UL Application: Outdoor Volts: 120-277  Watts: 24     Photocell: No Photocell Safety Listing: cETLus - Wet    Volts: 120-277  Watts: 11 Photocell: No Photocell Safety Listing: cETLus - Wet    Volts: 120-277  Watts: 20 Photocell: No Photocell Safety Listing: cETLus - Wet    Volts: 120-277  Watts: 38 Photocell: No Photocell Safety Listing: cETLus - Wet    Volts: 120-277  Watts: 32 Photocell: No Photocell Safety Listing: cETLus - Wet    Volts: 120-277  Watts: 20 Safety Listing: cETLus - Wet    UL Application: Outdoor Watts: 20    Photocell: No Photocell Safety Listing: cETLus - Wet    Volts: 120-277  Watts: 30 Safety Listing: cETLus - Wet    UL Application: Outdoor Volts: 120  Watts: 30 UL Application: Outdoor Volts: 120-277  Watts: 14    UL Application: Outdoor Volts: 120-277  Watts: 14    UL Application: Outdoor Volts: 120-277  Watts: 24    UL Application: Outdoor Volts: 120-277  Watts: 24      I want to have all the cells with "Watts:" in their value line up in the same column, all matching "Volts:" align etc.    Is there a way to do this within Notepad++?


Reputation does not match in a beta site

In the new Software Recommendations beta site my reputation is 101, but in the Stack Exchange SiteSwitcher it is shown as only 1.  This image explains everything:


getting an error in IE8 when dynamically creating style element and appending to it

The code below throws the error Error: Unexpected call to method or property access when I create a style elemnt and attempt to append the code to it:  //This is OK var styleElement = document.createElement("style");  //This is OK styleElement.type = "text/css";  //THIS THROWS THE ERROR styleElement.appendChild(document.createTextNode("a { color: red; }"));   What am I doing wrong?


Timeline for overlapping (multi-year) events

I'd like to generate a timeline similar to the one shown below:    [original at:   How can I go about doing that? thanks!  Cheers, M.


How do I increase the volume of file system root

I'm new to Ubuntu and I've installed it (Ubuntu 16.04.6) on a partition of my 128GB SSD so that I have a dual boot operating system (windows 10 and Ubuntu). However I keep getting a warning message saying 'The volume "Filesystem root" has only 82 MB disk space remaining' and I don't know how to expand it. I tried expanding the partition ubuntu is installed on while in windows but it wouldn't let me add any unassigned storage onto the partition containing Ubuntu.  I was wondering increasing the partition size is possible (or if that is even the problem) or if I'm better off creating a new partition in my 1tb HDD and installing it there instead since I can probably only add a few more gb to the SSD ubuntu partition at most.  john@johnubuntu:~$ df -h   Filesystem      Size  Used Avail Use% Mounted on   udev            7.8G     0  7.8G   0% /dev   tmpfs           1.6G  9.5M  1.6G   1% /run   /dev/sda7       8.8G  8.3G   60M 100% /   tmpfs           7.8G  205M  7.6G   3% /dev/shm   tmpfs           5.0M  4.0K  5.0M   1% /run/lock   tmpfs           7.8G     0  7.8G   0% /sys/fs/cgroup   /dev/sda1       496M   69M  428M  14% /boot/efi   tmpfs           1.6G   72K  1.6G   1% /run/user/1000   Any help would be very much appreciated.


Let $T:H \to H$ be a bounded linear transformation between Hilbert spaces. Let $T^*$ be the adjoint of T. Show that $\|T\|=\|T^*\|$.  I know that $\langle Tx,y\rangle=\langle x,T^*y\rangle$, but I don't know how to use it to prove $\|T\|=\|T^*\|$.


click event does not works with copied HTML

Click event does not  works with copied HTML?
//the given ul

 //copied ul


Formula for: If $X$ is a set of $t$ elements,the number of ordered, $k$-element selections from $X$, limitless repetition allowed is

So I understand that if it said the number of underordered then it would have been  $\binom{k+t-1}{t-1}$ or $\binom{k+t-1}{k}$ but the ordered part is throwing me off so I don't know what to write as this formula.


Omission of the indefinite article to eliminate ambiguity

love between husband and wife   What is the reason that there is no article (e.g. "love between a husband and a wife") in the above? Has some kind of a rule been identified grammatically when it comes to such a case? If I were to guess I think it's because the indefinite article 'a', the purpose of that, is taking a generic sample (or 'instance') from a 'class' (the class of husbands), but in the above sentence you want to refer to the class itself... the husband class and the wife class... and not an 'instance' of them, because it just is more to the point. Do you think this is a fair reasoning? Also, a thought came to me that with the use of the indefinite article, you get a generic husband and a generic wife, which, may not necessarily love each other (for they are not a specific pair of a specific husband and a specific wife who in fact love each other).


Python: Appending an element to an element of a list of lists

Could somebody please explain the following behaviour?  X=2*[[]] print X X[0].append(1) print X   yields  [[], []] [[1], [1]]   I would expect the last list to be [[1], []]. Indeed, the following  X=[[],[]] print X X[0].append(1) print X   yields  [[], []] [[1], []]   Why this difference?


Why Do Rails Tests Run as www.example.com

My named routes are being calculated as www.example.com/<route>.  Why is the www.example.com domain being used? This breaks selenium tests where a browser is opened because the browser is attempting to access www.example.com/sports, which obviously doesn't exist.  If I used the paths instead of url (sports_path instead of sports_url), things work fine.  It's only my named url routes that is throwing in the www.example.com domain.


I need to get a nice picture about how electron moves around nucleus? I find concept of probability and orbitals quite difficult to understand?


What does the double slash mean in `${f// /_}`?

I'm learning Bash, and I want to replace space characters with other "non blank" characters. I'm using a for loop:  for f in *\ *; do mv "$f" "${f// /_}"; done   My question is, why are the double slash and the space in ${f// /_}? What does ${f// /_} do?


Transit visa to the UK en route to the USA

I have booked a ticket with British airways as follows.   April 28, 2018 Hyderabad to London Heathrow. May 2, 2018 London Heathrow to Boston.   Do I need a transit visa to get into London? If yes, what is the procedure and what documents are required? Kindly advise. I have a valid US visa and a valid passport.


Are the rings $k[[t^3,t^4,t^5]]$ and $k[[t^4,t^5,t^6]]$ Gorenstein? (Matsumura, Exercise 18.8)

Here is question 18.8 of Matsumura's Commutative Ring Theory. It asks whether the rings   $k[[t^3,t^4,t^5]]$, $k[[t^4,t^5,t^6]]$   are Gorenstein. I got that 1) is not Gorenstein, but 2) is Gorenstein (by computing the socle). Just wanted to check if I am correct. I don't need the answer necessarily, a yes or a no will suffice. Thanks.


Extremals of functional $J = \int_{a}^{b} F(x, y, y^{'})$

Consider a functional   $$J = \int_{a}^{b} F(x, y, y^{'}),$$ where $F(x, y, y^{'}) = \frac{1 + y^{2}}{(y^{'})^2}$ for admissible function $y(x).$ Which of the following are extremals for $J$?         $y(x) = A \sin x $         $y(x) = A\sinh(x) + B\cosh(x) $   $y(x) = A\sinh(Ax + B) $   $y(x) = A\sin(x) + B\cos(x) $         What I have done is to consider Euler Poisson condition.  $$F_y-\frac{d}{dx}F_{y '}=0$$  Here $$F_y=\frac{2y}{(y')^2}$$  $$F_{y'}=-\frac{2(1+y^2)}{(y')^3}$$  $$\frac{d}{dx}F_{y'}=-\frac{d}{dx}\large(\frac{2(1+y^2)}{(y')^3})=-\frac{2y(y')^3+3(1+y^2)y''}{(y')^5}$$  So,  $$F_y-\frac{d}{dx}F_{y '}=0$$ implies   $$ \frac{2y}{(y')^2}-\frac{2y(y')^3+3(1+y^2)y''}{(y')^5}=0$$  i.e., $$2y(y')^3-2y(y')^3-3(1+y^2)y''=0$$  i.e., $$(1+y^2)y''=0$$  i.e., $$y''=0$$  This tells that no option is correct..  I am confused...  Could any one kindly take some pain in clearing this issue.  Thank You.


Given $f(x,y)$, a function that has continuous partial derivatives in every point. such that $\nabla f(0,-18)=-2i+3j$ We define a new function $g(x,y)=f(xy+x^2,xy-y^2)$ calculate $\nabla  g(3,-3)$  How I tried to solve this? I need to find: $$\nabla g(3,-3) = g_x'(3,-3)i+g_y'(3,-3)j=f(xy+x^2,xy-y^2)_x'(3,-3)i+f(xy+x^2,xy-y^2)_y'(3,-3)j$$ and I got stuck here; I don't have f to calculate the partial directive for it...


I'm supposed to show the complement property of DES ($c=DES(p,k) => \bar c = DES(\bar p, \bar k)$).  My idea was to just start the algorithm with $\bar p$ and see what happens (ignoring the initial permutation for now). I looked at it step by step and got the the point where $R1 = \bar L1 \oplus f(\bar k1, \bar R0)$. So I figured I had to show that $f(\bar k1, \bar R0) = \bar f(k1,R0)$. Is that even right so far? Because I got stuck at the point where the S-Boxes are used. Why would $S(\bar x) = \bar S(x)$?  Somewhere else I read something about a formal prove using induction, but I don't know how I would do that either...


How to install latest OpenJdk on Ubuntu?

I know that latest official openJDK is java version "1.7.0_25". But there is java version "1.7.0_40" in development. Does anyone know how to install openJDK "1.7.0_40" on an Ubuntu machine?


I have a java assignment that is asking for a code that tells the user to enter a point (row and column or x and y) and the program outputs all possible moves for the chess' knight.  package datastructureass1; import java.util.Scanner;  public class DataStructureAss1 {      public static void main(String[] args) {        Scanner cin = new Scanner (System.in);          int knight[][]= new int [7][7];                       System.out.println("Please enter the knight's position starting with rows followed by columns");                        int i=cin.nextInt();                              int j=cin.nextInt();                          i=i+2;                         j=j+1;                         if (i<=8&&j<=8)                             System.out.println( "{"+knight[i]+","+knight[j]+"}");                          i= i+2;                         j=j-1;                         if (i<=8&&j<=8);                             System.out.println( "{"+knight[i]+","+knight[j]+"}");                          i= i-2;                         j=j+1;                         if (i<=8&&j<=8);                             System.out.println( "{"+knight[i]+","+knight[j]+"}");                         i= i-2;                         j=j-1;                         if (i<=8&&j<=8);                             System.out.println( "{"+knight[i]+","+knight[j]+"}");                             i= i+1;                         j=j+2;                         if (i<=8&&j<=8);                             System.out.println( "{"+knight[i]+","+knight[j]+"}");                         i= i+1;                         j=j-2;                         if (i<=8&&j<=8);                             System.out.println( "{"+knight[i]+","+knight[j]+"}");                         i= i-1;                         j=j+2;                         if (i<=8&&j<=8);                             System.out.println( "{"+knight[i]+","+knight[j]+"}");                             i= i-1;                         j=j-2;                         if (i<=8&&j<=8);                             System.out.println( "{"+knight[i]+","+knight[j]+"}");      }                   }   when i run this in netbeans it gives me this kind of output:  {[I@6ac1abcf,[I@6ac1abcf}  {[I@50f6d9ca,[I@7e54864c}  {[I@6ac1abcf,[I@6ac1abcf}  {[I@5f3d285f,[I@7e54864c}  {[I@7e54864c,[I@2825a5d2}  {[I@6ac1abcf,[I@7e54864c}  {[I@7e54864c,[I@2825a5d2}   it doesnt make sense and i dont know what i did wrong in my code!


According to ubuntu-drivers devices I have this:  == /sys/devices/pci0000:00/0000:00:0c.0/0000:02:00.0 == modalias : pci:v000010DEd00000647sv0000106Bsd000000BCbc03sc00i00 vendor   : NVIDIA Corporation model    : G96M [GeForce 9600M GT] driver   : nvidia-340 - distro non-free recommended driver   : xserver-xorg-video-nouveau - distro free builtin   When trying to install it (sudo ubuntu-drivers autoinstall), though, I get this:  The following packages have unmet dependencies:  nvidia-340 : Depends: lib32gcc1 but it is not going to be installed E: Unable to correct problems, you have held broken packages.   I'm on Xubuntu 19.04, on an old MacBook Pro from 2009.  How to get around this problem? Can it be done? Thx for any hints.


Map folder as drive permanently in Windows

Lets say I need to map folder C:/D as drive D:  One can use SUBST command to map folder as drive in Windows.   SUBST d: C:/D   I am absolutely happy how SUBST does the work. So I set this command as a startup task using the task manager.  A problem here is that if I have a flash in a USB port while booting Windows, the flash is got mapped as D: and SUBST fails.   The question is how to make C:/D to be D: permanently. So other drives (especially flash drives) don't break this during startup.   P.S. I know I could set D: to be R: which is unlikely to conflict with other drives. But I would greatly appreciate another answer.


light switch conversion 3 gang to 1 gang

I have a three gang box, dimmable, switch, switch.  I want to use a wifi capable switch, but it comes with all three switches in a single gang switch.  How do you use the existing 3 gang box with only one gang switch now?


Why won't the End Portal I built in creative work?

I'm making an End Portal in creative mode and it won't work. I have a Minecraft combat handbook and I made a portal just like it says to do it.  Do you have to be at a stronghold? I tried lava first and eyes after, but I can't get it to work.  When I point the eyes in the right direction it does not work. The portal cannot be activated, and I don't know what I'm doing wrong.


Why 0.692 is lowest number you can get if you raise another number to itself?

So my question is, when I tried to create chart of function $\displaystyle f( x) =x^{x}$ it looks like on following image:  On $\displaystyle x$ interval $\displaystyle \langle 1,\infty )$ it makes sense to me as $1^1=1$ and $2^2=4$ and so on. Also when $x=0$ I remember from school, that any number raised to 0 equals 1. What I do not understand, is the part between $x=0$ and $x=1$, specifically, what is explanation that $0.692$ is lowest possible number, that you can get if you raise any number to itself? Does it have something common with that fact, that $0.368=\frac1 e$?


How to add "create a new python file" to the registry

I have Python 3.2 on a windows 7 operating system. The other day I thought that it would be convenient to add a link to create a new .py file in the right hand click "new" menu. I had worked with the registry before and looked up how to add an item to the "new" menu, but when I got to the registry under HKEY_CLASSES_ROOT the .py extension key was not there. I only know how to add something to the "new" menu using the extension key. I searched the web, but could not come up with any other ways. Python works perfectly fine, and I don't want to mess anything up by adding the extension key. So here are my questions:  Will I mess up python or something else by adding a .py key?( I know it is dangerous to work with the registry, that is why I am looking for a safe solution) If not how can I go about doing this?  OR  Is there a different way to add "create a new python file" to the "new" menu? If so how can I do it?  OR  If the only way is very complicated should I forget about it?  Thank you in advance.  P.S I originally posted on Stack Overflow that they told me to move it over here.


Get the original location where the program is called

Is there any way to know the directory where the program is originally spawned in C? I want my program to know where it is located in the computer. I already tried using _getcwd() in direct.h. I also tried getcwd() using unistd.h. But here's the problem. If I added a PATH to my program's directory, the functions _getcwd() and getcwd() path will return the path where I called the program. So if I ran the program in dekstop, it will return the path of the desktop instead. I already tried using  method but it doesn't fix the problem. It returns the value of the calling path. I would like to know what function to use to know the path of the program and not the path that the program is called. What function should I use?


Script to Notify me when something happens on a shared directory

The situation is:  I have a shared directories from many other machines where other users work on.  I need to be notified whenever a user create, modify or delete a directory or file from his local directory which I share using smb...  It looks like the folder actions in the MAC systems..  Is there a software that do that?!  If there is no such application, any help in writing a script for that is appreciated..  Thanks in advanced...


I want to prove the following identity for real sequences $\left(x_k\right)^n_{k=1}$ and $\left(y_k\right)^n_{k=1}$ by Induction. $$\left(\sum\limits_{k=1}^{n}x^2_k\right)\left(\sum\limits_{k=1}^{n}y^2_k\right)$$ $$=\left(\sum\limits_{k=1}^{n}x_k y_k\right)^2 +\tfrac{1}{2}\sum\limits_{k=1}^{n}\sum\limits_{l=1}^{n}\left(x_k y_l - x_l y_k\right)^2$$ I have started with n=1 and I know that the hypothesis is now that from n follows n+1: $\left(\sum\limits_{k=1}^{n+1}x^2_k\right)\left(\sum\limits_{k=1}^{n+1}y^2_k\right)$ $$=\left(\sum\limits_{k=1}^{n+1}x_k y_k\right)^2 +\tfrac{1}{2}\sum\limits_{k=1}^{n+1}\sum\limits_{l=1}^{n+1}\left(x_k y_l - x_l y_k\right)^2$$ But how do I get from this the left side to the right side now? I have tried to seperate them and I exchanged one part with the hypothesis. I ended up with: $\left(\sum\limits_{k=1}^{n}x_k y_k\right)^2 +\tfrac{1}{2}\sum\limits_{k=1}^{n}\sum\limits_{l=1}^{n}\left(x_k y_l - x_l y_k\right)^2 +y^2_{n+1}\left(\sum\limits_{k=1}^{n+1}x^2_k\right)+x^2_{n+1}\left(\sum\limits_{k=1}^{n+1}y^2_k\right)$ Alright, this question can be deleted as I have already found it on Stackexchange:


2GB is the recommended size of an usb stick for a live image. On my 4GB stick there is space to add some other packages which I frequently use (e.g. programs to make backups).  Is it possible to easily add such packages to the stick such that they are available on my live system?  -->yes  Is it mandatory to use the persistent method for this purpose?  Is it possible to this such that those added packages on the stick will all automatically be installed when I install from this augmented live image stick?  What are the necessary steps for these tasks? -->see .  Edits: I already created an usb stick from the file xubuntu-18.04.1-desktop-amd64.iso using usb-creator-gtk. There are 695 objects in 1.4GB on this 4GB stick, so there should be plenty of free space.   Exploring this stick with GParted shows strange things:    sdb1 with 4kB, then 5,67MB unassigned, then sdb2 with 2,28 MB, the rest is unassigned.   I don't believe that! I can boot from this stick and try out Xubuntu 18.04 but I have seen that some packages which I always need are missing on the stick and I would like to add them.  From the comments to this post I learned the keyword persitent and in the German Wiki  I found an explanation for it (however this article is old and an archieved one, apparently from Jan. 2014, so it might be outdated for current versions of Ubuntu): On such an installation there is a second partition which is marked as something special to hold all modified settings of the live system including the files added to it. According to the cited article, this second partition is created this way: sudo mkfs.ext2 -b 4096 -L casper-rw /dev/sdXY  where XY has to be modified such that it specifies the usb stick to be used. But before this step, some other steps have to be done as described in that article.  In the comments there is a reference to mkusb. Looking at  I also found a reference to persistent usb drives.


I've got a text file full of records where each field in each record is a fixed width.  My first approach would be to parse each record simply using string.Substring().  Is there a better way?   For example, the format could be described as:  <Field1(8)><Field2(16)><Field3(12)>   And an example file with two records could look like:  SomeData0000000000123456SomeMoreData Data2   0000000000555555MoreData       I just want to make sure I'm not overlooking a more elegant way than Substring().    Update:  I ultimately went with a regex like Killersponge suggested:  private readonly Regex reLot = new Regex(REGEX_LOT, RegexOptions.Compiled); const string REGEX_LOT = "^(?<Field1>.{6})" +                         "(?<Field2>.{16})" +                         "(?<Field3>.{12})";   I then use the following to access the fields:  Match match = reLot.Match(record); string field1 = match.Groups["Field1"].Value;


Linear mixed effect model - Single Trials vs Aggregation

I have a repeated measures design with two factors (A,B).  For each subject, variable C is measured 7 to 10 times in each combination of A and B.  What I usually did was do first calculate the mean across for each combination of A and B for each participants and calculated my model with:   lmer(C~A+B+(1|Subject) # I assume A and B to not interact with each other    However, one reviewer asked me to use individual trials instead of the mean for each subject and combination of A and B.  But I don't know how to create such a model. Is it the same as the one written above but without calculating the mean first? Or do I have to specify the trials as some kind of random factor?  I do not assume that there is a trend over time in my trials for each combination of A and B. So at best their variation (I am not sure if the assumption can be made, that they are normally distributed, but might be the case) should somehow be included for each subject and each combination of A and B.


Compute $\lim\limits_{x \to \infty} \frac{\ln (x!)}{x \ln (x)}$

I was just playing with logarithms and factorials, and then realized that $f(x) = \frac{\ln (x!)}{\ln(x)}$ is slower than $f(x) = x$. From there I got $\frac{\ln x!}{(x \ln (x))}$. In most calculators, I can't find the limit, and when I put a ridiculously large number it doesn't go below 0.6. So is the limit 0?


Using a dictionary to find unique values from one field, populate second field with consecutive integers

I have an attribute table with three fields: Id, Name, and Id_2 and 18,701 records. I would like to populate Id_2 with consecutive integers for each unique value in the Name field. Prior to running the script, Id_2 is empty. Below is an example of what I would like the final attribute table to look like.     Below is the python script that I have developed. Note that I have built a dictionary using the Name field as the keys and the Id field as the values. I don't need to use the values, however, to accomplish this task, just the key. My code produces consecutive integers, however, the sequence doesn't reset with each unique value in the Name field. Rather, my code populates Id_2 with consecutive integers for the entire table, through record 18,701 (Not what I want!).  # import required python libraries or modules import arcpy import traceback  # settings arcpy.env.workspace = r'D:/test' arcpy.env.overwriteOutput = True  # variables fc = r'D:/test/colors.shp' fields = ['Id', 'Name', 'Id_2'] for f in fields:   print f, f in [field.name for field in arcpy.ListFields(fc)]  # build dictionary rnDict = {} cursor = arcpy.da.SearchCursor(fc, fields) try:     for row in cursor:         id = row[0]         rn = row[1]         rnDict.setdefault(rn, []).append(id)     print 'dictionary successfully built' except:     print 'An error occurred - part 2'     traceback.print_exc() del cursor  # update Id_2 field with sequential integers startNumber = 1 cursor = arcpy.da.UpdateCursor(fc, fields)  # type: object try:     for row in cursor2:         name = row[1]         if name in rnDict:             row[2] = startNumber             startNumber = startNumber + 1             cursor2.updateRow(row)     print 'completed consecutive numbering' except:     print 'An error occurred during calculating field'     traceback.print_exc() del cursor # del rnDict


What does the ending of anime 'Air' mean?

I had recently watched Air and I couldn't understand what did the little girl and boy mean to show? I searched about it but couldn't find any answer. What are winged beings and why did people kept them in prison? What do the little boy and girl mean?


Points and polylines representation of coordinates in QGIS?

I am working on the "Jakarta Bay", Indonesia. I have a shapefile for the Indonesian coastline and I clipped my region of interest using an appropriate polygon. I also have points that are located within the bay.  When I want to represent both layers together, I realize it is not possible because they have different coordinates format (see images). I don't understand it as I chose manually to set the SCR to EPSG:4326 (OTF). The project SCR is the same.  If I make a zoom to layer I can see each layers individually, but it looks like they are not in the same location.  Looking to the coordinates show different results (see images).      I would like to have coordinates as for the points for both layers (East, North) because I can show them in the OpenLayers plugin.  I have the feeling my scale is a bit strange for the coastline layer...


I just want to know whether till is exclusive or inclusive, like if someone says count from 1 till 5, should I say 1,2,3,4,5 or 1,23,4


Should I purchase a whole life insurance policy? (I am close to retirement)

I am 65 and my wife is 59, we are planning to work until I am 70-72, and I plan to withdraw social security at 70. We have retirement savings of roughly $2,000,000 of which $1,600,000 is in mutual funds (mostly index funds) and $400,000 in TIAA guaranteed. We have also $400,000 of mutual funds in non retirement accounts and $650,000 in cash. Our current annual gross income is roughly $350,000-380,000. I have a term life policy of $750,000 and my wife has a term life policy of $250,000. We have a rental property that generates a net profit of $17000 per year. We have a total mortgage of $800,000 (split almost evenly) on our home and rental property at rates of %3.25 and $3.75. The $650,000 in cash is kept to invest if opportunities come (another rental property, or a low in the market).  Recently I have been approached by a TIAA representative that urges me to use my cash to purchase a "new" product that they offer. This is actually a whole life insurance that we pay $400,000 at the beginning and add $75,000 each year. The interest is %1.7 and the payoff upon death of "both of us" will be in excess of $1,000,000 during the first year and will increase to over $2,000,000. He says that we can withdraw our money at any time and the payoff will be changed accordingly, so our cash will be quite liquid with an interest of %1.7. Another benefit, according to him, is that the payoffs are tax free. The downside is that if we withdraw during the first year, the insurance will be cancelled. I was wondering if this is a good offer or not? It is advisable to go with this or put the cash in a balanced fund (I am thinking of Vanguard Wellington), or maybe use the cash to payoff my mortgages (although the rates on mortgages is really low).


What is meant by the word 'program' in the C# Language Specification Version 5 while introducing keyword 'internal'?

I am reading .   In Page 14, Section 1.6.2 Accesibility, for "internal" access modifier it says "Access limited to this program".  What is a surprise for me is that we can read this as "it is possible to access some stuff in a program from another program".  How is that possible? Can you give an example where one program accesses part of the other program? E.g. an access to another program that we can prevent using the access modifier "internal".


Solving $x_1 + x_2 + x_3 = 11$ given bounds

How many solutions does $$x_1 + x_2 + x_3 = 11$$ have, given that $x_1, x_2,$ and $x_3$ are nonnegative integers with $x_1 ≤ 3, x_2 ≤ 4,$ and $x_3 ≤ 6$?  I wasn't quite sure how to deal with the bounds given


Xmodmap key mappings reverting periodically

Possible duplicate of this , but since there is no life in there and the "answer field" is just for answers, I have to create a new question. Six years later on Ubuntu 18.04.2 LTS I have the same problem as in the above link. Key mappings revert periodically. It doesn't only happen when my computer goes to sleep. I have an ASUS Zen laptop. Has anyone solved the problem yet?


How do you create a dropdownlist from an enum in ASP.NET MVC?

I'm trying to use the Html.DropDownList extension method but can't figure out how to use it with an enumeration.  Let's say I have an enumeration like this:  public enum ItemTypes {     Movie = 1,     Game = 2,     Book = 3 }   How do I go about creating a dropdown with these values using the Html.DropDownList extension method?  Or is my best bet to simply create a for loop and create the Html elements manually?


If a word or phrase is used and has evolved its own meaning peculiar to a specific group, is this described as jargon or is there a closer semantic match?


How will moving to an SSD effect my Windows product key

I have an laptop that I like to take to college, to friends to play games, etc. It's getting on a bit now and is starting to feel sluggish. The main limiting factor seems to be disk speed/use so I'm looking at replacing the HDD with an SSD.  What I want to know, will I be able to use my existing Windows copy on the new drive? It was originaly a OEM Windows 7 (no install disc) but I recently did an upgrade to Windows 10.   I've got a flash drive that i created using the MS Media Creation Tool with the right version of Windows (10 64bit Home) so will it just be a matter of installing from that? But what product key should I enter?  And how will Microsoft know that I'm not just installing it on a completly different system?


I created extended partition for windows and now I want to convert this partition from MBR to GPT. How can I do this?


Energy and mass are interrelated. As everything has energy could any object be massless? For example a photon is a packet of energy but still it is considered to be a massless particle. Why is it so?


In response to the effect  is referring, I am proposing one of two possible scenarios:   Disallow flags on chat messages older than X hours, or Remove old flagged posts from the transcript, but no suspension occurs (as in the aforementioned question).


What is the definition of apparent power? How to calculate apparent power for three-phase circuit? Is it S = S1 + S2 + S3 or S = sqrt(P^2 + Q^2)  where  P is total active power P = P1 + P2 + P3  and  Q is total reactive power in system Q = Q1 + Q2 + Q3?


I expected that selector will be $("a.3") but it was not.  var giftId = '3'; $("a."+giftId).click(function() {     ... });   Can not I make like this?  Even if class name is not starts with digit it still does not concatenated  <a class="gift6"...      var giftId = '6';      $("a.gift"+giftId).click(...


USB signal routing - Swap data lines using vias?

I'm making my second USB design, but the D+/D- pins on the MCU (atemga16u2) aren't in the right order for the micro B connector. What's the best practice for routing these to go the right way? My current idea is to rotate the atmega 180 degrees and route them under, but it feels like the traces are fairly long. I could also drop one of the lines under the other, but I'm sure that would mess with the lengths for the differential pair. This device won't go over Full Speed, so I can get away with less than perfect routing.


I want a hint for the following integral: $$\int \frac{dx}{x^{2}\sqrt{1- a^{2}+x^{2}}}$$ where $a$ is a real constant.  In fact,  $$\int \frac{dx}{x^{2}\sqrt{1- a^{2}+x^{2}}} = -\frac{\sqrt{1- a^{2}+x^{2}}}{x(1- a^{2})}$$ why?


Question: Best way to derive an ellipse formula when given bunch of points (say 60 points which when connected draws an ellipse)?  Background: Using R Momocs library function  which returns confidence ellipse coordinates. Would be nice to abstract those points into a formula.  You can see my ellipse points in the image below;    Any suggestions much appreciated, Thanks


I'm trying to find a movie with an underground facility with people wearing white suits. The people have been affected such that they show no curiosity. There is one person that does and asks one of his co-workers where a tube leads to.      At the end there is an uprising where everyone gets to see the surface and sunlight.   What is the name of this movie?


Proving continuity of a operator $T\colon E \to E'$

Let be $E$ a Banach space over real numbers and $T\colon E \to E'$ linear such $T(x)(x)\geq 0$ for all $x\in E$, prove T is continuous.    If $x_n\to x$ and $T(x_n)\to \phi\in E'$ then $T(x_n)(y)\to\phi(y)$ how to use $T(x)(x)\geq 0$ for all $x\in E$?


So, I just screwed up a timezone file on my Debian system because I pointed it as a link to /etc/localtime vs. pointing /etc/localtime to it. Specifically, /usr/share/zoneinfo/America/Puerto_Rico.  I'm obviously way too deep to reinstall the server for the sake of one file. Where can I find and restore just this one file?  I'm using SMP Debian 4.9.144-3.1 (2019-02-19) x86_64.  TIA


I have done free groups. I studied it from Rotman two semesters back. But this semester I am doing combinatorial group theory and obviously it starts with free groups. I have to revise Free groups but I have never got a  good intution about free groups and always have been on backfoot with them whenever have studied them. This time in one month break Ii have before semester starts I want to Free groups and all related concepts used for combinatorial group theory so that I can do well with combinatorial group theory and can get into the subject deep. Any good conceptual/elaborate references? Please suggest some books. Thanks


What are structural elements? Customizing the mechnism of beamer color theme

When I search the Internet, I can find many pieces of code including \usecolortheme[named=XXX]{structure}. If I add it to my presentation, I can see maybe there are some changes. I would like to know when I choose a theme such as Rochester, the color of the structural elements (though I do not know the detail issues) is to be set to some type. Do the structural elements depend upon which theme (such as Rochester) is chosen? Would you please tell me what are included in the structural elements?        \documentclass{beamer}       \usetheme{CambridgeUS}         \title{Title1}       \author{Author}       \institute{Institute}       \date{Date}         \begin{document}        \frame{         \titlepage         }        \section[Outline]{}       \frame{\tableofcontents}        \section{Header1}       \subsection{Header2}       \frame{\frametitle{Topic1}            HTML color codes are the \textbf{hexadecimal triplets} representing the colors red, green, and blue.       \vspace{0.25cm}          These color codes can be used to change the color of the background, text, and tables on a web page.        }          \begin{frame}           testQ         \end{frame}       \end{document}   Above is a piece of craft code .For this theme CambridgeUS ,if I add \usecolortheme[named=XXX]{structure} ,the headline color does not change,I notice some innertheme elements' colors are changed,while I change it to the theme Rochester,I add the \usecolortheme[named=XXX]{structure} ,the headline color also changed.Then my question comes out.


In a bash, I have an IP like 104.16.117.182. This is the address of .  But, from the IP, how can I resolve it to the hostname? Like:  >>> magic 104.16.117.182 you get: unix.stackexchange.com   Any idea?


Jammed Giant brand U-Lock. Unable to insert key

The other day I locked my bike to a fence and upon my return about an hour later, I found the lock jammed. I am unable to insert my key fully into the keyhole. My friend suspects that while locking the bike, I might have removed the key too hastily, resulting in the lock pins being misaligned.   The lock is a Giant brand U-lock. The key goes in about half way and is unable to turn. I tried forcing the key to turn which resulted in me snapping the key (luckily, I have a spare). Any help in the matter is much appreciated.


Does Sheldon Cooper have Asperger's Syndrome?

Sheldon Cooper from The Big Bang Theory has many personality quirks, some of which make him a tad hard to take at times.   He has difficulty expressing empathy He has a good vocabulary but has difficulty understanding subtlety He has a hard time with humor, especially sarcasm He's completely egocentric He could not make friends as a child Prefers repetitive routine and gets upset with change He is deaf to verbal cues He doesn't understand non-verbal communication He finds it difficult to look people in the eye unless they are close friends   These are all symptoms of Asperger's Syndrome. I have seen every episode several times but do not remember hearing any reference to this outside of his mother "had him tested" for an unspecified disorder.  Is it ever mentioned in the series?


Strangely, I can't find any references to anyone else having this problem.  is close, but that OP is using a work phone with security profiles that prevent any bluetooth settings changes. My problem is that one—only one—bluetooth device is missing the (i) button, which means I can't forget that device. An unforgettable bluetooth pairing! Has anyone seen anything like this before?    The reason I care, of course, is because I'm having very bad connectivity issues with that one device. The only troubleshooting instructions are to forget and then pair again, but I can't forget!


I found a few questions that were similar to this but none of them were enough like my particular case to be of any use.  Whenever I open Steam, a terminal opens up:  Steam needs to install these additional packages:      libgl1-mesa-dri:i386, libgl1-mesa-glx:i386   I enter my password and hit enter:  Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (= 10.5.0~git20150204.661c8bb2-0ubuntu0ricotz~trusty)  unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed                         Depends: libcheese7 (>= 3.0.1) but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. Press return to continue:    This is a fresh install of Ubuntu 14.04 and Steam. The last time I tried this, I ended up screwing the system up trying to resolve these various dependencies. What steps do I need to take to fix this?  If it matters, this is 64-bit, I'm using my gtx980 graphics card's NVIDIA driver installed from a PPA, and I can provide any hardware info if necessary.   I tried using the      sudo apt-get install libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 command and a second time with the -f option, with the latter resulting in:  Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:    libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (=         10.5.0~git20150204.661c8bb2-0ubuntu0ricotz~trusty) unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed                     Depends: libcheese7 (>= 3.0.1) but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.


I miss the interesting questions view on the android app a lot. This is the view I use almost all the time on the desktop version of the app and I believe it is great.  I know there is a view "unanswered my tags" but the interesting questions view also provides view for questions that already have some answers. Also interesting questions view is able to show questions that are not only for tags you've marked as favorite but for somewhat related questions. Please add logic for this view in the android app.


Get rid of the "Established User" privilege

The  privilege which is gained at one thousand reputation has been around forever. We all know that it lets you see the vote count on posts. But I propose we remove the 1k reputation restriction that is in place to access vote counts. Or at least make it to where that privilege doesn't appear on the . Why? Because that restriction is completely, 100% useless as you have been able to view vote counts without having 1000 reputation for ages, with . You don't even have to be signed in to view the vote counts. Why have a useless privilege when you dont actually even need 1k rep?


How does one insert some vertical spacing between two cases for the output of the following script? \begin{cases} a+b \\ c+d  \end{cases}


Given $f:R \to R$, $f$ is differentiable on $R$ and $\lim_{x \to \infty}(f(x)-f(-x))=0$. I need to show that there is $x_0 \in R$ such that $f'(x_0)=0$  I am trying to prove it by contradiction .... so i assume there is no $x_0 \in R$ such that  $f'(x_0)=0$ this means this function is strictly monotonic because the derivative "respects" the mean value theorem so it cannot be negative and positive without passing a zero value ....  (from what i understand the derivative function of a continuous/differentiable functions isn't necessarily continuous but it still respect the mean value theorem i think it's called darboux's theorem )  now from $\lim_{x \to \infty}(f(x)-f(-x))=0$ ,we get $\lim_{x \to \infty}f(x)=\lim_{x \to \infty}f(-x)$  now the last step is the contradiction its very intuitive and even maybe obvious that we can't get $\lim_{x \to \infty}f(x)=\lim_{x \to \infty}f(-x)$ for strictly monotonic function but i cant think of a formal way to prove it .


Automata theory - How many Nerode equivalent classes for language $L_k$

Given a constant $k$ we will define the language:   $$L_k =\{x\#y \mid x \in \{0,1\}^k, y \in \{0,1\}^* \text{ and } x \not=y\}$$   How many Nerode equivalent class does $L_k$ have?    I need to show the most tight bounds I can find.  Can anyone give me a clue?   Thanks  [Note for those unfamiliar with the term: Nerode equivalence is defined as $s_1Rs_2$ if and only if $\forall t\in \Sigma^* s_1t\in L \iff s_2t\in L$.]


Hilbert's Nullstellensatz and irreducible polynomials

In p.35 of Miranda's book Algebraic Curves and Riemann Surfaces, the following theorem is stated and is called as Hilbert's Nullstellensatz. Theorem. Let $f\in \Bbb C[x_1,\dots,x_n]$ is an irreducible polynomial, and $h$ is a polynomial vanishing everywhere on the zero set of $f$. Then $f$ divides $h$. But as I remember, the original Nullstellensatz is the following: Theorem. Every maximal ideal of $\Bbb C[x_1,\dots,x_n]$ is of the form $(x_1-a_1,\dots,x_n-a_n)$. How does the original Nullstellensatz imply the new one?


How can I install matlab Ubuntu 18.04. (./install fail)

descargue dos imagen iso de matlab, pero cuando lanzo ./install en la terminal me aparece este error: [./install: 1: exec: /home/sergio/Descargas/Matlab r2016b/Mathworks Matlab R2016b Linux/R2016b_glnxa64_dvd1/bin/glnxa64/install_unix: Exec format error]


How do I boot from ISO file stored on hard disk?

I know that I can create/burn bootable CD/DVD or live USB and can boot/install from it. But suppose I am currently running GNU/Linux and I've ISO file of another GNU/Linux that I want to install on my hard disk, then Can I directly boot from ISO from hard disk and try/install that GNU/Linux operating system?


JSON fails when retrieving a record has special characters

I'm getting the error 'Unexpected end of JSON input' when using JSON to retrieve data from a MySQL db The following code snippet calls GetProfileTest.php which executes a select statement and returns a record. The record contains the field value 'Athlète'.  If delete è from the field the codes runs without an error. The db is uses utf8_unicode_ci collation. The weird thing is the code works fine on another website with identical tables. Can anybody provide an insight has to what causes the error.  Eliminating the French characters is not an option.     $.ajax({     method: 'GET',     url: '/wp-content/PHP/GetProfileTest.php',     data :{"CFF":CFF,"LANG":LANG},     "timeout": 5000 })   .fail(function (jqXHR, textStatus, errorThrown) {     // Request failed. Show error message to user.     alert('Data get failed: '+errorThrown); }) .done(function(data, textStatus, jqXHR ) {     var result= data;     if ($.type(result)=="string") {         alert("No profile found " + CFF);      };  Here is GetProfileTest.php <?php   // Revieve ID and query db to get profile  // get connection data) require('Connection.php');  /* Create connection */ $conn =  mysqli_connect($host,$username, $password, $dbname);  // Check connection if (!$conn){   echo 'Connection error: '. mysqli_connect_error();   }    //  SQL query to get profile for the ID provided  $CFF  = $_GET['CFF'];  $LANG = $_GET['LANG'];   if ($LANG == 'EN') {     $sql = "SELECT CFF_Num,VeteranName,Role_En FROM VeteranProfileView WHERE CFF_Num='".$CFF."'";  }  else {     $sql = "SELECT CFF_Num,VeteranName,Role_Fr FROM VeteranProfileView WHERE CFF_Num='".$CFF."'";  }    $sql = "SELECT CFF_Num,VeteranName,Role_Fr FROM VeteranProfileView WHERE CFF_Num='".$CFF."'";    // Run Query and get result  if (!$result = mysqli_query($conn,$sql)) {     echo 'Query failed: '. mysqli_error($conn);  }   /* If there are results from query push to result array */  $result_array = array();  if ($result->num_rows > 0) {     while ($row = $result->fetch_assoc()) {        array_push($result_array, $row);     }        /* send a JSON encoded array to client */     header('Content-type: application/json');     echo json_encode($result_array);  } else {     echo ('No profile found');  }     mysqli_free_result($result);  mysqli_close($conn);


The debian package downloaded from the site opens in the software center, but when install is clicked it does nothing.  Guys the question does not ask how to install on ubuntu 15.04.  As you probably realize the procedure between implementations can easily differ.  Also the question does not ask how to install debian packages in general.  In the past my experience with this is that the general install mechanism does not pull dependencies, or has other tricky implementation details such as just use -f ... which in the past sometimes works, sometimes does not, and then we are back to the drawing board again, possibly having to reinstall the whole system in order to clean things up.  Context matters.  The context here is Ubuntu 17.04 (64 bit) and Vivaldi.  People coming to this forum want a tested proven answer in the context that they are requesting the answer for.  Short simple and easy to implement answers.  This is probably the 5th time this month that I'm writing a long explanation in my post as to why something is not a duplicate.  It will probably trigger something about going to meta to explain or challenge the duplicate tag.  But seriously we just want quick short answers.  Put a 3 day timing delay on marking things as duplicates and let people respond with answers that are specific to a given context.  It will make the forum much better.


When generating my LaTeX document (RevTex 4.1) using TeXShop on Mac OSX 10.10.3 the document generates a rather ugly line above my references but below the section heading.    This is the code I am using to generate my references:  \documentclass[% reprint, amsmath,amssymb, aps, floatfix, ]{revtex4-1} \usepackage{graphicx}% Include figure files \usepackage{dcolumn}% Align table columns on decimal point \usepackage{bm}% bold math \usepackage{gensymb} %symbols eg. \degree \usepackage[numbered]{Files/mcode} %Allow import of MATLAB code  \begin{document} %References \clearpage %Put references on separate page \onecolumngrid %Make references entire page \section{References} \bibliography{Files/Bibliography.bib} %"bibliography" -> bibliography file name \end{document}   Any help is removing this line or getting a prettier line would be much appreciated!


Will core functions in QGIS exploit multi-threading?

After reading , I was wondering if QGIS 2.6 will include this when running various processes. I checked online and I could only find that multi-threaded rendering was introduced to QGIS 2.4 (I assume it will again be available in 2.6). Now maps can be redrawn very quickly especially when dealing with large datasets.  I read that it's fairly difficult to include multi-threading to core functionality and that users are advised to manipulate Python code in order to achieve this, such as in .  I also checked the  but it has been closed for 9 months now by Tim Sutton with the last comment being:     "I'm closing this out - Martin Dobias has an implementation in a branch which will be merged post QGIS 2.2"   Will some functions in QGIS 2.6 exploit multi-threading (or will it again be focused on rendering) and if not, will that change at QGIS 3.0?


Why is $\sin{x} = x -\frac{x^3}{3!} + \frac{x^5}{5!} - \cdots$ for all $x$?

I'm pretty convinced that the Taylor Series (or better: Maclaurin Series): $$\sin{x} = x -\frac{x^3}{3!} + \frac{x^5}{5!} - \cdots$$  Is exactly equal the sine function at $x=0$ I'm also pretty sure that this function converges for all $x$  What I'm not sure is why this series is exactly equal to the sine function for all $x$.  I know exactly how to derive this expression, but in the process, it's not clear that this will be equal the sine function everywhere. Convergence does not mean this will be equal, it just mean that it will have a defined value for all $x$. Also, I would want to know: is this valid for values greater than $\frac{\pi}{2}$? I mean, don't know how I can proof that this Works for values greater than the natural definition of sine.


The habitual past "would" versus "simple past" tense

One can use the habitual past 'would' to describe past events. For example one could say,      Jim would spend weekends at the farm. He would cut weed and water the plants.   One can also use the simple past.       Jim spent weekends at the farm. He cut weed and watered the plants.   Would the use of habitual past be considered "weak" writing or prose, as opposed to the simple past?  How does the simple past in the following sentence "He would cut weed and water the plants." without any preceding time expression e.g. "spend weekends"  make a distinction between a repeated action/habit and a one-time action of cutting weeds and watering plants?


Why are cancer rates low in large animals?

Large animals generally have more cells and live longer than smaller animals. For example,  live up to 200 years and weigh up to 100 tonnes, as opposed to humans (living ~ and weigh ~) and  (10–25 g, <1 year in the wild). Hence, whales have an immense number of cells and those cells are subjected to environmental carcinogenic influences (chemicals, UV) for a longer period of time.   Cancer is caused by random mutations and those random mutations are basically stochastic processes. Given their long life span and larger number of cells, shouldn't larger animals have a substantially higher chance to develop cancer? In fact, story goes that bowhead whales in fact only , and less so compared to humans?


How can I reinstall Apache HTTPD after deleting some of the configuration files?

I recently was messing around with my Apache config and wanted to reinstall so I could start from fresh. I followed some forum posts about reinstalling the apache2 package and this ended up deleting my /etc/apache2 folder.  Now matter how many things I try I can't seem to do a full wipe of the Apache install and then reinstall. sudo apt-get install apache2 or reinstall doesn't do anything. I can't seem to remove it using Synaptic either.   Is there anything I can do to have a fresh Apache install on my computer again?


Why does the Maclaurin series of sin(x) converge to sin(x)?

When looking up how the extremely famous series $$\sin(x)=\sum_{k=0}^\infty(-1)^k\frac{x^{2k+1}}{(2k+1)!}$$ is derived, I found  great explanation by Proof Wiki.  My question is this: the explanation shows clearly how to derive the Maclaurin series for $\sin(x)$ and how it converges for all real arguments, however - as someone new to the intricacies of Maclaurin series - it does not prove that whatever the series converges to at the real number $a$ is $\sin(a)$. Why is this true?


I am using the system curl as I cannot get the ruby curl to work. How do I get the output of the curl into my ruby variable? the example below shows that the variable did not get the output of the curl url1="\"https://ca.yahoo.com/\"" a=Kernel.system "curl #{url1}" irb(main):026:0> a => true


I got convinced to use biblatex and already have the first problem. I have several .bib-files and one of them contains only entries which shall be listed in a second bibliography (or even better: a subcategory of the bibliography). It shall look as shown here:     BIBLIOGRAPHY      entries from bib-files 1,2,3 alphabetically ordered      BIBLIOGRAPHY 2      entries from bib-file 3   The entries do not have any special types or keywords, I don't want to add them manually to categories and I don't want to split the bibliography by chapters/sections/segments/whatever.


How do i copy all the pictures on a website?

I want to copy all the pictures on a site, but I don't know how to do it. Could you please tell me? Shall I use a tool?


What would happen if every person in the world gathered at a minimum possible area and jumped all at once? Would that have any effect on Earth?


I know abelian groups have only 1D representations. Is the converse proposition true? i.e. If a finite group has only 1D irreducible representations, is it abelian?


I have been taking Abstract Algebra graduate classes, and we will begin studying Galois theory.  However, since it is a graduate-level course, the teacher has assumed everyone already had taken undergrauate-level algebra. Problem is, I come from an Engineering background, which did not have it.  Needless to say, I am a bit lost on what I need to know. The teacher will do a brief revision on fields, but I do not even know much about rings (I am fairly comfortable with groups though, since we studied it).  So, long story short, my question is: What do I absolutely must know about rings and fields to understand Galois theory?  I would also appreciate any references that may help. I have been reading Artin's Algebra, and Goodman's Algebra: Abstract and Concrete for now.    And, just to clarify, I do intend to learn more about Algebra later on. It is just that I need to keep up with the lectures, so I must learn the necessary things in a really short time.


JSON parse converts certain number to somethig else

I have found that some number when passing through parseInt are changing to other number.  console.log( parseInt( 10153315281647662, 10 ) ); //10153315281647662 console.log( parseInt( 10153315281647663, 10 ) ); //10153315281647664 console.log( parseInt( 10153315281647664, 10 ) ); //10153315281647664 console.log( parseInt( 10153315281647665, 10 ) ); //10153315281647664 console.log( parseInt( 10153315281647666, 10 ) ); //10153315281647666 console.log( parseInt( 10153315281647667, 10 ) ); //10153315281647668 console.log( parseInt( 10153315281647668, 10 ) ); //10153315281647668 console.log( parseInt( 10153315281647669, 10 ) ); //10153315281647668 console.log( parseInt( 10153315281647660, 10 ) ); //10153315281647660   var str = '{ "id" : 10153315281647663 }'; console.log(  JSON.parse( str ) ) // id : 10153315281647664   I was working with few large numbers and parseInt or changing str to JSON with number is changing the numbers in result. This is not becasuse of integer stack overflow because the larger numbers 10153315281647666 is parsing correctly while 10153315281647663 is not, what can be the reason behind this?  I have fixed the issue by parsing everything into string, but what is the cause of this?


Cardinality of the set of all real functions of real variable

How does one compute the cardinality of the set of functions $f:\mathbb{R} \to \mathbb{R}$ (not necessarily continuous)?


Prove that $A \times B = B \times A $ if and only if $A = B \lor A = \emptyset \lor B = \emptyset$

Prove that $A \times B = B \times A $ if and only if $A = B \lor A =  \emptyset \lor B = \emptyset $  So, I need to prove that  $$A\times B = B \times A \iff A = B \lor A = \emptyset \lor B = \emptyset$$ It is easy to show the right-to-left implication. The problem begins when I want to show the left-to-right one. I tried using the axiom of extentionality, but that did not work. What kind of trick should I use to prove that the relation from left to right holds as well?


After a clean installation of Windows 10, cannot boot, unless in legacy mode

I booted from my USB flash drive to install Windows 10 with Fall Creators Update. When booting, I had to change the boot mode to legacy in order to see my USB flash drive in the bootable devices list.  While installing Windows, I deleted all partitions on my drive, and let Windows create what it needs, which currently are a 500 MB "System Reserved" partition and another 476 GB primary partition. I noted that in a past clean install, Windows created 3 partitions, the name of the other which I cannot remember.  Now, I am unable to boot into Windows unless I enable legacy mode, otherwise in UEFI mode it shows 'No boot device found'. This applies to both my Asus X751L running American Megatrends BIOS and my Acer Aspire S5 running InsydeH2O BIOS.  How can I boot in UEFI mode?


Creating different random numbers in array

I want to create an array which has 20 elements and each element holds different integer numbers from closed interval [0-19].    Here is the codeblock:  #include<stdio.h> #include<stdlib.h> #include<time.h> #define SIZE 20  int main()  {     srand(time(NULL));      int array[SIZE]={0}, arrayhold[SIZE]={0}, hold, i;      for(i=0;i<SIZE;i++)      {         hold = rand()%20+1;          if(arrayhold[hold]==0)         {             array[i]=hold;             arrayhold[hold]++;         }         else          {             while(arrayhold[hold]!=0)                 hold = rand()%20+1;              array[i]=hold;         }     }      for(i=0;i<SIZE;i++)      {         printf("array[%d]=%d\n",i,array[i]);     } }        When I run the program, the output gives array[random]=1 for many times, but it never gives array[random]=3 (just for example).


How to open the command terminal in Ubuntu

I know in Linux you have the LX terminal to install an unpack things. Is something like that included in Ubuntu? I an new to Ubuntu and I would like to learn how use it more efficiently.


Can you enter the Schengen area without a return ticket?

I am flying from the USA to Switzerland with a one way ticket. I will also be flying from Switzerland to Spain and be traveling around in Europe but I do not have a return ticket because I am not sure from which country I will be departing from. Would this be an issue for the airlines?  I am flying through American Airlines and Iberia.


How to install Ubuntu from within other Linux Distributions without reboot

I have an OpenSuse Linux running on my work pc. I have no time to go offline and install Ubuntu. Ideally I want to mount ubuntu.iso, run Ubuntu Installer from bash, and then, at the evening, just reboot, select Ubuntu from grub, and decide whether i stay with it.  Is that possible?


I was wondering if stackoverflow had a badge when the following interactions happen between two users:   user A answered a question from user B, user B answered a question from user A.   And if such a badge existed are there statistics available for this (just curious about this metric). For example, how much time is separating event 1 from event 2.


Voltage divider to measure battery voltage on Arduino

I am working on a 3V battery powered arduino project. I need to monitor the battery so that I could send a signal when battery is dying. At first it seemed tricky because the same voltage is being used by the micro-controller but later on I came to know that there is some sort of internal 1.1V reference in Arduino. However I need to use a voltage divider to reduce the voltage. This is the circuit described on the :    PIN_A1 is where the battery voltage is being read. High value resistors have been used to avoid excessive current draw.   My question is - What is the aim of using a voltage divider here?   EDIT:  It has been figured out that voltage divider is bringing the battery voltage within internal voltage reference range i.e. 1.1 V.  (Credit goes to Vladimir)


How do download 32 bit Ubuntu installer for another computer?

I want to make a dvd for my old windows ME computer to upgrade to ubuntu. Please help!!!


What is $\aleph_0$ powered to $\aleph_0$?

By definition $\aleph_1 = 2 ^{\aleph_0}$. And since $2 < \aleph_0$, then $2^{\aleph_0} = {\aleph_1} \le \aleph_0 ^ {\aleph_0}$. However, I do not know what exactly $\aleph_0 ^ {\aleph_0}$ is or how I could compute it.


Can Minor Illusion be used to simulate speech?

Such as generating a spoken sentence or series of sentences in a particular person's voice?


Why the CDF for the Normal Distribution can not be expressed as a closed form function?

I am working my way through , where the author states that     "there is no closed form expression for the normal cumulative density   function"   but does not provide any further details as to why this is the case, simply saying that the alternative is to write it in terms of the error function.  Is there some way to intuit why  the Normal Distribution can not be expressed as a closed form function?


Why does no physical energy-momentum tensor exist for the gravitational field?

Starting  with the Einstein-Hilbert Lagrangian  $$ L_{EH} = -\frac{1}{2}(R + 2\Lambda)$$  one can formally calculate a gravitational energy-momentum tensor   $$ T_{EH}^{\mu\nu} = -2 \frac{\delta L_{EH}}{\delta g_{\mu\nu}}$$  leading to  $$ T_{EH}^{\mu\nu} = -G_{\mu\nu} + \Lambda g_{\mu\nu} = -(R_{\mu\nu} - \frac{1}{2}g_{\mu\nu}R) + \Lambda g_{\mu\nu}. $$  But then, in the paragraph below Eq. (228) on page 62 of  paper, it is said that this quantity is not a physical quantity and that it is well known that for the gravitational field no (physical) energy-momentum tensor exists.  To me personally, this fact is rather surprising than well known. So can somebody explain to me (mathematically and/or "intuitively") why there is no energy-momentum tensor for the gravitational field?


Reinstalling Win10 to different hard drive - How do I activate?

After letting my PC get old for 7 years, I'm thinking about upgrading and moving to an SSD drive. I'm concerned about re-installing Windows 10 though. Back in the day it used to be simple: You went to your PC settings, checked the activation code, reinstalled Windows and were all set. This time it's different for me.  I moved from a Windows 8 (activated with an oldschool activation code) to Windows 10 when it was a free upgrade. However, now I can't see the activation code under settings, as it says "Windows is activated with a digital licence linked to you Microsoft account".  So, how does a new install work in this case? I buy a new SSD, burn myself a Win10 installer disc and then what? Will my original Win8 activation code work? Or will I have to log in and Windows will fetch the license info from online? Or will it mess around with my for installing Win10 twice (although I think the licence is tied to the motherboard, not sure)? I'm pretty sure I can figure it out once I get there, just want to be a bit more informed before I start installing stuff.


What is the difference in meaning between "proposal" and "proposition"?

These two words have similar meanings, however in certain contexts only one of the two can be used or is used most frequently (fits better idiomatically). Can you give examples of such contexts and if possible explain the difference?


A story about a whole crew of aliens who visit Earth, befriend a child

It was a book I read when I was a kid, so I am assuming it was a book aimed at kids/young adults. A whole crew of aliens of different species meet an Earth kid. He befriends them. One of the aliens comes from a planet with dozens/hundreds of different sexes/genders. At one point, the Earth kid is talking about a swamp:  Alien: "I live in/near a swamp on my home planet" Kid: "Oh, do you come from a swamp planet?"  The alien points out that just because there is a swamp on his planet doesn't make it a swamp planet, there are dozens of biomes on his planet, just like Earth. Earth isn't just a swamp planet.


I'm trying to find the limit: $\displaystyle\lim_{n\to\infty}\frac {1\cdot2\cdot3\cdot...\cdot n}{(n+1)(n+2)...(2n)}$  I thought of taking a pretty obvious binding from above expression: $\frac {n^n} {(n+1)^n}$ which is $n$ times the largest numerator and $n$ times the smallest denominator, but this limit isn't zero and it looks like the given does go to zero.  So maybe 'multiplying' $\frac 1 {n+1}$ by $1$, $n$ times is a good bound but it isn't very obvious that:  $\frac {1\cdot2\cdot3\cdot...\cdot n}{(n+1)(n+2)...(2n)}\le \frac 1 {n+1}$ so why is it true?


In the circuit below, in the section inside the green circle, it seems there's no purpose for connecting the NPN transistor's collector, to the base of the other NPN transistor on the right.  According to my understanding of how NPN transistors work, no current will flow through that base.  What is the purpose of connecting the collector of an NPN to the base of another NPN?  [The image is taken from a TI Hex inverter schematics]


When I download the 64 bit 13.04, no other options are given and the download just begins. I am using a MAC and this default is the wrong processor.


Creating a row for each value in a comma-separated string

I'm currently trying to create a View from a Table that does the following:  Table A ╔═════════════╦═══════════════╗  ║ PART NUMBER ║   FILE NAME   ║ ╠═════════════╬═══════════════╣ ║  PN0001-01  ║      FOO      ║ ║  PN0002-01  ║      BAR      ║ ║  PN0003-01  ║    FOO,BAR    ║ ║  PN0004-01  ║  BAR,FOO,FOB  ║ ╚═════════════╩═══════════════╝   To create  View B ╔═════════════╦═══════════════╗  ║ PART NUMBER ║   FILE NAME   ║ ╠═════════════╬═══════════════╣ ║  PN0001-01  ║      FOO      ║ ║  PN0002-01  ║      BAR      ║ ║  PN0003-01  ║      FOO      ║ ║  PN0003-01  ║      BAR      ║ ║  PN0004-01  ║      BAR      ║ ║  PN0004-01  ║      FOO      ║ ║  PN0004-01  ║      FOB      ║ ╚═════════════╩═══════════════╝   So, essentially, I need to take records from Table A and insert them into View B, where if the record from A has a LIKE '[,]' property, then that field is split into multiple records in B, depending on the number of times the ',' is present, with the text between each ',' being given its own record in View B.


Copyright notice overlapping with text in Lyx

I have a copyright notice on my IEEE Journal that is overlapping with my text while using Lyx and I am not sure why it is happening or what I can do to fix the problem.  I have tried looking up ways to adjust the footer and even have seen this question asked by someone else , but no one has answered.  Here is an image of the problem I am describing:


In thinking about Sturm-Liouville theory a bit I see I have no actual idea what is going on.  The first issue I have is that my book began with the statement that given  $$L[y] = a(x)y'' + b(x)y' + c(x)y = f(x)$$  the problem $L[y] \ = \ f$ can be re-cast in the form $L[y] \ = \ \lambda y$.  Now it could be a typo on their part but I see no justification for the way you can just do that!  More importantly though is the motivation for Sturm-Liouville theory in the first place. The story as I know it is as follows:  Given a linear second order ode   $$F(x,y,y',y'') = L[y] = a(x)y'' + b(x)y' + c(x)y = f(x)$$  it is an exact equation if it is derivable from a differential equation of one order lower, i.e.  $$F(x,y,y',y'') = \frac{d}{dx}g(x,y,y').$$  The equation is exact iff  $$a''(x) - b'(x) + c(x) = 0. $$  If $F$ is not exact it can be made exact on multiplication by a suitable integrating factor $\alpha(x)$.  This equation is exact iff  $$(\alpha(x)a(x))'' - (\alpha(x)b(x))' + \alpha(x)c(x) = 0 $$  If you expand this out you get the Adjoint operator  $$L^*[\alpha(x)] \ = \ (\alpha(x)a(x))'' \ - \ (\alpha(x)b(x))' \ + \ \alpha(x)c(x) \ = 0 $$  If you expand $L^*$ you see that we can satisfy $L \ = \ L^*$ if $a'(x) \ = \ b(x)$ & $a''(x) \ = \ b'(x)$ which then turns $L[y]$ into something of the form  $$L[y] \ = \ \frac{d}{dx}[a(x)y'] \ + \ c(x)y \ = \ f(x).$$  Thus we seek an integratiing factor $\alpha(x)$ so that we can satisfy this & the condition this will hold is that $\alpha(x) \ = \ \frac{1}{a(x)}e^{\int\frac{b(x)}{a(x)}dx}$  Then we're dealing with:  $$\frac{d}{dx}[\alpha(x)a(x)y'] \ + \ \alpha(x)c(x)y \ = \ \alpha(x)f(x)$$  But again, by what my book said they magically re-cast this problem as  $$\frac{d}{dx}[\alpha(x)a(x)y'] \ + \ \alpha(x)c(x)y \ = \ \lambda \alpha(x) y(x)$$  Then calling  $$\frac{d}{dx}[\alpha(x)a(x)y'] \ + \ ( \alpha(x)c(x)y \ - \ \lambda \alpha(x) )y(x) \ = \ 0$$  a Sturm-Liouville problem.  My question is, how can I make sense of everything I wrote above? How can I clean it up & interpret it, like at one stage I thought we were turning our 2nd order ode into something so that it reduces to the derivative of a first order ode so we can easily find first integrals then the next moment we're pulling out eigenvalues & finding full solutions - what's going on? I want to be able to look at $a(x)y'' \ + \ b(x)y' \ + \ c(x)y \ = \ f(x)$ & know how & why we're turning this into a Sturm-Liouville problem in a way that makes sense of exactness & integrating factors, thanks for reading!


Cooked corn kernels, but not from corn cob

In making a Mexican Polenta casserole, I need cooked corn kernels. Is is it possible to make this from the same stuff I would use to make popcorn? (Not the ones that come in microwaveable bags, just the raw corn kernels).  If not, could I possibly substitute it with something else?


macOS counterpart of Windows startup batch file

My friend pranked me by creating a batch file which opens a YouTube video and added it to the startup folder, so that the batch file launches every time I log in. This is what he wrote in the batch file:  TIMEOUT 1 start /min https://www.youtube.com/watch?v=Kob0G2hE8IY   On top of that, he scheduled the batch file to run every 10 minutes using Task Scheduler.  This is done on a Windows PC. So my question is, how do you do the same thing on a Mac?


What is the easiest way to check for plagiarism in student essay papers?

I've had to grade quite a few essay papers in the classes I've taught, and I've suspected some may have plagiarized but I never really pursued check on them because it would be too time consuming to check their sources and pursue any/all possible sources where they may have copied from.    What's the easiest way to check for plagiarism?  Is there a search engine tool that one could use to upload a paper and check for it?  I doubt it, but other than that, I don't know of any other way to check for it than to put in more effort than I have time for.


How can I make macarons with "feet" in my oven at home?

I've tried many macaron recipes, and all have tasted very good.  The problem is they always end up as a meringue, or looking like cookies.  They usually don't have the "feet" that macarons are known for.  My success rate on every recipe I've tried is about 1 in 6.  Does anyone known what my mistakes are or know a recipe that easily makes macarons with "feet"?


I have a code segment that looks like this:  53    Debug.Log("Palette Count: " + palette.Count); 54    Debug.Log("Selection: " + selection); 55    palette[selection].isOn = false;   For reference:  palette is a List<Toggle>  selection is an int  The code works perfectly, except when I add the following to the Start function:  20    for (int i = 0; i < palette.Count; i++) { 21        palette[i].onValueChanged.AddListener(delegate { setSelect(i); }); 22    }   For reference:  194    private void setSelect(int index) { 195        Toggle toggle = palette[index]; 196        if (toggle.isOn) { 197            selection = index; 198        } 199    }   Once these segments are included, I receive the two Debug.Log() outputs and a runtime error:  Palette Count: 9 UnityEngine.Debug:Log(Object) UIManagerW:Update() (at Assets/Scripts/World/UIManagerW.cs:53)   Selection: 0 UnityEngine.Debug:Log(Object) UIManagerW:Update() (at Assets/Scripts/World/UIManagerW.cs:54)   ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <437ba245d8404784b9fbab9b439ac908>:0) System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <437ba245d8404784b9fbab9b439ac908>:0) System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <437ba245d8404784b9fbab9b439ac908>:0) UIManagerW.setSelect (System.Int32 index) (at Assets/Scripts/World/UIManagerW.cs:195) UIManagerW+<>c__DisplayClass11_0.<Start>b__0 (System.Boolean <p0>) (at Assets/Scripts/World/UIManagerW.cs:21) UnityEngine.Events.InvokableCall`1[T1].Invoke (T1 args0) (at <d815b7efac424eeb8e053965cccb1f98>:0) UnityEngine.Events.UnityEvent`1[T0].Invoke (T0 arg0) (at <d815b7efac424eeb8e053965cccb1f98>:0) UnityEngine.UI.Toggle.Set (System.Boolean value, System.Boolean sendCallback) (at C:/Program Files/2019.3.6f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/UI/Core/Toggle.cs:280) UnityEngine.UI.Toggle.set_isOn (System.Boolean value) (at C:/Program Files/2019.3.6f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/UI/Core/Toggle.cs:243) UIManagerW.Update () (at Assets/Scripts/World/UIManagerW.cs:55)   I'm not really sure how this is possible. I can restore the functionality by commenting out the lines within setSelect, so it would seem that Line 195 is the culprit. I just haven't a clue what to go off of here.  Thanks in advance for any help you can provide!


How to solve unassigned 'out' parameter error?

I am trying count total number of files in all the sub folder of a given path. I am using recursive function call. What could be the reason?  Code:  int iCount =0;  getFileCount(_dirPath, out iCount);  private void getFileCount(string _path, out int iCount ) {               try     {         // gives error :Use of unassigned out parameter 'iCount' RED Underline         iCount += Directory.GetFiles(_path).Length;          foreach (string _dirPath in Directory.GetDirectories(_path))             getFileCount(_dirPath, out iCount);     }     catch { } }