<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Musings of a Trained Monkey: Tag stats</title>
    <link>http://www.stevelongdo.com/articles/tag/stats</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>RubyGems dependency management and memory use...</title>
      <description>I've been looking into the nebulous matter of &lt;a href="http://www.rubyonrails.org"&gt;Rails&lt;/a&gt; memory management &lt;a href="http://www.stevelongdo.com/articles/2006/08/04/typo-4-0-and-memory-reduction"&gt;lately&lt;/a&gt;, using &lt;a href="http://typosphere.org"&gt;Typo4&lt;/a&gt; as my model app.  In my research thus far I have noticed that several of the highest memory using items are from the &lt;a href="http://www.rubygems.org/"&gt;RubyGems&lt;/a&gt; library.  Particularly the &lt;b&gt;Gem::GemPathSearcher&lt;/b&gt; object.  After running a few days I have picked up five instances of it taking up nearly 8MB of RAM which is odd because the first time I profiled it there were &lt;b&gt;only&lt;/b&gt; four of them.  I am not sure why &lt;a href="http://www.rubygems.org/"&gt;RubyGems&lt;/a&gt; needs to be in memory after the app initially loads, especially the ~1.5MB &lt;b&gt;SourceIndex&lt;/b&gt; and the 352 &lt;b&gt;Gem::Specification&lt;/b&gt; objects for another ~1.6MB.  Seems like wiring of any dependencies could be done once at start up.  I am not sure if this relates specifically to how &lt;a href="http://typosphere.org"&gt;Typo&lt;/a&gt; uses &lt;a href="http://www.rubygems.org"&gt;RubyGems&lt;/a&gt; or if all &lt;a href="http://www.rubyonrails.org"&gt;Rails&lt;/a&gt; apps incur the memory overhead penalty for &lt;a href="http://www.rubygems.org"&gt;RubyGems&lt;/a&gt;. If any one with knoweldge of the internal functioning of &lt;a href="http://www.rubygems.org"&gt;RubyGems&lt;/a&gt; would take the time to educate me on this it would be much appreciated.  Also if someone could explain why &lt;a href="http://www.rubygems.org"&gt;RubyGems&lt;/a&gt; pops up at all since all &lt;a href="http://www.typosphere.org"&gt;Typo&lt;/a&gt; dependencies are deployed into the vendor folder.&lt;br /&gt;
&lt;br /&gt;Another one to watch is the slow accumulation of &lt;b&gt;ActiveRecord::ConnectionAdpaters::MysqlColumn&lt;/b&gt;, up to 217 instances in memory.  Not a particularly large memory hit, but they have steadily grown in number over the last few days.  i may swith over to my &lt;a href="http://www.postgresql.org/"&gt;Postgres&lt;/a&gt; database and see if the same thing happens with its connecton adapter.&lt;br /&gt;&lt;br /&gt;
Finally the allocation of &lt;b&gt;Array&lt;/b&gt; objects is interesting.  The number of instances in use has gone down by roughly -2000 instances but the memory use of the remaining &lt;b&gt;Arrays&lt;/b&gt; has gone up by about 2MB.  I need to explode these &lt;b&gt;Arrays&lt;/b&gt; and see what they hold and why they stick around so long.  Partial output of profiling included below:
&lt;br /&gt;
&lt;br /&gt;Class x852(21194)
&lt;br/ &gt;&lt;b&gt;Gem::Version x709(24981)&lt;/b&gt;
&lt;br/ &gt;&lt;b&gt;ActiveRecord::ConnectionAdapters::MysqlColumn x217(35410)&lt;/b&gt;
&lt;br/ &gt;Regexp x1343(52312)
&lt;br/ &gt;&lt;b&gt;Gem::Dependency x309(53743)&lt;/b&gt;
&lt;br/ &gt;&lt;b&gt;Gem::Version::Requirement x662(59168)&lt;/b&gt;
&lt;br/ &gt;&lt;b&gt;Gem::SourceIndex x1(1563056)&lt;/b&gt;
&lt;br/ &gt;&lt;b&gt;Gem::Specification x352(1714117)&lt;/b&gt;
&lt;br/ &gt;Hash x1257(1858255)
&lt;br/ &gt;String x117204(3869923)
&lt;br/ &gt;&lt;b&gt;Gem::GemPathSearcher x5(7901012)&lt;/b&gt;
&lt;br/ &gt;Array x6093(11102839)&lt;/b&gt;
&lt;br /&gt;
&lt;b&gt;TOTAL == 28496875&lt;/b&gt;
&lt;br /&gt;&lt;br /&gt;
Please do share your experiences with &lt;a href="http://www.rubyonrails.org"&gt;Rails&lt;/a&gt; or &lt;a href="http://www.rubygems.org"&gt;RubyGems&lt;/a&gt; memory use in the comments.</description>
      <pubDate>Tue, 08 Aug 2006 06:30:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:e9ec453d-bde3-40e3-b93d-a56eee868d15</guid>
      <author>Steve Longdo</author>
      <link>http://www.stevelongdo.com/articles/2006/08/08/rubygems-dependency-management-and-memory-use</link>
      <category>rails</category>
      <category>rubygems</category>
      <category>typo</category>
      <category>memory</category>
      <category>stats</category>
    </item>
    <item>
      <title>Adobe Flex2 is out...</title>
      <description>Apparently &lt;a href="http://www.adobe.com/products/flex/"&gt;Adobe Flex2&lt;/a&gt; is available for download today.
