I have a shapefile of lines and I would like to know an Arcmap tool to create a new shapefile  with orthogonal lines from the midpoint of that existing line shapes. I know that it is possible to do it manually, but I have so many lines so it would be an impossible way.  Does anybody know an automate way to do it?      Yes, perpendicular lines that cross the middlepoint of the existing lines. An example would be like this:
For an existing set of line features, I would like to generate a perpendicular line, of say 1km, at the midpoint of each existing line feature in ArcGIS.  I imagine that The methodology would be to:   create a tangent line at the midpoint of each existing line feature calculate the angle of the tangent line based on the angle of the tangent line, calculate the location of the endpoint of the new line create the new line with the calculated endpoint of the new line and the existing midpoint of the old line   Let's assume that we are in a UTM projection and can use coordinates to calculate distance and direction.  How would I do this with ArcGIS tools or with ArcPy?
(Built-in) way in JavaScript to check if a string is a valid number I'm hoping there's something in the same conceptual space as the old VB6 IsNumeric() function? Size of the universe This is really a follow up to the  question.  In the first answer to the question, Ted Bunn says:     However, the best available data seem   to indicate that the Universe is very   nearly spatially flat. This means   that, if we do live in a 3-sphere   Universe, the radius of the sphere is   very large, and the distance you'd   have to travel is much larger than the   size of the observable Universe.   My question is, can the available data be used to set a lower bound to the size of the Universe?   In other words, suppose the Universe was actually shaped like a 3 sphere. Then based on our best data, what would the "radius" of that sphere be? How much larger is that than the observable universe? How can we unlock an iPhone backup file if we don't know the password? What's the "official" explanation for Harry's (and everyone else's) absence from muggle school? So a bunch of kids all of a sudden "go missing" from school.  Harry Potter having attended school for a couple of years before starting at Hogwarts, one semester just doesn't show up.  How is this solved? What do parents say when a school teacher calls and wonders where their pupil is?  I assume that Hogwarts isn't an officially recognized school (though perhaps it is?), and due to education being compulsory, someone would do the math and find that low-hundreds of kids go missing in the transition from primary to secondary school every year. I have a Laars gas boiler that has 3 heating zones. I want to replace the old mercury honeywell tstat on the 1st floor (heat only) with a newer honeywell RTH9580 wifi model. I've taken pictures of my entire system, labeled the wires in the pics to indicate the associated connections, and included the Laars wiring diagram.  There is a transformer mounted on the wall near the boiler that is wired in-line to the system (power from the panel --> into the emergency boiler switch --> into the wall transformer --> then to the boiler (low water cut off and boiler circuitry).  There is also a transformer within the boiler circuitry itself.  Can someone tell me the best method (proper preferred, not necessarily easiest) to connect the C wire? May $y=e^x$ be satisfied with both $x$ and $y$ be positive integers?  I think it is not possible as $e$ ,a transcendental number, when multiplied by itself would never result in rational number.  Am I right? How should we understand the teletransportation thought experiment? pkexec command in a .desktop file I made a .desktop file for Androxyde's Flashtool (utility for Sony Xperia devices that I have to open with an executable file in its folder) that requires root privileges to use fastboot utilities. I used to make it work with gksu, but I'm on Ubuntu 15.04 and gksu is now old.  I tried to modify the exec line from Exec=gksu /home/natasha/FlashTool/FlashTool to Exec=pkexec /home/natasha/FlashTool/FlashTool Then, I read about pkexec doesn't allow to run X11 applications and so I override in this way:      The problem now is: It asks me the password but the Flashtool's GUI doesn't start. BUT if I execute that command in terminal, the program starts without problems. What can I do? Say I have the titanic kaggle competition, but I'm not interested in the competition for predicting survival for each individual. Instead I want the most accurate estimate of total survivors on the titanic. Would this be achieved by using a probabilistic model, then adding the probabilities for each individual? For example, if I have 3 people and 1 survived, but my model produced 0.4, 0.4, and 0.4 probabilities for each person to survive, I calculate 0 survived. But if I add 0.4 for each person, I get 1.2, which is closer to the actual. Does this make sense? One of is followed by plural noun/pronoun and singular helping verb Is it possible to create an  shader in Cycles? Specifically for something like , , , etc.. Debug JavaScript within IE6 The number of labelled graphs with all vertices of even degree I have a graph exam tomorrow, and there is a problem that said number of graph with labeled vertices and all of them of even degree is $ 2^{n-1 \choose 2} $.  According to that topic, it means the number of cut spaces is $ 2^{n-1} $. Well, I don't understand what is cut space yet, and why its count is $ 2^{n-1} $ And don't  know why we should divide the total number of graphs by this! E: dpkg was interrupted... run 'sudo dpkg --configure -a' I was running an upgrade with the apt-get command, and it was taking an exceptionally long time because half way through my ISP hit me in the face with their fair usage policy.   After sitting outside &amp; watching the rain for awhile my electronics regained consciousness, so I went back to complete the upgrade and my terminal scolds me with   "E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem."   The last bit of legible info was all this:  Installing (ri/RDoc) documention for (stuff and such) ERROR:  Could not find a valid gem 'watobo-0.9.8.724.gem' (&gt;= 0) in any repository rm: cannot remove `watobo-0.9.8.724.gem': No such file or directory  Setting up metasploit (4.3.0-bt1) ... Upgrading Pre-Existing Installation... /opt/metasploit/postgresql/scripts/ctl.sh : postgresql  (pid 1191) already running prosvc is running metasploit is running [*] [*] Attempting to update the Metasploit Framework... [*]   So on it goes for miles, talking about gem caches, rubies, &amp; stuff I wish I had. All up until:  A    lib/gemcache/ruby/1.9.1/gems/state_machine-1.1.2/gemfiles/active_record-2.1.2.gemfile.lock   ...and there it has sat, all night.    If I stop it, will I still get the dpkg error (on the off chance that I won't), or if so what do I need to to resume using apt-get commands and its Super Cow Powers? Is there a way to load my own custom CSS or Javascript while using a browser?  When I'm accessing a website or developing a website I want to load my own custom scripts from my computer. I know this can be done by Firebug or Chrome's developer toolbar, but after you refresh your browser your changes will be cleared too. This is exactly what I'm looking for adding CSS and Javascript, but I wish it has an option where you temporarily save your changes locally. Or it has an option to load external CSS or JS files.   Purpose:   When I'm developing the frontend, sometimes it's convenient for me using Chrome's developer toolbar or Firefox's Firebug to change or tweak CSS properties because I can then see the changes in real time without refreshing. One problem I see is that every time I refresh my browser, my changes also get reset. Now I wish there were an option where I could save my changes locally or load my own external .css file or .js file. I want to customize how some websites look when viewed locally, e.g., accessing a blog that has too many ads. I want to apply CSS properties to hide the junk.   Browsers I use often:   Google Chrome (for development: Built-in Dev Toolbar) Mozilla Firefox (for development: Firebug) What formula should be used to determine "hot" questions? What is a terminal? How do I open a terminal window? How do I use the terminal? How do I log in if my OpenID is not available, or maybe even no longer exists? Can I restore my lost account, or do I need to start over?  See also: Is there a place where one can leave luggage for more than one day in Brussels? It can be either in the airport or the central station.  I know that there are lockers in the central station. The problem is that these are usually restricted to 24h.  Are there any other services, in Brussels, that take luggage for longer than 24h? Suppose the terms of the sequence of real numbers $\{a_n\}$ satisfy $|a_{n+1} - a_n| \le 2^{-n}$ for all $n$. Prove that $\{a_n\}$ is Cauchy.   My Work  So by the definition of a Cauchy sequence, for all $\varepsilon &gt; 0$ $\exists N$ so that for $n,m \ge N$ we have $|a_m - a_n| \le \varepsilon$. However, questions like  make me understand that the $2^{-n}$ condition is necessary for this to be a true statement.   So I am wondering how to appeal to the Cauchy definition for this proof. Do I prove that every convergent sequence is therefore Cauchy, and then try to prove convergence?