<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>Carey Tilden</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/carey_tilden/" />
    <link rel="self" type="application/atom+xml" href="http://blogs.perl.org/users/carey_tilden/atom.xml" />
    <id>tag:blogs.perl.org,2009-11-03:/users/carey_tilden//328</id>
    <updated>2011-07-09T19:08:59Z</updated>
    <subtitle>Computers are hard, let&apos;s go shopping</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type Pro 4.38</generator>

<entry>
    <title>How are CPAN uploads doing lately?</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/carey_tilden/2011/07/how-are-cpan-uploads-doing-lately.html" />
    <id>tag:blogs.perl.org,2011:/users/carey_tilden//328.1955</id>

    <published>2011-07-09T18:54:06Z</published>
    <updated>2011-07-09T19:08:59Z</updated>

    <summary>I was curious about the recent number of CPAN uploads. I found some raw data from CPAN testers, and created a little chart: And to make 2011 comparable to previous years, here are counts for the first 6 months of...</summary>
    <author>
        <name>cbt</name>
        
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/carey_tilden/">
        <![CDATA[<p>I was curious about the recent number of CPAN uploads.  I found some <a href="http://stats.cpantesters.org/stats/stats12.txt">raw data from CPAN testers</a>, and created a little chart:</p>

<p><img src="http://chart.apis.google.com/chart?chxl=0:|2011|2010|2009|2008|2007|2006|2005|2004|2003|2002|2001|2000|1999|1998|1997|1996|1995&chxr=1,0,3000&chxt=y,x&chbh=a,1&chs=200x350&cht=bhg&chco=A2C180&chds=0,3000&chd=t:121,206,326,508,653,788,1233,1567,2070,2178,2322,2241,2234,2802,2987,2803,1620&chtt=CPAN+distributions+per+year&chts=676767,12" width="200" height="350" alt="CPAN distributions per year" /></p>

<p>And to make 2011 comparable to previous years, here are counts for the first 6 months of each year:</p>

<p><img src="http://chart.apis.google.com/chart?chxl=0:|2011|2010|2009|2008|2007|2006|2005|2004|2003|2002|2001|2000|1999|1998|1997|1996&chxr=1,0,1600&chxt=y,x&chbh=a,1&chs=200x350&cht=bhg&chco=A2C180&chds=0,1600&chd=t:119,140,224,298,359,544,708,1094,1176,1137,1207,1056,1437,1480,1405,1557&chtt=CPAN+dists%2C+first+6+months&chts=676767,12" width="200" height="350" alt="CPAN dists, first 6 months" /></p>]]>
        
    </content>
</entry>

