Hopbot log for 2007-10-31 - Helma IRC channel: #helma on irc.freenode.net

2007-10-31:

[17:24] <midnightmonster> anyone know if CLOBs are supported in Helma's ORM?
[17:24] <midnightmonster> anyone know if CLOBs are supported in Helma's ORM?
[17:25] <jkridner> I won't be able to answer your question, but I'll try to take a guess at the abbreviations. I'd guess that ORM is object relational model, but I have no idea what CLOBs are. Clearly I'm very new to Helma. :)
[17:25] <jkridner> I won't be able to answer your question, but I'll try to take a guess at the abbreviations. I'd guess that ORM is object relational model, but I have no idea what CLOBs are. Clearly I'm very new to Helma. :)
[17:27] <midnightmonster> AFAIK, the M is usually Mapping. CLOB is standard database terminology. it's a column type for large strings.
[17:27] <midnightmonster> AFAIK, the M is usually Mapping. CLOB is standard database terminology. it's a column type for large strings.
[17:27] <jkridner> thanks.
[17:27] <jkridner> thanks.
[17:28] <midnightmonster> (stands for Character Large OBject)
[17:28] <midnightmonster> (stands for Character Large OBject)
[17:28] <midnightmonster> more common is a BLOB, or Binary Large OBject
[17:28] <midnightmonster> more common is a BLOB, or Binary Large OBject
[17:35] <midnightmonster> h2 database documentation says use PreparedStatement.setCharacterStream() to set the value of one of its CLOBs. Helma 1.6 src doesn't contain the word "setCharacterStream". Suggesting no, there's no support for CLOB. However, AFAICT Helma (alas) doesn't use prepared statements at all, so I don't know if CLOBs can also be set with plain SQL. It seems like that should be possible, so *maybe* Helma does support CLOBs, if sub
[17:35] <midnightmonster> h2 database documentation says use PreparedStatement.setCharacterStream() to set the value of one of its CLOBs. Helma 1.6 src doesn't contain the word "setCharacterStream". Suggesting no, there's no support for CLOB. However, AFAICT Helma (alas) doesn't use prepared statements at all, so I don't know if CLOBs can also be set with plain SQL. It seems like that should be possible, so *maybe* Helma does support CLOBs, if sub
[17:46] <midnightmonster> cancel that. Helma definitely does use prepared statements. Now working on whether CLOBs should work
[17:46] <midnightmonster> cancel that. Helma definitely does use prepared statements. Now working on whether CLOBs should work
[17:47] <midnightmonster> windows file search told me there was no "PreparedStatement" in my Helma src folder. But that's weird 'cause here it is in helma/objectmodel/db/NodeManager.java
[17:47] <midnightmonster> windows file search told me there was no "PreparedStatement" in my Helma src folder. But that's weird 'cause here it is in helma/objectmodel/db/NodeManager.java
[17:49] <midnightmonster> ka-ching! it is in there. windows file search blows.
[17:49] <midnightmonster> ka-ching! it is in there. windows file search blows.
[17:50] <midnightmonster> so CLOBs should work just fine.
[17:50] <midnightmonster> so CLOBs should work just fine.
[17:52] <midnightmonster> and it really sucks not to have grep handy.
[17:52] <midnightmonster> and it really sucks not to have grep handy.
[17:53] <midnightmonster> If I ever get a couple days free, I'm switching this workstation to ubuntu
[17:53] <midnightmonster> If I ever get a couple days free, I'm switching this workstation to ubuntu
[18:04] <zumbrunn> glad you figured all that out by yourself
[18:04] <zumbrunn> glad you figured all that out by yourself
[18:04] <zumbrunn> because I sure wouldn't have been able to help
[18:04] <zumbrunn> because I sure wouldn't have been able to help
[18:04] <midnightmonster> woulda been done in 3 min instead of 20 if windows file search actually worked. (or if trac would search the source code)
[18:04] <midnightmonster> woulda been done in 3 min instead of 20 if windows file search actually worked. (or if trac would search the source code)
[18:08] <midnightmonster> long shot: know what the important differences between lucene 1.x and 2.x are?
[18:08] <midnightmonster> long shot: know what the important differences between lucene 1.x and 2.x are?
[18:11] <zumbrunn> no, or don't remember
[18:11] <zumbrunn> no, or don't remember
[18:11] <zumbrunn> I do remember that the differences were quite substantial
[18:11] <zumbrunn> I do remember that the differences were quite substantial
[18:12] <zumbrunn> meaning, things that I had working for 1.0 were not backwards compatible
[18:12] <zumbrunn> meaning, things that I had working for 1.0 were not backwards compatible
[18:12] <zumbrunn> (with 2.0)
[18:12] <zumbrunn> (with 2.0)
[18:13] <zumbrunn> why?
[18:13] <zumbrunn> why?
[18:16] <midnightmonster> helma has the built-in handy search thing, written for Lucene 1.x. I need powerful advanced-user-type search, and I need to build it *today*. I'm trying to figure if using Helma's search thing is viable
[18:16] <midnightmonster> helma has the built-in handy search thing, written for Lucene 1.x. I need powerful advanced-user-type search, and I need to build it *today*. I'm trying to figure if using Helma's search thing is viable
[18:17] <zumbrunn> which built-in handy search thing for 1.0?
[18:17] <zumbrunn> which built-in handy search thing for 1.0?
[18:17] <zumbrunn> ehm 1.x
[18:17] <zumbrunn> ehm 1.x
[18:17] <zumbrunn> ?
[18:17] <zumbrunn> ?
[18:19] <midnightmonster> helma.Search, right?
[18:19] <midnightmonster> helma.Search, right?
[18:19] <zumbrunn> helma.Search has been updated for Lucene 2, no?
[18:19] <zumbrunn> helma.Search has been updated for Lucene 2, no?
[18:19] <midnightmonster> I thought it had not
[18:19] <midnightmonster> I thought it had not
[18:20] <midnightmonster> last newsgroup thing I saw was hannes saying it would be significant effort and he hadn't done it yet
[18:20] <midnightmonster> last newsgroup thing I saw was hannes saying it would be significant effort and he hadn't done it yet
[18:20] <midnightmonster> but I could have mistaken the date on that
[18:20] <midnightmonster> but I could have mistaken the date on that
[18:21] <zumbrunn> I thought Robert did update it to Lucene 2
[18:21] <zumbrunn> I thought Robert did update it to Lucene 2
[18:23] <midnightmonster> well, that would be good news
[18:23] <midnightmonster> well, that would be good news
[18:23] <midnightmonster> I'll check in a minute
[18:23] <midnightmonster> I'll check in a minute
[18:25] <zumbrunn> I think the lucene jar version that is included in the helma lib with version 1.6.0 is 2.2.0
[18:25] <zumbrunn> I think the lucene jar version that is included in the helma lib with version 1.6.0 is 2.2.0
[18:30] <midnightmonster> hm. how would one tell?
[18:30] <midnightmonster> hm. how would one tell?
[18:31] <zumbrunn> don't know :-)
[18:31] <zumbrunn> don't know :-)
[18:33] <zumbrunn> found the evidence:
[18:33] <zumbrunn> found the evidence:
[18:33] <zumbrunn> https://dev.helma.org/trac/helma/browser/apps/modules/trunk/helma/Search.js?rev=8575
[18:33] <zumbrunn> https://dev.helma.org/trac/helma/browser/apps/modules/trunk/helma/Search.js?rev=8575
[18:43] <midnightmonster> thanks. (people above us overflowed their toilet--now it's raining in my closet!)
[18:43] <midnightmonster> thanks. (people above us overflowed their toilet--now it's raining in my closet!)
[18:43] <zumbrunn> oh! how fun!
[18:43] <zumbrunn> oh! how fun!
[18:44] <midnightmonster> yeah... talk about your polluted rain.
[18:44] <midnightmonster> yeah... talk about your polluted rain.
[19:18] <midnightmonster> is there a guide anywhere to getting started with helma.Search ?
[19:18] <midnightmonster> is there a guide anywhere to getting started with helma.Search ?
[19:20] <zumbrunn> yes, but I don't remember if Robert wrote that for the version that was based on the lucene 1.x api
[19:20] <zumbrunn> yes, but I don't remember if Robert wrote that for the version that was based on the lucene 1.x api
[19:20] <zumbrunn> and I don't remember where it is
[19:20] <zumbrunn> and I don't remember where it is
[19:20] <zumbrunn> I'll try to find it
[19:20] <zumbrunn> I'll try to find it
[19:20] <midnightmonster> thanks
[19:20] <midnightmonster> thanks
[19:21] <midnightmonster> also, unrelatedly, do you know of any editor with a mode/syntax highlighting that understand javascript with e4x?
[19:21] <midnightmonster> also, unrelatedly, do you know of any editor with a mode/syntax highlighting that understand javascript with e4x?
[19:21] <midnightmonster> (it's hard and not used really at all in browser land, so I don't blame folks for not having it, but it sure would help me if someone did)
[19:21] <midnightmonster> (it's hard and not used really at all in browser land, so I don't blame folks for not having it, but it sure would help me if someone did)
[19:46] <midnightmonster> Pidgin doesn't make it easy to sign out of one account and not others. Any luck on the Search tutorial?
[19:46] <midnightmonster> Pidgin doesn't make it easy to sign out of one account and not others. Any luck on the Search tutorial?
[19:57] <jkridner> I think it is pretty straight forward to log out of individual accounts with Pidgin.
[19:57] <jkridner> I think it is pretty straight forward to log out of individual accounts with Pidgin.
[19:57] <jkridner> at least if you don't mind disabling/enabling the accounts.
[19:57] <jkridner> at least if you don't mind disabling/enabling the accounts.
[19:59] <midnightmonster> yes, I did figure that pit
[19:59] <midnightmonster> yes, I did figure that pit
[19:59] <midnightmonster> out
[19:59] <midnightmonster> out
[20:00] <jkridner> you can also use IRC / commands under Pidgin.
[20:00] <jkridner> you can also use IRC / commands under Pidgin.
[20:00] <midnightmonster> doesn't even slightly map on to what I think of myself as doing, though, when wanting to signon just to IRC and not AIM, so unless I'm an unusual user, it's a bad interface
[20:00] <midnightmonster> doesn't even slightly map on to what I think of myself as doing, though, when wanting to signon just to IRC and not AIM, so unless I'm an unusual user, it's a bad interface
[20:02] <jkridner> just thinking about enable/disable in a different way doesn't work for you?
[20:02] <jkridner> just thinking about enable/disable in a different way doesn't work for you?
[20:02] <jkridner> I'm trying to figure out if I ever run into this issue or not.
[20:02] <jkridner> I'm trying to figure out if I ever run into this issue or not.
[20:23] <midnightmonster> now that I know how to do it it's no big deal. but I'm way on the blame-the-computer (actually the interface designer) end of the "why doesn't this work" scale. "don't make me think", etc..
[20:23] <midnightmonster> now that I know how to do it it's no big deal. but I'm way on the blame-the-computer (actually the interface designer) end of the "why doesn't this work" scale. "don't make me think", etc..
[20:24] <midnightmonster> (but I signed back on so I wouldn't miss any advice on helma.Search, not to argue about Pidgin, so I'm done on the Pidgin topic)
[20:24] <midnightmonster> (but I signed back on so I wouldn't miss any advice on helma.Search, not to argue about Pidgin, so I'm done on the Pidgin topic)
[20:42] <midnightmonster> anything look wrong about this type.properties file?:http://helma.pastebin.com/m6894e1a8
[20:42] <midnightmonster> anything look wrong about this type.properties file?:http://helma.pastebin.com/m6894e1a8
[20:45] <midnightmonster> I get: java.lang.RuntimeException: Error retrieving NodeIDs at helma.objectmodel.db.WrappedNodeManager.getNodeIDs(WrappedNodeManager.java:116)
[20:45] <midnightmonster> I get: java.lang.RuntimeException: Error retrieving NodeIDs at helma.objectmodel.db.WrappedNodeManager.getNodeIDs(WrappedNodeManager.java:116)
[20:45] <midnightmonster> etc.
[20:45] <midnightmonster> etc.
[20:50] <midnightmonster> nevermind. stupid.
[20:50] <midnightmonster> nevermind. stupid.
[20:50] <midnightmonster> (wrong db name)
[20:50] <midnightmonster> (wrong db name)
[20:52] <jkridner> doh
[20:52] <jkridner> doh
[20:54] <midnightmonster> chris, inspector seems to try to load every child, even when there are 100k of them. This leads to much shuffling of the object cache and no loading of the inspector page. is there a way to beat that?
[20:54] <midnightmonster> chris, inspector seems to try to load every child, even when there are 100k of them. This leads to much shuffling of the object cache and no loading of the inspector page. is there a way to beat that?
[20:57] <zumbrunn> in the shell or when directly accessing inspector?
[20:57] <zumbrunn> in the shell or when directly accessing inspector?
[20:57] <midnightmonster> the shell.
[20:57] <midnightmonster> the shell.
[20:57] <midnightmonster> I don't know about accessing the inspector directly
[20:57] <midnightmonster> I don't know about accessing the inspector directly
[20:58] <zumbrunn> in the shell you can try to add a get parameter like ?commands=foo
[20:58] <zumbrunn> in the shell you can try to add a get parameter like ?commands=foo
[20:59] <zumbrunn> (to the url)
[20:59] <zumbrunn> (to the url)
[20:59] <zumbrunn> which just avoids the inspector
[20:59] <zumbrunn> which just avoids the inspector
[20:59] <zumbrunn> (which might still not be what you are looking for)
[20:59] <zumbrunn> (which might still not be what you are looking for)
[21:00] <zumbrunn> I'll try to find the Search docs I had in mind now...
[21:00] <zumbrunn> I'll try to find the Search docs I had in mind now...
[21:06] <zumbrunn> It's probably out of date anyway... but here it is...
[21:06] <zumbrunn> It's probably out of date anyway... but here it is...
[21:06] <zumbrunn> http://helma.zumbrunn.com/downloads/docsbucket/LuceneWrapper_documentation.html
[21:06] <zumbrunn> http://helma.zumbrunn.com/downloads/docsbucket/LuceneWrapper_documentation.html
[21:08] <zumbrunn> yeah, I think that was for the old api
[21:08] <zumbrunn> yeah, I think that was for the old api
[21:09] <zumbrunn> just to make sure you don't miss it... there is more lucene search related helper code in the jala lib
[21:09] <zumbrunn> just to make sure you don't miss it... there is more lucene search related helper code in the jala lib
[21:09] <zumbrunn> http://helma.zumbrunn.net/reference/jala/IndexManager.html
[21:09] <zumbrunn> http://helma.zumbrunn.net/reference/jala/IndexManager.html
[21:16] <drbobb> something's broken about the hopbot
[21:16] <drbobb> something's broken about the hopbot
[21:16] <drbobb> it seems to register everything twice
[21:16] <drbobb> it seems to register everything twice
[21:22] <zumbrunn> not anymore
[21:22] <zumbrunn> not anymore
[21:22] <zumbrunn> just kidding
[21:22] <zumbrunn> thanks for pointing it out
[22:07] <midnightmonster> is the jala stuff updated for the new helma.Search?
[23:37] <zumbrunn> midnightmonster, yes jala from the start worked with the lucene 2.x version of helma.Search
[23:37] <midnightmonster> spiffy

 

 

In the channel now:

Logs by date: