Fixing Raster Calculator Error 000539 ImportError: No module named numpy?

I've created 4 hillshades for a particular area to represent the 4 seasons in a year. The equation I now need to use to determine solar insulation is 1000*hillshade/255 in raster calculator. However, I keep getting this error:     Messages   Executing: RasterCalculator "(1000 * "Spring_HS") / 255" "E:\Geog 170\Lab 2\DEM\spring_insul"   Start Time: Sat Apr 11 09:44:25 2015   (1000 * Raster(r"Spring_HS")) / 255      ERROR 000539: Error running expression: rcexec()    Traceback (most recent call last):     File "", line 1, in      File "", line 2, in rcexec     File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy__init__.py", line 24, in        from arcpy.toolbox import *     File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\toolbox.py", line 356, in        from management import Graph, GraphTemplate     File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\management.py", line 22, in        import _management     File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy_management.py", line 14, in        import _graph     File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy_graph.py", line 27, in        import numpy   ImportError: No module named numpy   Failed to execute (RasterCalculator). Failed at Sat Apr 11 09:44:25 2015 (Elapsed Time: 0.12 seconds)    I'm not entirely sure what the error message means, but a few people, it seems, determined that it is due to an issue with the raster calculator and arcpy. Please help me to solve this issue or find some kind of work around. Additionally, as a student, it would be great if we could also try to dissect this issue so that I may better understand just what the heck is going on.    It seems that the error code being put out is referring to an issue importing something called "numPy". Here is a  of this question with a slew of different solutions than the solution found in this thread.


What happens, if a rocket is filled with a vacuum instead of high pressured air?

Suppose you put wheels under a compressed air tank    so that it can move horizontally to the right and to the left. Suppose there is a nozzle on the right hand side of the tank (in the picture on the backside, if you like).  If the tank is filled with high pressured air and you open the nozzle, the tank will move to the left. This is how rockets work and one can easily imagine that.   What happens when the tank is filled with a vacuum and you open the nozzle?  My first impression was, that the tank is moving to the right but someone told me, that it would be stand still. Is this true? What is an intuitive explanation for that?


I have a continuous dependent variable which has a somewhat skewed distribution and hence I want to apply a log transform to it. But the problem is that the target variable can have negative values.   To counter this, I added the minimum(target variable) +1 to the target variable and then did a log transform. This was done on the training data.   The problem with this approach is that in my holdout data, I can have a value that is lower than the minimum value and in that case, I'll be attempting a log transform on negative data which will return an error.  Is there a way I can log transform a continuous dependent variable that may have negative values without having to bother about them?


How to drow this in teXstudio? I cant draw dots and arrows like that


Prove that $[L,Rad(L)] \subseteq N$ for finite-dimensional Lie algebra $L$

I need to prove the following fact: if $L$ is a finite-dimensional Lie algebra over field of characteristic $0$, $Rad(L)$ is its radical, and $N$ is the maximal nilpotent ideal in $L$, then $[L,Rad(L)] \subseteq N$. It's obvious that $[L,Rad(L)]$ is a solvable ideal in $L$, but I can't see how to prove its nilpotency. I found a proof in Bourbaki's book, but it's rather long and uses representation theory. Is there an easier way to prove it?


I was playing Minecraft and I decided to make a train so that when it hits the detector rail I teleport using a command block. I connected the command block to the detector rail and on the command block I typed in a random x y z and when I tried it I spawn in the clouds up high in the sky. When I fall back down to earth the train hits the detector rail again and I teleport back up again. How can I get out of this cycle?


A four-digit square is of the form $aabb$. What's $a^2+b^2$?

The 5772  included the following question:     Consider a four digit square number (a number which is the square of a whole number).Its digit notation is $aabb$ (the thousands digit is $a$, the hundreds digit is $a$, the tens digit is $b$ and the units digit is $b$).What is the value of $a^2+b^2$?   It offered five choices: $51$, $85$, $73$, $65$, and $60$.  $85$ and $65$ are the only choices equal to $a^2+b^2$ for $b\in\{1,4,9,5,6\}$ and $1\le a\le9$. That analysis also shows $aabb$ to be one of $2299$, $7766$, $8811$, and $7744$. Since $11$ goes into $aabb$, so does $11^2$, which eliminates $7766$ and $8811$ (as $11\nmid706$, $11\nmid801$). But I can't seem to narrow it down further, to decide between $7744$ and $2299$ (without, of course, reference to or generation of a list of squares), or by any other means to decide between $85$ and $65$.  Any suggestions?


Who wrote about an energy free space elevator?

I seem to recall reading of a design by Robert Heinlein (but maybe Sheffield, Clarke or another scientific writer), where the energy cost of a space elevator was virtually nil, as descending loads were used to recoup the energy cost of the lift.  Looking for the story,author and if possible the quote where it is described.


Is there a way to retrieve deleted progress for skyrim?

I played on the xbox 360 edition of skyrim with the dawnguard and dragonborn DLC. I deleted my progress last summer by accident that was on my flash drive while clearing space. I haven't been playing since that. I got a hard drive so I can store that data again. I want to play it again but I don't want to start over because I had the best stuff and I invested a lot of time in it. If there is a way to retrieve that progress in any sort of way that doesn't cost money please tell me. I wouldn't prefer to use money but if it is the only than I'll have to resort to that.


Evaluate and prove by induction: $\sum k{n\choose k},\sum \frac{1}{k(k+1)}$

$\displaystyle   0\cdot \binom{n}{0} + 1\cdot \binom{n}{1} + 2\binom{n}{2}+\cdots+(n-1)\cdot \binom{n}{n-1}+n\cdot \binom{n}{n}$ $\displaystyle\frac{1}{1\cdot 2} + \frac{1}{2\cdot 3}+\frac{1}{3\cdot 4} +\cdots+\frac{1}{(n-1)\cdot n}$   How do you find the sum of these and prove it by induction? Can someone help me get through this?


Can I personalize the size of my screen?

So I dropped my phone. The top right corner blacked out to a fifth of the height, it still supports touch, but I can't really see what I'm touching. Is there a way to resize my display so that it only uses the bottom 4/5 of the screen? Like, force the whole display to use a smaller part of the screen, hopefully one I can personalise.


Why isn't $\mathbb{Z}[\sqrt{5}]$ integrally closed?

The book I'm reading casually mention that $\mathbb{Z}[\sqrt{5}]$ isn't integrally closed without explaining why.  Could someone show me why this is the case?


Can I ask a very specific question that can be answered with just "yes" or "no"?

Can I ask a very specific question whose answer only needs "yes" or "no"?  For example, I am learning a kind of knowledge, I find that there seems to be a mistake in the book (1+1=3), and I propose my guess and deduction process. Because it is too specific, the answer may only need yes or no. The answer is simple, but the question can help others understand the process.  And if the answerer wants to make the answer useful, it may become a duplicate answer. In other words, although there are already some good answers in other questions, I still can’t fully understand.  A more specific example: After I look at the question , I still can't be 100% sure and want to ask my own question.


Let $f$ be a function from a metric space $X$ to a metric space $Y$. Show that if $f$ is uniformly continuous on $X$ then $f$ is continuous on $X$. Show that the converse is not true.  Uniform continuity definition:  $∀ε>0:∃δ>0:∀p,q∈X:d_{X}(p,q)<δ⟹d_{Y}(f(p),f(q))<ε$  Continuity definition:  $∀ε>0:∀p∈X:∃δ>0:∀q∈X:d_{X}(p,q)<δ⟹d_{Y}(f(p),f(q))<ε$  I wonder if these proofs are correct and if they are formal enough?    Uniform continuity ⟹ Continuity   Let $f$ be uniformly continuous. Fix $ε_{0}$, obtain $δ_{0}(ε_{0})$ (as a function of $ε_{0}$), fix any $p_{0}$ and $q_{0}$ and we know that:   $d_{X}(p_{0},q_{0})<δ_{0}⟹d_{Y}(f(p_{0}),f(q_{0}))<ε_{0}$   If we want to prove that $f$ is continuous at $p_{0}$, we fix $ε_{0}$ and we pick the same $δ_{0}$ as above and fix any $q_{0}$ and we are assured by 1. that   $d_{X}(p_{0},q_{0})<δ_{0}⟹d_{Y}(f(p_{0}),f(q_{0}))<ε_{0}$   Since $p_{0}$ was arbitrary, $f$ is continuous at $X$.     Continuity $\color{red}{\implies}$ Uniform continuity   Let $f$ be continuous. Fix $ε_{0}$, fix any obtain $p_{0}$ and $p_{1}$, obtain both $δ_{0}(ε_{0},p_{0})$ and $δ_{1}(ε_{0},p_{1})$ (not necessarily equal), fix any $q_{0}$ and $q_{1}$ and we know that:   $d_{X}(p_{0},q_{0})<δ_{0}⟹d_{Y}(f(p_{0}),f(q_{0}))<ε_{0}$  $d_{X}(p_{1},q_{1})<δ_{1}⟹d_{Y}(f(p_{1}),f(q_{1}))<ε_{0}$   For $f$ to be uniformly continuous, if we fix $ε_{0}$, obtain $δ$, fix any $p_{0}$, $p_{1}$, $q_{0}$ and $q_{0}$ we must have that:   $d_{X}(p_{0},q_{0})<δ⟹d_{Y}(f(p_{0}),f(q_{0}))<ε_{0}$  $d_{X}(p_{1},q_{1})<δ⟹d_{Y}(f(p_{1}),f(q_{1}))<ε_{0}$   But those two implications need not hold for the same $δ$ as shown above. Suppose we pick $δ_{0}$ and w.l.o.g. we suppose $δ_{0}>δ_{1}$. Then it could be the case that   $δ_{1}<d_{X}(p_{1},q_{1})<δ_{0}$  but we cannot conclude ⟹$d_{Y}(f(p_{1}),f(q_{1}))<ε_{0}$.  Therefore, continuity does not imply uniform continuity.


Looking for a fantasy trilogy about a girl and her mentor

I read this series around 9 years ago and honestly, I don't remember a thing about the plot. At any rate, I remember enjoying it. I'm not even certain that it was a trilogy, but it was definitely a series and all the books were published before 2006 thereabouts.  So what I do remember is that the main character was a girl and she had this slightly older mentor (male, and his name might have started with a 'C'). I have no idea what they did or if they had a quest (they probably did though) but I do remember that at one point she was trapped in a place or castle in a very cold, snowy environment. In fact, I'm fairly certain that the cover of the second (?) book was a very wintry one of the girl in said cold environment.  I also remember that at the end of the series, she didn't end up getting romantically involved with her mentor even though young me was desperately rooting for them. I was rather upset about that. It was also one of those fantasy series with an appendix of sorts at the back expanding on the world and briefly expanding on the background of the guy, if I'm not wrong. The appendix also talked about the girl and her various names, like a prophecy name or something.  There might also have been a tree involved somewhere, but I might be mixing that up so don't take my word for it about the tree. Anyway, I know this is about as vague as it possibly gets, but I'm giving it a try anyway!


$a\cdot x \mod n = 0$, if I know $a$ and $n$, what can I say about $x$?

