Wiki Spaces


Get Help from Others

Q&A: Ask OpenMRS »
Discussion: OpenMRS Talk »
Real-Time: IRC Chat

IRC Logs

Child pages
  • 2009-06-11 - OpenMRS
Skip to end of metadata
Go to start of metadata
00:00:59 <r0bby> nribeka: I hate you
00:01:15 <nribeka> eh why r0bby?
00:03:34 <nribeka> omg ... this is so slow ...
00:08:05 <r0bby> I dunno :)
00:08:09 <r0bby> Do i need a reason
00:11:30 <nribeka> yes you do r0bby
00:11:32 <nribeka> lol
00:11:43 <nribeka> .25kbps
00:40:03 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8391]: facility data: accidentally deleted this method; adding it back <> || OpenMRS Changesets: Changeset [8390]: facility data: add a facility to get a question by its UUID <>
01:06:51 *** Echidna_ has quit IRC
01:09:14 <r0bby> I <3 google collections :D
01:11:59 *** Agnor has quit IRC
01:19:54 *** Mkop has joined #openmrs
01:23:49 *** Echidna has joined #openmrs
01:27:46 *** nribeka has quit IRC
02:14:37 *** jmiranda has joined #openmrs
02:14:37 *** ChanServ sets mode: +o jmiranda
02:16:13 <r0bby> this stuff isn't so bad :D
02:24:22 *** atomicturtle has joined #openmrs
02:28:41 *** upul has joined #openmrs
02:28:42 *** ChanServ sets mode: +v upul
02:30:02 <r0bby> upul: how goes SOC :)
02:32:08 <upul> r0bby: just going along
02:33:13 <r0bby> yeh i'm getting going :)
02:35:14 * Mkop is having a 30 minute coding sprint
02:35:23 <Mkop> let's see how many lines of code I can write in 30 minutes
02:35:28 <Mkop> (I'm not actually gonna count)
02:37:10 <r0bby> Mkop: i wrote 200+ :)
02:37:17 <upul> System.
02:37:18 <upul> out
02:37:18 <r0bby> no joke =) That was my initial mocking up :)
02:37:20 <upul> println
02:37:30 <r0bby> upul: that's just sadistic
02:39:58 <upul> if it's paid by the number of lines of code
02:43:05 *** jmiranda has quit IRC
02:44:26 <r0bby> ah but it's not
02:46:13 *** jmiranda has joined #openmrs
02:46:13 *** ChanServ sets mode: +o jmiranda
02:46:45 <Mkop> hi, jmiranda
02:51:08 <jmiranda> hey Mkop
02:51:31 <r0bby> hye jmiranda :)
02:51:45 <r0bby> I'm not using rememberthemilk but *AM* using a TODO list
02:51:58 <jmiranda> hey r0bby
02:52:02 <r0bby> Before i go to bed, I will finish this one task so I can be back on track :D
02:52:04 <Mkop> after my 30 minute coding sprint maybe I can talk
02:52:10 <Mkop> I have nothing important to say
02:52:10 <jmiranda> good ... you have to figure out what works best for you
02:52:28 *** atomicturtle has left #openmrs
02:53:03 <jmiranda> Mkop, go get 'em
02:53:12 <Mkop> YEAAAAH!
02:53:13 <upul> Hi jmiranda, about active lists, you have said that putting allegies, diagnosis to patientservice makes a cartisian product
02:53:27 <upul> what does it mean
02:53:42 <jmiranda> upul, i said that?
02:54:23 <jmiranda> could you give me some context ... i'm getting old ... er
02:54:28 <upul>
02:54:36 <OpenMRSBot> <> (at
02:54:49 <upul> Justin and Mike concerned about the cartesian product that might emerge when convenience methods are made available under the patient service.
02:54:52 <jmiranda> oh
02:55:17 <jmiranda> yeah, that makes more sense
02:55:41 <jmiranda> we all want the API to become smarter
02:55:57 <jmiranda> right now, we have a delegate-to-the-DAO-layer service layer
02:56:14 <r0bby> ick
02:56:20 <jmiranda> so we'd like for there to be more "business-y logic" methods in the API
02:56:21 <r0bby> set theory comes back to haunt me
02:57:07 <upul> jmiranda: so how does a cartesian product comes in here?
02:57:20 <jmiranda> but i was just saying that if we go the route of adding get/save/purge methods for all of the "entities" for allergies, diagnoses, etc
02:57:29 <jmiranda> then the API gets huge pretty quickly
02:57:59 <upul> I see
02:58:17 <jmiranda> cartesian product is just an a way of saying "a lot"
02:58:28 <upul> ah right
02:58:42 <r0bby> I was thinking Set theory :S
02:58:52 <jmiranda> i like the idea of making the API smarter, but it seems like we should be doing that through modules
02:58:54 <r0bby> Blame the fact i just took discrete math
02:59:17 <jmiranda> eventually openmrs modules will be like eclipse modules
02:59:42 <upul> so it's going to use osgi?
03:00:06 <jmiranda> eventually, i hope
03:00:13 <jmiranda> we've had a few conversations about that
03:00:22 <jmiranda> but no plans to move in that direction
03:01:46 <Mkop> grrr
03:02:00 <Mkop> why do I keep Alt-Tabbing back to IRC if I'm on a coding sprint?
03:02:14 <jmiranda> slash exit
03:02:37 <jmiranda> or pull the plug
03:02:55 <upul> konversation client has sub titles like thing
03:03:14 <r0bby> same reaosn i do :0
03:04:17 <jmiranda> which is ...
03:04:45 <jmiranda> because ...
03:05:37 <upul> Mkop: am I disturbing you? :-)
03:06:11 *** jmiranda_ has joined #openmrs
03:06:25 <Mkop> upul: you only disturbed me when you highlited my name
03:06:26 <Mkop> :-P
03:06:35 <r0bby> Mkop Mkop Mkop Mkop Mkop Mkop
03:06:42 <r0bby> Hint: use irssi
03:06:49 <r0bby> I get no notifications unless I look :)
03:06:54 *** Mkop has left #openmrs
03:07:00 <jmiranda_> :)
03:07:03 <jmiranda_> this is fun
03:07:03 <upul> r0bby: look what you did
03:07:05 <r0bby> That works :)
03:07:20 <jmiranda_> subtitles?
03:07:20 <r0bby> oddly enough im getting work done
03:08:06 <r0bby> he's gonna murder me
03:08:14 <upul> jmiranda_: yes, like dvd sub titles, it shows the messsages in the screen way you like
03:08:25 <jmiranda> where do you set that up?
03:08:43 <upul> there's OSD in the preferences
03:09:08 * r0bby bands his head on his desk
03:09:17 <r0bby> this is way too much logic in a controller
03:09:23 <jmiranda> how does one do that r0bby?
03:10:23 <r0bby> I introduced google-collections :)
03:10:31 <r0bby> for the filtering abilities
03:10:34 <jmiranda> to whom?
03:10:40 <r0bby> to my project :)
03:10:59 <r0bby> it's RC, but oh well it works
03:11:10 <r0bby> this is google we're talking about, they test vigorously :)
03:12:29 <r0bby> I just realized, i need to save my mock questiosn to the DB to make this work :)
03:13:01 <jmiranda_> upul: that's pretty cool
03:13:31 <upul> jmiranda_: pretty good for #openmrs like channel
03:13:46 <jmiranda> jmiranda, whoa ... wait
03:13:52 <upul> too annoying if it is something like #gsoc
03:13:54 <jmiranda> who's using my other nickname
03:14:02 <jmiranda_> uh oh
03:14:09 *** jmiranda_ has quit IRC
03:14:14 <r0bby> LOL :)
03:14:19 <r0bby> you?
03:14:28 <r0bby> docr0bby
03:14:31 <r0bby> trust me, i'm a doctor
03:14:40 <jmiranda> once again ...
03:14:43 <jmiranda> no you're not
03:14:51 <r0bby> I AM!
03:15:02 <r0bby> I could be!
03:15:19 <Keelhaul> thats another 10 years of school
03:15:48 <upul> you can get a PhD from some institute somwhere
03:16:35 <r0bby> Keelhaul: pfft
03:16:40 <r0bby> I'll just make my own degree
03:16:40 *** upul has quit IRC
03:16:42 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Using demo database with nightly builds <>
03:16:56 <Keelhaul> o_O
03:17:03 <Keelhaul> you remind me of roger from american dad =P
03:17:15 *** upul has joined #openmrs
03:17:15 *** ChanServ sets mode: +v upul
03:20:48 <r0bby> Keelhaul: does he have major ADD?
03:20:49 <r0bby> LOL
03:21:10 <r0bby> I should be the gold fish... Ohh shiny!
03:21:56 <Keelhaul> is ADD even a real condition
03:23:41 *** bwolfe has quit IRC
03:24:32 *** Mkop has joined #openmrs
03:24:40 <Mkop> finished my coding sprint
03:24:46 <Mkop> 30 minutes isn't very long
03:25:04 <Mkop> but I have homework to do, and I did enough to get me started for tomorrow
03:26:06 <Mkop> now, for.... soup!
03:26:15 <Mkop> yay for canned soup and microwaves!
03:28:50 <r0bby> a lil under 100 lines to save these god damn things :)
03:29:05 <r0bby> This will need to be refactored.
03:29:14 <Keelhaul> make sure to pour it out of the can first =P
03:32:44 * r0bby dumps some expired sardines on Keelhaul
03:36:45 <r0bby> IDEA is so neat
03:38:40 <upul> IDEA is annoying when it starts always try to get to the top how many times you push back
03:40:04 <r0bby> upul: it's crashing a lot on me lately too
03:40:12 <r0bby> I guess that's what I get for wanting bleeding edge
03:41:09 <upul> don't cut yourself r0bby
03:42:17 <r0bby> LOL!
03:42:27 <r0bby> upul: you do know what bleeding edge means right LOL
03:43:18 <upul> yeah, other edge is not sharp :-D
03:43:55 <r0bby> upul: latest and greatest (or in some case, not so)
03:44:12 <r0bby> okay, if this works im gonna go nuts
03:44:44 * upul defenestrates r0bby
03:44:57 <r0bby> wtf
03:45:00 <r0bby> big word
03:45:41 <r0bby> there is no concept of sections when it comes to saving them :S
03:45:56 <r0bby> the data anyways
03:46:47 <r0bby> Two things off my list :D
03:48:35 <r0bby> hrm..
03:48:38 <r0bby> not-null property references a null or transient value:
03:48:41 <r0bby> wtf
03:49:14 <upul> you haven't filled a not-null property before saving
03:49:39 <r0bby> hrm
03:50:14 <r0bby> fixed that :)
03:50:20 <r0bby> I dont care about those properties :)
03:52:10 <r0bby> upul: thanks
03:52:19 <r0bby> I didn't work w/ hibernate last summer
04:09:17 <r0bby> java.lang.Boolean cannot be cast to java.lang.String
04:09:18 <r0bby> wtf
04:09:19 <r0bby> :(
04:13:06 *** atomicturtle has joined #openmrs
04:39:00 <Mkop> r0bby: Boolean.toString()?
04:39:30 *** Keelhaul has quit IRC
04:39:43 <r0bby> Mkop: ... i dont even know where that is!
04:40:04 <r0bby> I build up form sections using sequential method calls
04:46:47 <r0bby> upul: ping ping
04:46:55 * r0bby throws a ping pong ball at upul :(
04:47:31 <upul> ball bounces and hit Mkop
04:50:32 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8392]: mdrtb1.4. fixed a typo in regimen jsp page <>
04:56:13 <r0bby> upul: I can't figure out *WHY* hibernate is crapping out on me but it's occuring in my DAO
04:57:15 <r0bby> org.openmrs.api.db.DAOException
04:57:16 <r0bby> java.lang.Boolean cannot be cast to java.lang.String
04:59:09 <r0bby> :<
04:59:27 * Mkop throws a bowling ball at r0bby
04:59:51 <r0bby> :<
05:19:57 <upul> r0bby: can't say much from that
05:21:43 <upul> check the line numbers in the stack trace
05:21:55 <r0bby> I did
05:22:06 <r0bby> doesn't do much :<
05:24:28 <upul> r0bby: what does stack trace say
05:37:53 *** harshini has joined #openmrs
05:38:10 <harshini> hi
05:38:42 <upul> hi
05:38:45 <harshini> can some one help me
05:40:03 <harshini> i have to add a value to the existing globalproperty in the program
05:41:58 <upul> you can used the AdministrationService
05:42:04 <upul> *use
05:42:55 <harshini> if i say adminservice.setGlobalproperty.. iam getting error
05:43:06 <harshini> a different object with the same identifier value was already associated with the session: [org.openmrs.GlobalProperty#rolebasedhomepage.navigation]
05:43:25 <harshini> this is the error which iam getting
05:44:27 <upul> try editing the existing property, may be the prop already exists
05:44:55 <harshini> how can i do that
05:47:39 <upul> there must be getproperty or something then change it and save it or delete the existing one
05:48:31 <harshini> i want to do that in program.. not manually
05:48:53 <upul> adminservice has getprop, etc.
05:49:41 <harshini> ya iam getting the existing value of that property
05:50:39 <harshini> iam trying to change that value by using setprop of adminservice
05:52:40 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8393]: facility data: adding google collections which is used to filter out … <>
05:53:31 <upul> error says you have another object loaded with the same id in memory and you are saving another object with the same id and trying to save it
05:57:41 <Mkop> do you have another object called rolebasehomepage.navigation?
05:59:38 <harshini> no
06:02:26 <harshini> 'rolebasehomepage.navigation'.. is the property name
06:03:05 <harshini> and i want to change the value of that property
06:03:06 <Mkop> try getGlobalPropertyObject('rolebasedhomepage.navigation'), then edit the object, and re-save the object
06:04:06 <Mkop> using saveGlobalProperty(theObject)
06:04:07 <harshini> how do i re-save.. using setGlobalProperty?
06:04:15 <harshini> ok
06:05:18 <Mkop> javadoc is your friend
06:05:24 <Mkop>
06:06:10 <Mkop> also, pay attention to new compiler warnings - I bet you were getting a warning b/c setGlobalProperty is deprecated
06:06:22 *** pascal` has joined #openmrs
06:06:36 <pascal`> 'lo
06:06:40 <Mkop> ok, pascal` is here, that means I need to go to sleep
06:07:16 <pascal`> hey Mkop
06:07:19 <pascal`> am i that boring?
06:07:30 <harshini> thanQ Mkop
06:07:36 <Mkop> no, you're not boring
06:07:43 <Mkop> it's just that you always show up at my bedtime
06:08:44 <harshini> Mkop: saveGlobalProperty()... is not there in my trunk
06:09:33 <Mkop> huh? what version do you have?
06:09:38 <pascal`> harshini, setGlobalProperty()?
06:09:45 <harshini> and getGlobalPropertyObject().. also
06:09:48 <pascal`> or get suggestions from the AdministrationService
06:10:04 <Mkop> setglobalproperty is deprecated, replaced by saveGlobalProperty
06:10:18 <pascal`> harshini, you have the latest trunk?
06:10:32 <harshini> i think i need to download it
06:11:26 <Mkop> my advice for you is to do svn update regularly
06:11:34 <harshini> ok
06:11:47 <Mkop> you can't really commit or create a patch effectively without doing an update
06:13:16 <pascal`> well in any case, eclipse should give you suggestions
06:13:16 <pascal`> unless you're working on an earlier version
06:18:44 *** harshini has quit IRC
06:29:21 <r0bby> upul: points to all places where i save the object
06:29:36 <r0bby> I dont see where a Boolean is being saved :/
06:29:54 <r0bby> well it is :X
06:30:03 <r0bby> it
06:30:10 <r0bby> 's on the super class though :S
06:30:18 <r0bby> there's one :X
06:32:54 <upul> it's an openmrs daoexception, can't say much without looking at the stack trace
06:34:46 <r0bby> I re-threw it
06:34:56 <r0bby> so I *KNOW* it's in my DAO :)
06:35:04 <r0bby> i did a try-catch
06:35:13 <r0bby> it's definitely hibernate
06:35:35 <r0bby> hrm..
06:35:36 <r0bby> ok
06:35:50 <r0bby> ... it went away!
06:36:34 <upul> must be the solar winds
06:37:48 <Mkop> must be some other winds
06:37:53 <Mkop> possibly related to dominos
06:38:01 <r0bby> ...
06:38:40 <r0bby> One part of this code i wont feel bad to see go is this god damn mock form
06:38:51 <r0bby> The Questions are being saved to the DB :)
06:39:10 <r0bby> should i go to bed?
06:39:17 <Mkop> should I?
06:39:21 <r0bby> YES!
06:39:25 <r0bby> you're in my TZ
06:39:27 <r0bby> so yes.
06:39:41 <r0bby> I tentatively set my own Due date of Friday @ 6pm
06:39:54 <r0bby> This way I can take the weekend off and feel good that i accomplished a lot
06:41:14 <r0bby> AGH
06:41:38 <r0bby> i f'en hate hibernate
06:41:43 *** harshini has joined #openmrs
06:42:20 *** harshini has quit IRC
06:43:04 <pascal`> r0bby, yeah hibernate is annoying my atm
06:43:16 <pascal`> but at least there's
06:43:38 <pascal`> (=
06:48:24 <r0bby> Im debugging this remotely
06:48:32 <r0bby> so im able to see the values :)
06:49:05 <r0bby> AHH
06:49:14 <r0bby> it seems to be trying to convert the boolean to a string
06:49:19 <r0bby> Don't know why
06:49:43 <pascal`> interesting
06:50:40 <r0bby> yeh
06:51:02 <pascal`> what is the column type?
06:51:35 <r0bby> insert into facilitydata_question (changed_by, creator, date_created, date_changed, uuid, retired, retired_by, retired_reason, date_retired, aggregate_method, enable_comemnts, data_type) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 'org.openmrs.module.facilitydata.model.BooleanCodedQuestion')
06:51:40 <r0bby> :D
06:52:05 <r0bby> :)
06:53:33 <upul> enable_comemnts speling mistake
06:53:42 <r0bby> hrm yeh
06:53:53 <r0bby> thanks
07:10:52 <r0bby> OHH the typo is in my mapping!
07:11:00 <pascal`> there we go
07:12:22 <r0bby> $10 says this fixes it
07:12:22 *** atomicturtle has quit IRC
07:12:50 *** atomicturtle has joined #openmrs
07:13:04 <pascal`> hmm
07:13:06 <pascal`> hopefully
07:15:46 <r0bby> if not, i'm going to bed
07:16:18 <r0bby> ... Now i'm getting classpath errors
07:16:44 <pascal`> another typo?
07:16:48 <pascal`> maybe it is time for bed
07:19:10 <r0bby> WTF
07:21:18 <r0bby> ugh im going to bed
07:21:22 <r0bby> screw this
07:21:41 <pascal`> l8rs
07:22:18 <r0bby> I need ben and/or justin the am
07:23:16 <pascal`> i'm sure they'll be here
07:25:13 <r0bby> deploying the update maybe it'll fix
07:31:49 <r0bby> maybe i dont hate this module as much as i think i do :)
07:32:22 <pascal`> mk
07:33:19 <r0bby> are you doing soc
07:33:28 <r0bby> i cant keep track of all the students this year :(
07:33:44 <pascal`> no
07:33:53 <pascal`> i wish i could have
07:33:59 <pascal`> i'd like to try for next year
07:34:31 <r0bby> dont let it stop you from doing some coding for us :)
07:34:40 <r0bby> It looks GREAT on your resume :)
07:34:58 <pascal`> i know
07:35:01 <r0bby> It landed me an interview
07:35:22 <r0bby> I blew that interbiew but it was good practice i guess :S
07:35:22 <pascal`> with?
07:35:30 <pascal`> heh
07:35:34 <r0bby> Viacom/mtvU
07:35:41 <pascal`> kewl
07:35:50 <r0bby> it would have been fun
07:36:12 <r0bby> but i dont think i would have been able to accept it if they offered me a job
07:36:22 <r0bby> I need job security and benefits
07:36:45 <r0bby> I sat during that interview thinking why the hell am i here?
07:37:01 <r0bby> Learned: DO NOT wear dress shoes in NYC!
07:37:12 <r0bby> i got home and my feet *HURT*
07:39:02 <pascal`> you need security and benefits?
07:39:15 *** amogha has joined #openmrs
07:39:21 <pascal`> can't let that family you support get tossed out the street i guess...
07:39:53 <amogha> hey pascal
07:40:00 <pascal`> hey amogha
07:40:09 <r0bby> pascal`: no
07:40:17 <r0bby> I have a pre-existing condition
07:40:40 <pascal`> ic... er... sort-of
07:40:51 <amogha> heya r0bby
07:40:52 <r0bby> and it requires I basically take this one thing which is the active form of vitamin D your body normally would produce, (it's prescription; and it's REALLLY expensive)
07:41:49 <r0bby> my parents shelled out over $40,000 on it since their insurance refused to cover it
07:42:05 <r0bby> I've had this condition since i was 10
07:42:14 <r0bby> (well i was diagnosed at age 10)
07:42:27 <r0bby> anyways off to bed :)
07:42:35 <pascal`> kk, cya
07:42:41 <r0bby> amogha: you're doing the Wysiwyg editor html form entry module right?
07:42:49 <amogha> no:|
07:42:59 <r0bby> take it you wanted that
07:43:05 <amogha> im doin the integration of OpenMRS with OpenEMPI
07:43:19 <r0bby> I did too, but i knew my chances were slim and I found out i had no passion for it
07:43:42 <r0bby> Then i found my project that im doing it looked fun
07:43:43 <r0bby> :)
07:43:46 <amogha> oh
07:44:02 <amogha> aye my current project seems very interestin
07:44:49 <r0bby> I'm slowly coming around as i get tasks completed
07:45:04 <r0bby> Next chunk of code i hope to eliminate is the code to mock up
07:45:21 <r0bby> this code will become my test dataset :)
07:45:27 <r0bby> once it saves to the DB :)
07:45:47 <amogha> cool
07:47:03 <r0bby> Tonight i wrote the code to save the question data :)
07:47:04 <r0bby> :D
07:47:14 <r0bby> got to play with google collections :D
07:47:25 <r0bby> Maps.filterEntries(Map,Predicate)
07:47:34 <r0bby> :DDDDD
07:47:38 <r0bby> AWESOME :D
07:49:19 <r0bby> I seem to be back on track :)
07:49:20 <r0bby> :D
07:49:50 <r0bby> I have essencially 2 days to do a weeks worth of work :S
07:49:57 <r0bby> to get back on track :(
07:50:09 * r0bby shuts up
07:50:17 <r0bby> I'm an IRC addict
07:51:11 <amogha> lol
07:51:21 <amogha> don you keep this thing movin:-j
07:51:27 <amogha> dont*
07:52:02 <r0bby> if i dont go to bed ill lose a day *AGAIN*
07:52:23 <amogha> what time is it there?
07:53:57 <r0bby> 352am
07:54:39 <amogha> that is late
08:20:51 *** amogha has quit IRC
08:37:08 *** pascal` has quit IRC
08:37:44 *** Mkop has quit IRC
09:11:34 *** kane77 has joined #openmrs
09:35:46 *** harshini has joined #openmrs
09:36:06 <harshini> hi all
09:39:24 <harshini> can anyone please tell me the password of MySQL instaled on the lab2 server
09:48:04 *** nribeka has joined #openmrs
09:48:05 *** ChanServ sets mode: +v nribeka
10:09:50 *** bwolfe has joined #openmrs
10:09:50 *** ChanServ sets mode: +o bwolfe
10:11:30 *** atomicturtle1 has joined #openmrs
10:11:30 *** atomicturtle has quit IRC
10:29:11 *** bwolfe has quit IRC
11:02:07 *** james_regen has joined #openmrs
11:02:07 *** ChanServ sets mode: +v james_regen
11:04:58 *** pascal` has joined #openmrs
11:30:28 *** james_rege1 has joined #openmrs
11:30:28 *** james_regen has quit IRC
11:36:16 *** upul has quit IRC
11:55:12 *** kane77 has quit IRC
11:55:20 *** nribeka has quit IRC
11:58:25 *** nribeka has joined #openmrs
11:58:25 *** ChanServ sets mode: +v nribeka
12:10:47 *** scottyaz has joined #openmrs
12:15:40 *** Keelhaul has joined #openmrs
12:15:40 *** ChanServ sets mode: +v Keelhaul
12:27:27 *** upul has joined #openmrs
12:27:28 *** ChanServ sets mode: +v upul
12:27:57 *** bwolfe has joined #openmrs
12:27:57 *** ChanServ sets mode: +o bwolfe
12:41:09 *** bmckown has joined #openmrs
12:41:09 *** ChanServ sets mode: +o bmckown
12:41:55 *** harshini has quit IRC
12:42:50 *** harshini has joined #openmrs
12:43:08 <harshini> bwolfe: hi
12:43:30 <bwolfe> hi harshini
12:48:01 <Keelhaul> bwolfe
12:48:01 <Keelhaul> [14:43:50] <Keelhaul> is there a way to remove the 1..* cardinality numbers from the "classic" relationship notation
12:48:02 <Keelhaul> [14:44:05] <Keelhaul> and add a solid backgroudn to connector names
12:48:02 <Keelhaul> [14:47:17] <@mzinner> Keelhaul: only by modifying the sources
12:48:03 <Keelhaul> =(
12:48:26 <bwolfe> so you have to modify the tables ?
12:49:02 <Keelhaul> i dont think that would work either
12:49:16 <Keelhaul> you can only change the general cardinalities of a relationship
12:49:20 <Keelhaul> which will also influence the spade thing
12:51:16 <bwolfe> right
12:51:19 <bwolfe> thats unfortunate
12:51:31 <bwolfe> can you style the cardinality letters to be white ?
12:52:15 <Keelhaul> i'll look
12:52:41 <Keelhaul> for now they told me to report a bug, no idea how long it would take to be implemented as a feature
12:53:04 *** harshini has quit IRC
12:54:15 <bwolfe> Keelhaul: right
12:55:15 <Keelhaul> bwolfe: cant change the color, it seems
12:55:20 <Keelhaul> but i can move them under tables lol
12:55:29 <bwolfe> heh
12:56:39 <upul> Hi! bmckown
12:56:57 <bmckown> Hey, upul !!
12:56:59 <bmckown> How are you?
12:57:22 <upul> okay. you look fine too. :-)
12:57:42 <bmckown> Look fine?
12:57:45 <Keelhaul> hi bmckown, long time no see
12:57:51 <bmckown> Hi, Keelhaul !! :-)
12:57:58 <Keelhaul> bwolfe: are you ok with the general layout of the current diagram?
12:58:25 <Keelhaul>
12:58:36 <OpenMRSBot> <> (at
12:59:21 <bmckown> Hey, the diagram is nice!!!
13:00:41 <bwolfe> Keelhaul: the only comment I have now is there there is a large empty space in the lower-right of the person section
13:01:18 <Keelhaul> bwolfe: yea, it's not easy to place long tables without covering any of the spades
13:01:21 <bwolfe> you could shrink the concept section width by using some of the empty space in the middle of the upper-left quadrant
13:01:38 *** atomicturtle1 has quit IRC
13:01:46 *** atomicturtle has joined #openmrs
13:01:48 <bwolfe> Keelhaul: I don't care about covering the spades. :-) besides, don't they reorient themselves around tables ?
13:02:03 <Keelhaul> i cant shring the width of a section w/o shrinking the entire column of domains
13:02:05 <Keelhaul> and no, they dont
13:02:24 <Keelhaul> i had to look at every single one to make sure it's not covered
13:03:07 <bwolfe> Keelhaul: yeah, I say shrink the width of both the concept and person domains
13:03:24 <bwolfe> (by about 1 tables width)
13:03:35 <Keelhaul> bwolfe: i really dont wanna shrink the concept domain any further
13:03:46 <Keelhaul> the sheer amount of connectors there is depressing
13:04:00 <Keelhaul> besides, reducing the width would make it more square again
13:04:22 <Keelhaul> it already has a slightly lower aspect ratio than the old diagram
13:04:34 <Keelhaul> 1.4 vs 1.6 or smt
13:05:28 <bwolfe> you could shrink some height too. move concept tables up, move location tag to above location_tag_map, and get rid of the white space in the order domain. :-)
13:05:59 <Keelhaul> i cant shrink the obs domain any further
13:06:05 <bwolfe> I personally have zero interest in the relationship connectors, so if they get covered, thats not a big deal.
13:06:09 <Keelhaul> w/o leaving no space for connector names
13:06:34 <bwolfe> Keelhaul: you can't just move the obs table to be square with the note table ?
13:07:04 <Keelhaul> no, because of the above issue =P
13:09:41 <bwolfe> eh, screw the connecter names
13:11:27 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8394]: serialization: updated the access permission of method … <>
13:11:27 *** atomicturtle has quit IRC
13:13:14 *** atomicturtle has joined #openmrs
13:22:44 *** atomicturtle has left #openmrs
14:07:34 <Keelhaul> bwolfe:
14:07:44 <OpenMRSBot> <> (at
14:19:18 *** bwolfe_ has joined #openmrs
14:19:18 *** ChanServ sets mode: +o bwolfe_
14:19:46 *** bwolfe has quit IRC
14:43:47 *** scottyaz has quit IRC
14:47:14 *** nimanthab has joined #openmrs
14:47:22 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8395]: idcards: Make log view optional <> || OpenMRS Modules: Id Cards 1.2.1 uploaded to OpenMRS Module Repository <>
14:47:33 <nimanthab> bmckown: hi Brian
14:47:49 <bmckown> Hi, Nimantha!! How are you??
14:48:04 <nimanthab> fine thank you
14:48:05 <nimanthab> :)
14:48:12 <bmckown> Good to see u on irc... well this is like my first time in irc in over a month.
14:48:22 <nimanthab> ya..
14:48:31 <bmckown> Just wrapping up developers conference call.
14:48:37 <nimanthab> this is the first time i saw you since gsoc results were out
14:48:41 <nimanthab> okk
14:48:49 <nimanthab> i'l talk to you later then
14:48:53 <bmckown> yea... well sorry u know... was out on personal leave.
14:49:10 <nimanthab> tell me when you are done with the call
14:49:12 <bmckown> okay. will keep in touch.
14:51:13 <bmckown> well that's what i meant... we were just finishing up.
14:51:16 <nribeka> brb
14:51:23 <bmckown> i thought u needed to go.
14:51:31 <bmckown> sorry.
14:52:28 <nimanthab> noo
14:52:29 <nimanthab> :)
14:52:30 <nimanthab> its ok
14:52:36 <nimanthab> buzz me when you are done
14:52:39 <nimanthab> :)
14:52:50 <bmckown> no we are done actually. :-D
14:52:57 <bmckown> buzz buzz buzz
14:53:00 <nimanthab> :D
14:53:02 <nimanthab> great
14:53:04 <bmckown> :-)
14:53:06 <nribeka> hi bmckown
14:53:12 <bmckown> Hi, Win!!
14:53:15 <nribeka> haven't seen you for ages
14:53:29 <bmckown> Yea... was out on a personal leave.
14:53:57 <nimanthab> Brian did you get the chance to look at what I've completed so far
14:54:01 *** james_rege1 has quit IRC
14:54:11 <nimanthab> I dropped you a mail day before yesterday
14:54:23 <bmckown> Sorry nimanthab, I haven't downloaded your latest commits but did see the email.
14:54:32 <bmckown> will take a look at it and email back.
14:54:35 <nimanthab> no probs at all
14:54:41 <nimanthab> great great
14:54:58 <nimanthab> up to now a user can add/edit/delete integrity checks
14:55:02 <nimanthab> and run a single check
14:55:13 <nimanthab> running multiple checks page doesn't work yet
14:55:39 <nimanthab> tell me what you think of it when you get the chance to go through the module
14:55:46 <nimanthab> then we can plan the way forward
14:55:53 <bmckown> thanks for explaining.... "baduma thamai" :-D I thought it was pretty funny and cool u put it in there.
14:56:06 <nimanthab> :D
14:56:13 <nimanthab> :D
14:56:19 <bmckown> yea.. have meetings usually pretty much all day on thursdays.
14:56:19 <nimanthab> that happened quite by mistake
14:56:25 <bmckown> eh... it was cool!
14:56:27 *** pascal` has quit IRC
14:56:34 <nimanthab> he hee
14:56:42 <nimanthab> adding a little Sri Lankan touch to coding
14:56:45 <nimanthab> ;)
14:56:58 <bmckown> I was thinking it had something to do with a Sri Lankan airline advertisement from some stuff i googled.
14:57:34 <nimanthab> ya yaa
14:57:57 <nimanthab> there was this voice clip which spread online regarding an air lines service here in sri lanka
14:58:03 <bmckown> My favorite is this article...
14:58:10 <OpenMRSBot> <> (at
14:58:12 <nimanthab> that included that phrase
14:58:24 <bmckown> it has a quote: "One project I worked on actually had a data type called a FuckedString."
14:58:30 <bmckown> really funny.
14:58:45 <bmckown> That is what i call frustrated programming eh?
14:59:13 <bwolfe_> bmckown: that person must have been really frustrated to capitalize the variable name
14:59:18 <bmckown> no just that it's funny what people put in their code.
14:59:38 <bmckown> yea. really funny.
14:59:53 <nimanthab> yup
14:59:54 <nimanthab> :)
14:59:56 <nimanthab> i agree
15:00:19 <nimanthab> normally during the development activities i put lines like that in the Sys.out s
15:00:23 <nimanthab> :)
15:00:34 <nimanthab> it's amusing to see such lines appearing in the console
15:00:35 <nimanthab> :D
15:01:25 <bmckown> Okay I had to add that to my favorite quote on my openmrs user page.
15:05:19 <nimanthab> :D
15:05:27 <nimanthab> just checked it out
15:16:21 *** atomicturtle has joined #openmrs
15:16:28 *** atomicturtle has left #openmrs
15:17:41 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1562 (task closed): Add retired_by when a form is retired <> || OpenMRS Tickets: Ticket #1562 (task created): Add retired_by when a form is retired <>
15:28:29 *** nribeka has quit IRC
15:40:06 <r0bby> bwolfe_
15:41:30 <bwolfe_> r0bby
15:41:36 <r0bby> hold on
15:41:56 <r0bby> hibernate is throwing a cryptic exception i cant for the life of me figure out
15:42:04 <r0bby> im setting a break pt
15:42:04 <Keelhaul> bwolfe_: have you checked out theupdated diagram
15:42:11 <Keelhaul> i pasted it around the time you timed out
15:42:15 <Keelhaul> so i'm not sure you got the link
15:42:44 <bwolfe_> Keelhaul: negative
15:42:58 <Keelhaul> bwolfe:
15:42:59 <OpenMRSBot> <> (at
15:45:14 *** whaley has quit IRC
15:45:56 <r0bby> it's a classcastexception: java.lang.Boolean cannot be cast to java.lang.String
15:46:19 <r0bby> *BUT* Im not doing *ANYTHING* that would cause a cast like that :(
15:47:54 <r0bby> could it be trying to cast a Boolean to a String? :(
15:48:02 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #681 (defect reopened): Retired Forms showing on Patient Dashboard <> || OpenMRS Changesets: Changeset [8396]: serialization: Merging trunk into branch serialization from 8000?:["to … <>
15:48:07 <r0bby> if so i dont understand why
15:49:00 <r0bby> wait lemme try something :X
15:50:01 <bwolfe_> Keelhaul: awesome!
15:50:28 <Keelhaul> bwolfe_: can i leave it like that?
15:50:29 <bwolfe_> Keelhaul: the layout will be 100% if you move that concept table down and to the right...centered in that open space if you can. :-)
15:50:40 <Keelhaul> hm
15:50:51 <Keelhaul> down?
15:51:16 <Keelhaul> oh
15:51:17 <Keelhaul> the table
15:51:25 <bwolfe_> Keelhaul: yeah, just hte table
15:55:16 <Keelhaul> bwolfe_: some keys are named "..._ibfk_x"
15:55:21 <Keelhaul> can i leave them like that
15:55:25 <Keelhaul> or rename them properly
15:55:59 <bwolfe_> Keelhaul: leave them how they are in the data model for accuracy
15:59:59 *** upul has quit IRC
16:07:20 *** bmckown has quit IRC
16:08:06 <r0bby> bwolfe_: found it
16:08:15 <r0bby> 1) i had it set as a String in my mapping
16:18:15 <Keelhaul> bwolfe_:
16:18:18 <OpenMRSBot> <> (at
16:18:41 *** bwolfe__ has joined #openmrs
16:19:29 <Keelhaul> [18:18:13] <+Keelhaul> bwolfe_:
16:19:30 <OpenMRSBot> <> (at
16:21:52 *** nimanthab has quit IRC
16:21:52 *** bwolfe_ has quit IRC
16:27:13 <r0bby> need coffee
16:45:47 *** catechu has joined #openmrs
16:47:48 *** catechu has quit IRC
16:48:02 *** catechu has joined #openmrs
16:49:46 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8399]: -- chica * fixed the states that determine needs vitals and waiting for … <> || OpenMRS Changesets: Changeset [8398]: htmlformentry: Minor change to sectionhandler to only show sectionheader … <> || OpenMRS Changesets: Changeset [8397]: -- atd * fixed a NPE that happens when the TeleformFileMonitor task is … <>
16:56:15 *** Mkop has joined #openmrs
17:12:34 <r0bby> \java.sql.SQLException: Data truncated for column 'uuid' at row 1
17:12:36 <r0bby> meh
17:28:37 *** Agnor has joined #openmrs
17:34:10 <r0bby> Agnor: how goes your project :)
17:41:21 <Agnor> hi robby
17:41:36 <Agnor> well, I'm in the middle of my faculty exams period
17:41:49 <Agnor> so I'm not commiting entirely to GSOC (for now)
17:41:59 <Agnor> but I'm trying to be on schedule :)
17:42:11 *** bwolfe__ is now known as bwolfe
17:42:17 *** ChanServ sets mode: +o bwolfe
17:42:49 <bwolfe> Keelhaul: beautiful
17:46:49 *** bmckown has joined #openmrs
17:46:49 *** ChanServ sets mode: +o bmckown
17:48:16 <r0bby> Agnor: you're teaching? -- which means you're likely a grad student?
17:53:50 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8401]: ncd: partial progress on AUI-5 (sent in error flag). <> || OpenMRS Changesets: Changeset [8400]: htmlformentry: Incrementing the version to 1.3.5 <>
18:02:28 <Agnor> no r0bby
18:02:32 <Agnor> I'm a student
18:02:44 <Agnor> so I have to study a lot for the exams
18:03:23 <Keelhaul> bwolfe: good enough to upload?
18:05:03 <bwolfe> Keelhaul: any luck on removing those grey "indexes" boxes?
18:05:26 <Keelhaul> bwolfe: no
18:05:54 <bwolfe> Keelhaul: bummer
18:06:04 <bwolfe> good enough to upload. :-)
18:06:16 <Keelhaul> ok
18:06:33 <Keelhaul> finally i can stop using this awful tool for now
18:07:53 <bwolfe> hehe
18:08:07 <bwolfe> Keelhaul: is the non-free version any better than the free version?
18:08:08 <r0bby> Agnor: heh im done :) \
18:08:20 <bwolfe> Keelhaul: the free one was pretty painful for me...
18:08:28 <Keelhaul> bwolfe: yes, it supports more types of connectors, for example
18:08:33 <bwolfe> Keelhaul: its missing a lot of features
18:08:39 <Keelhaul> the one with spades is only available in the SE
18:08:56 <Keelhaul> SE can also populate a diagram from a live db
18:09:06 <Keelhaul> OSS version can only do it from sql scripts
18:09:17 <Agnor> robby: I'll only be done on July 1 :(
18:09:26 <Keelhaul> but i wouldnt pay for it unless i need it very often
18:10:50 <r0bby> Agnor: if i took physics over the summer i could cut off 1 year
18:10:57 <r0bby> as it stands i have 2 years left at least
18:11:17 <r0bby> well year and a half if i stack up two classes (which is not wise for me)
18:12:02 <Keelhaul> bwolfe: you call them "entity relationship" diagrams on the data model page
18:12:21 <Keelhaul> i think ERDs are the ones with objects represented as ractangles etc
18:12:42 <Keelhaul>
18:12:43 <Keelhaul> like here
18:12:44 <OpenMRSBot> <> (at
18:14:03 <bwolfe> ok...
18:15:20 <Keelhaul> rectangles*
18:21:46 <Keelhaul> bwolfe
18:21:47 <Keelhaul> [[Image:Openmrs_data_model_1.10web.png|frame|right|The OpenMRS data model, version 1.1&beta;. Click image for full size image]]
18:21:59 <Keelhaul> why does it thumbnail the 1.1 image but not mine
18:23:35 <bwolfe> I think there are two 1.1 images uploaded...the "web" one that is smaller and then the large one that is clicked to
18:24:23 <Keelhaul> bwolfe: but the "web" is the large one
18:24:36 <Keelhaul> oh nm
18:24:56 <Keelhaul> it automatically redirects somehow
18:24:58 <Keelhaul> how do i do that
18:26:28 <bwolfe> don't know
18:55:42 <Mkop> Keelhaul: what's the URL for the wiki page?
18:55:53 <Keelhaul>
18:56:19 <Keelhaul> there seems to be a redirect or smt
18:56:32 <Keelhaul> 1.10web.png redirects to the full sized image
18:56:45 <Keelhaul> but if i open that page with &redirect=no, it shows a blank page
18:56:59 <Keelhaul>
18:57:02 <Keelhaul> i tried this
18:57:03 <OpenMRSBot> <> (at
18:57:05 <Keelhaul> but my redirect doesnt work
19:00:30 <Mkop> Keelhaul:
19:00:33 <OpenMRSBot> <> (at
19:00:35 <Mkop> those cheaters....
19:00:44 <Keelhaul> a lol
19:02:30 <Keelhaul> Mkop: thx
19:06:01 <Mkop> Keelhaul: you also could probably make the link on the data model page go the URL for the image, rather than to the Image:bla.png wiki link
19:06:24 <Keelhaul>
19:12:12 <Keelhaul> bwolfe:
19:12:15 <OpenMRSBot> <> (at
19:12:17 <Keelhaul> could you delete this please
19:13:06 <bwolfe> Keelhaul: done
19:13:10 <Keelhaul> thx
19:13:46 <Keelhaul> now i need to find someone with an A3 sized printer to print it for me
19:16:48 <r0bby> I am *& <typedef class="net.dangertree.GenericEnumUserType" name="beerType">
19:16:48 <r0bby> <param name="enumClassName">net.dangertree.BeerType</param>
19:16:48 <r0bby> <param name="identifierMethod">getId</param>
19:16:48 <r0bby> </typedef>
19:16:50 <r0bby> er
19:16:53 <r0bby> ignore that
19:16:56 <r0bby> LOL
19:17:25 <r0bby> don't ask.. just don't ask
19:22:40 <Mkop> Keelhaul: A3 is big enough?
19:23:09 <Keelhaul> Mkop: if you have it on the wall next to your monitor, almost
19:23:16 <Keelhaul> i have to stand up to read it
19:24:58 <Mkop> why not go with A2?
19:26:06 <Keelhaul> where do i find a printer for a2
19:26:14 <Keelhaul>
19:26:23 <Keelhaul> thats A3
19:32:06 * r0bby growls
19:32:16 <r0bby> thank god i don't own a gun
19:32:42 <Mkop> Keelhaul: a copy shop?
19:32:56 <Mkop> for a few euro, probably
19:33:26 *** catechu has quit IRC
19:33:57 <Keelhaul> maybe
19:38:04 <r0bby>
19:38:11 <r0bby> It's not happening in my code :|
19:38:40 <r0bby> or is it :(
19:38:47 <r0bby> I hate spring and I hate hibernate
19:40:16 <bwolfe> its in your spring config somewhere
19:40:38 <bwolfe> unfortunately the error message isn't helpful. remove spring elements one at a time until you find it maybe?
19:41:18 <r0bby> it worked right up until i added the typedef for my enum
19:41:31 <r0bby> in my hibernate mapping :|
19:41:44 <r0bby> which i have no f'en clue how that'd effect spring...
19:41:56 <bwolfe> because it can't load a hibernate mapping maybe ?
19:42:22 <r0bby> maybe i did it wrong
19:42:26 <r0bby> lemme re-read
19:49:17 <r0bby> ok... that's weird :)
19:54:11 <r0bby> Okay it seems to be working :D
19:54:24 <r0bby> need to set some not null values :D
19:54:26 <r0bby> this is nice :)
19:58:08 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Using demo database with nightly builds <> || OpenMRS Changesets: Changeset [8403]: htmlformentry: Enable opening a form based on either formId or htmlFormId <> || OpenMRS Changesets: Changeset [8402]: -- chica * fixed PSF and PWS web scanning to accommodate pending merge … <>
20:09:56 <r0bby> mike is genius
20:10:03 <r0bby> I got a good mentor this year
20:10:05 <r0bby> seems
20:10:19 <r0bby> Though, burke is both a genius and slightly crazy
20:12:44 <bwolfe> r0bby: I hope you're not driving him crazy
20:13:22 <Keelhaul> lol
20:14:39 <r0bby> im working more indendently this summer
20:14:49 <r0bby> he gave me a solution to save questions to the DB
20:14:54 <r0bby> and i'm running with it
20:15:00 <r0bby> Google Collections is awesome
20:15:18 <r0bby> though Commons collections has code code written by the original creator of Groovy :-)
20:15:30 <r0bby> but google collections uses generics :)
20:15:50 <r0bby> which is why im using it. I dont feel like casting
20:17:16 <r0bby> bwolfe: in the beginnign I had a lot of trouble grasping the design
20:17:37 <r0bby> But once i got it, i was able to work independently
20:18:46 <bwolfe> r0bby: and on average, how many questions are you asking him per day? How many hours of his time are you consuming per day?
20:19:24 <r0bby> not many lately
20:19:40 <r0bby> I keep the design google doc handy
20:19:50 <r0bby> mostly i try and bug you :)
20:20:01 <r0bby> if i can't find you i track down justin
20:20:24 <r0bby> I've been trying to google the errors too first
20:20:42 <r0bby> I don't plan on failing
20:20:47 <r0bby> it's not an option this summer.
20:24:35 <r0bby> one thing I wanan hack up is a groovyConsole desktop app
20:24:47 <r0bby> I use groovyConsole *ALOT* when i wanna test something quickly
20:24:54 <r0bby> A LOT*
20:41:22 *** catechu has joined #openmrs
20:57:52 *** catechu has quit IRC
21:02:15 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1565 (task created): htmlformentry: Quotes not escaped correctly <> || OpenMRS Tickets: Ticket #1564 (task created): htmlformentry: Support for UTF-8 characters in xml <> || OpenMRS Forum: Re: Using demo database with nightly builds <> || OpenMRS Forum: Re: Using demo database with nightly builds <> || OpenMRS Tickets: Ticket #1563 (task created): htmlformentry: change date widget formatting <>
21:09:09 <Keelhaul> =o
21:09:19 <Keelhaul> maybe i shouldnt be a mentor next year either..
21:11:05 <bwolfe> ?
21:13:39 <r0bby> WHY NOT!
21:13:46 <r0bby> Keelhaul: you know a lot about openmrs
21:13:51 <Keelhaul> r0bby: what if i have to mentor you =P
21:13:53 <Keelhaul> j/k
21:14:01 <r0bby> Keelhaul: I won't go for that project, i promise
21:14:07 <r0bby> I'll go for bens!
21:14:27 <Keelhaul> also, i'm not very good at phone calls
21:14:36 <Keelhaul> speaking english takes up a lot of my concentration
21:14:37 <Keelhaul> heh
21:14:44 <Keelhaul> chatting is easier
21:14:49 <bwolfe> Keelhaul: eh, I haven't talked to Lu yet...and probably won't
21:15:03 <bwolfe> Keelhaul: and I only talked on skype with Upul twice last year
21:15:08 <Keelhaul> oh
21:15:33 <r0bby> Me and burke did phone and email
21:15:49 <r0bby> he ignored me 90% of the time for good reason!
21:16:13 <r0bby> beh
21:19:46 <r0bby> can the mysql data type handle Double.MAX_VALUE?
21:19:47 <r0bby> :X
21:19:59 <r0bby> mysql double*
21:24:31 <r0bby> holy crap
21:24:36 <r0bby> hibernate saved the values...
21:25:32 <r0bby> bwolfe: my module isn't getting the uuid set via the AOP handler
21:26:10 <bwolfe> thats unfortunate for you
21:26:21 <r0bby> how does it work; do i need to do anything special?
21:26:25 <Mkop> Keelhaul: I thought you're mentoring me next year?
21:26:26 <Mkop> :-P
21:26:42 <r0bby> cute i just got a shooting pain in my hand
21:27:27 <Mkop> holy crap
21:27:30 <Mkop> is it 5:30 already
21:27:36 <r0bby> yes
21:27:39 <Mkop> the day's almost gone and I just barely started working
21:27:47 <r0bby> BAD Mkop BAD!
21:27:52 <Mkop> I'm being productive now, but most of day wasn't really
21:28:07 <Mkop> ok, back to remote desktop
21:28:09 <Mkop> bye
21:28:55 <r0bby> do I need to do anything special to get those to be fired?
21:30:15 <r0bby> I WANT ATTENTION!!!!
21:30:16 <r0bby> :<
21:31:06 <bwolfe> wow, ok, well that just makes me really want to answer your question
21:31:52 <r0bby> anyways
21:32:11 <r0bby> all me being a needy SOB aside: i name it saveQuestion()
21:32:16 <r0bby> named*
21:32:24 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8405]: idcards: Added ability to generate random identifiers on the fly when … <> || OpenMRS Tickets: Ticket #1514 (defect closed): Issue with long running liquibase updates <> || OpenMRS Changesets: Changeset [8404]: Split the uuid liquibase changesets into individual calls - #1514 <> || OpenMRS Modules: Id Cards 1.2.2 uploaded to OpenMRS Module Repository <>
21:32:37 <r0bby> as i understand: it's AOP'd around the save* methods
21:33:16 <bwolfe> r0bby: yes, its AOP'd around save*(OpenmrsObject) methods
21:33:28 <bwolfe> r0bby: so be sure the first parameter extends OpenmrsObject
21:33:51 <r0bby> it extends BaseOpenMetadata :X
21:33:57 <bwolfe> r0bby: and also make sure that you are calling saveQuestion from outside of the service class...internal class calls do not trigger AOP
21:34:01 <r0bby> BaseOpenmrsMetadata
21:34:25 <r0bby> getService().saveQuestion(question);
21:35:12 <r0bby> getService() is a utility class
21:35:20 <r0bby> s/class/method/
21:35:22 <bwolfe> and you're using the latest trunk ?
21:35:34 <r0bby> s/trunk/15x/
21:35:36 <bwolfe> getService() is a utility method?
21:35:50 <r0bby> it returns the service class instance
21:36:03 <r0bby> from Context.getService(FacilityDataService.class);
21:40:56 <r0bby> Well this is gonna be interesting
21:41:15 <r0bby> I'll be traveling on a plain with needles in my carry on :X
21:43:59 <r0bby> it won't set the uuid field from within the service class prior to the call to save to the DAO
21:44:13 <r0bby> I'll just set the UUID myself
21:44:57 <r0bby> this is amazing though seeing it work :D
21:44:57 *** nribeka has joined #openmrs
21:44:57 *** ChanServ sets mode: +v nribeka
21:45:02 <r0bby> hey nribeka!
21:45:30 <nribeka> morning r0bby
21:47:12 <r0bby> one question type not working
21:47:17 <r0bby> the rest are persiting correctly
21:50:40 * r0bby dances
21:51:06 <r0bby> bwolfe: for enums, you need to specify a user type :)
21:51:09 <r0bby> I'll blog it
21:52:40 <r0bby> HOLY ... it works
21:53:55 <Mkop> nribeka: morning?!
21:57:02 <nribeka> it's morning here in indonesia Mkop
21:57:19 <nribeka> 5.56 am
21:58:34 *** Keelhaul has quit IRC
21:58:41 <Mkop> oh, you're back in indonesia?
22:02:18 <r0bby> oh my god
22:02:27 <nribeka> yes Mkop
22:02:37 <nribeka> wow swine flu is everywhere in US now
22:02:38 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [8406]: ncd: partial progress on AUI-5 (sent in error flag). <>
22:02:39 <nribeka> :(
22:06:32 <r0bby> nribeka: all the deaths had other pre-existing conditions
22:06:42 <r0bby> so quite frankly, swine flu didn't kill them
22:06:44 *** bwolfe has quit IRC
22:06:51 <r0bby> a healthy person with swine flu can survive
22:07:12 <nribeka> ooo ... ic ic
22:07:22 <nribeka> ah sounds cool
22:07:34 <nribeka> pretty much like HIV then, right?
22:08:36 <Mkop> no!
22:10:23 <r0bby> nribeka: Swine Flu is different, it's treatable
22:10:38 <r0bby> It's just the flu, but slightly worse.
22:10:48 <r0bby> I haven't, and I will never be afraid of it
22:11:28 <nribeka> no, i mean HIV itself doesn't kill (afaik) but other disease will kill the patient since the patient losing their immune system
22:14:39 <Mkop> AIDS is an immunodifficiency syndrome
22:15:06 <Mkop> swine flu is a virus that, if you get it with a weak immune system, can kill you
22:15:11 <Mkop> big difference
22:16:22 <nribeka> ah ic ic
22:20:01 <r0bby> nribeka: now you see why i think the whole panic is such a crock of BS
22:22:04 <r0bby> I get a flu shot each year if i can, primarily because I had the flu and it was _MISERABLE_
22:22:29 <nribeka> during my flight from chicago - tokyo, i see lots of people wearing mask
22:23:01 <r0bby> nribeka: funny thing: the masks won't do shit :)
22:23:19 *** bmckown has quit IRC
22:23:23 <r0bby> it can enter through the eyes
22:23:26 <r0bby> get on their hands
22:23:31 <r0bby> etc :)
22:23:53 <r0bby> they touch a surface where the virus is, rub their eyes
22:24:01 <r0bby> BAM they just got it in their body :)
22:24:26 <nribeka> haha ... ic ic
22:24:37 <r0bby> that makes me chuckle
22:32:03 <nribeka> haha
22:35:03 <r0bby> simple fact: Virus on hand + touch face == you get said virus :)
22:36:41 <Mkop> !svn++
22:36:43 <Mkop> !emacs--
22:37:00 <Mkop> !ssh timing out for no reason and not telling me--
22:37:41 <Mkop> life is simple when I can describe my mood in 3 lines ending with ++ or --
22:37:50 <Mkop> oh, also:
22:37:56 <Mkop> !matlab+=5
22:37:56 <OpenMRSBot> Mkop: Error: "matlab+=5" is not a valid command.
22:37:59 <Mkop> lol
22:38:10 <Mkop> !matlab++
22:39:19 <Mkop> let's see if I can confuse the bot:
22:39:22 <Mkop> !c++--
22:39:25 <Mkop> !karma c++
22:39:25 <OpenMRSBot> Mkop: Karma for "c++" has been increased 0 times and decreased 1 time for a total karma of -1.
22:39:34 <Mkop> nice, it understood
22:40:02 <r0bby> holy shit
22:40:08 <r0bby> my log file is 87MB
22:40:08 * Mkop pets OpenMRSBot and says "Nice doggy."
22:41:10 <r0bby> !say I aint a dog you douche
22:41:10 <OpenMRSBot> r0bby: Error: "say" is not a valid command.
22:41:13 <r0bby> DAMN IT
22:41:17 <r0bby> OpenMRSBot: speak
22:41:17 <OpenMRSBot> r0bby: Error: "speak" is not a valid command.
22:41:28 * r0bby beats OpenMRSBot with his baseballgunbat
22:43:01 <Mkop> lol
22:43:02 <Mkop> !
22:43:24 <Mkop> !baseballgunbat
22:43:24 <OpenMRSBot> Mkop: "baseballgunbat" --- (#1) bwolfe's preferred debugging tool, or (#2) Mkop2's tool of wrath for people who add more javadoc warnings to the pile, or (#3) r0bby's preferred weapon as well
22:44:43 <Mkop> learn baseballgunbat as Mkop's tool of wrath for people who add more deprecation warnings to the pile
22:44:47 <Mkop> !baseballgunbat
22:44:47 <OpenMRSBot> Mkop: "baseballgunbat" --- (#1) bwolfe's preferred debugging tool, or (#2) Mkop2's tool of wrath for people who add more javadoc warnings to the pile, or (#3) r0bby's preferred weapon as well
22:44:56 <Mkop> oops
22:44:59 <Mkop> !learn baseballgunbat as Mkop's tool of wrath for people who add more deprecation warnings to the pile
22:44:59 <OpenMRSBot> Mkop: The operation succeeded.
22:45:02 <Mkop> !baseballgunbat
22:45:02 <OpenMRSBot> Mkop: "baseballgunbat" --- (#1) bwolfe's preferred debugging tool, or (#2) Mkop2's tool of wrath for people who add more javadoc warnings to the pile, or (#3) r0bby's preferred weapon as well, or (#4) Mkop's tool of wrath for people who add more deprecation warnings to the pile
22:45:13 <Mkop> !forget baseballgunbat 2
22:45:13 <OpenMRSBot> Mkop: The operation succeeded.
22:45:16 <Mkop> !baseballgunbat
22:45:16 <OpenMRSBot> Mkop: "baseballgunbat" --- (#1) bwolfe's preferred debugging tool, or (#2) r0bby's preferred weapon as well, or (#3) Mkop's tool of wrath for people who add more deprecation warnings to the pile
22:49:48 * r0bby slaps Hibernate
22:49:54 <r0bby> Just do my damn query
22:50:23 * Mkop slaps r0bby
22:50:28 <Mkop> Just do my damn query
22:51:55 * r0bby does the damn query
22:52:03 <r0bby> delete from Mkop;
22:53:07 <Mkop> drop r0bby;
22:53:30 <Mkop> or is it drop table r0bby? I forget the syntax
22:59:57 <r0bby> UGH
22:59:59 <r0bby> com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column '' in 'field list
23:00:03 <r0bby> :/
23:45:47 *** Agnor has quit IRC
  • No labels