IRC Chat : 2009-06-17 - OpenMRS

00:09:45 *** Mkop has quit IRC
00:10:27 *** nribeka1 has joined #openmrs
00:11:24 <Keelhaul> r0bby: writing an irc bot?
00:11:54 <r0bby> Keelhaul: hell no
00:12:06 <r0bby> Keelhaul: Though I do have some code in an irclib
00:12:16 <r0bby> I designed the AwayEvent
00:12:37 <r0bby> (it's an event driven irc lib written using the NIO API
00:13:13 <r0bby> my hands are tied down, i can pretty much just do small fixes, and add events and such.
00:14:05 <r0bby> why??
00:14:24 <r0bby> Keelhaul: I *DID* write a small bot to show off CICE,BGGA and FCM
00:14:41 <r0bby> Concise Instance Creation Expressions (CICE) First Class Methods (FCM)
00:14:48 <Keelhaul> D=
00:14:52 <r0bby> and BGGA is the first letter of each of the people of the proposals
00:15:10 <r0bby> Neal Gafter is one of the G's -- he wrote the prototype
00:16:31 <r0bby> those were the java closure proposals (none of which will make it into java 7)
00:18:13 *** omart13x has quit IRC
00:18:14 <r0bby> How nuts am I got ordering methods in my service class in order of how they're dependent on eachother?
00:18:23 <r0bby> same with my sqldiff
00:19:02 <r0bby> FacilityDataFormSchema -> FacilityDataFormSection -> FacilityDataFormQuestion -> FacilityDataQuestion -> FacilityDataValue
00:31:44 *** nribeka has quit IRC
00:32:47 *** atomicturtle has left #openmrs
00:35:43 <bwolfe> r0bby: trunk won't get patched for the annotations because it requires another jar being added...and I'm against adding jars just for the heck of it
00:36:43 <r0bby> even if it makes it easier
00:36:55 <r0bby> annotations are way easier than hibernate XML mapping files
00:37:30 <r0bby> it's not "for the heck of it" really, it makes it hell of a lot easier
00:37:39 <r0bby> most people are using the JPA annotations anyways
00:38:08 <r0bby> or perhaps make it easier for modules to do it if they want, making them include the jars
00:38:21 <r0bby> is that possible?
00:38:26 <Keelhaul> bwolfe: you're just looking for excuses =P
00:38:34 <Keelhaul> how big is the jar
00:39:22 <r0bby> it's not even that bad
00:39:44 <r0bby> he doesn't like that metadata seeps into the API layer (you define the annotations on the classes you're mapping
00:40:08 <Keelhaul> yea
00:40:16 <r0bby> that's the real reason
00:40:25 <bwolfe> if you know why I don't like it, why do you even ask?
00:40:33 <Keelhaul> it's a classic case of formalism vs best practice =P
00:40:45 <r0bby> because, I find it kinda stupid really
00:40:52 <r0bby> why make life HARDER
00:41:59 <r0bby> they didn't name the second addition of Hibernate in action "Java Persistence with Hibernate" for no reason, it's because JPA is becoming more widely used; hell it's even standardized by sun!
00:43:15 <Keelhaul> has there been a discussion on the mailing list?
00:44:54 <r0bby> No, i'm contemplating starting it, because quite frankly, i spent the day flipping through the pages trying to figure out how to map a list
00:45:03 <r0bby> when I could have just used an annotation and been done w/ it!
00:45:22 <Keelhaul> is there any difference to mapping a set?
00:45:27 <r0bby> slightly
00:45:33 <Keelhaul> hm
00:45:37 <r0bby> because you have to have a column which specifies the index
00:45:42 <r0bby> it's a seperate table
00:45:44 <Keelhaul> ew
00:45:51 <Keelhaul> btw
00:46:10 <r0bby> with a FK reference to that table
00:46:35 <r0bby> i think i mapped it wrong
00:46:41 <Keelhaul> have you used many to many?
00:46:57 <Keelhaul> for some reason, order-by doesnt work there
00:47:10 <r0bby> no i ddi it right
00:47:15 <r0bby> No
00:57:36 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8561]: patientmatching module: in dupesList, added rudimentary checklist … <http://dev.openmrs.org/changeset/8561> || OpenMRS Changesets: Changeset [8560]: ncd: 1) Fixed bug: unable to remove template value (i.e. set to empty … <http://dev.openmrs.org/changeset/8560>
00:57:43 <r0bby> email shot out
00:57:47 <r0bby> it's on the list now
00:58:10 <r0bby> hope i didn't word it too harshly
01:01:21 <r0bby> :(
01:07:38 <r0bby> bwolfe: perhaps a middle ground would be having support such that modules can still use them if they wish
01:07:43 <Keelhaul> can anyone recommend a jsf book?
01:08:15 <r0bby> But i don't know how it'd be possible at the moment; i'd be willing to patch trunk/1.5.x if it needs to happen just need to know where to look and how the hell to do it :/
01:08:29 <r0bby> manning is excellent
01:10:32 <bwolfe> how is it considered "you doing it" if you are told where to look and how to do it?
01:18:14 <Keelhaul> lol
01:30:23 <r0bby> okay -- good pt
01:56:56 *** atomicturtle1 has joined #openmrs
02:00:36 <r0bby> bwolfe: i didnt mean to come off as snarky or harsh
02:00:40 <r0bby> in the email
02:01:01 <r0bby> just this is a point where i disagree with you
02:01:13 <r0bby> other than that I have a lot of respect for you :)
02:03:29 *** nribeka1 has quit IRC
02:09:50 *** atomicturtle1 has left #openmrs
02:24:30 *** Mkop has joined #openmrs
02:25:50 *** upul has joined #openmrs
02:25:50 *** ChanServ sets mode: +v upul
02:27:38 <Mkop> upul: you work on apache?
02:27:49 <Mkop> is that cloak new?
02:29:36 <upul> Mkop: did some work some time back
02:31:21 <Mkop> I've never noticed that cloak before
02:31:30 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8562]: patientmatching module: in dupesList, reduced number of steps in … <http://dev.openmrs.org/changeset/8562>
02:31:42 <Keelhaul> http://www.youtube.com/watch?v=bpT8oP3db_w
02:36:29 * r0bby got his awhile back :)
02:38:43 <r0bby> this amuses the hell outta me
03:17:55 *** OpenMRSBot has joined #openmrs
03:17:56 *** ChanServ sets mode: +o OpenMRSBot
03:20:21 *** bwolfe has quit IRC
03:32:06 *** Keelhaul has quit IRC
03:34:36 *** Mkop has quit IRC
03:35:43 *** Mkop has joined #openmrs
04:19:58 *** nribeka has joined #openmrs
04:47:22 *** Mkop has quit IRC
04:49:32 *** jabobo has joined #openmrs
04:49:35 *** jacobb has quit IRC
04:57:47 *** atomicturtle has joined #openmrs
05:17:34 *** OpenMRSBot has joined #openmrs
05:17:34 *** ChanServ sets mode: +o OpenMRSBot
05:30:27 *** atomicturtle has left #openmrs
05:49:13 *** harshini has joined #openmrs
05:51:50 *** Mkop has quit IRC
05:58:56 *** harshini has quit IRC
06:04:34 *** pascal` has joined #openmrs
06:14:05 *** kane77 has joined #openmrs
06:35:36 *** harshini has joined #openmrs
06:44:08 *** harshini has quit IRC
06:46:13 *** nimanthab has joined #openmrs
06:46:20 *** nimanthab has quit IRC
06:52:23 *** harshini has joined #openmrs
06:56:10 *** harshini has quit IRC
07:00:51 *** harshini has joined #openmrs
07:27:18 *** harshini has quit IRC
07:57:21 *** atomicturtle1 has joined #openmrs
08:31:52 *** nribeka has quit IRC
08:56:50 *** harshini has joined #openmrs
09:33:40 <OpenMRSBot> Recent updates in the world of openmrs: Dilupa Munindradasa: GSoC2009 - Quartz Module Updates <http://djmlog103.blogspot.com/2009/06/gsoc2009-quartz-module-updates_17.html>
09:54:55 *** harshini has quit IRC
10:03:43 *** harshini has joined #openmrs
10:40:06 *** harshini has quit IRC
10:57:03 *** Keelhaul has joined #openmrs
10:57:03 *** ChanServ sets mode: +v Keelhaul
10:57:03 *** atomicturtle1 has quit IRC
10:57:12 *** atomicturtle has joined #openmrs
11:07:02 *** pascal` has quit IRC
11:31:40 *** upul has quit IRC
11:40:31 *** bwolfe has joined #openmrs
11:40:31 *** ChanServ sets mode: +o bwolfe
11:41:37 *** james_regen has joined #openmrs
11:41:37 *** ChanServ sets mode: +v james_regen
11:54:43 *** atomicturtle has left #openmrs
12:28:37 *** pascal` has joined #openmrs
12:34:16 *** Amoga has joined #openmrs
12:34:44 <Amoga> can anyone guide me about PatientManagerServcie
12:39:48 <bwolfe> we have a PatientManagerService ?
12:39:58 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8563]: -- chica * changed log4j.xml to have DailyRollingFileAppender <http://dev.openmrs.org/changeset/8563>
12:40:11 <Amoga> sorry Patient Srevice
12:41:03 <bwolfe> ah ok. :-)
12:41:03 <Amoga> since in my project Integration of openempi with Openmrs
12:41:08 <bwolfe> what concerns did you have about it ?
12:41:32 <Amoga> i am using after advice point
12:41:50 <Amoga> what if i get a connection error at the openempi side
12:42:28 <Amoga> since it is after advice point the error would propagate to the screen even though the patient is added successfully
12:42:43 <Amoga> so should i handle it using a try and a catch block
12:43:12 <bwolfe> do you want it all to fail ?
12:43:16 <Amoga> n do not allow any error to propagate coming from OpenEMPI side
12:43:22 <bwolfe> or do you want patient adding to still happen if openempi fails?
12:43:40 <Amoga> well i will have to ask my mentor about it
12:43:48 <Amoga> my mentor is shaun granis
12:45:25 <Amoga> i dont think anything happening at openempi should affect openmrs dide
12:45:31 <Amoga> site*
12:52:34 <bwolfe> ok, I would agree
12:52:41 <bwolfe> I suggest putting a try/catch around it
12:53:00 <bwolfe> catch (Throwable t) { log.error ("OpenEMPI failed to do its business"); }
12:57:53 <Amoga> ok thanks
12:57:56 *** pascal` has quit IRC
12:57:57 <Amoga> did that
12:58:00 <Amoga> :)
13:04:08 <Amoga> given that if an error occours during adding a patient , how do i log this is patient information
13:04:21 <Amoga> is there any kind of alert service
13:07:47 <bwolfe> Amoga: you mean alerting an admin? not really right now. we do have a way to email with the MessageService I think though
13:08:07 <bwolfe> Amoga: I would suggest you make a table and keep a list of ones that didn't get sent. an admin might want to send them later
13:08:32 <Amoga> yes we would be having a timer service
13:08:33 <bwolfe> Amoga: as a first step, I suggest you just log an error.
13:08:49 <Amoga> which can take the data from the temp table
13:09:41 <Amoga> what do u think about this approach
13:11:38 <bwolfe> yeah, that works
13:11:46 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Exception during startup + trying to add data using forms/xf <http://forum.openmrs.org/viewtopic.php?f=9&t=455#p1636>
13:11:47 <Amoga> :)
13:21:38 *** sdefabbiakane has joined #openmrs
13:26:30 *** Amoga has quit IRC
13:58:33 *** pascal` has joined #openmrs
13:58:52 <pascal`> hey
13:59:03 <pascal`> has anyone ever had problems installing subverion?
13:59:05 <pascal`> *subversion
13:59:09 <pascal`> dammit
14:00:11 <bwolfe> the client, right pascal?
14:00:56 <pascal`> **subclipse
14:01:03 <pascal`> yeah
14:01:13 <pascal`> when trying to install from eclipse
14:01:41 <bwolfe> I don't remember having problems when installing a few months ago
14:01:42 <pascal`> using the instructions on the subclipse site, I don't get the option to actually install anything
14:01:53 <pascal`> yeah, mine worked fine too
14:01:58 <bwolfe> you're just using the update site, right ?
14:02:11 <pascal`> but i'm setting up a new system now
14:02:11 <pascal`> yeah
14:02:28 <Keelhaul> eclipse EE already has subclipse i think
14:04:50 <sdefabbiakane> how far are you getting?
14:07:16 <pascal`> it just says no features found to install
14:08:13 <sdefabbiakane> tried hitting the refresh button?
14:08:54 <sdefabbiakane> i've had eclipse do very strange things with not grabbing the latest stuff from the update sites initially before
14:10:23 <bwolfe> or maybe its what Keelhaul says, its already installed
14:19:28 *** atomicturtle has joined #openmrs
14:19:34 *** atomicturtle has left #openmrs
14:26:58 *** djazayeri has joined #openmrs
14:26:58 *** ChanServ sets mode: +o djazayeri
14:29:24 <pascal`> hmm
14:30:17 <pascal`> ok
14:30:17 <pascal`> looks like it might be installed
14:30:23 <pascal`> i installed it with apt-get, so i assumed it wouldn't be
14:31:50 <bwolfe> you installed subclipse with apt-get ??
14:32:01 <pascal`> no
14:32:03 <pascal`> eclipse
14:32:15 <pascal`> but i actually don't think it's installed
14:34:13 *** pascal` has quit IRC
14:37:36 *** jmiranda has quit IRC
14:46:08 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8567]: serialization: updated each short converter in order to abstract some more … <http://dev.openmrs.org/changeset/8567> || OpenMRS Tickets: Ticket #1505 (task closed): Add ability for a module to add a new hibernate interceptor <http://dev.openmrs.org/ticket/1505#comment:2> || OpenMRS Changesets: Changeset [8566]: Adding the ability for a module to insert a hibernate interceptor. See … <http://dev.openmrs.org/changeset/8566> || OpenMRS Changesets: Changeset [8565]: interceptorexample: Adding an example module that adds a hibernate … <http://dev.openmrs.org/changeset/8565> || OpenMRS Changesets: Changeset [8564]: interceptorexample: Adding an example module that implements a hibernate … <http://dev.openmrs.org/changeset/8564>
15:02:46 *** djazayeri has quit IRC
15:18:07 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8568]: -- atd * fixed a problem with updatePatientStates method that retires … <http://dev.openmrs.org/changeset/8568>
15:19:36 *** upul has joined #openmrs
15:19:36 *** ChanServ sets mode: +v upul
15:22:49 *** Mkop has joined #openmrs
15:28:59 *** jmiranda has joined #openmrs
15:28:59 *** ChanServ sets mode: +o jmiranda
15:39:11 *** nribeka has joined #openmrs
15:54:10 *** sdefabbiakane has quit IRC
15:59:48 *** upul has quit IRC
16:00:55 *** djazayeri has joined #openmrs
16:00:55 *** ChanServ sets mode: +o djazayeri
16:02:13 *** nribeka has quit IRC
16:22:14 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: OpenMRS version vs. DB Version <http://forum.openmrs.org/viewtopic.php?f=9&t=459#p1639> || OpenMRS Changesets: Changeset [8569]: -- chica * added read write locks around thread list in ThreadManager * … <http://dev.openmrs.org/changeset/8569> || OpenMRS Forum: Cannot add field to form + tomcat log section <http://forum.openmrs.org/viewtopic.php?f=3&t=458#p1638> || OpenMRS Forum: Cannot add field to form + tomcat log section <http://forum.openmrs.org/viewtopic.php?f=3&t=457#p1637>
16:54:15 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8570]: serialization: add a alternative solution for store the first serialized … <http://dev.openmrs.org/changeset/8570>
17:57:35 *** jmiranda has quit IRC
17:57:45 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: OpenMRS version vs. DB Version <http://forum.openmrs.org/viewtopic.php?f=9&t=459#p1641> || OpenMRS Forum: Re: Cannot add field to form + tomcat log section <http://forum.openmrs.org/viewtopic.php?f=3&t=458#p1640>
17:57:55 *** jmiranda has joined #openmrs
17:57:55 *** ChanServ sets mode: +o jmiranda
18:08:20 *** Mkop has quit IRC
18:55:18 *** sdefabbiakane has joined #openmrs
19:00:23 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8572]: ncd: Created ObxCritic class to be the base class for all critics which … <http://dev.openmrs.org/changeset/8572> || OpenMRS Changesets: Changeset [8571]: in patientmatching module, updated OpenMRSReader to insert multiple rows … <http://dev.openmrs.org/changeset/8571>
19:32:23 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8575]: ncd: Added checks in ReportResult.addCondition for empty obxNodes in … <http://dev.openmrs.org/changeset/8575> || OpenMRS Changesets: Changeset [8574]: ncd: Increased ncd_error additioninfo readability by putting "Caused by: " … <http://dev.openmrs.org/changeset/8574> || OpenMRS Changesets: Changeset [8573]: ncd: Changed an "error" log to a "debug" because a NULL condition actually … <http://dev.openmrs.org/changeset/8573>
19:47:22 *** bmckown has joined #openmrs
19:47:22 *** ChanServ sets mode: +o bmckown
20:04:25 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8576]: global-property-types branch: Rename field "createdBy" to "creator" in the … <http://dev.openmrs.org/changeset/8576>
20:12:58 *** james_regen has quit IRC
20:36:26 *** Glen_ has joined #openmrs
20:37:15 <Glen_> I noticed that there is a 1.5.x branch in the repository. What version is the trunk on?
20:40:57 <djazayeri> Whatever comes next.
20:41:04 <djazayeri> i.e. 1.6 :-)
20:43:55 <bwolfe> yeah, 1.6.0 dev. its in the /build.properties file in trunk
20:57:39 <Glen_> thanks
21:08:29 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1504 (task closed): Add "Required Module" option <http://dev.openmrs.org/ticket/1504#comment:2> || OpenMRS Changesets: Changeset [8582]: Added ability to mark a module as mandatory - #1504 Added … <http://dev.openmrs.org/changeset/8582> || OpenMRS Changesets: Changeset [8581]: mandatoryexamplemodule: Adding all files. This module marks itself as … <http://dev.openmrs.org/changeset/8581> || OpenMRS Changesets: Changeset [8580]: ncd: Removed unnecessary try/catch in … <http://dev.openmrs.org/changeset/8580> || OpenMRS Changesets: Changeset [8579]: mandatorymodule: Initial creation of mandatory module example directory <http://dev.openmrs.org/changeset/8579> || OpenMRS Changesets: Changeset [8578]: moved ehcache configuration file to the metadata directory with the rest … <http://dev.openmrs.org/changeset/8578> || OpenMRS Changesets: Changeset [8577]: moved jcs configuration file to the metadata directory with the rest of … <http://dev.openmrs.org/changeset/8577>
21:12:52 *** sdefabbiakane has quit IRC
21:19:30 *** jmiranda has quit IRC
21:27:14 *** bwolfe has quit IRC
21:32:12 <r0bby> /gg/js
21:32:14 <r0bby> er
21:36:42 *** Agnor has joined #openmrs
21:43:30 <r0bby> Agnor: :)
21:43:36 <r0bby> how goes the wysiwyg editor ?
21:43:38 <Agnor> hi
21:43:52 <Agnor> well, I'm having problems defining extension points in a module
21:43:57 <Agnor> I don't know why...
21:44:00 <r0bby> eeek
21:44:20 * r0bby hands Agnor some stuff to throw at djazayeri
21:44:32 <Agnor> lol
21:44:50 <r0bby> (they're not lethal, just may sting)
21:45:00 <r0bby> getting my caffiene kick for the day)
21:45:14 <Agnor> He and bwolfe suggested a lot of things and they would still not work...
21:45:45 <Agnor> but I'll put my eyes on the code today and figure it out
21:49:09 * r0bby goes to play with his schemas
21:49:16 <r0bby> schama*
21:59:00 *** kane77 has quit IRC
22:02:58 *** jmiranda has joined #openmrs
22:02:58 *** ChanServ sets mode: +o jmiranda
22:12:37 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8583]: amrs-14x: committing patch files and readme for custom-build. <http://dev.openmrs.org/changeset/8583> || OpenMRS Forum: Re: OpenMRS version vs. DB Version <http://forum.openmrs.org/viewtopic.php?f=9&t=459#p1642>
22:35:34 *** bwolfe has joined #openmrs
22:35:34 *** ChanServ sets mode: +o bwolfe
22:36:35 <bwolfe> basic`: svn emails have stopped going out as of last night around 8 pm EST
22:37:07 <r0bby> yeh i noticed that
22:37:39 <r0bby> i liked following htmlformentry module :)
22:37:52 <r0bby> it's one of the modules i like the most :)
22:44:38 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8584]: amrs-14x: merging openmrs branch 1.4.x to amrs-14x [8326][8503] <http://dev.openmrs.org/changeset/8584>
23:08:17 *** bmckown has quit IRC
23:40:37 *** djazayeri has quit IRC
23:48:45 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8585]: perufitnessstudy. name change of all classes across the board, and utf-8 … <http://dev.openmrs.org/changeset/8585>