Does windows 7 supports svg rendering? I am having windows 7 OS and IE11 browser. IE11 will support svg so that we have checked the condition as below   var svgSupport = (window.SVGSVGElement) ? true : false;         if (svgSupport) {          //svgrender;        }         else{          //vmlrender        }   but vmlrendering is happening because window.SVGSVGElement is false. i want the svg render to take place as i am having iE11 browser. IS there any best way to detect the svg and vml? and why window.SVGSVGElement is false in windows 7?  Thanks in Advance
How do you detect support for VML or SVG in a browser I'm writing a bit of javascript and need to choose between SVG or VML (or both, or something else, it's a weird world). Whilst I know that for now that only IE supports VML, I'd much rather detect functionality than platform.  SVG appears to have a few properties which you can go for: window.SVGAngle for example.  Is this the best way to check for SVG support?  Is there any equivalent for VML?  Unfortuntaly - in firefox I can quite happily do all the rendering in VML without error - just nothing happens on screen. It's quite hard to detect that situation from script.
How can I detect if I'm in a subshell? Why does my DIY "solar panel circuit" show battery voltage and not solar panel voltage? When should I use double or single quotes in JavaScript? console.log(&quot;double&quot;); vs. console.log('single'); I see more and more JavaScript libraries out there using single quotes when handling strings. What are the reasons to use one over the other? I thought they're pretty much interchangeable. Is it possible to apply modifiers to multiple objects at once? Algebraic closure of $\mathbb{C}(x)$ is isomorphic to $\mathbb{C}$ Let $x$ be transcendental over $\mathbb{C}$. Let $K$ be the algebraic closure of $\mathbb{C}(x)$. How to show that $K$ is isomorphic to $\mathbb{C}$? Doubts on the axiom of union? I'm reading Guerino Mazzolla's Comprehensive Mathematics for Computer Scientists 1:     Axiom 3 (Axiom of Union) If $a$ is a set, then there is a set      $$\{x| \text{ there exists an element } b \in a \text{ such that } x\in b \}$$      This set is denoted by $\cup a$ and is called the union of $a$.    This axiom seems to take elements from inside of a set of sets, for example in the set: $a=\{\{u_1,u_2 \},\{u_3,u_4 \} \}$, there are two elements $b\in a$, then the mentioned set created by the axiom is $\{u_1,u_2,u_3,u_4 \}$.           The axiom seems to imply that the set $a$ must have a set inside of it for it to work, what if it  have an element that is not a set? (I'm not sure if this is possible, but I remember of having read something about the difference of sets and elements).         There's also an extension of my proposal, In the same book (and also in others) I've seen that the natural numbers are defined as:   $$\begin{eqnarray*}   {0}&amp;=&amp;{\emptyset} \\    {1}&amp;=&amp;{\{\emptyset\}} \\    {2}&amp;=&amp;{\{ \{\emptyset\}\}} \\    {3}&amp;=&amp;{\{ \{ \{\emptyset\}\}\}} \\   {\vdots}&amp;=&amp;{\vdots} \end{eqnarray*}$$  Then the singleton $\{ 3\}$ could be seen as $\{ \{ \{ \{\emptyset\}\}\}\}$, which could mean that   $$\cup \{ 3 \}=\cup\{ \{ \{ \{\emptyset\}\}\}\}= \{ \{ \{\emptyset\}\}\}=\{2 \}$$          Then the union could also be seen as the antecessor of a number?            Using the framework I provided, I see some ambiguity, look:   $$\{ \{ \{\emptyset\}\}\}=\{2 \}$$          I decided to interpretate it this way, but from the notation it's not clear in which pair of brackets I should stop, I guess that $\{ \{ \{\emptyset\}\}\}=\{2 \}$ but it could also be the case that $\{ \{ \{\emptyset\}\}\}=3$. I could want a singleton with a $2$ inside of it and a $3$ outside a set, no? Looking for a short story about an artist and a forger Back in the late 1970s to early 1980s, I read a short story about an artist and a forger.  Between the two of them, they managed to start a revolution that brought down a corrupt dictatorship.  It was science fiction:   The dictatorship was interplanetary, maybe interstellar.   The artist used some kind of advanced technology to make his art works.   Plot:  The artist is one of the best (if not the best) at what he does.  The dictator wants the artist to make what amounts to a family portrait in whatever medium it is he works in.  Think of it like painting - you create the image manually (not a photograph) but it is much more than just a flat image.    The artist doesn't like the dictator - maybe on general principles, maybe because he knows the dictator personally - and refuses to make the "portrait."  The dictator has the artist arrested, and will only let the artist free again if he makes the portrait.  The artists makes the portrait.  He does the work while in the prison or jail.  That's where the forger comes into things. The forger is also in jail for something or other.  The forger makes copies of art works.  He of course recognizes the artist, and knows what the artist works with.  The forger can somehow see what the artist is working on.  The artist finishes the portrait.  At first the dictator is thrilled.  It looks exactly the way he wanted it.  As time goes by, though, the people looking at the picture see that it represents the vileness and corruption of the dictator.  The more you look at it, the more of the evilness of the dictator you see in it.  That is the genius of the artist, and whatever medium he is using.  Once you notice the hidden levels of the portrait, you can't unsee them and you see more and more of it as you look.  I think the effect carries over into reality as well.  Once you've seen the dictator's corruption in the portrait you also begin to see it in the dictator and his works as well.  This of course seriously pisses off the dictator, who has the artist killed and the portrait destroyed.  While in prison, the forger watched as the artist created his masterpiece, and recognized it for the subversive thing it is.  He also recognized it as the ultimate rebellion from the artist - the artist knows what will be seen, and that he will be killed for it.  All of that inspires the forger to do something more meaningful with his life than make forgeries for the money.  The forger is released from prison.  He saw the completed portrait, and knows how it was made.  He begins making forgeries of the portrait - like, hundreds if not thousands of them.  These are distrubuted throughout the nation/empire.  The people realize what evil is controlling them once they see it in the copies of the portrait, and eventually a revolution rises and brings down the dictatorship.  It was probably older than the 1970s.  I expect earlier than 1960.  Any ideas? Turning a cipher into a hashing function Using MySQL with Entity Framework I`m using Firefox Sync on a bunch of computers.   I would like to manage my account, by removing some computers. I can't find the place to do this, it should be on the Firefox Sync page, but the official page only has the privacy and download information. What's the difference between a microcontroller and a microprocessor? If I know $\| f_n - f \|_{L^p(\mathbb{R})} \to 0$ as $n \to \infty$, do I know that $\lim_{n \to \infty}f_n(x) = f(x)$ for almost every $x$? Make links posted by users open in a new window Most of the time when I follow a user's link, I just want to see their site, look it over, then return to answer their question (not leave SO completely and not come back). Could we make the links users post open in a new window please?  EDIT: I originally wanted this implemented because it's what some other sites did, but I now definitely prefer SO's way. If I want to open a new tab, I middle-click/control-click (or whatever); if not, I just click. I'm in control of what happens. Would never want to go back now. Is the Ratio of Associative Binary Operations to All Binary Operations on a Set of $n$ Elements Generally Small? I started thinking about the number of associative (binary) operations on a set with $n$ elements today.  Looking online I found  which indicates only $113$ of the possible $19,683$ operations on a three-element set satisfy association.  So, $50\%$ of binary operations on a two-element set satisfy association, and less than $0.6\%$ of all binary operations on a three element set satisfy association.  For an $n$-element set, where $n$ denotes a natural number, is the ratio $R_{n}=A_{n}/B_{n}$, of the number of associative binary operations $A_{n}$ to the number of all binary operations $B_{n}$, in general small?  I don't mean the following questions as equivalent, but since they seem more concretely answerable in principle, does   $$ \lim_{n \to +\infty} \frac{A_{n}}{B_{n}} = 0 ? $$       Also, is $F : n \to R_{n}$ a monotonically decreasing function?  Some Background of the Question: In his Linear Algebra Problem Book 1995 on p. 6 Paul Halmos writes "The commonly accepted attitudes toward the commutative law and the associative law are different.  Many real life operations fail to commute; the mathematical community has learned to live with that fact and even to enjoy it.  Violations of the associative law, on the other hand, are usually considered by specialists only."  For all I know, Halmos might only have written that to motivate the study of Linear Algebra and doesn't quite literally mean what he appears to say.  But, if he means what he appears to say, and if $F : n \to R_{n}$ is monotonically decreasing, or $R_{n}$ is generally small, I think there's something amiss with what Halmos says, since non-associative operations seem so common that one may as well enjoy them. Suppose we have a set  $S=\{a,b\}.$ Obviously, the total number of binary operations on $S$ is the number of all the pairs such that $$*(a,b)=a \, \text{or}  \, b,$$ which gives  $ 2 \cdot 2 \cdot 2 \cdot 2=2^4$ possible ones. Is there a way to find which of these $16$ binary operations are associative without writing all the operation matrices and checking it by hand? 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? Reputation widget failure on Android The title says it all. When I try to place the reputation widget on my home screen, I get this:  When I try again, I get this error, presumably because the Stack Exchange service has stopped.  Is this a bug? If so, where should I report it?  I am running Android 5.1 armeabi on a DigiLand DL718M tablet. xcode4 doesn't support Perforce? How do I upgrade to a newer version of Ubuntu? Using sObject.get() to fetch a field value from a related parent object I have a contact in a generic sObject in apex and while I'm able to easily get detail field values using   sObject.get('MyContactField__c')  I'm not able to get fields off the related parent object, and I'm sure the related field is in memory, based on the debug logs. This returns a runtime error:  sObject.get('Account.MyAccountField__c')  with the error     Invalid field Account.MyAccountField__c' for Contact   How do I get a field value off of a parent on a generic sObject?