&lt;a href="http://www.cbronline.com/article_news.asp?guid=3542F4FC-2852-452E-BDC4-7F1E7B42BA5C"&gt;
&lt;blockquote&gt; When Adobe first announced Flex 2 last fall, it said that it would make the core software development kit (SDK), which provides the core programmer tooling without the bells and whistles of a visual IDE, available for free. The SDK just released includes the framework itself, compiler, documentation, and a command line debugger.
&lt;/blockquote&gt;&lt;/a&gt;It would be great to be able to  use the free SDK compiler to make a simple AJAX driven 3D pie-chart not unlike the ones in &lt;a href="http://www.google.com/analytics"&gt;Google Analytics&lt;/a&gt;.  Adobe even provides an open source &lt;a href="http://labs.adobe.com/wiki/index.php/Flex_Framework:FABridge"&gt;Flash-Ajax bridge&lt;/a&gt; project for linking AJAX activity to a swf file.&lt;br /&gt;&lt;br /&gt;Has someone already done this or am I ahead of the curve?</description>
      <pubDate>Wed, 28 Jun 2006 15:58:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:458078c5-9bee-4f1d-b303-b3031806e2b0</guid>
      <author>Steve Longdo</author>
      <link>http://www.stevelongdo.com/articles/2006/06/28/adobe-flex2-is-out</link>
      <category>flex</category>
      <category>adobe</category>
      <category>stats</category>
      <category>google</category>
      <category>analytics</category>
      <category>chart</category>
      <category>ajax</category>
    </item>
    <item>
      <title>Spreading faster than the bird flu...</title>
      <description>&lt;p&gt;Congratulations to &lt;a href="http://www.alaska.gov/"&gt;Anchorage, Alaska&lt;/a&gt; for coming into the fold. Leaving just a few more states to go.  As excited as I am to pick up another United State, something even cooler has happened: &lt;strong&gt;&lt;a href="http://www.bodoe.com/e/v2/velkommen.shtml"&gt;Norway&lt;/a&gt;&lt;/strong&gt;.  Thanks to the city of &lt;a href="http://www.bodoe.com/e/v2/velkommen.shtml"&gt;Bodø&lt;/a&gt; for stopping by.&lt;/p&gt;


	&lt;p&gt;Also a very special thanks to Shlomo(Toda Raba!, תודה רבה) for visiting from &lt;a href="http://www.index.co.il/tourism/"&gt;Israel&lt;/a&gt;!&lt;/p&gt;


	&lt;p&gt;So I think I am going to have reprioritize which countries to get to visit &lt;a href="http://www.stevelongdo.com"&gt;here&lt;/a&gt; next.  I was thinking South America, but they are finding me on their own, &lt;a href="http://www.turismo.gov.ar/"&gt;Argentina&lt;/a&gt;, &lt;a href="http://www.braziltourism.org/"&gt;Brazil&lt;/a&gt;, and &lt;a href="http://www.visit-chile.org/"&gt;Chilé&lt;/a&gt;. Literally the &lt;span class="caps"&gt;ABC&lt;/span&gt;&amp;#8217;s of South America have already stopped by. I would like to get a visit from &lt;a href="http://www.venezuelatuya.com/caracas/"&gt;Venezuela&lt;/a&gt; though. I traveled there many years ago. If anyone from there stops by I will try to find some of my old photos from &lt;a href="http://www.venezuelatuya.com/caracas/"&gt;Caracas&lt;/a&gt; and post them.&lt;/p&gt;


	&lt;p&gt;Geting visits from more countries that the US doesn&amp;#8217;t get along with well would be neat.  I noticed that I have had two visitors from &lt;a href="http://www.vietnamtourism.gov.vn/"&gt;Vietnam&lt;/a&gt; one even from Ho Chi Minh City. Strange to think about my father fighting there in the war and now people are beginning to exchange ideas and information again.&lt;/p&gt;


	&lt;p&gt;Next on the list &lt;a href="http://www.cubatravel.cu/client/home/index.php"&gt;Cuba&lt;/a&gt;, I am not sure what kind of internet access is allowed there, but I hope someone finds the way &lt;a href="http://www.stevelongdo.com"&gt;here&lt;/a&gt;.  Visitantes agradables de Cuba.&lt;/p&gt;


	&lt;p&gt;I would be equally excited to pick up some traffic from the &lt;a href="http://english.tour2korea.com/"&gt;Korean Peninsula&lt;/a&gt;. Both &lt;a href="http://english.tour2korea.com/"&gt;North and South&lt;/a&gt; are welcome: 여보세요 한반도에서 방문자에.&lt;/p&gt;


	&lt;p&gt;Last but certainly not least &lt;a href="http://www.tourismus.li/de/welcome.cfm"&gt;Lichtenstein&lt;/a&gt;  I am not sure if the anyone besides the &lt;a href="http://www.fuerstenhaus.li/fhl/en/"&gt;Prince on the Hill&lt;/a&gt; has internet access there, but if so &amp;#8220;Willkommen im voraus zu den Besuchern von Lichtenstein.&amp;#8221; I think I have pictures from when I was there to post as well&amp;#8230;&lt;/p&gt;


	&lt;p&gt;Yes I know the US gets along with South Korea and Lichtenstein&amp;#8230; for now :-) &lt;br /&gt;
