Older blog entries for hacker (starting at number 42)

3 May 2001 (updated 10 May 2001 at 22:20 UTC) »

WOW

    That reply to kgb wasn't meant to hit slashdot's front page. I stand by my statements, and I've appended a clarification to the original email, so those who want to rip me, can do so in other ways.
    Addendum:
    To those tearing me up for this account of my plane ride back from Linuxworld, be aware that this was not an account of a GPL violation. It was an account of my travels on a plane, which *INCLUDED* talking to a Sony employee, to whom I brought up their possible violation of the GPL, and he gave me his flippant attitude. Yes, until very recently, they were not providing sources to POSE, but I just checked again today, and now they apparently are, but only to an older version of their hardware. Interesting switch on their part. This has been an open issue with them for several months now, at least since early January. They were in violation of the GPL until May 1, 2001. I stand by my statements.

    (Referencing URL)
    http://www.us.sonypdadev.com/program/develop_tool/palm_os.html

Slashdot, pfft.

kgb, that new Sony would be nice and all, if they weren't in violation of the GPL..

That device, and others like it from them, will NOT be supported under linux, not by me (in pilot-link, plucker, or any other application I happen to code or help in the development of) not by my colleagues, not by anyone in the open source community who is aware of what they're doing with their "Go ahead, try to sue us.." attitude. I dearly regret spending the $499.00 USD on my Clie.

My full account with one of their employees is here

FWIW.

2 May 2001 (updated 2 May 2001 at 17:26 UTC) »

PODS

    mysql>
    select url from pods limit 1,1000;
    543 rows in set (0.01 sec)
    
    PODS grows.

Choices..

    getopt()
    getopt_long()
    getopt_long_only()


    or..

    Trying to determine the best way to be intelligent about argument parsing, and making sure that the devices passed as arguments are valid, and are only devices, and not files. Have to remove the user from the equation here. Think devfs, usb, serial, IrDA.

    I suppose I could use stat() here after parsing the argument, like:

      void report(char *, struct stat *);
      int main(int argc, char *argv[])   
      {
              struct stat status_buf;
              
              while (--argc) {
                      if (stat(*++argv, &status_buf) < 0)
                              perror(*argv);
                      else
                              report(*argv, &status_buf);
              }
      }
      void report(char *name, struct stat *buffer)
      {
              int i;
              struct passwd *passent;
              ushort mode = buffer->st_mode;
              
              printf("\n %s :\n", name);
              printf(" Access mode 0%o: ", mode);
              
              for (i = 6; i >= 0; i -= 3)
                      printf("%s", accesses[(mode >> i)
      & 7]);
              printf("\n");
      }
       
      

Headaches, dark circles under my eyes

    Not yet sure what to make of the randomness in my head, one day no headaches, but stuffy sinuses, next day, clear sinuses, raging headaches, next day, clear sinuses, no headaches, but I see flashes of purple, next day I wake up with a bloody nose or dried blood in my nose. Weird.

    Time to revisit this.

Fear of KABOOM!

    I found out when I took my truck to have an oil change, that there was a pretty severe gas leak under the truck. It wasn't leaking out in a way that would cause a puddle or drip, but when I was driving, it would "spray" out, causing a gas smell around the truck, but the truck itself was dry underneath. Come to find out, the last time I had brought it in for repair, they forgot to secure the fuel line, and it was hanging on top of my driveshaft, and the driveshaft was slowly grinding through it.

    EEK!

    $74.00 or so later, and now it should be ok. They patched the fuel line with a length of secured hose and clamps. It's a good thing I wasn't parking anywhere outside where a quick spark could have sent my truck into Truck Oblivion, or with me inside it.

