Evaluate lim$_{n\rightarrow\infty}$ $\frac{1-2+3-4+5-...............+\left(-2n\right)}{\sqrt{n^{2}+1}+\sqrt{n^{2}-1}}$
Compute: $\lim_{n \rightarrow \infty}\sqrt{n}(A_{n+1} − A_n)$ where $A_n = \frac{1}{n}(a_1 + a_2 + \cdots + a_n)$
Command Shift Period (show hidden files) stop working On my MacBook with OS Mojave, Command Shift Period (show hidden files) stop working. How to restore it?? Thanks in advance! How to create a site in a sitecollection on a remote SPServer using C# I am currently trying to write a Dynamics CRM 2011 plugin that creates a new SharePoint 2010 site (within an existing site collection) for every account that is created. I have the code for creating a library, which uses the following methods:          private static ClientContext CreateSharePointConnection()         {             try             {                 Uri spSiteUrl = new Uri(Constants.SharePointSiteName);                 using (ClientContext spcontext = new ClientContext(spSiteUrl))                 {                     spcontext.Credentials                         = new System.Net.NetworkCredential(Constants.UserName                             , Constants.Password, Constants.DomainName);                     return spcontext;                 }             }             catch (Exception ex)             {                 throw new Exception("SharePointMethods.CreateSharePointConnection (General Exception: "                     + ex.Message + ")");             }         }  private static void CreateDocumentLibrary(ClientContext _clientContext             , string _documentLibraryName, string _documentLibraryDescription)         {             try             {                 Web web = _clientContext.Web;                 _clientContext.Load(web);                 _clientContext.ExecuteQuery();                 ListCreationInformation lci = new ListCreationInformation();                 lci.Title = _documentLibraryName;                 lci.Description = _documentLibraryDescription;                 lci.TemplateType = 101;                 List newDocumentLibrary = web.Lists.Add(lci);                 newDocumentLibrary.ContentTypesEnabled = true;                 newDocumentLibrary.Update();                 _clientContext.ExecuteQuery();             }             catch (Exception ex)             {                 throw new Exception("SharePointMethods.CreateDocumentLibrary('" + _documentLibraryName                     + "') (General Exception: " + ex.Message + ")");             }         }   So I would like to write a method CreateSite instead of CreateDocumentLibrary. However, all examples I can find on the web for programmatically creating a Site are using SPSite, SPWeb, etc. Something like this:  private static void CreateSite(string _siteName, string _siteDescription) {     try     {         SPSite site = new SPSite(Constants.SharePointSiteName);         SPWeb web = site.OpenWeb();         SPWebCollection wc = web.Webs;         string siteTemplate = web.WebTemplate;         wc.Add(Constants.SharePointSiteName, _siteName, _siteDescription, 1043, siteTemplate, true, false);     }     catch (Exception ex)     {         throw new Exception("SharePointMethods.CreateSite('" + _siteName             + "') (General Exception: " + ex.Message + ")");     } }   However this is NOT a solution for my problem, because the SPSite, SPWeb, etc. only work on the local machine and I want to create a Site from a remote (in my case CRM) server. Anyone got an idea how to solve this.  PS: Code might still contain memory leaks, so please be carful when you use it for production purposes! Difference between Loading a class using ClassLoader and Class.forName Why and how is the  of a matrix in $M_3(\mathbb C)$ fully determined by its characteristic and minimal polynomials? And why does it fail for $n &gt;3$?   Thanks. Why didn't Gimli know Moria had fallen? Here is the .  Picture:   It's nothing special but I cant figure out why I get problems rigging this mesh. It would be important and a great Help! Thanks for reading and I know there are a lot of guides answering this question but I tried all and it doesn't seem to work. '₴' is a currency sign used for the Ukrainian Hryvnia. It's in Unicode since 2004. I want to use it in spreadsheets as a sign for money values, but Google Spreadsheets doesn't understand it as a number if I add it after or before my value in the cell. How do I make Google Spreadsheets understand it's currency and display it as a number in my desired format? I recall a short lived TV show that I think was broadcast on the British TV channel ITV in the late 90s or early 2000s and it was about time travel. It was set in Britain in relatively modern times. The scene that really sticks in my head is when the protagonist goes to use their time travelling machine they go in to a room where the machine is and they close all the windows. The windows have latches on them and by closing the window it creates a circuit. By closing all the latches the circuit is complete and the machine is able to be activated. I don't know if it's much to go on, but it's been really bugging me for ages. Solving $x^3-y^3=xy+61$ in integers I'm trying to solve the following equation:  $$x^3-y^3=xy+61$$  I got:  $$(x-y)(x^2+xy+y^2)=xy+61$$  But I can't go any further. I am looking for a solution in integers.  I need some hints to proceed, please! Is empty set element of every set if it is subset of every set? This problem is from Discrete Mathematics and its Applications  My question is on 9b. I know that the sign represents an element is a member of. (from book)  I know that the O with a slash across it is the empty set which &quot;is a special set that has no elements&quot;. From , I got that the empty set is a subset of all sets, meaning that every member of the empty set(nothing) is also a member of any other set. Based on all of this, for 9b, would {0} contain the empty set because it fundamentally has the elements that consist of the empty set(nothing) or does it physically have to have the empty set? From :  Error propagation It was common to discuss the &quot;error propagation&quot; properties as a selection criterion for a mode of operation. It might be observed, for example, that a one-block error in the transmitted ciphertext would result in a one-block error in the reconstructed plaintext for ECB mode encryption, while in CBC mode such an error would affect two blocks.  I read  similar post before. And I can understand that in CBC decryption, only two blocks are affected due to error propagation (error in 1 block). But, for the same case in CBC encryption, why are still only two blocks affected? It looks like all the following blocks will be affected. $M$ connected $\iff$ $M$ and $\emptyset$ are the only subsets of $M$ open and closed at the same time I'm trying to understand this proof that:  $M$ connected $\iff$ $M$ and $\emptyset$ are the only subsets of $M$ open and closed at the same time  Which is:  If $M=A\cup B$ is a separation, then $A$ and $B$ are open and closed. Recriprocally, if $A\subset M$ is open and closed, then $M = A\cup(M-A)$. What? I know that if $M=A\cup B$ is a separation, $A$ and $B$ are both open. But why closed? Also, the 'recriprocally' part is totally nonsense to me. Anybody could help?  Also, there's another proof, which states: $M$ and $\emptyset$ are the only subsets of $M$ at the same time closed and open $\iff$ if $X\subset M$ has empty boundary, theb $X=M$ or $X=\emptyset$  which is proved as the following:  given $X\subset M$, we know the condition $X\cap \partial X = \emptyset$ implies $X$ is open, while the condition $\partial X \subset X$ implies $X$ is closed. Then, $X$ is open and closed $\iff$ $\partial X = X\cap \partial X = \emptyset$, this show $\iff$ for the theorem above.  First of all, I think that the condition $X$ has boundary empty implies that $X\cap \partial X$ is empty, but who said anything about $\partial X\subset X$? Also, where's the $\rightarrow$ of this proof? I can only see $\leftarrow$ What is the difference between UNION and UNION ALL? Quite a few of the questions given on this site mention a photon in vacuum having a rest frame such as it having a zero mass in its rest frame. I find this contradictory since photons must travel at the speed of light in all frames according to special relativity.  Does a photon in vacuum have a rest frame? How do I address unchecked cast warnings? Eclipse is giving me a warning of the following form:     Type safety: Unchecked cast from Object to HashMap   This is from a call to an API that I have no control over which returns Object:  HashMap&lt;String, String&gt; getItems(javax.servlet.http.HttpSession session) {   HashMap&lt;String, String&gt; theHash = (HashMap&lt;String, String&gt;)session.getAttribute("attributeKey");   return theHash; }   I'd like to avoid Eclipse warnings, if possible, since theoretically they indicate at least a potential code problem.  I haven't found a good way to eliminate this one yet, though.  I can extract the single line involved out to a method by itself and add @SuppressWarnings("unchecked") to that method, thus limiting the impact of having a block of code where I ignore warnings.  Any better options?  I don't want to turn these warnings off in Eclipse.  Before I came to the code, it was simpler, but still provoked warnings:  HashMap getItems(javax.servlet.http.HttpSession session) {   HashMap theHash = (HashMap)session.getAttribute("attributeKey");   return theHash; }   Problem was elsewhere when you tried to use the hash you'd get warnings:  HashMap items = getItems(session); items.put("this", "that");  Type safety: The method put(Object, Object) belongs to the raw type HashMap.  References to generic type HashMap&lt;K,V&gt; should be parameterized. I want to set a from address in a salesforce SingleEmailMessage, but can't see a way to do this and there is no standard method described in the documentation.   I want the email to be sent from doNotReply@blahblah.com, however, the email address of the user editing the record (which triggers the email send) is used as from address.  I'm using the following code:  mail.setReplyTo(fromaddress); mail.setSenderDisplayName(fromaddress);   But my code only changes the display name, not the email address.  Full code:   public static void sendSingleMail(id objId, ID templateId, string fromaddress) {      Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage();     mail.setReplyTo(fromaddress);     mail.setTemplateId(templateId);     mail.setTargetObjectId(objId);     mail.saveAsActivity = false;     mail.setReplyTo(fromaddress);     mail.setSenderDisplayName(fromaddress);      ErrLogger.logger('Email being sent to :');     ErrLogger.logger('objId found:  ' + objId);     ErrLogger.logger('templateId found:  ' + templateId);     ErrLogger.logger('fromaddress found:  ' + fromaddress);      Messaging.sendEmail(new Messaging.SingleEmailmessage[] {mail}); } Midpoint-Convex and Continuous Implies Convex My client wants me to write a formula field to return the duration(in months and days) between two date fields.  For ex:    If start date is "January 1st 2016" and end date as "December 31st 2016" then it should return value as "12". If start date is "January 1st 2016" and end date as "November 20th 2016" then it should return value as "11.67".   From the sample formulas given on the salesforce , I see that there is a formula date_1 — date_2 to calculate number of days between two dates.  But should I update the formula to (date_1 — date_2)/30 or (date_1 — date_2)/31 to get what I need?  Is this something really doable using formula or am I better off solving this using Apex? I have a mouse with lots of buttons, but it's not a mainstream make like Logitech. For Windows, I have a driver that lets me assign actions like close-window (Ctrl+W) or next-tab (Ctrl+Tab), but I don't have a Linux driver. Since Linux is so flexible, I thought perhaps there is a general way to do this, regardless of brand?  Update: Based on input from Cyrex, I installed and ran sudo apt-get install btnx which found several but not all mouse buttons. Found: left, right, wheel, wheelclick, thumb fwd, thumb back. Not found: wheel left, wheel right, thumb middle button. Vendor ID is 0x04d9, Model ID is 0xa015.  Update 2: In System>Prefs>Mouse there's a lightbulb icon for testing double-click speed. Every working button can turn the bulb on&amp;off, but the missing buttons can't. It would seem that Ubuntu isn't aware of these buttons and thus doesn't register their clicks. I guess I need to hunt for a driver, though a mainstream mouse is probably the easier way. reference overlay numbers with names