<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Mono Strange Behaviour (Bug!)</title>
	<atom:link href="http://www.alexandre-gomes.com/?feed=rss2&#038;p=435" rel="self" type="application/rss+xml" />
	<link>http://www.alexandre-gomes.com/?p=435</link>
	<description>Technology, programming, ideas and innovation are my preferred subjects. Working professionally on programming gives me plenty of new topics to write about, still my brain keeps popping out ideas in the most unexpected places.</description>
	<lastBuildDate>Wed, 25 Aug 2010 13:40:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: AdSense reports in a Gadget (iGoogle and Wave) &#171; Alexandre Gomes</title>
		<link>http://www.alexandre-gomes.com/?p=435&#038;cpage=1#comment-33780</link>
		<dc:creator>AdSense reports in a Gadget (iGoogle and Wave) &#171; Alexandre Gomes</dc:creator>
		<pubDate>Tue, 27 Oct 2009 03:02:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexandre-gomes.com/?p=435#comment-33780</guid>
		<description>[...] requests. Luckily, Mono behaved quite well after that last little problem I blogged about &#8211; Mono Strange Behaviour (Bug!). I also had to implement several security checks and encryption to make sure no data can be stolen [...]</description>
		<content:encoded><![CDATA[<p>[...] requests. Luckily, Mono behaved quite well after that last little problem I blogged about &#8211; Mono Strange Behaviour (Bug!). I also had to implement several security checks and encryption to make sure no data can be stolen [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alexmipego</title>
		<link>http://www.alexandre-gomes.com/?p=435&#038;cpage=1#comment-33756</link>
		<dc:creator>alexmipego</dc:creator>
		<pubDate>Fri, 23 Oct 2009 14:55:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexandre-gomes.com/?p=435#comment-33756</guid>
		<description>@Alan
I&#039;ve done it all. Patch, test case and bug report. https://bugzilla.novell.com/show_bug.cgi?id=549580
Please take a look at it, I&#039;ve tested it to make sure the test is accurate and no regressions on the other tests were detected. I did a similar fix on my mono 2.4.3.2 sources on the production server (this machine) and everything started to work like it was supposed to.

If you think its OK to commit to the Mono&#039;s trunk, let me know. I haven&#039;t done a Mono commit in a while and its kinda like candy for hackers :P I just love it.</description>
		<content:encoded><![CDATA[<p>@Alan<br />
I&#8217;ve done it all. Patch, test case and bug report. <a href="https://bugzilla.novell.com/show_bug.cgi?id=549580" rel="nofollow">https://bugzilla.novell.com/show_bug.cgi?id=549580</a><br />
Please take a look at it, I&#8217;ve tested it to make sure the test is accurate and no regressions on the other tests were detected. I did a similar fix on my mono 2.4.3.2 sources on the production server (this machine) and everything started to work like it was supposed to.</p>
<p>If you think its OK to commit to the Mono&#8217;s trunk, let me know. I haven&#8217;t done a Mono commit in a while and its kinda like candy for hackers <img src='http://www.alexandre-gomes.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  I just love it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alexmipego</title>
		<link>http://www.alexandre-gomes.com/?p=435&#038;cpage=1#comment-33755</link>
		<dc:creator>alexmipego</dc:creator>
		<pubDate>Fri, 23 Oct 2009 14:51:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexandre-gomes.com/?p=435#comment-33755</guid>
		<description>It was a bit of an ugly hack really. I can&#039;t recall but at the time it was the best or fastest solution. Anyway, what I&#039;ve done was create a small C app with this code:

#include 
#include 
#include 
int main(void) { execl(&quot;/usr/bin/svn&quot;, &quot;svn&quot;, &quot;update&quot;, &quot;/var/www/whotouchesnet&quot;, (const char *) NULL); return(EXIT_FAILURE); }

Compile it with &quot;gcc -o binname filename.c&quot; and then &quot;chmod a+x binname&quot;. After that you just might need to fine tune the permissions on the working copy a bit, just remember that the executable and the svn up command will be run with the apache&#039;s user credentials.

Might not be the best solution but it is simple enough and works like a charm! Never fails, I commit and my sites are updated. Just a word of caution though, make sure you&#039;re using branches to manage the production/test versions of the site or service. Personally I&#039;ve a production branch which goes life on www.domain.com and then I&#039;ve the trunk/main branch going to a test.domain.com - that way I can test/debug freely without concerns about bugs.</description>
		<content:encoded><![CDATA[<p>It was a bit of an ugly hack really. I can&#8217;t recall but at the time it was the best or fastest solution. Anyway, what I&#8217;ve done was create a small C app with this code:</p>
<p>#include<br />
#include<br />
#include<br />
int main(void) { execl(&#8220;/usr/bin/svn&#8221;, &#8220;svn&#8221;, &#8220;update&#8221;, &#8220;/var/www/whotouchesnet&#8221;, (const char *) NULL); return(EXIT_FAILURE); }</p>
<p>Compile it with &#8220;gcc -o binname filename.c&#8221; and then &#8220;chmod a+x binname&#8221;. After that you just might need to fine tune the permissions on the working copy a bit, just remember that the executable and the svn up command will be run with the apache&#8217;s user credentials.</p>
<p>Might not be the best solution but it is simple enough and works like a charm! Never fails, I commit and my sites are updated. Just a word of caution though, make sure you&#8217;re using branches to manage the production/test versions of the site or service. Personally I&#8217;ve a production branch which goes life on <a href="http://www.domain.com" rel="nofollow">http://www.domain.com</a> and then I&#8217;ve the trunk/main branch going to a test.domain.com &#8211; that way I can test/debug freely without concerns about bugs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mat</title>
		<link>http://www.alexandre-gomes.com/?p=435&#038;cpage=1#comment-33754</link>
		<dc:creator>mat</dc:creator>
		<pubDate>Fri, 23 Oct 2009 13:12:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexandre-gomes.com/?p=435#comment-33754</guid>
		<description>Hiya, don&#039;t suppose you fancy sharing the subversion hook, would be dead handy?</description>
		<content:encoded><![CDATA[<p>Hiya, don&#8217;t suppose you fancy sharing the subversion hook, would be dead handy?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan</title>
		<link>http://www.alexandre-gomes.com/?p=435&#038;cpage=1#comment-33753</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Fri, 23 Oct 2009 12:11:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexandre-gomes.com/?p=435#comment-33753</guid>
		<description>It&#039;s not laziness or hatred of filing bugs, the reason I won&#039;t file this is because I have no way of verifying the fix works. Therefore how could I possibly mark the bug as fixed?  If alex files it, I can notify him (by updating the bug) that a fix is in SVN. He can then test it and notify us (by updating the bug) if it resolved his issue or not. It&#039;s a paper trail which makes it much easier to ensure things get fixed :)

Secondly, if there are 100 bugs in my area, pretty much everything with an attached testcase will be prioritised. If I have to 1) Find the bug, 2) Write a testcase, 3) Write a patch, 4) Check back with the original dev as to whether it fixed their issue or not, 5) Go back to 1 if it didn&#039;t, i waste a lot of time :)</description>
		<content:encoded><![CDATA[<p>It&#8217;s not laziness or hatred of filing bugs, the reason I won&#8217;t file this is because I have no way of verifying the fix works. Therefore how could I possibly mark the bug as fixed?  If alex files it, I can notify him (by updating the bug) that a fix is in SVN. He can then test it and notify us (by updating the bug) if it resolved his issue or not. It&#8217;s a paper trail which makes it much easier to ensure things get fixed <img src='http://www.alexandre-gomes.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Secondly, if there are 100 bugs in my area, pretty much everything with an attached testcase will be prioritised. If I have to 1) Find the bug, 2) Write a testcase, 3) Write a patch, 4) Check back with the original dev as to whether it fixed their issue or not, 5) Go back to 1 if it didn&#8217;t, i waste a lot of time <img src='http://www.alexandre-gomes.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alexmipego</title>
		<link>http://www.alexandre-gomes.com/?p=435&#038;cpage=1#comment-33752</link>
		<dc:creator>alexmipego</dc:creator>
		<pubDate>Fri, 23 Oct 2009 12:10:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexandre-gomes.com/?p=435#comment-33752</guid>
		<description>Lol, personally I don&#039;t mind filling bug reports except that with Mono I&#039;m a bit frustated due to past experiences. I did a lot of patches to fix SqlServer bugs, Dns Bugs and even did autocompletion on MonoDevelop 2 years before they implemented it - sad thing is that my work tends to go into a dark hole for years, even with my stalking on irc, personal mail and even blog posts lol. http://www.alexandre-gomes.com/?p=126

Anyway @Alan I&#039;ve downloaded a Ubuntu VM and although I din&#039;t touch Mono&#039;s code for a long time I&#039;m going to give it a shot, if nothing else its a nice test to check if my commit access is still up ;)</description>
		<content:encoded><![CDATA[<p>Lol, personally I don&#8217;t mind filling bug reports except that with Mono I&#8217;m a bit frustated due to past experiences. I did a lot of patches to fix SqlServer bugs, Dns Bugs and even did autocompletion on MonoDevelop 2 years before they implemented it &#8211; sad thing is that my work tends to go into a dark hole for years, even with my stalking on irc, personal mail and even blog posts lol. <a href="http://www.alexandre-gomes.com/?p=126" rel="nofollow">http://www.alexandre-gomes.com/?p=126</a></p>
<p>Anyway @Alan I&#8217;ve downloaded a Ubuntu VM and although I din&#8217;t touch Mono&#8217;s code for a long time I&#8217;m going to give it a shot, if nothing else its a nice test to check if my commit access is still up <img src='http://www.alexandre-gomes.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.alexandre-gomes.com/?p=435&#038;cpage=1#comment-33751</link>
		<dc:creator>John</dc:creator>
		<pubDate>Fri, 23 Oct 2009 11:53:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexandre-gomes.com/?p=435#comment-33751</guid>
		<description>Lol love how much developers don&#039;t like filing bugs... even those responsible for projects!</description>
		<content:encoded><![CDATA[<p>Lol love how much developers don&#8217;t like filing bugs&#8230; even those responsible for projects!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan</title>
		<link>http://www.alexandre-gomes.com/?p=435&#038;cpage=1#comment-33750</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Fri, 23 Oct 2009 10:53:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexandre-gomes.com/?p=435#comment-33750</guid>
		<description>Well, if you can get a patch in very soon and let me know, i can try my best to make sure it gets into 2.6.</description>
		<content:encoded><![CDATA[<p>Well, if you can get a patch in very soon and let me know, i can try my best to make sure it gets into 2.6.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alexmipego</title>
		<link>http://www.alexandre-gomes.com/?p=435&#038;cpage=1#comment-33749</link>
		<dc:creator>alexmipego</dc:creator>
		<pubDate>Fri, 23 Oct 2009 09:41:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexandre-gomes.com/?p=435#comment-33749</guid>
		<description>Hi,

Thanks for the help, it was kinda obvious I guess... just didn&#039;t look on the right places. Anyway, currently I don&#039;t have a devel Linux box and making a patch/unit test would be kinda difficult. All my debugging was done directly on the server and thats far from recommended :D</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for the help, it was kinda obvious I guess&#8230; just didn&#8217;t look on the right places. Anyway, currently I don&#8217;t have a devel Linux box and making a patch/unit test would be kinda difficult. All my debugging was done directly on the server and thats far from recommended <img src='http://www.alexandre-gomes.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan</title>
		<link>http://www.alexandre-gomes.com/?p=435&#038;cpage=1#comment-33748</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Fri, 23 Oct 2009 09:36:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexandre-gomes.com/?p=435#comment-33748</guid>
		<description>Finally, this is the actual WebClient class. You were looking at the Silverlight one.

http://anonsvn.mono-project.com/viewvc/trunk/mcs/class/System/System.Net/WebClient.cs?view=log

The class is in the &#039;System&#039; assembly in the &#039;System.Net&#039; namespace.</description>
		<content:encoded><![CDATA[<p>Finally, this is the actual WebClient class. You were looking at the Silverlight one.</p>
<p><a href="http://anonsvn.mono-project.com/viewvc/trunk/mcs/class/System/System.Net/WebClient.cs?view=log" rel="nofollow">http://anonsvn.mono-project.com/viewvc/trunk/mcs/class/System/System.Net/WebClient.cs?view=log</a></p>
<p>The class is in the &#8216;System&#8217; assembly in the &#8216;System.Net&#8217; namespace.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