Buzzword coming, duck!

    The buzzword for this week is... XML!. Yes, I've slipped into the fold and am diving in head-first into learning as much as I can about XML. I have a little pet project that will be using this quite heavily, and the more I read and learn about it, the more I can see it's usefulness in a lot of the projects I'm working on. One example using PODS:
      <PODS
        <SITE TITLE="SCIFI.COM delivered directly to your
          handheld device! Includes news, schedules, and other SCI
          FI facts and information." DOMAIN="scifi.com" 
          PROTECTED="no" ROOTPAGE="index.html" 
          PROTOCOL="http">
        </SITE>
        <SERVER>
          <ADDRESS>208.243.116.240</ADDRESS>
          <TYPE>apache</TYPE>
          <VERSION>1.3.6</VERSION>
        </SERVER>
        <URI>   
          http://www.scifi.com/handheld/
        </URI>
      </PODS>
      

    Plucker could definately use a retrofit around it's config files, and the parsing of ~/.plucker/home.html for those that use it. I'll have to play around with this a bit more as I learn how to use it more effectively.

    pilot-link will be getting an infusion of XML as well, very very soon. No, XML can't yet make coffee (though it can describe the coffee, the pot, the bean, the... ah, forget it), but for places like Palm data, and record formatted content, it "Just Makes Sense(tm)"

Life

    Well, for those that may have read my most depressing diary entry ever, I should comment. Things are getting a bit better here, though life is still as uncertain and grueling as ever. This week was a train wreck, and I fear it's going to get worse.

    I really wish Maureen "I Hate Linux" O'Gara would really begin to get her facts straight, and stop drudging in the sewers for rumors, just so she can be first-to-market with them. She reminds me of someone else who has recently been put on my list for spreading unsubstantiated rumors.

    I truly feel sorry for these angry, depressed people with such low self-esteem.

enough for now...
comments go here

dyork, there's actually a bit more to it than that. When I set up my cvs server (because Sourceforge is still the most inept service I've seen to date to offer revision control), I started with cvsweb, until some serious security issues were found in it (both public and non-public issues). I moved to ViewCVS, and although it's python, it's much easier to manage.

Also, when setting up a cvs server that uses inetd.conf, and having more than 3-4 repositories can get tricky. I have about 40 repositories in my cvs now, for various things, public and private, and I had to resort to some trickery to get it working, both in cvs native as well as in viewcvs.


    <hint>
      #!/bin/sh CVS="/usr/bin/cvs" CVSARGS=" --allow-root=/cvs/repository_1 \ --allow-root=/cvs/repository_2 \ --allow-root=/cvs/repository_3..n pserver" exec ${CVS} ${CVSARGS}
    </hint>
1 May 2001 (updated 1 May 2001 at 09:02 UTC) »

C++

    void *packed = mai.pack();
    delete packed;
    
    (which throws a bunch of warnings)

    vs.

    unsigned char* packed = (unsigned char*)mai.pack();
    delete[]packed;
    
    (which compiles cleanly)

    C++ is not my best strength.

    -pedantic -Wall -Wmissing-prototypes are my new best friends

In other news...

    WTF?! How much can we possibly take here, I mean come on...
30 Apr 2001 (updated 30 Apr 2001 at 10:15 UTC) »

<plug>

t-shirt design contest
</plug>
30 Apr 2001 (updated 30 Apr 2001 at 08:29 UTC) »

pilot-link 0.9.5-pre6

    Whew!

    A few more days of bug-hunting, then it's RELEASE TIME!

    Need a catchy name for this release. Something with a bit of technical "oomph!" Anyone got any ideas? shoot me an email

    0.9.6 WishList can be found here and some new conduit ideas here.

    Lots of new stuff coming! (anyone care to donate a Handera or a Palm m505, or a Visor Edge for my testing/development needs?)

    TRG? Palm? Handspring? Are you listening?

    I need some hardware to begin supporting the CF, SD, Springboard support in pilot-link.

    I can't keep paying for these toys on my own (this doesn't include my two Cybiko handhelds, my two iPAQs and wireless sleeve, my VTech Helio, and my numerous cards, Palm/PDA clip-on attachments, and other PDA gadgets).

    Ok, now onto the Java source in the tree..