<entry>
    <title>Does the world really need another post extolling  the greatness of Dist::Zilla?</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/carey_tilden/2010/12/does-the-world-really-need-another-post-extolling-the-greatness-of-distzilla.html" />
    <id>tag:blogs.perl.org,2010:/users/carey_tilden//328.1282</id>

    <published>2010-12-28T04:21:48Z</published>
    <updated>2010-12-28T04:37:23Z</updated>

    <summary>YES! I am extolling the greatness of Dist::Zilla! It really has a lot of greatness. I think it&apos;s finally reduced the friction enough that I&apos;m going to start making dists for all my internal projects. A big thanks to all...</summary>
    <author>
        <name>cbt</name>
        
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/carey_tilden/">
        <![CDATA[<p>YES!  I am extolling the greatness of <a href="http://search.cpan.org/dist/Dist-Zilla/">Dist::Zilla</a>!  It really has a lot of greatness.  I think it's finally reduced the friction enough that I'm going to start making dists for all my internal projects.  A big thanks to all involved in building up such lovely infrastructure.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Help name my code! I am terrible at it.</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/carey_tilden/2010/11/help-name-my-code-i-am-terrible-at-it.html" />
    <id>tag:blogs.perl.org,2010:/users/carey_tilden//328.1150</id>

    <published>2010-11-04T00:45:22Z</published>
    <updated>2010-11-04T19:41:25Z</updated>

    <summary>I write a lot of apps that need a simple database. I tend to use SQLite, but I found I was implementing the same things over and over again. I finally started wrapping it up in a role that I...</summary>
    <author>
        <name>cbt</name>
        
    </author>
    
    <category term="database" label="database" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="perl" label="perl" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="roles" label="roles" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/carey_tilden/">
        <![CDATA[<p>I write a lot of apps that need a simple database.  I tend to use SQLite, but I found I was implementing the same things over and over again.  I finally started wrapping it up in a role that I can reuse, but now I'm stuck on a name.  The role provides the following:</p>

<p>
<ul>
 <li>Database connect/disconnect</li>
 <li>Automatic creation of db if it doesn't already exist</li>
 <li>Transactions</li>
 <li>Blocking locks (SQLite's locking kept biting me, so I worked around it using flock)</li>
</ul>
</p>
<br/>
<p>The name I picked out of the blue was DBIx::Cradle.  It sort of makes sense, but I don't really like it.  It is hardly an extension of DBI, so DBIx doesn't feel right, even though it does provide some general purpose database goodness.  The Cradle part is supposed to mean it makes life easy and comfortable, but again, doesn't feel quite right.</p>

<p>Any suggestions?  Any other similar modules I should look at?</p>

<p>PS:  In case anyone remembers my earlier post <a href="http://blogs.perl.org/users/carey_tilden/2010/08/removing-database-abstraction.html">about database abstraction</a>, you might notice I'm backtracking a bit.  These things happen.  The comments pushed me away from that course of action, and this role has simplified things enough that I'm a lot happier now.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Multiple packages in one file</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/carey_tilden/2010/10/multiple-packages-in-one-file.html" />
    <id>tag:blogs.perl.org,2010:/users/carey_tilden//328.1139</id>

    <published>2010-10-31T19:04:35Z</published>
    <updated>2010-10-31T19:15:38Z</updated>

    <summary>I was reading an interesting discussion on python-dev, and it made me think about the analogous situation in Perl. I&apos;ve long been in the habit of putting each package into its own file, no matter what. Now I&apos;m starting to...</summary>
    <author>
        <name>cbt</name>
        
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/carey_tilden/">
        <![CDATA[<p>I was reading an <a href="http://mail.python.org/pipermail/python-dev/2010-October/104887.html">interesting discussion on python-dev</a>, and it made me think about the analogous situation in Perl.  I've long been in the habit of putting each package into its own file, no matter what.  Now I'm starting to consider combining related packages into one file, and only breaking things up along lines of reuse.</p>

<p>I initially thought there was consensus in Perl circles to have a single file per package, but on further reflection, I started to doubt myself.  I don't actually have much confidence that this is true.  I don't usually look at the file structure of distributions I use from CPAN.  Maybe there is more combining than I realized.  Any thoughts?</p>]]>
        
    </content>
</entry>

<entry>
    <title>Removing database abstraction</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/carey_tilden/2010/08/removing-database-abstraction.html" />
    <id>tag:blogs.perl.org,2010:/users/carey_tilden//328.841</id>

    <published>2010-08-06T04:59:19Z</published>
    <updated>2010-08-06T05:21:04Z</updated>

    <summary>While working on the database abstraction layer for one of my toy projects, I came to a sudden realization. Why bother? I know SQL. I think in SQL. I thoroughly enjoy the relational model and DBI does pretty much everything...</summary>
    <author>
        <name>cbt</name>
        
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/carey_tilden/">
        <![CDATA[<p>While working on the database abstraction layer for one of my toy projects, I came to a sudden realization.  Why bother?  I know SQL.  I think in SQL.  I thoroughly enjoy the relational model and DBI does pretty much everything I need.  I can tie myself to one database system, since it's just a toy project.  Sure, there are some repetitive bits that I don't want to repeat all throughout the codebase, but I can abstract those away once and for all.  It sounds like an enormous reduction of friction.  Am I missing something?</p>]]>
        
    </content>
</entry>

<entry>
    <title>On screen names and real names</title>
    <link rel="alternate" type="text/html" href="http://blogs.perl.org/users/carey_tilden/2010/05/on-screen-names-and-real-names.html" />
    <id>tag:blogs.perl.org,2010:/users/carey_tilden//328.528</id>

    <published>2010-05-05T20:58:22Z</published>
    <updated>2010-05-05T21:11:24Z</updated>

    <summary>Is this the obligatory &quot;hello blogs.perl.org&quot; post? I guess so. I will no longer be updating my old use.perl.org journal. Not that I updated it very much to begin with. Which leads to my point. For a long time, I...</summary>
    <author>
        <name>cbt</name>
        
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://blogs.perl.org/users/carey_tilden/">
        <![CDATA[<p>Is this the obligatory "hello blogs.perl.org" post?  I guess so.  I will no longer be updating my old <a href="http://use.perl.org/~revdiablo">use.perl.org journal</a>.  Not that I updated it very much to begin with.</p>

<p>Which leads to my point.  For a long time, I engaged the Perl community under my screen name "revdiablo", but I've been slowly migrating away from that in favor of simply using my real name.  I haven't really thought about a way to smoothly transition, so I'm leaving my screen name on old accounts and using my real name for new accounts.  Hopefully, at some point, my screen name will fade into obscurity.</p>

<p>Unfortunately, there are probably still some people who recognize me only by the screen name.  Maybe they will see this and take notice.  Are any of you one of them?</p>]]>
        
    </content>
</entry>

</feed>
