Very Clever Mistakes

Well, tpadmin-cpp almost works properly now.

The connection problem was due to the console input loop monopolizing the single-threaded event loop, so that the sockets never got checked for data. On Lee’s suggestion, this was fixed by making the console a TPSocket that would be scheduled by the event loop.

Another pair of problems in libtpproto-cpp were giving me trouble. The first was an incorrect delete statement that was causing segfaults, the other an incorrect packInt call before packing a string command parameter (I have no idea why I put that in there originally).

Now I just need to figure out why I get a SIGILL every time I try to use the same server command twice…

Jul 1st, 2008
Tags:
  1. Anonymous
    Jul 10th, 2008 at 04:19 | #1

    Prices for the iphone came out here in NZ, and I seem to recall it being about $6000/yr. I’d try to dig up some supporting links, but the internet is so fucking slow here…

    Off the top of my head, some of the plans available were being able to buy the phone for a few hundred bucks, providing you signed a 2 year contract that cost $250/month. Yeah.. $250 month. That’s NZD, but still. That’s like $200CDN.

    Mike

Comments are closed.