Clipping roads based on their county
Using Iterator with ModelBuilder for clipping and splitting in ArcMap?
What is the easiest/best/most correct way to iterate through the characters of a string in Java? StringTokenizer? Convert the String to a char[] and iterate over that? Something else? How to stop constantly blinking Wifi LED? Haar measure on $SO(n)$ I am interested in describing the group of special orthogonal matrices $SO(n)$ by a set of parameters, in any dimension. I would also like to obtain an expression of the density of the Haar measure in this set of parameters. Could anyone help me on this or indicate a good reference? Thanks I am trying to set up a wordpress multisite with MAMP Pro that will allow me to have two different domains (one domain for each language): dev.domainenglish.com dev.domainfrench.com I have already set up the primary english virtual host and secondary virtual french host. I have installed the wordpress multi site on the primary English virtual host. Next I created a &quot;sub site&quot; within the primary english domain multi site that has the location  dev.domainenglish.com/french/ Then I tried to use the MU Domain mapping plugin to make it so that when you visit dev.domainfrench.com the theme and content posted on dev.domainenglish.com/french/ will be visible. As of now when you visit dev.domainfrench.com the page loads the standard MAMP Pro index.html instead of my wordpress subsite:  the virtual host was set up successfully. If you can see this page, your new virtual host was set up successfully. Now, &gt;web contents can be added and this placeholder page1 should be replaced or &gt;deleted.&quot;  I understand that this plugin was built for live sites. But is there anyway I can achieve my goal of having two domains under one Wordpress multisite on my localhost? Thank you for your time! Include chapters in List of Figures with titletoc? Get table names using SELECT statement in MySQL I look for similar questions to this one but my problem is different. I want to join this community:    so I click in     but I got this error:    but then, I found that the community is already in list of communities:    However, if I click on the community, I'm an anonymous member     and even I have the option to join again     but if I click on it, the problem starts again :( what can I do? Default gender, "Male" or "Female" Should our default gender when selecting male/female on the dropdown list be based on the local  (if a country have more female than male then female is the default value)? I am trying to define an rgb color. More specifically I want to create this color    which in rgb mode it's (98,190,177).  I tried to define this color using the following code  \documentclass{standalone}  \usepackage{tikz}  \begin{document}  \definecolor{tank}{rgb}{0.098,0.190,0.177}  %\definecolor{tank}{rgb}{98,190,177}  \begin{tikzpicture}   \coordinate (tank) at (0,0);   \draw[red, fill=tank] (-2,0.5)--(-0.5,1)--(0.5,1)--(2,0.5)--(2,-0.5)--(0.5,-1)--(-0.5,-1)--(-2,-0.5)--cycle;  \end{tikzpicture} \end{document}   but the output is totally different from what I am trying to achieve    I also tried to use \definecolor{tank}{rgb}{98,190,177} but I get no color at all. How to properly define an rgb color? Prediction interval for binomial random variable What is the formula (approximate or exact) for a prediction interval for a Binomial random variable?  Assume $Y \sim \mathsf{Binom}(n, p)$, and we observe $y$ (drawn from $Y$). The $n$ is known.  Our goal is to obtain a 95% prediction interval for a new draw from $Y$.   The point estimate is $n\hat{p}$, where $\hat{p}=\frac{y}{n}$. A confidence interval for $\hat{p}$ is straightforward, but I cannot find a formula for a prediction interval for $Y$. If we knew $p$ (rather than $\hat{p}$), then a 95% prediction interval just involves finding the quantiles of a binomial. Is there something obvious I'm overlooking? How to control a motor with only relays and push button? Hello I´ve been working in this project for some days, I need to make a circuit with only relays that can make a dc motor start, stop and a reverse. The thing is that when you push the start or the reverse button the motor need to keep running, I can´t keep it pushed.  This is as far as I can get. SW1 turns the engine on, SW5 turns it off and SW7 reverse the motor but only if it is already running. What i need is that the reverse button also turns the engine on. Please help.  notes: -i can only use three push buttons and as many relays as needed. Yes is a school assignment.  THANKS! When Deadpool is in the hallway talking      he makes a joke about Fox springing for a few more X-Men and the camera pans to show Beast closing the door to get rid of the noise.   Who else was in the room? How can I tell if an ETF is expensive? For stocks, I can easily look at the price/earnings ratio, and, according to The Intelligent Investor, stand clear of those with a ratio higher than 20.  How can I tell if the current price of an ETF is a good price to buy it? Are there such simple metrics? We know that wizards in the Harry Potter universe are subject to regular physical harm (e.g. witness injuries from being hit by Bludgers or just colliding with things when playing Quidditch).  Therefore, it's almost a certainty that an average wizard would be vulnerable to, say, a bunch of bullets.   There may likely be spell(s) to protect from projectiles - witness Dumbledore's  deployed when Voldemort sent a bunch of glass at him during the  at the end of Harry Potter and the Order of the Phoenix (according to , possibly an unusually powerful Protego or the Silver shield).   But:   those spells obviously take effort/energy/time to cast (not everyone's Dumbledore) AND more likely than not most Death Eaters wouldn't recognize a Muggle gun for a threat (or realize what kind of threat) till too late.   So, the guns should at best allow an over-matched OotP member (e.g. Harry or Hermione) to greatly equalize the power between any regular Death Eaters and themselves, and even perhaps help against Voldemort (who can't be killed with a bullet, but, at best, would need to expend magical energy and time into conjuring a shield, and, at worst, be stopped/interrupted/driven off).  So I'm looking for an explanation - ideally in-universe, but possibly just some statement by JKR - of why the Muggle-born OotP - who are likely very much at ease AND familiar with Muggle technology and live in the late 20th century - do not use guns. Or, for that matter, ANY Muggle technology of the late 20th century? Cue Arthur C. Clarke's "indistinguishable from magic" meme.  Even if they are on some kind of idiotic moral crusade to never kill their opponents (even the Jedi aren't this dumb), given the time-frame, non-lethal weapons would have already existed, such as rubber bullets and tasers.  NOTE: Please don't offer the "if they do it, Death Eaters would start using guns as well" theory. First, Death Eaters would have used the guns if they knew how to, anyway. Second, the guns, like any "secret weapon", could be reserved for strategic battles, say the defense of Hogwarts in Deathly Hallows.    The origin of the question stems from two things.  First, Harry's fascination with all things that are different in the magical world (e.g. moving photographs), based on his knowledge of the Muggle material world, as well as the somewhat amusing cluelessness of the "Muggle artifacts" expert, Mr. Weasley, regarding Muggle items and how they work.   Basically, from the books, it's clear that the Wizarding world wouldn't know details about guns or what they are for or how they work.  The second thing is it's clear, at least initially, that wizards are afraid of Muggles finding out about them. Hence all the efforts to cloak their society (basically, do you REALLY want every Muggle gunning for you, even with Magic)? The idea of how control over the Muggle world seems to be more indirect, by Death Eaters asserting mind-control over the government. This means there's an implicit understanding by Death Eaters that they don't stand a chance against armed Muggles even given the magical disparity.  Considering Harry and Hermione's overall adaptability and inventiveness (and brains in the latter case), it's mind-boggling that the idea of fighting Death Eaters with modern technology completely slipped their mind. I mean, it's a basic part of human myth (see Steel vs. Magic themes in Conan books, or Beowulf, or heck, A Yankee in King Arthur's Court). So it's not like the idea of using technology against magic would be impossible to come up with. The question begs itself - why not? Considering the fact that Rowling generally tried to be logical and consistent in building the HP universe, I feel like there must be some in-universe explanation for this that I just didn't notice.   (in-universe answers only unless there are some authoritative out-of-universe statements that are part of canon). Sum with parameter convergence What is crop factor and how does it relate to focal length? I'm reading that a 50mm lens is recommended as a first prime lens for DSLR owners as it's supposed to give a 'natural' perspective, but when used on (most) DSLRs, the view is cropped, as if you were zoomed in by 1.5-1.6x, so it's more of a telephoto lens when used on a DSLR. I've also read however that the 50mm lens gives the same perspective on a DSLR and a 35mm, and shouldn't really be considered to be 'equivalent' to an 80mm lens as the crop factor isn't really a magic focal length changer.  Can someone explain how the image is different from (for example) a 50mm lens on a DSLR and an 80mm lens (assuming 1.6x crop factor) on a 35mm camera? What is the difference between linear regression on y with x and x with y? Proof of continuity of Thomae Function at irrationals. Expected area of the intersection of two circles If we pick randomly two points inside a circle centred at $O$ with radius $R$, and draw two circles centred at the two points with radius equal to the distance between them, what is the expected area of the intersection of the two cirlces that contain the origin $O$. Why use apparently meaningless do-while and if-else statements in macros?