Kevin Kleinfelter's blog

Installing IIS on Windows XP

If you attempt to install IIS on Windows XP SP2, and you use a CD from Windows XP (pre-SP2), you may receive a message that setup cannot copy adsutil.vbs.

 The solution is to find your CD for Windows XP SP2.  If you have only a pre-SP2, then Google for Windows, XP, and slipstream to find out how to manufacture an SP2 install CD from a pre-SP2 install CD plus SP2.

Building a Ruby Extension With Win32, Windows XP, in May 2007

When I Googled for building Ruby extensions for Windows, I found a lot of old (very old) information. I found some good info at this web site. What follows is a record of my attempts to follow this guidance.

What Goes Where

RAD Web Development Frameworks and Tools

  1. Rails
  2. Grails
  3. Trails
  4. AppFuse
  5. Django
  6. Seaside

What I’d like to try:

Don't vmware-mount a Vmdk File That Is On a USB Drive

I did a vmware-mount on a vmdk file that is on a USB drive. Then I discovered that when I wrote bytes to the virtual drive and read them back, I didn't get the same bytes back. Very bad.

More specifically, I have a large collection of files that are on both a real file system and duplicated on the virtual drive. When I run windiff, comparing the two, it reports a few as not matching. Using Windows Explorer, I copied files from the real drive to the virtual drive. I ran windiff again. They don't match.

USB Drive Problems With Multiple Drives

Close encounter with USB Drive Failure

I ran into trouble when I tried to hook up two external USB 2.5 inch drives to my desktop computer. I'd been using them with no trouble on my employer's laptop, but my contract ran out, so I took them home and plugged the black one in.

No problem. Drive works fine. I hooked up the silver drive, and the black one went offline. Error 10, says device manager. Silver drive works fine.

Narrative for Seaside Smalltalk Blog Video

There's a good video on building a simple app with Seaside (on Squeak Smalltalk) at this blog.

 

Here's the missing voice-over:

 

Bake-off Code 2 Pseduo-code

Plan for failure:

It isn't going to work the first time. In fact, I'm probably not going to successfully complete the login sequence. So just to make sure I understand it correctly, I'll prototype it with wget.

wget \
--no-check-certificate \
--server-response \
--post-data='Passwd=mypass&source=testsrcEmail=me@gmail.com&service=cl' \
--header='Content-Type: application/x-www-form-urlencoded' \
'https://www.google.com/accounts/ClientLogin'

Bake-off Code 2

Python Code

test-session.py

#!/usr/bin/env python
# Test suite for my Outlook and Google session objects.

import sys
sys.path.append('..')
import unittest
from google.gsession  import GoogleSession
from outlook.osession import OutlookSession


class TestSession(unittest.TestCase):

    #################################################################
    # I can set these to fixed values to prevent a prompt for ID/password,
    # but I don't want to post to my blog with meaningful values here!
    #################################################################

Bake-off Top Level Design

Create a routine that creates a Google data session and an Outlook data session

Retrieve each calendar (is-a or has-a array of events)
Merge the two calendars into a single (new) calendar
GoogleCalendar = mergedCalendar
OutlookCalendar = mergedCalendar
GoogleCalendar.persist
OutlookCalendar.persist

Pages

Subscribe to RSS - Kevin Kleinfelter's blog