2008-08-11T01:11:53 *** Mark__T has joined #openils-evergreen 2008-08-11T03:40:56 *** AK_Volunteer has joined #openils-evergreen 2008-08-11T03:41:32 Anyone awake? 2008-08-11T03:51:25 *** AK_Volunteer has quit IRC 2008-08-11T06:14:02 *** panya has joined #openils-evergreen 2008-08-11T06:14:32 hello 2008-08-11T06:16:04 Greeting from Thailand, how are you ? 2008-08-11T06:18:54 *** panya has quit IRC 2008-08-11T06:36:19 *** kgs_errands is now known as kgs 2008-08-11T08:14:25 *** Slazer has joined #openils-evergreen 2008-08-11T08:18:06 *** kbeswick has joined #openils-evergreen 2008-08-11T09:00:22 *** Mark__T has left #openils-evergreen 2008-08-11T09:00:59 *** Mark__T has joined #openils-evergreen 2008-08-11T09:13:16 *** kgs has quit IRC 2008-08-11T09:17:28 *** rsinger has joined #OpenILS-Evergreen 2008-08-11T09:55:53 *** dbs has joined #openils-evergreen 2008-08-11T10:06:47 wow. miker's headed to the search algorlympics 2008-08-11T10:07:05 dbs: heh ... that's just what I checked in ;) 2008-08-11T10:07:22 imagine the iterations that went on before that ;) 2008-08-11T10:07:27 (about 20 ... ;) ) 2008-08-11T10:08:46 are you running this stuff through constrictor? 2008-08-11T10:09:27 no 2008-08-11T10:10:13 that stuff was really just 2-statement math that caclulates the estimate ... all the info is there, this won't have an effect on speed of searches 2008-08-11T10:10:36 the best part is the page-adaptive estimation that gets better as results are retrieved ;) 2008-08-11T10:11:36 I'm too groggy to really grok it at the moment 2008-08-11T10:11:57 9+ hours driving in the last two days 2008-08-11T10:12:11 and still not through my first coffee of the day :) 2008-08-11T10:12:14 booo 2008-08-11T10:18:24 *** djfiander has joined #OpenILS-Evergreen 2008-08-11T10:18:54 *** Mark__T has left #openils-evergreen 2008-08-11T10:19:04 dojo: where code that should work, doesn't! 2008-08-11T10:21:12 *** kgs has joined #openils-evergreen 2008-08-11T10:23:09 /mv djfiander dojo_bitter 2008-08-11T10:23:23 dbs: you have no idea. 2008-08-11T10:24:12 djfiander: I'll claim to have a _little_ idea, as I have done some dojo work and taken about 10x as long as anticipated to get it going 2008-08-11T10:24:27 but I thought that was just the "getting over the hump" experience. maybe dojo is made of humps 2008-08-11T10:24:47 sounds very black-eyed peas 2008-08-11T10:25:05 @kgs: just what I was thinking. I didn't like that one either. 2008-08-11T10:25:05 djfiander: Error: "kgs:" is not a valid command. 2008-08-11T10:25:31 NTS: keep different network idioms for replying straight. 2008-08-11T10:26:57 it actually is a valid command, just not on any network you've ever seen 2008-08-11T10:27:30 kgs: and the list of users authorized to use the command is very short ;-) 2008-08-11T10:27:34 speaking of bitterness and dojo, how's Slazer faring this morning? 2008-08-11T10:28:45 Slazer: I was thinking that it might make sense for you just to dive fully into client-side i18n with Dojo 2008-08-11T10:28:57 in the worst case scenario we can always convert some of your work back to server-side, once we figure out why xmlent is unhappy 2008-08-11T10:29:48 I'm still looking online as to what is breaking in dojo (or somewhere else?) with XMLENT. And what do you mean go fully into client-side with Dojo? 2008-08-11T10:31:27 use dojo.i18n for everything 2008-08-11T10:31:52 Ah. 2008-08-11T10:31:56 I use it to mow the lawn. works great. 2008-08-11T10:31:56 so all the work is happening on the client (browser) rather than xmlent converting entities where it can 2008-08-11T10:36:34 Alright, well I guess I'll start to do that then. 2008-08-11T10:37:25 Slazer: yeah, I just don't want you to spin your wheels much longer - and this way you get to "have fun" with dojo :) 2008-08-11T10:49:03 Slazer: easiest way to get started, of course, would be to check out the i18n test (dojo/tests/i18n.js) and the resource files that provide the salutations strings (dojo/tests/nls/*/salutations.js) 2008-08-11T10:50:57 dbs: Ah, that should help quite a bit. Thanks. =) 2008-08-11T10:51:52 yeah - with dojo, finding a piece of working code is the only way to counter the well-meaning but often broken docs 2008-08-11T10:55:10 and when not broken, non-existent 2008-08-11T11:05:01 djfiander: touché 2008-08-11T11:06:01 miker_: pgsql-8.2.9 seemed to compile and install well (and had some interesting search-related fixes over 8.2.7, which was the last available backport) 2008-08-11T11:06:19 do you typically install just to /usr/local/pgsql? 2008-08-11T11:09:08 --prefix=/usr/local # surely? 2008-08-11T11:09:27 (I'm starting to think about overhauling Makefile.install to include a target for "compile and install pgsql from scratch, if requested by the user") 2008-08-11T11:09:46 sboyette: that ain't the default, sir :) 2008-08-11T11:12:22 you're right. that's *bizarre* 2008-08-11T11:12:38 (and it breaks the LSB) 2008-08-11T11:15:05 sboyette: there's a strong BSD vibe amongst the pgsql hackers, so the LSB (and FHS) means little to them 2008-08-11T11:17:30 that's because pgsql is a spin-off from stonebreaker's (?) database research group at Berkeley. 2008-08-11T11:18:10 at least they don't want to throw it in /opt 2008-08-11T11:18:26 that was a Sun invention :P 2008-08-11T11:18:48 stonebraker. 2008-08-11T11:25:42 hmm, with LU and McMaster data loaded so far, we've got 47K duplicate ISSNs 2008-08-11T11:31:05 and 295K duplicate ISBNs 2008-08-11T11:39:42 "weeding project" 2008-08-11T11:42:46 phasefx: weird - why are cat strings being used so much in non-cat dirs? 2008-08-11T11:43:42 I guess it's for cat JS that gets included into various patron / circ interfaces 2008-08-11T11:43:49 for example, if you have a list of items, you can almost always perform actions on those items, and some of those actions have been binned as cataloging-related 2008-08-11T12:02:51 phasefx pasted "on a copy update in trunk" at http://paste.lisp.org/display/65135 2008-08-11T12:04:58 phasefx: have a handle on the original error? 2008-08-11T12:05:23 I have all the logs at an insanely dense log level 2008-08-11T12:06:22 phasefx annotated #65135 with "complete log snippet" at http://paste.lisp.org/display/65135#1 2008-08-11T12:07:43 the end result is that there is no end-user visible error, but the copy does not get updated (after being edited in the Item Attribute Editor) 2008-08-11T12:08:20 but I'm editing every single field at once.. smaller more targeted edits work.. so I was going to go through each one to see if it's one field in particular 2008-08-11T12:23:14 phasefx: there should be an error before the exception you pasted. it's dying on not properly handling an oilsMethodException .. just need to know what caused that exception 2008-08-11T12:27:28 hrmm.. what I was doing this tail -f *log..... let things settle down.. hit enter a few times to put whitespace between old logs and the logs to come... cause the error, copy the logs after the whitespace 2008-08-11T13:48:43 dbs: when you added the dojo date picker to the opac for freezing holds, did you ever run into "dateObject.getMonth is not a function"? 2008-08-11T13:49:21 it let's me set a date OK, but if a date already exists in that field, it seems to die on parsing it 2008-08-11T13:49:28 * berick pokes 2008-08-11T14:03:11 berick: re: copy update bug, fwiw, I can get it to happen on dev when you try to change the circ_mod for an item 2008-08-11T14:05:20 phasefx: i need to get you a method for returning the set of circ mods from config.circ_modifier 2008-08-11T14:05:26 you'll need to use one of those 2008-08-11T14:08:44 phasefx: open-ils.circ.circ_modifier.retrieve.all(auth) in place on dev. 2008-08-11T14:09:02 hrm, would you prefer it just return the code? 2008-08-11T14:11:36 phasefx: request open-ils.circ open-ils.circ.circ_modifier.retrieve.all "fb31574b98d1824e4221ec2dbb52486e", {"code_only":1} 2008-08-11T14:16:57 dbs: found the prob, setValue needs a JS date object instead of a string.. comitting fix 2008-08-11T14:27:25 berick: weird, hadn't realized that call changed. I use it in 1.2 without any arguments to get a flat list of codes 2008-08-11T14:27:37 it's still behaving that way in my current trunk snapshot 2008-08-11T14:27:52 but not on dev 2008-08-11T14:30:08 phasefx: oh, pffhh, i should have re-used that method. i forgot it even existed. circ-mods are stored in the DB now 2008-08-11T14:30:12 lemme just update that method to return codes 2008-08-11T14:30:22 from the db and not opensrf.xml 2008-08-11T14:30:34 phasefx: what method are you currently calling? 2008-08-11T14:30:44 open-ils.circ.circ_modifier.retrieve.all 2008-08-11T14:31:06 this is on a trunk snapshot from this weekend 2008-08-11T14:31:43 IIRC, there's ownership information on circ mods now ... if not, there should be (will be) 2008-08-11T14:32:01 and you'll want (something like) here-or-ancestor 2008-08-11T14:32:02 I can move toward the object version no prob 2008-08-11T14:32:14 berick: sorry man - I was actually eating (finally) 2008-08-11T14:32:44 phasefx: ok, i've updated the existing method to behave like it was (just returning codes) 2008-08-11T14:32:54 i can add a flag for returning the whole object 2008-08-11T14:33:01 cool 2008-08-11T14:34:17 dbs: food is for the weak 2008-08-11T14:34:31 * dbs eats the rich 2008-08-11T14:34:58 kbeswick: you are truly an ESI employee :) 2008-08-11T14:37:02 7 days without meat makes one... 2008-08-11T14:38:49 bah, i love how if you set the hold expiration in the future, say December, at 0 hours, it chops an hour off (which effectively takes it back a day in the UI) for the transition from daylight savings to EST 2008-08-11T14:39:18 i mean, it's right, but arg 2008-08-11T14:47:37 berick: apparently when they started using computers in hospitals to manage medications, the staff complained that "every 4 hours" drugs went 4, 8 ,12, 3, 7 ... when the time changed. 2008-08-11T14:47:59 so, don't be in the hospital when the time changes. 2008-08-11T14:49:25 or do, if you really like your meds 2008-08-11T14:49:52 of course, going the other way, you have a 5 hr gap. so it balances out, if you in for long enough ;-) 2008-08-11T15:11:58 *** Slazer has quit IRC 2008-08-11T15:39:48 *** kbeswick has quit IRC 2008-08-11T15:40:02 sboyette: you should commit that autogen.sh patch to opensrf-trunk proper 2008-08-11T15:52:22 i don't seem to have trunk commit access :) 2008-08-11T15:52:38 anybody want a patch, or...? 2008-08-11T15:52:39 dbs: we need to move the svn server (unexpectedly) ... just within the same cage, but it's gotta come down for a bit 2008-08-11T15:53:04 that's cool with me - our power is being shut down in five minutes so I've gotta scoot too 2008-08-11T15:53:15 k 2008-08-11T15:53:36 I won't freak out if my cron jobs complain - and bzr pulls will still work from coffeecode.net, naturally :) 2008-08-11T15:53:38 sboyette: or we could poke Bill into merging it :) 2008-08-11T15:53:47 heh 2008-08-11T15:54:13 or hell, I can merge 2008-08-11T15:54:24 heh 2008-08-11T15:54:28 booo for svn sandboxes 2008-08-11T15:54:37 booo? 2008-08-11T15:55:38 yeah, limiting people's commits to a branch 2008-08-11T15:55:53 why boo? 2008-08-11T15:56:30 or, rather, with a big refactoring (read: partial breakage) as the main goal, why? ;) 2008-08-11T15:56:40 in the unlikely event he screws up a commit to trunk we've got the previous version in place 2008-08-11T15:56:51 sure 2008-08-11T15:57:11 anyways - power outage cometh - must get the hell out of here :) 2008-08-11T15:57:24 run boy, run! 2008-08-11T15:57:31 well, if you need the freedom to break stuff a lot... 2008-08-11T15:57:45 trunk ain't the place to do it 2008-08-11T15:57:59 no no no, grr 2008-08-11T15:58:07 working in a branch = good 2008-08-11T15:58:26 limiting commit access to just the branch = bad 2008-08-11T15:58:30 ohh 2008-08-11T15:58:34 (in my simplistic world view) 2008-08-11T15:58:50 okay - t minus two minutes, powering down 2008-08-11T15:58:56 *** dbs has quit IRC 2008-08-11T15:59:03 philosphical discussions aside: 2008-08-11T15:59:07 svn merge --dry-run -r 1389:1410 svn://svn.open-ils.org/OpenSRF/branches/sboyette/autogen.sh 2008-08-11T15:59:07 heh 2008-08-11T15:59:13 sboyette++ 2008-08-11T15:59:19 i'll merge it 2008-08-11T15:59:49 theres not much going on. just makes autogen.sh die (helpfully) 2008-08-11T16:00:19 oh, well, i guess svn is already down. 2008-08-11T16:00:20 * berick waits 2008-08-11T16:00:29 heh 2008-08-11T16:01:44 maybe i do have commit, then, and svn's error is just cruddy... no, now it just times out. 2008-08-11T16:07:46 *** phase_bb has joined #openils-evergreen 2008-08-11T16:08:20 svn/trac is back, btw 2008-08-11T16:09:08 berick: last night when I logged in to acq, ssh told me that it's key had changed. I'm assuming you updated it's certificate or something :) 2008-08-11T16:09:23 djfiander: yep. updated ssh finally 2008-08-11T16:09:44 oh, you were still running the non-random keys ssh? 2008-08-11T16:09:59 hellz yeah 2008-08-11T16:12:21 damn. missed my chance to practice my 133t hax0r skills 2008-08-11T16:17:04 *** djfiander has quit IRC 2008-08-11T20:10:51 *** djfiander has joined #OpenILS-Evergreen 2008-08-11T20:28:26 *** oOblargOo has joined #openils-evergreen 2008-08-11T20:35:08 sboyette++ #idiomaticification 2008-08-11T20:35:40 whuh? what'd i do? 2008-08-11T20:36:34 if(!ref($servers)){ $servers = [ $servers ]; } baaaaaad ... $servers = [ $servers ] if(!ref($servers)) gooood 2008-08-11T20:36:35 oh, the fnigerprinter (maybe?) 2008-08-11T20:36:48 however, theit seems to be missing a ; 2008-08-11T20:37:02 OpenSRF::Utils::Cache 2008-08-11T20:37:55 oh yeah. i started to reflow things, then made myself stop, because that wasn't The Point 2008-08-11T20:38:01 else i would have changed 2008-08-11T20:38:14 'if (!ref' to 'unless (ref' 2008-08-11T20:38:55 *** _bott1 has joined #openils-evergreen 2008-08-11T20:39:06 I say go for it, if it's just cleaning up ... 'course, I think you and I may be the only ones left (in the world) that prefer unless to if! 2008-08-11T20:39:44 ...but it flows so much more naturally :) 2008-08-11T20:40:15 indeed 2008-08-11T20:41:49 i needed to focus on what i set out to do, though. i felt 2008-08-11T20:42:21 if i can get info outta kbeswick about autotools tomorrow, it'll be done and can be merged 2008-08-11T20:42:30 if your eyes are bleeding, fix it, but if not, sure ... installation is more important ATM 2008-08-11T20:42:37 rock 2008-08-11T20:42:51 miker_: unless is good lisp programming style. 2008-08-11T20:42:53 ;-) 2008-08-11T20:42:57 haha 2008-08-11T20:43:07 <3 <3 <3 :D 2008-08-11T20:43:12 dinnertime 2008-08-11T20:49:10 <_bott1> miker: got time for a quick question? 2008-08-11T20:49:53 sure 2008-08-11T20:50:30 <_bott1> the server I'm using for training. My relevant subjects don't nest. I just end up with a set of subjects, but no tree structure to it 2008-08-11T20:50:42 no authorities 2008-08-11T20:50:46 <_bott1> ahh! 2008-08-11T20:51:02 the stuff "inside" the folders are see-from and see-also entries from authorities :) 2008-08-11T20:51:16 <_bott1> That makes sense! 2008-08-11T20:52:21 btw, still working on the z server stuff ... searches "work" but now results aren't coming back ... and I'm not sure why yet 2008-08-11T20:52:39 because z39.50 is EEEEVIIIIL 2008-08-11T20:52:59 <_bott1> I'll second that 2008-08-11T20:53:02 djfiander: well, yes ... 2008-08-11T21:58:10 *** oOblargOo has quit IRC 2008-08-11T22:09:04 *** _bott1 has left #openils-evergreen 2008-08-11T22:14:20 miker_: have you and berick been talking about constraints on when we can delete jubs and copies? like, can't delete a jub if it's part of a PO that's been sent to the vendor, etc.? 2008-08-11T22:18:36 djfiander: not explicitly, we haven't 2008-08-11T22:19:11 ok. I'm just tweaking stuff in the UI javascript to not do things one shouldn't be allowed to do 2008-08-11T22:32:45 *** djfiander has quit IRC 2008-08-11T22:55:59 *** gmcharlt is now known as gmcharlt_away 2008-08-11T22:59:46 *** dbs has joined #openils-evergreen