How to pass a variable to a function in javascript
Closures in a for loop
Let $R$ be the subring of $M_2(\mathbb{R})$ defined by $$R=\left\{\begin{pmatrix}a&amp;b\\0&amp;d\end{pmatrix}\mid a\in\mathbb{Q},b,d\in\mathbb{R}\right\}$$  Show that $R$ is right-Artinian but not left-Artinian.  The "obvious" approach to show it is not left-Artinian is to find an $A\in R$ such that $$RA\supset R(A^2)\supset R(A^3)\supset\dots$$  is an infinite decreasing chain of proper left submodules of $R$ (as a module over itself). However, after spending a lot of time in this endeavor I've come to the conclusion that no such element $A$ exists (I can post a proof if anybody is interested but it'd be long and not worth the time for me otherwise). Does anybody have an idea for another approach I can take to this? I have no idea what else submodules of $R$ would look like. When looking at a PDF document I often want to zoom-out to scroll quickly to its contents and get an overview.  However, when I zoom-out past a certain threshold (it seems to differ per PDF) Safari thinks I want to see the tab overview:    I have never found a use for this function, so it only causes annoyance.  Can I turn this tab overview off somehow? A solution that uncouples the pinch-to-zoom gesture from the functionality would also work.  I'm on Mountain Lion 10.8.5 with Safari 6.1.3. Drawing a triangle from medians Is it possible to draw a triangle, if the length of its medians $(m_1, m_2, m_3)$ are given only?  Someone asked me this question, but I can not see it. Is it really possible?  UPDATE  Apart from the algebraic solution given by JimmyK4542, can anyone give me a direct construction?  I mean, it should sound like:     Draw a line segment sufficiently long. Cut the length of $m_1$ from it. Then $\ldots$ MTG: Sideboard if maindeck has more than 60 cards Do flight attendants prefer I press the button or walk to the back? (Long-haul flights) Iptables rules with ! character I have entered iptables rules to log a specific connection on our server, but it doesn't seem to be working as I want it to. Here are the rules:  1    LOG        tcp  -- !10.51.0.0/16         0.0.0.0/0           state NEW    tcp dpt:8040 LOG flags 0 level 4 prefix `New Connection_8040TCP: ' 2    LOG        tcp  -- !192.168.0.0/16       0.0.0.0/0           state NEW tcp dpt:8040 LOG flags 0 level 4 prefix `New Connection_8040TCP: '   Iptables should log only IP connections which are not in the specified networks, but it keeps logging all connections from all IP addresses. Linear regression prediction interval Console.WriteLine and generic List I frequently find myself writing code like this:  List&lt;int&gt; list = new List&lt;int&gt; { 1, 3, 5 }; foreach (int i in list) {     Console.Write("{0}\t", i.ToString()); } Console.WriteLine();   Better would be something like this:  List&lt;int&gt; list = new List&lt;int&gt; { 1, 3, 5 }; Console.WriteLine("{0}\t", list);   I suspect there's some clever way of doing this, but I don't see it. Does anybody have a better solution than the first block? How do I permanently allow a website to access my location? In iOS, I only need to be asked once whether I want to allow a website to share my location data. Is it possible to permanently do this in OS X version of Safari as well? Personal Hotspot not working over Wi-Fi on iOS 13 After upgrade to iOS 13 from 12.4, I noticed that personal hotspot isn't working anymore over Wi-Fi (via USB is ok).  Tested on two computers with Win7. The PC can connect to Wi-Fi, but no valid IP (IPv4) is assigned and no connection is working to internet. NSWindow Mac App Store like Title Bar Analogue of the Cantor-Bernstein-Schroeder theorem for general algebraic structures The Cantor-Bernstein-Schroeder theorem states that if there are two sets $A$ and $B$ such that there exist injective (alternatively, surjective, assuming choice I think) maps $A \to B$ and $B \to A$, then $A$ and $B$ are in bijection.  It then seems natural to try to strengthen the result to other structures.  If $A$ and $B$ are, say, groups (or rings, modules, etc) such that there are injective homomorphisms from each to the other, then $A$ and $B$ are isomorphic.  I'm wondering if there are any results on this, or if there are known counterexamples.  The theorem for sets alone is nontrivial, so I feel like any results about how it holds for other structures would be quite interesting. I've found strange behavior when closing this  - I definitely see that there are 3 closing votes and 2 of them are at "Off-topic" section:   -but there are no explanations on section itself:   -while, normally, it's expected that it will appear. In custom comments section there are also no closing-votes displayed.   Perhaps it's just my browser (which is FF 26 x64 under Win) - so marking this as a "possible bug". Thank you for your attention. Airplane ground speed and direction, given airspeed and wind An airplane heads northeast at an airspeed of 900 km/hr, but there is a wind blowing from the west at 60 km/hr. In what direction does the plane end up flying? (angle). What is its speed relative to the ground?   I drew a picture. I think I am having a hard time understanding how to solve the problem. I want to add the wind vector to the plane vector - is that as simple as 840 km/hr? After really adding the vectors together, do I do: (added vectors)cos(45)? Create veracrypt traveler disk in Ubuntu According to , it is possible to create a portable "Traveler Disk" in the application:      Tools -> Traveler Disk Setup      You can use this facility to prepare a   special traveler disk and launch VeraCrypt from there. Note that   VeraCrypt ‘traveler disk’ is not a VeraCrypt volume but an unencrypted   volume. A ‘traveler disk’ contains VeraCrypt executable files and   optionally the ‘autorun.inf’ script (see the section AutoRun   Configuration below). After you select Tools -> Traveler Disk Setup,   the Traveler Disk Setup dialog box should appear. Some of the   parameters that can be set within the dialog deserve further   explanation:   My problem is I can't seem to find Tools → Traveler Disk Setup.    Am I missing something? I want to be able to share files on this disk with people running MS Windows. Julian day of the year in Java Best way to parse RSS/Atom feeds with PHP I'm currently using  but it sometimes falls over when the RSS or Atom feed isn't well formed. Are there any other options for parsing RSS and Atom feeds with PHP? Cancelling a Schengen Visa via the Italian Consulate Is Cesaro convergence still weaker in measure? How can I count unique selections from multiple selections in a drop down list (Excel) I would like to count the number of unique selections from a column that contains multiple selections from a drop down list.  For example, column B3 contains,     Monday, Tuesday, Wednesday   The count function returns a value of 1 instead of 3 - is there any way to count the three days distinctly? Thank you!  Multiple selections from a drop down list was made possible using the VBA code from: