IRC Chat : 2008-03-23 - OpenMRS

00:05:54 *** cancer has joined #openmrs
00:07:50 <jjzeidner> are you guys aware that the demo link on your site returns Internal Server Error?
00:09:01 <docpaul> jj: check in about 30 secs
00:09:15 <docpaul> i'm out... happy easter everyone. :)
00:09:49 <jjzeidner> docpaul: sent an email to ben
00:11:03 <r0bby> docpaul
00:11:05 <r0bby> you afraid
00:11:17 <r0bby> er around
00:11:18 <r0bby> :|
00:11:23 <docpaul> yep
00:11:28 <r0bby> oh
00:11:29 <r0bby> ok
00:11:35 <docpaul> but i'm zzz'ing away
00:11:36 <r0bby> where is the modules config option
00:11:45 <docpaul> hmm
00:11:59 <r0bby> Uploads are not allowed from the website at this time. The runtime property module.allow_web_admin must be set to true.
00:12:01 <r0bby> that's what i see
00:12:07 <docpaul> oh...
00:12:29 <docpaul> sorry, for security reasons we don't allow the demo site to take modules
00:12:42 <docpaul> is this your localhost?
00:12:43 <r0bby> uhm that's _MY_ page :P
00:12:47 <r0bby> localhost :P
00:12:58 <jjzeidner> demo.openmrs.org is now working...
00:13:35 <docpaul> there should be a global properties editor on the admin screen
00:14:07 <docpaul> under the maitenenace tab
00:14:07 <r0bby> holy crap
00:14:30 <r0bby> this needs to be broken up
00:15:01 <docpaul> find it?
00:15:27 <docpaul> my wife just stared down at me from the 2nd floor with a dirty look.. hehe
00:15:31 <docpaul> time to go
00:15:39 <r0bby> it's not listed at it
00:15:41 <r0bby> LOL
00:15:46 <r0bby> LOL
00:15:49 <docpaul> it should be
00:15:51 <r0bby> docpaul is in the dog house!
00:16:03 <r0bby> s nigger
00:16:06 <docpaul> oh unless it's runtime property
00:16:07 <r0bby> snigger
00:16:11 <r0bby> runtime!
00:16:12 <r0bby> LOL
00:16:13 <docpaul> which is a file
00:16:16 <docpaul> hahah
00:16:17 <r0bby> where...
00:16:46 <r0bby> tell your wife, you're helping somebody
00:16:50 <r0bby> :P
00:17:06 <docpaul> man, she is so tired of hearing that
00:17:08 <docpaul> hehe
00:17:17 <docpaul> she wonders when i'm going to help her... hah
00:17:57 <docpaul> http://openmrs.org/wiki/Overriding_OpenMRS_Default_Properties
00:17:59 <OpenMRSBot> <http://ln-s.net/1iOw> (at openmrs.org)
00:18:00 <docpaul> seeya
00:18:10 <r0bby> we need a karma bot in here
00:25:19 <jjzeidner> docpaul: thanks!
01:40:20 <r0bby> hrm
01:40:37 <r0bby> I just saw a place where we need to validate before gladly accepting it
01:40:46 <r0bby> I just got a NFE
01:49:48 *** nribeka has quit IRC
01:49:54 *** nribeka has joined #openmrs
02:23:10 *** nribeka has quit IRC
02:23:25 *** nribeka has joined #openmrs
02:59:59 *** nribeka has quit IRC
03:00:07 *** nribeka has joined #openmrs
03:25:28 *** machosry has joined #openmrs
03:25:45 *** cancer has quit IRC
03:51:39 *** nribeka has quit IRC
03:51:44 *** nribeka has joined #openmrs
04:57:02 *** Keelhaul has joined #openmrs
04:57:02 *** ChanServ sets mode: +v Keelhaul
05:00:02 *** AndersG has quit IRC
05:14:55 *** AndersG has joined #openmrs
05:18:36 *** machosry has quit IRC
05:32:14 *** AndersG has quit IRC
06:50:46 *** Keelhaul has quit IRC
06:58:08 *** nribeka has quit IRC
06:58:12 *** nribeka has joined #openmrs
07:37:00 *** nribeka has quit IRC
12:20:21 *** chelala_ has joined #openmrs
12:21:25 *** chelala_ has quit IRC
12:24:37 *** chelala has joined #openmrs
12:25:37 <chelala> Hi where can I see the demo now?? it shows 500 internal error??
12:26:23 <chelala> does openmrs can hold pathology exams like biopsy, autopsy out of the box??
13:14:12 *** chelala has quit IRC
13:16:06 *** dmw2113 has joined #openmrs
13:17:22 *** dmw2113 has quit IRC
13:22:43 *** Keelhaul has joined #openmrs
13:22:43 *** ChanServ sets mode: +v Keelhaul
13:23:54 *** Keelhaul has quit IRC
13:24:59 *** dmw2113 has joined #openmrs
13:31:31 *** dmw2113 has quit IRC
13:53:48 *** cancer has joined #openmrs
14:05:38 *** cancer has quit IRC
14:10:43 *** r0bby has quit IRC
14:11:07 *** r0bby has joined #openmrs
14:12:18 *** r0bby has quit IRC
14:12:36 *** r0bby has joined #openmrs
14:12:42 *** cancer has joined #openmrs
14:44:57 <r0bby> /jj
14:55:48 *** sioraiocht has joined #openmrs
14:55:48 *** ChanServ sets mode: +v sioraiocht
15:18:42 <r0bby> hai
15:21:10 *** bwolfe has joined #openmrs
15:21:11 *** ChanServ sets mode: +o bwolfe
15:22:27 <r0bby> ben :>
15:22:37 *** napii has joined #openmrs
15:22:48 <bwolfe> hey there r0bby
15:26:43 *** napii is now known as napi
15:33:18 <napi> hello all
15:35:56 <napi> Just stumbled upon OpenMRS through GSoC- very interested in getting involved! Just wish my dissertation deadline wasn't in 3 weeks.. not much time to familiarize myself with the whole thing before applications are due in
15:36:51 <bwolfe> hey napi, welcome
15:37:01 *** burke has joined #openmrs
15:37:02 *** ChanServ sets mode: +o burke
15:37:15 <bwolfe> eh, just forget about the dissertation...its not as imporatant as gsoc ;-)
15:38:37 *** sunbiz has joined #openmrs
15:39:03 <napi> I'll forget it if you guarantee me a job for rest of my life :p
15:39:29 <bwolfe> hmm, tricky
15:40:08 <bwolfe> whats your dissertation topic?
15:40:14 <napi> remote awareness
15:40:48 <bwolfe> interesting
15:41:04 <bwolfe> define "remote"
15:41:27 <napi> Aimed at large organisations (specfically those based in multiple phyiscal sites) - software provides "availability" rating for collegues, suggesting when is good/bad time to make contact
15:41:45 <bwolfe> burke: sent the invite to your rg email address
15:44:49 <sunbiz> so..howz the sunday going... not much talk on the IRC today
15:45:18 *** machosry has joined #openmrs
15:46:02 <bwolfe> sunbiz: nah, pretty slow today
15:46:44 <r0bby> burke: I'm going to need your help... A LOT of help here; i'm completely overwhelmed, i've never taken on a project this big :/
15:46:46 <sunbiz> Ben: wanted to ask you something... does it mean that it takes 3 months to complete each of those from the projects page ??
15:47:30 <r0bby> sunbiz: it's probably a lot of work
15:47:37 <r0bby> s/probably/is/
15:47:47 <sunbiz> can the same person work on more than 1 project??
15:47:50 <burke> r0bby: what project are you looking at?
15:48:09 <burke> sunbiz: probably not a good idea
15:48:16 <r0bby> Groovy integration :>
15:48:22 <sunbiz> I mean after he/she finishes one ??
15:48:25 <bwolfe> sunbiz: if a gsoc student gets a project done early, the will be given another project
15:48:26 <burke> tho, there are some projects that have some natural overlap
15:48:45 <burke> r0bby: cule. I have some ideas for that.
15:48:46 <bwolfe> but the projects listed are supposed to be one per student for the length of gsoc
15:49:03 <r0bby> I read -- burke do you have IM or something; pm on irc is a crapshoot at times
15:49:27 <r0bby> bwolfe is gonna kill me at some point
15:49:33 <burke> hehe
15:49:40 <r0bby> bwolfe: do you need my address so you know where to send the hitman?
15:49:42 <r0bby> :P
15:50:14 <burke> the hitman is going to napi's house so our GSoC will effectively give him a job "for life"
15:50:26 <bwolfe> nah, I'm sure I can just trace one of your multiple IPs :-)
15:50:27 <burke> but the hitman has to wait until end of summer
15:50:46 <napi> lol
15:51:09 <burke> so, that means napi can do a GSoC project!
15:51:11 <r0bby> multiple?
15:51:12 <burke> :D
15:51:18 <r0bby> I have one fucking ip :P
15:51:19 <napi> only if you expect me to ditch my dissertation
15:51:27 <napi> handing it in 3 weeks tomorrow!
15:51:32 <r0bby> Oh and if you look up the whois on my domain name :P
15:51:40 * r0bby whistles
15:51:44 <burke> napi: then what's the big deal about missing gsoc?
15:52:04 <r0bby> napi: just show you're worthy for the internship
15:52:58 *** machosry has quit IRC
15:53:22 <napi> burke; invaluable experience that I can focus on, rather than having to find the time while also looking for a job
15:53:55 <bwolfe> r0bby: 504 <<ADDRESS REDACTED>> ?
15:54:57 <r0bby> FUCKER
15:55:02 <r0bby> thanks for publishing it :P
15:55:08 <r0bby> on a fucking channel that's logged
15:55:28 <r0bby> but then again it IS a matter of public record
15:55:42 <burke> the real bummer is that our hitman just took out the person at 405 Balmoral. Oops.
15:55:44 * napi gets the map ready for the hitman
15:55:47 <bwolfe> want me to paste in your phone number too? :-)
15:56:07 <r0bby> LOL
15:56:13 <r0bby> NO!
15:56:24 <r0bby> I already dealt with one retard calling me
15:56:33 <burke> r0bby: I hope you didn't care for that neighbor.
15:56:43 <r0bby> That address doesn't exist :P
15:56:45 <r0bby> so i dont care.
15:57:01 <burke> wow. I didn't realize our hitman was that good. He took out the entire house?
15:57:09 <bwolfe> haha
15:57:17 <bwolfe> we're overpaying him methinks
15:58:12 <r0bby> LOL
15:58:17 <burke> Actually, if we video conference, I should be able to drag your video to the trash can on my Mac to do the job.
15:58:27 <burke> these new macbooks are getting pretty fancy
15:58:34 <r0bby> DAMN YOU
15:58:42 <r0bby> i have a dell inspiron which i can't close the lid on.
15:58:55 <burke> dude...you got a dell. :p
15:58:59 <r0bby> yeh
15:59:09 <napi> my toshiba has just packed up... after 10 years without reformatting once!
15:59:10 <r0bby> if i close the lid i potentially wont get video back until a reboot
15:59:25 <r0bby> I have a sneaky feeling it's my wifi driver
15:59:46 <bwolfe> madwifi r0bby ?
15:59:49 <napi> loads of laptops seem to have problem with wifi stopping working when they close/re-open
16:00:15 <r0bby> bwolfe: si.
16:00:21 <r0bby> is that a known problem?
16:00:57 <bwolfe> I know Brian (bmckown) had a lot of trouble with that driver
16:01:07 <bwolfe> freezing/restarting type of problems
16:01:13 <bwolfe> clean shutdown problems too
16:01:25 <r0bby> it works fine for that
16:01:29 <bwolfe> he's using the ndiswrapper now iirc
16:01:45 <r0bby> I can't be bothered
16:02:11 <r0bby> I just leave my lid open 24/7
16:02:47 <r0bby> there needs to be like a book for devs to read
16:02:50 <r0bby> I'm overwhelmed
16:03:08 <r0bby> not "click here" "click this next"
16:03:18 <r0bby> "Okay, now sell your soul to docpaul and burke"
16:03:30 *** cancer has quit IRC
16:03:37 <r0bby> "Okay, now wait for our hitman to take you out"
16:04:11 <r0bby> should I be developing against trunk or what?
16:04:11 <r0bby> OH mnevermind
16:04:18 * r0bby needs to rtfm
16:05:43 * bwolfe needs to wtfm
16:05:53 <bwolfe> w=write :-)
16:05:55 <burke> r0bby: there is definitely a learning curve. we're working to improve it (we've hired a technical writer & are working on refactoring the api)...
16:06:24 <burke> now take off the m at the end :p
16:08:14 <napi> all api's have learning curves
16:08:24 <r0bby> I'll learn it quick
16:10:12 <r0bby> paul is seriously gonna have to walk me through the data-model
16:10:19 <bwolfe> napi: so getting to know the code isn't 100% needed by the time students start
16:10:28 <bwolfe> its just 100% recommended :-)
16:10:35 <r0bby> I wanna know the codebase
16:10:42 <r0bby> I *REALLY* wanna do this -- but right now
16:10:47 <napi> well knowing it by the time I start wouldn't be the issue. It's knowing it by the deadline for applications
16:10:47 <r0bby> kinda overwhelmed
16:10:58 <r0bby> and well uhm never worked on something this huge :P
16:11:00 <napi> Want to do the pateint portrait
16:11:10 <r0bby> napi: somebody else is gonna do that iirc
16:11:14 * r0bby points to jjzeidner
16:11:18 *** pearlbear has joined #openmrs
16:11:18 *** ChanServ sets mode: +v pearlbear
16:11:27 <napi> oh goody lol
16:11:47 <r0bby> napi: i'm gonna work on groovy integration w/ burke
16:12:07 <bwolfe> jjzeidner: is going to work on complex_obs I think
16:12:08 <r0bby> I'm seriously gonna make use of my whiteboard here to keep shit straight
16:12:20 <bwolfe> and there have been more than a few people showing interest in the patient image support project
16:12:24 <r0bby> bwolfe: which includes images :P
16:12:32 <r0bby> I have no interest unfortunately
16:12:39 <r0bby> I have a niche in groovy
16:12:40 <r0bby> :x
16:12:44 <r0bby> drove people NUTS
16:12:49 <r0bby> oh burke
16:12:57 <r0bby> update your blog post to not import java.io.*
16:13:00 <bwolfe> r0bby: probably not...burke will tell you that patient images will probably end up getting stored in person_attributes :-)
16:13:02 <r0bby> it's not needed :P
16:13:32 <r0bby> bwolfe: that was not to you; that was to burke
16:13:48 <r0bby> groovy imports most of the commonly used packages for you
16:13:51 <burke> yeah...I realized that later. I'll fixed it. I copied that from a Groovy example somewhere.
16:14:03 <r0bby> whoever wrote that is a moron
16:14:12 <r0bby> or didn't bother reading
16:14:57 <burke> i want to be a moron too.
16:15:04 <sunbiz> is anyone already doing the image acquisition and viewing thing ??
16:15:24 <burke> sunbiz: not yet. it's popular, though.
16:15:38 <r0bby> def sb = new StringBulder(); def list = ['musa',30,m].each { sb.append(it).append(" "); } sb.toString();
16:15:50 <r0bby> random
16:15:51 <r0bby> :>
16:16:02 <r0bby> def sb = new StringBulder(); def list = ['musa',30,'m'].each { sb.append(it).append(" "); } sb.toString();
16:16:06 <r0bby> now it works.
16:16:07 <r0bby> :>
16:16:20 <r0bby> native language support for lists/maps ftw!
16:16:29 <sunbiz> wasnt the license patch tried ??
16:16:30 <bwolfe> sunbiz: no one is doing any of the projects in the "new and assigned projects" section. several students have written emails or talked in here about that particular one though
16:16:50 <bwolfe> sunbiz: not yet. let me fire up eclipse
16:16:51 <burke> ['musa',30,'m'].join(' ')
16:16:56 <r0bby> OH!
16:16:58 <r0bby> :)
16:17:04 <r0bby> burke: thanks
16:17:06 <r0bby> good :)
16:17:12 <r0bby> that's one way
16:17:15 <r0bby> :D
16:17:22 <r0bby> burke++
16:17:22 <burke> r0bby: have you every programmed in python?
16:17:30 <r0bby> burke: no, but i looked at it
16:17:33 <bwolfe> sunbiz: can you attach the java file (or script) you wrote to generate it?
16:17:42 <r0bby> and python uses levels of indentation for blocks iirc
16:17:57 <sunbiz> yea.. I'll do that
16:18:04 <burke> python rocks. and python does with lists what perl does with text -- i.e., eats it up & makes it insanely easy
16:18:05 <r0bby> it's not that bad
16:18:15 <sunbiz> I think I changed the folder parser at the end moment
16:18:16 <burke> groovy seems to take the goodness of python re: lists
16:18:21 <r0bby> groovy is based off of python yeh
16:18:24 <r0bby> and ruby
16:18:28 <r0bby> and a few languages
16:18:33 <burke> i dunno the specifics of the history
16:18:36 <burke> but it feels like it
16:18:38 <r0bby> the closures in groovy are what made it insanely nice.
16:18:44 <sunbiz> more like Ruby+Python
16:18:58 <r0bby> wikipedia has a good bit on the language history
16:19:05 <burke> i *love* the operator overloading and the support for """multiple line
16:19:07 <sunbiz> actually... groovy rhymes with ruby!!
16:19:07 <burke> strings"""
16:19:18 <burke> slant rhyme
16:19:24 <sunbiz> yea
16:19:26 <r0bby> burke: do you have IM or something that'd make communication easier
16:19:49 <r0bby> or is it better to discuss in the open channel
16:20:15 <burke> we're all about transparency
16:20:20 <burke> we learn more that way
16:20:32 <burke> gsoc students will be pushed to discuss projects on the dev list
16:20:42 <burke> and blog at least weekly
16:20:49 <r0bby> I'm not doing gsoc
16:20:54 <burke> y not?
16:21:03 <burke> do you not like google t-shirts?
16:21:06 <r0bby> 1) not an active student
16:21:10 <r0bby> Broke matriculation
16:21:24 <r0bby> by taking the semester off b/c my schedule didnt allow for school
16:21:35 <burke> hmmm. any chance that you'll be going to any school in the near/distant future?
16:22:03 <r0bby> in a study about parathyroidism hormone replacement in people w/ hypoparathyrodism and the effects on the skeletal system
16:22:14 <r0bby> (At columbia university (new york presbyterian)
16:22:36 <burke> so, you're at a university? that's getting warmer. :-)
16:22:40 <r0bby> and the visits are scheduled close together atm i'd miss SO much class
16:22:45 <r0bby> burke: no
16:22:46 <r0bby> LOL
16:22:55 <r0bby> im a study SUBJECT
16:22:56 <r0bby> lOL
16:22:59 <r0bby> not a student :P
16:23:02 <burke> so no plan to return to school?
16:23:06 <burke> subjects can learn too.
16:23:06 <r0bby> yes
16:23:09 <r0bby> next semester
16:23:14 <r0bby> hopefully
16:23:17 <burke> so, you're a student on a break, then.
16:23:21 <r0bby> depending on how things are going
16:23:31 <r0bby> but currently im not considered a student :P
16:23:49 <burke> that's a technicality.
16:23:58 <r0bby> and it's a community college (A.S. in computer science)
16:24:27 <burke> if you're taking time off from school while participating in this study and planning to return, then you're a student.
16:24:31 <sunbiz> robby: sorry for my noobness, but whats A.S stand for??
16:24:42 <r0bby> Associates of Science
16:24:45 <burke> if you're studying Java specs to learn about them, you're a student
16:24:52 <burke> you're more student than not, r0bby
16:25:04 <r0bby> this is for _ME_ not for college credit
16:25:29 <sunbiz> I agree with burke on that one from whatever I've heard from you
16:25:54 <burke> r0bby: do you want to participate in GSoC? that is, if you were actively in school, would you?
16:25:57 <r0bby> sunbiz: yeh -- just the new java features that may or may not be integrated into the official sun jdk
16:26:05 <r0bby> burke: pm?
16:26:12 <burke> sure.
16:27:55 <sunbiz> burke: u wanted the java file right ??
16:28:48 <sunbiz> do...I attach it to the same ticket ??
16:29:38 <sunbiz> I removed the folder parsing part in the end coz it was taking lot of time and I thought the process was hanging
16:29:57 <sunbiz> I'll attach the manual folder selection one
16:32:47 * bwolfe absolutely loves leftover ham sandwiches
16:33:09 <bwolfe> sunbiz: yeah, same ticket
16:34:30 <sunbiz> ben: done
16:35:53 <sunbiz> Before SoC starts I also want to do a few other tickets... like #152, #175 with Firefox
16:36:13 <sunbiz> those are pretty old ones
16:38:12 <bwolfe> 175 is a project on the project page as well....
16:38:20 <bwolfe> 152 drives me bonkers
16:40:42 <sunbiz> 152 should be fun... I once made a extension for our internal student monitoring through the browser
16:42:11 <sunbiz> it should be on how I made on my blog: http://sunnytalkstech.blogspot.com
16:43:47 <bwolfe> for solving 152? or do you mean 175?
16:45:38 <sunbiz> #175 is the firefox addon... right?? So I had made a firefox addon for student monitoring
16:46:13 <sunbiz> its not like #175, but just an addon, a little more complex than #175
16:46:30 <sunbiz> I guess... #175 shouldn't take much time
16:47:04 <bwolfe> right, it should be fairly easy. more a matter of figuring out the firefox plugin setup than anything
16:47:58 <sunbiz> I guess when we start the webapp for the first time we can ask for the addon install
16:48:29 <bwolfe> sunbiz: nah, we'd probably just make it totally optional and only link to it in the documentation
16:48:53 <sunbiz> i..i..sir
16:49:21 <bwolfe> the plugin just fixes the annoying popup and makes the infopath form from openmrs a lot more seamless...its not necessary for things to work perse
16:49:49 <bwolfe> sunbiz: besides, we don't want to force people to use firefox
16:50:26 <sunbiz> yea... but when infopath is installed it may directly open there na??
16:50:51 <sunbiz> and it'll only ask to install when we can detect firefox ...
16:51:03 <sunbiz> anyways...I agree with ur points... better to have it in the doc
16:52:54 <bwolfe> yeah, I suppose we could put a check in the formentry module (the one that uses infopath) that checks for firefox...but then is there a js call in firefox for "does this plugin exist" ?
16:54:01 <sunbiz> Firefox manages the install of the XPI... we dont need to worry about that
16:56:31 <bwolfe> sunbiz: yeah, I get that...but I'm talking about possibly doing your little note to the user
16:56:51 <bwolfe> in our jsp pages we could put a small js call to see what hte current user's browser is
16:57:03 <sunbiz> Ben: why did we change the image acquisition separate... and the viewing+annotation separate ??
16:57:10 <sunbiz> Are they pretty big ones ??
16:57:32 <sunbiz> yes... we can do that using the normal agent test!!
16:58:11 <bwolfe> if the browser is firefox, we then do another call to see if the user already has that special plugin? if they don't have it, we show then a note saying "you can improve your experience if you install ___". if they do have the plugin already, just continue as normal
16:58:30 <sunbiz> yes...exactly
16:58:57 <bwolfe> sunbiz: not sure on the project separation. burke and paul did that on friday. I think the way its laid out with writing a java applet its a pretty big project
16:59:12 <bwolfe> if its written as a javascript tool, it would be a lot smaller I think
16:59:27 <bwolfe> sunbiz: do you know of the js call in firefox for "does the user have plugin X" ?
17:01:24 <sunbiz> when u open the XPI
17:01:29 <sunbiz> it'll tell its already installed
17:02:09 <bwolfe> but before that
17:02:11 <sunbiz> I dont think Im geting you correctly then??
17:02:50 <burke> sunbiz: we separated the projects b/c there's plenty to do on each side (lots of workflow and details on image acquisition -- e.g., crop/fix/add metadata prior to uploading). image viewing has its own details to worry about (different image manipulation needs, zoom/pan/image adjustments and annotations)
17:03:00 <bwolfe> so that we can just show a note to the user suggestion that they install the plugin.
17:03:12 <bwolfe> why show a note saying that they should install it if they already have it?
17:04:07 <sunbiz> yea... we wont if its already installed
17:10:17 <sunbiz> ok...guys gotta get back... 4:40am and I've tanenbaum's DS calling!!
17:10:44 <bwolfe> ha, ok
17:10:46 <bwolfe> cya
17:11:16 *** sunbiz has left #openmrs
17:46:48 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [3685]: Applying patch for ticket #188 to trunk for sunbiz <http://dev.openmrs.org/changeset/3685>
18:03:34 *** Keelhaul has joined #openmrs
18:03:35 *** ChanServ sets mode: +v Keelhaul
18:05:34 <docpaul> hi. :)
18:06:07 <docpaul> we've got a rockstar candidate for the "advanced image manipulation" project
18:06:55 <r0bby> docpaul: =)
18:07:08 <r0bby> I just got a sample read-only property example written!
18:07:10 <docpaul> heya roberto. :)
18:07:25 <r0bby> me and burke were hammering out a way that i could do soc
18:07:27 <Keelhaul> hi
18:18:27 <r0bby> hey Keelhaul
18:19:01 <napi> r0bby, got it sorted?
18:19:14 <r0bby> napi: sort of
18:19:24 <r0bby> but not sure yet
18:32:21 <r0bby> WOW properties are kickass
18:32:34 <napi> :)
18:32:40 <r0bby> http://eugeneciurana.com/pastebin/pastebin.php?show=14386
18:32:41 <OpenMRSBot> <http://ln-s.net/1iUG> (at eugeneciurana.com)
18:32:41 <r0bby> :)
18:32:55 <r0bby> :D
18:33:42 <r0bby> getting me motivated isn't hard
18:33:58 <napi> mm so glad I got a piece of coursework to do in java in a couple of weeks - will refresh my memory of the language. not used it for over a year now :/
18:34:08 <r0bby> napi: Oh
18:34:12 <r0bby> Iw arn you
18:34:16 <r0bby> that's not in java yet :P
18:34:23 <r0bby> it's a proposed topic
18:34:24 <napi> lol i know
18:34:44 <napi> But just looking at it reminded me
18:37:05 <napi> righty. shoving dissertation schedule back a day so I can work out openmrs so I can actually make a decent application
18:37:25 * napi sends grovelling email to tutor
18:38:52 <burke> r0bby: http://eugeneciurana.com/pastebin/pastebin.php?show=14387
18:38:53 <OpenMRSBot> <http://ln-s.net/1iUL> (at eugeneciurana.com)
18:39:02 <burke> and it works today. :p
18:39:15 <r0bby> burke: duh
18:39:19 <r0bby> groovy
18:39:21 <r0bby> I know that.
18:39:29 <burke> hehe
18:39:41 <r0bby> I spent days JUST reading groovy in action
18:39:59 <Keelhaul> =o
18:40:13 <napi> I can't afford more than a day though
18:40:29 <napi> I don't need to know the api inside out - just enough that I can write an informed application
18:40:48 <napi> ".. inside out" + "at this stage"
18:43:04 <r0bby> I need to know a good bit
18:43:23 <r0bby> the rest I can use javadocs
18:43:36 <r0bby> nobody COMPLETELY memorized the java API
18:43:44 <r0bby> but you're familiar w/ it
18:44:03 <r0bby> like knowing what methods what params etc
18:45:10 <napi> refreshing java will be cake. it's becoming familiar with openmrs structure that will take time
18:46:11 <r0bby> heh yeh
18:46:16 <r0bby> yeh
18:46:44 <r0bby> i'll prolly wind up doing it for nothing so motivation will really be that it'll be helping others
18:47:39 <Keelhaul> you dont have to KNOW the params
18:47:44 <Keelhaul> or methods
18:47:46 <Keelhaul> just have a good IDE =P
18:48:36 <napi> r0bby; I graduate in july, so being able to do this through gsoc would be awesome as I wouldn't have to worry about getting a job while I can focus on coding projects
18:48:51 <r0bby> Keelhaul: yeh
18:48:56 <r0bby> lately i'm ruined
18:49:05 <r0bby> but for example I know String.split() takes a regex
18:49:12 <r0bby> and String.matches() a regex too.
18:49:50 <r0bby> but it's quicker knows then scrolling through a list of options EVERY time
18:51:47 <Keelhaul> i was referring to the openmrs api mostly
18:52:00 <Keelhaul> but a good ide helps with standard java as well i guess
18:52:44 <napi> We currently have a commonly used plugin, which utilizes Microsoft's InfoPath program for data entry <-- was no way round that? :/
18:54:02 <elad> what ide do you guys use? I mainly use eclipse, but im looking at intellij idea
18:54:12 <bwolfe> infopath had (and has) the best gui form creation process
18:54:27 <bwolfe> r0bby here uses idea...and he'll sing its praises for you
18:54:40 <bwolfe> all of the cool kids use eclipse though
18:54:44 <Keelhaul> lol
18:54:45 <elad> o/
18:54:57 <napi> Jcreator here
18:55:01 <Keelhaul> eclipse can be a bitch
18:55:06 <Keelhaul> but it's good enough i gues
18:55:06 <Keelhaul> s
18:58:16 <napi> hmm. openmrs demo is slooooow atm
19:00:37 <docpaul> we went with a hosted solution for the demo site, and i'm beginning to think it was a big mistake
19:00:48 <docpaul> we had our own dedicated machine, and it ran awesome
19:01:04 <docpaul> hi guys
19:01:32 <napi> changed cause of the cost?
19:01:45 <docpaul> no, changed b/c we thought it'd be easier and less maitenance
19:01:47 <docpaul> pshaw
19:02:43 <napi> fair enough
19:03:01 <bwolfe> I don't think its running any worse than it would have on our machine paul
19:03:17 <bwolfe> besides, we would have had to manage two tomcat installs anyway
19:03:34 <bwolfe> because its a necessity to separate modules/occ/update with demo
19:04:43 * r0bby dances
19:04:50 <r0bby> Okay I've got properties examples set up
19:04:50 <r0bby> :)
19:04:59 <r0bby> not sure _WHY_ i'd use a write-only property
19:05:22 <r0bby> perhaps for maybe instantiating something
19:05:39 <r0bby> like a reference variable perhaps
19:05:54 <r0bby> but even then...
19:07:23 <r0bby> bwolfe: =D
19:07:29 * r0bby dances
19:07:55 <bwolfe> ?
19:08:00 <r0bby> nothing
19:08:10 <bwolfe> r0bby--
19:08:12 <r0bby> I think I a java 7 fetish
19:08:20 <bwolfe> heh
19:09:20 <r0bby> I've just written code in my IDE completely ignoring the syntax errors it yells at me for
19:09:29 <r0bby> it
19:09:40 <r0bby> s/it//
19:18:53 * r0bby adding ANOTHER post
19:23:04 <elad> robby, have you used the gui editor in idea?
19:23:14 <r0bby> elad: I don't use gui editors.
19:23:20 <r0bby> I despise them too much
19:23:31 <r0bby> find me one that generates elegant code
19:23:41 <elad> ive only used netbeans and well the generated code is nasty
19:24:02 <r0bby> you dont have to tell me.
19:26:24 <r0bby> HAHAHHAHA
19:27:31 <r0bby> read-only properties aren't really read-only
19:28:20 <Keelhaul> hm
19:28:27 <Keelhaul> theres something i wanted to ask
19:28:33 <Keelhaul> oh yea
19:28:44 <Keelhaul> the openmrs constants class
19:28:47 <Keelhaul> if i add new privs
19:29:00 <Keelhaul> am i supposed to extend it?
19:29:45 <r0bby> according to tthe spec it SHOULD be a compile-time error...
19:40:17 *** nribeka has joined #openmrs
19:42:01 <docpaul> ben is a total tool bucket... and his momma is so ugly that...
19:42:05 <docpaul> whoops
19:42:09 <bwolfe> haha
19:42:15 <bwolfe> !karma docpaul --
19:42:15 <OpenMRSBot> bwolfe: Error: "karma" is not a valid command.
19:44:24 <napi> !list
19:44:24 <OpenMRSBot> napi: Admin, AutoMode, Channel, ChannelLogger, ChannelStats, Config, Herald, Misc, NickCapture, Note, Owner, RSS, Reply, Seen, Services, ShrinkUrl, Status, Todo, and User
19:44:38 <bwolfe> hmm, I turned on karma for our bot, but I don't know how to use it!
19:44:43 <bwolfe> ~docpaul--
19:44:50 <bwolfe> nothin'
19:45:13 <bwolfe> oh well
19:45:39 <bwolfe> heading out
19:45:42 <bwolfe> cya guys
19:45:47 <napi> night
19:46:37 *** bwolfe has quit IRC
19:48:47 <nribeka> hi all
19:49:04 <nribeka> i need to ask question about openmrs
19:49:28 <nribeka> docpaul, i have a question
19:49:32 <nribeka> are you busy now?
19:51:47 *** sunbiz has joined #openmrs
19:52:25 <r0bby> you're kidding right
19:52:27 <r0bby> ...
19:53:03 <nribeka> hei robby, how are you?
19:53:21 <nribeka> i'm sure you are familiar with openmrs code right haha ...
19:53:37 <nribeka> i'll ask you then ... :D
19:54:26 <sunbiz> hey..guys !!
19:55:37 <Keelhaul> hi
19:56:04 <sunbiz> robby: was reading about u hating GUI editors!! :))
19:56:15 <sunbiz> u really dont believe much in RAD I guess...
19:58:09 <r0bby> nribeka: i'm not actually
20:00:11 <sunbiz> have u tried netBeans Database application GUI template!! try building something like that with beans binding in Emacs :P
20:00:12 <nribeka> hehe ... i need to wait for the others then :P
20:03:05 <r0bby> sunbiz: no
20:03:09 <r0bby> i dont use netbeans
20:03:11 <r0bby> ever.
20:03:38 <sunbiz> it really helps when u have a deadline...
20:05:08 <sunbiz> and J2ME development!!?? Obviously netBeans beats all the other IDEs out there!!
20:05:26 <nribeka> i use eclipse most of the time
20:06:12 <nribeka> netbeans is kinda sucks most of the time, just personal opinion though ... :-P
20:06:12 <sunbiz> nribeka: for J2ME dev as well ??
20:06:32 <nribeka> haven't gone to J2ME side ...
20:06:43 <sunbiz> which was the last version of netbeans that u've used ??
20:07:00 <nribeka> just recently
20:07:11 <nribeka> 6.x i think
20:07:25 <sunbiz> ok...
20:07:38 <nribeka> there were some minor glitches that i find annoying ...
20:07:43 <sunbiz> r u working on the auto-update on MRS ??
20:07:48 <sunbiz> like ??
20:08:16 <nribeka> yeah, i want to work on that but right now i'm working on the internationalization part
20:08:51 <nribeka> most of the value are hard coded in the OpenMRSConstants class and inside the database :-P
20:09:06 <nribeka> not most of them
20:09:10 <nribeka> some of them ...
20:09:39 <nribeka> sorry, i'm not a my native language is not english :-P
20:10:12 <nribeka> hahaha ... i screw up, my native language is not english
20:11:33 <nribeka> robby: wow, you are talking about futurama now
20:11:35 <sunbiz> I brought up the topic of auto-update when talking about netBeans...because they updates modules in a good way
20:11:56 <sunbiz> *update
20:12:14 <nribeka> how did they do the update?
20:12:47 <nribeka> do you have any references?
20:12:53 <sunbiz> With an update descriptor... marking the changes in modules
20:13:08 <r0bby> http://robbyoconnor.blogspot.com/2008/03/java-gets-some-properties.html
20:13:10 <r0bby> latest
20:13:11 <sunbiz> and then download the modules
20:13:11 <OpenMRSBot> <http://ln-s.net/1iVW> (at robbyoconnor.blogspot.com)
20:13:40 <sunbiz> and then after the modules asks if you want to restart the IDE
20:13:59 <nribeka> robby: haha ... suddenly it's a new one there
20:16:22 <nribeka> sunbiz: where is this "marking the changes in modules" occur? in local machine? so you mean netbeans contact the update site everytime we start netbeans?
20:16:38 <r0bby> it's HORRIBLE this prototype
20:16:52 <r0bby> it totally ignores an IMPORTANT aspect of the spec.
20:17:20 <docpaul> sorry
20:17:22 <docpaul> i'm back
20:17:48 <docpaul> whatcha need nri?
20:18:08 <r0bby> gawd that example actually makes me sick
20:18:10 <sunbiz> yea
20:18:27 <nribeka> just wanna update about the intl stuff
20:18:51 <sunbiz> robby: Properties aren't a very good idea...atleast the way they affect the language in C#
20:19:14 <nribeka> seems that some value come from the database and OpenmrsConstants class
20:19:25 <nribeka> this value will always be in english :-P
20:19:37 <nribeka> so, is it ok to change the database?
20:20:00 <nribeka> change it to key of the spring properties?
20:20:11 <nribeka> message.properties i mean
20:20:31 <docpaul> there are different message.properties files for different localizations
20:20:52 <docpaul> we have french and portugese and something else i think as well as english
20:20:59 <docpaul> i havent kept up with that all that much
20:22:03 <r0bby> sunbiz: how so?
20:22:52 <sunbiz> I'm trying to find an example to show you the thing...
20:23:04 <r0bby> write up one.
20:23:08 <nribeka> yup i see that, but some of the message displayed are not coming from the props file
20:23:17 <r0bby> but regardless it's handy to have
20:23:44 <r0bby> sunbiz, and i'm sure whoever designed the spec has taken that into account
20:23:54 <sunbiz> http://cephas.net/blog/2004/02/16/c-public-properties-vs-java-getx-and-setx/
20:23:56 <OpenMRSBot> <http://ln-s.net/1iVk> (at cephas.net)
20:24:10 <sunbiz> this is one accessor problem...but there are many more
20:25:12 <sunbiz> Ruby has the one of the best ideas closer to the properties that is ideal
20:25:59 <r0bby> sunbiz: class Foo { private String name; } def f = new Foo(); f.name = "rob"; println f.name;
20:27:24 <sunbiz> thats good
20:27:37 <r0bby> sunbiz: getters are indeed generated there.
20:27:58 <r0bby> i forgot the operator to access fields directly
20:29:26 <sunbiz> yes... u aint making it clean with the current JCP on properties
20:30:55 <nribeka> docpaul, go to logoff for a moment
20:30:58 <nribeka> brb
20:31:03 *** nribeka has quit IRC
20:31:13 <r0bby> heh
20:31:31 <sunbiz> me signing off as well
20:31:46 <sunbiz> bye!
20:31:56 *** sunbiz has left #openmrs
20:42:12 <r0bby> interesting
20:42:16 <r0bby> reflection doesn't work.
20:44:18 <r0bby> (using the prototype
20:45:48 *** nribeka has joined #openmrs
20:50:41 <r0bby> interesting im the first bug report ;x
20:57:15 <Keelhaul> lol
20:57:29 <Keelhaul> why did sunbiz request a disclaimer in all files?
21:01:55 <r0bby> ...
21:02:36 <r0bby> Now i put a lot of clout to things Fowler says (he's a brilliant man; as well as an amazing teacher)
21:02:44 <r0bby> he can program _AND_ teach.
21:03:12 <r0bby> but properties could improve the language; not having worked w/ C# much i can't comment
21:24:30 <nribeka> docpaul: are u still there?
21:27:02 <docpaul> nri: yes
21:28:52 <nribeka> as i said before, some of the string literal used in openmrs are hard coded inside openmrsconstants and database
21:29:13 <nribeka> you can see the example of them in the Privilege Management page
21:29:22 <docpaul> yes
21:29:56 <docpaul> is that a question or a prep for a comment
21:30:49 <nribeka> prep for comment :D
21:35:13 <nribeka> is it ok to change the database?
21:35:26 <docpaul> how do you want to change it?
21:35:51 <nribeka> just changing the value
21:36:03 <docpaul> of what, a privilege?
21:36:29 <nribeka> no
21:37:06 <nribeka> the privilege string is in the OpenmrsConstants class
21:37:26 <nribeka> the one in the database is the location stuff in the create new patient page
21:37:35 <nribeka> just changing the string value to key
21:38:01 <nribeka> so when we display it, instead of taking the string directly from database
21:38:14 <nribeka> we get the key of props from the database
21:38:25 <nribeka> and let spring fetch the value from the props
21:38:34 <docpaul> i'm having a hard time following... perhaps a language thing
21:38:44 <nribeka> haha ... i'm sorry :(
21:38:56 <docpaul> no, not your fault
21:40:42 <docpaul> http://dev.openmrs.org/browser/openmrs/branches/api_refactoring/src/api/org/openmrs/util/OpenmrsConstants.java?rev=3608
21:40:51 <docpaul> here's the openmrsconstants file
21:41:00 <docpaul> you want to change something in it, or?
21:41:00 <Keelhaul> docpaul
21:41:05 <Keelhaul> if i wanna define my own privs
21:41:08 <Keelhaul> which i do in a module
21:41:22 <Keelhaul> i cant use the constants file to check for them
21:41:28 <Keelhaul> should i just use hard coded strings instead
21:41:40 <docpaul> is this the same thing that nri is talking about?
21:41:41 <Keelhaul> or extend OpenmrsConstants
21:41:46 <Keelhaul> i dunno
21:41:52 <docpaul> i think it might be
21:42:03 <Keelhaul> this is related to my own stuff heh
21:42:08 <nribeka> :-)
21:42:11 <Keelhaul> i think nri proposes a change to trunk
21:42:17 <nribeka> for example this one: public static final String PRIV_VIEW_OBS = "View Observations";
21:43:03 <nribeka> if we use this, then if we select other language, then it will still be displayed as "View Observations"
21:43:09 <docpaul> ah, i see
21:43:18 <docpaul> you want localization for constants
21:43:26 <docpaul> this is a good suggestion
21:43:42 <docpaul> please bring this up to bwolfe
21:43:43 <nribeka> i'm sorry for making you confuse hahaha ... :-)
21:43:49 <nribeka> :-P
21:43:58 <docpaul> not your fault... i am dense
21:44:13 <docpaul> keel: certain there's a way to have new privs in a module
21:44:20 <Keelhaul> yes
21:44:25 <Keelhaul> it auto creates the ones you define
21:44:29 <docpaul> hard for me to imagine that you'd have to have them registered in constants
21:44:39 <Keelhaul> but i dont have constants for those, obviously
21:44:44 <docpaul> right
21:45:10 <Keelhaul> oh well for now, i'll just hard code them i guess
21:45:21 <docpaul> i think that makes the most sense given the circumstance
21:45:25 <docpaul> but i dont like that design
21:45:51 <Keelhaul> well
21:45:51 <Keelhaul> then you'll need to define symbols for every priv i guess
21:45:51 <docpaul> on our side, of course
21:46:31 <nribeka> there are many of kind of string inside openmrs :-)
21:47:31 <nribeka> and also, when i try to create a patient with a blank location i get NPE :-P
21:47:58 <Keelhaul> yea, exceptions are really annoying
21:48:09 <Keelhaul> wont even tell you which value is null
21:48:25 <Keelhaul> as an end user, i'd get pretty upset =P
21:48:32 <nribeka> haha ... that's so true
21:51:32 <docpaul> we're a work in progress... with warts. :)
21:51:37 <Keelhaul> ok sleep time for me
21:51:38 <Keelhaul> gn
21:51:46 <docpaul> so, you can either bitch... or you can bug fix. :)
21:53:13 <nribeka> haha ... i choose bug fix coz i'm not a bitch :-)
21:53:20 <docpaul> hehe
21:53:56 <nribeka> docpaul: silly question from me
21:55:00 <docpaul> nri: no such thing as a silly question. :) i welcome them...
21:55:07 <nribeka> there's ${privilegeList} -> what does this means?
21:55:28 <nribeka> i never seen this one before :(
21:57:12 <docpaul> what's unusual about it?
21:57:44 <nribeka> just never seen it before :P
21:58:03 <nribeka> eh seen it inside ant build.xml
21:58:22 <docpaul> http://dev.openmrs.org/browser/branches/scheduler/web/WEB-INF/view/admin/users/privilegeList.jsp?rev=1633
21:58:24 <OpenMRSBot> <http://ln-s.net/1iX+> (at dev.openmrs.org)
21:58:33 <nribeka> yups inside that file
22:00:33 <nribeka> i think i can learn a lot from openmrs
22:00:34 <docpaul> oh wait, are you referring to the velocity notation?
22:00:37 *** burke has quit IRC
22:01:03 <nribeka> yups ...
22:01:31 <nribeka> ah ic
22:01:45 <nribeka> is it coming from velocity?
22:01:51 <docpaul> think so
22:02:13 <nribeka> ic ...
22:02:59 <nribeka> the only thing that i've seen and work with is struts + spring + hibernate
22:03:21 <nribeka> and it's a year ago before i come here haha ...
22:03:46 <docpaul> yeah, velocity is a templating tool that allows you to refer to java objects
22:03:59 <nribeka> and interestingly, it was the same type of project with openmrs
22:04:27 <nribeka> oo ic ... sorry for the silly question :P
22:04:32 <docpaul> not silly
22:07:17 <nribeka> i think that's all the question for now ...
22:07:28 <nribeka> i will ask more question
22:07:50 <nribeka> but later :D
22:11:03 *** Keelhaul has quit IRC
22:28:00 *** chase_ has joined #openmrs
22:30:02 *** chase_ is now known as catullus
22:46:20 *** jjzeidner has quit IRC
23:10:43 <catullus> w00t build successful
23:13:15 <r0bby> catullus: cool what ya doin?
23:13:25 <catullus> just built openmrs for the first time =)
23:16:46 <r0bby> bah :P
23:16:51 <r0bby> building is easy.
23:18:17 <nribeka> catullus: don't listen to robby. great job catullus :)
23:18:37 <nribeka> robby: haha ...
23:18:44 <catullus> haha it actually was easier than i thought it would be
23:18:53 <catullus> only had to change a couple settings
23:19:02 <catullus> christian made it sound like it would take me weeks
23:19:04 <catullus> haha
23:25:26 <nribeka> christian?
23:27:17 <catullus> christian allen, at pih
23:29:10 <nribeka> what is pih? i'm sorry i'm lost here :)
23:29:36 <catullus> partners in health
23:29:41 <r0bby> catullus: ah
23:29:42 <r0bby> :)
23:29:51 <r0bby> catullus: just pulling your chain
23:30:20 <catullus> =)
23:40:36 <r0bby> gg
23:40:37 <r0bby> er