<?xml version="1.0" encoding="utf-8"?>
<feed xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom">
  <title>Tungsten Tech's Blog</title>
  <link rel="alternate" type="text/html" href="http://blog.tungstentech.com/" />
  <link rel="self" href="http://blog.tungstentech.com/SyndicationService.asmx/GetAtom" />
  <icon>favicon.ico</icon>
  <updated>2008-03-11T16:18:57.6907346-04:00</updated>
  <author>
    <name>Tungsten Technology</name>
  </author>
  <subtitle>About rockets and web technologies</subtitle>
  <id>http://blog.tungstentech.com/</id>
  <generator uri="http://www.dasblog.net" version="1.8.5223.0">DasBlog</generator>
  <entry>
    <title>Can't program your butterfly with AVR Studio?</title>
    <link rel="alternate" type="text/html" href="http://blog.tungstentech.com/PermaLink,guid,4ca2dcc0-3f3f-4d69-83c3-93f92df85eeb.aspx" />
    <id>http://blog.tungstentech.com/PermaLink,guid,4ca2dcc0-3f3f-4d69-83c3-93f92df85eeb.aspx</id>
    <published>2008-03-11T16:18:23.9090000-04:00</published>
    <updated>2008-03-11T16:18:57.6907346-04:00</updated>
    <category term="AVR" label="AVR" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">I've been working on a stepper based remote
   focuser for my telescope. I wrote some code last year to run on an Atmel AVR Butterfly
   and last week decided to pick up the project again as I'd be doing more imaging. Having
   a remote focuser is a tremendous asset when the scope is outside and I'm inside, obviously.
   What's more is that such a setup can focus automatically with the right software.<br /><br />
   In any case, first order of business was to rebuild and reload the software. That
   quickly turned disasterous with two dead butterflies. I use the Ecros Tech butterfly
   carrier by the way. Makes working with the butterfly sooo much nicer. The problem
   was the AVR Studio 4.13 SP2 could not read nor set the fuses on the butterfly. I tried
   this with both JTAGISP and STK500 based ISP. Luckily when researching a different
   topic someone sent me to http://www.olimex.com and I happened to notice a blurb about
   a bug in AVR Studio that manifests itself like this. The version they recommended
   to install wasn't there anymore but the 4.14 beta was and it does indeed fix the problem!
   Check it out over here: http://www.atmel.no/beta_ware/<br /><br />
   I had to reset a bunch of fuses but after a little fiddling my butterfly came back
   to life. I haven't tried the other one yet but I'm pretty sure it can also be saved.
   Of course this happened on the same day that I bought an AT90USBKey wich frankly beats
   the pants of a butterfly from an experimenters perpective. The loss of the LCD is
   a bummer of course but winning USB connectivity is huge.<br /><p></p><img width="0" height="0" src="http://blog.tungstentech.com/aggbug.ashx?id=4ca2dcc0-3f3f-4d69-83c3-93f92df85eeb" /></div>
    </content>
  </entry>
  <entry>
    <title>Outlook 2003 HTML looking crappy after IE7 install?</title>
    <link rel="alternate" type="text/html" href="http://blog.tungstentech.com/PermaLink,guid,9b4109dc-e689-48ce-9c2c-8de55d161d88.aspx" />
    <id>http://blog.tungstentech.com/PermaLink,guid,9b4109dc-e689-48ce-9c2c-8de55d161d88.aspx</id>
    <published>2007-02-21T10:58:49.9242699-05:00</published>
    <updated>2007-02-21T10:58:49.9242699-05:00</updated>
    <category term="General" label="General" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">Not sure if I'm the only one who noticed
   that Outlook 2003 displays HTML emails differently after IE7 was installed. I use
   Firefox as my daily browser but finally installed IE7 to investigate an interop problem
   with one of my sites. I recall some install option about ClearType and I'm pretty
   sure I said 'ok'. Big mistake. On my Samsung 940B monitor there are colored fringes
   and blurryness around my text in IE7 and OL2003. So I did a Google search and found
   this page : <a href="http://blogs.msdn.com/ie/archive/2006/03/03/543181.aspx">http://blogs.msdn.com/ie/archive/2006/03/03/543181.aspx</a> .
   After reading it I disabled ClearType in IE7 (it's under the advanced tab) and whew!
   Everything is readable again. I'm sure ClearType is whizbang technology but it doesn't
   work on my system.<br /><p></p><img width="0" height="0" src="http://blog.tungstentech.com/aggbug.ashx?id=9b4109dc-e689-48ce-9c2c-8de55d161d88" /></div>
    </content>
  </entry>
  <entry>
    <title>Firebug 1.0: a terrific debugger for Firefox</title>
    <link rel="alternate" type="text/html" href="http://blog.tungstentech.com/PermaLink,guid,6f0d1d42-8292-48bb-9c36-4d79d98f4a85.aspx" />
    <id>http://blog.tungstentech.com/PermaLink,guid,6f0d1d42-8292-48bb-9c36-4d79d98f4a85.aspx</id>
    <published>2007-01-26T12:24:31.4612621-05:00</published>
    <updated>2007-01-26T12:24:31.4612621-05:00</updated>
    <category term="ajax" label="ajax" scheme="dasBlog" />
    <category term="DotNetNuke Development" label="DotNetNuke Development" scheme="dasBlog" />
    <category term="perl-CGI-DBI" label="perl-CGI-DBI" scheme="dasBlog" />
    <category term="Web Design" label="Web Design" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">This looks to be a terrific new tool for
   all web developers. <a href="https://addons.mozilla.org/firefox/1843/">Firebug </a>allows
   you to inspect the contents of pages, scripts, css and DOM. I've only perused it for
   a few minutes but the possiblities are staggering. I sure could have used this before!
   Most interestingly perhaps is the javascript debugger that allows you to set breakpoints.
   Sweet!<br /><p></p><img width="0" height="0" src="http://blog.tungstentech.com/aggbug.ashx?id=6f0d1d42-8292-48bb-9c36-4d79d98f4a85" /></div>
    </content>
  </entry>
  <entry>
    <title>Getting the middle element of an array in javascript</title>
    <link rel="alternate" type="text/html" href="http://blog.tungstentech.com/PermaLink,guid,ae614a85-8bcf-4954-86e4-227a6e8fad91.aspx" />
    <id>http://blog.tungstentech.com/PermaLink,guid,ae614a85-8bcf-4954-86e4-227a6e8fad91.aspx</id>
    <published>2007-01-25T16:50:06.4434911-05:00</published>
    <updated>2007-01-25T16:50:06.4434911-05:00</updated>
    <category term="ajax" label="ajax" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">In my <a href="http://occult.tungstentech.com">Asteroid
   Occultation</a> site I generate dynamic Google Maps that draw the occultation paths
   with 5 Polyline elements. One of the things I wanted to do is center the polylines
   in the displayed map. Easy enough, I parse an XML response with coordinates (the AJAX
   part of the project) and store those in arrays. Simply take the middle coordinate
   from the middle polyline and center on that when the map is fully rendered. I wrote
   something like this:<br /><br /><p>
      var pts[];
   </p><p>
      // store coordinates in pts array
   </p><p>
      var middle = pts[pts.length / 2];
   </p><br />
   Easy as pi. Not. For some reason my maps wouldn't always center properly. Adding some
   debug messages I found that 'middle' was sometimes set to undefined. Unlike other
   languages I've used in the past (c/c++, VB6, VB.NET, Perl, PHP) if you divide an integer
   by another integer and use the result as another integer, you get, well, an integer.
   Not so in Javascript apparently. pts[5.5] is nothing. I assumed, incorrectly, that
   this would be pts[5] or pts[6]. For my application I don't care if the left or right
   middle element is chosen.<br /><br />
   A little Googling found this article <a href="http://rextang.net/blogs/work/archive/2006/01/09/3325.aspx">http://rextang.net/blogs/work/archive/2006/01/09/3325.aspx</a> which
   suggests an easy way to turn a number into an integer. Simply do a bitwise or with
   0:<br /><br />
   var middle = pts[(pts.length / 2) | 0];<br /><br />
   This works great! Someone then posted a comment saying that 'parseInt' is a more readable
   solution and I agree. I still liked the |0 solution though :)<br /><p></p><img width="0" height="0" src="http://blog.tungstentech.com/aggbug.ashx?id=ae614a85-8bcf-4954-86e4-227a6e8fad91" /></div>
    </content>
  </entry>
  <entry>
    <title>Asteroid occultation site created</title>
    <link rel="alternate" type="text/html" href="http://blog.tungstentech.com/PermaLink,guid,14e0f540-1d83-434c-92f6-05a69843d241.aspx" />
    <id>http://blog.tungstentech.com/PermaLink,guid,14e0f540-1d83-434c-92f6-05a69843d241.aspx</id>
    <published>2007-01-24T13:38:07.4690000-05:00</published>
    <updated>2007-01-24T13:40:28.0931113-05:00</updated>
    <category term="Astronomy" label="Astronomy" scheme="dasBlog" />
    <category term="Web Design" label="Web Design" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">I've been participating in asteroid occultation
   measurements for a while now. To facilitate the creation of maps of the events I created
   a new website that uses dynamic data rather than static to display events. In the
   process I learned a few things about how to automate windows applications using Perl
   (check <a href="http://sourceforge.net/projects/winguitest/">http://sourceforge.net/projects/winguitest/</a> ),
   creating dynamic Google Maps using AJAX and using MySQL with ASP.NET. I also learned
   a lot more about operating <a href="http://www.lunar-occultations.com/iota/occult3.htm">winoccult</a>,
   a program that calculates and displays occultations of stars by asteroids.<br /><br />
   Check it out at <a href="http://occult.tungstentech.com">http://occult.tungstentech.com</a>.<img width="0" height="0" src="http://blog.tungstentech.com/aggbug.ashx?id=14e0f540-1d83-434c-92f6-05a69843d241" /></div>
    </content>
  </entry>
  <entry>
    <title>Very nice CSS templates for downloading</title>
    <link rel="alternate" type="text/html" href="http://blog.tungstentech.com/PermaLink,guid,9ca8e6c1-ca49-480a-bf48-3d3c69a534c9.aspx" />
    <id>http://blog.tungstentech.com/PermaLink,guid,9ca8e6c1-ca49-480a-bf48-3d3c69a534c9.aspx</id>
    <published>2007-01-22T14:50:10.0398584-05:00</published>
    <updated>2007-01-22T14:50:10.0398584-05:00</updated>
    <category term="Web Design" label="Web Design" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">SD Time's Linkapalooza alerted me to <a href="http://www.mitchbryson.com/css-templates/">this
   site</a> which provides 12 standard CSS templates to quickly create a professional
   appearing website. I think we'll all agree many sites could use a smidgen of professionalism
   :) Check them out!<br /><p></p><img width="0" height="0" src="http://blog.tungstentech.com/aggbug.ashx?id=9ca8e6c1-ca49-480a-bf48-3d3c69a534c9" /></div>
    </content>
  </entry>
  <entry>
    <title>British history professor assaulted by Atlanta PD</title>
    <link rel="alternate" type="text/html" href="http://blog.tungstentech.com/PermaLink,guid,595308d3-c8d3-4ee1-8ae6-0b8a89565f11.aspx" />
    <id>http://blog.tungstentech.com/PermaLink,guid,595308d3-c8d3-4ee1-8ae6-0b8a89565f11.aspx</id>
    <published>2007-01-11T16:00:10.1711757-05:00</published>
    <updated>2007-01-11T16:00:10.1711757-05:00</updated>
    <category term="General" label="General" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">This is a classic example of English understatement.
   I wish I could talk like that. The words I mean, not the accent, that's easy. The
   way he describes what happened to him (getting arrested in the most violent manner
   for jaywalking) is a great display of being able to being polite and accusatory at
   the same time. The vid is a bit long but worth it, I think.<br /><br />
   http://www.timesonline.co.uk/article/0,,11069-2541133,00.html<p></p><img width="0" height="0" src="http://blog.tungstentech.com/aggbug.ashx?id=595308d3-c8d3-4ee1-8ae6-0b8a89565f11" /></div>
    </content>
  </entry>
  <entry>
    <title>Vantec NexStar LX NAS box: beware!</title>
    <link rel="alternate" type="text/html" href="http://blog.tungstentech.com/PermaLink,guid,8f7c768f-85bd-46d5-bfd5-34243ae478ee.aspx" />
    <id>http://blog.tungstentech.com/PermaLink,guid,8f7c768f-85bd-46d5-bfd5-34243ae478ee.aspx</id>
    <published>2006-10-02T15:48:20.2933897-04:00</published>
    <updated>2006-10-02T15:48:20.2933897-04:00</updated>
    <category term="Review" label="Review" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">After reading about a half dozen reviews
   online on the Vantec NexStar LX NAS enclosure I decided to get one. I have a small
   network at home with 3 desktops and a laptop. It makes sense to have a LAN accessible
   shared storage location to keep things like documents and downloads. We just moved
   so my budget is a bit limited. The NexStar seemed the ideal solution as it is a BYOD
   (Bring You Own Disk) solution. I have a few unused IDE drives lying around so this
   would be cool.<br /><br />
   The first disk I tried, an old Maxtor 90840D6 with 8GB capacity did not work over
   the LAN. It worked fine using the USB connection. Using the web interface I was unable
   to configure shares on the disk. Bummer. So I put in a somewhat newer Maxtor 52049H4
   with 20 GB capacity. Because NAS shares can only reside on a FAT32 partition I had
   to reformat the drives before installing. It also precludes me from arbitrarily trying
   other drives I have as they are NTFS drives with content I don't want to lose if I
   can help it. Back to the 20GB drive. This time I was able to create shares. Wooo!
   I needed to download an application and figured it was a good opportunity to store
   this on the NAS box for sharing. Firefox put the .zip on the share without issue.
   I then attempted to open the archive with <a href="http://www.7-zip.org/">7-Zip</a> .
   The archive opened fine but files could not be extracted. WinZip couldn't either. 
   <br /><br />
   I then proceeded to do various experiments to conclude the following:<br /><br /><ul><li>
         USB access works fine</li><li>
         ftp writes corrupt files</li><li>
         ftp reads corrupt files</li><li>
         NAS reads corrupt files</li><li>
         NAS writes corrupt files</li></ul>
   This failure is so blatant that it's hard to believe Vantec would have shipped a product
   so horribly broken. It's also hard to believe the device could be so thoroughly broken
   without any complaints online. I suspect that it's a drive compatibility issue. Somehow
   these 2 old IDE drives do not work with the NAS/LAN code in de device. Other testers
   have used newer drives and have not encountered these problems.<br /><br />
   Please add a comment if you have any experience (good or bad) with this box. I would
   prefer to not have to buy a new hard drive but it may be the only solution. I have
   contacted vantec and hope to hear from them soon.<br /><p></p><img width="0" height="0" src="http://blog.tungstentech.com/aggbug.ashx?id=8f7c768f-85bd-46d5-bfd5-34243ae478ee" /></div>
    </content>
  </entry>
  <entry>
    <title>Technorati</title>
    <link rel="alternate" type="text/html" href="http://blog.tungstentech.com/PermaLink,guid,11efef3d-1987-4fcb-a86c-1ab259f3282e.aspx" />
    <id>http://blog.tungstentech.com/PermaLink,guid,11efef3d-1987-4fcb-a86c-1ab259f3282e.aspx</id>
    <published>2006-08-07T17:34:04.8793314-04:00</published>
    <updated>2006-08-07T17:34:04.8793314-04:00</updated>
    <category term="General" label="General" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">We'll see what this is good for but I've
   now claimed my blog on Technorati. I'm supposed to put this snippet on the page: 
   <br /><p></p><script type="text/javascript" src="http://embed.technorati.com/embed/avmrx95uux.js"></script><img width="0" height="0" src="http://blog.tungstentech.com/aggbug.ashx?id=11efef3d-1987-4fcb-a86c-1ab259f3282e" /></div>
    </content>
  </entry>
  <entry>
    <title>What the heck happened to Blazernetwork?</title>
    <link rel="alternate" type="text/html" href="http://blog.tungstentech.com/PermaLink,guid,ac5086f2-42e4-4d90-8d48-9778a3486243.aspx" />
    <id>http://blog.tungstentech.com/PermaLink,guid,ac5086f2-42e4-4d90-8d48-9778a3486243.aspx</id>
    <published>2006-05-30T15:18:14.0840000-04:00</published>
    <updated>2006-10-02T15:32:39.3871397-04:00</updated>
    <category term="General" label="General" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">I had several sites hosted at Blazernetwork
   for about a year or so. Service was reasonable, not great. Email outages were too
   frequent but at least they'd get repaired and we'd be up and running again soon after.
   Not this time. Last Friday afternoon email and web services went off the air and they
   haven't returned since (it's Tuesday now). All attempts to reach them were fruitless.
   Apparently they let their domain name expire. Not a good thing when that's needed
   to translate names into IP addresses.<br /><br />
   Thankfully I was able to figure out the IP addresses for the Blazer machines where
   my stuff is hosted. An old email had the IP address of the mail host and it's still
   running so I could copy my IMAP folders over to my local computer. I then wrote a
   simple Perl script that uses wget to attempt retrieval of a file using ftp in the
   address range of the email server (assuming a 24 bit subnet mask). I then transfered
   all my files. Finally I needed a copy of my MS SQL database so I wrote another Perl
   script that attempts to open a socket on the MS SQL port number in that same range
   of IP addresses. Bingo!<br /><br />
   I now use <a href="http://www.bananahosting.com">http://www.bananahosting.com</a> which
   appears to work fine for now. I hope it stays that way as moving websites really is
   a pain. Luckily it uses HSphere so the learning curve isn't that great. It's a small
   shop but Johnny is on the ball and provides great support in his forums.<br /><p></p><img width="0" height="0" src="http://blog.tungstentech.com/aggbug.ashx?id=ac5086f2-42e4-4d90-8d48-9778a3486243" /></div>
    </content>
  </entry>
</feed>