Long Time No Post

    How much more of my life is going to implode before I do?

    truck: dead

    gnu-designs: monthy hosting charges just doubled, struggling to hold it up on my own

    erika: lots and lots of pain, must fix, CV done, moving forward, don't let go

    work: [CENSORED]

    health: lost too much weight, no energy, deteriorating, rationing meals, sleep erratic, more headaches followed by bloody noses, waif

    code: what? completely different language to me now, it's like Latin, parts of the words look similar, but the whole sentence doesn't make sense

    money: I haven't seen it in so long, I forgot what it looks like, still haven't done my taxes, Pfizer screwed me on my vacation pay, gnu-designs.com nailed me on business taxes, may have to cash out 401k just to survive

    friends: who?

    hardware: laptop_1: LCD dead, laptop_2: pcmcia slot dead, home server: dead, year-old Hitachi 21" monitor: dead

    condo: white, white prison walls on all sides, no furniture, huge empty overly-expensive prison, trapped, suffocating

    Now I've had to let go of two of my employees at gnu-designs. Relegated them back to normal users. If people are tasked with keeping up with billing our customers, and don't... for over a year... what do you do?

    I've been footing the bill for their (ab)use of the server, and received nothing in return, except a bill from the provider for bandwidth usage. Meanwhile these two employees get paid directly by customers in cash for their "design" of the customer sites. Not exactly a fair relationship.

    gone.

PODS

    mysql> select rowid,url,info from pods where 1 limit 0,1000;
    523 rows in set (0.01 sec)
    
    2½ weeks and counting.
5 Apr 2001 (updated 5 Apr 2001 at 06:44 UTC) »

This ISP Must Die

    Ok, I'm beyond frustrated now. I've sent my last two emails to my ISP. There will be no more.
    message one and message two
    They have finally managed to close off every single open port outbound and inbound on their routers, and now I can no longer log into them at all.
     
    Apr  4 21:56:36 broccoli pppd[4192]: rcvd [PAP AuthNak
    id=0x2 "Other Failure"]
    Apr  4 21:56:36 broccoli pppd[4192]: Remote message: Other
    Failure
    Apr  4 21:56:36 broccoli pppd[4192]: PAP authentication
    failed
    Apr  4 21:56:36 broccoli pppd[4192]: sent [LCP TermReq
    id=0x2 "Failed to authenticate ourselves to peer"]
    
    Both of their support numbers are busy 24x7, even though they're not a 24-hour shop. They do not respond to my emails, even though they guarantee a 48-hour response time. I am being billed for this "wonderful" service, and can't even log in to use it.

    Basically, I'm calling my bank, and filing a claim against them to have the charges they've made on my account removed, and let them respond to *THAT* instead.

Palm Open Directory Syndicate: PODS

    Well, PODS is going well, I now have 470 links (cleaned up some dupes) in the database. All of these links point to Palm-formatted websites, which can be used sans modification on the Palm. I'm trying to clean up the links and create a good schema to represent and edit them, and then wrap that in a dmoz-like interface for managing them.

    You can see an image of what it looks like here

    And now the legal mess. What sort of sticky goop am I getting in by publishing these links? Clearly this content is not linked directly from anywhere on the web, or if it is, it's quite hard to find. It took a lot of URI massaging, google searching, and some other means to get this many links in there. It was so far, only a week's worth of work. No "illegal" means were used to get these links, it was all publicly available.

    I keep falling into more pandora's boxes of links and jump sites to more links. I'm interested in providing a broad range of content for the Palm users to use (with Plucker, Sitescooper, and similar client applications). I don't want to defraud the content providers in any way, and in fact, I'd like to help them. I've already received two replies from people I've emailed to ask for the location of their "hidden" URI so I could point Plucker and Sitescooper at them.

    [...]
    The person I am speaking of was graceful enough to allow me to use his writings but we have an agreement that the material not be distributed and he be kept anonymous. With this in mind, I must decline your request. The AvantGo platform does not allow copy/paste and is for this reason an excellent tool to slow down illegal distribution. I am not saying you would distribute this but we need to keep a policy which can be kept consistent.
    [...]

    and another

    [...]
    As a content provider, the nice thing about AvantGo is that I can insure that the only people who access the "lean" content are those using AvantGo. This insures that regular web surfers will always use the full version of the site, and therefore my advertising revenues continue.
    [...]

    It's interesting that they both mention AvantGo in here with regard to providing access to this "lean" content. I don't think making these links (all 470 and growing) public is in any way "distibuting illegal content", nor would it defraud content providers of advertising revenue.

    Contrary to what AvantGo may believe, AvantGo doesn't own this content, nor have they cornered the market on distribution of "lean" content. There are better alternatives out there, guys.

    Any comments? I'm interested to hear any and all sides of this.

Enough for now. Diary moresome later.

33 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!