Is there any difference between  &lt;a href="javascript:void(0)"&gt;Link&lt;/a&gt; &lt;asp:Button ID="btn" runat="server" OnClientClick="return Function()" OnClick="btn_Click" Text="Button" /&gt;   and  &lt;a href="javascript:void(0);"&gt;Link&lt;/a&gt; &lt;asp:Button ID="btn" runat="server" OnClientClick="return Function();" OnClick="btn_Click" Text="Button" /&gt;   ?  (The ; after the JavaScript is the difference - does this have any effect on any specific browsers or anything?)
In many situations, JavaScript parsers will insert semicolons for you if you leave them out. My question is, do you leave them out?  If you're unfamiliar with the rules, there's a description of semicolon insertion on the . Here's the key point:     If the first through the nth tokens of a JavaScript program form are grammatically valid but the first through the n+1st tokens are not and there is a line break between the nth tokens and the n+1st tokens, then the parser tries to parse the program again after inserting a virtual semicolon token between the nth and the n+1st tokens.   That description may be incomplete, because it doesn't explain @Dreas's example. Anybody have a link to the complete rules, or see why the example gets a semicolon? (I tried it in JScript.NET.)   is related, but only talks about a specific scenario.
How to effectively close a page? How to prove this limit exists: $a_{n+2}=\sqrt{a_{n+1}}+\sqrt{a_{n}}$ Question: Consider a sequence $\{a_{n}\}$ such that $a_{1},a_{2}&gt;0$, and for all $n \in \mathbb{N}$ we have:  $$a_{n+2}=\sqrt{a_{n+1}}+\sqrt{a_{n}}$$  Prove that :  $\displaystyle\lim_{n\to\infty}a_{n}$ exists and find this limit.  My work: If this limit exists, let $\displaystyle\lim_{n\to\infty}a_{n}=x&gt;0$; then we have $$x=\sqrt{x}+\sqrt{x}\Longrightarrow x=4$$ But I can't see how to prove the limit of $\{a_{n}\}$ exists. Thank you for you help! What do you call snow that has collected between a car body and the tire? So the first picture is right after I selected where I will cut, and the second picture is after pressing Enter/Space Bar which should apply my previous result to the world. But it is not what I asked blender for, and it tries to snap at vertices. In the tutorial video, it seems that I can cut edges without already existing vertices but it is not the case for me. How do I change this? Pokemon keep running away and Pokestops don't drop anything when spinning. What is going on? What hinge is this? Bit of a newbie to DIY here.  We've moved in to a house that came with a summer house but the double doors were a bit wonky/wouldn't open easily without breaking in the door. I need to get 4 new hinges for the doors but I'm not sure where I can find these ones. I've looked online on UK sites such as Screwfix but as I'm not sure of the particular name I'm not having much luck.  I've attached a drawing (sorry it's the best I can do as my camera isn't working). My Paint skills aren't the best, it's actually a cylinder shape and half of it spins/moves (this is what is broken/doesn't move anymore so it breaks in to the door).    Cheers, Jack What is the difference between a "link function" and a "canonical link function" for GLM What's the difference between terms 'link function' and 'canonical link function'? Also, are there any (theoretical) advantages of using one over the other?  For example, a binary response variable can be modeled using many link functions such as logit, probit, etc. But, logit here is considered the "canonical" link function. Is SO/SE about to be sold (and does that explain recent events)? My laptop (running Win10) repeatedly "steals" the bluetooth connection for my headphones while they're connected to my phone. The only way I've been able to prevent the headphones' connection from switching to the laptop is to play some media or make a phone call immediately after reconnecting to my phone, or to unpair the headphones from the laptop.  The headphones are Plantronics Backbeat Go 2, and the specifications from the Plantronics product page give the following information for the Bluetooth entry:      Bluetooth v2.1:   A2DP 1.2, AVRCP, HFP v1.5, HSP v1.1   Thanks in advance! The email for getting notifications can be changed by clicking the "preferences" tab in your profile. After entering a new email address, the "Save email settings" button becomes clickable:    Clicking the button turns it grey:    So all looks well. But if you don't confirm the email by clicking on the link sent to your email inbox, the next time you go back to the preferences, you will see your old email address with no indication that it changed.  You can subscribe to the weekly newsletter from the "edit" tab of your profile. If you click the option and save, the next time you visit the edit page before confirming your email you get this message:    Once you confirm the email, the resend link disappears so you know the subscription is set up:    Ideally, the two systems would be unified so that all email subscriptions happen the same way. But short of that, it would be very helpful to indicate that an email address is unconfirmed for notification emails just like newsletters. $\operatorname{Ext}$ and injectives, respectively projectives Recursivly Deleted Root Directory I recursively deleted the contents of my root directory with sudo privileges. My display reset, and windowing stopped working. I could no longer run non-buitin commands. Most of my directories (including the home directory disappeared).  What I meant to run:  sudo rm ./* -rf   What I believe I ran:  sudo rm /* -rf   I understand how this command works (see ).  I'm trying to get a better sense of how much (and what parts) of the original files and directory-structure physically remains on the hard-drive.  How much of these "remains" are recoverable? E.g is it possible to use data recovery software like TestDisk/PhotoRec to recover the full home dir itself? What about config files? I just learned about the C++ construct called "placement new".  It allows you to exactly control where a pointer points to in memory.  It looks like this:   #include &lt;new&gt;        // Must #include this to use "placement new"  #include "Fred.h"     // Declaration of class Fred   void someCode()  {    char memory[sizeof(Fred)];    void* place = memory;     Fred* f = new(place) Fred();   // Create a pointer to a Fred(),                                   // stored at "place"     // The pointers f and place will be equal     ...  }    (example from ) In this example, the this pointer of Fred will be equal to place.    I've seen it used in our team's code once or twice.  In your experience, what does this construct enable?  Do other pointer languages have similar constructs?  To me, it seems reminiscent of equivalence in FORTRAN, which allows disparate variables to occupy the same location in memory. How do I show this $\cos^2(\arctan(x))=\frac{1}{1+x^2}$ How do I show this?  $$\cos^2(\arctan(x))=\frac{1}{1+x^2}$$  I have absolutely no idea. Thank you. Cannot refer to a non-final variable inside an inner class defined in a different method Appropriate data transformation How to customize the ubuntu gnome 3 desktop? This is maybe a stupid question, but how can I choose my own background image on ubuntu gnome 3?? I click on Settings -> Background -> then I click on the current background preview to change it but I see only the defaults images! No + symbol to add or something. On the 'Pictures' tab there is nothing to select, I get an empty white page? I am running ubuntu gnome 13.04 3.9.6-030906-generic.  Thanks! System file windows open behind Unity launcher I'm on Ubuntu 16.04.1 at the moment, and system windows like the Files window, Terminal or System Software open behind the Unity launcher, which means they are partially hidden behind it. I can move them with Alt+F7, but I'd like a more permanent solution to this problem. Is there a way to get the path for the assembly in which the current code resides?  I do not want the path of the calling assembly, just the one containing the code.   Basically my unit test needs to read some xml test files which are located relative to the  dll.  I want the path to always resolve correctly regardless of whether the testing dll is run from TestDriven.NET, the MbUnit GUI or something else.  Edit: People seem to be misunderstanding what I'm asking.  My test library is located in say      C:\projects\myapplication\daotests\bin\Debug\daotests.dll   and I would like to get this path:     C:\projects\myapplication\daotests\bin\Debug\   The three suggestions so far fail me when I run from the MbUnit Gui:   Environment.CurrentDirectory gives c:\Program Files\MbUnit System.Reflection.Assembly.GetAssembly(typeof(DaoTests)).Location gives C:\Documents and Settings\george\Local Settings\Temp\ ....\DaoTests.dll System.Reflection.Assembly.GetExecutingAssembly().Location gives the same as the previous. Why does the buffer take up whole screen? I am trying to create buffers around the Hurricane Sandy path I created in QGIS (points are lat/long).   I have both points from each day she was tracted and the line I created from it with Points2One.   When I go to make buffers around either the line or the points, the buffer takes up the whole screen. Its all just one color.   I have made buffers before but from data I did not create.   Right now all of my projections are set to WGS 84 EPSG 4326.