IRC Chat : 2008-05-16 - OpenMRS

00:23:54 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [4237]: groovymodule: cleaning this up as well; has some unnecessary … <http://dev.openmrs.org/changeset/4237> || OpenMRS Changesets: Changeset [4236]: groovyforms: more unneccessary initializations <http://dev.openmrs.org/changeset/4236> || OpenMRS Changesets: Changeset [4235]: groovyforms: small change. instance fields are implicitly initialized. <http://dev.openmrs.org/changeset/4235> || OpenMRS Changesets: Changeset [4234]: patientmatching: Modified some string value displayed on the record linker … <http://dev.openmrs.org/changeset/4234>
00:26:25 <r0bby> nribeka: ping
00:26:40 <r0bby> nribeka++
00:26:48 <r0bby> for not having that crud from matisse
00:26:50 <nribeka> hi r0bby, still here :D
00:27:09 <nribeka> i guess it's just the two of us here haha ...
00:27:11 <r0bby> but i use would use an anonymous inner class for the actionlistener
00:27:23 <r0bby> just the idiomatic way to do it, or so it seems
00:27:35 <nribeka> which one is better actually?
00:27:50 <nribeka> do they have impact on performance for example?
00:27:53 <r0bby> well, if you're gonna have multiple inner classes (ie multiple buttons
00:28:03 <r0bby> an anonymous class is best
00:28:16 <r0bby> it eliminates the need for a crapload of ifs
00:28:41 <r0bby> because that actionPerformed() is focused on *THAT* one button
00:28:56 <nribeka> ah ic
00:29:04 <r0bby> and +1 for using GBL
00:29:25 <r0bby> just my 2 cents
00:29:30 <nribeka> hehe ...
00:29:31 <nribeka> :D
00:29:38 <nribeka> thanks for +2
00:30:04 <r0bby> I actually hate doing front-end work
00:30:12 <nribeka> what are doing right now r0bby?
00:30:13 <r0bby> why i signed on for this is beyond me
00:30:19 <r0bby> well I did some cleanup work
00:30:26 <r0bby> shut up IDEA's warnings
00:30:27 <r0bby> and fixed it
00:30:40 <nribeka> well, i can't avoid the front end work. my project is a swing based apps
00:30:42 <r0bby> laid out my ideas and how i plan on appraoching it
00:30:46 <r0bby> heh yeh
00:30:49 <nribeka> wow ...
00:30:49 <r0bby> neither can i!
00:30:57 <r0bby> my entire project is front-end!
00:31:02 <nribeka> you start the planning stuff ...
00:31:05 <r0bby> hell i'm DESIGNING the front-end!
00:31:11 <nribeka> haha ... so that's make the two of us ...
00:31:15 <r0bby> no, me and burke need to do it
00:31:17 <nribeka> same here r0b
00:32:07 <nribeka> front end frenzy ...
00:32:24 <nribeka> have you ever looked at swing app framework?
00:32:58 <r0bby> a little bit
00:33:04 <r0bby> it's one of the java 7 JSRs
00:33:20 <nribeka> really?
00:33:30 <nribeka> it's going to be part of 7?
00:33:31 <r0bby> one thing make sure you do your gui stuff on the edt
00:33:52 <r0bby> SwingUtilities.invokeLater(new Runnable() { public void run() { ... } });
00:34:14 <r0bby> http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html
00:34:15 <OpenMRSBot> <http://ln-s.net/1s6W> (at java.sun.com)
00:34:19 <nribeka> yeah, that is my plan for this project ...
00:34:21 <r0bby> read that =)
00:34:27 <nribeka> single thread stuff :D
00:34:29 <r0bby> otherwise your gui will lock up
00:34:38 <nribeka> i read the filthy rich client books :D
00:34:51 <r0bby> get your book yet?
00:35:30 <r0bby> nribeka: what's your opinion
00:35:33 <r0bby> http://openmrs.org/wiki/GroovyForms_Module#Design_Ideas
00:35:34 <OpenMRSBot> <http://ln-s.net/1s6X> (at openmrs.org)
00:35:49 <nribeka> got the books last year :P
00:35:57 <nribeka> the book is really good
00:35:59 <r0bby> this year too :P
00:36:06 <r0bby> im excited
00:36:12 <nribeka> well recommended for gui designer and devs
00:36:21 <r0bby> I have a potential job lined up after soc
00:36:34 <r0bby> I want to work for openmrs or an implementor
00:36:40 <r0bby> This is the field i wanna work in
00:36:46 <r0bby> I love the development team
00:38:18 <nribeka> wow ...
00:38:25 <nribeka> you have the general plan there ...
00:38:41 <nribeka> where do you plan to work r0b?
00:39:47 <nribeka> how do we apply to work for openmrs?
00:40:20 <r0bby> i dunno
00:40:24 <r0bby> general
00:40:47 <r0bby> I need detailed and some nudges code-wise :/
00:41:00 <r0bby> i dunno
00:41:07 <r0bby> who ever will take me
00:42:02 <nribeka> hehe ... regen r0b
00:42:05 <nribeka> :D
00:42:29 <r0bby> maybe
00:42:51 <r0bby> working along side burke,paul, ben, et. al. would be fun!!!
00:43:12 <nribeka> they're nice people
00:43:25 <nribeka> btw, i will meet ben this saturday :P
00:43:45 <nribeka> it definitely will be fun
00:43:52 <nribeka> i want to work for them too ...
00:43:55 <r0bby> ?!?!?!
00:43:58 <r0bby> why ?
00:44:12 <r0bby> I'll be meeting some soc students =)
00:44:20 <r0bby> if i dont drive lh too crazy
00:45:27 <nribeka> haha ... i want to go to NY too but me and my friends have another plan around that time :(
00:45:40 <nribeka> upload some pics for me haha :D
00:56:30 * r0bby will use his cell
00:56:51 <r0bby> oe hijack his parents cam
00:56:53 <r0bby> wait
00:57:01 <r0bby> last time i did that i got hit by a car...
00:57:38 <r0bby> is that a decent plan? :x
00:58:23 <r0bby> For each of the 3 months i want weekly deliverables
00:58:38 <r0bby> first -- i think i'll get the templating done
00:58:51 <r0bby> then storage :x
00:58:59 <nribeka> hehe ...
00:59:01 <r0bby> but burke needs to give me thwe rubber stamp
00:59:17 <r0bby> and Graeme Rocher needs to waive his license :(
00:59:43 <nribeka> i'm editing my user wiki page :P
00:59:53 <r0bby> feel free to use mine
01:00:02 <r0bby> http://openmrs.org/wiki/User:r0bby
01:00:26 <r0bby> the template i mnean :)
01:00:42 <nribeka> yepz, i'm using yours hehe :D
01:01:18 <r0bby> I want a web service in groovy
01:02:45 <nribeka> wow ... you can have web service client using groovy?
01:03:02 <r0bby> yuppers
01:04:03 <r0bby> http://groovy.codehaus.org/GroovyWS
01:05:15 <nribeka> wow ... groovy can do lots of thing. interesting ...
01:05:16 <nribeka> :D
01:06:43 <r0bby> yes.
01:06:46 <r0bby> it's powerful
01:08:04 <r0bby> we are alledgedly getting this: http://radio.javaranch.com/news/2008/05/15/1210915850202.html
01:08:07 <OpenMRSBot> <http://ln-s.net/1s6b> (at radio.javaranch.com)
01:08:57 <nribeka> you buy it?
01:09:00 <r0bby> no
01:09:10 <r0bby> google is sending it to soc students
01:09:11 <r0bby> :x
01:09:16 <nribeka> what?
01:09:17 <r0bby> aare you a soc student?
01:09:18 <r0bby> :x
01:09:24 <nribeka> how do you know?
01:09:24 <r0bby> it's the 'surprise book'
01:09:29 <r0bby> blog entry
01:09:36 <nribeka> isn't it supposed to be a surprise ...
01:09:43 <nribeka> :(
01:09:50 <r0bby> a student blogged it
01:09:55 <nribeka> arggghhhh ...
01:09:58 <[OmegentooX]> Don't spill the beans even more than they've been spilled!
01:10:08 <r0bby> we all saw it!!!
01:10:09 <nribeka> hi [OmegentooX]
01:10:19 <r0bby> :P
01:10:19 <nribeka> argghhh now it's no fun anymore :(
01:11:07 <[OmegentooX]> I'm excited about the book
01:11:10 <[OmegentooX]> But geez r0bby =P
01:11:19 <r0bby> yeh yeh yeh
01:11:20 <r0bby> :P
01:11:25 <nribeka> haha ...
01:11:28 <r0bby> mybawx.org
01:11:34 <r0bby> whois to find where to send hit men
01:11:40 <r0bby> please be gentle
01:12:08 <nribeka> http://openmrs.org/wiki/User:Nribeka
01:12:34 <nribeka> let's get that guy who spoil our surprise ...
01:12:50 <[OmegentooX]> I should update my user page
01:13:30 <nribeka> what is your user name [OmegentooX]?
01:13:36 <[OmegentooX]> MHarrison
01:15:21 <r0bby> all added :)
01:18:14 <[OmegentooX]> Just updated my user pic at least
01:18:19 <[OmegentooX]> I'll do the meaningful bits another time =D
01:18:21 <r0bby> nribeka: my page is better than yours
01:18:44 <nribeka> haha ... true. i don't what else to add over there :P
01:18:50 *** b0nd has joined #openmrs
01:18:53 <r0bby> what is your project ;)
01:18:57 <r0bby> describe it
01:19:24 <r0bby> welcome mr. b0nd
01:19:28 <r0bby> or ms(?)
01:19:38 <nribeka> i will see your page as ref r0bby
01:19:49 <nribeka> hi mr. b0nd
01:20:01 <nribeka> not james b0nd, right?
01:20:09 <b0nd> hallo nribeka
01:20:45 <nribeka> is it you r0bby?
01:21:15 <b0nd> b0nd from Malawi
01:21:39 <nribeka> ooo ... sorry :D
01:21:45 <nribeka> hi b0nd :D
01:21:59 <nribeka> i think this is the first time i see you here :D
01:25:45 <r0bby> nribeka: yes
01:26:36 <b0nd> me too
01:27:22 <b0nd> nribeka, well, i used to join the channel some time back.
01:28:03 <b0nd> i work with baobabhealth.org in Malawi
01:28:16 <nribeka> what is it?
01:28:40 <b0nd> www.baobabhealth.org
01:29:52 <b0nd> we build point of care web based touch screen systems, using openmrs data model, but with a different front end
01:32:44 <nribeka> wow ... that's cool
01:35:37 <nribeka> r0bby: patient matching gui currently is not adhere to edt thread rule :D
01:38:39 <nribeka> off to bed
01:38:46 <nribeka> see you guys tomorrow :D
01:38:55 <b0nd> bye
01:49:24 *** nribeka has quit IRC
02:20:06 *** sioraiocht_ has joined #openmrs
02:35:53 *** sioraiocht has quit IRC
02:36:04 *** upul has joined #openmrs
02:37:06 *** TorLye has quit IRC
03:46:44 *** TorLye has joined #openmrs
04:34:47 *** sioraiocht_ has quit IRC
05:03:00 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #753 (task closed): ORUR01Handler should set encounter dateCreated = new Date(), not use dateEntered from HL7 message <http://dev.openmrs.org/ticket/753#comment:1> || OpenMRS Tickets: Ticket #753 (task created): ORUR01Handler should set encounter dateCreated = new Date(), not use dateEntered from HL7 message <http://dev.openmrs.org/ticket/753>
05:35:23 *** upul has quit IRC
06:19:33 *** james_regen has joined #openmrs
06:19:33 *** ChanServ sets mode: +v james_regen
07:03:29 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: configuring openmrs source code in eclipse <http://forum.openmrs.org/viewtopic.php?f=9&t=372#p1218>
07:03:45 *** bwolfe has joined #openmrs
07:03:45 *** OpenMRSBot sets mode: +o bwolfe
07:03:45 *** ChanServ sets mode: +o bwolfe
07:06:53 *** TorLye has quit IRC
07:33:29 *** sioraiocht has joined #openmrs
07:33:29 *** ChanServ sets mode: +v sioraiocht
07:35:51 *** Ngref has quit IRC
07:45:17 *** Ngref has joined #openmrs
07:50:22 *** nribeka has joined #openmrs
07:58:19 *** TorLye has joined #openmrs
08:03:44 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [4238]: Fixing #753 - ORUR01Handler should set encounter dateCreated = new Date(), … <http://dev.openmrs.org/changeset/4238>
08:18:49 *** b0nd has quit IRC
08:53:26 *** sioraiocht has quit IRC
08:53:36 *** upul has joined #openmrs
09:10:52 *** upul has quit IRC
09:13:29 *** upul has joined #openmrs
09:19:42 *** upul has quit IRC
09:25:51 *** atomicturtle has quit IRC
09:37:13 *** upul has joined #openmrs
09:47:24 *** gneale has joined #openmrs
09:52:20 <gneale> hello
09:55:51 <bwolfe> hey there gneale
10:19:12 *** atomicturtle has joined #openmrs
10:27:28 <upul> Hi Ben
10:27:53 <bwolfe> hey upul
10:28:11 <upul> was there some kind of an installer for openmrs
10:28:30 <bwolfe> there is for an older version
10:28:41 <bwolfe> it was built in bitrock by a gsoc student last year
10:28:53 <bwolfe> it reached about 90% of its goal
10:30:09 <bwolfe> why?
10:32:29 <upul> about that automatic update, we could have a package of war+sql and an ant script to do run sql, deploy the new war and restart server
10:34:34 <upul> also i saw for wordpress they have plugin which downloads the build and replace the existing php files by overwriting them
10:37:44 <bwolfe> how small is ant ?
10:38:04 <bwolfe> I'm guessing most people won't have it installed on their computer, so we'd have to ship it with the packaged war+sql
10:41:28 <upul> jars are about 4mb
10:42:07 <upul> nice thing is those tasks are tested well unlike writing new code
10:43:47 <upul> openmrs is about 25mb
10:45:40 <upul> what is the ideal automatic update look like
10:47:56 <bwolfe> the backend is less important than the front end. so the tool you end up using is not defined yet
10:48:03 <bwolfe> overall it should:
10:48:18 <bwolfe> 1) an administrator should be able to check for updates via the web application
10:49:09 <bwolfe> 2) an administrator should be able to click "update my openmrs installation" from the web application (this will download from openmrs and do the install)
10:49:19 <bwolfe> when doing the install:
10:49:32 <bwolfe> 1) tomcat should get stopped
10:49:41 <bwolfe> 2) sql update script run on the database
10:49:49 <bwolfe> 3) new war dropped into tomcat
10:49:54 <bwolfe> 4) tomcat started again
10:50:25 <bwolfe> actually, tomcat doesn't necessarily have to stop, openmrs just has to be stopped and started
10:51:12 <bwolfe> so there are several options:
10:51:44 <bwolfe> 1) we could have the user install another war file that does the updating (stopping of openmrs, running the sql, starting openmrs)
10:51:47 <bwolfe> or
10:52:21 <bwolfe> 2) use something like cargo (http://cargo.codehaus.org/) installed on the server that does the controlling
10:52:52 <bwolfe> or
10:53:20 <bwolfe> 3) use a custom setup with ant and an ant script
10:54:14 <bwolfe> nribeka: you did the research on cargo last month. what was the final result? did it look feasible ?
10:54:29 <nribeka> hi bwolfe
10:54:36 <nribeka> yeah i research cargo
10:55:05 <nribeka> i think cargo can do the container management
10:55:20 <nribeka> but you need to make cargo as a daemon process
10:55:53 <upul> to control the app server ant will use cargo,i was thinking through ant task
10:55:55 <nribeka> because if you kill the cargo process, the container will get killed too
10:56:23 <nribeka> yes, cargo support ant task, maven and api :D
10:56:47 <nribeka> they have some sample i think
10:56:56 <nribeka> did you manage to build cargo upul?
10:58:19 <upul> i have seen it done using code, also working maven scripts
11:03:15 <nribeka> at one point sunbiz mention to me to use JMX to manage the war
11:08:47 <upul> i don't see a deploy etc. exposed in tomcat through jmx
11:09:11 <upul> anyway it would be one appserver specific then
11:11:16 <nribeka> yeah, that what i'm afraid of.
11:11:31 <nribeka> tomcat support jmx from 5 i think
11:11:59 <nribeka> but i don't know whether they have the undeploy - deploy
11:13:36 <upul> actually there's only two datasource related mbeans i see
11:25:38 <nribeka> there's no for deploy and undeploy?
11:25:47 <nribeka> so no JMX then ...
11:34:32 <nribeka> i'm new to JMX, so i'm unsure about it
11:35:03 <nribeka> but i'm pretty familiar with cargo api
11:36:38 *** maveriick has joined #openmrs
11:44:16 *** Ngref has quit IRC
11:44:16 *** Echidna has quit IRC
11:45:15 *** Ngref has joined #openmrs
11:45:15 *** Echidna has joined #openmrs
11:59:12 *** Echidna has quit IRC
11:59:12 *** Ngref has quit IRC
12:01:38 *** Ngref has joined #openmrs
12:01:38 *** Echidna has joined #openmrs
12:02:57 *** upul has quit IRC
12:11:38 *** maveriick has quit IRC
12:17:20 *** upul has joined #openmrs
13:12:27 *** upul has quit IRC
13:18:53 *** nribeka has quit IRC
13:29:02 *** bwolfe has quit IRC
13:31:47 *** mshanks has joined #openmrs
13:32:43 <mshanks> 1 exam left and I'm done! wooo
13:55:03 *** nribeka has joined #openmrs
14:35:35 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [4240]: api-refactoring: Re-refactoring some of the api services <http://dev.openmrs.org/changeset/4240> || OpenMRS Changesets: Changeset [4239]: complex_obs branch: Attempting to register ComplexObsHandlers with … <http://dev.openmrs.org/changeset/4239>
14:38:22 <TorLye> only three exams left, wee... damn you, mshanks :p
14:44:25 *** sgrannis has joined #openmrs
14:44:26 *** ChanServ sets mode: +v sgrannis
14:45:09 <sgrannis> hi nyoman/james -- thanks fo all of the great work you're doing with the linkage module ...
14:45:41 <nribeka> sgrannis: we're still talking about the patch
14:45:49 <nribeka> i need to made changes :D
14:45:56 <sgrannis> no prob
14:46:09 <sgrannis> thanks for all the great work
14:46:54 <james_regen> do you want a copy of the dsicussion? it might be interesting in a "so this is why it's setup this way" even if it does the same thing
14:47:01 <sgrannis> james may have told you, but I htik we've come up with an even better GSoC use case for you ... building a module to deduplicate the OpenMRS patient table ...
14:47:09 <sgrannis> will talk more with you later... have to go to a meeting
14:47:40 <sgrannis> james_regen: I acn look at the IRC logs at http://dev.openmrs.org/IRClogs
14:47:52 <sgrannis> (I can and will) ;)
14:49:08 <sgrannis> james_regen: is it a private chat? if so, then I will need a copy of hte discussion
14:49:19 <nribeka> it's private :P
14:49:35 <james_regen> it's a private chat. i din't know if a sort of code review would be good spam in the room
14:50:23 <james_regen> or if a review of one's work should be public and logged without deciding on it
14:51:40 <nribeka> what do this means: building a module to deduplicate the OpenMRS patient table? :P
14:52:51 <james_regen> OpenMRS stores patients in the database, and after a while and with patients making multiple visits, patients might be created twice
14:53:34 <james_regen> using our patient matching work should be able to find cases where data is missing, spelled incorrectly, or completely wrong
14:54:15 <nribeka> cool use case :D
14:55:09 <james_regen> yeah, as well as define how greedy such matching should be by changing the score threshold, or giving statistics on how good a match it is, instead of just a binary match or non-match
15:00:13 <nribeka> yups.
15:00:29 * nribeka is changing some code
15:09:24 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #754 (defect created): Old Identifier Numbers Show When Creating a New Patient <http://dev.openmrs.org/ticket/754>
15:10:48 *** james_regen has quit IRC
16:13:43 *** sgrannis has quit IRC
16:22:52 *** [0megentooX] has joined #openmrs
16:35:37 *** nribeka has quit IRC
16:40:11 *** [OmegentooX] has quit IRC
17:09:55 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Please send me developer photos <http://forum.openmrs.org/viewtopic.php?f=11&t=375#p1220> || OpenMRS Forum: cannot subscribe to the mailing lists <http://forum.openmrs.org/viewtopic.php?f=4&t=374#p1219>
17:13:36 *** nribeka has joined #openmrs
17:19:47 <r0bby> people can't subscribe yet they can sign up for phpbb?!?!?!
17:19:49 <r0bby> I hate that
17:24:00 <r0bby> ohj my ogd i did it
17:25:12 <mshanks> what u on about r0bby?
17:25:42 <r0bby> mshanks: the captcha on the phpbb forums suck
17:25:46 <r0bby> it's secure
17:26:16 <mshanks> I'm getting sick of captcha's everywhere. they got rediculously more complicated in the last few months- sometimes takes me 15+ times!
17:27:46 <r0bby> they're secure
17:27:50 <r0bby> I registered
17:27:51 <r0bby> =)
17:28:00 <r0bby> mshanks: you should too
17:28:11 <r0bby> just to be available for questions regarding your project
17:29:15 <mshanks> what forums u talking about? openmrs ones?
17:29:43 <r0bby> openmrs :)
17:32:38 *** gneale has quit IRC
18:10:08 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Please send me developer photos <http://forum.openmrs.org/viewtopic.php?f=11&t=375#p1221>
18:30:15 <r0bby> coolbeans
18:40:14 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [4241]: Fixing #754 - Old Identifier Numbers Show When Creating a New Patient <http://dev.openmrs.org/changeset/4241>
19:02:20 *** atomicturtle has quit IRC
19:10:20 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #754 (defect closed): Old Identifier Numbers Show When Creating a New Patient <http://dev.openmrs.org/ticket/754#comment:3>
19:40:36 *** sgrannis has joined #openmrs
19:40:36 *** ChanServ sets mode: +v sgrannis
20:15:33 *** sgrannis has quit IRC
20:58:02 *** atomicturtle has joined #openmrs
21:35:04 <r0bby> god i hate that we can't use grails
21:54:52 *** upul has joined #openmrs
22:11:17 *** bw-palm has joined #openmrs
22:14:13 *** bw-palm has left #openmrs
22:35:12 *** [0megentooX] is now known as [OmegentooX]
22:35:15 *** ChanServ sets mode: +v [OmegentooX]
22:49:56 *** upul has quit IRC
23:18:54 *** [0megentooX] has joined #openmrs
23:19:56 *** [OmegentooX] has quit IRC
23:22:29 *** [0megentooX] is now known as [OmegentooX]
23:22:33 *** ChanServ sets mode: +v [OmegentooX]