2008-04-06T03:22:45 *** greg-g has quit IRC 2008-04-06T10:41:29 denials_: here's a weird one.. I make a copy of a vmware image on the same machine, run it, create a new UUID or whatever.. and eth0 does not exist for it. The original image works fine 2008-04-06T10:42:40 but eth1 does exist (on the copy, not the original) 2008-04-06T10:44:29 got network going on it.. but weird :) 2008-04-06T11:33:44 heya phasefx_ 2008-04-06T11:35:48 asmodai: hey man, how goes? 2008-04-06T11:36:13 phasefx_: Pretty well (aside from having fought off yet another flu last week). 2008-04-06T11:36:21 phasefx_: Hacking Python a lot (duh) ^^ 2008-04-06T11:36:23 phasefx_: you? 2008-04-06T11:37:19 ugh, flu-- Doing okay, on a sucky internet connection so trying to get some EG vmware images going on my laptop 2008-04-06T11:37:46 just a matter of hunting down pre-reqs for trunk 2008-04-06T11:38:03 Heh, sounds fun. :) 2008-04-06T11:38:18 yeah, well :) 2008-04-06T11:38:24 Speaking of which dbs / denials_ asked me about Python4EG the other day. 2008-04-06T11:38:38 * asmodai wonders if they still need help on that front. 2008-04-06T11:40:16 I know the EG acquisitions folk are using python.. for a while we just had OpenSRF client-side libraries for python, but I think berick gave us server-side libraries now 2008-04-06T11:41:20 mm, need to check 2008-04-06T11:42:00 majority of the server-side python is done .. just have some bits and pieces to clean up 2008-04-06T11:42:43 nmmm.. perl Parse::RecDescent.. 2008-04-06T11:43:59 berick: Sounds nice. I am fearing the autoconf will really go nowhere. When I have spare time I am working on Python projects. 2008-04-06T11:44:43 I think dbs has a student who's willing to cut their teeth on autotools, not sure 2008-04-06T11:44:54 That would be cool 2008-04-06T11:45:34 Since in my spare time I have two choices: 2008-04-06T11:45:56 1) spend much time on autotools and not like it 2008-04-06T11:46:00 2) hack Python code and jave a good time 2008-04-06T11:46:05 s/jave/have/ 2008-04-06T11:46:18 good way to disillusion a student, I bet :) 2008-04-06T11:46:30 Woops, public logs. ;) 2008-04-06T11:46:47 Did I say 'not'? I meant I like it. 2008-04-06T11:46:51 (such lies...) 2008-04-06T11:47:30 ./configure.sh --prefix=/dev/null 2008-04-06T11:48:09 12 2008-04-06T11:48:16 err, mistype. 2008-04-06T11:51:49 perl SRU::Request 2008-04-06T11:56:12 asmodai: the python in the acq branch will be relatively slim, since the majority of the UI code will be javascript 2008-04-06T11:57:05 IOW, there aren't really any python projects, per se, but there's probably tons of stuff that could be done in python 2008-04-06T11:57:09 berick: will the javascript be getting data from pylons or thegateway? 2008-04-06T11:57:21 phasefx_: from the osrf-http-translator 2008-04-06T11:57:35 cool 2008-04-06T11:58:21 ther'es an open-ils.acq? 2008-04-06T11:58:37 there is 2008-04-06T11:58:57 so the pylons is just going to be serving interfaces? 2008-04-06T12:00:00 yeah, pylons is mostly just the templating infrastructure. it does handle some basic logic (who are you, were are you logged in, etc.) 2008-04-06T12:00:23 gotcha 2008-04-06T12:00:30 ooh, a cat 2008-04-06T12:03:49 there was something I remember seeing (miker_ probably shared a link with us), that let you connect server-side javascript with client-side javascript. That was pretty nifty 2008-04-06T12:04:13 jaxer 2008-04-06T12:04:32 there we go 2008-04-06T12:05:24 looks like folks are trying to get parts of dojo to work with it, server-side 2008-04-06T12:05:54 jquery++ 2008-04-06T12:05:56 s/are trying to get/have/ 2008-04-06T12:06:50 cool 2008-04-06T12:08:23 asmodai: bah, who needs a fast slim library that does a lot of cool things :) 2008-04-06T12:09:32 *** greg-g has joined #openils-evergreen 2008-04-06T12:13:18 :D 2008-04-06T20:22:31 if anyone has any idea why the alert() in this code causes the grid to only display 1 row (instead of the 2 inserted), i'm dyin to know: http://acq.open-ils.org/test.html 2008-04-06T20:26:40 berick: works in opera :-/ 2008-04-06T20:27:10 fwiw, I've seen things like that with mozilla before 2008-04-06T20:27:14 phasefx_: you get both rows in opear? 2008-04-06T20:27:16 heh, opera 2008-04-06T20:27:19 yeah 2008-04-06T20:27:22 jeez 2008-04-06T20:27:32 arg 2008-04-06T20:28:13 phasefx_: any idea on how to trick mozilla? ;) 2008-04-06T20:28:20 wrap the code after the alert in a setTimeout 2008-04-06T20:28:30 see if that does it 2008-04-06T20:28:41 tried that :( 2008-04-06T20:29:01 the code is executing though? 2008-04-06T20:29:09 it is 2008-04-06T20:29:10 program flow hasn't just went elsewhere? 2008-04-06T20:29:12 hrmm 2008-04-06T20:29:40 try using an alternative to alert.. window.prompt? dialog? 2008-04-06T20:30:06 i tried confirm with the same results 2008-04-06T20:30:36 does dojo have their own version of alert? 2008-04-06T20:31:15 well, i don't really need an alert. i'm using it instead of an ajax call 2008-04-06T20:31:56 which seems to suffer from the same problems 2008-04-06T20:33:46 you want to generate one row after another with an ajax call for each row? 2008-04-06T20:35:16 yeah, but more generically, create a grid and add data later, which seems like a /really/ common thing to need 2008-04-06T20:52:06 it looks like the grid stuff doesn't work with closures 2008-04-06T20:53:48 what makes you say that in particular? 2008-04-06T20:53:52 in mozilla 2008-04-06T20:54:20 I can't say var grid = blah and then add an event listener to a button using grid 2008-04-06T20:54:25 setTimeout similarly doesn't work 2008-04-06T20:54:49 and I suspect alert does closure type stuff behind the scene rather than simply interrupting program flow 2008-04-06T20:55:22 (it might take subsequent code and wrap it up in a block that pulls in the previous environment as a closure) 2008-04-06T20:55:47 if I put the var grid = into the setTimeout, it works 2008-04-06T21:00:37 that is odd 2008-04-06T21:06:10 hrm, let me try dojo.connect instead 2008-04-06T21:10:29 berick: see, I would expect this to work too, and it's not: http://acq.open-ils.org/~phasefx/test.html 2008-04-06T21:10:57 that doesn't work in opera :-/ 2008-04-06T21:12:01 yeah, wth 2008-04-06T21:12:52 can you create a new reference to grid, store, etc. in a different scope if you needed to? 2008-04-06T21:15:11 what did you have in mind? 2008-04-06T21:15:36 say that onclick handler had something like var grid = existing grid; blah; grid.update 2008-04-06T21:15:56 wonder if globals would work better :-/ 2008-04-06T21:17:45 nope 2008-04-06T21:23:04 that boggles my mind 2008-04-06T21:23:13 I'd jump on #dojo 2008-04-06T22:10:16 berick: I'dm getting a "element referenced by id/name in the global scope" error. I think you may have more than one thing called grid 2008-04-06T22:16:23 hrm... nope. I suspect an onload bug in ffx ... konq does the same thing, though 2008-04-06T22:20:02 *** dbs has joined #OpenILS-Evergreen 2008-04-06T22:20:10 I don't know if this is what you meant, but if you take the init out of the onload and put it on a button, the behavior is still the same 2008-04-06T22:26:15 * dbs starts catching up on scrollback since friday 2008-04-06T22:26:36 we should use dojo i18n for any dojo stuff 2008-04-06T22:29:26 (imho) 2008-04-06T22:30:13 phasefx_: yeah, creating a new UUID typically generates a new eth interface - there's a quick fix for that 2008-04-06T22:30:56 as root: "rm /etc/udev/rules.d/z25_persistent-net.rules && reboot" 2008-04-06T22:31:25 interesting. cool, thanks 2008-04-06T22:32:58 my chaos powers seem to affect vmware/linux in other ways too.. I had it become unresponsive..except I could enter carriage returns into the virtual consoles, and switch consoles.. but nothing else :) 2008-04-06T22:38:03 phasefx_: haven't seen that happen much. weird. 2008-04-06T22:42:16 just once for me 2008-04-06T22:57:24 meh. conifer.mcmaster.ca is in trouble. 2008-04-06T23:01:47 dbs: it's not perfect yet, but the url param 'sg' causes the opac to search a (hand inserted) lasso group of 3 branches in 2 systems: http://dev.gapines.org/opac/en-US/skin/default/xml/rresult.xml?rt=keyword&tp=keyword&t=harry%20potter&l=7&d=0&f=&sg=1 2008-04-06T23:02:22 sg is taken in peference to l when it is set 2008-04-06T23:02:36 miker_: wow - definitely getting there 2008-04-06T23:03:11 way further ahead than I would have imagined possible, say, a week ago! 2008-04-06T23:03:21 huzzah 2008-04-06T23:04:01 I've reached near the end of my usefulness, though. diminishing returns if I am the one that attempts to complete the OPAC part. I will add a grouping mechanism to the admin interface, though 2008-04-06T23:06:08 miker_++ 2008-04-06T23:08:12 *** phasefx has quit IRC 2008-04-06T23:11:37 *** phasefx has joined #openils-evergreen