IRC Chat : 2009-04-28 - OpenMRS

00:00:36 <jmiranda> eventually, we'd like to have modules for reporting tools like Cohort Builder, Dataset Builder, Report Designer
00:00:54 <Keelhaul> yea, everything needed for report definition and generation is in there
00:00:56 <jmiranda> Keelhaul: and those will depend on a core reporting module
00:01:15 <jmiranda> so the org.openmrs.report* packages will live in that core reporting module
00:01:20 <Keelhaul> still no clue why you call it "compatibility" module
00:01:37 <jmiranda> well, that's for the org.openmrs.reporting code
00:01:46 <jmiranda> we eventually want to throw that package away
00:01:53 <Keelhaul> maybe "reportbase" would be more appropriate
00:02:19 <jmiranda> because it was implemented in a very flat unintuitive package hierarchy with a lot of code that needs to be refactored
00:02:28 <jmiranda> (or has been refactored)
00:02:41 <jmiranda> those classes need to stick around until 1.6 or 1.7 for "compatibility"
00:02:56 <Keelhaul> oh
00:03:03 <omar> hi everybody
00:03:04 <Keelhaul> hi
00:03:16 <jmiranda> that module will be used for migrating from the old reporting to the new reporting as well
00:03:54 <jmiranda> but i think the idea is to allow people to use the compatibility module for as long as they want
00:04:08 <omar> whats a module space?
00:04:19 <jmiranda> hey omar (belated)
00:04:36 <jmiranda> is this a riddle?
00:05:09 <Keelhaul> ah ic now
00:05:15 <Keelhaul> so it's basically mimicking the old api
00:05:21 <Keelhaul> for other modules
00:05:22 <omar> jejejje, no, its a simple quiestion, module space i think like modulename that dont collide in the name, and a wiki
00:05:38 <jmiranda> :)
00:05:46 <Keelhaul> tbh, i never bothered to look at the current api because it's so complex =/
00:05:50 <jmiranda> yeah the module namespace you me?
00:05:53 <jmiranda> mean
00:06:01 <omar> already , im following http://openmrs.org/wiki/Creating_Your_First_OpenMRS_Module
00:06:02 <OpenMRSBot> <http://ln-s.net/1hl3> (at openmrs.org)
00:06:14 <jmiranda> Keelhaul: that's a huge problem with most java APIs
00:06:24 <jmiranda> which is why i'd like to go to a more OSGi approach
00:06:38 <Keelhaul> jmiranda: why is there .report and .reporting anyway
00:07:23 <jmiranda> omar, i don't quite get your question? what are you looking to do?
00:07:28 <jmiranda> Keelhaul: good question
00:07:47 <jmiranda> we had a refactoring about a year ago and we needed a new namespace
00:07:54 <Keelhaul> o
00:08:14 <jmiranda> the idea was always to get rid of "reporting", we just didn't come up with a plan until a few weeks ago
00:08:32 <omar> it's because I receive a hint of Biondich
00:08:34 <Keelhaul> jmiranda: did you write the cohort builder
00:08:47 <jmiranda> Keelhaul: no, Darius did that
00:08:51 <Keelhaul> ah ok
00:08:55 <omar> saying me that in these days i have to create a new module space
00:09:03 <jmiranda> ok
00:09:44 <jmiranda> so which step are you on?
00:09:58 <jmiranda> and have you tried the eclipse plugin for creating a new openmrs module?
00:10:44 <omar> mmm, no
00:11:24 <jmiranda> http://openmrs.org/wiki/Downloads
00:11:28 <jmiranda> openmrs dev studio
00:11:47 <omar> already I have the openmrs dev studio
00:11:51 <jmiranda> ok
00:12:06 <jmiranda> you should be able to create a new plugin within dev studio
00:12:25 <omar> mmmright, the new module project
00:16:12 *** nribeka has joined #openmrs
00:16:12 *** ChanServ sets mode: +v nribeka
00:16:19 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7457]: Remove duplicate log4j include in the web.compile.classpath element of … <http://dev.openmrs.org/changeset/7457> || OpenMRS Tickets: Ticket #1447 (task created): Automatic registration of core roles and privileges <http://dev.openmrs.org/ticket/1447>
00:18:07 * r0bby sighs
00:34:03 *** nribeka1 has quit IRC
00:57:00 *** atomicturtle has joined #openmrs
01:04:35 *** bwolfe has joined #openmrs
01:04:35 *** ChanServ sets mode: +o bwolfe
01:11:05 *** atomicturtle has left #openmrs
01:18:58 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1439 (task closed): Deprecate all reporting API classes <http://dev.openmrs.org/ticket/1439#comment:3> || OpenMRS Changesets: Changeset [7458]: Deprecating all reporting classes per ticket #1439 <http://dev.openmrs.org/changeset/7458>
01:30:40 <r0bby> eh design question
01:30:53 <r0bby> is it bad to have a utility class which does NOT contain static methods?
01:32:05 <Keelhaul> hm
01:32:18 <r0bby> sigh
01:32:23 <Keelhaul> if you need to retrive some data from the db, and then reuse it a lot
01:32:33 <Keelhaul> then maybe it should be held in an instance object
01:32:58 <Keelhaul> maybe theres caching that would also take care of that, not sure
01:33:51 <r0bby> it's more for dealing w/ the groovyshell and bindings etc
01:38:16 *** omart13x has joined #openmrs
01:50:36 *** Mkop has joined #openmrs
01:56:33 *** omar has quit IRC
02:03:44 <omart13x> hey for requesting a module space in svn
02:04:04 <omart13x> i have to send my trac username, a short description and a temptative id?
02:04:13 <r0bby> yup
02:04:26 <r0bby> it's all outlined on the page
02:04:38 <omart13x> mmm, i can have the space before i begin to code then
02:06:34 <r0bby> yeh :)
02:06:43 <r0bby> consult w/ your mentr
02:06:55 <r0bby> (my mentors (backup and main) hashed out the module id
02:07:16 <r0bby> then, since I had commit access allowed me to create it after they came to an agreement
02:08:45 <Mkop> jmiranda: you here?
02:09:14 <omart13x> thank you
02:11:05 <r0bby> argh
02:11:48 <r0bby> I wanna take Guillaume LaForge's code, it's pretty nice, it has tabs for output, result, and the stacktrace; all done via JSON
02:11:57 <r0bby> plus he sanitizes it
02:12:08 <r0bby> (stacktraces)
02:13:05 <Keelhaul> geordi laforge =D
02:13:29 <r0bby> Keelhaul: he's french
02:13:39 <r0bby> Groovy lead
02:13:56 <Keelhaul> lol
02:14:11 <r0bby> he's also the JSR spec lead
02:16:26 <jmiranda> hey Mkop, yeah i'm back
02:17:10 <jmiranda> Keelhaul: is that a star trek nextgen reference
02:17:17 <Keelhaul> jmiranda: yes
02:17:46 <r0bby> OH. MY. GOD.
02:17:50 <r0bby> jmiranda is a trekkie
02:17:53 <jmiranda> jmiranda: i'm embarrassed for you
02:18:00 <jmiranda> and for myself for knowing that
02:18:20 <r0bby> did you just refer to yourself in the third person, that may qualify as 4th person
02:18:25 <jmiranda> and even moreso knowing this channel has public logs
02:18:37 * r0bby snickers
02:18:43 <r0bby> I could blog this :)
02:18:54 <r0bby> tag it as "openmrs" so it gets aggregated :)
02:20:17 <jmiranda> that would be hilarious
02:20:17 <Mkop> jmiranda: check PM
02:20:39 <r0bby> jmiranda: "Justin Miranda is a trekkie. That is all"
02:21:00 <r0bby> I'd do it, but I don't have a death wish and I haven't been paid yet :)
02:21:03 <jmiranda> r0bby: actually, the funny thing is that i hate star trek with a passion
02:21:19 <r0bby> That's not the spin I will take :)
02:21:35 <Keelhaul> [04:17:13] <+r0bby> OH. MY. GOD.
02:21:35 <Keelhaul> [04:17:17] <+r0bby> jmiranda is a trekkie
02:21:41 <Keelhaul> said the guy who watches grey's anatomy =P
02:21:47 <r0bby> ...
02:22:11 <r0bby> I also watch desperate housewives, prison break, private practice, house
02:22:22 <Keelhaul> i watch prison break and house
02:22:24 <r0bby> and probably other shows i can't remember off the top of my head.
02:23:42 <Keelhaul> prison break got kinda lame lately
02:24:13 <r0bby> yeh it did
02:24:40 <r0bby> DAMN YOU, must focus on fixing groovy module
02:24:51 <Keelhaul> try adderall =P
02:25:00 <r0bby> I have ADHD actually :)
02:25:11 <r0bby> that would calm me down :)
02:25:36 <Keelhaul> i heard it's basically same a speed
02:25:38 <Keelhaul> just not illegal
02:25:43 <Keelhaul> as*
02:26:02 <r0bby> it's an amphetamine
02:26:10 <Keelhaul> i'm sure in the US every third kid is "diagnosed" with ADHD
02:26:13 <r0bby> it's a controlled subnstance
02:26:20 <r0bby> substance*
02:26:46 <Mkop> just because it's a stimulant doesn't mean it's the same as speed
02:26:59 <r0bby> Mkop: he's right in that assertion however.
02:27:09 <r0bby> it is basically speed in a way :)
02:27:15 <Mkop> in that it's a stimulant
02:27:28 <Keelhaul> i know a guy who pretended to have adhd to get it prescribed
02:27:35 <r0bby> I'm on a med that's non-stimulant
02:27:47 <r0bby> Keelhaul: that's wrong
02:28:07 <Mkop> r0bby: strattera, I assume?
02:28:15 <r0bby> Si.
02:28:46 <Keelhaul> and then pretended to have anxiety to get xanax
02:29:04 <r0bby> That friend needs to be shot
02:29:09 <Keelhaul> lol why
02:29:15 <r0bby> because it's wrong.
02:29:20 <Keelhaul> well it's that easy
02:29:20 <r0bby> pisses me off
02:29:24 <Keelhaul> i'm sure it wouldnt work here
02:29:37 <Mkop> I have had doctors who make it a PITA to get the medication you need
02:29:46 <Keelhaul> whats that
02:30:04 <Mkop> my university won't prescribe me ADHD medication
02:30:11 <Mkop> pain in the $@@
02:30:15 <Keelhaul> =)
02:30:18 <Mkop> @$$ *
02:30:22 <Mkop> lol
02:30:27 <Keelhaul> i bet coding is smooth on that
02:30:35 <Mkop> smooth on what?
02:30:40 <Keelhaul> adhd meds
02:30:50 <Keelhaul> not sure what the results would be like though
02:31:24 *** upul has joined #openmrs
02:31:24 *** ChanServ sets mode: +v upul
02:31:39 <Keelhaul> i read about drugs that let you work 30h non stop and then you're supposedly well rested after the usual 8h of sleep
02:31:50 <Keelhaul> long term effects arent known yet, though
02:32:07 <Mkop> I don't need medication to code
02:32:21 <Mkop> when I'm out of things and can't concentrate on anything else, that's when I sit down and code
02:32:26 <Keelhaul> me neither, but i cant code 30h =P
02:32:43 <Keelhaul> i wish i could eliminate sleep
02:32:47 <Keelhaul> at least some of it
02:32:53 <Mkop> I can't get through certain other tasks unmedicated, unfortunately
02:32:57 <Keelhaul> the day would be more productive
02:33:01 <Keelhaul> like what
02:33:24 <Mkop> writing papers
02:33:34 <Keelhaul> heh
02:33:39 <Keelhaul> i dont like writing texts
02:34:01 <Keelhaul> never tried writing on meds
02:34:05 <omart13x> once upon a time
02:34:11 <omart13x> i code for 30 hours
02:34:15 <Keelhaul> =o
02:34:16 <Keelhaul> why
02:34:18 <Keelhaul> and how
02:34:28 <omart13x> between my bs and my ms
02:34:30 <Mkop> I could see myself doing that
02:34:35 <Mkop> coding for 30 hours
02:34:36 <Keelhaul> i read this stories on the internet about chinese and korean kids playing WoW 30h non stop
02:34:40 <Keelhaul> and then dying of dehydration
02:34:43 <Keelhaul> these*
02:34:44 <Mkop> that's BS
02:34:45 <omart13x> i work in a enterprise
02:34:52 <omart13x> sucks
02:35:19 <omart13x> timeline very tight, you know
02:35:29 <omart13x> well i hope you dont know
02:35:34 <Keelhaul> oh it was starcraft and 50 h lol
02:35:35 <Keelhaul> http://news.bbc.co.uk/1/hi/technology/4137782.stm
02:35:38 <OpenMRSBot> <http://ln-s.net/3+rD> (at news.bbc.co.uk)
02:35:43 <Keelhaul> but there was at least one other case
02:35:52 <omart13x> and after the 30 hours i have to drive to my house
02:36:02 <omart13x> ...i was crossing lines
02:36:05 <Keelhaul> omart13x: that's dangerous =o
02:36:11 <omart13x> park in a street and took a taxi
02:36:12 <omart13x> yes
02:36:13 <omart13x> very
02:36:30 <Keelhaul> also, how can you make sure you dont produce crappy code because you're sleepy
02:38:48 <nribeka> bwolfe, can i take some tickets?
02:40:15 <omart13x> in my experience
02:40:21 <bwolfe> nribeka: yep
02:40:37 <omart13x> I cant code more than 6 hrs in a row
02:40:41 <nribeka> looking around now
02:40:43 <omart13x> or 12 hrs a day
02:40:51 *** adam-f has joined #openmrs
02:41:03 <omart13x> more than that, i begin with silly mistakes
02:41:54 <Keelhaul> yes, at least you have to take breaks
02:43:17 <omart13x> well, good night everyone
02:43:27 <omart13x> I have to watch some news abotu the swine flu
02:43:47 <Keelhaul> gn
02:43:49 <Keelhaul> lol
02:44:03 *** omart13x has quit IRC
02:46:34 *** atomicturtle1 has joined #openmrs
02:47:01 *** atomicturtle1 has left #openmrs
02:47:17 <r0bby> has anybody tried reverse ajax with dwr in an openmrs module
02:55:54 <r0bby> bwolfe: If a project doesn't list a license is it safe to assume it's public domain?
02:55:58 <r0bby> ;x
02:56:53 <bwolfe> sure
02:58:53 *** adam-f has quit IRC
02:58:53 <r0bby> oh goody
02:59:01 <r0bby> then we can have a fancy groovy module :)
02:59:12 <r0bby> ditch DWR in favor of JSON :)
02:59:27 <r0bby> and groovlets :) *duck*
03:00:05 <r0bby> it's the groovy module (if it has groovy in the name, at least one class must be written in groovy, it's the law; ( i call it r0bby's law)
03:00:21 <Mkop> my roommate: "Those are funny looking shorts you have on. They're almost like pants, but then they end."
03:01:21 <r0bby> wtf
03:01:30 <r0bby> Mkop: your roommate is nuts
03:01:37 <Mkop> the truth is, he's not
03:01:44 <Mkop> they are pants-like shorts
03:01:58 <Mkop> pants material instead of shorts materiall
03:03:14 <r0bby> then okay you're nuts
03:04:01 <Mkop> well, we already know that
03:04:03 <Mkop> for other reasons
03:11:42 <r0bby> hmm i gotta document how groovlets work in openmrs :0
03:18:48 * r0bby sighs
03:18:55 * r0bby makes a normal servlet
03:19:08 <r0bby> I don't feel like fighting :(
03:49:23 * Mkop fights r0bby
03:50:20 * r0bby beats Mkop with his groovy in action book
03:50:34 * r0bby then proceeds to use Robert Steele's book, it's good for something
03:50:40 <r0bby> (it's hard cover)
03:50:41 <r0bby> :)
03:50:44 * Mkop hits r0bby over the head with his linear systems and signals book, which is probably bigger than groovy in action
03:50:57 * r0bby gets his calc textbook and hits Mkop
03:51:13 * Mkop blocks with his bio textbook
03:51:25 * r0bby throws his digital electronics text
03:51:25 <Mkop> speaking of which, where is my bio textbook?
03:51:41 * Mkop catches r0bby's electronics text and takes it home
03:55:14 <r0bby> it's pretty decent
03:55:16 <r0bby> the text
03:55:33 <r0bby> I hardly study and i'm pulling an A- (i believe she said an A- avg)
03:55:51 <r0bby> quizzes, midterm, labs are definitely an A
03:56:00 <r0bby> all that's left is the final, that'll determine my fate :)
03:56:09 <r0bby> my discrete, that's another story
04:08:52 *** nribeka1 has joined #openmrs
04:19:04 *** bwolfe has quit IRC
04:23:53 <Mkop> Yahoo Answers is funny
04:24:01 <Mkop> if dumb at (most) times
04:24:36 <Mkop> a kid writes in saying "I've become kinda religious over the past few years, and am thinking of becoming a priest, how do I do that? etc."
04:24:36 <Keelhaul> http://cdn.holytaco.com/www/sites/default/files/images/Swine-Flu-Chart.jpg
04:24:38 <OpenMRSBot> <http://ln-s.net/3+ru> (at cdn.holytaco.com)
04:24:50 <Mkop> someone responds, "On the character selection menu...."
04:25:06 <Mkop> Keelhaul: lol
04:25:31 <Keelhaul> Mkop: link to that?
04:25:41 <Mkop> http://answers.yahoo.com/question/index;_ylt=AnOnpE60Skow1N8M9rQmn0AWxgt.;_ylv=3?qid=20090427210529AAksHjf
04:25:45 <OpenMRSBot> <http://ln-s.net/3+rv> (at answers.yahoo.com)
04:25:50 <Mkop> I don't know if that link is session-specific
04:27:16 *** nribeka has quit IRC
04:29:02 <Keelhaul> nah
04:43:35 *** nimanthab has joined #openmrs
04:45:01 *** Keelhaul has quit IRC
04:47:13 * r0bby gets back to work
05:03:42 *** djmlog103_ has joined #openmrs
05:07:02 * r0bby goes to grab java 6 u14 to see how G1 GC is
05:13:17 *** amoga has joined #openmrs
05:17:35 <amoga> hi all
05:17:41 <r0bby> hey amoga
05:17:53 <r0bby> let's see if this is any faster...
05:18:15 <amoga> did u guys download the modules from the repositary
05:18:31 <r0bby> I have a local copy of all modules and trunk
05:18:34 <r0bby> why?
05:23:12 *** nribeka1 has quit IRC
05:24:04 *** scottyaz has joined #openmrs
05:26:25 *** nribeka has joined #openmrs
05:26:25 *** ChanServ sets mode: +v nribeka
05:39:56 <amoga> ok
05:46:09 *** atomicturtle has joined #openmrs
05:48:49 *** scottyaz has quit IRC
05:50:55 *** djmlog103_ has quit IRC
05:54:40 <r0bby> .jj
06:10:48 *** scottyaz has joined #openmrs
06:23:09 *** pascal` has joined #openmrs
06:24:31 *** omar has joined #openmrs
06:24:39 *** omar has quit IRC
06:30:27 *** amoga has quit IRC
06:41:53 *** pakon has joined #openmrs
06:46:27 <pakon> r0bby: help me with bot command !out_of_memory
06:46:40 <pakon> !out_of_memory
06:46:40 <OpenMRSBot> pakon: Error: "out_of_memory" is not a valid command.
06:52:05 <upul> !oom
06:52:05 <OpenMRSBot> upul: "oom" --- (#1) Tomcat's memory management sucks. Increase your memory available to tomcat. See http://openmrs.org/wiki/Out_Of_Memory_Errors, or (#2) moo backwards
06:52:36 <upul> pakon: thing you were looking for
07:03:23 *** Mkop1 has joined #openmrs
07:05:34 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: OpenMRS fails to load in ubuntu <http://forum.openmrs.org/viewtopic.php?f=11&t=441#p1534>
07:07:50 *** Mkop has quit IRC
07:16:37 *** amoga has joined #openmrs
07:27:44 *** amoga has quit IRC
07:32:22 *** Mkop1 has quit IRC
07:52:03 <pakon> upul: thanks a lot :)
07:59:02 <pascal`> !moo
07:59:02 <OpenMRSBot> pascal`: "moo" --- MOOOOOOO!!!!!
07:59:20 *** pakon has quit IRC
08:09:04 *** scottyaz has quit IRC
08:39:38 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Is ther a OpenMRS release in Spanish? <http://forum.openmrs.org/viewtopic.php?f=11&t=437#p1535>
08:45:54 *** scottyaz has joined #openmrs
08:58:35 *** scottyaz has quit IRC
09:02:06 *** scottyaz has joined #openmrs
09:02:11 *** atomicturtle has quit IRC
09:02:40 *** atomicturtle has joined #openmrs
09:16:08 *** scottyaz_ has joined #openmrs
09:16:11 *** scottyaz has quit IRC
10:37:15 *** atomicturtle has left #openmrs
10:38:51 *** amoga has joined #openmrs
10:38:54 *** amoga has quit IRC
10:39:17 *** amoga has joined #openmrs
10:40:29 <amoga> hi all
10:45:23 <nimanthab> r0bby: Hi! you around?
11:19:20 *** Echidna has quit IRC
11:21:00 *** Echidna has joined #openmrs
11:32:56 *** upul has quit IRC
11:35:02 *** amoga has quit IRC
11:41:13 *** james_regen has joined #openmrs
11:41:13 *** ChanServ sets mode: +v james_regen
12:03:43 *** atomicturtle1 has joined #openmrs
12:07:54 *** bwolfe has joined #openmrs
12:07:54 *** ChanServ sets mode: +o bwolfe
12:28:01 <james_regen> bwolfe: is there anything else i need to do to get the folders in subversion?
12:28:38 <bwolfe> there shouldn't be
12:30:06 <james_regen> ok.
12:33:40 <nribeka> when we will get it bwolfe? ;)
12:34:02 <bwolfe> you can have it now I thought
12:34:24 <bwolfe> no one replied to james' last email, so I take that as agreement :-)
12:34:47 <nribeka> haha ic ic :D
12:35:52 <nribeka> when we do initial commit, we checkout the folder and then fill the folder, right bwolfe?
12:36:46 <bwolfe> thats one way to do it. you will have to first create the folder using the SVN Repository View in eclipse or something
12:37:18 <bwolfe> the other way is to disconnect your checked out code and then do "team-->share project" at the (not existing yet) folder you want
12:40:37 <nribeka> ooo found the menu team --> share
12:46:12 *** james_regen has quit IRC
12:47:15 *** james_regen has joined #openmrs
12:47:15 *** ChanServ sets mode: +v james_regen
12:49:01 *** atomicturtle1 has quit IRC
12:53:52 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: OpenMRS fails to load in ubuntu <http://forum.openmrs.org/viewtopic.php?f=11&t=441#p1536>
12:59:44 *** jmiranda has quit IRC
13:11:28 *** Keelhaul has joined #openmrs
13:11:28 *** ChanServ sets mode: +v Keelhaul
13:12:09 *** jmiranda has joined #openmrs
13:12:09 *** ChanServ sets mode: +o jmiranda
13:25:54 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7459]: -chica * Error message for invalid mrn was not displaying mrn correctly … <http://dev.openmrs.org/changeset/7459>
13:51:48 *** atomicturtle has joined #openmrs
13:51:48 *** atomicturtle has left #openmrs
13:53:51 *** amoga has joined #openmrs
14:07:35 *** OpenMRSBot has joined #openmrs
14:08:17 *** ChanServ sets mode: +o OpenMRSBot
14:10:27 *** amoga has joined #openmrs
14:12:59 *** amoga has quit IRC
14:28:33 *** OpenMRSBot has joined #openmrs
14:28:35 *** ChanServ sets mode: +o OpenMRSBot
14:56:52 *** scottyaz_ has quit IRC
15:00:13 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7462]: reportingcompatibility 1.5: Removing unused servlets and ensuring … <http://dev.openmrs.org/changeset/7462> || OpenMRS Changesets: Changeset [7461]: --chica * modification to dependent module versions in config <http://dev.openmrs.org/changeset/7461> || OpenMRS Changesets: Changeset [7460]: uuids branch: Cleaned up services so that it compiles on java 1.5 Changed … <http://dev.openmrs.org/changeset/7460>
15:13:02 *** jmiranda has quit IRC
15:30:09 *** Glen_ has joined #openmrs
15:30:57 *** jmiranda has joined #openmrs
15:30:57 *** ChanServ sets mode: +o jmiranda
15:31:03 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7464]: Ran formatter on all java files in trunk to make file/branch comparison … <http://dev.openmrs.org/changeset/7464> || OpenMRS Changesets: Changeset [7463]: Merged trunk to uuids branch [7322]:[7459] <http://dev.openmrs.org/changeset/7463>
15:32:59 <Keelhaul> bwolfe: does openmrs use spring aop?
15:36:26 <Keelhaul> i see spring imports in the example on the wiki
15:36:38 <Keelhaul> but my own advice classes only have aopalliance imports
15:49:15 <Keelhaul> http://openmrs.org/wiki/OpenMRS_AOP
15:49:17 <Keelhaul> hmm
15:49:26 <Keelhaul> in the AroundAdvice example, there's this class within class thing
15:49:29 <Keelhaul> i only have the inner class
15:49:30 <Keelhaul> and it works
15:49:34 <Keelhaul> am i doing it wrong?
16:00:55 *** nribeka has quit IRC
16:04:18 *** luzhuangwei has joined #openmrs
16:04:45 *** omar has joined #openmrs
16:05:10 *** Mkop has joined #openmrs
16:15:48 *** Glen_ has quit IRC
16:33:19 *** nribeka has joined #openmrs
16:33:19 *** ChanServ sets mode: +v nribeka
16:33:27 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7465]: uuids: fixing tests in UserServiceTest which are changing passwords. <http://dev.openmrs.org/changeset/7465>
16:41:16 *** vanmh has quit IRC
16:52:36 *** Echidna has quit IRC
16:52:50 *** Echidna has joined #openmrs
17:04:20 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7468]: uuids: fixing AdministrationServiceTest <http://dev.openmrs.org/changeset/7468> || OpenMRS Changesets: Changeset [7467]: reportingcompatibility 1.5: Modifications required to ensure unit test can … <http://dev.openmrs.org/changeset/7467> || OpenMRS Changesets: Changeset [7466]: longitudinaldataviewer: Creating initial directory <http://dev.openmrs.org/changeset/7466>
17:27:15 <bwolfe> Keelhaul: yes, we use spring aop
17:27:27 <bwolfe> aopalliance is now spring aop I think, so some classes have the old package names
17:27:48 <Keelhaul> bwolfe: could you explain that example AroundAdvice implementation to me?
17:28:15 <Keelhaul> why is the actual advice within another class
17:28:22 <Keelhaul> i omitted that in my implementation
17:29:02 <Keelhaul> http://pastebin.com/m66f5bc9e
17:29:48 <bwolfe> which AroundAdvice are you looking at ?
17:29:55 <Keelhaul> http://openmrs.org/wiki/OpenMRS_AOP
17:30:00 <Keelhaul> the example at the bottom
17:30:04 <Keelhaul> it seems to be a bit static
17:30:25 <Keelhaul> i guess it only runs the advice if matches() is true
17:30:46 <Keelhaul> my advice performs different actions compared on the method name though
17:36:02 <bwolfe> I think it has that because it extends StaticMethodMatcherPointcutAdvisor and it demands a class
17:36:09 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7470]: reportingcompatibility: Applying changeset patches [7462] and [7467] to … <http://dev.openmrs.org/changeset/7470> || OpenMRS Forum: Re: Sending open MRS HL7 Messages <http://forum.openmrs.org/viewtopic.php?f=10&t=440#p1537> || OpenMRS Changesets: Changeset [7469]: "longitudinaldataviewer : Initial commit of module files" <http://dev.openmrs.org/changeset/7469>
17:37:56 <Keelhaul> bwolfe: can i leave mine like that or is that improper and hacky?
17:38:00 <Keelhaul> it seems to work fine..
17:38:08 <bwolfe> its fine
17:39:03 <Keelhaul> maybe i could use two before/after advices instead
17:54:43 *** Mkop1 has joined #openmrs
17:55:22 <bwolfe> Keelhaul: you could either use two different advice classes or combine them into one and do an if statement looking at the method name
17:55:53 <Keelhaul> bwolfe: isnt that what i'm doing right now?
17:58:20 <r0bby> nribeka: yes
17:58:28 <r0bby> er he's gone
17:58:41 <r0bby> nribeka: didnt mean to highlightg you
17:59:46 *** luzhuangwei has left #openmrs
17:59:54 <bwolfe> Keelhaul: yeah
18:00:06 <nribeka> r0bby, what does it means?
18:00:09 <nribeka> lol
18:00:14 <Keelhaul> what i'm not doing is that class around my advice
18:00:38 <Keelhaul> which wouldnt do anything besides adding redundant checks for method names, the way i see it
18:01:08 <r0bby> nribeka: forget it
18:06:26 <OpenMRSBot> Recent updates in the world of openmrs: Omar Verduga: First module <http://omargsoc.wordpress.com/2009/04/28/first-module/> || OpenMRS Changesets: Changeset [7471]: uuids: UserServiceImpl: replaced this.generateSystemId() by … <http://dev.openmrs.org/changeset/7471>
18:07:04 *** nribeka has left #openmrs
18:11:37 *** Mkop has quit IRC
18:16:47 *** jmiranda has quit IRC
18:16:53 *** jmiranda has joined #openmrs
18:16:53 *** ChanServ sets mode: +o jmiranda
18:19:05 *** Keelhaul has quit IRC
18:19:11 *** Keelhaul has joined #openmrs
18:19:11 *** ChanServ sets mode: +v Keelhaul
18:38:30 *** omar has quit IRC
18:42:52 *** scottyaz has joined #openmrs
19:10:31 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7472]: uuids: fixing UserServiceTest <http://dev.openmrs.org/changeset/7472>
19:18:48 <r0bby> :DDDDDDDDD
19:18:50 <r0bby> bwolfe:
19:19:16 <r0bby> Guillaume LaForge basically said his groovywebconsole google app engine app is public domain :D
19:19:38 <r0bby> this is good for me since his code is written in a way that you'll get everything you want and it'll work :D
19:19:55 <r0bby> :DDDDDDDD
19:19:57 * r0bby dances
19:21:05 * r0bby does a happy dance
19:38:11 *** Agnor has joined #openmrs
20:10:25 *** Keelhaul has quit IRC
20:14:34 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7473]: uuids branch: Fixing Concept Service test after merge from trunk <http://dev.openmrs.org/changeset/7473>
20:20:55 *** james_regen has quit IRC
20:37:22 *** scottyaz has left #openmrs
20:41:04 *** pakon has joined #openmrs
20:42:34 <pakon> hi all
20:43:10 <pakon> how i can get list of all loaded modules from controller?
20:44:43 <Mkop1> online stores go to such lengths to convince you to buy from them. Sometimes they're just not very convincing. "Pls be assured that we have SSL security protection in submitting process, Pls feel free to submit your credit card, we have SSL security protection in submitting process. "
20:45:05 <Mkop1> pakon: sorry, don't know
20:46:49 <pakon> bwolfe, jmiranda: can you help me?
20:47:28 <bwolfe> Mkop1: ModuleFactory.getLoadedModules()
20:47:36 <bwolfe> (and pakon)
20:48:37 <pakon> bwolfe: thanks
20:52:08 *** djmlog103_ has joined #openmrs
21:01:15 <r0bby> bwolfe you should join the ACM :)
21:01:17 <r0bby> it's amazing :D
21:01:33 <r0bby> Barbara Liskov is a VERY eloquent speaker :)
21:01:38 <r0bby> I misspelled thta
21:02:39 <r0bby> she had multiple contributions in the development of OOP :)
21:03:14 <r0bby> BAH
21:03:16 <r0bby> http://www.acm.org/press-room/news-releases/acm-icpc-09/
21:03:17 <r0bby> :(
21:03:19 <OpenMRSBot> <http://ln-s.net/3-57> (at www.acm.org)
21:08:19 *** pakon has quit IRC
21:09:31 <r0bby> I wanna do that :x
21:09:39 <r0bby> I think i'm automatically disqualified \
21:15:10 <r0bby> bwolfe: ping
21:15:21 <r0bby> any clue how i'd get groovlets working
21:15:32 <r0bby> can modules define custom mappings
21:15:40 <r0bby> if so, how would i refer to the groovy script?
21:15:40 <r0bby> :/
21:15:46 * r0bby is confused
21:15:51 <r0bby> wait i have an idea
21:17:43 <r0bby> hopefully this works..
21:32:40 *** djmlog103_ has quit IRC
22:13:12 *** Keelhaul has joined #openmrs
22:13:12 *** ChanServ sets mode: +v Keelhaul
23:35:52 <r0bby> nice jmiranda, i see jquery is making its way in :)
23:35:53 <r0bby> <3 it
23:36:19 <jmiranda> yeah, we'll see
23:37:13 <jmiranda> it's just going to be in modules for now, but i assume we'll add it to core if/when it becomes used more
23:40:01 <r0bby> it's good :)
23:40:18 <r0bby> Though ben hates that one character differentiats CSS ids and classes
23:42:04 <r0bby> burke is gonna kill me
23:42:26 <r0bby> I had some groovy code that return via JSON the stack trace, result, and output
23:42:38 <r0bby> and some sexy jquery UI code that did tabs :)
23:43:07 <r0bby> you're joking.. IDEA is warning me about *jar files*
23:43:08 <r0bby> ...
23:46:08 <Keelhaul> jmiranda: what modules?
23:48:02 <r0bby> well groovyforms, groovy module is about to use it
23:48:34 <r0bby> im gonna flip my lid if IDEA doesn't stop getting in my way
23:48:44 <Keelhaul> arent those your modules
23:49:15 <r0bby> groovy module is burke's
23:49:19 <r0bby> I'm just fixing it up
23:49:22 <r0bby> groovyforms is mine
23:50:03 <jmiranda> Keelhaul: anyone who wants to use jquery can use them
23:50:09 <jmiranda> so any module
23:50:17 <jmiranda> we're using it for one of the reporting module
23:50:20 <Keelhaul> well probably
23:50:25 <Keelhaul> i was hoping there are examples
23:50:29 <Keelhaul> within openmrs
23:50:40 <Keelhaul> one of the reporting modules?
23:50:42 <Keelhaul> which one
23:50:48 <jmiranda> datasetbuilder
23:50:55 <Keelhaul> is that in the rep?
23:51:01 <jmiranda> not yet
23:51:04 <jmiranda> give it a week or two
23:51:10 <Keelhaul> ok
23:51:16 <jmiranda> it's in subversion, but not ready for prime time just yet
23:51:26 <Keelhaul> does it compile?
23:51:45 <jmiranda> yeah, it compiles and deploys
23:51:50 <Keelhaul> ok
23:52:00 <jmiranda> and the pages return valid HTML
23:52:15 *** Mkop1 has quit IRC
23:52:18 <jmiranda> but the UIs aren't final yet (is all)
23:52:34 <jmiranda> but you can see how to incorporate jquery
23:52:43 <Keelhaul> thats good
23:52:50 <Keelhaul> i was hoping to learn it one day
23:52:54 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7474]: datasetbuilder: * Incorporated UI code developed by djmlog103 <http://dev.openmrs.org/changeset/7474>
23:52:56 <Keelhaul> but i dont like using tutorials
23:52:58 <Keelhaul> i like examples
23:54:09 <jmiranda> ok, i'm off for a few hours
23:54:13 <jmiranda> talk to you guys later
23:54:15 <Keelhaul> bai
23:55:25 *** rryan` has joined #openmrs
23:55:55 *** rryan has quit IRC
23:55:55 *** r0bby has quit IRC
23:56:16 *** rryan has joined #openmrs
23:57:01 *** rryan has quit IRC
23:57:43 *** r0bby has joined #openmrs
23:57:43 *** ChanServ sets mode: +v r0bby