| # | Time | Nick | Message |
|---|
| # | 00:07:12 | Jbergy has joined #evergreen |
| # | 00:19:37 | vinlyt has joined #evergreen |
| # | 00:30:29 | vinlyt has quit IRC |
| # | 00:35:42 | sgirard_ has joined #evergreen |
| # | 00:37:53 | sgirard has quit IRC |
| # | 00:39:56 | sgirard_ has quit IRC |
| # | 01:17:08 | suho has joined #evergreen |
| # | 01:54:26 | zigo-_- has joined #evergreen |
| # | 02:09:21 | mayanks43 has left #evergreen |
| # | 02:22:22 | mayanks43 has joined #evergreen |
| # | 02:37:17 | lezard has quit IRC |
| # | 02:46:40 | mayanks43 has quit IRC |
| # | 03:33:23 | zigo-_- has quit IRC |
| # | 03:37:57 | zigo-_- has joined #evergreen |
| # | 04:02:53 | zigo-_- has quit IRC |
| # | 04:03:20 | zigo-_- has joined #evergreen |
| # | 05:06:47 | zigo-_- has quit IRC |
| # | 05:09:21 | zigo-_- has joined #evergreen |
| # | 05:10:07 | Jbergy has quit IRC |
| # | 05:34:47 | zigo-_- has quit IRC |
| # | 05:37:41 | suhothayan has joined #evergreen |
| # | 05:41:00 | suho has quit IRC |
| # | 05:44:49 | suhothayan has quit IRC |
| # | 06:25:20 | suho has joined #evergreen |
| # | 06:38:24 | suho has quit IRC |
| # | 08:43:43 | mayanks43 has joined #evergreen |
| # | 09:06:39 | chirag has joined #evergreen |
| # | 09:25:10 | Dyrcona has joined #evergreen |
| # | 09:27:02 | Dyrcona | Holy cow! My development "server" is sloooowww..... |
| # | 09:27:50 | Dyrcona | Pro tip: don't run all of your Evergreen server processes on a 5-year-old workstation. |
| # | 09:34:05 | jeff hands Dyrcona more ram |
| # | 09:34:29 | Dyrcona | jeff: Thanks, but it already has all it can take: 2GB. |
| # | 09:40:58 | jeff | drat. |
| # | 09:42:03 | Dyrcona | Hmm. Maybe I should have removed PostgreSQL 8.4 before installing 9.0. My psql is still version 8.4. |
| # | 09:52:26 | chirag has left #evergreen |
| # | 10:11:52 | dinesh__ has joined #evergreen |
| # | 10:19:19 | Dyrcona has quit IRC |
| # | 10:23:33 | Dyrcona has joined #evergreen |
| # | 10:30:28 | lezard has joined #evergreen |
| # | 10:31:49 | dinesh__ has quit IRC |
| # | 10:49:53 | lezard | hello |
| # | 10:53:00 | phasefx | howdy |
| # | 10:57:11 | lezard | Is there anyone online that i can discuss some of evergreen gsoc projects? |
| # | 10:58:46 | phasefx | lezard: I'm here, what's up? |
| # | 11:01:57 | dbs has joined #evergreen |
| # | 11:01:57 | dbs has joined #evergreen |
| # | 11:02:54 | suho has joined #evergreen |
| # | 11:09:06 | lezard | cool |
| # | 11:09:54 | lezard | phasefx: I'm an ux / interaction designer with a tech and design backround, and your interface project interested me |
| # | 11:12:01 | lezard | there are 2 of them but suppose that the bringing sanity one would be more interesting for a gsoc project and more useful to you guys, could i have a little more info on it ? |
| # | 11:12:30 | phasefx | sure |
| # | 11:13:58 | phasefx | We have a database table called config.org_unit_setting_type, which currently has 193 entries |
| # | 11:14:57 | phasefx | it has outward facing fields for label and description, which are I18N'ized |
| # | 11:16:13 | phasefx | a few datatypes can be associated with these settings: string, boolean, and link (which ties into Evergreen native objects, and widgets for editing them) |
| # | 11:17:18 | phasefx | there's no real grouping mechanism. Half-hearted efforts at consistent naming have been made (for example, prefixing the labels with common identifiers like GUI:, Cataloging:, Admin:, etc.) |
| # | 11:17:34 | lezard | LOL |
| # | 11:17:46 | phasefx | the current interface can be found in the staff client program, under Admin -> Local Administration -> Library Settings |
| # | 11:17:56 | phasefx | it lists them all, and takes a moment to render |
| # | 11:19:13 | phasefx | there's a mapping table between these setting types and various organizational units (which are defined in a tree-hierarchy). In most cases, the application of these settings makes use of inheritance, such that if a setting is mapped to a higher level org unit, then lower level org units will automatically inherit that setting |
| # | 11:20:27 | phasefx | so, that's it in a nutshell |
| # | 11:21:43 | lezard | ok, ill take a look at the current interface right now, and get back to you with a couple more questions |
| # | 11:21:50 | phasefx | cool deal |
| # | 11:22:11 | lezard | maybe we can outline a bit a project and i can fill in the specifics, like what, when and how to do it and we can bounce off ideas ? |
| # | 11:23:21 | phasefx | sure. ultimately you need to come up with a proposal, and as long as I'm not doing that for you, I'm game. If I'm not here at times, other folks may be, and there's always the mailing list, which you're welcome to use for the same purpose |
| # | 11:23:45 | lezard | Cool, what i want is direction, not babysitting lol |
| # | 11:23:47 | dbs pops head up |
| # | 11:23:57 | lezard | i trow an idea and you give me some feedback |
| # | 11:24:02 | lezard | throw |
| # | 11:24:06 | dbs | Along with that one interface, the whole Admin menu probably needs some love |
| # | 11:24:19 | phasefx | sounds sane |
| # | 11:24:57 | phasefx | dbs: true that |
| # | 11:25:18 | phasefx | maybe dynamic alphabetizing (to handle I18N)? :) |
| # | 11:25:39 | phasefx was happy with the Local Admin web page, before it got moved to menus |
| # | 11:26:02 | dbs | alphabetizing, logical grouping, searching and finding :) |
| # | 11:26:48 | dbs | I'm not sure there's an answer to the question "What is Local Administration vs. Server Administration?" other than "Check both submenus to see if it has what you want" |
| # | 11:28:01 | phasefx | "perms for these are usually not given to local administrators"? :) |
| # | 11:28:29 | phasefx begs the question |
| # | 11:29:48 | phasefx misapplies his logical fallacies. one or the other |
| # | 11:46:45 | dbs | btw, phasefx, have you applied to be a mentor yet? |
| # | 11:48:35 | dbs | @later tell phasefx Mentor application is at the bottom of http://www.google-melange.com/gsoc/org/google/gsoc2011/evergreen_ils |
| # | 11:48:35 | pinesol` | dbs: The operation succeeded. |
| # | 11:48:40 | phasefx | hrmmm, I have done nothing along those lines, need to check on that (I had/have it in my head that gmcharlt was handling all paper-work) |
| # | 11:50:10 | dbs | deadline for mentor applications is April 22nd, so it's not a crazy rush |
| # | 11:51:55 | phasefx | more information for the google master database |
| # | 12:06:48 | phasefx | yeah, that agreement looks more to be for the mentor organization than the mentor |
| # | 12:08:33 | phasefx | oh, I see. They define it as organization or member thereof |
| # | 12:11:27 | dbs modifies the IRC link to be a URI instead of "#evergreen on Freenode", given how melange turned it into a linky |
| # | 12:12:18 | phasefx | alright, my request has been submitted |
| # | 12:13:20 | lisppaste | Dyrcona pasted "Login Failure" at http://paste.lisp.org/display/120933 |
| # | 12:14:36 | lisppaste | Dyrcona annotated #120933 "the exception" at http://paste.lisp.org/display/120933#1 |
| # | 12:15:38 | Dyrcona | So, why doesn't that pasted code work? I looked at OpenSRF::AppSession line 1055 and that is just checking if the request failed. |
| # | 12:16:01 | Dyrcona | If I login from srfsh with the credentials stored in ursa.xml, it works. |
| # | 12:17:03 | Dyrcona | The login sub is also practically a copy and paste from another client I wrote and based on dbs' examples. |
| # | 12:17:24 | dbs stays far away from function signatures like login($$$) |
| # | 12:17:29 | phasefx | I'm not familiar with $$$ |
| # | 12:18:18 | dbs | In theory it says "scalar, scalar, scalar" but in practice it is avoided by everyone |
| # | 12:19:53 | Dyrcona | changing the signature doesn't fix it, though. I still get the same exception. |
| # | 12:19:55 | dbs | s/signatures/prototypes/ |
| # | 12:21:41 | Dyrcona | open-ils.auth is running. |
| # | 12:23:05 | phasefx | s/md_hex/md5_hex/ |
| # | 12:24:37 | dbs | weird that Perl didn't complain about that - nice eyes, phasefx |
| # | 12:24:50 | phasefx | my perl did complain |
| # | 12:25:04 | phasefx | I ripped out all of the xml config stuff though, hardcoded in admin and demo123 |
| # | 12:25:47 | phasefx | passed it a bad workstation, getting a WORKSTATION_NOT_FOUND event that isn't really being handled.. trucking on |
| # | 12:26:34 | phasefx | ha, I have no workstations yet on that fresh db |
| # | 12:27:40 | phasefx | doesn't seem to like my workstation, whatever I do |
| # | 12:28:04 | phasefx | Dyrcona: I'm using use Data::Dumper; print Dumper(var_here) . "\n"; to peek at things |
| # | 12:30:36 | phasefx | bah, confused myself with multiple databases |
| # | 12:31:21 | phasefx | Dyrcona: the code works for me (after fixing that md_hex call, and hard-coding in my config values) |
| # | 12:32:12 | Dyrcona | phasefx: I think mine is failing on the init call. I fixed the md_hex/md5_hex and then added a printf after the init call. It never gets to the printf. |
| # | 12:32:32 | Dyrcona | I'm also printing the values from the config, and they are what I expect. |
| # | 12:32:50 | Dyrcona | If I use those values in srfsh with a login, they work. |
| # | 12:32:59 | phasefx | I'd turn up error logging with the auth service |
| # | 12:33:02 | phasefx | hrmm |
| # | 12:35:27 | phasefx | you can perl -d file.pl, step through it line by line |
| # | 12:35:41 | phasefx | actually walk into AppSession.pm |
| # | 12:36:18 | Dyrcona | i'll try that. I'm going to annotate my paste with some funny log lines. |
| # | 12:36:27 | phasefx | this is fun |
| # | 12:36:44 | lisppaste | Dyrcona annotated #120933 "log entry" at http://paste.lisp.org/display/120933#2 |
| # | 12:38:11 | Dyrcona | Looks like XML::XPath is interfering somehow. |
| # | 12:38:42 | phasefx | may need to stringify the values you get from it |
| # | 12:39:09 | Dyrcona | ok. they appear fine when printed though. |
| # | 12:39:58 | phasefx | Note that for each of the objects stringification is overloaded, so you can just print the value found, or manipulate it in the ways you would a normal perl value (e.g. using regular expressions). |
| # | 12:40:32 | phasefx | I'd try getNodeText on them |
| # | 12:45:05 | phasefx | or maybe wrap them in quote to let string interpolation do the casting? = login("$uname", etc. |
| # | 12:45:28 | phasefx | don't know what the proper thing to do would be |
| # | 12:46:32 | phasefx | though I bet the "$uname" method would work since it works for printing |
| # | 12:47:34 | Dyrcona | think i'm going to try getNodeText() instead of findvalue(). |
| # | 12:47:53 | Dyrcona | the XML::XPath docs say it returns a string. |
| # | 12:48:23 | dbs | http://search.cpan.org/~msergeant/XML-XPath-1.13/XPath.pm#findvalue%28$path,_[$context]%29 |
| # | 12:48:38 | Dyrcona | yep. was just looking at that. |
| # | 12:48:55 | dbs | http://search.cpan.org/~msergeant/XML-XPath-1.13/XPath/Literal.pm |
| # | 12:49:13 | dbs | so stringify it like phasefx suggested, or call ->value() on the result. should be the same thing. |
| # | 12:49:40 | dbs and Dyrcona must be swapping roles, as I've been pounding my head against Java for a day or so |
| # | 12:49:42 | phasefx | .value().. yeah, dbs++ |
| # | 12:50:10 | Dyrcona | heh. thanks, dbs. |
| # | 12:51:13 | Dyrcona | what trouble are you having with Java? |
| # | 12:52:30 | dbs | Dyrcona: heh, 1) catching up with all of the changes since about 1.3 and 2) learning the Android landscape beyond simple demo apps |
| # | 12:52:39 | Dyrcona | I decided to take dbs advice and call ->value(). |
| # | 12:52:55 | Dyrcona | Ah. I haven't tried anything on Android, yet. |
| # | 12:57:07 | Dyrcona | I've been doing a lot of XPath in Java lately. I think the differences between the Java and XML::XPath in Perl are what threw me today. |
| # | 12:58:00 | dbs has written a simple library app that maps a list of menu items to URLs, which is sadly more useful than it might otherwise sound for a library with a web presence like his |
| # | 12:58:02 | dbs curses microwave for interering with sacred WiFi |
| # | 12:59:34 | Dyrcona | A library map application might be useful, something that could show where in the library books/items are located. I know some of our members have asked about being able to print maps from the ILS. |
| # | 13:03:05 | tsbere reads the recent history and thinks that dbs and Dyrcona were talking about two entirely different usages of the word "map", but also wonders how you *could* print maps of the library interior from the ILS. |
| # | 13:04:01 | dbs | Yep, two different meanings. But some libraries have provided mappings of shelving location/call number to a "location in library" kind of map for years |
| # | 13:11:19 | tsbere | So what is the next evolution of that, having the catalog know what machine you are on in the library (if you are) or picking the closest door and providing walking directions to the shelf? ;) |
| # | 13:12:03 | phasefx | feeding gps coordinates to your phone? |
| # | 13:13:01 | dbs | tsbere: that's what some of the old catalogs actually did |
| # | 13:13:30 | tsbere never used one, as far as he knows |
| # | 13:15:09 | phasefx | need to put camera-accessible landmarks in the library for one's augmented reality app. Have red and green path lines overlayed on the floor, and highlight the shelves and specific book |
| # | 13:16:01 | tsbere | Might need a 2d barcode format on the edge of the book to highlight the right one, though |
| # | 13:16:03 | phasefx can't wait to get such apps bundled into his glasses. be like robocop |
| # | 13:16:20 | phasefx | nerd on patrol, thank you for your cooperation |
| # | 13:25:44 | Dyrcona | phasefx: a real cybrarian. :) |
| # | 13:31:18 | suho has quit IRC |
| # | 14:27:10 | dbs has quit IRC |
| # | 14:40:20 | dbs has joined #evergreen |
| # | 14:40:20 | dbs has joined #evergreen |
| # | 14:45:12 | dbs | I/O errors that lock me out of my laptop do not make me happy |
| # | 14:45:24 | dbs | Also ungood for productivity |
| # | 14:49:11 | chirag has joined #evergreen |
| # | 15:45:37 | chirag | hi there..i would like to talk regarding gsoc project.. |
| # | 15:45:49 | chirag | android app for evergreen. |
| # | 16:43:46 | Dyrcona | I am trying to call open-ils.circ.checkout with my authtoken, a copy_barcode and patron_barcode. I keep getting a CIRC_PERMIT_BAD_KEY response, and I am not sure why. |
| # | 16:44:07 | Dyrcona | I'm not sure that I understand the code in check_permit_key or where the permit_key comes from. |
| # | 16:45:40 | Dyrcona | Hmm.. Just switching to open-ils.circ.checkout.full let me checkout the copy to my patron. |
| # | 16:45:47 | phasefx | Dyrcona: use the .checkout.full method instead. checkouts used to be two-part. yeah |
| # | 16:46:04 | phasefx | we used to use a .permit method, and then the .checkout method |
| # | 16:46:06 | Dyrcona | phasefx: I see. |
| # | 16:46:42 | Dyrcona | I should probably dig just a smidge harder next time. :) |
| # | 16:47:01 | phasefx | chirag: I'm here for general discussion; don't know a whole lot about java or android specifically, though |
| # | 16:48:39 | chirag | phasefx:i have partially understood the evergreen sytem.. |
| # | 16:48:50 | phasefx | Dyrcona: you can use Admin->For Developers->Venkman in the staff client, and put the keyword debugger; in choice sections of code for an opportunistic breakpoint (for whenever a debugger is running), and walk through existing code that way |
| # | 16:49:18 | chirag | and even made a android app which talks to your evergreen server..but its not complete yet |
| # | 16:49:49 | dbs | It would be surprising if it was complete already :) |
| # | 16:49:55 | phasefx | chirag: coolness |
| # | 16:49:56 | Dyrcona | phasefx: I'm writing a client in Perl so that the state's virtual catalog can communicate with Evergreen. |
| # | 16:50:40 | phasefx | Dyrcona: and it's doing circs? *8) |
| # | 16:50:43 | chirag | dbs:i have got problem with curl otherwise it would have been completed |
| # | 16:51:03 | Dyrcona | phasefx: yes it will do circs. |
| # | 16:51:25 | phasefx | Dyrcona: interesting |
| # | 16:51:31 | chirag | it sends requests to server and receives response with 200 ok msg |
| # | 16:51:48 | chirag | but i'm not able extract response from it yet |
| # | 16:52:30 | chirag | dbs:its base on the opensrf over http example you mentioned that day |
| # | 16:52:37 | chirag | based* |
| # | 16:52:54 | dbs | chirag: okay. So you're getting the JSON response? |
| # | 16:53:07 | chirag | yes i'm getting json response |
| # | 16:54:12 | chirag | i'm have made a json for the first time so it is taking time.. |
| # | 16:54:26 | chirag | json code* |
| # | 16:54:45 | dbs | chirag: There's probably a few different JSON libraries in Java that you could use, right? |
| # | 16:55:59 | chirag | yup i have used them to create json and send it by http reponse using httpclient class |
| # | 16:56:19 | chirag | http post response* |
| # | 16:57:38 | chirag | is there any java developer in evergreen? |
| # | 16:58:44 | dbs | chirag: I think you need to clarify what problem you're having before we can help |
| # | 16:59:27 | dbs | You say you have a JSON library and can create JSON using it, but you can't extract information from a JSON response? |
| # | 17:00:00 | chirag | nope i can extract json from http response |
| # | 17:00:40 | chirag | its wrapped inside http response.. |
| # | 17:00:58 | dbs | but you said "but i'm not able extract response from it yet", so hopefully you can see why I'm confused. |
| # | 17:02:33 | chirag | i receive http reponse to my httprequest ..my http response contains jsonobject..i'm not able to extract it...but i haved debugged my application |
| # | 17:03:30 | chirag | and found that its wrapped inside it..and i'm not able to unwrap it... |
| # | 17:03:43 | chirag | but its visible in my debugger |
| # | 17:05:33 | dbs | So you need help using java.net.whatever? |
| # | 17:06:22 | chirag | i'm not using java.net ...but a different library |
| # | 17:07:07 | chirag | i 'm using apache http library |
| # | 17:07:43 | chirag | i have got one more method to solve my problem |
| # | 17:08:10 | chirag | but as i have got so far with this first method... |
| # | 17:08:48 | chirag | so would like to get my problem solved first.. |
| # | 17:09:47 | chirag | because send method would require to rewrite my code |
| # | 17:09:56 | chirag | second method* |
| # | 17:10:04 | dbs | chirag: you might want to talk to people on whatever channel supports the Apache HTTP Java classes, then |
| # | 17:11:21 | chirag | localhost/osrf-http-translator |
| # | 17:11:30 | chirag | can i get its code |
| # | 17:12:01 | phasefx | chirag: just curious, are you using getResponseBody() and feeding that result to your JSON library? |
| # | 17:12:01 | chirag | ? |
| # | 17:12:11 | dbs | http://hc.apache.org/httpcomponents-client-ga/tutorial/html/fundamentals.html looks pretty straightforward |
| # | 17:13:01 | phasefx | .getContent looks better based on that |
| # | 17:13:24 | Dyrcona has quit IRC |
| # | 17:13:37 | dbs | chirag: yes, the HTTP translator code is part of the OpenSRF framework |
| # | 17:14:18 | dbs | chirag: http://svn.open-ils.org/trac/OpenSRF/browser/trunk/src/gateway |
| # | 17:16:15 | chirag | phasefx:i used get content but not getting my result.. |
| # | 17:16:44 | chirag | dbs:i'm checking it.. |
| # | 17:17:28 | chirag | dbs:in the meantime i would like to talk regarding my application regarding gsoc project |
| # | 17:18:04 | dbs | chirag: everything that you're saying, in channel and on the mailing lists, is effectively part of your application :) |
| # | 17:18:30 | dbs | also a good opportunity to get a feel for the people involved in the project (like me) |
| # | 17:19:19 | chirag | but i'm not active on mailing list |
| # | 17:19:30 | chirag | would that effect my application |
| # | 17:19:34 | chirag | ? |
| # | 17:20:23 | dbs | chirag: you've read the GSoC FAQ and the booki.cc guide? |
| # | 17:21:26 | chirag | i have read faqs..wats boki.cc?? |
| # | 17:21:32 | chirag | booki.cc* |
| # | 17:21:47 | dbs | http://www.google-melange.com/document/show/gsoc_program/google/gsoc2011/faqs#student for example |
| # | 17:22:18 | dbs | http://www.booki.cc/gsocstudentguide/_v/1.0/what-is-google-summer-of-code/ |
| # | 17:23:26 | chirag | yes i have read the student guide |
| # | 17:24:06 | dbs | Okay. I thought that would have answered your question "but I'm not active on mailing list - would that effect my application" |
| # | 17:24:18 | dbs | (And you have posted a couple of messages, haven't you?) |
| # | 17:24:58 | chirag | yes i have posted messages on mailing list |
| # | 17:25:09 | chirag | sorry irc* |
| # | 17:25:18 | chirag | not mailing list |
| # | 17:26:04 | dbs | chirag: I'm pretty sure you posted the messages with the subject "Help:opensrf over http using java", no? |
| # | 17:26:25 | chirag | yes i have posted it |
| # | 17:26:40 | chirag | but the json request i wrote is not correct |
| # | 17:26:51 | chirag | i checked it out later on' |
| # | 17:26:57 | chirag | using srfsh |
| # | 17:29:13 | Dyrcona has joined #evergreen |
| # | 17:31:46 | chirag | so i have used the example of json object posted by you.. |
| # | 17:32:22 | chirag | in which i have to manually enter the barcode id |
| # | 17:42:06 | chirag | dbs:do i stand a chance in your organisation? |
| # | 17:42:17 | chirag | do* |
| # | 17:43:41 | dbs | chirag: I really can't say until all of the applications have been submitted. There have been a lot of people who have expressed interest in the Android client project, but to date you're the only one attempting to pull some code together. |
| # | 17:45:02 | chirag | dbs:when should i send my application for your review |
| # | 17:47:34 | chirag | i even dont have an experience working on android would that effect my application |
| # | 17:47:51 | dbs | http://www.google-melange.com/document/show/gsoc_program/google/gsoc2011/timeline says "March 28: 19:00 UTC Student application period opens." |
| # | 17:49:34 | chirag | i meant to say that i have read that student send their application to mentor for review...and if mentor require changes he tells it to student else forwards it |
| # | 17:51:44 | chirag | does that applies over here too...or my first application is my last application? |
| # | 17:52:55 | dbs | The earlier you apply, the better the chance that you'll get some feedback |
| # | 17:55:01 | dbs has to make dinner - later |
| # | 17:55:17 | chirag | okay..thanks for help |
| # | 18:36:08 | Dyrcona has quit IRC |
| # | 18:41:17 | mayanks43 has quit IRC |
| # | 19:19:33 | chirag has left #evergreen |
| # | 19:54:48 | mayanks43 has joined #evergreen |
| # | 20:17:45 | lpd has quit IRC |
| # | 20:18:49 | lpd has joined #evergreen |
| # | 21:17:04 | suho has joined #evergreen |
| # | 22:14:22 | mayanks43 has left #evergreen |
| # | 22:36:24 | lez has joined #evergreen |
| # | 22:38:32 | lezard has quit IRC |
| # | 22:44:23 | suho has quit IRC |
| # | 23:15:41 | lez has quit IRC |
| # | 23:17:14 | Jbergy has joined #evergreen |
| # | 23:50:49 | lpd has quit IRC |
| # | 23:57:54 | lpd has joined #evergreen |