&lt;a href="/images/geo4.png" title="bigger map" rel="lightbox"&gt;&lt;img width="450px" alt="Steve Longdo World Domination Map" src="/images/geo4.png" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href="/images/geo4.png" title="bigger map" rel="lightbox"&gt;Click for larger size&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 02 Mar 2006 03:07:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:f2021673-03a6-4fa6-918c-3bfdba6cc118</guid>
      <author>Steve Longdo</author>
      <link>http://www.stevelongdo.com/articles/2006/03/02/spreading-faster-than-the-bird-flu</link>
      <category>google</category>
      <category>analytics</category>
      <category>stats</category>
      <category>norway</category>
      <category>israel</category>
      <category>ajax</category>
      <category>theme</category>
      <trackback:ping>http://www.stevelongdo.com/articles/trackback/83</trackback:ping>
    </item>
    <item>
      <title>AJAX Accordion...</title>
      <description>&lt;p&gt;I&amp;#8217;ve added a little &lt;a href="http://openrico.org/"&gt;&lt;span class="caps"&gt;AJAX&lt;/span&gt; Accordion&lt;/a&gt; to my sidebar.  You may have noticed I have a fasicination with where vistors to my site are located, geographically speaking.  I will probably be posting an updated &lt;a href="http://www.google.com/analytics"&gt;Google Analytics map&lt;/a&gt; in the next few days just to show my progress towards world domination.&lt;/p&gt;


	&lt;p&gt;Imagine my surprise to discover that while my good friends from Iceland have finally arrived (&lt;strong&gt;þakka þú&lt;/strong&gt;), I haven&amp;#8217;t even completed penetration of the entire United States!&lt;/p&gt;


	&lt;p&gt;As you can see from the new Visitors Sidebar there are &lt;del&gt;nine&lt;/del&gt; seven states holding out on me.  I would like to take this opportunity to see if anyone out there knows anyone from the &lt;a href="http://www.uaf.edu/"&gt;University of Alaska &amp;#8211; Fairbanks&lt;/a&gt; or &lt;a href="http://www.uaa.alaska.edu/"&gt;University of Alaska &amp;#8211; Anchorage&lt;/a&gt;, if so tell them to avoid further shaming &lt;a href="http://www.alaska.gov/"&gt;Alaska&lt;/a&gt; by &lt;a href="http://www.stevelongdo.com/"&gt;visiting me&lt;/a&gt;!&lt;/p&gt;


