My DEM raster coordinates are in WGS84: 45.4763884,-121.5736061 and vertical units are in feet I believe. I want to do a slope analysis.  Do I need to add scale factor?  I have been seeing different answers all over and am confused.
After the DEM creation, I wanted to create slope layer.   However, the result has not satisfied me. I don't think the slope map is correct. Have you ever encountered false calculated terrain map?  This is the DEM:    And this is the slope layer.
How do I profile memory usage in Python? I've recently become interested in algorithms and have begun exploring them by writing a naive implementation and then optimizing it in various ways.  I'm already familiar with the standard Python module for profiling runtime (for most things I've found the timeit magic function in IPython to be sufficient), but I'm also interested in memory usage so I can explore those tradeoffs as well (e.g. the cost of caching a table of previously computed values versus recomputing them as needed). Is there a module that will profile the memory usage of a given function for me? How do you add tags to blocks so they can only be placed on 1 type of block? Proving orthogonality of vectors in a complex vector space I'm taking a course in Real Analysis and have come across the following question which I initially thought looked quite simple:  Let $X$ be an inner product space over $\mathbb{K}$ ($\mathbb{K} = \mathbb{C}$ or $\mathbb{R}$) Show that x and y are orthogonal if and only if $||\lambda x  + \mu y||^2 = ||\lambda x||^2 + ||\mu y||^2$ for all $\mu, \lambda \in \mathbb{K}$.  I have proven the statement in one direction (starting with orthogonality and ending up with $||\lambda x  + \mu y||^2 = ||\lambda x||^2 + ||\mu y||^2$). However, I seem to be getting stuck trying to go in the other direction. The following is what I have so far:  $||\lambda x  + \mu y||^2 = ||\lambda x||^2 + 2\bar{\lambda}\mu Re&lt;x,y&gt; + ||\mu y||^2$  Then we must have 2$\bar{\lambda}\mu Re&lt;x,y&gt; = 0$ for the desired equality to hold, and so $Re&lt;x,y&gt; = 0$.   However, for orthogonality I want $&lt;x,y&gt; = 0$ and can't see how I can make this next step.  Any help would be greatly appreciated. Understanding shape and calculation of confidence bands in linear regression Where to get 2010 Census Block data? I would like to download 2010 Census Block Data for several towns and I can't seem to find it on American Factfinder.   Is it there? And if not, does anyone know where I could find it? Cannot remove block comment in Eclipse after formatting What's a recommended alternative to Quickbooks pro? I've just installed Ubuntu to replace Windows. I can't seem to find a good alternative to  to run on Ubuntu. Any help would be appreciated. Who is sample No. 118 in The Case of Charles Dexter Ward? In H. P. Lovecraft's The Case of Charles Dexter Ward, Dr. Willett      Enters Joseph Curwen's dungeon and resurrects a dead person identified as No. 118 by reciting the incantation of the Ascending Node over his salts.   Dr. Willett is told by      The resurrected Joseph Curwen, impersonating Charles Dexter Ward, who he secretly murdered,   that   " 'twas Number 118, and I conceive you would have shook had you looked it up in my list in t'other room."  No. 118 himself gives Dr. Willett a note asking the doctor to      kill Joseph Curwen.   It soon becomes clear that No. 118 is opposed to the nefarious dealings that have been transpiring and desirous of being an ally of Dr. Willett.  Who is No. 118?  Earlier in the story,      The grave of Ezra Weeden, a primary instigator in Joseph Curwen's initial downfall and the romantic rival of Curwen, is robbed. There doesn't seem to be any other mention of Weeden in the 20th century occurrences, so without a further connection the passage seems superfluous.   The shared goals of these two people seem to indicate that No. 118 may, in fact, have been that person, but the      Note given by No. 118 to Dr. Willett in eighth century Latin seems to indicate someone much older than Ezra Weeden.   It also occurred to me that No. 118 could be      The recently murdered Charles Dexter Ward himself. Ward's reference to killing Dr. Allen (who is actually an alias of Curwen) and dissolving his body with acid and No. 118's mention of doing the same to Curwen seem to support the idea, but that still doesn't explain the archaic note. Ward is described as writing in a somewhat modern style, at least as opposed to Curwen. It also doesn't explain why Curwen would want to murder Ward if he was going to resurrect him later anyway. If $z_n \to z$ then $(1+z_n/n)^n \to e^z$ We are dealing with $z \in \mathbb{C}$. I know that $$ \left(1+ \frac{z}{n} \right)^n \to e^{z} $$ as $n \to \infty$. So intuitively if $z_n \to z$ then we should have $$ \left(1+ \frac{z_n}{n} \right)^n \to e^{z}. $$ If $z_n \in \mathbb{R}$ I would be happy writing $$ \exp \left(n \log\left(1+ \frac{z_n}{n} \right) \right) = \exp \left(z_n \frac{\log\left(1+ \frac{z_n}{n} \right)-\log(1+0)}{\frac{z_n}{n}-0} \right) \to \exp(z \cdot 1) $$ where here we are using the definition of derivative. But if $z \in \mathbb{C}$ the logarithm is multivalued and I'm not sure that the same calculation is allowed. Is there a different way to show this for complex $z$? Terminal flashes on empty backspace with Yosemite Since using Yosemite, I've had the annoying problem of my current Terminal window flashing when backspacing on an empty line. I know on previous versions of OS X this flashing was not default, and could be toggled in accessibility settings, but I cannot find the same setting and I'm dying to get this turned off. Any known ways to get rid of it? I was trying to install Teamviewer, but I was getting a dependency error. I tried to install the required packages, but with no luck.  I'm getting this error:  Unpacking teamviewer (from teamviewer_linux_x64.deb) ... dpkg: dependency problems prevent configuration of teamviewer:  teamviewer depends on lib32asound2; however:   Package lib32asound2 is not installed.  teamviewer depends on lib32z1; however:   Package lib32z1 is not installed.  teamviewer depends on ia32-libs; however:   Package ia32-libs is not installed.  dpkg: error processing teamviewer (--install):  dependency problems - leaving unconfigured Errors were encountered while processing:  teamviewer   I tried   sudo apt-get -f install   Getting   Package ia32-libs is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it:   lib32z1 lib32ncurses5 lib32bz2-1.0  Package lib32asound2 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'lib32asound2' has no installation candidate E: Package 'ia32-libs' has no installation candidate   I can't even get to the   sudo dpkg -i teamviewer_linux_x64.deb   If I force installation  sudo dpkg --force-depends -i teamviewer_linux_x64.deb   Although it's "Setting up Temviewer" it gives me this:    How can I fix this problem? I'd like to use a background image for my world, but I'm not sure how to do it.   Right now I am using the sun as a lightpoint and it looks like sky and a flat plane (not realistic). I was thinking of just using a mountain background image for the world.  I've done that through textures etc. but I don't see ANYTHING in render even though it shows in worlds?  What am I doing wrong?    Also what's a cheap quick fix for cases like mine so it looks like the world isn't JUST blue sky?  Thanks guys! Generics and inheritance: need a complex Map instance I recently got the book "selected problems in real analysis", and I'm stuck solving the very first problem  $(u_n)$ is a binary sequence iff it only contains $0$ and $1$ in the sequence  Let $A$ be the set of all binary sequences  I have to prove that $A$ and ${2}^{\mathbb{N}}$ have the same cardinality, that is to say there exists a 1-1 function from one set to another  I've thought about maybe considering integers as base-2 numbers  Thanks for your help How to remove uninstalled wine app icons from unity dash? I tried to log into Minecraft today to find that my password isn't working. I tried to change it, but I can't login to my email because I forgot the answer to my security question. I tried changing the email to a different one, but that didn't work for some reason (it kept saying "invalid email"). I don't have my transation ID because I forgot which credit card I used.  Does this mean that I have to buy a new Minecraft account? Message appearing when a user was removed.     It seems I lost 1765 reputation points on Stack Overflow yesterday. The reason given in my history is "removed", with the description of "User was removed ()". I don't understand what that means. What caused this? What is the derivative of this? I have a function of the following form:  $J = \|W^TW-I\|_F^2$   Where, $W$ is a matrix and $F$ is the Frobenius Norm.  How can I find the derivative of $\frac{\partial J}{\partial W}$ ? Suppose $f$ and $g$ are continuously differentiable functions such that $f(x) = g'(x)$ and $g(x) = f'(x)$ and that any product of $f, f', g$ and $g'$ is commutative for all $x ∈ R$. Show that $ f^2 − g^2 = C $ for some real constant C  I have actually no clue how to solve this, and would be really greatfull for all the help i can get Let $X_n$ be iid random variables with $P(X_n=(-1)^kk)=\dfrac{C}{k^2\log k}$ for all $k\geq 2$. Here $C$ is just a constant so that the sum of probabilities is $1$. Find constant $\mu$ such that $S_n/n\to \mu$ in probability where $S_n=\sum_{k=1}^nX_k$.   Here $E(X_n)=\infty$. I'm a bit lost after this. In general how does one find constants like this?