<?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>Use Tables! &#187; SoC</title>
	<atom:link href="http://www.gijsk.com/blog/category/soc/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gijsk.com/blog</link>
	<description>Except not really.</description>
	<lastBuildDate>Mon, 28 Jun 2010 09:33:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Domain name and SoC results</title>
		<link>http://www.gijsk.com/blog/2006/08/domain-name-and-soc-results/</link>
		<comments>http://www.gijsk.com/blog/2006/08/domain-name-and-soc-results/#comments</comments>
		<pubDate>Mon, 21 Aug 2006 08:10:54 +0000</pubDate>
		<dc:creator>Gijs</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[My tech]]></category>
		<category><![CDATA[SoC]]></category>

		<guid isPermaLink="false">http://www.gijsk.com/blog/2006/08/domain-name-and-soc-results/</guid>
		<description><![CDATA[So, first stop: I finally got and pointed the domain name www.gijsk.com to this site. WordPress has been updated to that effect, or so I think, and hopefully all you people&#8217;s DNS servers will be, too, within a few hours/days. Seconds stop: I&#8217;ve published a convenience page with my patches and some handy-dandy xpi files. [...]]]></description>
			<content:encoded><![CDATA[<p>So, first stop: I finally got and pointed the domain name <a href="http://www.gijsk.com">www.gijsk.com</a> to this site. WordPress has been updated to that effect, or so I think, and hopefully all you people&#8217;s DNS servers will be, too, within a few hours/days.</p>
<p>Seconds stop: I&#8217;ve published a <a href="http://www.gijsk.com/mozilla/soc/results.php">convenience page</a> with my patches and some handy-dandy xpi files. You might find it interesting, or so I hope <img src='http://www.gijsk.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
<p>Now I&#8217;m off to go packing and do some last-minute shopping for my holiday. I just checked in (and picked perfect seats) from my desk chair &#8211; SAS are great so far!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gijsk.com/blog/2006/08/domain-name-and-soc-results/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Robbed, hiatus</title>
		<link>http://www.gijsk.com/blog/2006/08/robbed-hiatus/</link>
		<comments>http://www.gijsk.com/blog/2006/08/robbed-hiatus/#comments</comments>
		<pubDate>Fri, 18 Aug 2006 09:57:19 +0000</pubDate>
		<dc:creator>Gijs</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[SoC]]></category>

		<guid isPermaLink="false">http://gijs.codingo.org/blog/2006/08/robbed-hiatus/</guid>
		<description><![CDATA[Yesterday someone rang my doorbell, asked if I wanted to buy dvd&#8217;s from him, and upon my negative answer forced the door open wider (I&#8217;d only put it ajar) and pointed a knife at me. Me being unarmed and not much of a fighter, I didn&#8217;t do much but trying to stay calm, and he [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday someone rang my doorbell, asked if I wanted to buy dvd&#8217;s from him, and upon my negative answer forced the door open wider (I&#8217;d only put it ajar) and pointed a knife at me. Me being unarmed and not much of a fighter, I didn&#8217;t do much but trying to stay calm, and he eventually left with my digital camera, an mp3 player and 40 euro in cash (but not my wallet (bank cards, creditcard&#8230;) or my laptop (which had been hiding under an empty shopping bag, by pure chance)).</p>
<p>Obviously I called the cops later on, and spent much of yesterday recounting the story to various people, roughly half of them police officers. I didn&#8217;t sleep much tonight, and I&#8217;m taking a break for two days to calm down and such&#8230; James Ross found a small Venkman bug that I want to squash on sunday if I feel more normal psychologically. In the meantime I&#8217;m at my parents. Mail will reach me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gijsk.com/blog/2006/08/robbed-hiatus/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Stuff gets marked FIXED</title>
		<link>http://www.gijsk.com/blog/2006/08/stuff-gets-marked-fixed/</link>
		<comments>http://www.gijsk.com/blog/2006/08/stuff-gets-marked-fixed/#comments</comments>
		<pubDate>Wed, 09 Aug 2006 23:53:48 +0000</pubDate>
		<dc:creator>Gijs</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[SoC]]></category>

		<guid isPermaLink="false">http://gijs.codingo.org/blog/2006/08/stuff-gets-marked-fixed/</guid>
		<description><![CDATA[Task List And I&#8217;m happy. But it doesn&#8217;t end here, I still want to fix 2 more things on that list, and obviously I need to get all those patches reviewed and checked in. After which, right now, things look as if I&#8217;ll end up with 2/3 of my original list finished (the security issues [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wiki.mozilla.org/User:GijsKruitbosch/JS_Debugging/Tasks">Task List</a></p>
<p>And I&#8217;m happy. But it doesn&#8217;t end here, I still want to fix 2 more things on that list, and obviously I need to get all those patches reviewed and checked in. After which, right now, things look as if I&#8217;ll end up with 2/3 of my original list finished (the security issues popped up during the whole thing, and in the end turned out to be out of my league for the most part), and 3/4 of it resolved (1 worksforme, 1 wontfix). Additionally, it&#8217;s the top 15 items, so that hopefully means I&#8217;ll have stuck to my priorities pretty well.<br />
I hope people feel that&#8217;s enough (for now), and we&#8217;ll see how things work out, won&#8217;t we? <img src='http://www.gijsk.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>On a separate note, I&#8217;ll be going on a holiday to Sweden the early morning of August 22 (yes, that&#8217;s the day after the deadline). Speaking of deadline, I have a little counter on my home pc that I&#8217;ll try to hack into this wordpress thing. By the time you read this is it should hopefully be there. <img src='http://www.gijsk.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.gijsk.com/blog/2006/08/stuff-gets-marked-fixed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Back</title>
		<link>http://www.gijsk.com/blog/2006/07/back/</link>
		<comments>http://www.gijsk.com/blog/2006/07/back/#comments</comments>
		<pubDate>Tue, 18 Jul 2006 09:34:09 +0000</pubDate>
		<dc:creator>Gijs</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[SoC]]></category>

		<guid isPermaLink="false">http://gijs.codingo.org/blog/2006/07/back/</guid>
		<description><![CDATA[I&#8217;m back from my away time. I still have to get into a good daily rhythm after so much time in what&#8217;s really a different world, I suppose, but I&#8217;ll be alright within the coming week. I&#8217;ve caught up with email and such, just need to start being productive again.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m back from my away time. I still have to get into a good daily rhythm after so much time in what&#8217;s really a different world, I suppose, but I&#8217;ll be alright within the coming week. I&#8217;ve caught up with email and such, just need to start being productive again. <img src='http://www.gijsk.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.gijsk.com/blog/2006/07/back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vacation</title>
		<link>http://www.gijsk.com/blog/2006/07/vacation/</link>
		<comments>http://www.gijsk.com/blog/2006/07/vacation/#comments</comments>
		<pubDate>Sat, 08 Jul 2006 20:41:57 +0000</pubDate>
		<dc:creator>Gijs</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[SoC]]></category>

		<guid isPermaLink="false">http://gijs.codingo.org/blog/2006/07/vacation/</guid>
		<description><![CDATA[As of tomorrow morning 4am I&#8217;m on holiday, vacation or sabbatical if you prefer that word. I&#8217;ll be off to France and will be without internet access in the coming week. I will return on July 16, and you can expect me to start replying to email (and generally being alive in the &#8216;net sense [...]]]></description>
			<content:encoded><![CDATA[<p>As of tomorrow morning 4am I&#8217;m on holiday, vacation or sabbatical if you prefer that word. I&#8217;ll be off to France and will be without internet access in the coming week. I will return on July 16, and you can expect me to start replying to email (and generally being alive in the &#8216;net sense of things) again on July 17. If you need me for Summer of Code or Mozilla stuff, you can send me email and I&#8217;ll get back to you ASAP on July 16 or 17.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gijsk.com/blog/2006/07/vacation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debugging from the dialog of death (2)</title>
		<link>http://www.gijsk.com/blog/2006/06/debugging-from-the-dialog-of-death-2/</link>
		<comments>http://www.gijsk.com/blog/2006/06/debugging-from-the-dialog-of-death-2/#comments</comments>
		<pubDate>Sat, 24 Jun 2006 16:11:32 +0000</pubDate>
		<dc:creator>Gijs</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[SoC]]></category>

		<guid isPermaLink="false">http://gijs.codingo.org/blog/2006/06/debugging-from-the-dialog-of-death-2/</guid>
		<description><![CDATA[bug 341764 is now fixed on both trunk and the 1.8 branch, meaning you can now debug from the slow script warning dialog if you have a debugger like Firebug or Venkman open. Woo!]]></description>
			<content:encoded><![CDATA[<p><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=341764">bug 341764</a> is now fixed on both trunk and the 1.8 branch, meaning you can now debug from the slow script warning dialog if you have a debugger like Firebug or Venkman open. Woo! <img src='http://www.gijsk.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.gijsk.com/blog/2006/06/debugging-from-the-dialog-of-death-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debugging from the Dialog of Death</title>
		<link>http://www.gijsk.com/blog/2006/06/debugging-from-the-dialog-of-death/</link>
		<comments>http://www.gijsk.com/blog/2006/06/debugging-from-the-dialog-of-death/#comments</comments>
		<pubDate>Mon, 19 Jun 2006 09:00:17 +0000</pubDate>
		<dc:creator>Gijs</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[SoC]]></category>

		<guid isPermaLink="false">http://gijs.codingo.org/blog/2006/06/debugging-from-the-dialog-of-death/</guid>
		<description><![CDATA[On the title: The Dialog of death just sounds so much better than the &#8220;Slow Script warning&#8221;. Regardless, if a developer encounters a dialog like it unexpectedly, it generally means they screwed up. Unfortunately, right now they can&#8217;t in any way check why that happened. If they stop the script, then that&#8217;s just that and [...]]]></description>
			<content:encoded><![CDATA[<p>On the title: The Dialog of death just sounds so much better than the &#8220;Slow Script warning&#8221;. Regardless, if a developer encounters a dialog like it unexpectedly, it generally means they screwed up. Unfortunately, right now they can&#8217;t in any way check why that happened. If they stop the script, then that&#8217;s just that and they have no way of going back into the slow state. If they choose to continue running the script they won&#8217;t get anywhere either because usually in cases like that all other UI is hung.</p>
<p>Solution? Add a debug script button to the dialog if and only if there&#8217;s an active debugger open. The debugger can be <a href="http://www.firebug.com">Firebug</a> or <a href="http://hacksrus.com/~ginda/venkman/">Venkman</a>, but it should work just as well if an external debugger is in use (like the ATF one that you get when developing XUL stuff in Eclipse). There&#8217;s a patch for branch and for trunk on <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=341764">bug 341764</a>, but I would definitely prefer if this solution only ended up on branch (permanently), given that creating an optional dependency in DOM on JSD seems not that right (in this case optional means that DOM will still build fine without JSD (&#8211;disable-jsd) and will just use it if it can).</p>
<p>So now the waiting is for the review people to notice my requests and hopefully have time soon. <img src='http://www.gijsk.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><!-- technorati tags begin --></p>
<p style="font-size: 10px; text-align: right">technorati tags:<a rel="tag" href="http://technorati.com/tag/javascript">javascript</a>, <a rel="tag" href="http://technorati.com/tag/soc">soc</a>, <a rel="tag" href="http://technorati.com/tag/mozilla">mozilla</a>, <a rel="tag" href="http://technorati.com/tag/slow-script-dialog">slow-script-dialog</a>, <a rel="tag" href="http://technorati.com/tag/google">google</a>, <a rel="tag" href="http://technorati.com/tag/jsd">jsd</a>, <a rel="tag" href="http://technorati.com/tag/venkman">venkman</a>, <a rel="tag" href="http://technorati.com/tag/firebug">firebug</a>, <a rel="tag" href="http://technorati.com/tag/webdevelopment">webdevelopment</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gijsk.com/blog/2006/06/debugging-from-the-dialog-of-death/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Profiling Venkman / JSD startup</title>
		<link>http://www.gijsk.com/blog/2006/06/profiling-venkman-jsd-startup/</link>
		<comments>http://www.gijsk.com/blog/2006/06/profiling-venkman-jsd-startup/#comments</comments>
		<pubDate>Sun, 04 Jun 2006 16:40:59 +0000</pubDate>
		<dc:creator>Gijs</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[SoC]]></category>

		<guid isPermaLink="false">http://gijs.codingo.org/blog/2006/06/profiling-venkman-jsd-startup/</guid>
		<description><![CDATA[So the last few days I've been trying to get a profile of Venkman/JSD startup. First I'll talk about the hurdles I met along the way for a bit, so for the impatient, you can skip ahead to the results if you want.]]></description>
			<content:encoded><![CDATA[<p>So the last few days I&#8217;ve been trying to get a profile of Venkman/JSD startup. First I&#8217;ll talk about the hurdles I met along the way for a bit. I decided that the results and conclusions I took from them are probably better off on a <a href="http://wiki.mozilla.org/User:GijsKruitbosch/JS_Debugging/Profiling">wiki page</a>. Please feel free to let me know what you think about them.<span id="more-35"></span></p>
<h2>Problems and stuff</h2>
<p>First of all, I wanted to do a profile on my Windows box, because it&#8217;s faster than anything else I have access to, and I really wanted this to not be a task taking me more than a few hours, maybe a day. Wrong plan. There are no open-source/free profile tools that I could find (documentation/explanations of). On Linux, there was more choice, and several people told me that was probably easier for me. Okay, I thought, then we&#8217;ll have to do it on Linux, I guess. Not very nice, but oh well.</p>
<p>Surprise surprise, there is <a href="http://lxr.mozilla.org/mozilla/source/tools/jprof/README.html">documentation</a>! I&#8217;ll probably move that to DevMo/wiki.m.o if desired, and if/when I have spare time. So, off I went, trying to build with the following .mozconfig:</p>
<pre># Options for client.mk.
mk_add_options MOZ_CO_PROJECT=suite,browser,mail,xulrunner
mk_add_options MOZ_OBJDIR=/home/gijs/moz_dev/firefox-opt-jprof/
mk_add_options MOZ_MAKE_FLAGS="-s -j4"

# Options for 'configure' (same as command-line options).
ac_add_options --enable-application=browser
ac_add_options --enable-debugger-info-modules
ac_add_options --enable-optimize
ac_add_options --disable-debug
ac_add_options --enable-jprof</pre>
<p>The first hurdle was that jprof required bfd.h. My build failed, I apt-got binutils-dev, and then that part of the build was happy again &#8211; except that it then started to complain that _r_debug was not defined. After some lxr-ing, I wondered what was up, because this seemed to be something that should get from some external thing (meaning, a header or library or other &#8216;thing&#8217; not provided by mozilla itself), yet neither make nor ld was complaining about missing headers. When complaining in #developers, biesi fortunately heard me and told me to put <kbd>EXTRA_DSO_LDOPTS += /lib/ld-linux.so.2</kbd> in the Makefile.in for the directory that was failing (mozilla/tools/jprof/stub). After that, the build worked fine.</p>
<p>That said, it was very slow. In the meantime, I&#8217;d used some spare unpartitioned space on my main Windows machine to install Ubuntu Dapper. The laptop was running Ubuntu Breezy, and after the build was done, I updated that machine to Dapper as well. After that I tried to profile my build which seemed, not counting some hurdles with which dbaron helped me, to work fine. However, when I ran jprof on the resulting jprof-log file, it complained it couldn&#8217;t find a library file. Oops. I now (after the OS update) had a different version of that library, rendering the build mostly useless (at least, that&#8217;s my diagnostic of what happened &#8211; I didn&#8217;t look into it too much, maybe I&#8217;m wrong and something else was broken, I don&#8217;t know). Regardless, I <kbd>rm -fr</kbd>&#8216;d my OBJDIR, and started the build anew.</p>
<p>By now I had overcome some entirely unrelated problems with Ubuntu Dapper on my main machine, and after some time, noticing how slow the build on my laptop was, I started a cvs checkout on my main machine. After installing <kbd>cvs</kbd>, that is (why is that not in a default Dapper install &#8211; and why did Dapper not let me pick the software I wanted when I was installing in Expert mode?). Then I did a checkout (after installing <kbd>make</kbd>, anyway), and meanwhile used <kbd>apt-get</kbd> to install gcc, g++, libidl and all the other prerequisites to do anything useful with a cvs checkout.</p>
<p>When my checkout was done, I ran a build, then realized I&#8217;d forgotten to separately checkout jprof and edit the Makefile to make sure I wouldn&#8217;t get the same problem. I did those things while the build was already running, and surprisingly that worked. My main machine was done before the laptop (I partially blame my addition of <kbd>--disable-tests</kbd>  to the .mozconfig on my main machine for that extremely large difference).<br />
I then ran a profile on my main machine (in a nutshell, I set the environment variable JPROF_FLAGS to &#8220;JP_DEFER JP_PERIOD=0.0011&#8243;, ran Firefox, sent it  a PROF signal, started Venkman, sent Firefox a USR1 signal as soon as Venkman was done loading, and then exited Firefox (and Venkman)). After checking the results, I was suspicious for the lack of jsd stuff in there. I then realized this profile still had Firebug installed, which I suspected would get its debugger interface sorted out as soon as the first Firefox window got loaded. So I deinstalled Firebug and tried again. The next day (today) I did the same thing on my laptop. The results are on <a href="http://wiki.mozilla.org/User:GijsKruitbosch/JS_Debugging/Profiling">wiki.mozilla.org</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gijsk.com/blog/2006/06/profiling-venkman-jsd-startup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&lt;/barcamp&gt;&lt;soc alt=&quot;spending time on mozilla&quot;&gt;</title>
		<link>http://www.gijsk.com/blog/2006/05/barcamp-end-soc-start/</link>
		<comments>http://www.gijsk.com/blog/2006/05/barcamp-end-soc-start/#comments</comments>
		<pubDate>Wed, 24 May 2006 09:51:04 +0000</pubDate>
		<dc:creator>Gijs</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[SoC]]></category>

		<guid isPermaLink="false">http://gijs.codingo.org/blog/2006/05/barcamp-end-soc-start/</guid>
		<description><![CDATA[So, 3 days after barcamp ended, Google gave me official word that I&#8217;ve been accepted in the Google Summer of Code. I will be working to improve the JS Debugging experience in Mozilla Firefox, specifically for webdevelopers. In order to do so, I need input from the (other) people who debug their own javascript on [...]]]></description>
			<content:encoded><![CDATA[<p>So, 3 days after barcamp ended, Google gave me official word that I&#8217;ve been accepted in the Google Summer of Code. I will be working to improve the JS Debugging experience in Mozilla Firefox, specifically for webdevelopers. In order to do so, I need input from the (other) people who  debug their own javascript on a daily basis.</p>
<ul>
<li>What&#8217;s missing?</li>
<li>What&#8217;s been done wrong? What&#8217;s been done exceptionally right?</li>
<li>What tools do you use? Why?</li>
<li>Do you use Venkman? Why, or why not?</li>
<li>Do you use the MS Script debugger? Why, why not?</li>
<li>Is either tool better than the other, and if so, why?</li>
<li>What kind of problems do you spend the largest amount of time on, and how can a debugger help you change that (or at least shorten that amount of time)?</li>
</ul>
<p>You can <a href="mailto:gijskruitbosch@gmail.com">email me</a> a response to those questions, but you can also <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=338978">comment on the tracking bug</a> for my project, or on this blogpost. Thanks in advance!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gijsk.com/blog/2006/05/barcamp-end-soc-start/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