To digress for a moment, seriously Norway, what is the deal?  I have been getting a lot of traffic from Finland, Sweden, and even Denmark, but you continue to elude my grasp and so now a special plea:
	&lt;blockquote&gt;
		&lt;p lang="nw"&gt;Norge hvorfor vil ikke du komme til besøk meg for &lt;a href="http://www.stevelongdo.com/"&gt;www.stevelongdo.com&lt;/a&gt;? Er den språkbarrieren? Til tross for&lt;span class=\"caps\"&gt;&lt;span class="caps"&gt;JEG&lt;/span&gt;&lt;/span&gt; er for gammel å delta &lt;span class=\"caps\"&gt;&lt;span class="caps"&gt;JEG&lt;/span&gt;&lt;/span&gt; ville elske å besøk &lt;a href="http://www.uio.no/"&gt;Oslo&lt;/a&gt; i løpet av Kanskje når det &lt;a href="http://www.aftenposten.no/english/bildeserier/article1027893.ece?start=19"&gt;&amp;#8216;russ&amp;#8217; festen&lt;/a&gt; er under utvikling.&lt;/p&gt;
	&lt;/blockquote&gt;


For my English readers that is a little something like this:
	&lt;blockquote&gt;
		&lt;p lang="en"&gt;Norway why won&amp;#8217;t you come to visit me at &lt;a href="http://www.stevelongdo.com/"&gt;www.stevelongdo.com&lt;/a&gt;?  Is it the language barrier?  Although I am too old to participate I would love to visit Oslo during May when the &lt;a href="http://www.aftenposten.no/english/bildeserier/article1027893.ece?start=19"&gt;&amp;#8216;russ&amp;#8217; celebration&lt;/a&gt; is in progress.&lt;/p&gt;
	&lt;/blockquote&gt;


	&lt;p&gt;&lt;strong&gt;&lt;span class="caps"&gt;UPDATE&lt;/span&gt;:&lt;/strong&gt; I picked up two states already!  Welcome aboard South Dakota and Kansas.  I will allow the sun to resume shining there immediately.&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;&lt;span class="caps"&gt;UPDATE2&lt;/span&gt;:&lt;/strong&gt; I&amp;#8217;ve received reports that the &lt;a href="http://openrico.org/"&gt;&lt;span class="caps"&gt;AJAX&lt;/span&gt; Accordion&lt;/a&gt; doesn&amp;#8217;t like &lt;span class="caps"&gt;IE 6&lt;/span&gt; or otherwise messes up the alignment of my content?  I only tested with &lt;a href="http://www.getfirefox.com"&gt;real&lt;/a&gt; &lt;a href="http://webkit.opendarwin.org/"&gt;browsers&lt;/a&gt; and it worked great with them.  I don&amp;#8217;t have a Windoze box at home so I will check it out tomorrow at work&amp;#8230;&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;&lt;span class="caps"&gt;UPDATE3&lt;/span&gt;:&lt;/strong&gt; I found documentation on this problem &lt;a href="http://www.positioniseverything.net/explorer/creep.html"&gt;here&lt;/a&gt; and implemented a &lt;a href="http://blog.lemongarden.co.uk/testcase/blockquote_borderbug.html"&gt;fix&lt;/a&gt;  So the 12% of users browsing my site in IE can now see the text of the articles lined up correctly again.  Seriously though join the other 88% of visitors using &lt;a href="http://www.getfirefox.com"&gt;real&lt;/a&gt; &lt;a href="http://webkit.opendarwin.org/"&gt;browsers&lt;/a&gt; you can even &lt;a href="http://www.opera.com/"&gt;use this one&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 28 Feb 2006 16:50:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:99a77294-a88e-4e05-9257-db3e0a81ec38</guid>
      <author>Steve Longdo</author>
      <link>http://www.stevelongdo.com/articles/2006/02/28/ajax-accordion</link>
      <category>ajax</category>
      <category>stats</category>
      <category>analytics</category>
      <category>norway</category>
      <category>alaska</category>
      <category>javascript</category>
      <trackback:ping>http://www.stevelongdo.com/articles/trackback/81</trackback:ping>
    </item>
    <item>
      <title>North Atlantic update...</title>
      <description>&lt;a href="https://www.google.com/analytics"&gt;Google Analytics&lt;/a&gt;, shows that Finland has arrived and in a big way too (5 cities)!  Not only do they have a &lt;a href="http://www.nbc.com/photos/Late_Night/Late_Night_with_Conan_O_Brien/2LCObfN05.jpg"&gt;president that looks like Conan O'Brien&lt;/a&gt;, they have good taste in websites too :-)&lt;p&gt;
