Older blog entries for dsifry (starting at number 26)

Busy day today, again. Good thing I've got my mp3's on the stereo! Last night I updated my mp3 server control system to do better error checking and to play entire directories (rather than just single tracks). I found a new fun use for it, too. We had some company over (my cool aunt and uncle) and without telling them, I started playing tracks from a sound-effects CD that I had ripped. Because I use esd for doing music mixing, I could seamlessly layer sounds on top of each other - and soon they were hearing 2 people having sex in a babbling brook. With a toilet flushing in the distance. I could add sound effects to the conversation as fast as I could scroll the iPAQ! We had a great laugh. I gotta get myself some more sound effects... Anyone know of a good spot on the net, or have any good CDs to recommend? I got my current set from a CD in the bargain bin called "Backgrounds for Telephone Calls and Sound effects for Answering Machines". Well worth the $5 spent in entertainment yesterday...

Fun with iPAQs and 802.11...

I got the single PCMCIA socket sleeve for my iPAQ (after waiting for 2 months for my dual PCMCIA socket sleeve, grrr), and got 802.11 wireless networking working. Pretty easy, actually - got the drivers off of wavelan.com, installed them, and set up the crypto. The only downside is that the iPAQ is pretty flaky about being turned off with the card still in the socket. Buggy driver, I expect. I suppose that'll go away when I finally install Linux on the thing.

In the meantime, I've been having fun with my home mp3 server. I whipped up a really quick and dirty PHP-based server control system. Now I can walk around the house and control my mp3 server (it's connected to the stereo) with the iPAQ web browser. For that matter, I can control the server with any old web browser. :-)

It's so nice to be able to do little hacks like this every once in a while. Now if I could just get my thinkpad IR port to talk with my stereo, I'd be in heaven!

Oy, busy busy busy. Knock on wood, there's lots of paying work out there, even in today's climate.

dyork, the Japanese LPI Banner you mentioned means (loosely): (Left hand side)The worldwide accepted standard (Right hand big text): Linux engineer certification test, LPIC.


Well, I'm finally getting the hang of LDAP (OpenLDAP) and Apache's auth_ldap. I can now create, modify and delete users over the web, and I can authenticate them against apache. I'm sure that I could get the LDAP PAM module working, but I don't need it for what I'm doing now.

Now I can create a list of users, send them randomly-generated passwords, and they can go to their directory and change their own passwords to whatever they like.

The only point that I dislike, right now, is that I can't seem to get PHP to correctly create a SSHA hash of a password by itself - I'm left to doing a nasty backtick hack to call ldappasswd. I can create DES + salt hashes, but I'd really prefer the extra security of SSHA. If anyone knows of a way to do this from within PHP, please let me know.

Getting in-depth with OpenLDAP and PostgreSQL. I've been meaning to really sit down and learn LDAP - it seems pretty simple at the conceptual level. The problem is that it took me over 4 hours just to get a basic database and schema up. Then it took another 3-4 hours to build a PHP script to let me manage the schema. What a pain in the ass! Still, now tht it's done, I don't have to go through that learning curve again. Somebody ought to write up an OpenLDAP/PHP HOWTO. Perhaps in my copious spare time...

I've also been converting an old mysql-based document management system into PostgreSQL. I'm doing this mostly because I need to use PostgreSQL in a project in order to feel like I really understand it. Neither PostgreSQL nor OpenLDAP has easy-to-use documentation, too bad. Thank God I already have a pretty firm grasp on SQL. Learning the psql command isn't too hard, not much different from the mysql command.

It'll be cool to have the document management system up and authenticating against the LDAP database. Perhaps I'll then package it up and release it to the world, just what the world needs, another intranet/document mgt system... Off to bed.

IRDA on Linx absolutely sucks. I've spent most of the afternoon and evening just trying to get some basic feedback from an IBM thinkpad. First you have to run PS2.EXE from DOS to turn on the IRQ and IO Port, then you have to recompile the kernel with IRDA support (and irda.o keeps failing as a module because of unresolved dependencies with the function sk_run_filter(). This function is included if you set CONFIG_FILTER=y in the kernel, which I do... Not to mention that now you've got all these modules and devices - ircomm, irnet, ir_tty AND ir-tty, to name a few. Sheesh!

All I really want to do is turn my thinkpad into an IR remote control for my stereo, using LIRC, what a pain in the ass!

If there's anyone out there that's gotten LIRC working with a thinkpad, let me know. Otherwise I'm going to shelve this for a while.

6AM Tuesday morning. And I've already been up for an hour. Ahhhh. I can really get used to this unemployment thang. I'm finally getting unwound enough from life and times at Linuxcare and Turbolinux to really relax and enjoy the mornings.

I'm playing a lot of golf, getting out and taking the dog on long walks in the park, and finally getting back into some hacking for fun.

I must say that kjofol skins for xmms totally rock.

