<?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>Joe Junkin</title>
	<atom:link href="http://joe.junkin.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://joe.junkin.com</link>
	<description>Life as it happens</description>
	<lastBuildDate>Thu, 14 Jan 2010 23:34:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A nice summation of climategate</title>
		<link>http://joe.junkin.com/2010/01/14/a-nice-summation-of-climategate/</link>
		<comments>http://joe.junkin.com/2010/01/14/a-nice-summation-of-climategate/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 23:33:08 +0000</pubDate>
		<dc:creator>jjunkin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ClimateGate]]></category>
		<category><![CDATA[Global Warming]]></category>

		<guid isPermaLink="false">http://joe.junkin.com/?p=120</guid>
		<description><![CDATA[The following excerpts are one of the best descriptions I have seen to describe the issues found in the climategate emails:
(Climategate) &#8220;e-mails show that a close-knit group of the world&#8217;s most influential climate scientists actively colluded to subvert the peer-review process &#8230; manufactured pre-determined conclusions through the use of contrived analytic techniques; and discussed destroying [...]]]></description>
			<content:encoded><![CDATA[<p>The following excerpts are one of the best descriptions I have seen to describe the issues found in the climategate emails:</p>
<p>(Climategate) &#8220;e-mails show that a close-knit group of the world&#8217;s most influential climate scientists actively colluded to subvert the peer-review process &#8230; manufactured pre-determined conclusions through the use of contrived analytic techniques; and discussed destroying data to avoid government freedom-of-information requests.&#8221;</p>
<p>&#8220;Viewed collectively, the CRU e-mails reveal a scientific community in which a group of scientists promoting what has become, through their efforts, the dominant climate-change paradigm are at war with other scientists derisively labeled as &#8217;skeptics,&#8217; &#8216;deniers,&#8217; and &#8216;contrarians,&#8217;&#8221;</p>
<p>From the New York Times article:<br />
http://www.nytimes.com/cwire/2010/01/13/13climatewire-insurance-group-says-stolen-e-mails-show-ris-91554.html<br />
This references a letter sent by Robert Detlefsen, the National Association of Mutual Insurance Companies vice president of policy.</p>
]]></content:encoded>
			<wfw:commentRss>http://joe.junkin.com/2010/01/14/a-nice-summation-of-climategate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sunfish, Deep water and Kelp Pattis</title>
		<link>http://joe.junkin.com/2009/10/08/sunfish-deep-water-and-kelp-pattis/</link>
		<comments>http://joe.junkin.com/2009/10/08/sunfish-deep-water-and-kelp-pattis/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 01:14:16 +0000</pubDate>
		<dc:creator>jjunkin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://joe.junkin.com/?p=90</guid>
		<description><![CDATA[On the final day of our Tuna trip we went further West than before. We caught one Yellowfin Tuna at about 10:00 am. We also saw a Yellowtail and a cool shark. We also saw several Ocean Sunfish. It was fairly rough and by the end of the day we were tired of being pounded [...]]]></description>
			<content:encoded><![CDATA[<p>On the final day of our Tuna trip we went further West than before. We caught one Yellowfin Tuna at about 10:00 am. We also saw a Yellowtail and a cool shark. We also saw several Ocean Sunfish. It was fairly rough and by the end of the day we were tired of being pounded by the waves.</p>
<div id="attachment_92" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-92" title="Looking down at 5000 foot water " src="http://joe.junkin.com/wp-content/uploads/2009/11/IMG_1562-300x225.jpg" alt="The edge of a kelp bed" width="300" height="225" /><p class="wp-caption-text">The edge of a kelp bed</p></div>
<p>Sunfish off a kelp Patti. This lumbering fish just stayed right next to the boat.</p>
<div id="attachment_107" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-107" title="Ocean sunfish in San Diego" src="http://joe.junkin.com/wp-content/uploads/2009/10/IMG_1559-300x225.jpg" alt="Ocean sunfish in San Diego" width="300" height="225" /><p class="wp-caption-text">Ocean sunfish in San Diego</p></div>
<p>This Sunfish was probably 200+ pounds</p>
<div id="attachment_106" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-106" title="Ocean Sunfish under kelp bed" src="http://joe.junkin.com/wp-content/uploads/2009/10/IMG_1555-300x225.jpg" alt="Ocean sunfish in San Diego" width="300" height="225" /><p class="wp-caption-text">Ocean sunfish in San Diego</p></div>
]]></content:encoded>
			<wfw:commentRss>http://joe.junkin.com/2009/10/08/sunfish-deep-water-and-kelp-pattis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yellowfin!</title>
		<link>http://joe.junkin.com/2009/10/07/yellowfin/</link>
		<comments>http://joe.junkin.com/2009/10/07/yellowfin/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 23:15:47 +0000</pubDate>
		<dc:creator>jjunkin</dc:creator>
				<category><![CDATA[Fishing]]></category>
		<category><![CDATA[Tuna]]></category>

		<guid isPermaLink="false">http://joe.junkin.com/?p=72</guid>
		<description><![CDATA[Yellowfin Tuna! We finally score some Yellowfin Tuna with the guidance of a local fishing site. First Tuna for both Don and I!
Day 3. We called up the guy at 976Tuna and asked for help. He gave us some tips such as water temperature to look for (68 degrees) and where to head. He provided [...]]]></description>
			<content:encoded><![CDATA[<p>Yellowfin Tuna! We finally score some Yellowfin Tuna with the guidance of a local fishing site. First Tuna for both Don and I!</p>
<div id="attachment_74" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-74" title="Yellowfin Tuna on the gaff" src="http://joe.junkin.com/wp-content/uploads/2009/10/IMG_1537-300x225.jpg" alt="Yellowfin Tuna in San Diego" width="300" height="225" /><p class="wp-caption-text">Yellowfin Tuna in San Diego</p></div>
<p><span id="more-72"></span>Day 3. We called up the guy at <a href="http://976tuna.com/">976Tuna </a>and asked for help. He gave us some tips such as water temperature to look for (68 degrees) and where to head. He provided lat/lons that we plugged into the Garmin 4212.</p>
<p>He also told us to listen to channel 72 on the VHF. Bingo! All the rest of the Tuna &#8216;fleet&#8217; was on this channel, recreation boaters like us. We had some fun listening to the chatter. Some obvious locals were being very secretive &#8230; other boaters (guy from santa cruz)  were asking everyone what the water temperature was and exactly where the fish were. Very few answered the guy, but it made for some comedy on the high seas!</p>
<p>We were at 32.2203 117.5043 in 65.7 degrees of water when we had a hit on a deep diving rapala. I reeled up a nice Yellowfin Tuna on a trolling rod. Not much of a fight, but a beautiful fish! Immediately after reeling it in we chummed the water with sardines and plunked a few lines over. Both Donald and I hooked up for a double. I caught mine on a very light spinning rig which made it a lot of fun.</p>
<div id="attachment_86" class="wp-caption alignnone" style="width: 235px"><img class="size-medium wp-image-86" title="Don's first Tuna" src="http://joe.junkin.com/wp-content/uploads/2009/10/IMG_1545-225x300.jpg" alt="Don gets one" width="225" height="300" /><p class="wp-caption-text">Don gets one</p></div>
<p>Me too!</p>
<div id="attachment_84" class="wp-caption alignnone" style="width: 235px"><img class="size-medium wp-image-84" title="Joe's 2nd Tuna" src="http://joe.junkin.com/wp-content/uploads/2009/10/IMG_1538-225x300.jpg" alt="2nd Tuna of the Day for me!" width="225" height="300" /><p class="wp-caption-text">2nd Tuna of the Day for me!</p></div>
<p>A good day! We are both no longer Tuna -Virgins!</p>
]]></content:encoded>
			<wfw:commentRss>http://joe.junkin.com/2009/10/07/yellowfin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Porpoises, Shamu the Retarded Whale, Theiving Sea Lions, Fish-like birds</title>
		<link>http://joe.junkin.com/2009/10/06/day-one-porpoises-whales-sea-lions-fish-like-birds/</link>
		<comments>http://joe.junkin.com/2009/10/06/day-one-porpoises-whales-sea-lions-fish-like-birds/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 23:06:15 +0000</pubDate>
		<dc:creator>jjunkin</dc:creator>
				<category><![CDATA[Fishing]]></category>
		<category><![CDATA[Marine]]></category>
		<category><![CDATA[Tuna]]></category>

		<guid isPermaLink="false">http://joe.junkin.com/?p=56</guid>
		<description><![CDATA[Day One: Whales, Sea Lions and birds but no fish &#8230; Cool porpoises everywhere, Mexican police with machine guns, Shamu the retarded Whale and much more in today&#8217;s adventures.

We left at 7:00 AM and decided we would find our own fishing with no help from anyone else. We headed straight towards mexican waters  &#8211; to [...]]]></description>
			<content:encoded><![CDATA[<p>Day One: Whales, Sea Lions and birds but no fish &#8230; Cool porpoises everywhere, Mexican police with machine guns, Shamu the retarded Whale and much more in today&#8217;s adventures.</p>
<div id="attachment_79" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-79" title="Porpoises off the Coronado Islands in Mexico" src="http://joe.junkin.com/wp-content/uploads/2009/10/IMG_1500-300x225.jpg" alt="Porpoises off the Coronado Islands in Mexico" width="300" height="225" /><p class="wp-caption-text">Porpoises off the Coronado Islands in Mexico</p></div>
<p><span id="more-56"></span></p>
<p>We left at 7:00 AM and decided we would find our own fishing with no help from anyone else. We headed straight towards mexican waters  &#8211; to the Coronado Islands. These Islands are about 15-20 miles south west of San Diego in Mexican waters. The Islands are surrounded by water about 100 feet deep which rapidly becomes 300 plus. We traveled west of the islands and found ourselves in 2000, 3000, 4000 an deeper water.<br />
<img class="alignnone size-medium wp-image-63" title="Don Green at the Coronada Islands, Mexico" src="http://joe.junkin.com/wp-content/uploads/2009/10/IMG_1488-300x225.jpg" alt="Don Green at the Coronada Islands, Mexico" width="300" height="225" /></p>
<p>The first thing we found were tons of porpoises. They were smaller than the usual &#8216;flipper&#8217; gray one&#8217;s I am used to seeing. These were small, grey and had white stripes on the side. They were every where and I had heard that where there are porpoises there are Tuna, so we started fishing! Fortunately porpoises are too smart to grab lures or even live bait on a hook. But we had zero bites.</p>
<p><img class="alignnone size-medium wp-image-59" title="IMG_1491" src="http://joe.junkin.com/wp-content/uploads/2009/10/IMG_14911-300x225.jpg" alt="IMG_1491" width="300" height="225" /></p>
<p>In with the porpoises were these strange birds that popped up out of the water like fish but then immediately flew away. They were swimming under water like fish. Several actually bit Don&#8217;s lure and he had at least 2 on for a few seconds. Fortunately they let go.</p>
<p>Later we saw a whales spout on the horizon, so we decided to investigate. We came upon a big whale, perhaps 50 feet long. We kept our distance.</p>
<div id="attachment_65" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-65" title="Shamu the retarded whale" src="http://joe.junkin.com/wp-content/uploads/2009/10/IMG_1518-300x225.jpg" alt="Agressive whale was attacking the boat" width="300" height="225" /><p class="wp-caption-text">Agressive whale was attacking the boat</p></div>
<p>Next we knew, the Whale decided we looked interesting. It surfaced about 40 feet behind the boat and was headed toward us. We motored up, but Shamu, the retarded whale just kept coming. We moved further away and then slowed again, but there was the whale again, right behind us.</p>
<div id="attachment_66" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-66" title="shamu the retarded whale" src="http://joe.junkin.com/wp-content/uploads/2009/10/IMG_1519-300x225.jpg" alt="viciously agressive whale about to attack boat" width="300" height="225" /><p class="wp-caption-text">viciously agressive whale about to attack boat</p></div>
<p>Goddam whale! Probably wanted to kill us! Fortunately we escaped with our lives.</p>
<p>Later we tried fishing around North Coronado Island, but there were too many sea lions. As soon as we threw a delicious anchovy over the side they would deftly remove it from the hook and eat it. So much for fishing here!</p>
<p>Our final run-in of the day occurred when a lone speed boat came flying directly over to us. It was a Mexican gunboat &#8211; law enforcment of some kind. They asked us what we were doing. &#8220;Fishing Sir&#8221;. Do you have a license? &#8220;Yes Sir&#8221;. I proceeded to read my license number to the kind english speaking gentleman. Satisfied that we had procured our licenses before entering his sacred mexican waters, he departed. We found out later that if you didn&#8217;t have a Mexican fishing license and they caught you &#8230; they might well take your boat if they want! I was really tempted to say &#8220;License? We don&#8217;t need no stinkin&#8217; license!&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://joe.junkin.com/2009/10/06/day-one-porpoises-whales-sea-lions-fish-like-birds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tuna Fishing in San Diego</title>
		<link>http://joe.junkin.com/2009/10/05/tuna-fishing-in-san-diego/</link>
		<comments>http://joe.junkin.com/2009/10/05/tuna-fishing-in-san-diego/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 22:44:04 +0000</pubDate>
		<dc:creator>jjunkin</dc:creator>
				<category><![CDATA[Marine]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://joe.junkin.com/?p=50</guid>
		<description><![CDATA[Tuna Fishing in San Diego!

It&#8217;s Monday and yesterday I picked up my friend Don Green from the airport and with boat in tow we proceeded to drive 10 hours straight from Half Moon Bay to San Diego. Our goal is to catch Tuna off the coast of San Diego.
We are staying on Shelter Island which [...]]]></description>
			<content:encoded><![CDATA[<p>Tuna Fishing in San Diego!<br />
<span id="more-50"></span></p>
<p>It&#8217;s Monday and yesterday I picked up my friend Don Green from the airport and with boat in tow we proceeded to drive 10 hours straight from Half Moon Bay to San Diego. Our goal is to catch Tuna off the coast of San Diego.</p>
<p>We are staying on Shelter Island which is in Point Loma at <a title="Humphrey's Half Moon Inn" href="http://www.halfmooninn.com/">Humphrey&#8217;s Half Moon Inn</a> which is on the water and has a marina. It is conveniently located near the mouth of San Diego Harbor. I contacted Brad the manager of the marina and he set us up with a slip for the boat. When we arrived we checked in to the hotel and put the boat in the water using the ramp conveniently located across the street. We then went to a local tackle shop called <a title="Anglers Choice" href="http://www.anglerschoicetackle.com/">Angler&#8217;s Choice</a> which has great stuff for catching Tuna.</p>
<p>After spending huge amounts of cash we proceeded to sleep since we had none the night before. We were tired!</p>
]]></content:encoded>
			<wfw:commentRss>http://joe.junkin.com/2009/10/05/tuna-fishing-in-san-diego/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hewescraft Alaskan 24</title>
		<link>http://joe.junkin.com/2009/09/05/hewescraft-alaskan-24/</link>
		<comments>http://joe.junkin.com/2009/09/05/hewescraft-alaskan-24/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 06:15:47 +0000</pubDate>
		<dc:creator>jjunkin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Hewescraft]]></category>

		<guid isPermaLink="false">http://joe.junkin.com/?p=46</guid>
		<description><![CDATA[New boat: Hewescraft Alaskan 24!

On Monday August 25th I road tripped to Mt Vernon, Washington to pick up a new Hewescraft Alaskan from Tom N Jerry&#8217;s Boats. Lee &#38; Kelley were awesome! They&#8217;re pricing was far lower than clemens in Oregon. I then turned around and raced back to Menlo Park.
The trip took about 14 [...]]]></description>
			<content:encoded><![CDATA[<p>New boat: Hewescraft Alaskan 24!</p>
<p><span id="more-46"></span></p>
<p>On Monday August 25th I road tripped to Mt Vernon, Washington to pick up a new Hewescraft Alaskan from <a href="http://www.tomnjerrys.net/">Tom N Jerry&#8217;s Boats</a>. Lee &amp; Kelley were awesome! They&#8217;re pricing was far lower than clemens in Oregon. I then turned around and raced back to Menlo Park.</p>
<p>The trip took about 14 hours each way. It sucked ass! I used to enjoy driving like that but now I am too damn old. Seattle is an amazing town &#8211; as far as I could tell at 75 mph. Everything else sucked.</p>
]]></content:encoded>
			<wfw:commentRss>http://joe.junkin.com/2009/09/05/hewescraft-alaskan-24/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updated wordpress</title>
		<link>http://joe.junkin.com/2009/09/05/updated-wordpress/</link>
		<comments>http://joe.junkin.com/2009/09/05/updated-wordpress/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 05:43:30 +0000</pubDate>
		<dc:creator>jjunkin</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Server Configuration]]></category>
		<category><![CDATA[Server Setup & Config]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://joe.junkin.com/?p=44</guid>
		<description><![CDATA[Thanks to popurls, I happend to see the exploit warning for wordpress. I just went and updated all my wordpress sites. Thank god for subversion!
]]></description>
			<content:encoded><![CDATA[<p>Thanks to popurls, I happend to see the exploit warning for wordpress. I just went and updated all my wordpress sites. Thank god for subversion!</p>
]]></content:encoded>
			<wfw:commentRss>http://joe.junkin.com/2009/09/05/updated-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is Bing useful for? Saving $450!</title>
		<link>http://joe.junkin.com/2009/08/13/what-is-bing-useful-for-saving-450/</link>
		<comments>http://joe.junkin.com/2009/08/13/what-is-bing-useful-for-saving-450/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 05:01:37 +0000</pubDate>
		<dc:creator>jjunkin</dc:creator>
				<category><![CDATA[GPS]]></category>
		<category><![CDATA[Marine]]></category>
		<category><![CDATA[bing.com]]></category>
		<category><![CDATA[gpsmap 4210]]></category>
		<category><![CDATA[gpsmap 4212]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://joe.junkin.com/?p=37</guid>
		<description><![CDATA[Is bing.com from microsoft useful? I saved about $450 using the bing.com &#8216;cashback&#8217; gimmick when purchasing some marine gps equipment. I was surprised to find that bing.com actually has some value.So I don&#8217;t think much of microsoft. When I heard about bing I thought &#8216;ho hum&#8217; who gives a rats ass.
So I was recently shopping [...]]]></description>
			<content:encoded><![CDATA[<p>Is bing.com from microsoft useful? I saved about $450 using the bing.com &#8216;cashback&#8217; gimmick when purchasing some marine gps equipment. I was surprised to find that bing.com actually has some value.<span id="more-37"></span>So I don&#8217;t think much of microsoft. When I heard about bing I thought &#8216;ho hum&#8217; who gives a rats ass.</p>
<p>So I was recently shopping for a gps chartplotter for a boat. I researched it and compared pricing using the usual &#8211; google. I mean, all I ever use is google. For the most part, microsoft can kiss my as if they think I will even look at any of they&#8217;re garbage .. I fucking love google.</p>
<p>So anyway I am comparing prices on the garmin gpsmap 4212 &amp; 4210. I figure the 4210 is the way to go because it is about $1800.00. The 4212 is around $$2200. I figure a 12 inch screen isn&#8217;t worth $400 more than a 10 inch, I&#8217;m cheap. So I am just about ready to purchase the 4210 &#8230; and the thought goes through my head, maybe I should try that bing shit.</p>
<p>So I try bing.com. I get similar results except they have this silly &#8216;cashback&#8217; crap next to the top results. I figure that&#8217;s a bunch of shit, microsoft is resorting to marketing tricks to try and sell stuff. What a bunch of assholes. Steve Ballmer looks like Uncle Fester. Of course, being the sucker that I am &#8211; I look closer.</p>
<p>It appears it is not a trick. What they do is give you some percentage back based on the store. In my case, the garmin gpsmap was $2249.98 from eangler.com (about $50 more than the cheapo sites) but bing is giving me back 20% &#8211; $450! They seem to be doing some double reward bullshit during the month of august. So the price after this magical &#8216;cashback&#8217; from bing will actually be  about $1800. And there is no tax and no shipping from the site.</p>
<p>Are you kidding me? That is less than the lowest price I could find on google for the garmin 4210. So I got the 4212 worth $400 more for the same price as the lower end 4210.</p>
<p>I have a feeling that this reward trickery is just an attempt by microsoft to drum up business for bing. Well it works for me! I bought some other shit this way too and saved another $54. If you are purchasing stuff on the internet, it may be worth your while to check out bing.com.</p>
]]></content:encoded>
			<wfw:commentRss>http://joe.junkin.com/2009/08/13/what-is-bing-useful-for-saving-450/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problems using YUI Panel</title>
		<link>http://joe.junkin.com/2008/03/28/problems-using-yui-panel/</link>
		<comments>http://joe.junkin.com/2008/03/28/problems-using-yui-panel/#comments</comments>
		<pubDate>Fri, 28 Mar 2008 20:11:55 +0000</pubDate>
		<dc:creator>jjunkin</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[yui]]></category>
		<category><![CDATA[Modal Dialog]]></category>

		<guid isPermaLink="false">http://joe.junkin.com/?p=54</guid>
		<description><![CDATA[I use quite a few YUI panel objects as inline popups used for gathering and displaying information. Using the modal dialog option caused an IE error message: ‘A script on this page is causing Internet Explorer to run slowly …’ which caused me great worry until I discovered the cause and fix. I also had [...]]]></description>
			<content:encoded><![CDATA[<p>I use quite a few YUI panel objects as inline popups used for gathering and displaying information. Using the modal dialog option caused an IE error message: ‘A script on this page is causing Internet Explorer to run slowly …’ which caused me great worry until I discovered the cause and fix. I also had issues with KeyListener events being executed after a dialog had been closed. Finally, finding when to initialize the dialogs was a challenge. <span> </span></p>
<p class="MsoNormal"><span id="more-36"></span></p>
<p class="MsoNormal">I began getting the IE error message:</p>
<p class="MsoNormal">&#8220;Stop running the script? A script on this page is causing Internet<br />
Explorer to run slowly. If it continues to run, your computer may become<br />
unresponsive.&#8221;</p>
<p class="MsoNormal">Which was scary as I thought this was due to the amount of data I was loading into javscript arrays and my dynamic DOM events. The errors were continuous and appeared to occur after one or more of the YUI panels were displayed in modal mode. When I limited the amount of data being processed, the errors continued. I figured there must be something wrong with my code.</p>
<p class="MsoNormal">
<p class="MsoNormal">After many google searches on the error message, I found this link about a bug in the YUI panel in modal mode with complex pages:</p>
<p class="MsoNormal"><a href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1884118&amp;group_id=165715&amp;atid=836476">http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1884118&amp;group_id=165715&amp;atid=836476</a></p>
<p class="MsoNormal">
<p class="MsoNormal">It appears that the YUI panel in modal mode is not scalable:</p>
<p class="MsoNormal">
<pre>“The currently implementation, which attaches focus handlers (which blur) to all focus'able items on the page when modal, definitely has scalability issues.”</pre>
<p class="MsoNormal">
<p class="MsoNormal">Thanks for letting me know guys! I just spent hours trying to figure out what was wrong with my code! It would be nice of them to put a note about this on the YUI webpage for the panel object.</p>
<p class="MsoNormal">The solution is to unsubscribe the listeners</p>
<pre>dialog.showMaskEvent.unsubscribe();</pre>
<pre>dialog.hideMaskEvent.unsubscribe();</pre>
<p class="MsoNormal">This degrades the modality a bit by still allowing the user to TAB into the page behind the mask and launch links, but they cannot click with the mouse. Good enough functionality for me.</p>
<p class="MsoNormal">
<p class="MsoNormal">I also had issues where events were being fired when the enter key was pressed. It seemed that the event from a closed dialog was being launched along with the currently open dialog’s key event. Unfortunately, it’s hard to pin down how this was fixed or why it was happening. I fiddled a bit and it seems fine now.</p>
<p class="MsoNormal">
<p class="MsoNormal">The final issue I had was when to initialize the panels. I started by using the YUI suggested method of using the YAHOO.util.Event.addListener <span> </span>method. The problem was that I already had a function running &lt;body onLoad() which would sometimes call the panel routines. This would cause an error if the panel had not been initialized. I could not find any method for prioritizing when the events would run.</p>
<p class="MsoNormal">I finally just called the routines in my &lt;body onLoad() routine to ensure that the panels were initialized before they were needed. This seems to work fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://joe.junkin.com/2008/03/28/problems-using-yui-panel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Strange server errors posting an Ajax form</title>
		<link>http://joe.junkin.com/2008/03/26/issues-posting-a-form-using-ajax/</link>
		<comments>http://joe.junkin.com/2008/03/26/issues-posting-a-form-using-ajax/#comments</comments>
		<pubDate>Wed, 26 Mar 2008 21:50:25 +0000</pubDate>
		<dc:creator>jjunkin</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[server error]]></category>
		<category><![CDATA[yui]]></category>

		<guid isPermaLink="false">http://joe.junkin.com/2008/03/26/issues-posting-a-form-using-ajax/</guid>
		<description><![CDATA[I just wrestled with getting a form to post via ajax. I have done this before but had a bunch of issues crop up this time including strange intermitten server errors that only seemed to occur on Firefox. I resolved it by using the extremely handy YUI connection manager &#8217;setForm&#8217; function to process the data for me. [...]]]></description>
			<content:encoded><![CDATA[<p>I just wrestled with getting a form to post via ajax. I have done this before but had a bunch of issues crop up this time including strange intermitten server errors that only seemed to occur on Firefox. I resolved it by using the extremely handy YUI connection manager &#8217;setForm&#8217; function to process the data for me. I also found a problem when submitting a non-rails created form that caused an ctionController::InvalidAuthenticityToken error.</p>
<p><span id="more-35"></span></p>
<p>I was sending the form by using a javascript function to get each field, concatonate a url (using escape) and use the YUI connection manager with a GET method. This caused intermitten errors on firefox including one like &#8216;the server did not understand the request&#8217; (or something like that). What was happening was the escape was creating a series of chars that triggered a mod_security rule. The rule was blocking access to the rails server.</p>
<p><code>ModSecurity: Access denied with code 400 (phase 2). Pattern match "%0[ad]" at REQUEST_URI. [id "950910"] [msg "HTTP Response Splitting Attack. Matched signature &lt;%0a&gt;"] [severity "ALERT"] [hostname "dev.removed.com"] [uri "/aSubmitContact?name=john%20johnson&amp;email=john@removed.com&amp;phone=123455&amp;msg=this%20is%20a%20test%0Athsi%20is%20only%20a%20test&amp;subject=general"]<br />
</code></p>
<p>I did some digging and discovered that YUI has a sweet function to fetch, prepare and send the form fields for me:</p>
<p><code>Connection Manager can automatically harvest HTML form data and prepare it for either a GET or POST request via the setForm method. When you call this method before initiating the transaction, Connection Manager constructs a GET querystring or a POST message from the form and submits it to the specified URL.</code></p>
<p>You simply hand the element to <code>YAHOO.util.Connect.setForm(formObject, true); </code>and the connection manager takes care of the rest. SWEET!</p>
<p>After that, another issue came up with rails. It seems that rails expects you to utilize it&#8217;s built-in form generator. When I submitted the form I built with javascript using the DOM, I got the error:</p>
<p><code>ActionController::InvalidAuthenticityToken</code></p>
<p>This appears to be due to a new feature in rails that attempts to stop cross-site-scripting by attaching an hidden identifier value to the form. I had to disable the feature for my javascript created form. To disable it I used:<br />
<code>protect_from_forgery <img src='http://joe.junkin.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> nly =&gt; [:update, :delete, :create].</code><br />
I realize that it is a nice feature, but it would be nice to see it as optional instead of default.</p>
]]></content:encoded>
			<wfw:commentRss>http://joe.junkin.com/2008/03/26/issues-posting-a-form-using-ajax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