So Norway why are you still holding out on me?  Oslo apparently says &lt;blockquote&gt;&lt;a href="http://www.oslo.technopole.no/cgi/wbch3.exe?p=1189"&gt; ..."the Norwegian market boasts one of the highest penetrations of mobile phones, personal computers (PCs) and Internet access in the world"...&lt;/a&gt;&lt;/blockquote&gt; so please won't you stop by &lt;a href="http://www.stevelongdo.com"&gt;here&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;While I have never been to &lt;a href="http://tourist.reykjavik.is/"&gt;ReykjavÃ­k&lt;/a&gt; in person, I have long admired the spelling of the name of the capital of Iceland. Perhaps someone from there will drop by and admire the spelling of the name &lt;a href="http://www.stevelongdo.com"&gt;Longdo&lt;/a&gt;? &lt;/p&gt;That would include everyone in the North Atlantic, except &lt;a href="http://www.greenland-guide.gl/nuuktour/default.htm"&gt;Greenland&lt;/a&gt;.  They might want to consider featuring someone else on their tourist website though, I personally would be scared to run into &lt;a href="http://www.greenland-guide.gl/nuuktour/img/uaajarn.jpg"&gt;this guy&lt;/a&gt;! 
&lt;br /&gt;
I didn't even mention that &lt;a href="http://maps.google.com/maps?oi=map&amp;amp;q=Honolulu,+HI"&gt;Honalulu, Hawaii&lt;/a&gt; and &lt;a href="http://dubaitourism.co.ae/"&gt;Dubai, U.A.E&lt;/a&gt; have made it here since last time! Everyone around the world, thanks for stopping by.&lt;br /&gt;
&lt;img width="530px" alt="Steve Longdo World Domination Map" src="/images/geo3.png" /&gt;</description>
      <pubDate>Mon, 13 Feb 2006 07:12:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:047dba38-88e9-4e67-8a1e-d1ab3629e17e</guid>
      <author>Steve Longdo</author>
      <link>http://www.stevelongdo.com/articles/2006/02/13/north-atlantic-update</link>
      <category>analytics</category>
      <category>stats</category>
      <trackback:ping>http://www.stevelongdo.com/articles/trackback/75</trackback:ping>
    </item>
    <item>
      <title>The Australians and New Zelanders have landed...</title>
      <description>According to &lt;a href="http://www.google.com/analytics"&gt;Google Analytics&lt;/a&gt;, visitor(s) have arrived from Australia and New Zealand. Exciting news! &lt;br /&gt;&lt;br /&gt;
Still no hits from Africa though...&lt;br /&gt;&lt;br /&gt;
Finland and Norway where are you?  Sweden has made it.  In fact nearly the entire EU has stopped by.  As far as Germany goes, well I am almost as popular as &lt;a href="http://www.ifilm.com/ifilmdetail/2433520"&gt;Hasselhoff &lt;/a&gt; there.  :-)&lt;br /&gt;&lt;br /&gt;
&lt;a href="/images/geo2.png" rel="lightbox"&gt;&lt;img width="450px" alt="Steve Longdo world dominnation map" src="/images/geo2.png" /&gt;&lt;/a&gt;&lt;br /&gt;</description>
      <pubDate>Fri, 03 Feb 2006 06:32:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:e193dba5-ae21-46dc-9130-339b7f7bdd29</guid>
      <author>Steve Longdo</author>
      <link>http://www.stevelongdo.com/articles/2006/02/03/the-austrailians-and-new-zelanders-have-landed</link>
      <category>analytics</category>
      <category>stats</category>
      <category>google</category>
      <trackback:ping>http://www.stevelongdo.com/articles/trackback/71</trackback:ping>
    </item>
    <item>
      <title>Have any friends in Africa or Australia?</title>
      <description>I've been looking over my Google Analytics. While my quest for world domination is well on its way, I notice that the African continent is under represented.  Also what is up with my good friends down under (you know who you are), give a brother a click now and then...&lt;br /&gt;&lt;br /&gt;
&lt;img alt="Steve Longdo world domination map" title="Steve Longdo world domination map" src="/images/geo.png" /&gt;&lt;br /&gt;</description>
      <pubDate>Fri, 13 Jan 2006 16:04:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:74131675-3052-44d7-8f83-942781f5ace4</guid>
      <author>Steve Longdo</author>
      <link>http://www.stevelongdo.com/articles/2006/01/13/have-any-friends-in-africa-or-australia</link>
      <category>analytics</category>
      <category>stats</category>
      <trackback:ping>http://www.stevelongdo.com/articles/trackback/58</trackback:ping>
    </item>
  </channel>
</rss>
