<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.3" -->
<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/"
	>

<channel>
	<title>wherever</title>
	<link>http://jetskr9.net</link>
	<description>just about nothing</description>
	<pubDate>Mon, 10 Mar 2008 22:00:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<item>
		<title>my fav flight tracker</title>
		<link>http://jetskr9.net/2008/01/11/my-fav-flight-tracker</link>
		<comments>http://jetskr9.net/2008/01/11/my-fav-flight-tracker#comments</comments>
		<pubDate>Fri, 11 Jan 2008 16:17:39 +0000</pubDate>
		<dc:creator>greg</dc:creator>
		
		<category><![CDATA[flying]]></category>

		<guid isPermaLink="false">http://jetskr9.net/2008/01/11/my-fav-flight-tracker</guid>
		<description><![CDATA[I fly every now and then&#8230; ;)
My favorite sites for flight tracking and stuff include FlightAware and FlightStats, preferring FA because it&#8217;s simply kick-ass and FS for real-time flight schedule updates/delays.
Trying a widget from FlightStats I have on my personal start page o’ stuff and copying it here cause I can.
]]></description>
			<content:encoded><![CDATA[<p>I fly every now and then&#8230; <strong>;)</strong></p>
<p>My favorite sites for flight tracking and stuff include <a href="http://flightaware.com/">FlightAware</a> and <a href="http://flightstats.com/">FlightStats</a>, preferring FA because it&#8217;s simply kick-ass and FS for real-time flight schedule updates/delays.</p>
<p>Trying a widget from <a href="http://flightstats.com/">FlightStats</a> I have on my personal start page o’ stuff and copying it here cause I can.</p>
]]></content:encoded>
			<wfw:commentRss>http://jetskr9.net/2008/01/11/my-fav-flight-tracker/feed</wfw:commentRss>
		</item>
		<item>
		<title>awesome VS2008 add-on tool</title>
		<link>http://jetskr9.net/2008/01/08/awesome-vs2008-add-on-tool</link>
		<comments>http://jetskr9.net/2008/01/08/awesome-vs2008-add-on-tool#comments</comments>
		<pubDate>Tue, 08 Jan 2008 13:25:51 +0000</pubDate>
		<dc:creator>greg</dc:creator>
		
		<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">http://jetskr9.net/2008/01/08/awesome-vs2008-add-on-tool</guid>
		<description><![CDATA[Cannot live without JetBrains ReShaper. It&#8217;s simply amazing how much unnecessary code and includes can be removed simply because they aren&#8217;t used.  It has really helped cut down the DLL size of the applications I work on as well. It really is simple.  Anyway, it&#8217;s tough to deliver similar awesome results on subsequent [...]]]></description>
			<content:encoded><![CDATA[<p>Cannot live without <a href="http://jetsbrains.com/resharper/">JetBrains ReShaper</a>. It&#8217;s simply amazing how much unnecessary code and includes can be removed simply because they aren&#8217;t used.  It has really helped cut down the DLL size of the applications I work on as well. It really is simple.  Anyway, it&#8217;s tough to deliver similar awesome results on subsequent cut down/refactor requests once this beast has taken care of business.</p>
]]></content:encoded>
			<wfw:commentRss>http://jetskr9.net/2008/01/08/awesome-vs2008-add-on-tool/feed</wfw:commentRss>
		</item>
		<item>
		<title>notes to self</title>
		<link>http://jetskr9.net/2008/01/07/note-to-self</link>
		<comments>http://jetskr9.net/2008/01/07/note-to-self#comments</comments>
		<pubDate>Mon, 07 Jan 2008 23:54:27 +0000</pubDate>
		<dc:creator>greg</dc:creator>
		
		<category><![CDATA[c#]]></category>

		<category><![CDATA[jQuery]]></category>

		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://jetskr9.net/2008/01/07/note-to-self</guid>
		<description><![CDATA[Never _ever_ use:

try {
    // Awesomely cool code
} catch (e) {
    // Do nothing
}

Why go through the waste of resource use on everyone&#8217;s part to trap an error and say &#8220;Oh well, an error occurred, no big deal, moving on,&#8221; other than to not raise the error(s) to the [...]]]></description>
			<content:encoded><![CDATA[<p>Never _ever_ use:<br />
<code><br />
try {<br />
    // Awesomely cool code<br />
} catch (e) {<br />
    // Do nothing<br />
}<br />
</code><br />
Why go through the waste of resource use on everyone&#8217;s part to trap an error and say &#8220;Oh well, an error occurred, no big deal, moving on,&#8221; other than to not raise the error(s) to the client (Both end-user and the party paying for said code) about your shitty code.  Have a nice day.</p>
<p><a href="http://parkerfox.parkerfox.railsplayground.net/cornerz/">cornerz</a> - a decent anti-aliased rounded corner jQuery plugin</p>
<p>I tried it out, works awesome!  There are a few additions needed for IE that I would prefer to handle myself in the HTML over the script injecting it automagically if the dreaded Internet Explorer is detected as I already have to do this for other cool jquery scripts.  Another note to self: something is broken when using IE on the stupid boinc site.</p>
]]></content:encoded>
			<wfw:commentRss>http://jetskr9.net/2008/01/07/note-to-self/feed</wfw:commentRss>
		</item>
		<item>
		<title>large databases &#038; limited resources</title>
		<link>http://jetskr9.net/2008/01/05/large-databases-limited-resources</link>
		<comments>http://jetskr9.net/2008/01/05/large-databases-limited-resources#comments</comments>
		<pubDate>Sun, 06 Jan 2008 01:47:27 +0000</pubDate>
		<dc:creator>greg</dc:creator>
		
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://jetskr9.net/2008/01/05/large-databases-limited-resources</guid>
		<description><![CDATA[I&#8217;m stuck here in lovely Sierra Vista on a weekend, total bummer.
Anyway, I told myself I should work on some useful training for work, but screw it.  I decided instead to waste some perfectly valuable time on the boinc site.  No idea why, but whatever.
The issue with the site is the daily updates [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m stuck here in lovely Sierra Vista on a weekend, total bummer.</p>
<p>Anyway, I told myself I should work on some useful training for work, but screw it.  I decided instead to waste some perfectly valuable time on the <a href="http://boinc.jetskr9.net/">boinc site</a>.  No idea why, but whatever.</p>
<p>The issue with the site is the daily updates for the entire site.  The source data downloaded is a snapshot, meaning the entire dataset rather than updates since the previous day/week/month/whatever.  The amount of data is quite large in size to reprocess every single day for little to no benefit.  I used to use mysql&#8217;s ability to allow me to send an &#8216;INSERT&#8230;ON DUPLICATE KEY&#8230;UPDATE&#8217; statement.  Unfortunately, it performed a full table scan on each statement, took way too long.  Plus, the updates to an individual object was to maybe four or five fields, depending what happened to the object in question.  As an example, a user could have changed their website or other useful and fun information in addition to their result count data.  Moving on, I now issue DELETE statements on the data based on the project ID that I assign when the project is added to the site.  Given there are a few million records, the DELETE statements were taking a long time given the need to again scan the table.</p>
<p>This then led to me giving each project it&#8217;s own set of tables, i.e. teams, users, hosts for project x simply by appending &#8216;_x&#8217; to the table name after copying the table structure from a template table.  Simple stuff.  The issue I ran into was when I TRUNCATE the sets of tables, all of that data is lost until I can basically re-insert that data from the data refresh I downloaded for that day.  Of course, anything accessing the site will not see that data until the refresh is complete.  I could of course do a bunch of things, like cache web pages, create temp tables, etc.  I created a caching application to store the generated pages on disk, but a few million pages stored on disk caused major performance issues.</p>
<p>The main issue I have is server and financial resources, or the lack thereof.  It&#8217;s a dedicated box with 1GB RAM and 7200RPM SATA drives, very basic and low on power.  My goal is to keep all data available on the site, all the time.  I had thoughts of caching pages (Custom, PEAR, memcache, etc.) on a different machine or another database server that I could simply pull data from, but that doubles the cost for little benefit, and I wanted to overcome this challenge using just the one server. Why not simply have two or more boinc databases?  Don&#8217;t have the resources, both storage and RAM.</p>
<p>Unfortunately, I am definitely out of RAM and thrashing the hard drives quite nicely at this point given the biggest table now has 300+ million records and appropriately sized index.  This table is the overall user results history table.  I used to have a non-normalized version  of the user results history table where I selected the user given a project ID and user ID and selected a pipe delimited field and appended this update&#8217;s information to that same field in one SQL statement.  This proved to be quite slow when updating daily given the sheer size of selecting the large user object, updating the data, then saving it back to the database.  I then opted to simply dump the user&#8217;s daily result data into a normalized set of tables, works much faster in both getting the data in and the SELECT statements for the web pages.</p>
<p>The program I wrote to actually parse and insert the XML data performs quite nicely I think.  I originally had it to where I simply insert the XML block representing a user into the database in one field.  The web application simply deserializes that XML data into an object and I use it from there as an instantiated object.  Today, the batch application dumps the XML object and breaks out the information so that I can do stuff with that data when the updates are taking place.  In essence, the database stores a user object as the raw XML data in one field and is broken out into individual fields for that particular user in multiple tables.  Frankly, the reading and parsing the XML portion screams, can&#8217;t get it into the database quick enough.  Yay.</p>
<p>So, at this point, the application truncates the project&#8217;s tables given there is new data to put back in.  The issue I continue to deal with is how to replace data quickly, yet continue to respond to requests for data from the web applications.  Definitely a slow server during that time.  Plus, once the RAM is fully used, the hard drives thrashing away trying to truncate/replace/insert/select data quickly offers lots of opportunities to solve problems creatively using interesting methods, which is a developer&#8217;s dream job/world.</p>
]]></content:encoded>
			<wfw:commentRss>http://jetskr9.net/2008/01/05/large-databases-limited-resources/feed</wfw:commentRss>
		</item>
		<item>
		<title>test</title>
		<link>http://jetskr9.net/2007/10/09/test</link>
		<comments>http://jetskr9.net/2007/10/09/test#comments</comments>
		<pubDate>Tue, 09 Oct 2007 19:48:18 +0000</pubDate>
		<dc:creator>greg</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jetskr9.net/2007/10/09/test</guid>
		<description><![CDATA[
test_1

	
	
		test
		adsfasd
		asfda dsaf
	
	
	
		etest
		adsfasdfdsa
		adsfdsaf
	


]]></description>
			<content:encoded><![CDATA[<p></p>
<h2>test_1</h2>
<table class="wptable rowstyle-alt" id="wptable-1"  cellspacing="1" cellpadding="1">
	<thead>
	<tr>
		<th class="sortable" style="width:100px" align="center">test</th>
		<th class="sortable" style="width:100px" align="center">adsfasd</th>
		<th class="sortable" style="width:100px" align="center">asfda dsaf</th>
	</tr>
	</thead>
	<tr>
		<td style="width:100px" align="center">etest</td>
		<td style="width:100px" align="center">adsfasdfdsa</td>
		<td style="width:100px" align="center">adsfdsaf</td>
	</tr>
</table><p>
</p>
]]></content:encoded>
			<wfw:commentRss>http://jetskr9.net/2007/10/09/test/feed</wfw:commentRss>
		</item>
		<item>
		<title>Pics</title>
		<link>http://jetskr9.net/2007/10/09/pics</link>
		<comments>http://jetskr9.net/2007/10/09/pics#comments</comments>
		<pubDate>Tue, 09 Oct 2007 06:31:03 +0000</pubDate>
		<dc:creator>greg</dc:creator>
		
		<category><![CDATA[Arizona]]></category>

		<guid isPermaLink="false">http://jetskr9.net/2007/10/09/pics</guid>
		<description><![CDATA[                
]]></description>
			<content:encoded><![CDATA[<p><div id="wp-gallery-remote">        <div style=""><a href='http://jetskr9.net/2007/10/09/pics?wpgr_current_image=0-50-1-5493-5495' target='_blank'><img src="http://jetskr9.net/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=5496" width="90"></a><a href='http://jetskr9.net/2007/10/09/pics?wpgr_current_image=0-50-1-5493-5499' target='_blank'><img src="http://jetskr9.net/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=5500" width="90"></a><a href='http://jetskr9.net/2007/10/09/pics?wpgr_current_image=0-50-1-5493-5502' target='_blank'><img src="http://jetskr9.net/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=5503" width="90"></a><a href='http://jetskr9.net/2007/10/09/pics?wpgr_current_image=0-50-1-5493-5505' target='_blank'><img src="http://jetskr9.net/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=5506" width="90"></a><a href='http://jetskr9.net/2007/10/09/pics?wpgr_current_image=0-50-1-5493-5508' target='_blank'><img src="http://jetskr9.net/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=5509" width="90"></a><a href='http://jetskr9.net/2007/10/09/pics?wpgr_current_image=0-50-1-5493-5511' target='_blank'><img src="http://jetskr9.net/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=5512" width="90"></a><a href='http://jetskr9.net/2007/10/09/pics?wpgr_current_image=0-50-1-5493-5514' target='_blank'><img src="http://jetskr9.net/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=5515" width="90"></a><a href='http://jetskr9.net/2007/10/09/pics?wpgr_current_image=0-50-1-5493-5517' target='_blank'><img src="http://jetskr9.net/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=5518" width="90"></a><a href='http://jetskr9.net/2007/10/09/pics?wpgr_current_image=0-50-1-5493-5520' target='_blank'><img src="http://jetskr9.net/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=5521" width="90"></a><a href='http://jetskr9.net/2007/10/09/pics?wpgr_current_image=0-50-1-5493-5526' target='_blank'><img src="http://jetskr9.net/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=5527" width="90"></a><a href='http://jetskr9.net/2007/10/09/pics?wpgr_current_image=0-50-1-5493-5529' target='_blank'><img src="http://jetskr9.net/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=5530" width="90"></a>        </div><div class="clear"></div></div></p>
]]></content:encoded>
			<wfw:commentRss>http://jetskr9.net/2007/10/09/pics/feed</wfw:commentRss>
		</item>
		<item>
		<title>Bugs</title>
		<link>http://jetskr9.net/2007/10/09/bugs</link>
		<comments>http://jetskr9.net/2007/10/09/bugs#comments</comments>
		<pubDate>Tue, 09 Oct 2007 06:07:19 +0000</pubDate>
		<dc:creator>greg</dc:creator>
		
		<category><![CDATA[Arizona]]></category>

		<guid isPermaLink="false">http://jetskr9.net/2007/10/09/bugs</guid>
		<description><![CDATA[Another interesting thing here in Arizona is the dang bugs.  I now understand why pest control is such a huge business out here in the desert.  I&#8217;ve experienced trouble with bugs at both home and work.  The owners where I live have decided to take care of the bug issue themselves.  [...]]]></description>
			<content:encoded><![CDATA[<p>Another interesting thing here in Arizona is the dang bugs.  I now understand why pest control is such a huge business out here in the desert.  I&#8217;ve experienced trouble with bugs at both home and work.  The owners where I live have decided to take care of the bug issue themselves.  Whatever.  Bug deterrence is not reactive or optional as it is in the midwest.  Proactive and somewhat frequent treatments are required in these here parts.  Bugs suck.  Don&#8217;t even want to talk about the spiders&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://jetskr9.net/2007/10/09/bugs/feed</wfw:commentRss>
		</item>
		<item>
		<title>On Buying a Bike</title>
		<link>http://jetskr9.net/2007/10/08/on-buying-a-bike</link>
		<comments>http://jetskr9.net/2007/10/08/on-buying-a-bike#comments</comments>
		<pubDate>Mon, 08 Oct 2007 15:18:55 +0000</pubDate>
		<dc:creator>greg</dc:creator>
		
		<category><![CDATA[Arizona]]></category>

		<category><![CDATA[biking]]></category>

		<guid isPermaLink="false">http://jetskr9.net/2007/10/08/on-buying-a-bike</guid>
		<description><![CDATA[Up here in the lovely mountains of Sierra Vista, biking is huge here.  There are two dedicated bike shops for Sierra Vista, both very nice places.  If I wanted to buy a used bike, it would only set me back 1100 dollars for the cheapest bike.  Anyway, I don&#8217;t think so.
Of course [...]]]></description>
			<content:encoded><![CDATA[<p>Up here in the lovely mountains of Sierra Vista, biking is huge here.  There are two dedicated bike shops for Sierra Vista, both very nice places.  If I wanted to buy a used bike, it would only set me back 1100 dollars for the cheapest bike.  Anyway, I don&#8217;t think so.</p>
<p>Of course the major discount retailers are here in the Vista including Target, Wal-Mart, K-Mart, etc.  I just don&#8217;t feel safe riding one of these junky bikes they have for sale.  Maybe I&#8217;m just old and safety conscious.  I&#8217;ve taken some nasty spills in my younger days on bikes, that&#8217;s the way it was back in the 80&#8217;s and 90&#8217;s.  Never even thought of wearing a helmet.  Ahhh, maybe that explains some things&#8230;</p>
<p>Is it crazy for me to be bike-averse?</p>
]]></content:encoded>
			<wfw:commentRss>http://jetskr9.net/2007/10/08/on-buying-a-bike/feed</wfw:commentRss>
		</item>
		<item>
		<title>Arizona 1</title>
		<link>http://jetskr9.net/2007/10/07/arizona-1</link>
		<comments>http://jetskr9.net/2007/10/07/arizona-1#comments</comments>
		<pubDate>Sun, 07 Oct 2007 06:30:36 +0000</pubDate>
		<dc:creator>greg</dc:creator>
		
		<category><![CDATA[Arizona]]></category>

		<category><![CDATA[movies]]></category>

		<guid isPermaLink="false">http://jetskr9.net/2007/10/07/arizona-1</guid>
		<description><![CDATA[Weekends away from home are rough out here in lovely Arizona.  I miss everyone like I normally do during the week, but feels differently on the weekends.  The weekend is a time to take the opportunity to hang out with my family.  Missing that opportunity hurts a little bit.  Managed to [...]]]></description>
			<content:encoded><![CDATA[<p>Weekends away from home are rough out here in lovely Arizona.  I miss everyone like I normally do during the week, but feels differently on the weekends.  The weekend is a time to take the opportunity to hang out with my family.  Missing that opportunity hurts a little bit.  Managed to take a few pictures of the house, uploading now.</p>
<p>Watched 1408 tonite, quite an interesting story.  I&#8217;ve been a fan of John Cusack throughout his career.  The ending was quite interesting as well, seems like the typical, yet not typical, Stephen King ending.  I love it that there was absolutely no attempt to explain anything about what went on.</p>
<p>Speaking of movies, going to check out some of the movies at the Chicago Film Festival.  Haven&#8217;t picked my choices, but is on the agenda for tomorrow.</p>
]]></content:encoded>
			<wfw:commentRss>http://jetskr9.net/2007/10/07/arizona-1/feed</wfw:commentRss>
		</item>
		<item>
		<title>Yet another test&#8230;</title>
		<link>http://jetskr9.net/2007/10/04/yet-another-test</link>
		<comments>http://jetskr9.net/2007/10/04/yet-another-test#comments</comments>
		<pubDate>Fri, 05 Oct 2007 04:16:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://74.208.74.231/2007/10/04/yet-another-test/</guid>
		<description><![CDATA[                
]]></description>
			<content:encoded><![CDATA[<p><div id="wp-gallery-remote">        <div style=""><a href='http://jetskr9.net/2007/10/04/yet-another-test?wpgr_current_image=0-5-1-3206-3213' target='_blank'><img src="http://jetskr9.net/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=3214" width="90"></a>        </div><div class="clear"></div></div></p>
]]></content:encoded>
			<wfw:commentRss>http://jetskr9.net/2007/10/04/yet-another-test/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
