Packager, Package Thyself

Updated Oct 28: bug fixes, simpler implementation (compatible with 1.1)I've finally finished (I hope 🙂 a long-running project to use DarwinPorts itself to build the DarwinPorts installer. Yeah! The goal is to enable us to use all our existing tools to automate and collaborate on this process.I've uploaded an archive containing all the files: ?... Continue Reading →

TurboGear Demo for Mac OS X AddressBook

To give equal time to my Python friends, here is the source code for a demo TurboGears web application that publishes a Mac OS X Address Book. In addition to TurboGears, this requires pre-installing PyObjc. There is also an Automator action demonstrating XOXO extraction, which requires Tiger. Click [Read More] for information about how it... Continue Reading →

Comments on OSI License Proliferation

As promised, I posted my summary of community reaction to the OSI's License Proliferation Policy: 1. Yes, License Proliferation is a Problem. 2. Yes, the OSI should do something to discourage it 3. No, these terms should NOT be part of the OSD or the license-approval processClick [Read More] for the full text. Well, as... Continue Reading →

Rails vs. TurboGear

So, after telling a few of my Python friends about DARC, they all told me I should check out TurboGears as an alternative to Ruby on Rails. I don't really care one way or the other -- the "R" in DARC could stand for "REST" as well as "Rails" -- but here's my take:"There's more... Continue Reading →

REX: REST-Enabled XHTML

I've just posted a presentation describing a new web-services architecture named "REX":REST-Enabled XHTML This is the technology formerly known as STRUM and DETH. Click [Read More] for the backstory and alternate names. After struggling through a plethora of names: ? STRUM: Script-Tunneling REST Using Microformats ? DETH: Dictionaries Encoding/Transmitting HTML ? XHTML-REST: vs. XML-RPC ?... Continue Reading →

From LAMP to DARC

You've heard of LAMP?Meet its 21st-century cousin: DARC ? Darwin ? Apache ? Rails ? CoreDataThis is especially cool when combined with microformats. Click [Read more] for a very rough demo script. You can also download the DARCdemo source code. On Mac OS X 10.4:A. Setup 1. Install Xcode Developer Tools 2. Install Ruby on... Continue Reading →

DETH Python Bindings

Here's an attempt to show how DETH data-structures get mapped onto Python dictionaries.The idea is that as a client I could do something like:=====import dethdict=deth.getDict("http://somesite.com/users/")dict["firstname"]="Ernie"dict["lastname"]="Prabhakar"nextDict=deth.postDict(dict, "http://somesite.com/users/")=====And hopefully something just as simple on the server. It would be nice to have a cgi or something that would turn the url-encoded key-value pairs into a XOXO 'dl'... Continue Reading →

.STRUM -> DE/TH: The Easy Way to Get REST

STRUM is still too complex. Can we make it simpler?The endgame is always DE/TH: Dictionaries Encoding/Transmitting HTMLorDHTML Encoding/Transmitting Hashtables The way to maximize your happiness is to die to your happinessfor something bigger than your happiness.Click [Read More] for the technical description. DETH is a way to reversibly encode dictionaries in HTML, such that they... Continue Reading →

Blog at WordPress.com.

Up ↑