Finding $ \lim_{x\rightarrow 0}\frac{(1+x)^{\frac{1}{x}}-e+\frac{ex}{2}}{x^2}$ without using series expansion.
The limit of $((1+x)^{1/x} - e+ ex/2)/x^2$ as $x\to 0$
Please tell me is there any fundamental difference between the two sentences:   Even today, people continue to use cheques.  Even today, people are continuing to use cheques.    I mean is there a difference as in time period (i.e when the action starts and when it ends). Or are the two sentence just the same and interchangeable? I own a notebook running Ubuntu 16.04 with Unity DE that does not have any keyboard LEDs to indicate NUM-Lock or CAPS-Lock states.  It would be useful for me to see them anyway, ideally through an indicator in Unity's panel.   Please note that I only want to see the states of NUM-Lock, CAPS-Lock and optionally Scroll-Lock. I do not want to see whether any other modifier keys like Shift, Ctrl, Alt, Super etc. are currently pressed. I only want a replacement for my missing LEDs.  Are there any working indicators available?    I already have read , but it does not suit my needs. indicator-xkbmod only displays a wrong icon but does not react on keyboard NUM-/CAPS-Lock status changes, kbstate is for KDE only and key-mon does not show the NUM-/CAPS-Lock states but indicates key presses to modifier keys. How many arguments does a function require, and how to use that in `Manipulate` What is the best way to identify outliers in multivariate data? Suppose I have a large set of multivariate data with at least three variables. How can I find the outliers? Pairwise scatterplots won't work as it is possible for an outlier to exist in 3 dimensions that is not an outlier in any of the 2 dimensional subspaces.  I am not thinking of a regression problem, but of true multivariate data. So answers involving robust regression or computing leverage are not helpful.  One possibility would be to compute the principal component scores and look for an outlier in the bivariate scatterplot of the first two scores. Would that be guaranteed to work? Are there better approaches? Two arrays in foreach loop How to use Launchctl for schedule application I try to work with Launchctl and have a question:  How can I set up an application to run in a few minutes using Launchctl? (for example, open the program MyApp.app with arguments "hello" "world" Every 10 minutes)  I know that it can easily be done by creating Launch Agent, I looking for a way to do it using Launchctl directly to programmatically. "The queen of England's crown" or "The queen's of England crown"? Possible Duplicate:          What is the correct way of these two sentences?   The queen of England's crown The queen's of England crown   Strictly linguistically, sentence 2 should be the correct one, since the crown belongs to the queen and not to England but it sounds really awkward to pronounce. I bought my kids a PC and installed 12.04 (Unity) on it.  The bottom line is, I want my children to use the computer unsupervised while I have confidence they cannot access anything inappropriate.  What I have looked at:  I was looking at Scrubit a tool which allows me configure my wifi router to block content and this solution would also protect my other PC and mobile devices.  This may be overkill as I just want the solution to work on one PC.    I also did some Google searches and came across the application called .  My experience of OSS is that the best solutions frequently never appear first on a Google search list and in this case I need to trust the methods therefore my question is very specific.   I want to leverage your knowledge and experience to understand What is the best way to restrict adult content on 12.04 LTS as this is important to me.  It maybe a combination of things so please don't answer this question "try this or that", then give me some PPA unless you can share your experience of how good it is and of course if there are any constraints. Developing Unit Tests While Refactoring Legacy Code? Why do we have wrinkly fingers after swimming? I found an explanation for my question here , which suggests that water washes out sebum (special oil, which covers our skin) and water gets into outer layer of now unprotected skin by osmosis. This article also suggests that fingers are not really shriveled - they are water-logged. But is this right? I think I observed many times my wrinkly fingers after swimming, but I never felt that they are water-logged. Any thought on this matter would be highly appreciated. Why is it important to override GetHashCode when Equals method is overridden? Given the following class  public class Foo {     public int FooId { get; set; }     public string FooName { get; set; }      public override bool Equals(object obj)     {         Foo fooItem = obj as Foo;          if (fooItem == null)          {            return false;         }          return fooItem.FooId == this.FooId;     }      public override int GetHashCode()     {         // Which is preferred?          return base.GetHashCode();          //return this.FooId.GetHashCode();     } }   I have overridden the Equals method because Foo represent a row for the Foos table.  Which is the preferred method for overriding the GetHashCode?  Why is it important to override GetHashCode? I've got a project where I'm looking to tweak the standard lead conversion process.   Triggers and lead conversion has always been funky in past projects so I was hoping to start the design off by reviewing the order of execution, but after a long google search I'm coming up empty handed.   Anyone out there know the specific trigger order for lead conversion?    Edit: I'm not asking about trigger execution order for any object, but all the objects created in the lead conversion process.  I'd think it would be something like this:        Lead Before Update Triggers (isConverted = false, convertedAccountId = null, convertContactId = null, convertedOpportunityId = null)         Account Before Insert Triggers (not fired if merged with existing account)   Account After Insert Triggers (not fired if merged with existing account)   Contact Before Insert Triggers (not fired if merged with existing contact)   Contact After Insert Triggers (not fired if merged with existing contact)   Opportunity Before Insert Triggers (not fired if no opportunity) (OpportunityContactRoles null)   Opportunity After Insert Triggers (not fired if no opportunity) (OpportunityContactRoles = convertedContactId)   Lead After Update Triggers (isConverted = true, convertedAccountId = XXX, convertedContactId = XXX, convertedOpportunityId = XXX) Why I have this error when I try to install this old blog on my local webserver? I am pretty new to WP (I came from Joomla) and I am finding some difficulties trying to put on my local web server an old backup of a website (made using WP 3.5)  I have performed the following operation:  1) I have put the website backup into a directory named blog into my Apache www directory on my Ubuntu local system.  2) Then I have put the database backup on my MySql local server  3) Finally I have change the values in the wp-config.php file to use my local DB  The problem is that when I try to open the URL to see the website I see noting (a white screen)  Into the Apache log file (/var/log/apache2/error.log) I found the following errors messages:  [Fri Jan 10 22:04:50 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.9 with Suhosin-Patch configured -- resuming normal operations [Fri Jan 10 22:05:08 2014] [error] [client 127.0.0.1] PHP Warning:  require_once(/var/www/blog/wp-load.php): failed to open stream: No such file or directory in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:05:08 2014] [error] [client 127.0.0.1] PHP Fatal error:  require_once(): Failed opening required '/var/www/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:38:37 2014] [error] [client 127.0.0.1] PHP Warning:  require_once(/var/www/blog/wp-load.php): failed to open stream: No such file or directory in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:38:37 2014] [error] [client 127.0.0.1] PHP Fatal error:  require_once(): Failed opening required '/var/www/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:38:38 2014] [error] [client 127.0.0.1] PHP Warning:  require_once(/var/www/blog/wp-load.php): failed to open stream: No such file or directory in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:38:38 2014] [error] [client 127.0.0.1] PHP Fatal error:  require_once(): Failed opening required '/var/www/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:38:39 2014] [error] [client 127.0.0.1] PHP Warning:  require_once(/var/www/blog/wp-load.php): failed to open stream: No such file or directory in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:38:39 2014] [error] [client 127.0.0.1] PHP Fatal error:  require_once(): Failed opening required '/var/www/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:38:40 2014] [error] [client 127.0.0.1] PHP Warning:  require_once(/var/www/blog/wp-load.php): failed to open stream: No such file or directory in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:38:40 2014] [error] [client 127.0.0.1] PHP Fatal error:  require_once(): Failed opening required '/var/www/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/blog/wp-blog-header.php on line 12   Why? what could be the problem? How can I try to solve it?  Tnx  Andrea How to switch from Natbib to Biblatex in pre-made document class/template? I am using  to write my thesis. The template uses Natlib for references, whereas I really need Biblatex.   When I simply try to change \usepackage[natbib] for biblatex I get the error message  This is BibTeX, Version 0.99d (TeX Live 2016/Debian) Capacity: max_strings=100000, hash_size=100000, hash_prime=85009 The top-level auxiliary file: aagot-1-report.aux The style file: acm.bst Illegal, another \bibstyle command---line 80 of file aagot-1-report.aux  : \bibstyle  :          {acm}  I'm skipping whatever remains of this command Database file #1: Mendeleytry.bib.bib Warning--I didn't find a database entry for "" You've used 14 entries,code here   The solution  \usepackage[backend=bibtex, natbib=true, style=numeric]{biblatex}   didn't work.  Another possible solution was said to be to recompile from scratch to delete the .aux file, but that resulted in  /usr/share/texlive/texmf-dist/tex/latex/biblatex/biblatex.sty:462: LaTeX Error:  Command \bibhang already defined.            Or name \end... illegal, see p.192 of the manual.  See the LaTeX manual or LaTeX Companion for explanation. Type  H &lt;return&gt;  for immediate help.  ...                                                l.462 \newlength{\bibhang}   I have tried to use this "marco" to override the \requirePackage settings, but that also didn't work and resulted into  LaTeX Error: Two \documentclass or \documentstyle comm ands.  See the LaTeX manual or LaTeX Companion for explanation. Type  H &lt;return&gt;  for immediate help.  ...                                                l.45 \documentclass[whitelogo]{                            tudelft-report}    Where I can't seem to delete any of the document classes without getting the functionality of the tudelft-package and the biblatex citing (or in fact getting it to work at all!)  (no line number): [0] Config.pm:343&gt; INFO - This is Biber 2.5 [0] Config.pm:346&gt; INFO - Logfile is 'aagot-1-report.blg' [62] biber:290&gt; INFO - === Tue Apr 24, 2018, 22:24:06 [246] Utils.pm:165&gt; ERROR - aagot-1-report.bcf is malformed, last biblatex  run probably failed. Deleted aagot-1-report.bbl [246] Biber.pm:113&gt; INFO - ERRORS: 1   Is there any way I can still make this template work with Biblatex? Natlib seems to deeply rooted in the file and I don't know how to change it/access the settings/the ".sty"-file. Can I use the example documentclass combined with biblatex (instead of the standard natbib) without losing the great parts of the rest of the document class?  Thanks very much :) How should different sized RAM be added to iMac? I have a mid-2011 iMac which came with 4GB RAM (2x2GB). I just bought 8 GB (2x4GB) and added it to get a total of 12GB. The current configuration is as follows:    Given that the RAM is a different size, do I have the optimal locations for the different RAM chips? At the moment what I did was to simply add the 2 new sticks of RAM in the two empty slots. Fast way to copy a large file on a LAN I am having some trouble with NFS, and I'd like to try using just plain old TCP.  I have no idea where to begin, though.  Hardware-wise, I am using an ethernet crossover cable to network two netbooks.  To network them, I type  $ sudo ifconfig eth0 192.168.1.1 up &amp;&amp; ping -c 10 -s 10 192.168.1.2 &amp;&amp; sudo /etc/init.d/nfs-kernel-server start   on the first netbook and  $ sudo ifconfig eth0 192.168.1.2 up $ ping -c 10 -s 10 192.168.1.1 $ mount /mnt/network1   on the second  where /mnt/network1 is specified in /etc/fstab as  192.168.1.1:/home /mnt/network1 nfs noauto,user,exec,soft,nfsvers=2 0 0  as well as in /etc/exports (using the syntax of that file), on the first netbook.  The above works fine, but the files and directories are huge. The files average about half a gigabyte a piece, and the directories are all between 15 and 50 gigabytes.   I'm using rsync to transfer them, and the command (on 192.168.1.2) is  $ rsync -avxS /mnt/network1 ~/somedir   I'm not sure if there's a way to tweak my NFS settings to handle huge files better, but I'd like to see if running an rsync daemon over plain old TCP works better than rsync over NFS.  So, to reiterate, how do I set up a similar network with TCP?  UPDATE:  So, after a good at few hours of attempting to pull myself out of the morass of my own ignorance (or, as I like to think of it, to pull myself up by my own bootstraps) I came up with some useful facts.  But first of all, what led me on this rabbit trail instead of simply accepting the current best answer was this: nc is an unbelievably cool program that resolutely fails to work for me. I've tried the netcat-openbsd and netcat-traditional packages with no luck whatsoever.  The error I get on the receiving machine (192.168.1.2) is:  me@netbook:~$ nc -q 1 -l -p 32934 | tar xv Can't grab 0.0.0.0:32934 with bind tar: This does not look like a tar archive tar: Exiting with failure status due to previous errors   route gives:  me@netbook:~$ route Kernel IP routing table Destination     Gateway         Genmask         Flags Metric Ref    Use Iface default         dir-615         0.0.0.0         UG    0      0        0 wlan0 link-local      *               255.255.0.0     U     1000   0        0 eth0 192.168.0.0     *               255.255.255.0   U     2      0        0 wlan0 192.168.1.0     *               255.255.255.0   U     0      0        0 eth0   But, here's the good news: having the static IP addresses set in /etc/network/interfaces, which I started doing while trying to get nc working, fixed all my NFS problems and rekindled my love for NFS.  The exact configuration I used (with 192.168.1.1 for the first netbook, of course) was:  auto eth0 iface eth0 inet static address 192.168.1.2 netmask 255.255.255.0   With those settings, the two netbooks will be able to ping each other directly after being booted up, without even an ifup.  Anyway, I'd still really like to see nc in action, so I'm hoping someone help me debug this process. Is something wrong with StackOverflow's spam filter? Recently there have been huge numbers of spam topics related to football streaming. They have all been spam flagged and deleted but there are more getting posted all the time, I just flagged another 6 or so a few minutes ago. This has been going on for around 3 days now with these topics getting constantly posted over and over again in the  tag. Can a single molecule have a temperature? I'd like to loop though each feature in a layer and calculate its ellipsoidal area using QgsDistanceArea() in PyQGIS 3.  Everything works fine on unprojected layers, but I get strange results when input layer is in projected CRS.  So far I have written this:  from qgis.core import *  def calculate_area(in_lyr_name, ellipsoid, units):     input_layer = QgsProject.instance().mapLayersByName(input_lyr_name)[0]      area = QgsDistanceArea()     area.setEllipsoid(ellipsoid)      features = input_layer.getFeatures()     feature_area = 0     error_features_counter = 0      for i, feat in enumerate(features):         geom = feat.geometry()         polygon_area = 0         try:             if geom.isMultipart():                 polygons = geom.asMultiPolygon()                 for polygon in polygons:                     polygon_area += area.measurePolygon(polygon[0])             else:                 polygon = geom.asPolygon()                 polygon_area = area.measurePolygon(polygon[0])              feature_area += polygon_area          except AttributeError:  # catches NoneType geometries (broken etc.)             error_features_counter += 1             pass      # calculated area is in sq. metres (see the "else" case)     if units == 'km²':         final_area = feature_area / 1e6     elif units == 'Ha':         final_area = feature_area / 10000     else:         final_area = feature_area     return final area, error_features_counter   How do I get a constant result that does not depend on the presence of projection? How do I get started in Astrophotography?