<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Self As Team &#187; space</title>
	<atom:link href="http://blog.intraspectivecorp.com/tag/space/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.intraspectivecorp.com</link>
	<description>Dallas based Ruby on Rails and Java Consulting</description>
	<lastBuildDate>Mon, 21 Sep 2009 02:06:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Tweets to Make You Look Up</title>
		<link>http://blog.intraspectivecorp.com/2009/09/16/tweets-to-make-you-look-up/</link>
		<comments>http://blog.intraspectivecorp.com/2009/09/16/tweets-to-make-you-look-up/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 21:20:52 +0000</pubDate>
		<dc:creator>David Hainlin</dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[space]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://blog.intraspectivecorp.com/?p=65</guid>
		<description><![CDATA[As a space junkie, I frequent nasa.gov and astronomy picture of the day sites to marvel at the universe and our attempts to learn and explore it.  One of my favorite sites is the venerable Heavens Above created and run by Chris Peat.  If you haven&#8217;t checked it out, please do so soon [...]]]></description>
			<content:encoded><![CDATA[<p>As a space junkie, I frequent <a href="http://nasa.gov">nasa.gov</a> and <a href="http://antwrp.gsfc.nasa.gov/apod/astropix.html">astronomy picture of the day</a> sites to marvel at the universe and our attempts to learn and explore it.  One of my favorite sites is the venerable <a href="http://www.heavens-above.com/">Heavens Above</a> created and run by Chris Peat.  If you haven&#8217;t checked it out, please do so soon as it gives lots of very useful information for observing satellites such as space shuttles, international space station (which is large enough to be seen in the daylight hours), Hubble space telescope and hundreds of others.  If you register with the site or plug in your location, you can get lists of dates/times to see things like the space station fly overhead.  My kids think I&#8217;m a genius because I&#8217;ve been known to look down at my watch during dinner and announce that the ISS is about to fly overhead &#8211; we all run outside and I start a countdown and poof &#8211; right on cue &#8211; a big bright star starts a lazy, 5 minute pass overhead.  All thanks to Chris Peat&#8217;s great web site.  You can even get star maps and ground track paths to help you get oriented.</p>
<p>I sometimes forget to check the site so I setup an automatic twitter feed to send me reminders.  Was very easy to do &#8230;<br />
<span id="more-65"></span></p>
<p>The toughest thing about Heavens Above  is remembering to check it frequently.  This got me thinking &#8211; &#8220;wouldn&#8217;t it be nice if I got a text message about 10 minutes prior to a pass?&#8221;.  After thinking about it and looking around on the heavens above site, I concluded there wasn&#8217;t any api or service I could coax to do this, I decided to write a quick and dirty script.  I also found an <a href="http://blech.vox.com/library/post/moreabovelondon.html">blog</a> describing some work that Paul Mison had done at Hackday London a few years ago.  (I rarely have unique ideas&#8230;).  The gist is this, periodically, check for ISS passes over a particular location (Richardson, Texas in this case) and within about 15 minutes of the event, send an update to twitter listing time and starting location (sky direction).  I then could follow this twitter account (with mobile updates on) and now I can get notifications about when to look up and wave to our brave ISS crew (I even saw the ISS through the glare of lights at a high school football game).</p>
<p>The script is written in ruby and is setup to run as a cron job on one of my servers.  It uses specific latitude and longitude and time zone to pull visible passes for the ISS from heavens above.  It grinds up the html using Hpricot and looks for any passes with a magnitude greater then -1.0 (our seeing is better than that in Richardson but I wanted to limit the number of tweets.  To reduce the number of hits on Heavens Above, the script caches the information in a config file and only returns to  heavens above when it has tweeted about an event.  The specifics of lat/long and twitter account are stored in a config file so this can be used for other locations as well.  I&#8217;ve posted the hack on <a href="http://github.com/dhainlin/ISS-Tweets">github</a>.</p>
<p>If you live in/around Richardson, you can follow the <a href="http://twitter.com/richardsontxiss">richardsontxiss twitter</a> account and it will send you tweets when you can see the ISS.  It doesn&#8217;t take weather into account, but we are more likely to have clear weather than not.  The next passes aren&#8217;t until the 24th  so be patient if you do follow this.  They do have gaps in time where there are few passes but then there will be a storm of great opportunities within a few short days. </p>
<p>If you are wondering what your latitude and longitude is, there is a nifty hack you can use to get it from a google map.  Center the map on your location and enter the following in the browser url line: </p>
<pre style="color: green; font-size: smaller;">javascript:void(prompt('',gApplication.getMap().getCenter()));</pre>
<p>This will prompt you with the coordinates of the currently centered location on the map.  Cool.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.intraspectivecorp.com/2009/09/16/tweets-to-make-you-look-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