I have the equation $ax \mod n = 0$ $a,x,n$ are integers and only $x$ is unknown. Are there any properties of $x$ that follow from this equation? I tried the following myself, but I am stuck: Because of the $\mod n $ it follows that $ax = pkn$  with $k,p$ being other unknown integers, thus: $x=p\frac{kn}{a}$ And this means that I know that $x$ has the property that it can be divided by $\frac{kn}{a}$. But is that all that I can derive? And how can I calculate $\frac{kn}{a}$?


Why can't I break this formula into two lines?

\begin{align} V_{\alpha \beta} = \left\langle (K_{il} E_{i j}^{\alpha} K_{j m} \delta_l \delta_m + 2 \epsilon_i \delta_m E_{i j}^\alpha K_{j m} + \epsilon_i \epsilon_j E_{i j}^{\alpha} - N_{i j} E_{i j}^\alpha K_{i l} E_{i j}^{\alpha} K_{j m} \xi_{l m} )   (K_{i'l'} E_{i' j'}^{\beta} K_{j' m'} \delta_l' \delta_m' + 2 \epsilon_i' \delta_m' E_{i' j'}^\beta K_{j' m'} + \epsilon_i' \epsilon_j' E_{i' j'}^{\beta} - N_{i' j'} E_{i' j'}^\beta K_{i' l'} E_{i' j'}^{\beta} K_{j' m'} \xi_{l' m'} ) \right\rangle  \end{align}   I woud like to break this long expression with \\ in correspondence of the passage between ) and (. But it does not work, producing  Extra }, or forgotten \right   which I don't get if I don't use \\. How can I solve it?


I want to know about the disadvantages of starting a website with a .company TLD instead of .com, .net and the like. I've read some opinions suggesting not to use it because of SEO but there were no further explanation, can anyone explain the disadvantages ?


Why does the Mean Value Theorem require a closed interval for continuity and an open interval for differentiability?

Why does the Mean Value Theorem assume a closed interval for continuity and an open interval for differentiability?  The MVT says: Let $f$ be a continuous function on $[a,b]$  that is differentiable on $(a,b)$, then....  Is there any example where one of them isn't true so that the MVT is not true?


What to do when a tiny edit is necessary?

I fully understand why there's a filter that requests one to submit edits of at least 6 characters. But either is there, or could there be, some form of "yes, I'm sure" override? Barring that, what should one do when an answer really does need a one word added to it - because it won't compile as written, as it's missing a piece of required syntax which happens to be a two-character word, but is otherwise helpful - and doesn't need anything else? It seems entirely backwards that one should be required to make some other unnecessary edit, that would confuse anyone looking at a diff?   Yes, I could just change a word to another word that means the same thing, or add some invisible whitespace, but is that really what I should be doing?


"ifconfig" command gives different output than earlier in Ubuntu 16.04 LTS and eth0 is also missing from the output. How do I reset it?

