kjw is currently certified at Journeyer level.

Name: Kevin J. Woolley
Member since: 2005-06-14 02:38:45
Last Login: 2012-07-30 21:05:55

FOAF RDF Share This

Homepage: http://www.kjwcode.com/

Recent blog entries by kjw

Syndication: RSS 2.0

Javascript isn't as painful as I figured it would be. It's quite easy to pick up details from references and idioms from other peoples' code, which is certainly a testament to the simplicity of the language.

After some picking around with the W3C DOM implementation for Javascript, I'm starting to look at JSON as an alternative. At the very least, it seems easier to debug and to dump data structures out of. There's probably just something I don't get about the DOM that is making it so annoying, but hopefully I'll find it with a fresh set of eyes after checking out an alternative or two.

Bowing to XUL

Got started learning XUL and figuring out how to write extensions for Firefox 1.5 and Komodo today. After a little bit of bang-head-on-monitor debugging, I've got a simple "hello, world" sort of thing happening, all nicely bundled into an XPI package.

The final product is going to be a front-end for a test framework I'm writing at work. Because the test framework is largely in Tcl, I originally envisioned a Tk front-end, but most of our developers don't have it installed. All of them have Komodo or Firefox installed, though.

My first impression is that things seem to have become much simpler as of Firefox 1.5, and I like that. Internationalisation is easy (so far -- I'm only handling one locale right now), and things seem to make fairly good sense so far. That being said, I haven't really done much with it yet, but time will tell.

The only downside is having to learn Javascript, which I have been lucky enough to avoid until now. Hopefully I can pick that up quickly.

It's all fun and games...

Not really, but you knew that already.

For those who don't follow my blog, I am now living in Vancouver again, and a few major life changes have happened. Check the blog for details.

ObjCI is currently on hold while I get up to speed with Tcl/Tk, which I am using fairly intensively in my work at ActiveState. So far I'm pretty good with Tcl (been working with it for around seven or eight weeks now), but need to learn most of Tk (been working with it for about three days over the course of the last several weeks).

Speaking of work, I also have a work blog, which contains somewhat-coherent ramblings on various stuff mostly related to ActiveState. I'm going to try to post an interesting entry about once a week there, though it may only be interesting to people who use ActiveState software.

At any rate, I'll try to update here a little more frequently.

Problems solved

A good session with ElectricFence solved the problems I was having everwhere except on OS X. The problem there seems to be that the Objective C runtime is somewhat different than the GCC runtime, even though they use GCC. Go figure.

I may drop support for Mac OS X in ObjCI altogether if that's the case -- I have no plans to use Mac OS X once Apple's Intel migration is complete and the FreeBSD PPC port is released.

At any rate, a search for ObjCI on Freshmeat will turn up the project page there, if anyone is interested.


ncm: You are absolutely right on one count -- Linux detected the problem immediately. The immediate problem is that I am a moron, and memset from the wrong index, thereby overflowing my buffer. :) The code now works fine on Linux and FreeBSD.

However, Mac OS X is still claiming that an object returned from the array is an object of the expected type, but somehow doesn't respond to a message that it is supposed to. Very strange, and I'm not quite sure how to debug it. I'll figure it out, though.

19 older entries...


kjw certified others as follows:

Others have certified kjw as follows:

[ Certification disabled because you're not logged in. ]

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!

Share this page