www.flickr.com
    raschnet's items Go to raschnet's photostream

    July 4, 2008

    New 401(k) doesn’t even support QIF

    Tags: , , , , , , , ,
    — drasch @ 9:18 am

    The 401(k) program we switched to this year happens to have been a step backward as far as support for exporting transactions. In talking with Alan about it, he said he’d downloaded a program to convert the CSV they export into a QIF. In looking at the QIF format, I just decided to whip up something to do the conversion for me. This converts the export from MVP Plan Administrators to QIF and imports successfully into Quicken for Mac 2007.

    
    #!/usr/bin/perl
    
    #based on: http://en.wikipedia.org/wiki/QIF
    
    open(INH, "< ". $ARGV[0]);
    open(OUTH, ">". $ARGV[0]. ".qif");
    
    print OUTH '!Account
    NDavid\'s New 401k
    TInvst
    ^
    !Type:Invst
    ';
    
    <INH>
    
    while (<INH>) {
            chop;
            chop;
            s/\$//g;
            @vals = split /,/;
    
            if ($vals[3] eq 'RECEIVABL') {
                    next;
            }
            print OUTH "D" . $vals[0] . "\n";
            print OUTH "N" . $vals[5] . "\n";
            print OUTH "Y" . $vals[4] . "\n";
            print OUTH "T" . $vals[9] . "\n";
            print OUTH "I" . $vals[8] . "\n";
            print OUTH "Q" . $vals[7] . "\n";
            print OUTH "M" . $vals[6] . "\n";
            print OUTH "^\n";
    }
    
    close OUTH;
    

    Known issues:

    • You still need to go through and mark Dividend transactions as such.
    • Doesn’t handle Sells very well, especially when these are to cover fund fees

    Related posts

    December 24, 2007

    2007 iContact and personal redux

    Tags: , ,
    — drasch @ 8:24 pm

    iContact Accomplishments

    • Team grew from 10 to 22
    • Down from 12 mail servers to 10!
    • From Four database clusters to six
    • Built and launched a Community
    • From 50-80+servers
    • Created and Grew Infrastructure team from 2 people to 9 people under Carl’s leadership
    • Alan and Geoff reoriented our development teams to create the Middleware and User-experience teams
    • Fixed 1048 bugs, (of 1683 total resolved)
    • 3102 logged hours of development time vs. 2255 hours of development time in 2006
    • 2393 Maint Tickets vs. 1194 in 2006
    • 1141 Systems/Helpdesk Tickets vs. 1137 in 2006 (amazing, a difference of only 4 tickets)
    • 33k lines of code added to the Publisher (170k lines of core code of the Publisher vs 147k at the end of 2006)
    • 71k LOC created in the Community (71k LOC in the Community vs. 266 at the end of 2006)
    • 1778 commits to the Publisher tool (that’s a lot of code reviews)

    At home

    • We’ve taken 3001 photos totaling 3.6 GB
    • We’ve taken 327 movies totaling 9.4 GB
    • I’ve archived 1180 emails totaling 263 MB (theoretically, I read most of these)
    • I’ve Traded 9191 Instant messages
    • I’ve written 25 blog entries (up until this one)
    • We’ve helped at least 22 dogs find new homes (probably many more, but I’m counting those I have photos of)
    • DRNA spent over $8,528 vetting these dogs
    • Rented 103 movies from Netflix (approximately 200 hours of our year)

    Related posts

    November 13, 2007

    code is a mass noun

    Tags: , , , ,
    — drasch @ 11:24 pm

    During the Marketplace Morning Report on 11/13, there was a segment covering Google’s recent release of software and a bounty surrounding Cell phones. During this segment, the use of the word “code” followed conventions that aren’t preferred in the Computer Science community–academic or commercial.

    During the segment they refer to “based on a code that’s open”. When code is used in this context, it’s collective and should be used without an indefinite article. While, “based on code that’s open” would be correct.

    Other appropriate uses:
    1. code
    2. source code
    3. the source code
    4. some source code (usually a part of a program)
    5. line of code (a single line of a program)
    6. a piece of code

    The usage of “code” very much follows other words like “stuff” and “water”. “code” is a mass noun in the English language and thus cannot be preceded by numerals like “one code” (when the semantics refer to computer software). As a result, it’s not used with the indefinite article a or an.

    Improper uses (in all below, you can simply remove the “a” or “an” for a proper usage):
    I downloaded a code to solve that problem.
    Google released a source-code to mobile manufacturers.
    An open-source code would encourage developers.

    All of the above reflects my opinion. My wife, however will often say things such as “I am trying to debug a code that I wrote a few months ago.” It also seems that in the non-CS/EE/CE fields of scientific research that this usage is quite common. One of the libraries she uses in building her programs (not codes) is FFTW has a statement on their home page

    Our benchmarks, performed on on a variety of platforms, show that FFTW’s performance is typically superior to that of other publicly available FFT software, and is even competitive with vendor-tuned codes.

    This too uses code as a count noun incorrectly.

    Related posts

    September 24, 2007

    Gallery 2.2–Multisite and Multiroot

    Tags: , , , , , ,
    — drasch @ 9:48 pm

    Recently I tried to use the Gallery Multiroot module/plugin to setup a new site based upon an existing Album in our gallery. Since we started sorting albums chronologically, we wanted to sort out the Dachshund photos separately. To do this, I used the Multiroot feature. Unfortunately, I couldn’t get this to work as I’m already using the Multisite plugin to host several Galleries off of my web server. The magic touch was to use the following file, the first line is key and had to be added to make things work in the Multisite configuration.

    
    define('GALLERY_CONFIG_DIR', "/var/virtualwww/gallery.raschnet.com");  //I had to add this line
    
    require('/usr/local/share/gallery2/embed.php');
    $ret = GalleryEmbed::init(
        array('embedUri' => '/',
              'g2Uri' => 'http://gallery.raschnet.com/',
              'apiVersion' => array(1, 2)
        ));
    
    if ($ret) {
        print '<body>' . $ret->getAsHtml() . '</body>';
        return;
    }
    
    $gallery->setConfig('login', true);
    $gallery->setConfig('defaultAlbumId', 28426);
    $gallery->setConfig('breadcrumbRootId', 28426);
    
    GalleryMain();
    

    Now live: DRNA Gallery

    Related posts

    Next Page »