<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>Advogato blog for scc</title>
    <link>http://www.advogato.org/person/scc/</link>
    <description>Advogato blog for scc</description>
    <language>en-us</language>
    <generator>mod_virgule</generator>
    <pubDate>Mon, 20 May 2013 06:29:37 GMT</pubDate>
    <item>
      <pubDate>Tue, 6 Jun 2000 19:25:03 GMT</pubDate>
      <title>6 Jun 2000</title>
      <link>http://www.advogato.org/person/scc/diary.html?start=5</link>
      <guid>http://www.advogato.org/person/scc/diary.html?start=5</guid>
      <description>Back from two weeks of vacation.  Now we're working on 
hardening APIs (start reading &lt;a href="news://news.mozilla.org/
39368D31.7B62C781@netscape.com" &gt;here&lt;/a&gt;, but also, see 
news:netscape.public.mozilla.porkjockeys in general).

&lt;p&gt; Simon Fraser has done some profiling (start reading &lt;a href="news://news.mozilla.org/sfraser-
F78927.13360202062000@secnews1.mcom.com" &gt;here&lt;/a&gt;) that 
suggests the old implementations strategy for `chunk'-
allocating strings may do more harm than good.  Current 
thinking is to make people do the optimization themselves 
with &lt;tt&gt;SetCapacity&lt;/tt&gt;, and otherwise always allocate 
strings to be exactly the right length.  This is already 
mitigated by &lt;a href="http://lxr.mozilla.org/seamonkey/
source/xpcom/ds/nsAReadableString.h#824" &gt;&lt;tt&gt;
nsPromiseConcatenation&lt;/tt&gt;&lt;/a&gt; which allows you to add up 
hunks of things with only a single allocation.  It could be 
further mitigated by a policy of `chunk'-allocating only in 
the case where someone appends a single character and the 
string had to grow anyway.  This would catch callers who 
build strings a character at a time, and don't call &lt;tt&gt;
SetCapacity&lt;/tt&gt; themselves, e.g., the html parser (in 
places).  I've asked him to add this information to the &lt;a href="http://bugzilla.mozilla.org/show_bug.cgi?id=28221 " &gt;
uber-bug&lt;/a&gt; we have for profiling, fixing, and deploying the 
best string solutions.

&lt;p&gt; I'm going to be setting up monthly Mozilla face-to-face 
`tech' sessions where experts on particular modules 
distribute their expertise.  They will be like our current 
brown bags, except longer (maybe 4-5 hours), held Friday 
afternoons or evenings so that people can come from far away 
without disturbing their schedules, (cheaply) catered (e.g., 
pizzas maybe?), and more in-depth.  Each session will cover a 
specific area, e.g., layout one month, XUL on month, etc., 
and be hosted by the 2-4 engineers best able to explain the 
details and answer any question.  Knowledge hoarding is 
bad; knowledge sharing is good.

&lt;p&gt; I'm preparing a session for &lt;a href="http://www.machack.com" &gt;
MacHack&lt;/a&gt; on C++ IOStreams and locales.  We'll probably 
have a Mozilla session as well.  Mike Pinkerton or Mike and I 
together would like to do a session on XUL and skinnability.  
I don't think I'm speaking at the &lt;a href="http://
www.oreillynet.com/pub/w/sessions.html" &gt;O'Reilly
conference&lt;/a&gt;, but I am planning to attend.
</description>
    </item>
    <item>
      <pubDate>Fri, 19 May 2000 23:04:40 GMT</pubDate>
      <title>19 May 2000</title>
      <link>http://www.advogato.org/person/scc/diary.html?start=4</link>
      <guid>http://www.advogato.org/person/scc/diary.html?start=4</guid>
      <description>I want
&lt;a href="http://www.mozilla.org" &gt;mozilla.org&lt;/a&gt;
to host a wiki web like the
&lt;a href="http://c2.com/cgi/wiki?WelcomeVisitors" &gt;
Portland Pattern Repository&lt;/a&gt;,
&lt;a href="http://www.object-arts.com/wiki/html/Lego-Robotics/
FrontPage.htm" &gt;Lego-Robotics Wiki&lt;/a&gt;,
or any number of
&lt;a href="http://c2.com/cgi/wiki?WikiWikiClone" 
&gt;other wiki webs&lt;/a&gt;.  I'd like to tie it in with the &lt;a href="http://
www.stack.nl/~dimitri/doxygen/" &gt;Doxygen&lt;/a&gt; reference &lt;a href="http://unstable.elemental.com/mozilla/" &gt;over the 
mozilla source&lt;/a&gt; to make some comments---both expository 
and 
active (e.g., a comment noting an API as frozen automatically 
stopping further CVS checkin of that IDL file)---part of the 
web of understanding.
</description>
    </item>
    <item>
      <pubDate>Wed, 17 May 2000 09:21:43 GMT</pubDate>
      <title>17 May 2000</title>
      <link>http://www.advogato.org/person/scc/diary.html?start=3</link>
      <guid>http://www.advogato.org/person/scc/diary.html?start=3</guid>
      <description>At last.  The string stuff is all turned on.  I activated it 
Monday night (24 hours ago).  Bloat went down by 4M.  That's 
16%.  :-)  I think most of this is from the fact that 
&lt;tt&gt;nsPromiseConcatenation&lt;/tt&gt; is a lot more space efficient 
than 
the old &lt;tt&gt;nsSubsumeString&lt;/tt&gt;.
The tree was busy today, but not a hiccup for strings.  
That's good.  I'm happy.  Now we have to start deploying the 
alternate implementations.

&lt;p&gt; Today was my first day as a full-time employee of &lt;a href="www.mozilla.org" &gt;mozilla.org&lt;/a&gt;.  Life is good; but I've 
been in Mountain View too long.  It's time to head back home 
to Michigan for a little rest.  Getting to M16 has been a lot 
of effort for everybody.  There's plenty of bug-fixing to do, 
but I need a little rest after more than 3 months on-site.

&lt;p&gt; I was surprised today to find that my &lt;a href="http://
www.advogato.org/person/dscollins/" &gt;father&lt;/a&gt; just opened an 
Advogato account.  Cool!
</description>
    </item>
    <item>
      <pubDate>Mon, 15 May 2000 11:27:59 GMT</pubDate>
      <title>15 May 2000</title>
      <link>http://www.advogato.org/person/scc/diary.html?start=2</link>
      <guid>http://www.advogato.org/person/scc/diary.html?start=2</guid>
      <description>The new string stuff is building and running (passes all the 
pre-checkin tests) on Win32, Mac, and Linux.  I don't see any 
errors on the Solaris build, but I'll have to wait for 
confirmation.  I'm tempted to turn it on right this instant, 
but I'm gonna wait anyway.  You can never be sure :-)

&lt;p&gt; Chris Waterson has been a huge help getting this stuff 
working with every compiler.  No question: gcc-2.7.2.3 sucks 
ass.  Thank heavens for autoconf.  The challenge comes in 
writing an autoconf test that tests for exactly the bad 
behavior a given compiler has.

&lt;p&gt; Soon!
</description>
    </item>
    <item>
      <pubDate>Wed, 10 May 2000 09:41:44 GMT</pubDate>
      <title>10 May 2000</title>
      <link>http://www.advogato.org/person/scc/diary.html?start=1</link>
      <guid>http://www.advogato.org/person/scc/diary.html?start=1</guid>
      <description>&lt;PRE&gt;
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

&lt;p&gt; &lt;/pre&gt;

&lt;p&gt; Is this too wierd?

&lt;p&gt; &lt;PRE&gt;

&lt;p&gt; -----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.2

&lt;p&gt; iQA/AwUBORkuofGmojMuVn+
fEQKgWwCgsfIn0obBlXDkSIrFk51w8AEbZoAAnRbn
f+HKvwf2mWnjbfN5aF56OYrp
=uup1
-----END PGP SIGNATURE-----
&lt;/pre&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 10 May 2000 09:39:21 GMT</pubDate>
      <title>10 May 2000</title>
      <link>http://www.advogato.org/person/scc/diary.html?start=0</link>
      <guid>http://www.advogato.org/person/scc/diary.html?start=0</guid>
      <description>My first diary entry.  Just discovered this site while 
cruising around people's home pages; in this case &lt;a href="http://people.redhat.com/blizzard/" &gt;blizzard's&lt;/a&gt;.  
Committing to a diary sounds challenging.

&lt;p&gt; &lt;p&gt; My primary focus right now is getting rid of the old 
string 
cruft in &lt;a href="http://www.mozilla.org/" &gt;Mozilla&lt;/a&gt;, 
moving to the new factored scheme first described in
&lt;a href="http://bugzilla.mozilla.org/show_bug.cgi?id=28221"  &gt;this 
bug&lt;/a&gt;, and getting some documentation out on how to exploit 
the 
new &lt;a href="http://lxr.mozilla.org/seamonkey/source/xpcom/
ds/nsAReadableString.h" &gt;readable&lt;/a&gt; and &lt;a href="http://
lxr.mozilla.org/seamonkey/source/xpcom/ds/
nsAWritableString.h" &gt;writable&lt;/a&gt; interfaces, and the various 
implementations of them.  Gotta get some doc out right away.  
"Worse is better." as Brendan Eich would say.  How come he 
doesn't have an account here?

&lt;p&gt; I wonder if there's any reasonable way for me to PGP sign 
these diary entries?  Posting without signing feels very 
weird to me.
</description>
    </item>
  </channel>
</rss>