I am not getting eth0 when I type "ifconfig" in terminal. Even the output I get is different from the output which I used to get earlier. Below is the output which I am getting right now :-  gkv@GKVInnovations:~$ ifconfig enp1s0    Link encap:Ethernet  HWaddr 8c:dc:d4:d2:d5:60         UP BROADCAST MULTICAST  MTU:1500  Metric:1       RX packets:0 errors:0 dropped:0 overruns:0 frame:0       TX packets:0 errors:0 dropped:0 overruns:0 carrier:0       collisions:0 txqueuelen:1000        RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)  lo        Link encap:Local Loopback         inet addr:127.0.0.1  Mask:255.0.0.0       inet6 addr: ::1/128 Scope:Host       UP LOOPBACK RUNNING  MTU:65536  Metric:1       RX packets:538 errors:0 dropped:0 overruns:0 frame:0       TX packets:538 errors:0 dropped:0 overruns:0 carrier:0       collisions:0 txqueuelen:1        RX bytes:41686 (41.6 KB)  TX bytes:41686 (41.6 KB)  wlo1      Link encap:Ethernet  HWaddr 30:10:b3:3d:02:30         inet addr:192.168.0.5  Bcast:192.168.0.255  Mask:255.255.255.0       inet6 addr: fe80::fe8a:380d:89ea:7dce/64 Scope:Link       UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1       RX packets:2282 errors:0 dropped:0 overruns:0 frame:0       TX packets:2183 errors:0 dropped:0 overruns:0 carrier:0       collisions:0 txqueuelen:1000        RX bytes:1990096 (1.9 MB)  TX bytes:384929 (384.9 KB)  gkv@GKVInnovations:~$    Earlier I used to get eth0 instead of enp1s0 and I think wlan0 or wlo(I don't know it completely) instead of wlo1. I think RX and TX values are also different. I don't know more about what I used to get. But I believe there is some problem in network adapter or driver. Please help me to get default settings back and the default output which I used to get when I typed "ifconfig" in the terminal. Please help me resolve this issue !  One more thing is that I experienced this issue after using Kali Linux live mode. Earlier I was not getting that problem even in Ubuntu 16.04 LTS.


This question is from Calculus by Spivak, Chapter 8 on Least Upper Bounds:     Suppose that $f$ is a function such that $f(a) \leq f(b)$ whenever $a<b$.  Prove that $\lim_{x_\to a^-} f(x)$ and $\lim_{x_\to a^+} f(x)$  both exist.     Worked on it for a while but didn't get anywhere.   Any help would be appreciated.


Null Pointer Exception from a boolean array method

So I have been viewing stack overflow to see if any questions have been answered referring to my problem, but I feel as if my array was indeed initialized. Currently I am attempting to make a simple card game but I continue to get the same error no matter what I do.   Main:  public class Main { public static void main(String[] args) {     Dealer deal = new Dealer();     User use = new User();     Player play = null;     Logistics log = new Logistics();      boolean[] initElementList = {false, false, false};     use.initElementList(initElementList);     deal.initElementList(initElementList);      while(play == null){         use.printDeck();         Card userChoice = use.chooseCard();         Card dealerChoice = deal.chooseCard();         **log.roundWinner(userChoice, dealerChoice);**         play = log.gameWinner();     }     System.out.println(play); } }   Logistics:  public Card roundWinner(Card user, Card dealer){     Dealer deal = new Dealer();     User use = new User();     String userChoiceE = user.getElement();     String dealerChoiceE = dealer.getElement();      int userChoiceS = user.getStrength();     int dealerChoiceS = dealer.getStrength();      **if(userChoiceE.equalsIgnoreCase("FIRE") && dealerChoiceE.equalsIgnoreCase("ICE")){         use.setElementList(0);         return user;     }**   Player:  public abstract class Player {  private boolean[] hasElement; private Card[][] deck;  public boolean[] getElementList(){     return this.hasElement; } **public void setElementList(int index){     this.hasElement[index] = true; }  public void initElementList(boolean[] ElementList){     this.hasElement = ElementList; }** public void createDeck(){     CardGenerator cg = new CardGenerator();     this.deck =  cg.Deck(); } public Card[][] getDeck(){     return this.deck; } }


Bash: How to fake an input file in arguments neccessary for a command

Assume I like to execute the command foo which expects a specific file as an argument. I like to execute that command for a temporary purpose only so I like to have mentioned file as a temporary file, too.  In my specific use case I'd create the file temporary, execute the command with the temporary file and delete the file afterwards. This works fine.  Is there a way to pass that file with some kind of stream handler (borrowed speech from programming languages), so I don't have to create that file as a real file just temporary?  What I'm thinking about is some sort of foo "$( echo some content mimicking a file )", which I know, in fact, won't work but describes what I like to achieve.    Edit: My actual use case  I have multiple ansible roles to provision my entire system from scratch. Sometimes I have the need to run run one specific role for update purposes only. So actually I'm writing a temporary playbook, executing it and deleting it afterwards.      cat > ~/path/to/provisioning/scripts/tmp.yml << EOF - name: Executing the tasks \`tmp\`   hosts: localhost   become: yes   roles:     - apt     - ${1} EOF     ansible-playbook ~/path/to/provisioning/scripts/tmp.yml     rm ~/path/to/provisioning/scripts/tmp.yml


$X$ and $Y$ are independent normal variable with zero mean and common variance $k$, Find the Probability Density of Function of $Z = X^2 + Y^2$?  We can although find the PDF of a random variable if it is function of one random variable with know PDF, but how to calculate for $2$ variables. I was not able to proceed. How to use the given data of common variance?


Why haven't environmentally-reactive bodies developed as an evolutionary advantage?

Regardless of region, earth's tilt results in yearly seasonal changes, which organisms deal with through processes like migration/hibernation. Both seem like attempts to avoid the extreme fluctuations... so why haven't certain organisms developed environmentally-reactive bodies, changing with the seasons throughout the year (based on measures like temperature- I.E., additional fur growth during the winter), and why hasn't this continued as an evolutionary advantage to allow organisms to thrive in longer environmental ranges (like staying in place instead of migrating) or even go a step beyond and take advantage of the qualities specific to each season?


I'm currently working my way through Harvard's online abstract algebra lectures (if you're interested, you can find them ).  The lectures come complete with notes and homework problems.  Of course, since I don't actually go to Harvard, I can't hand in the homework assignments to find out if I'm doing them correctly.  So I've decided to try to crowd source the grading of my solutions.  I'll post individual questions as I finish them and wait for comments.  I would like to get critiques of not just my reasoning but the style of my write ups as well.  Also, any alternative approaches to the problem would be welcome.  I've looked for forums dedicated to these kinds of OCW courses but have not been able to find any.  This surprises me.  It seems like, with the advent of these free online educational resources, an online meeting place for those who take advantage of them would be a natural offshoot.  So this might be a bit of an experiment.  Unless I'm the 873rd person to post something like this here.  If that's the case, sorry for being so long winded.  Anyway, on with the question.  This one is assigned in the 4th lecture.     Let $V$ denote the Klein 4-group.  Show that $\operatorname{Aut}(V)$ is isomorphic to $S_3$.   (I've moved my solution below to keep this question from showing up in the unanswered list.)  Thanks...


My company has developed a search engine and handed over to the testing to test. I have no idea how to start. Its taking results from bing API


Running Ubuntu from a USB: Failed to load ldlinux.c32

I'm trying to run Ubuntu off of a USB. The exact error message read as follows:  SYSLINUX 6.03 EDD 2014-10-06 Copyright (C) 1994-2014 H. Peter Anvin et al  Failed to load ldlinux.c32 Boot failed: please change disks and press a key to continue.   I followed these instructions (multiple times, same result) to create the USB stick:   I followed these instructions for booting the computer:   I used a brand-new 16GB USB 3.0 from PNY. I installed it using a Windows 7 Dell laptop (BIOS), which was unable to boot it from the USB. I tried booting it on a Windows 10 Dell desktop (BIOS) with the same result. I was using the latest LTS ISO from Ubuntu.com (ubuntu-16.04.3-desktop-amd64).  I tried writing in the ISO image mode multiple times with the same result before trying the DD image mode, which threw a "corrupt file" error and then wiped the USB entirely blank, so I slow-formatted it in FAT32 on my next attempt (instead of the instruction's usual "quick format" option).  Some people said they had success copying ldlinux.c32, libcom32.c32, and libutil.c32 to the root directory, but that didn't change a thing for me. I tried formatting the USB as NTFS as well as FAT32. Same result. Some people said that FAT16 fixed it for them, but that wasn't an option in Rufus.  I'm totally lost! Here I was, trying to learn Linux, and I'm unable to even boot it! Help, please?  EDIT: Not sure why it's being marked as duplicate. The questions it's supposedly identical to have nothing to do with this specific error message.


Difference between Boolean and bool in c#?

Visual Studio is showing two things for boolean type like:  Boolean and bool  And for double type:  Double , double  Why so? Two are in different colors and will they both are same? What is the difference?


How to determine whether the direction of rotating a 2D vector to another one is counter-clockwise or clockwise using the cross product?

Vec2 a, b; // some random vector Vec2 cross = a.Cross(b); RelativeDirection(a,b,cross); // return true if the direction of                               // rotating a to b is counter-clockwise   How do I implement the function RelativeDirection()?  I got some suedo code from the textbook:  if a.Cross(b) > 0 then ... else ...   but the cross product is a vector right? how do you compare it with an integer?


What is the difference between, for example, a Nikon 50mm DX lens and a Nikon 50 mm FX lens? Both have the same focal length of 50 mm, but why does Nikon produce a DX lens and an FX lens? What is the difference in the lens construction? Is it just the size of the lenses is smaller in DX compared to FX because FX has a larger sensor? Any other differences apart from size, price and weight?


Ubuntu Software frequently freezes in Ubuntu 16.04

Almost every time when I try to open Ubuntu Software it freezes and goes black for a few seconds. Ubuntu Software hangs and does not respond when opened. The same thing occurs sometimes while using it.


What is the longest lexicographic English word?  In other words, what's the longest English word who's letters are in alphabetical order?


If I reset my phone, will it also TRIM the fragmented eMMC?

I know that Android supports fstrim but it only works if the phone is idle for a long time while charging. I think my phone is too fragmented and is lacking performance so I want to reset it but I am not sure if TRIM will also run if I do so. Since TRIM is important to improve the SSD's speed, I'd really like to run TRIM on my phone.


Finding overlay/intersect shape percentages using QGIS?

I am working on a project in which it's necessary for me to overlay 2 layers (a map of precincts and a map of census tracts).  I need to be able to determine the %area of each census tract covered by each precinct. For example, if Census Tract 1 is 25% Precinct 1, 40% Precinct 2, and 35% Precinct 3.  How do I go about doing this?   I am using QGIS 3.8 and have the necessary shapefiles.


Is every infinite set equipotent to a field?

For example, $\mathbb N$ is equipotent to $\mathbb Q$ which is a field.  $\mathbb R$ is equipotent to itself, which is a field.  But what about $\mathbb R^{\mathbb R}$, $P(\mathbb R^{\mathbb R})$ etc.?


confusion in JSON object singletone behavior?

Am new to client side application development, need some clarity on below mentioned issue.  I have one object  var obj1={'name':'Sachin'}  I assign that object to obj2   var obj2=obj1.   Now my obj2 and obj1 objects both are same  Now by using obj2 I change the name property value like  obj2.name="Dravid";   Now my obj1 and obj2  both name property values turned to be 'Dravid' because of 'sigletone' behavior of JSON object? is it correct?  Now my question is:  if I made my obj1 is empty like     obj1={}   then why my obj2 is not turned to be empty ?  still it show obj2={'name':'Dravid'}  What is the reason behind that ?  Could please help me on this.  thanks in advance...


Is there a picture showing all the lengths used in lists?

I want to adjust the length parameters in a list (happens to be to make it more condensed, but that's not relevant).  I do this infrequently enough that I don't remember all the lengths that are involved and have to look them up every time.  But the references I usually find (via some search engine or other) tend to be purely descriptive.  Being a very visual learner, I would find it much easier to remember if I had a diagram to look at (something like what is produced by the  package).  Does such a diagram exist showing how the lengths fit together in a list?  Note that even if I were using a package such as  to do the actual adjusting, I'd still have to have a reasonable idea of which lengths were involved.  (If the answer to this is "no" and someone draws one, or the answer is "yes, but here's a better one", then I'll happily add a bounty to this question when I'm allowed and award it to the nicest diagram.)


how to make others use my .py files to test it?

I have developed a simple MIPS instruction set assembler that takes instruction from the user & output the machine code in text file using python 2.7. I want to make this program executable out of IDE; I mean I want to deliver this project to someone that doesn't have python installed on his computer. What should I do?


Find the limit of $\frac{1^1+2^2+3^3+\dots +n^n}{ n^n}$

What is the limit of the sequence: $$\frac{1^1+2^2+3^3+\dots +n^n}{ n^n}$$  I tried only to break it in $(1/n^n)+..+(n^n)/n^n$ and say that the first equals to zero and the last is $1$. I have no idea what to do with the rest. Any ideas?


How do I type accented characters in windows?

I heard that you can hold alt and type out some cryptic numeric code to get characters like accented letters. Is there a way to do this more like the ?


Saving Map Canvas as PNG with transparent background programmatically with QGIS?

I wrote a script to create a big number of heat maps for a given scenario. I would like to save the result of every heat map as an PNG image. I have figured it out doing it with simple Map Rendering but the quality of the result is too low. Furthermore I would like to export to OpenLayers using the same code, which does not seem to be possible with simple rendering.   Now I am trying to do it with QgsComposition instead. Manually in the Map Composer you can just set the paper color to transparent and disable the background of the map canvas.   This is the code that I have so far. I just cannot figure out why it is not working. The result png-file always has a white opaque background.   My OS is Windows 7 and I'm using QGIS 2.6 Brighton.  I hope someone can help me out here.  # PARAMETERS mainPath = 'path/to/folder/' filename = 'filename' imageType = "png" imageWidth_mm = 400 imageHeight_mm = 160 dpi = 300  mapRenderer = iface.mapCanvas().mapRenderer()  c = QgsComposition(mapRenderer) c.setPlotStyle(QgsComposition.Print)  c.setPaperSize(400, 160)  x, y = 0, 0 w, h = c.paperWidth(), c.paperHeight() composerMap = QgsComposerMap(c, x ,y, w, h) c.addItem(composerMap)  # get all items and disable the backgrounds itemList = c.items() c.removeItem(itemList[2]) c.removeItem(itemList[2]) itemList[2].setBackgroundEnabled(False) itemList[3].setBackgroundEnabled(False) # add them to the composition c.addItem(itemList[2]) c.addItem(itemList[3])  c.refreshItems() c.refreshDataDefinedProperty(QgsComposerObject.AllProperties)  c.setPrintResolution(dpi) dpmm = dpi / 25.4 width = int(dpmm * c.paperWidth()) height = int(dpmm * c.paperHeight())  # create output image and initialize it # image = QImage(QSize(width, height), QImage.Format_ARGB32) image = QImage(QSize(width, height), QImage.Format_ARGB32_Premultiplied) image.setDotsPerMeterX(dpmm * 1000) image.setDotsPerMeterY(dpmm * 1000) #image.fill(0)  imagePainter = QPainter(image)  # This part does not seem to have any effect #brush = QBrush(Qt.BrushStyle(0)) # transparent brush # #imagePainter.setBackgroundMode(0) #c.setBackgroundBrush(brush)  c.renderPage( imagePainter, 0 ) imagePainter.end()   imageFilename =  mainPath + filename + '.' + imageType image.save(imageFilename, imageType) print 'image saved' print 'done'


Is there a way to put a decimal field on a visualforce page and allow the user to update it?  I'm able to display as OutputText per below but I would like the user to be able to change.    <apex:OutputText value="{0, number, 00.00}" Label="CMS%">   <apex:param value="{!Applicant__c.CMSP__c}" />    </apex:OutputText>   Thanks, Ed


How can I make it say Nothing instead of null on the user's game?

I have a user info command for my bot, and am using message.author.presence.game to display what game the user is playing. Whenever they are not playing a game, it displays null. How can I make it so it displays Nothing or No game?


I installed openvpn on my Ubuntu 16.04.2 LTS System, but I can't add a connection, because the field is greyed out.   I've tried this:  sudo apt-get install network-manager-openvpn network-manager-openvpn-gnome   Is there maybe any super secret file I have to edit?  Edit: Also tried to solve it via installing the following packages:  network-manager-openvpn network-manager-openvpn-gnome network-manager-pptp network-manager-vpnc   Edit 2: The suggested solution in the comment from alfred worked for me:     I'm on 16.04.2, but I don't see "Add a VPN connection" option on nm-applet. > However I can add a VPN connection by choosing "Edit conections..." -> "Add" > – alfred Mar 17 at 23:55


Server 2012 R2 - Sharing 'cluster shared volume' .VHDX hard drives between two VMs, are they supposed to not live update?

I have a .VHDX volume that's a cluster shared volume in a Server 2012 R2 failover cluster. I'm able to share the hard drive between two VMs. If I create a folder on VM2, it doesn't show in VM1 in the hard drive unless I reboot that machine or go into disk management > rescan disks > import disk. Is this normal behavior?  One thing of note I found on TechNet's site was this:     When you use shared VHDX with local block storage, synchronization must occur for shared VHDX file access. If the virtual machines are running on different nodes, this involves network redirection for the synchronization activity. If you have fast block connectivity combined with slow intra-cluster network communication, this synchronization activity results in I/O variance (either redirected or direct) based on the node. This happens on a per file basis. (The entire CSV is not in redirected mode.) To increase performance, we recommend that you scale the intra-cluster network.      Be aware that this is not a consideration when you use file-based   storage. When you use a compute layer of file-based storage over SMB   together with a remote Scale-Out File Server (SOFS), this shared file   access orchestration is performed by the SOFS. With a SOFS, SMB   sessions are transitioned to optimize file access. The SMB sessions   co-exist on the same node that performs the synchronization. As a   result, there is no network communication.   I've used both the VHDX directly as just a VHD in the CSV and as a VHD in an SOFS share in the CSV. Doesn't seem to make any difference.


I've got content-type includes 'field1', field2' and 'field3'. These fields are integer value. Thanks to Views module I created page 'Page1' with contents. In main menu I've got search whit some filters. After filling filters and entering, we can see appropriate contents in 'Page1'. I'd like to create filters or fields in search to allow user to fill in 'min' and 'max' values. After it I want to choose a content only if 'field1' or 'field2' or 'field3' of that content is beetwen 'min' and 'max'. How can I do it?


I have a TikZ code with axis environment. I have these inside:  \draw[red,very thick] (6,-3) -- +(0,1); \draw[very thick] (30:1) -- (2,2);   However, the relative point +(0,1) from (6,-3) doesn't work. Also, the polar coordinate specification r=1,angle=30 also failed. How to solve it?  Full code:  \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{compat=1.13} \begin{document} \begin{tikzpicture} \begin{axis}[     width=6*1.2 cm,      height=5*1.2cm,     axis lines=middle,     domain=-2:15,     xmin=-2, xmax=10,     ymin=-5, ymax=5,     axis equal,     grid=both,grid style={line width=.5pt, draw=gray!10},     xtick={-2,...,10},     ytick={-5,...,5},     xlabel style={font=\tiny},     xticklabels={\empty},     yticklabels={\empty} ] \draw[red,very thick] (6,-3) -- +(0,1); \draw[very thick] (30:1) -- (2,2); \end{axis}  \end{tikzpicture}


Possible Duplicate:          How can I get a large integral sign in the Latin Modern font? If I remove the 2nd line from the following, it works fine (printing an integral, and the same integral with enlarged integral sign). But if I leave it as is, the two integrals turn out identically. (The relsize package doesn't help either.)  \documentclass{book} \usepackage{lmodern} \usepackage{bigints} \begin{document}      \begin{align}     \int_{-Y}^{Y}\left(\frac{X}{\frac{X}{\frac{X}{X}}}\right)dX     \end{align}      \begin{align}     \bigints_{-Y}^{Y}\left(\frac{X}{\frac{X}{\frac{X}{X}}}\right)dX     \end{align}  \end{document}


Avg Number of random numbers between 0 and 1 required to add up to 1

A reddit comment claimed that you would require $e$ random numbers between $0$ and $1$ to add up to $1$. So I wrote a python program to verify this. Conducted the experiment with 100 thousand times 200 times. The Standard deviation of the results was $0.00271225$ ( from $e$, not from their mean ).  I Have two questions, first, while conducting the experiment, the result was undoubtedly over 1 most of the times. What should I do to the number of random number required in these cases. The above $SD$ does NOT take in account those excess over 1. It treats them as if the total was $ = 1$  Second, how to prove this?  Here's the program if you can understand Python    (Sorry, cant post image directly)


I know I've had a fair few of these questions recently, but I just can't remember their titles!  So, this one kind of reminded me of 2001: A Space Odyssey. It has aliens that left a special artifact on the moon which broadcasts signals into space. Then, something happens that causes those signals to stop and people go to investigate, I think. It was also once mentioned that the aliens used special human technology to put the artifact there. Final detail: I'm pretty sure the object was in the shape of a pyramid or a triangular prism. 60% sure that this is Asimov, Bradbury, or one of the other Sci-Fi giants.


Find all complex number solutions $z$ such that   $$\frac {z+1}{i-2z}$$  is real.  How should I approach this question? I tried inserting $a + bi$ for $z$, but it just gets one big mess.


cannot USE xsane/sane due to libusb problem

Ubuntu 20.04 every time I try to use xsane or scanimage -d test -T i get xsane: symbol lookup error: /usr/lib/x86_64-linux-gnu/libsane.so.1: undefined symbol: libusb_set_option   scanimage: symbol lookup error: /usr/lib/x86_64-linux-gnu/libsane.so.1: undefined symbol: libusb_set_option  I have reinstalled libsane and libusb to no avail???? L


Introducing a brand new, consolidated, Help Center

UPDATE: This is now live on all Stack Exchange sites. You can access it at /help or by clicking the "help" link in the top nav or footer of any page.   We can all agree that Stack Exchange is a complicated beast that takes a while to understand. New users can be overwhelmed and confused by all of the rules, where to find them, and how to abide by them. Even though many established users leave comments linking to helpful resources, or answer questions posted to metas, it's a scattershot way to help users learn our rules and answer their questions.  And so, we're introducing a new Help Center, which you can now see here on MSO: .  Here's what we're hoping to achieve:   Consolidate important information that is currently scattered throughout a great many resources: MSO and child metas'  lists, each site's official FAQ page, blog posts, and miscellaneous other resources like our  pages and  /  guides. Any rules or explanations of basic site mechanics should be easily accessible in one place. Allow easy linking and easy navigation. Each topic is separated out onto its own page, with a unique URL to allow pointed linking to that page. Each article page also has sidebar navigation that shows other topics in the same category, as well as a list of other categories, for the rare user who is motivated to read more. Use comprehensible language that non-power users will be able to understand. A lot of our guidance, written by the community and by Stack Exchange itself, uses jargon that can be unclear to users learning our system for the first time. We want to make sure terminology is sufficiently explained and use plain language wherever possible.   This Help Center will (once we roll it out to all sites) replace the current FAQ pages. Each site will continue to have its own  tag on meta, but any policy that is essential to the functioning of the community will be rolled into the appropriate section of the new Help Center.  What's broken, and what are we missing?  We're already planning to add more features and articles to the Help Center in the coming weeks, but we wanted to show you all the core of it and get your feedback. There are additional articles that we plan to include here (especially in the "Reputation & Privileges" category), but the articles currently included should cover everything that exists in the current FAQ and old /help page /contact page (which will be redesigned when the new Help Center is live everywhere).  This is live only on MSO right now. We want to get your opinions about the Help Center in general, fix any bugs or typos you might find, and add any crucial information that's missing. Once we've addressed all those things, the new Help Center will roll out network-wide.   A couple of implementation notes:   We will be adding a "search" feature to the /help landing page that will make it easier for users with a specific problem to find the relevant article(s). Site moderators will be able to edit the  page to include lists of what is on- and off-topic for each site, just as they can currently edit the "What can I ask here?" part of the current FAQ. You may notice that some article titles are preceded by a round bullet. The bullet is temporary while Jin designs an icon, but those articles are "featured" articles; they are meant to draw attention to the most important site policies or most frequently encountered issues. Fixed   So there you have it. A new, consolidated, Help Center to provide a single resource for users looking to understand how our network works.  We're still making some small changes to this feature. Please continue to post here on meta if you encounter any bugs / typos / broken links. If you want to suggest a new page, have an issue specific to one site, or have another major change, you can start a new meta post and tag it .


Cannot locate Ubuntu Software Center via Firefox to open APT links

I'm trying to locate where the Ubuntu Software Center is to choose as default for handling APT links in Firefox.  I can click on the links, and I get the pop-up, but Ubuntu Software Center is not there.  I tried to choose an application through Firefox's settings and through the pop-up, but I don't know the path.  As you can see by my screen shot for the pop-up I chose the wrong one as that doesn't work.  What is the correct path I need to select the correct file?  EDIT - I added a fourth screen shot.  I don't have it in that location.  This is what I have.  My view is in ABC order, and it's showing hidden files.


I found many people like to use "literally" in their sentences . Is that a kind of emphasize? How can I use this word?


How can I start playing d&d 5e as a beginner?

I am completely new to role-playing games, yet have an experience with board games. How should I start d&d without it overwhelming me?


Table from csv file with two header rows

I have multiple csv files to read and create a table with one or two headerlines. (parameters/units) I would like to use two header lines from this files using \pgfplotstabletypeset. Can anyone help me? It would be enough to give a parameter containing the number of header lines to extract.   \pgfplotstabletypeset[                 %skip first n=1,                 col sep=comma, % the seperator in our .csv file                 every head row/.style={before row={\toprule}, after row={\midrule}},                 every last row/.style={after row=\bottomrule},              ]{test.csv}


How can I get rid of the '“Visual Studio Code” is an app downloaded from the Internet. Are you sure you want to open it?' message?

I just installed VSCode on macOS latest (Mojave 10.14.5) and every time I open it I get a popup saying:     “Visual Studio Code” is an app downloaded from the Internet. Are you sure you want to open it?   This app was downloaded from the internet and it is installed in my Applications folder. I have clicked the 'Open' button every time and still it pops up like this.   Is there a way to not have that happen? I followed the regular install instructions and I don't have this problem on my other Macbook Pro ... not sure what is going on.


How can I check if the editor that is currently being used is Gutenberg in a WordPress plugin?  I need this because Gutenberg lacks post_submitbox_misc_actions, so I need a fallback which will only be used if the current editor is Gutenberg.


My enlarged mutant orc barbarian in rage has strength 34.  How to calculate strength modifier over 30?  Hmm.


$f^2$ and $f^3$ are holomorphic implies $f$ is holomorphic.

Suppose $f$ is a continuous complex valued function on a domain $\Omega$. Suppose $f^2$ and $f^3$ are holomorphic in $\Omega$. Show that $f$ is also holomorphic in $\Omega$.   Assume $f=u+iv$. I see that if $u,v$ are in $C^1$ then $f^2$ is holomorphic can imply $f$ is holomorphic considering Cauchy-Riemann equations. But I don't know how to get $u,v$ are in $C^1$ by the adding condition $f^3$ is holomorphic. (I can't get $u,v$ from some combinations of real and imaginary part of $f^2$ and $f^3$). Do someone know how to do this?


Why there is "?" sign in WiFi icon even if wifi is working properly?

I use the external wifi receiver. Usually when the internet is down, the '?' symbol is expected behavior. But this is not the case here. Wifi is working perfectly fine. I even tried turning on/off the wifi but it doesn't make any difference. Is there something wrong in my network configuration?   Things I even tried as mentioned in :     Settings > Privacy > Connectivity Checking Set it OFF.   And  method:     /etc/NetworkManager/NetworkManager.conf   where I added dns=default But the issue remains the same. Do I need to reboot after each kind of changes instead of turning on/off wifi?


How exactly to compute the ridge regression penalty parameter given the constraint?

The accepted answer in  does a great job of showing that there is a one-to-one correspondence between $c$ and $\lambda$ in the two formulations of the ridge regression: $$ \underset{\beta}{min}(y-X\beta)^T(y-X\beta) + \lambda\beta^T\beta $$ and  $$ \underset{\beta}{min}(y-X\beta)^T(y-X\beta) \text{ s.t. }\beta^T\beta\leq{c} $$  The linked answer shows this in the orthogonal case.    In a general (non-orthogonal case), how can I compute $\lambda$ from $c$?  Update Here is an answer for going from $\lambda$ to $c$:   Assuming that the coefs are constrained by the penalty, $$ \beta^T\beta = c $$ and  $$ \beta = (X^TX + \lambda I)^{-1}X^Ty\\ \beta^T\beta = c = \beta^T(X^TX + \lambda I)^{-1}X^Ty $$  Still working on going the other way


I have been using this code to add a new particle system and create a name for it... I need help to choose the particle type "HAIR" and set other parameters.. This script does not work because the [part.001] keeps changing and going up. It will only work once when creating the first name. I will need one particle system, so I can apply the code on other objects as well. It is a bit confusing. The MBall is used as a particle to cover the entire surface of an object.  import bpy  obj = bpy.context.active_object obj.modifiers.new("part", type='PARTICLE_SYSTEM')  bpy.data.particles["part"].type = 'HAIR'  bpy.data.particles["part"].count = 15000 bpy.data.particles["part"].use_advanced_hair = True bpy.data.particles["part"].render_type = 'OBJECT' bpy.data.particles["part"].instance_object = bpy.data.objects["Mball"] bpy.data.particles["part"].particle_size = 0.15 bpy.data.particles["part"].emit_from = 'FACE' bpy.data.particles["part"].distribution = 'RAND' '


How to read a .class File located either in Local or Distributed File system to a java.lang.Class object in Java?

How to read a .class File located either in Local or Distributed File system to a Class object in Java?  I have a hello.class File in the local file system and in some cases it is in Distributed File System. I have a new application where I want to read the external hello.class file and construct a java.lang.Class object how do I do that?   Note: My hello.class is not in the class path of my Application and I still want to read just like I would read some external text file but I want to construct a java.lang.Class object?


I want to varify if the entered string is in email format or not. I am bit confused. I tried to write below code but failed. Can ayone help me please.  Javascript Code: <script>             function emailValidation(id)             {         var emailPattern =  var emailPattern = /^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;                 if (emailPattern.test(id) === false)                 {                     alert("not a valid email address.");                  }                              document.getElementById(id).value = "";             }          </script>  HTML Code:              <input type="text" id="empemail" onblur="emailValidation('empemail')" name="email" placeholder="eg: aaa@abc.ca" required="">


How to create 32-bit png with alpha in photoshop

I need icon image 32-bit png with alpha for play store. But i have no idea about alpha images. how to create 32 bit png with alpha using photoshop. If you have any video tutorial please send me link.


Effect of frequency division on a signal's spectrum?

I am constantly on the lookout for effective yet inexpensive means to generate SSB signals. Analog Devices' LTC5598 Direct Quadrature Modulator turns baseband analog I/Q signals into RF from 5MHz to 1.6GHz. Sadly, for my purposes, the performance falls off dramatically below 5MHz.  What would happen, theoretically, if the output of the LTC5598 could be processed through some frequency-dividing means to cover lower frequencies? Would the spectrum of the modulation be preserved, distorted or destroyed? I would appreciate a reference outlining the Fourier analysis of this question.


Asked a question to evaluate the Gaussian Integral,  $$\dfrac{1}{\sqrt{2\pi}} \int_{-\infty}^\infty x^2 \exp(-x^2/2) dx  $$  using the the following approximation,  $J=\Bbb E[X^2] \sim J_N = 1/N \sum_1^NX_n^2 $  where $x_n \sim N(0, 1)$  Examin $J_N$ for different values of $N$ and plot an error graph (difference between exact and numerical values)  I can simulate and generate the approximations but I am stuck at getting the exact value to compare to. As far as I am aware there are no analytical solutions for gaussian integrals. The other way I can generate comparable numbers is to go use numerical integration techniques but those are approximate values too.  Any help will be greatly appreciated!


Website structure with multiple sub directories

We are going to work on a new project which is a website that contains many details of commercial companies in an area.  People can search for bars, shops, garages and so on.  We are brainstorming on the website structure.  For now we have a structure like:  Main categories  http://www.example.be/restaurant-tavern-bistro/  http://www.example.be/sports-relaxation/  http://www.example.be/pets-animals/  ...  Sub categories  http://www.example.be/restaurant-tavern-bistro/restaurant/  http://www.example.be/restaurant-tavern-bistro/lounge/  http://www.example.be/restaurant-tavern-bistro/italian-restaurant/  ...  Company details  http://www.example.be/restaurant-tavern-bistro/restaurant/company-1/  http://www.example.be/restaurant-tavern-bistro/restaurant/company-2/  http://www.example.be/restaurant-tavern-bistro/restaurant/company-3/  ...  But isn't this to long? Also it will contains some keywords more then once.  So another structure that we have in mind is:  Main categories  http://www.example.be/restaurant-tavern-bistro/  Sub categories  http://www.example.be/category/restaurant/  http://www.example.be/category/lounge/  http://www.example.be/category/italian-restaurant/  Company details  http://www.example.be/company/company-1/  http://www.example.be/company/company-2/  http://www.example.be/company/company-3/  What will be the best solution or pro and cons of one structure of another with SEO in mind?


Prove that if a function $f$ has a jump at an interior point of the interval $[a,b]$ then it cannot be the derivative of any function.  I know that for $f$ is differentiable in $(a,b)$ and that it has one-sided derivative $f_+' (a)≠f_-' (b)$ at the endpoints. If $C$ is a real number between $f_+' (a)$  and $f_-' (b)$, then there exists $c∈(a,b)$ such that $f' (c)=C $. How can I use this to prove the above?


I am developing a chat application. Using this app users can send friend requests. once two users become friends they can message each other and visit friends profiles. When two users become friends(imagine X and Y), in a situation where X visits Y's profile and at the same time Y visits X's profile, the app get crashed.


How to: Execution time of module in Python with HIGH precision

I want to know how I can time the execution of a module with greater precision than what is provided by the time module i.e. with greater than 0.1 second resolution  Here is my code:   >>>import eosClass_steff_test2 as mod;  >>>import srk as typeEOS  >>>import benzene as typeMolecule  >>>import time  >>>benzsrk=mod.EOS(typeEOS,typeMolecule)  >>>start = time.time()  >>>benzsrk.Z(300,20)  >>>print ('It took', time.time()-start , 'seconds.')`


Myopia, meaning short sightedness is said to develop when eyes are exposed to excessive strain. But what I've failed to understand properly is whether myopia can be reversed or cured in any manner? When I was diagnosed with myopia in my childhood, my doctor told me that if I were to stare at far away objects for long periods, it would help cure my eyes. I'm not sure if what he said was to keep me off my computer, or whether it had some scientific background. Thus my question, is myopia reversible, naturally or through medication?


Let $w>0$.compute the matrix $e^{A}$,where $$A=\begin{bmatrix}  0 & w \\ -w& 0    \\ \end{bmatrix}$$


Possible Duplicate:    Should there be a space before three dots? Examples:  I don't know if this is good... I don't know if this is good ...  Also, as a status message intended for a software user: Writing results... Done.  or Writing results ... Done.


Back-transformation of regression coefficients

I'm doing a linear regression with a transformed dependent variable. The following transformation was done so that the assumption of normality of residuals would hold. The untransformed dependant variable was negatively skewed, and the following transform made it close to normal:   $$Y=\sqrt{50-Y_{orig}}$$  where $Y_{orig}$ is the dependent variable on the original scale.   I think it makes sense to use some transformation on the $\beta$ coefficients to work our way back to the original scale. Using the following regression equation,   $$Y=\sqrt{50-Y_{orig}}=\alpha+\beta \cdot X$$  and by fixing $X=0$, we have   $$\alpha=\sqrt{50-Y_{orig}}=\sqrt{50-\alpha_{orig}}$$  And finally,  $$\alpha_{orig}=50-\alpha^2$$  Using the same logic, I found  $$\beta_{orig}=\alpha\space(\alpha-2\beta)+\beta^2+\alpha_{orig}-50$$  Now things work very well for a model with 1 or 2 predictors; the back-transformed coefficients resemble the original ones, only now I can trust the standard errors. The problem comes when including an interaction term, such as  $$Y=\alpha+X_1\beta_{X_1}+X_2\beta_{X_2}+X_1X_2\beta_{X_1X_2}$$  Then the back-transformation for the $\beta$s are not so close to the ones from the original scale, and I'm not sure why that happens. I'm also unsure if the formula found for back-transforming a beta coefficient is usable as is for the 3rd $\beta$ (for the interaction term). Before going into crazy algebra, I thought I'd ask for advice...


Power analysis for assessing performance of a binomial classification model

I'm looking to perform third-party assessment of the false-positive rate of a video classification algorithm. I am feeding unlabeled video through a given classification algorithm and need to assess it for false-positives, the hard part is that there is so much resulting classified video it would take months for me to watch all of it. I'd like to perform a power analysis to only look at a sample of the video and specify the FP rate at a given CI/precision.  To make things simple, let's say the algorithm flags video sequences that have at least one cat in it. I'm looking to evaluate the frequency of false positives for all the new data. So I have tagged all the video that my algorithm has identified a cat in and now want to sample the tagged video sections and look through the sample manually to ascertain what the FP rate is with this new data set. Note, I'm not looking to refine the model at this point, just assess it.  My null hypothesis is that the FP rate of the sample of tagged video I watch is equal to the FP rate of all the tagged video.   I think I can use this formula to determine the number of video sequences to view:    MY QUESTION:    My goal is to be able to say, "looking at a sample of the video, the FP rate is x given a confidence/precision of y".  Am I thinking through this formulation correctly? What would I use for values of p and p0? Would p be the model's reported FP rate?   I've been using this online calculator:


Linear independence of vectors that form non-square matrix

We can easily find out if the vectors are dependent or not by finding determinant of matrices formed from the vectors. But if the matrix is not a square matrix, we cannot find the determinant. Then how do we know if the vectors are linearly independent?


How to manipulate files in external hard drive using terminal?

How can I access (remove to be specific) files from my external hard drive which is already mounted using terminal?


Creating an index in both asc and desc directions

Over the past few weeks I've been raging against an old Firebird database. This database is crappy for all sorts of reasons, but one thing I noticed was that every single field of every single table has two indexes; each one with a single segment, one in asc order and one in desc order.  Apart from the wtf'ness of having an index for every field in every table, it got me thinking - is there any advantage for single-segment indexes to having two indexes with the same index segments, but one in desc and one in asc? Is there anything to be gained, or would a modern DBMS simple use the asc index and start from the end and work its way backwards if required?


I would like to draw a squiggly line with an arrow somewhere in the middle of it. TikZ has a pathmorphing decoration that draws a squiggly line and a markings decoration to place an arrow tip. So a solution would be to use them together:  \documentclass{article} \usepackage{tikz} \usetikzlibrary{decorations,decorations.pathmorphing,decorations.markings} \begin{document}  \begin{tikzpicture}  \draw[          decoration={snake},          decorate,          postaction={decoration={markings,mark=at position 0.6 with {\arrow{>}}},decorate}      ]         (0,0) -- (2,0); \end{tikzpicture}  \end{document}   Unfortunately this does not work and results in  ! Dimension too large. <to be read again>                     \relax  l.11         (0,0) -- (2,0);   I suspect there is an infinite recursion going on somewhere.  Is there a workaround? If not, is there a different simple solution to the problem?  (Note: This is probably related to my previous question )


Rename files and directories with windows or linux reserved characters

I want to recursively rename files and directories from the current directory. The characters < > : " \ | ? * / should be removed. Also remove the spaces at the start and end of a filename. This is what I have so far, it's giving me trouble with the / of the subdirectories:  find . -depth -exec rename -n 's![:<>/"\\|?*]!!g; s/ *$//g' {} \;   Edit: The trouble that it gives me with / is that it's replacing the forward slash separating directories and introducing the subdirectory into the name of the file. So according to  it should be something like this:  LC_ALL=C find . -depth -execdir rename -n 's![:<>/"\\|?*]!!g; s/( *$)//g' {} +   Now it gives me a problem with filenames with newlines, it thinks each line is a different file and it's trying to rename files that don't exist. Also the rename should only execute for files that present problems in the filenames, so use the -name flag for find. It also needs to remove the spaces at the start. I need some explanation on each part of the command used in the answer. I don't even remember why I have copied the LC_ALL=C.  Maybe this fixes the problems, I still have to try it:  LC_ALL=C find . -depth -exec rename -n 's![:<>/"\\|?*]!!g; s/\n/ /g; s/ *$//g; s/^ *//g;' {} \;   The context is that I had to do chkdsk /f e: to fix a hard drive that couldn't mount on Linux Mint. chkdsk fixed the problem but it moved and renamed every file with special characters. So now I had to move and rename again those files as they were before but without special characters. I want to have a way to avoid all that, by running a command to fix the names from time to time so I don't run into the same problem again. That's why I asked this question.


Unable to setup iptables for ftp passive mode

I tried the following rules to allow FTP:  # The following two rules allow the inbound FTP connection iptables -A INPUT -p tcp --sport 21 -m state --state ESTABLISHED -j ACCEPT iptables -A OUTPUT -p tcp --dport 21 -m state --state NEW,ESTABLISHED -j ACCEPT  # The next 2 lines allow active ftp connections iptables -A INPUT -p tcp --sport 20 -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A OUTPUT -p tcp --dport 20 -m state --state ESTABLISHED -j ACCEPT  # These last two rules allow for passive transfers iptables -A INPUT -p tcp --sport 1024: --dport 1024: -m state --state ESTABLISHED -j ACCEPT iptables -A OUTPUT -p tcp --sport 1024: --dport 1024: -m state --state ESTABLISHED,RELATED -j ACCEPT   Despite the fact, that I allowed passive ftp connections, when I try to connect to a server, the ftp client hangs with word: "Entering passive mode".  After I allowed all the outbound connections:  iptables -P OUTPUT ACCEPT   it started to work.  What is wrong?


How to proof that convergence on metric hold iff convergence on measure

I want to prove that fact.  Let $\mu X < \infty$ Then $d(f_n,f) \to 0$ $\Leftrightarrow$ $f_n \to f$ in measure. When $d(f,g) = \int \frac{|f-g|}{1+ |f-g|}d\mu$  I know that if $f_n \to f$ hold iff $\mu \{|f_n-f| \ge \varepsilon\} \to 0 \ \ \forall \varepsilon > 0$. But how to deduce that $d(f_n,f) \to 0$ Do I use a Chebyshev's_inequality?


I recently installed Ubuntu 16.04 alongside Windows 10 on my Acer Aspire laptop, and this is my first experience with Linux. I'm having trouble with the WiFi. There is no option for me to turn wireless on, and there is no list of available networks.  I know similar questions have been asked a lot, but I've been different different answers for the last couple of days and trying the solutions and none of them have worked.  I have Broadcom BCM43228, and I have selected "Using Broadcom 802.11 Linux STA wireless driver source from bcmwl-kernel-source (proprietary)" in the Additional drivers section of the system settings.  My wireless is not soft or hard blocked, my wired internet is working, and my WiFi also works in Windows.  Output of iwconfig:     ~$ iwconfig      lo        no wireless extensions.      enp1s0f1  no wireless extensions.`   Output of sudo modprobe wl  ~$ sudo modprobe wl  [sudo] password for zacmerphy:   modprobe: ERROR: could not insert 'wl': Required key not available


Where do I begin in order to study relativity?

I am in high school now and I want to get the basic idea of what relativity. Can anyone suggest me a book or website for it? I am also curious about the mathematics behind it. Is it possible for me to understand relativity in mathematical terms while still in high school? (Let's assume I know everything till Grade 12)


Can't See Background Image on Ortho View

I'm trying to import a background image, and it shows the file name, but it does not show up. I put it in Ortho view but it still wouldn't show. I tried with lots of images just to make sure the image was corrupted or something.  Any ideas?


calculate complex geometry for a dynamic system

Imagine a spherical ball with radius r that equally coated into two hemisphere P(grey) and S(white) is thrown at the pool. Consider the ball can float (up-down) and rotate. There is an interface separate two different fluid A(air) and B(water). Assume that the interface is flat. α defines the position of the ball and β defines the orientation of the ball. So α larger means ball is more in zone A and vice versa. Range of β and α is $[0,360^0]$ and $[0,180^0]$. The Schematic representation of this is below.   To calculate the surface area of P(grey) coated portion of the ball into A(air) is given by following equation,  $\mathrm{Area}_{P@A}=  r^2\int_{\theta=\frac{\pi}{2}-\beta}^\alpha  \int_{\phi=\arcsin(1/(\tan\theta \tan \beta))} ^{\pi -\arcsin(1/(\tan\theta \tan \beta)} \sin\theta\; d\theta d\phi.$  After solving this equation, we can get the following solution.  $\textrm{Area}_{P@A}= 2 r^2 \left\{ \cos (\alpha) \sin ^{-1}(\cot (\alpha) \cot (\beta)) -\tan ^{-1}\left(\frac{\cos (\beta)}{\sqrt{\sin ^2(\beta)-\cos ^2(\alpha)}}\right)\right\}+\pi  r^2 (1-\cos (\alpha)).$  Note that the solution is defined as a function of α and β. If we change the value of α and β, the area of P coated portion into A(air) will change eventually. Thus we can calculate the area for all valid condition of $\alpha$ and $\beta$.  Now consider a different situation where P and S are not equally coated rather S>P. So I have two spherical cap. Lets assume we know all properties of the cap. Here I show few but if it is necessary we can introduce more.    How can i modify my previous expression if I only want to calculate the  red coloured area? What will be my limit of integration? I have seen  where spherical cap crossing an intersection with some given parameter is shown but in my case my sphere can both rotate and translate. So I need some sort of analytical solution like the hemisphere case where the solution will be a function of rotation and translation.   NOTE: If it is necessary to introduce more parameter, we can do it because of the uniqueness of this problem.


Is there a more direct reason for the following:     If the columns of $n\times n$ square matrix are orthonormal, then its rows are also orthonormal.   The standard proof involves showing that left inverse of a matrix is same as the right inverse and thereby concluding that if $Q^TQ = I$, then $QQ^T = I$. This seems to be more of an algebraic manipulation. Can someone offer me a geometric insight?    Thanks


Check whether a sample correlation matrix is valid

Is it possible to have the following sample correlation matrix for $x$, $y$, $z$?  $\begin{pmatrix} 1 & 0.8 & 0.2 \\ 0.8 & 1 & 0.7\\ 0.2 & 0.7 & 1\end{pmatrix}$  Where a 3 by 3 correlation matrix is $\begin{pmatrix} 1 & p_{xy} & p_{xz} \\ p_{yx} & 1 & p_{yz}\\ p_{zx} & p_{zy} & 1\end{pmatrix}$, and the $p$'s (partial correlations) are unequal, making this different more general than a similar question with equal partial correlations posed .  My answer is yes, and my reasoning is: all the diagonal entries have value $1$, the matrix is symmetric and all entries are between $-1$ and $1$  Is my reasoning good enough? Are there other points that I'm missing?


Change behavior of Chrome search bar autocomplete

Chrome has its annoyances, but for the most part it's okay.  Except when it autocompletes the text that I type into the address/search bar.  Instead of typing something like "atom", hitting Enter, and realizing that Chrome has decided to search for "atomic mass of Einsteinium" instead of "atom" simply because I've searched for it before, I want to type "atom", still have the autocomplete, and have the option for tab completion.  Does this exist? Can this be changed? Can Chrome be slightly less annoying?  Thanks!


What happens if I purchase a building halfway through construction?

If I purchase a building that is halfway through construction, what happens to the extra production?  Is the cost of purchasing the building lowered?  Do I receive a cash payment, similar to an opponent finishing a wonder I was building?  Or does the production just disappear?


Careers job ad for my company always showing

I keep getting a job offered by my company everywhere a careers ads box is shown. Is that a normal or intended behaviour?  Here's the company page, you can see that I'm already added to the company:   And here's a screenshot taken from StackOverflow:    I think I shouldn't be receiving job offers from the company I work at, should I?


Here is my regex for validating a e-mailadress. But it keeps removing letters with a apostrophe. For example (Hélen, becomes Hlen)   var firstname = $("#FirstName").val().replace(/å/gi, "a").replace(/ä/gi,"a").replace(/ö/gi, "o").replace(/[^a-z0-9\s]/gi, '');  var lastname = $("#LastName").val().replace(/å/gi, "a").replace(/ä/gi, "a").replace(/ö/gi, "o").replace(/[^a-z0-9\s]/gi, '');  $("#Mail").val(firstname + "." + lastname + '@customer.Email');


Can I take clear night sky photographs with my smartphone?

is it possible to take clear night sky shots with stars/ planets visible from Redmi Note 4? what settings do I use? when I try to take it just comes black, unless on full moon day with HDR, though stars like Orion's belt won't get captured. Would using a telescope make celestial objects much clear to capture?


Hi i have been pondering the sorting of string, using linq, which is in the format of   L-NN-L-NN-L L= A->Z (for all three placements) NN = 1->99 (first NN) NN = 1->99 (second NN group by odds then evens)   The code i have so far has brought me to the of running a foreach loop on the first L and adding to a List the sorted arrangement, based on the remaining NN-L-NN-L structure.  It would be nice if the sorting of the NN-L-NN-L was a one-liner  any thoughts on this?  |Thanks


How to tell if a certain item is in a player inventory?

I am trying to create a challenge world where a certain item (e.g. a Netherite Sword) must be collected. How can I check automatically if a player has it (using commands), and then congratulate the winner? This question is specific to Bedrock Edition 1.16. I have tried other solutions so many times and they don't seem to work. See also:


The necessity of hiding the salt for a hash

At work we have two competing theories for salts.  The products I work on use something like a user name or phone number to salt the hash.  Essentially something that is different for each user but is readily available to us.  The other product randomly generates a salt for each user and changes each time the user changes the password.  The salt is then encrypted in the database.  My question is if the second approach is really necessary?  I can understand from a purely theoretical perspective that it is more secure than the first approach, but what about from a practicality point of view.  Right now to authenticate a user, the salt must be unencrypted and applied to the login information.    After thinking about it, I just don't see a real security gain from this approach.  Changing the salt from account to account, still makes it extremely difficult for someone to attempt to brute force the hashing algorithm even if the attacker was aware of how to quickly determine what it was for each account.  This is going on the assumption that the  passwords are sufficiently strong.  (Obviously finding the correct hash for a set of passwords where they are all two digits is significantly easier than finding the correct hash of passwords which are 8 digits).  Am I incorrect in my logic, or is there something that I am missing?  EDIT: Okay so here's the reason why I think it's really moot to encrypt the salt.  (lemme know if I'm on the right track).    For the following explanation, we'll assume that the passwords are always 8 characters and the salt is 5 and all passwords are comprised of lowercase letters (it just makes the math easier).  Having a different salt for each entry means that I can't use the same rainbow table (actually technically I could if I had one of sufficient size, but let's ignore that for the moment).  This is the real key to the salt from what I understand, because to crack every account I have to reinvent the wheel so to speak for each one.  Now if I know how to apply the correct salt to a password to generate the hash, I'd do it because a salt really just extends the length/complexity of the hashed phrase.  So I would be cutting the number of possible combinations I would need to generate to "know" I have the password + salt from 13^26 to 8^26 because I know what the salt is.  Now that makes it easier, but still really hard.    So onto encrypting the salt.  If I know the salt is encrypted, I wouldn't try and decrypt (assuming I know it has a sufficient level of encryption) it first.  I would ignore it.  Instead of trying to figure out how to decrypt it, going back to the previous example I would just generate a larger rainbow table containing all keys for the 13^26.  Not knowing the salt would definitely slow me down, but I don't think it would add the monumental task of trying to crack the salt encryption first.  That's why I don't think it's worth it.  Thoughts?  Here is a link describing how long passwords will hold up under a brute force attack:


How to fetch HTML Input Id in code behind ASP.Net MVC ? Either on Controller or on Model?

How to fetch HTML Input Id in code behind ASP.Net MVC ? Either on Controller or on Model ?  view / .cshtml   <button type="submit" id="previewButton" >Preview</button>   JQuery : - This will not be in use.  $("button").click(function ()     {         var btn = this.id;           alert(btn);    }   In Controller :  [HttpPost]         public ActionResult New(MyViewModel viewModel, string clickedButton)         {              var vm = clickedButton;             return View(vm);         }    MyViewModel  public string clickedButton { get; set; }


Can I write program logic operating on opcodes without a big if/elif/elif/... block?

Let me explain a little better with some code. class Opcode (Enum):     WEEK=    1     EMAIL=   2     NAME=    3     DOB=     4  I then have a parameters class which processes data received by the server, and stores it in the appropriate variable : class parameters:     week = None     email = None     name = None     dob = None          def __init__(self, conn):         #some initialization stuff, irrelevant              def process_input(self, opcode, data):         if opcode == Opcode.WEEK.value:             self.week = data                      elif opcode == Opcode.EMAIL.value:             self.email= data                   elif opcode == Opcode.NAME.value:             self.name= data          elif opcode == Opcode.DOB.value:             self.dob= data          .          .          .           else :             print("unknown opcode provided. disconnecting ... ")             #disconnect from client ...  This doesn't seem too bad with only 4 opcodes, but in reality my  program has 12 opcodes and so this long if...elif...elif...else branch seems like a bad way of processing inputs. I'm use to working with C++, in which case I'd have used a switch-case, but they don't appear to be a thing in python, so perhaps there is a better solution I just don't know about. Any advice?


Can I visit Paris with a visa for Germany which I got in India?

I have got a Deutchesland visa for Germany in India. I want to go Paris too. Do I need different Visa for that?it's written Valid for.  Deutchesland Type D


Why does the trend of gravitational field of Earth is like this ( the graph below)?

I think that, since Earth is spherical, the amount of mass in the upper half of Earth should be the same as the second half, therefore, if the strength of gravitational field increase linearly from distance 0 to R, it should also decrease at the same rate from R to 2R, however, it will never reach zero


Wouldn't a photon disappear because of length contraction?

I was experimenting with the formula for length contraction, when I realized that anything traveling at the speed of light shrinks out of existence. This is the formula for length contraction: $$T=T'\sqrt{1-\frac{v^2}{c^2}}$$ Where $T$ is the observed length and $T'$ is the proper length. When the speed of light, $c$, is plugged in for $v$, then the formula simplifies to this: $$T=T'\sqrt{1-1}$$ Which further simplifies to this: $$T=T'(0)$$ Therefore, anything traveling at the speed of light will not be seen, regardless of actual length. So, wouldn't we not be able to see any particle traveling at the speed of light?


How to activate new iPad without disclosing credit card number?

I bought my mother an iPad 2 as a gift for her birthday, hoping that it would enable my toddler son to do Facetime with his grandmother.  I tried to walk her through the activation process (over email) by having her download iTunes to her Windows laptop, etc.  She managed to do that much, but when the activation process asked her to create an Apple ID and give a credit card number, she refused to proceed.  I can't imagine that she would even buy an app, or music, or a book.   I thought the device would be worth it just for mobile Safari, Facetime, and the other built in apps.  Is it possible to activate the device without creating an Apple ID?  If not, is it possible to get around the credit-card number field?


I can't see anything - Teams banner and cookie toaster obscure my whole screen

There have been  for a while, but this is ridiculous. It reminds me of , but this time it's network-wide.   The banner must be scrolled past (or dismissed) on every page unless both first-party JavaScript and first-party cookies are enabled. If first-party JavaScript is enabled, and the banner is visible, the rest of the page jumps up and down every so often.  Under certain circumstances (not quite sure what they are, yet – a direct link to an answer, maybe? I'm seeing it ) the entire page jumps up and down a line every few seconds even when the banner is off-screen.   The cookie banner keeps coming back unless both third-party JavaScript  are enabled (and  is solved). The cookie box occludes the “Learn more about Teams” link in the banner (with default Firefox window sizes) and the Job / Teams link in the sidebar.  As it stands,  – a site for hobbyists and researchers, whose audience is not very likely to purchase Teams – is much, much harder to use, for no benefit that I can see. Can you roll back this change, please?


Does $\int _1^{\infty }\left(\sin \left(x^2\right)\right)dx$ converge or diverge?

I'm in need of some assistance regarding a question in my Calculus textboox:  Find if the following converges or diverges without calculating the integral: $$\int _1^{\infty }\left(\sin \left(x^2\right)\right)dx$$  I tried using several methods, including the convergence test but with no luck. Any help is appreciated, Thx!


How to redirect subdomains without specify the domain?

Is there a way to redirect all my subdomains without specify the domain, I mean for example:  when I write www it should resolve to www.mydomain.com or if I write ftp it should redirect to ftp.mydomain.com  I know I could write wildcards in the hosts file but I'm not sure how to write something where the wildcard take the subdomain and concatenate it with mydomain.com


What does one have to consider before upgrading laptops CPU

this question is not similar to this, because the other one is about one pc in specific and mine is about any pc.    I have found a intel core i7 octa core (with Intel vpro) in a screen damaged pc so i am interested in upgrade my current i5 dual dual core processor.  I have been researching a little about What does one have to consider before upgrading my laptop´s CPU, and i have found that the only i need to verify is if the new procesor is compatible with the actual socket.  I want to know if this is the only consideration that i must have when installing the processor and what may happen If something goes wrong?


Random Order of Numbers in Select Statement

In the case where you've specified the following list of numbers, which are in random order, will the results be in the same order?   where item in (     371355,     371476,     371629,     370556,     370677,     370820,     370952,     371070,     371223,     372154,     372253,     371751,     371872 )


Is this equation in the image true? Can you give some topics that I can cover the equation?   Similar equation from :


I have been playing on hardmode for a while and have beaten the three  a couple of times. But I have yet to find a . It's getting really frustrating.  Does anyone have any methods to finding a Plantera Bulb?


How to remove unwanted edge between adjacent coplanar faces?

I have a wooden box with diagonal struts to make it sturdy (don't try to google, impossible to find):    And it seems okay, but in edit mode it has meaningless edges appeared after tapping A -> Delete -> Limited Dissolve:    How to get rid of these, they are increasing triangle amount with no point.


Undefined control sequence because of "de" in the author names

I updated my Latex files (I am using MacTex2015 distribution) and since than I am getting a strange undefined control sequence error. Bibliographical entries that have "de" in the author name don't work unless I change it to "De" which is wrong.  Here is my MWE:  \documentclass[a4paper,11pt]{scrartcl} \usepackage[latin1]{inputenc} \usepackage{blindtext} \usepackage{hyperref} \usepackage{csquotes} \usepackage{filecontents} \begin{filecontents}{\jobname.bib}  @book{devogel1967,     Address = {Leiden},     Author = {Cornelia Johanna de Vogel},     Call-Number = {TH: Ps 2.276},     Date-Added = {2014-07-20 14:47:36 +0000},     Date-Modified = {2014-08-17 10:23:51 +0000},     Keywords = {secondary},     Number = {3. The Helenistic-Roman Period},     Publisher = {Brill Archive},     Title = {Greek Philosophy},     Year = {1967}} \end{filecontents} \usepackage[ngerman]{babel} \usepackage[style=historische-zeitschrift, maxnames=2, hyperref=true, backref=true, backrefstyle=none, backend=bibtex,idemtracker=true]{biblatex} \bibliography{\jobname} % \begin{document} \blindtext\footcite{devogel1967} \pagebreak \printbibliography \end{document}   Can someone help with this? Thank you!


Prepaid SIM card for 1 month stay in Texas / USA

I will be staying in Houston (Texas) for about a month and I'm looking for a prepaid SIM card that I can use during that time, preferably with mobile data.   Update (more details):  Primarily, I'm looking for data transfer. Voice calls are secondary, in fact, I could do without. I will be staying at the same hotel throughout the duration, so if the coverage area includes Houston that's good enough.


The question is two parts. Suppose $B$ denotes the closed unit ball in $\mathbb{R}^n$ and $U$ is an open set containing the ball. Let $f$ be a $C^1$, rank $n$ function $U \to \mathbb{R}^n$ such that $||f(x) - x|| < 1/2$ for $x \in U$. First, show that $||f||^2$ attains a minimum in the interior of $B$. Second, show that $f$ actually hits $0$.  It is not so hard to see that the second claim implies the first. This is because $||f||^2$ cannot possibly be any smaller than $0$, so if $f(x) = 0$ for some $x$, this is as low as it goes. It is a minimum since $f$ is rank $n$, and thus a local homeomorphism by the inverse function theorem. This implies it is locally injective, and thus a local minimum. It must happen in the ball, since the inequality given says in fact it has to happen in the open ball of radius $1/2$.  It is a common theme among the writers of these questions that the first part be a special case of the second, which is often times provable without the first. Thus I'd like to find an argument which establishes this fact directly.  Any hints?


I can't copy text out of some web pages. I assume this is because the page somehow disables the Ctrl-C key.  I tried to use the Developer Web Console in Firefox and that did not work either. Here is a screen shot:    In the screen shot above, you can see I am trying to copy the text in a paragraph span which I have isolated in the Inspector (the text begins "65 Market Street..."). Nevertheless, when I open up the context menu, copying is grayed out and disabled, as you can see.  How can I copy the text?


Do creatures that have no Intelligence Score ("Int —" in the stat block) gain Feats? I'm creating some monsters but I failed to find the answer for this question.


At a party, 100 guests check their hats at the entrance. Mark is the first person to leave. He is drunk and takes away a hat at random.

Each succeeding person takes his own hat if it is not taken. If it is taken, he picks a hat at random from the remaining hats. What is the probability that the last person gets their own hat?  I'm just a college student trying to make my way in life. This is a homework question, so I'd appreciate some hints! Thank you all very much.  What I've attempted so far: I tried to make a conditional probability tree for all the possibilities that Mark could have. I.e., he could pick the first guest's hat, the second guest's hat, etc., or he could pick his own hat, with each 'branch' having probability $\frac{1}{100}$.  Then the first guest would have 99 hats to choose from. If Mark picked out the first guest's hat, then the first guest has $\frac{1}{99}$ probability of choosing any hat from the remaining. (or, $\frac{1}{99}$ probability of choosing the last hat).  Continuing on this logic, I thought that the probability that the last guest doesn't get their hat would be the sequence $\frac{1}{100} + \frac{1}{100 * 99} + \frac{1}{100 * 99 * 98}$ and so on and so forth.  i.e P(the last person does not get their hat) = ${1} - \sum_{k=0}^{100} \frac{k!}{100!}$   I know this is wrong, because just because an nth guest gets their own hat does not mean that the last guest gets theirs, if I'm making any sense.


Where can I ask for statistics related to programming?

Today I read Jon Skeet's blog entry on how to write a good question on StackOverflow.com.  During the day I realized that I had a question which I couldn't find an answer for:  "What is the most popular .NET unit testing framework?"  So I  (deleted, 10k+ users only).  Which is the most popular .NET unit testing framework? I'm trying to decide which unit testing framework I should learn, with the simple goal that it should be the one I would most likely be required to know if I changed jobs. Please note:  I'm not looking for subjective answers nor opinions. I'm not asking which is better to use. I'm hoping to get an answer like "This site says that, in a survey of twenty companies, this framework is most commonly used," or "While looking for a job I noticed that ten companies used this framework, while twenty used the other." I have tried Google-ing this, but haven't had any luck so far. If I were to guess I'd say the answer is going to be MSTest or NUnit.   I explained my reason for wanting this answered. I explained criteria for the answer: That I didn't want subjective answers (wanted evidence / statistical answers). I explained what I had previously tried in order to find an answer. Within about a minute my question had been marked down five times with a comment explaining problems that poll style questions cause. Since I don't actually want subjective opinions, I didn't think of this as a poll type question... nevertheless, any idea where or how I should ask to get an answer and some positivity?


Check for dpkg frontend lock using python

I'm writing a pthon script to install several setups and configs. but before installing that i want to check if the dpkg frontend is locked or not. sample if(checkfordpkg() == true):  print("dpkg frontend is locked") else:  installconfigs()  can someone help me out with this part. I cannot think of a way to check the dpkg frontend lock using python.


BibTeX bibliography doesn't display when compiling using AUCTeX

I created a simple BibTeX file as well as a simple LaTeX file that references said BibTeX file. When I compile document in AUCTeX using C-c C-a, the bibliography section doesn't appear and the citations are broken:  this command should run the LaTeX-BibTeX-LaTeX-LaTeX cycle. The file itself is fine as verified by running the same cycle manually.  %% Bibliography.bib @book{WEN08,     Author = {Jochen Wengenroth},     Date-Added = {2017-05-08 08:16:51 +0000},     Date-Modified = {2017-05-08 08:19:24 +0000},     Publisher = {de Gruyter},     Title = {Wahrscheinlichkeitstheorie},     Year = {2008}}  %% MyDoc.tex \documentclass[11pt]{article} \usepackage{cite}  \begin{document}  \title{My Article} \author{Nobody Jr.} \date{Today} \maketitle  Blablabla said Nobody ~\cite{WEN08}.   \bibliography{Bibliography}{} \bibliographystyle{plain} \end{document}       AUCTeX 11.90.0 Emacs 25.1.1 TeX Live 2016, v. 3.14159265 macOS Sierra, v. 10.12.4


What is the difference between implicit, explicit, and total time dependence, e.g. $\frac{\partial \rho}{\partial t}$ and $\frac{d \rho} {dt}$?  I know one is a partial derivative and the other is a total derivative. But physically I cannot distinguish between them. I have a clue that my doubt really might be understanding the difference between implicit, explicit and  total time dependence.


Let's say I test how variable Y depends on variable X under different experimental conditions and obtain the following graph:    The dash lines in the graph above represent linear regression for each data series (experimental setup) and the numbers in the legend denote the Pearson correlation of each data series.  I would like to calculate the "average correlation" (or "mean correlation") between X and Y. May I simply average the r values? What about the "average determination criterion", $R^2$? Should I calculate the average r and than take the square of that value or should I compute the average of individual $R^2$'s?


Generating all blocks of one type as another type?

Is there a mod or other method by which I could have a world in which wherever one type of block would normally be generated another type would be instead? Specifically, I was thinking it would be interesting and difficult to attempt playing in a world where all generated wood would be generated as obsidian instead and vice versa.  Is there any existing way to do this? If not, can anyone guess how difficult such a mod would be to create? I've never done any modding of Minecraft before, but I have plenty of programming experience, and if it wouldn't be too time consuming of a project I would attempt it.


The trip, should it go ahead, would mark Xi's first visit to the North   Korean capital since he came to power in 2012.     What is grammar about the "should" go first non-question sentence?


Don't hide (un)deletion votes cast on deleted posts

I'm a big fan of the votes tab in the profile page, as it allows me to keep track of my usage of the moderation tools. Or at least it would, if votes cast on deleted posts didn't unceremoniously disappear.  Although I don't like it, I can live with that for (up|down|close|reopen)-votes. In fact, I didn't even notice it before gaining 10k rep on SU. But it renders the deletion and undelete subtabs pretty much useless, since it hides – by design – all successful deletion and (yet) unsuccessful undeletion votes.  @slhck suggested in an answer to  the following rationale for this behavior:     While this sounds strange, it's just a result of the … let's call it "Stack Exchange policy" of not showing lists of deleted posts to non-moderators. In my opinion this policy is a little incoherent, because your flagging record shows deleted posts [...]   Actually, the flagging record shows deleted posts to pretty much all users. So does the reputation tab of the user profile (as long as you earned/lost reputation on that post).  If that is in fact the reason, why can't a 10k user see a list of posts he voted on (and thus, already saw)?


Snipping tool with highlight/write functionality?

I'm looking for something similar to Snipping Tool for Ubuntu that has the highlight functionality. Screenshot does not have this functionality and I'd like to avoid using an intermediate tool like Gimp to highlight/write on screenshot image.   Is there a tool for ubuntu/linux that can take a screenshot and has highlighting and/or other write functionality?


Please check my proof for $N$ is infinite

DEFINITION 1:  A set $S$ is finite  if there is a bijection from the set $[n]=\left\{ 1, ..., n \right\} \text{for some } n\in N$   to $S$.  A set is infinite if its not finite.   Claim : $\nexists g:[n]\to A$ an injection, where $A\subsetneq [n]\;\forall  n\in N$  Proof of claim : Let $P(n) $ be the statement  $\nexists g:[n]\to A$ an injection, where $A\subsetneq [n]\;\forall  n\in N$  $P(1)$ true as $\nexists g:[1]\to A $ a function, where $A\subsetneq[1] (=\phi)$  Assume $P(n)$ to be true.  Consider for $P(n+1)$ : Let $A\subsetneq [n+1]$  if $\exists g:[n+1]\to A$ an injection then  Case $1.$ $n+1\in rng(g)$  Case $1.1$ if $g(n+1)=n+1$, then $g_{[n]}$, the restriction of $g$ on $[n]$ is injection from $[n]$ to $A\setminus\{n+1\}\subsetneq [n]$, which is a contradiction to induction hypothesis.  Case $1.2$ if $g(n+1)\neq n+1$, suppose $g(i)=n+1$ and $g(n+1)=j$ then we can always interchange the value of $g$ at $i$ and $n+1$ to go back to case $1.1$ and conclude contradiction.  Case $2.$ $n+1 \notin rng(g)$ then the injection $g_{[n]}:[n]\to A\setminus\{g(n+1)\}\subsetneq [n]$ again leads to contradiction.  Back to main proof:  Since every finite set of cardinality $m$ is in bijective correspondence to $[m]$, we conclude by our above claim that there can not exist an injection from a finite set to its proper subset.  Now, on contrary, suppose $N$ is finite  $\Rightarrow \exists f:N\to[n]$ for some $n\in N$  But $[n]\subsetneq N$ leading to contradiction. Hence, $N$ can't be finite. So $N$ is infinite.  Is this proof correct?


Export a subset of data, from mysql production database, to make a test database

I have a mysql production database, with multiple tables. Tables are related with foreign key constraints. I want to make a small test database, by collecting/exporting only a small subset of data from the whole database (i.e. from all tables), so that foreign key constraints are preserved in the data subset.  How can I do that?


How to make Chrome to confirm on quit tab?

Chrome always quit when I click on the X button on a tab, without asking me anything!  Even when I close Chrome he do not alert me if I am willing to relay close it?   Many times it happened that accidentally I clicked on X button.


If $f(1) = i$ what is $f(i)$ for a function with $|f(z)| \leq K|z|$ ? GATE 2011

Let $f(z)$ be an entire function s.t. $|f(z)| < K|z|$, $\forall$ $z \in \mathbb{C}$, for some $K > 0$. If $f(1) = i$ what is the value of $f(i)$ and why? The value of $f(i)$ will be one of these four followings.   1 -1 i -i   My intuition is $i$ i.e. 3. I am imagining some boundedness property like Liouville's theorem, but I do not know accurate result(s) and proof(s). I am more interested in why part. Please add sufficient reference.   Thank you for your help.


How to change Terminal Title in ubuntu 16.04

When I was using ubuntu 14.04, it's easy to set title. Just press F2 or move mouse to top menu. But there is no menu on ubuntu 16.04 and press F2 can't change the title. What should I do?


I have a BA degree in Biochemistry.  I worked at a research lab for 5 yrs before I quit my job to be a stay at home.  Now I want to change my career and get into the field of QA.  I don't have much knowledge as to what the best way is to get into this field.  I cant afford to take online courses, so I want to self teach it to me.  Any suggestions and help would be greatly appreciated.


Easy way of snapping Objects and Faces to vertices?

I`m trying to migrate to blender (2.8) but can't figure out how to simply snap a face or faces or objects or edges etc based on vertices (see example below of how it is done in 3dsmax) as the gizmo concept seems to work differently in blender. What is the best workflow to achieve this behavior in blender? thanks in advance!


How can I take a screenshot in X.org?  I am unsure if the Print Screen button will "just work" and I don't know how I would go about testing it.


Comma or not comma? That is the question!  Notice they each tout features like, "Vitamins A, C, and E," "Olive Leaf Extract," and "Sustainable Orange Stem Cells."   OR:  Notice they each tout features like "Vitamins A, C, and E," "Olive leaf extract," and "sustainable Orange Stem Cells."   Also, should there be a comma after "notice"?  Thank you


Link objects, but be able to change materials

Is there any way to link an object from another scene, but be able to work with its materials?  For example, I have a model of an airplane which our modeler made. I want to link the model to a new scene where I will setup lighting and shaders and then render. But if we want to make some modifications in geometry, we could go to the original scene and do it.


Why do speed-runners usually use the Japanese version of a game?

In most speed-running videos, the person playing the game will usually play the Japanese version, with or without any knowledge of understanding Japanese. Is there a reason why they do this?   In particular, I am talking about traditionally Japanese games being speed ran, like Cave Story or Legend of Zelda.


File GDB Feature Classes Converting Themselves to File GDB Tables

I have GDBs in folders in a certain location in a shared dropbox. When I move the folders to another location, some of the feature classes have been converted to GDB tables.   I have never seen this before, and now all of a sudden it is happening to me all the time.   Has anyone else seen this and know what is causing it?


Use of “yes” and “no” in answering questions worded in the negative

In studying other languages (Korean at the moment) the use of “yes” and “no” when answering questions that are worded in the negative seems to be opposite English (at least American English) style. In Korean, the Question “You haven’t eaten yet?” Would be answered “Yes, I haven’t eaten yet.” While in English it would be answered “No, I haven’t eaten yet.” What are the English grammar rules for answering questions worded in the negative?