archives
Building a Ruby Extension With Win32, Windows XP, in May 2007
Submitted by Kevin Kleinfelter on Fri, 2007-05-25 01:21.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
Submitted by Kevin Kleinfelter on Fri, 2007-05-18 17:09.Content merged with http://www.kleinfelter.com/node/36
Sandbox Page
Submitted by Kevin Kleinfelter on Fri, 2007-05-18 00:13.Don't vmware-mount a Vmdk File That Is On a USB Drive
Submitted by Kevin Kleinfelter on Tue, 2007-05-15 00:45.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
Submitted by Kevin Kleinfelter on Sun, 2007-05-13 19:21.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
Submitted by Kevin Kleinfelter on Fri, 2007-05-11 02:37.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
Submitted by Kevin Kleinfelter on Thu, 2007-05-03 20:13.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
Submitted by Kevin Kleinfelter on Thu, 2007-05-03 20:13.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
Submitted by Kevin Kleinfelter on Thu, 2007-05-03 20:13.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