If you would like to reach me from now on, best to send email to david at sifry dot com.

Whew, long time no post.


I got a new job - VP of Engineering. This means I have to wear two technical hats - both as CTO, my old job, and now as VP of Engineering. I have been having something of an amusing time finding out how different the two roles are, much to my charign.

As CTO, I go out and talk to a lot of customers, partners, and the press. It's my job to be a visionary - to research and understand new markets for Linuxcare, to define and pursue the strategic vision of the company along with the executive team. It also means that it's my job to talk a lot with customers and potential customers and open their eyes to the benefits of open source, and to Linuxcare's role. It involves a lot of sales activity. It is about defining and architecting the future products and services we'll offer. It's a great job.

As VP of Engineering, I have a very different role - I have to have very well defined requirements, specifications, and test plans - and I have to do everything I can to make sure that the engineers know exactly what they are building, for whom, and what their deadlines are. I spend my time talking with the engineers, project managers, and end-customers to make sure that we're on track and that the engineers have all the resources they need. It is my job to reduce their complexity, have well-defined deliverables, and make sure that we're making our dates.

The problems started when I began talking about the sales calls I was going on, describing some of the cool future uses of the projects and technologies we were building. Things got really bad when I brought some of the engineers out on sales calls, and they heard "Dave the CTO" talking to customers. ;-)

What I didn't realize is that I have an interesting ability to hold these two dissonant job descriptions in balance in my mind - The visionary that is describing where we're going to take the customer, where Linucare's competencies are evolving, and the kinds of products and services we'll have in 6 months was scaring the bejesus out of some of the engineers who were wondering, "Omygod, is he expecting me to have that thing built today?"

Lessons Learned

The hard reality hit me in the face when one of the engineers got very hesitant and started asking questions about product definition - at first, I was a bit put off, but after some long discussions with him and the other members of the team, I learned that I wasn't communicating clearly exactly what he and his team were supposed to build RIGHT NOW. Instead it looked like there was scope creep all over the place, and that the entire process was completely unfocused.

Essentially, I wasn't being clear about when I was CTO, and when I was VP of Engineering. And as VP of Engineering, I had to make sure that I was bludgeoning the hell out of the CTO - so that the engineers had clear knowledge of exactly what they were to build, who they were building it for, and when it was due. There is no room for the visionary in that role - it has to be very concrete, making sure that we have well-defined requirements, specs, project plans, etc. Basically, I had to tell the CTO to shut up. ;-)

This has been a really valuable learning experience for me - and I'm really glad that my team has gotten through this with me with mostly chuckles and good natured barbs. I'm really grateful that they showed me where I was fucking up.

So now I'm trying to be really clear about when I'm speaking as CTO, and when I'm speaking as VP of Engineering. I hope the folks continue to keep me honest on that front...

16 Oct 2000 (updated 16 Oct 2000 at 08:25 UTC) »

Back from ALS. It was a good show. Gave my talk on OpenFlock and GCTP and I think it went over pretty well. Had a nice chat with some of the Helix Code guys about how to get everything playing nicely between OpenFlock and Evolution. Saw lots of old friends at the show too, and made some new friends. I especially enjoyed hanging out with Don Becker on Thursday night. Too bad the beers were free, I'd have bought him one. Perhaps the next time he comes out to SF...

Digital Pictures

Wow, the pictures from my new Nikon 990S are better than the ones I get back from Kodak on PhotoCD with my 35mm camera. That's impressive. I also found www.shutterfly.com, a web site that produces prints from jpegs, and they have a special for the month of October - if you sign up before October 31, you get 50 free 4x6's. I'm going to try them out to see how well they go from jpeg->print. I also want to see what an 8x10 will look like, and they're only ~$2.00/print. Anyone know of any other good online photo printing services?

VTech Helio

The best booth at ALS had to be the Transvirtual booth - they were showing off PocketLinux running on everything from an Itsy to a Casseopea to a Helio to an iPAQ... Very cool stuff, even though it isn't ready for production use. They were also selling those Helios (75MHz MIPS processor, 2MB Flash, 8 MB RAM) for $139. I just couldn't help myself, I got a bunch for the folks back at work to play with. I gotta tell you, it looks really cool to see the Linux boot messages fly past on the little LCD of the Helio. I'm sure that things will be even better when Linux no longer hangs when you hit the power switch - as it stands now, you have to hard reset the device and it has to reboot each time you turn it on. Good luck guys!


Got some good patches for apmiser from the guy who wrote tpctl. I'll incorporate them, and do a release soon. It is a thrill to know that your software is being used by a whole bunch of other people out there in the world. Ahhhhhh.

ALS Pre-show

Hacking like cray to get everything ready for the show. Making good progress, but there's only so many hours in the day. I'm looking forward to having 1.0 released...


Must... Get... Some... Now...

17 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!