Avoiding small sliver areas and Reducing pages in ArcGIS Pro Map Series? Automating some map production.  Current high level approach:   Have user providing an Area of Interest (AOI) as a polygon extent If AOI > Threshold Area size Then  Use the origin of the AOI, create number of grids based upon PageUnit size for an A4 landscape template Then use this Grid to generate a Map Series.   Problem  There can be some pages that will only show a small 'sliver' of the intersecting AOI.  As crudely illustrated by the red rectangles in the below image:    What is a better approach to automate this kind of map production.  Make the assumption that the incoming AOI can be any size, any shape.  Scale and layout orientation are flexible.  The final multi-page map book needs to be easily understood by end-user, hence why we assumed a simple grid map would be sufficient.  I anticipate others will have encountered this issue before and found good workarounds
Optimal tiling of polygon using ArcGIS Desktop? I am trying to tile a polygon with a minimal number of fixed sized squares.  Currently I am creating a fishnet over my polygon then spatially joining the squares that intersect the polygon. This is not optimal.  Also note the squares can be shifted vertically/horizontally but not rotated.  My end goal: The polygon represents a clipped image and I want a tiling of the clipped image. Where each tile is 300px by 300px. Some overlap is fine if that makes the problem easier.  Current    Manually optimized    Are there any tools or algorithms that would help with this? I am proficient with Python and ArcMap.  The polygon was created from line features so I also have access to those segments. Maybe that would will help for generating the squares.  The entire polygon must be covered.
How to align content of a div to the bottom Say I have the following CSS and HTML code:    #header {   height: 150px; } &lt;div id="header"&gt;   &lt;h1&gt;Header title&lt;/h1&gt;   Header content (one or multiple lines) &lt;/div&gt;     The header section is fixed height, but the header content may change.  I would like the content of the header to be vertically aligned to the bottom of the header section, so the last line of text "sticks" to the bottom of the header section.  So if there is only one line of text, it would be like:   ----------------------------- | Header title | | | | header content (resulting in one line) -----------------------------   And if there were three lines:   ----------------------------- | Header title | | header content (which is so | much stuff that it perfectly | spans over three lines) -----------------------------   How can this be done in CSS? Finding singularities of a complex function and the respective residues Consider the function,   $$f(z) = \frac{\sin(\frac{1}{z})}{z^2+a^2} \text{ where } a&gt;0$$  I know that this has two simple poles at $z = \pm ia$ and an essential singularity at $z = 0$ because of $\sin(\frac{1}{z})$ in the numerator. For $\operatorname{Res}(f,ia)$ and $\operatorname{Res}(f,-ia)$, it is relatively easy to find the these values using   $$a_{-1} = \lim_{z\rightarrow z_0} ((z-z_0)f(z))$$  However, I am finding it much more difficult to determine the residue at an essential singularity.  From what I have read, it seems that the easiest way to determine the residue is to explicitly find the Laurent Expansion and then get it from there. Would this be the case for this function as well? Ways to update Ubuntu (debian-based distros) offline What is the easiest way to update/upgrade an offline Ubuntu machine with the help of a Windows machine that has internet access?  This question also applies to installing new packages offline and not only updates/upgrades.  The Linux system shall remain completely cut off from the Windows machine, meaning there should be no ethernet connection or the likes between the two computers.  Update:  Please have patience, since I haven't updated this since two weeks. There are some complications getting apt-offline to work properly on Lubuntu and all other methods seem to be too old and deprecated:  AptOff - last update 2006 AptMedium - last update 2007 Keryx - last update 2011, looks like this project was discontinued  I hope I will be able to somehow update the offline machine, finally.  While I was still not able to update/upgrade the offline system due to authentication errors, I accepted an answer, because it's taking too long. Difference between ref and out parameters in .NET Let $\Gamma$ denote the positively oriented circle of radius $2$ with center at the origin. Let $f$ be an analytic function on $\{z \in\mathbb{C} : |z|&gt;1 \}$, and let $$\lim_{z\to \infty}f(z)=0.$$  Prove that $$ f(z)=\frac{1}{2\pi i} \int_{\Gamma} \frac{f(\xi)}{z-\xi}d\xi,  $$ for all $z\in\mathbb{C}$ with $|z|&gt;2$.  I have no idea how to even start. Any hint will be appreciated. Which is the easiest way to evaluate $\int \limits_{0}^{\pi/2} (\sqrt{\tan x} +\sqrt{\cot x})$? How to find the number of anti-symmetric relations? Is [Its'] a word? (Note the apostrophe at the end.) I just had a strange flashback to a conversation I had when I was in high school, with a man who was regarded by many members of a particular online community as having an impressive degree of knowledge of the English language.  The conversation centered on a claim this man made that I found very difficult to accept. I had made some remark involving the difference between it's and its (a distinction which I trust is quite well-known to the majority of users on this site), to which he had contributed, mostly phrased as an amusing aside, that there was one more word I hadn't mentioned: its', with the apostrophe at the end.  I originally thought he might have been joking, but we ended up debating this rather fervently. I seem to recall that I kept demanding he use the word in an example sentence, but he either could not or refused to do so. Yet he maintained that it is a word.  Is this true? I must concede I haven't put a lot of thought into it just now; but at the time, I was perplexed by the very suggestion that it could be a word (what could it mean?), and at the moment I can't really think of any scenario where it would make any sense. Dashed line and Wireframe I usually prefer to fix a Linux system than to reinstall from scratch. My computers have seen many distribution upgrades and a list of PPAs or third-party repositories. APT usually makes sure that everything works in the end. However, the fact that the package manager thinks that all required packages are 'installed' does not guarantee that all the files are present on the file system.  Such a such situation may occur if you have to work-around dependency problems with dpkg --force-*. One could also reproduce such a situation by deleting a file from /usr as root.  Is there a simple way to verify whether all files belonging to an installed package are present?  If a such a problem package is found, aptitude reinstall fixes the problem. The repository 'http://dl.google.com/linux/chrome/deb stable Release' does not have a Release file After executing this command  sudo apt-get update &amp;&amp; sudo apt-get -y upgrade   I get this error  W: The repository 'http://dl.google.com/linux/chrome/deb stable Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details.   I've seen past inquiries on same issue but the answers given are specific to other repositories.  Any help will be appreciated. I was given a MySQL database file that I need to restore as a database on my Windows Server 2008 machine.  I tried using MySQL Administrator, but I got the following error:     The selected file was generated by   mysqldump and cannot be restored by   this application.   How do I get this working? Windows 10 changes UEFI boot order every time I have an HP 500-413nl (a desktop) and Windows 10 keeps changing the boot order in UEFI/BIOS every time, so that if I want to boot Ubuntu 16.10 (64-bit) I always have to press F10, thus entering the BIOS setup and changing boot order…  Is there a workaround for my PC? What should I do? I'm a little desperate.  P.S.: I have already disabled "Secure boot" and "Fast/quick boot" in the BIOS and "Fast startup" in Windows options / Control panel. What is the name of an 80s TV movie where a man acquires endurance powers and quick self-healing ability after a crash with a vehicle containing radioactive material? Is it possible to recover an email that has been clicked "delete forever" in the trash folder? Is it possible to recover an email that has been clicked on "delete forever" in the trash folder? I have accidentally clicked delete forever for an email but now I need to recover it. Making 3 points stick on a plane / flag with wind I have a flag I want to waft in the wind. I imported the shape as an SVG from Adobe Illustrator.  I converted the mesh to a curve.  It wouldn't let me make some subdivisons but it still seems to work with the cloth property.    When I press play, you can see the structure of the flag stops.  How can I make those last 3 points intact? Also the fill colour seems to have disappeared, do you know why and how I can bring it back?    Thanks  Steve  File here: Assessing approximate distribution of data based on a histogram How to handle :java.util.concurrent.TimeoutException: android.os.BinderProxy.finalize() timed out after 10 seconds errors? chown as non-root user How do I tell Maven to use the latest version of a dependency? In Maven, dependencies are usually set up like this:  &lt;dependency&gt;   &lt;groupId&gt;wonderful-inc&lt;/groupId&gt;   &lt;artifactId&gt;dream-library&lt;/artifactId&gt;   &lt;version&gt;1.2.3&lt;/version&gt; &lt;/dependency&gt;   Now, if you are working with libraries that have frequent releases, constantly updating the &lt;version&gt; tag can be somewhat annoying. Is there any way to tell Maven to always use the latest available version (from the repository)?