How to select the line with the max(date)?
select all rows with a minimum value
As I understand it, electromagnetic waves have two components which are the result of each other, i.e., when a moving electric charge creates a changing magnetic field at point X then a changing electric field is created at point Y and this repeating process is what creates EM waves, so therefore, it requires no medium. Is my understanding correct?  One thing that I'm surprised to know is that light is also called an electromagnetic wave.  Does this include light of any kind, for example: light from a bulb, a tube, and also from the Sun? How do they contain electric and magnetic fields? How to split a string with any whitespace chars as delimiters Let $A \subset B$ be a finite ring extension. Fix a ring homomorphism $\nu : A \to \Omega$, where $\Omega$ is an algebraically closed field.   I want to show there exists a non-zero homomorphism $v : B \to \Omega$ of $A$-modules.  I want show that the space $V$ of all the homomorphisms $v$ in (i) is a non-zero finite dimensional vector space over $\Omega$. Show that the algebra $B$ acts on this space. Show that eigenvectors of this action correspond to homomorphisms of algebras $\lambda : B \to \Omega$ that extend the homomorphism $\nu$. Deduce that the set of such homomorphisms $\lambda : B \to \Omega$ is finite and non-empty.    We can assume that $B = Ab_1 + ... + Ab_n$ where $b_1,...,b_n \in B$. The chose $v(b_i)=\omega_i \in \Omega-\{0\}$ and then define $$ v( a_1 b_1 + ... + a_n b_n ) = \nu(a_1) v(b_1) + ... + \nu(a_n) v_n = \nu(a_1) \omega_1 + ... + \nu(a_n) \omega_n \ .$$ This is an $A$-module homomorphism. Am I correct? For the second part, that $V$ is not-zero follows from the first part. That it is finite dimensional follows from the fact that $v_i(b_j)=\delta_{i,j}$ (Kronecker's delta) with $i=1,...,n$ spans $V$ and hence $\dim V \le n &lt; \infty$. I define the action of $B$ over $V$ to be $$b \bullet v = \left( x \mapsto v(b)v(x) \right) \mbox{  for all } b,x \in B \ .$$ This seems to be the natural action to define. Am I correct? However, I haven't managed to solved the rest (the eigenvector stuff and the relation to $\nu$). What are Extension Methods? What are extension methods in .NET?    EDIT: I have posted a follow up question at Using notify-send with cron Many to Many and Weak Entities I have an entity that cannot exist without being defined by another, and I want this entity to participate in a many-to-many relationship.  Example: An artist has an album (the album cannot exist without an artist), the album also has many tracks, but the same track can exist in many albums.  So we have a many-to-many relationship between the album and the tracks.  If the album is a weak entity, then its primary key is a foreign key referencing the artist, thus it cannot be a foreign key to another table representing a many-to-many relationship.  The question is: is it possible to have this kind of relationship in SQL, and if so, how do I express it? I have a doubt. I need help.  Can the basic axioms of equality be presented as "open axioms"?  I) (reflexivity) $\qquad x = x$              II)  (Substitutivity) $\qquad (x = y) \to \big(F (x, x) \to F (x, y)\big)$ Trying to identify a very old short story about aliens colonizing human bodies Don't remember the exact start to the story, but it went something like "walking along a path" or something, and when he hears what sounds like a shotgun blast behind him, he then feels something strike him in the butt. He passes out, and when he awakens, he discovers that the "shotgun blast" was actually a miniature spaceship that exploded and shot miniature aliens into his body. The aliens prove to be very beneficial because they clean up all the toxins and other poisons in his body. They can be transmitted through kissing or sexual activity.  Any help with the name of the story would be greatly appreciated.  Dan When & how did Yoda come to know about the Rule of Two? At the very end of Star Wars Episode I: The Phantom Menace, Mace Windu and Yoda had this conversation:     Mace Windu: There is no doubt. The mysterious warrior was a Sith.   Yoda: Always two there are....no more...no less. A master and an   apprentice.   When did he come to know about the secret ? And, how? Any evidence from ? Closed ball not a manifold. My book on differential geometry claims that a closed ball in $\Bbb R^n$ can never be a differentiable manifold because of the boundary points. The book doesn't really give an explanation for why this is true. Could someone provide more details please? thanks How many ways can we let people into a movie theater if they only have half-dollars and dollars? My interest in combinatorics was recently sparked when I read about the many things that the Catalan numbers count, as found by Richard Stanley. I picked up a copy of Brualdi's Combinatorics, and while browsing the section on counting sequences I found a nice little puzzle that has definitely puzzled me.     Let $m$ and $n$ be nonnegative integers with $n\geq m$. There are $m+n$ people in line to get into a theater for which admission if $50$ cents. Of the $m+n$ people, $n$ have a $50$-cent piece and $m$ have a $\$ 1$ dollar bill. The box offices opens with an empty cash register. Show that the number of ways the people can line up so that change is available when needed is   $$ \frac{n-m+1}{n+1}\binom{m+n}{m}. $$     I first noted that the first person to enter must be one of the $n$ with a half-dollar. Now the register has a half-dollar change. The second person can be either a person with a half-dollar or a dollar. In the first case, the register will now have two half-dollars, in the second case, the register will now have one dollar bill. So it seems to me that when one of the $n$ people with a half-dollar enters, the number of half-dollars in the register increases by $1$, and when one of the $m$ people with a bill enters, the number of half-dollars decreases by $1$ but the number of bills increases by $1$.   I tried to model this by looking at paths in $\mathbb{Z}^2$. The $x$-axis is like the number of half-dollars, and the $y$-axis is the number of bills. You start at $(0,0)$, and you can take steps forward $(1,0)$ or backwards diagonally $(-1,1)$ corresponding to who enters, but you must always stay in the first quadrant of the plane without crossing over the axes. The goal is to make $m+n$ moves, and I figured maybe the number of such paths is counted by $\frac{n-m+1}{n+1}\binom{m+n}{m}$, but I'm not sure how to show this. I don't know if this observation simplifies the problem at all, as I don't know how to finish up. I'd be happy to see how this problem is done, thank you. I'm trying to install Wifite from , but I can't install cowpatty.  See below:  root@vitor-hp:~# apt-get install cowpatty Reading package lists ... ready Building dependency tree Reading state information ... ready E: Could not find package cowpatty root@vitor-hp:~#    Translated from Portuguese  I use Ubuntu 13.10 64-bit. For every prime of the form $2^{4n}+1$, 7 is a primitive root. Why have header files and .cpp files? Why does C++ have header files and .cpp files? What's an atomic superstate/, and how is it possible?  I understand the basics - being something can be moving and staying still at the same time; the observer changes the behaviour - but I'd like to know a little more, as it interests me, and how is it possible without actually interfering with said thing? Are user accounts on data.stackexchange.com and Stack Exchange two different entities? I tried to search for similar questions, as I always do, but was not able to find one. I just created a new  on Data.Stack Exchange with my existing Google OpenID and it seems to be not associated with my regular Stack Exchange account. Is this by design? and if so, why? My question is about one particular usage of static keyword. It is possible to use static keyword to cover a code block within a class which does not belong to any function. For example following code compiles:  public class Test {     private static final int a;         static {         a = 5;         doSomething(a);     }     private static int doSomething(int x) {         return (x+5);     } }   If you remove the static keyword it complains because the variable a is final. However it is possible to remove both final and static keywords and make it compile.   It is confusing for me in both ways. How am I supposed to have a code section that does not belong to any method? How is it possible to invoke it? In general, what is the purpose of this usage? Or better, where can I find documentation about this? Run cURL commands from Windows console Is there a way to install cURL in windows in order to run cURL commands from the command prompt? How bad for TeX is omitting braces {}, even if the result is the same? Sometimes writing braces and omitting them produces the same result:  \tilde{\psi}  \mathrm{e}^{\mathrm{i} \pi}   vs  \tilde \psi   \mathrm e^{\mathrm i \pi}   Or (taken from Werner's comment below)   \frac{1}{2} vs \frac12   If that's the case, how bad for the quality of my code is omitting them? Of course, if one compiles a pair of formulas, there is no difference. But, since I ignore how TeX works, my point is: if one writes long codes with these habits,   doesn't TeX go somehow crazy because I'm not writing as it expects?   For instance, does it have any effect on how fast are long documents compiled? Any reason to keep them? Offline update of Windows? What options, if any, exist for offline update of Microsoft  Windows?  If a solution exists please list your experience using it.    Background:  If for any reason a computer does not have a connection to  the Internet or the connection is too slow to download  several hundreds of megabytes every so often some kind of  offline Windows Update is required.  In a multi-computer environment a lot of bandwidth (and thus in some cases money) and/or  time could also be saved if it is possible to update in an  offline manner.