Archives

  • GSoC/TP Weekly Report (June 21 – June 27)

    This Week: Early in the week, I added an AdminLayer interface to libtpproto-cpp, and a series of other commits completed the functionality over a two-day period. Notably, I created a CommandDescCache for command descriptions. More recently, I added an AdminStatusListener class, so that clients can act when the AdminLayer status changes. The connect and login [...]

    Comments Off
    Jun 27th, 2008 | Filed under Uncategorized
    Tags: ,
  • 99 Bottles of Beer

    The interesting part about this is that you have to SIGINT or SIGTERM each verse individually… #!/bin/bash for i in `seq 1 99 | sort -rn` do echo "$i bottles of beer on the wall. $i bottles of beer on the wall, $i bottles of beer. Take one down and pass it around." | festival [...]

    Comments Off
    Jun 23rd, 2008 | Filed under Uncategorized
    Tags:
  • GSoC/TP Weekly Report (June 14 – June 20)

    This Week: Early in the week I finished adding the various administration frames to libtpproto-cpp in the new config branch. This provides the basic frame packing and unpacking functionality. I have deferred implementation of the CommandUpdate frame since I’m not entirely sure it’s necessary. Next, I started the tpadmin-cpp utility. The basic console functionality is [...]

    Comments Off
    Jun 20th, 2008 | Filed under Uncategorized
    Tags: ,
  • Behold

    On the libtpproto-cpp front, I think I may just be finished, in the programmer’s sense of the word (seems finished, but will most likely need plenty more work once I actually try to use it). I added CommandTypesList, Command, and CommandResult frames. Conspicuously missing is the CommandUpdate frame, which I am not really sure I [...]

    Comments Off
    Jun 19th, 2008 | Filed under Uncategorized
    Tags:
  • Proto, I’ve A Feeling…

    Since Friday, I’ve managed to get a decent amount done on libtpproto-cpp. I added a config branch — a bit of a misnomer since I’ve been calling everything “admin”, but consistent with my tpserver-cpp branch. So far I have the LogMessage, GetCommandDescription, and CommandDescription frames, and functionality for command parameters. I ran into a bit [...]

    Jun 15th, 2008 | Filed under Uncategorized
    Tags:
  • GSoC/TP Weekly Report (June 7 – June 13)

    This Week: Unfortunately, my internet connectivity was extremely limited while I was away this week for a conference in Boston, so I wasn’t able to accomplish much actual coding work (in fact, I managed to total two commits all week). However, I did get a chance to review the libtprl and console code reasonably thoroughly, [...]

    Comments Off
    Jun 13th, 2008 | Filed under Uncategorized
    Tags: ,
  • GSoC/TP Weekly Report (June 2 – June 6)

    This Week: There is now a fully functional CommandManager in tpserver-cpp. It implements a basic command set similar to what was once in the console, and allows modular addition of new commands (from rulesets or plugins, for example). It also implements the command description portions of the protocol extension, in a fashion similar to order [...]

    Comments Off
    Jun 6th, 2008 | Filed under Uncategorized
    Tags: ,
  • GSoC/TP Weekly Report (May 26 – June 1)

    This Week: The administration protocol extension is now specified in the XML format using the protocol DTD. It uses some of the existing basic frames and most of the new frames are closely related to the Order family from the main protocol. This may not be the “final” specification, but at this point I think [...]

    Comments Off
    Jun 1st, 2008 | Filed under Uncategorized
    Tags: ,
  • The Droids We’re Looking For

    Here’s something encouraging. I run this in Python… from tp import netlib c = netlib.Connection( "localhost", 6925 ) c.connect() c.login( "admin", "admin" ) c.disconnect() …and the tpserver-cpp log says… 2008-06-01 11:37:33 < Info > Accepting new admin (tcp) connection 2008-06-01 11:37:40 < Info > Admin client has version 3 of protocol 2008-06-01 11:37:40 < Info [...]

    Jun 1st, 2008 | Filed under Uncategorized
    Tags:
Archive for June, 2008