#clojure logs

2008-05-16

07:31ozzileerhickey: Morning. What's the procedure for submitting patches?
07:32rhickeyI'd rather not get unsolicited patches. The first thing to do is start a dialog on the list about whatever the problem/feature is.
07:33ozzileeOk. I added a (readable) procedure as was mentioned the other day.
07:34rhickeycool - you can post that to the list or paste it and I'll look at it
07:35ozzileeYou mean the google group when you say list, right?
07:35rhickeyyes
07:44rhickeycgrand: the genclass overload changes are up
07:44rhickeynot extensively exercised yet
08:21asbjxrnset! is not mentioned on the api page, is there a reason for that?
08:22rhickeythat is auto-generated from the source, and set! is a primitive
08:28asbjxrnOK, it might be nice to have primitives there as well. For completeness sake.
08:30asbjxrnClojure users seems to be a clever bunch, but once in a while someone like me shows up and need everything explained. :)
08:30rhickeyone of the problems is that explaining the primitives can take several paragraphs, thus the rest of the docs :)
08:31rhickeyThere is a special forms page
08:32rhickeythere needs to be an index
08:33asbjxrnJust about to write that...
08:33rhickeyIt's a long-standing todo for me to get the docs into a tool that will do more of this for me
08:35jteoi appreciate the api page very much.
08:36asbjxrnI always keep it open in one tab.
08:54cgrandrhickey: thanks, I saw the changes when I updated my copy this morning. It was instructive to see how you rewrote the buggy expressions. I'm playing with overloads right now.
11:50cgrandrhickey: fyi, in r831 you replaced the resource name with the resource URI in sourcedebugextension when loading from a resource -- this change appears to break the ability of the Eclipse debugger to locate the relevant source file when a breakpoint get hit (or when inspecting stackframes).
11:54rhickeycgrand: Yes, an experiment. I expected to hear from you if it didn't work :) What is the story for Eclipse when the source is in a .jar? Was it finding it the old way? I'll change it back after lunch in any case.
11:58cgrandGood question, I'll test with source in a jar.
13:07cgrandrhcikey: I can't set breakpoints if the file is in a jar (it must be an editor related problem) and I can't even step into the source (it looks like the java debugger presumes to find .class files in a jar and to ask the user for a root directory where it can find the .java files)...
14:14rhickeycgrand: went back to using plain name in loadResourceScript
14:21cgrandrhickey: thanks. (Btw plugins can provide source locators since Eclipse 3.0 so it may be feasible to debug clf files in jars.)
16:28ozzileeI'm trying to get Webjure running so I can play with it, but I'm clueless. I've just install jetty, and I've got the webjure.war in the webapps directory, can anyone help me from there?
16:28ozzileeI'm running ubuntu.
16:29ChouserI suspect webjure is kinda ... deprecated. But I'm not sure.
16:33ozzileeHmm.
16:35blackdogozzilee, this is an interesting link for a jetty webserver using clojure http://robert.zubek.net/blog/2008/04/26/clojure-web-server/
16:36ozzileeblackdog: Yup, played with that one.
16:36blackdogok
16:37ozzileeWhat I really wanted to play with was the html/format function from Webjure. I'd like to use it for an app.
16:37ozzileehtml-format
16:39Chouserthere's a (slightly different) xml-stream-writer in clojure-contrib that might also work for you.
16:40Chouser...and I cobbled together a little xhtml function for an app: http://clojure-log.n01se.net/irc-log-split.clj
16:40ChouserI'm sure others have as well.
16:42ozzileeYeah, I threw one together myself. I'll take a look at both of those.
16:47ozzileeChouser: How are you deploying your app?
16:48Chouserirc-log-split? cron job on my server and then rsync the results to the web server. :-)
16:48ozzileeAh, heh ok.
16:48Chouser"deploy"
16:49ozzileeYeah, not quite what I had in mind :-)
16:49ozzileeI'm writing an app over couchdb, I haven't decided between Clojure, Python, or straight client-side javascript yet.
16:50Chouserhuh! CouchDB looks interesting.
16:51ozzileeChouser: It's a bit mind-bending so far, trying to get out of relational mode. But it looks like it's going to work pretty well.