<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss'><id>tag:blogger.com,1999:blog-1681122092522101488</id><updated>2009-10-09T22:16:29.243-05:00</updated><title type='text'>me llamo sean</title><subtitle type='html'>Just a place to put my thoughts (not that anyone will read them!)</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sgoodpasture.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1681122092522101488/posts/default'/><link rel='alternate' type='text/html' href='http://sgoodpasture.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sean G</name><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1681122092522101488.post-8368671033119034763</id><published>2006-09-03T20:28:00.000-05:00</published><updated>2006-09-03T20:33:41.697-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='movies'/><title type='text'>Dragnet &amp; a lazy Sunday of movies</title><content type='html'>&lt;a href="http://www.imdb.com/title/tt0092925/"&gt;Dragnet&lt;/a&gt; was on the crappy movie channel we get this morning.  What a classic movie.&lt;br /&gt;&lt;br /&gt;My wife comes in... she's never seen it!  What rock did she grow up under to have never seen this movie?&lt;br /&gt;&lt;br /&gt;We had recorded &lt;a href="http://www.imdb.com/title/tt0349710/"&gt;Ladder 49&lt;/a&gt;, and started to watch it, but after 20 minutes, it was too boring, so we stopped it.  Maybe we'll save it for a very late night when we can't sleep.&lt;br /&gt;&lt;br /&gt;Instead we watched the &lt;a href="http://www.imdb.com/title/tt0405422/"&gt;40 Year Old Virgin&lt;/a&gt;.  Not as funny as a lot of people say it is, but there's a couple Napoleon Dynamite type lines in it that just are hi-larious.  Like when they're in Beth's room and someone says "that girl's a freak" and Andy says "Ya think?"  Greatness!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1681122092522101488-8368671033119034763?l=sgoodpasture.blogspot.com%2Findex.html'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sgoodpasture.blogspot.com/feeds/8368671033119034763/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=1681122092522101488&amp;postID=8368671033119034763' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1681122092522101488/posts/default/8368671033119034763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1681122092522101488/posts/default/8368671033119034763'/><link rel='alternate' type='text/html' href='http://sgoodpasture.blogspot.com/2006/09/dragnet-lazy-sunday-of-movies.html' title='Dragnet &amp; a lazy Sunday of movies'/><author><name>Sean G</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='18298680477999916946'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1681122092522101488.post-266306458931368849</id><published>2006-09-03T20:20:00.000-05:00</published><updated>2006-09-03T20:26:22.967-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='football'/><category scheme='http://www.blogger.com/atom/ns#' term='golf'/><title type='text'>Ahh yes... College football is back!</title><content type='html'>It's like that old pair of gym shorts.  Man does it feel good the have college football back!  I'd taken to watching baseball, and that's just not good for a guy's brain.&lt;br /&gt;&lt;br /&gt;Oh yea, and OU almost lost, which would have made my weekend that much better.  They did suck though :)&lt;br /&gt;&lt;br /&gt;I got out and played with a group of guys from FreeGolfInfo yesterday.  It was like an &lt;a href="http://www.smtgolf.com"&gt;SMT&lt;/a&gt; gathering as everyone had at least one SMT club.  One guy even had on an SMT shirt and an SMT glove.&lt;br /&gt;&lt;br /&gt;On the range, I was shanking everything... bad.  I even told the guys that it was going to be bad.  Well, I started birdie, par, double bogey, birdie (after missing a 6' eagle putt), bogey, par, bogey, bogey, bogey for a smooth 40 on the front.  A whole bunch of bogeys and a couple pars on the back netted me a 43 for an 83.  Not too bad, but I can tell you this course was much more open than my home course, so I'm sure I would have scored much worse at home.  Also, the greens were all bumpy and very slow, so my 36 putts seemed ok to me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1681122092522101488-266306458931368849?l=sgoodpasture.blogspot.com%2Findex.html'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sgoodpasture.blogspot.com/feeds/266306458931368849/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=1681122092522101488&amp;postID=266306458931368849' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1681122092522101488/posts/default/266306458931368849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1681122092522101488/posts/default/266306458931368849'/><link rel='alternate' type='text/html' href='http://sgoodpasture.blogspot.com/2006/09/ahh-yes-college-football-is-back.html' title='Ahh yes... College football is back!'/><author><name>Sean G</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='18298680477999916946'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1681122092522101488.post-2248951239369546175</id><published>2006-09-01T12:19:00.000-05:00</published><updated>2006-09-01T12:27:22.247-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='reporting services'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='vs.net 2005'/><title type='text'>FIX: VS.NET 2005 Reporting Services Report Designer bug</title><content type='html'>There's a nasty bug in VS.NET 2k5's Report Designer where if you use the report wizard, the UI will constantly bomb when you switch to preview mode. The solution is to strip all whitespace in the rdl file in the &amp;lt;rd:mdxquery&amp;gt;&amp;lt;/rd:MdxQuery&amp;gt; tags. This is very painful to do manually (especially on a report with lots of parameters).&lt;br /&gt;&lt;br /&gt;Here's some quick code to do this for you (put this on a form with a textbox with the filename, you can use an open file dialog if you want):&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;if ( textBox1.Text == "" )&lt;br /&gt;{&lt;br /&gt;    MessageBox.Show( "Please select a file." );&lt;br /&gt;    return;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;using( StreamReader reader = new StreamReader( &lt;br /&gt;                               textBox1.Text ) )&lt;br /&gt;{&lt;br /&gt;    using ( StreamWriter writer = &lt;br /&gt;                         new StreamWriter( &lt;br /&gt;                           textBox1.Text + ".fix" ) )&lt;br /&gt;    {&lt;br /&gt;        string s = reader.ReadLine();&lt;br /&gt;        bool haveStarted = false;&lt;br /&gt;        while ( s != null )&lt;br /&gt;        {&lt;br /&gt;            if (s.IndexOf( "&lt;rd:mdxquery&gt;" ) &gt; -1 )&lt;br /&gt;                haveStarted = true;&lt;br /&gt;           &lt;br /&gt;            if ( haveStarted )&lt;br /&gt;            {&lt;br /&gt;                int i = s.IndexOf( "&lt;" );&lt;br /&gt;                writer.Write( &lt;br /&gt;                       s.Substring( i ) );             &lt;br /&gt;            }&lt;br /&gt;            else&lt;br /&gt;            {&lt;br /&gt;                     writer.WriteLine( s );             &lt;br /&gt;            }&lt;br /&gt;            if ( s.IndexOf( "&lt;/rd:mdxquery&gt;" ) &gt; -1 )&lt;br /&gt;            {&lt;br /&gt;                haveStarted = false;&lt;br /&gt;                writer.WriteLine();&lt;br /&gt;            }&lt;br /&gt;            s = reader.ReadLine();&lt;br /&gt;        }&lt;br /&gt;        writer.Close();&lt;br /&gt;        reader.Close();&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;FileInfo f = new FileInfo( textBox1.Text );&lt;br /&gt;f.MoveTo( textBox1.Text + ".broke" );&lt;br /&gt;f = new FileInfo( textBox1.Text + ".fix" );&lt;br /&gt;f.MoveTo( textBox1.Text );&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1681122092522101488-2248951239369546175?l=sgoodpasture.blogspot.com%2Findex.html'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sgoodpasture.blogspot.com/feeds/2248951239369546175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=1681122092522101488&amp;postID=2248951239369546175' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1681122092522101488/posts/default/2248951239369546175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1681122092522101488/posts/default/2248951239369546175'/><link rel='alternate' type='text/html' href='http://sgoodpasture.blogspot.com/2006/09/fix-vsnet-2005-reporting-services.html' title='FIX: VS.NET 2005 Reporting Services Report Designer bug'/><author><name>Sean G</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='18298680477999916946'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1681122092522101488.post-8794083546581661973</id><published>2006-08-23T11:07:00.000-05:00</published><updated>2006-08-23T11:10:18.945-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='golf'/><category scheme='http://www.blogger.com/atom/ns#' term='tee times'/><title type='text'>Tee time collusion!</title><content type='html'>I joined a country club a couple months ago so I wouldn't have to scrounge for coupons, could walk on any time I want, could get a group of guys to play with, etc., etc.&lt;br /&gt;&lt;br /&gt;Now, basically on the weekends, you have to call at 7am on Tuesdays and Wednesdays to get a tee time for Saturday and Sundays.  I've called at exactly 7am and got "9:56 is open."  What the hell?  I called at 7 and already 10 people have gotten tee times?&lt;br /&gt;&lt;br /&gt;I think next Monday afternoon, I'm going to go down there and look at the tee sheet for the next Saturday and see if any names are already down, because this is BS.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1681122092522101488-8794083546581661973?l=sgoodpasture.blogspot.com%2Findex.html'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sgoodpasture.blogspot.com/feeds/8794083546581661973/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=1681122092522101488&amp;postID=8794083546581661973' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1681122092522101488/posts/default/8794083546581661973'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1681122092522101488/posts/default/8794083546581661973'/><link rel='alternate' type='text/html' href='http://sgoodpasture.blogspot.com/2006/08/tee-time-collusion.html' title='Tee time collusion!'/><author><name>Sean G</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='18298680477999916946'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1681122092522101488.post-4478635500825174676</id><published>2006-08-23T11:02:00.000-05:00</published><updated>2006-08-23T11:07:13.027-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VS.NET 2005'/><title type='text'>VS.NET 2k5 sucks.</title><content type='html'>&lt;span style="font-family:lucida grande;"&gt;That is all.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;Well maybe not.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;VS.NET 2k5 is obviously a half baked product that shouldn't have made it out the door.&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;It's really slow.  Like it takes forever to open.  Forever to open a project.&lt;/li&gt;&lt;li&gt;The Report Designer for reporting services 2k5 has a very heinous bug that requires you to hand edit the xml to remove whitespace or VS.NET crashes when you try and preview the report.&lt;/li&gt;&lt;li&gt;The new Web Projects are retarded!&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;I was really comfortable with VS.NET 2k3 (with Resharper of course) and when I started to use VS.NET 2k5, I really felt like it was a step back.  There is *nothing* in the new interface that I really like or that I felt was value added.  (this is not true for some of the language additions, but the IDE is really poor).&lt;/p&gt;&lt;p&gt;That is all -- for now.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1681122092522101488-4478635500825174676?l=sgoodpasture.blogspot.com%2Findex.html'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sgoodpasture.blogspot.com/feeds/4478635500825174676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=1681122092522101488&amp;postID=4478635500825174676' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1681122092522101488/posts/default/4478635500825174676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1681122092522101488/posts/default/4478635500825174676'/><link rel='alternate' type='text/html' href='http://sgoodpasture.blogspot.com/2006/08/vsnet-2k5-sucks.html' title='VS.NET 2k5 sucks.'/><author><name>Sean G</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='18298680477999916946'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1681122092522101488.post-1060060315134171047</id><published>2006-08-23T10:46:00.000-05:00</published><updated>2006-08-23T10:59:35.709-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='development'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='web services'/><title type='text'>Ajax to Web Services -- Why?</title><content type='html'>I get an email at least once a month that goes like this:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;"I'm calling a web service from javascript and.."&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Now, don't get me wrong. Web services are cool. Javascript is cool. AJAX is cool. A request to a SOAP web service using javascript? Probably not your best bet.&lt;br /&gt;&lt;br /&gt;Why? SOAP. SOAP is great and all, but without some fancy javascript toolkit, you get to handle all the soap enveloping and namespaces in your javascript -- which isn't fun at all. Also, as most people have figured out, javascript xml methods are different in IE and Mozilla browsers, so you have to deal with that too.&lt;br /&gt;&lt;br /&gt;What do I recommend to these other guys?&lt;br /&gt;&lt;br /&gt;I always recommend that you make an asp.net (or php or whatever your language of choice is) page and have it do the heavy lifting for you. There's a buch of benefits in doing this:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;better error handling&lt;/li&gt;&lt;li&gt;better debugging&lt;/li&gt;&lt;li&gt;better user experience (too much AJAX = slow browser -- see gmail and windows live mail)&lt;/li&gt;&lt;li&gt;no cross site scripting issues&lt;/li&gt;&lt;li&gt;better configuration (e.g. service urls)&lt;/li&gt;&lt;li&gt;easier maintenance&lt;/li&gt;&lt;li&gt;looser coupling between your UI and the service (good!)&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;So, what does the asp.net page return you?&lt;/p&gt;&lt;p&gt;Three (well four) options:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Plain text (e.g. "ERROR", "OK", "option1~option2~option3") -- clear out the default HTML on the page first of course&lt;/li&gt;&lt;li&gt;XML (change the response type to text/xml and pump out xml) -- again, clear out the default HTML on the page first&lt;/li&gt;&lt;li&gt;HTML -- this is especially useful for non-paging, non-sortable grids.&lt;/li&gt;&lt;li&gt;JSON (this is a fourth option that I really haven't used, but a colleague is and likes it)&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;In any case, by calling an intermediate asp.net/php/etc. page that's part of the current solution (or in an unmanaged path in SharePoint), you get a lot of benefit with a small performance hit (but really not as bad as it could be!).&lt;/p&gt;&lt;p&gt;So stop calling SOAP web services from javascript. It's a pain and there are better options out there.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1681122092522101488-1060060315134171047?l=sgoodpasture.blogspot.com%2Findex.html'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sgoodpasture.blogspot.com/feeds/1060060315134171047/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=1681122092522101488&amp;postID=1060060315134171047' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1681122092522101488/posts/default/1060060315134171047'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1681122092522101488/posts/default/1060060315134171047'/><link rel='alternate' type='text/html' href='http://sgoodpasture.blogspot.com/2006/08/ajax-to-web-services-why.html' title='Ajax to Web Services -- Why?'/><author><name>Sean G</name><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='18298680477999916946'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry></feed>