IRC Chat : 2012-11-05 - OpenMRS

00:01:06 *** lh has joined #openmrs
00:03:15 *** robbyoconnor is now known as r0bby
00:03:22 *** r0bby is now known as robbyoconnor
01:47:07 *** djazayeri1 has quit IRC
02:07:01 *** lh has quit IRC
02:37:05 *** djazayeri has joined #openmrs
02:37:05 *** ChanServ sets mode: +o djazayeri
02:52:11 *** Mkop1 has joined #openmrs
02:52:11 *** ChanServ sets mode: +v Mkop1
02:58:46 *** Mkop1 has left #openmrs
04:52:14 *** fishandwalk has joined #openmrs
06:39:12 *** kishoreyekkanti has joined #openmrs
07:23:25 *** djazayeri has quit IRC
07:52:14 *** kishoreyekkanti has quit IRC
07:54:30 *** shangxiao has joined #openmrs
08:08:52 *** dkayiwa has joined #openmrs
08:27:59 *** kishoreyekkanti has joined #openmrs
08:28:43 *** kishoreyekkanti has joined #openmrs
08:32:16 <shangxiao> dkayiwa: Which changes did you want to see in a pastebin?
08:32:37 <dkayiwa> shangxiao: all you did to support annotations :)
08:32:59 <shangxiao> there's quite a bit of hacking away ;)
08:33:23 <shangxiao> dkayiwa: I may just push to a forked core on github
08:33:52 <dkayiwa> shangxiao: excellent!!!
08:34:17 <shangxiao> dkayiwa: It's interesting, I'm just stepping through the spring code and can actually see my entity get added to the annotation configuration
08:34:28 <dkayiwa> shangxiao: sure
08:34:32 <shangxiao> however it still has issues with mapping when i do a quey
08:34:34 <shangxiao> query*
08:34:39 <dkayiwa> ok
08:35:19 <shangxiao> investigations continue...
08:35:27 <dkayiwa> :)
08:53:09 *** lh has joined #openmrs
08:58:40 *** lh has quit IRC
09:53:40 *** fishandwalk has quit IRC
10:00:45 *** fishandwalk has joined #openmrs
10:39:55 *** fishandwalk has quit IRC
10:45:02 *** fishandwalk has joined #openmrs
11:08:24 *** rkorytkowski has joined #openmrs
11:08:24 *** ChanServ sets mode: +v rkorytkowski
11:08:54 <dkayiwa> hi rkorytkowski
11:09:04 *** rkorytkowski is now known as rafa
11:09:07 <rafa> dkayiwa: hi
11:09:18 <dkayiwa> rafa: hoping you had a good weekend :)
11:09:37 <rafa> dkayiwa: yes, very good
11:09:45 <dkayiwa> rafa: how is your experience with JRebel? :)
11:09:56 <rafa> dkayiwa: very happy with it
11:09:57 <dkayiwa> rafa: was it easy for you to set up?
11:10:08 <rafa> dkayiwa: I mean when working with core
11:10:17 <rafa> dkayiwa: modules are more problematic
11:10:22 <dkayiwa> rafa: oh why?
11:10:33 <rafa> dkayiwa: it requires extra setup
11:10:46 <rafa> dkayiwa: and works only for classes and not for jsps when it comes to modules
11:10:53 <rafa> dkayiwa: but core works just perfect
11:10:53 <dkayiwa> rafa: ok
11:10:57 <rafa> dkayiwa: without extra configuration
11:11:02 <dkayiwa> rafa: oh i see
11:11:18 <dkayiwa> rafa: what kind of extra config is required by module?
11:11:46 <rafa> dkayiwa: you need to change pom.xml in core to point to modules you want to work with
11:11:59 <dkayiwa> rafa: ok
11:12:29 <rafa> dkayiwa: see jrebel config in webapp/pom.xml
11:12:37 <dkayiwa> rafa: ok
11:12:42 <rafa> dkayiwa: there are some lines you need to uncomment and adjust
11:12:49 <dkayiwa> rafa: ok
11:13:18 <dkayiwa> rafa: do you have something like an openmrs specific wiki page that i can refer to? :)
11:13:30 <rafa> dkayiwa: I don't think there's one
11:13:35 <dkayiwa> rafa: ok
11:13:54 <rafa> dkayiwa: if you're using Eclipse I recommend to install the jrebel plugin
11:14:08 <rafa> dkayiwa: it will download jrebel as well
11:14:10 <dkayiwa> rafa: yes i have installed it
11:14:28 <rafa> dkayiwa: then in the jetty run configuration add jrebel profile
11:14:38 <dkayiwa> rafa: ok
11:14:47 <rafa> dkayiwa: on Jrebel tab click enable jrebel agent
11:14:56 <dkayiwa> rafa: ok
11:15:19 <rafa> dkayiwa: then help -> jrebel config center
11:15:25 <rafa> dkayiwa: plugins
11:15:29 <dkayiwa> rafa: ok
11:15:34 <rafa> dkayiwa: and disable most of them
11:15:40 <dkayiwa> rafa: ok
11:16:03 <rafa> dkayiwa: I have only jasper enabled
11:16:20 <dkayiwa> rafa: ok
11:19:22 <dkayiwa> rafa: what does disabling of other plugins help with? :)
11:19:36 <rafa> dkayiwa: it speeds things up
11:19:43 <dkayiwa> rafa: ok thanks
11:19:53 <rafa> dkayiwa: especially the Hibernate plugin is slow in our setup
11:20:06 <rafa> dkayiwa: and it's very rare that we edit hbm files
11:20:16 <dkayiwa> rafa: ok
11:20:16 <rafa> dkayiwa: so remember to disable that one at least
11:20:21 <dkayiwa> rafa: ok
11:27:22 <shangxiao> ooh sir rafa
11:27:37 <rafa> shangxiao: hi
11:27:56 <shangxiao> rafa: hi :) I'm David, the guy asking for the JPA annotations ;)
11:28:14 <rafa> shangxiao: Hi David
11:29:28 <rafa> shangxiao: I looked at your code and it seems fine to me
11:29:33 <rafa> shangxiao: not sure what's wrong there
11:29:44 <rafa> shangxiao: I will need to test it
11:29:51 <shangxiao> rafa: I still don't understand enough of how the core code works though - it looked as though modules run in their own threads - i wonder if hibernate was getting confused there somehow
11:30:34 <rafa> shangxiao: modules have their own classloaders
11:31:03 <shangxiao> rafa: It's strange because I could actually step through scanPackages() and see my entity get added to the hibernate config
11:31:20 <shangxiao> yet when I did a test query hibernate would complain that it wasn't mapped
11:31:48 <rafa> shangxiao: maybe you used a wrong entity name?
11:32:27 <shangxiao> rafa: it was just "BasicExample" which is the default from the maven archetype module wizard
11:33:18 <rafa> shangxiao: how about you annotate it with @Entity("basicexample")?
11:33:26 <rafa> shangxiao: giving it an explicit name
11:33:35 <shangxiao> rafa: nope, just @Entity
11:33:58 <rafa> shangxiao: how does your query look like?
11:34:28 <shangxiao> rafa: the table name was specified by @Table(name = "tm_BasicExample") but in JPQL I shouldn't be referencing the tablename
11:35:03 <shangxiao> rafa: maybe I'll add the test module to github for people to test with
11:35:52 <rafa> shangxiao: good idea
11:47:20 *** robbyoconnor has quit IRC
12:38:36 *** dkayiwa has quit IRC
12:43:10 *** dkayiwa has joined #openmrs
12:43:24 <dkayiwa> #hum-team
12:53:25 *** sthaiya has joined #openmrs
13:06:42 *** wluyima has quit IRC
13:23:41 <shangxiao> what's hum-team?
13:26:23 <dkayiwa> shangxiao: https://wiki.openmrs.org/display/RES/Mirebalais+User+Interface+Sprint
13:26:26 *** Iome has joined #openmrs
13:27:41 <shangxiao> dkayiwa: We actually decided not to go with the ui-framework
13:27:51 <dkayiwa> shangxiao: oh why?
13:28:04 <shangxiao> dkayiwa: we're using angularjs with RESTful api to the module controller
13:28:18 <shangxiao> dkayiwa: we felt it was a little immature
13:28:26 <dkayiwa> shangxiao: oh i see
13:29:38 <shangxiao> dkayiwa: angularjs is the most fun and "easiest" js framework I've used to date ;)
13:29:59 <shangxiao> i quote easiest because there is a learning curve
13:30:07 <shangxiao> but once you're over it
13:30:11 <dkayiwa> shangxiao: how do you compare it with extjs?
13:30:36 <shangxiao> dkayiwa: I haven't used extjs
13:30:41 <dkayiwa> shangxiao: ok
13:30:53 <shangxiao> but from what I've seen it's more oriented towards UI widgets
13:30:54 <shangxiao> right/
13:30:55 <shangxiao> ?
13:31:00 *** alangfiles has joined #openmrs
13:31:04 <dkayiwa> shangxiao: and how do you compare it with jquery?
13:31:40 <shangxiao> dkayiwa: it's an "mvc" framework with databinding, so it can't be compared with jquery ;)
13:31:50 <shangxiao> it needs to be compared with backbone, knockout, etc
13:31:56 <dkayiwa> shangxiao: oh i see :)
13:32:20 <dkayiwa> shangxiao: what license has it?
13:32:39 <shangxiao> mit
13:32:44 <dkayiwa> ok
13:33:04 <shangxiao> here's a sample from our build server:
13:33:43 <dkayiwa> shangxiao: ok
13:33:57 <shangxiao> dkayiwa: ec2-50-112-216-122.us-west-2.compute.amazonaws.com:8080/openmrs
13:34:38 <shangxiao> username/password is just openmrs/openmrs
13:34:46 <dkayiwa> shangxiao: ok
13:35:09 <shangxiao> under admin -> monitor proposals
13:35:16 <dkayiwa> ok
13:35:48 <dkayiwa> shangxiao: use name pasword worketh not
13:36:40 <shangxiao> oh i pulled the wrong one out of lastpass
13:37:02 <shangxiao> try admin/OpenMRS1
13:37:08 <dkayiwa> ok
13:37:42 <dkayiwa> worketh!
13:37:47 <shangxiao> lolleth!
13:37:51 <shangxiao> ;)
13:37:55 <dkayiwa> shangxiao: :D
13:38:01 <shangxiao> anyway there's 2 screens and a jquery-ui dialog
13:38:11 <shangxiao> controlled all out of a single jsp
13:38:25 <dkayiwa> ok
13:38:31 <shangxiao> the js code is highly modular, unit tested
13:38:43 <dkayiwa> shangxiao: oh thats so so cool!!!
13:39:08 <shangxiao> the search dialog won't work because I need to install webservices.rest for concept searching
13:39:21 <dkayiwa> shangxiao: ok
13:39:42 <dkayiwa> shangxiao: does this work for you? http://ec2-50-112-216-122.us-west-2.compute.amazonaws.com:8080/openmrs/module/cpm/proposals.list
13:39:49 <shangxiao> yes
13:40:08 <dkayiwa> shangxiao: it only displays Loading...
13:40:22 <shangxiao> you need to wait for it to load
13:40:39 <shangxiao> we haven't optimised the dependencies with require.js
13:40:41 <dkayiwa> shangxiao: i waited till browser was done
13:40:49 <shangxiao> or are you using IE?
13:40:58 <dkayiwa> shangxiao: Firefox
13:41:10 <shangxiao> yeah so I just went there using FF
13:41:20 <shangxiao> FF16
13:41:36 <dkayiwa> shangxiao: same behavior with: http://ec2-50-112-216-122.us-west-2.compute.amazonaws.com:8080/openmrs/module/cpm/proposals.list#/edit
13:41:51 <shangxiao> hm maybe there's a bug ;)
13:41:54 <dkayiwa> shangxiao: Firefox 12.0
13:42:01 <shangxiao> what does it say in the console?
13:42:32 <dkayiwa> Timestamp: 11/5/12 5:09:58 PM
13:42:32 <dkayiwa> Error: Load timeout for modules: angular,jquery-ui,angular-resource
13:42:33 <dkayiwa> http://requirejs.org/docs/errors.html#timeout
13:42:33 <dkayiwa> Source File: http://ec2-50-112-216-122.us-west-2.compute.amazonaws.com:8080/openmrs/moduleResources/cpm/require.js
13:42:33 <dkayiwa> Line: 192
13:42:43 <shangxiao> lol
13:43:09 <shangxiao> ok... well they are actually on the server maybe just taking some time to download
13:43:53 <dkayiwa> shangxiao: correct
13:44:00 <dkayiwa> never loads
13:44:15 <shangxiao> yep i just cleared my cache and they refetched
13:44:18 <shangxiao> hm
13:44:49 <shangxiao> what happens if you access the resource directly: http://ec2-50-112-216-122.us-west-2.compute.amazonaws.com:8080/openmrs/moduleResources/cpm/angular.js
13:45:45 <dkayiwa> shangxiao: it displays the js
13:45:57 <dkayiwa> instantly
13:46:05 <shangxiao> so it should work then because your browser should've cached it
13:46:09 <shangxiao> hm
13:46:55 <shangxiao> maybe there's a bug with ff12
13:48:32 <shangxiao> *shrugs shoulders*
13:49:16 <dkayiwa> shangxiao: same behavior in Safari
13:49:35 <shangxiao> that's strange
13:50:37 <dkayiwa> shangxiao: same in chrome
13:52:06 <shangxiao> i just ran it in safari 5.1.4 and it worked =/
13:52:12 <shangxiao> xD
13:55:08 <dkayiwa> shangxiao: i think problem is with slow network connections
13:55:12 <dkayiwa> timeout
13:55:16 <shangxiao> maybe you're too far away from the US (I'm not in the US but maybe I'm close enough)
13:55:20 <shangxiao> :)
13:55:32 <dkayiwa> must be :)
13:57:02 *** downey has joined #openmrs
13:57:02 *** ChanServ sets mode: +o downey
13:57:02 *** OpenMRSBot sets mode: +o downey
13:59:17 *** sthaiya has quit IRC
14:01:11 *** fishandwalk has quit IRC
14:21:21 *** wluyima has joined #openmrs
14:27:36 <wluyima> hi dkayiwa
14:57:11 *** kishoreyekkanti has quit IRC
15:02:28 *** andrea_p has joined #openmrs
15:03:22 *** djazayeri has joined #openmrs
15:03:22 *** ChanServ sets mode: +o djazayeri
15:04:55 <djazayeri> good morning people
15:04:59 <rafa> djazayeri: hi
15:05:10 <andrea_p> djazayeri, good moring
15:05:31 <andrea_p> hi rafa,
15:05:38 <rafa> hi andrea_p
15:06:22 *** cpower has joined #openmrs
15:06:27 <cpower> hola!
15:07:23 <djazayeri> buenos dias!
15:07:43 <cpower> Let's do our Scrum
15:07:49 <cpower> !scrumon cpower
15:07:49 * OpenMRSBot says the DAILY SCRUM MEETING is STARTING. This meeting should not last longer than 15 minutes. Please hold other comments until the end of the meeting, or message someone privately. Thank you! ScrumMaster cpower- you may begin when ready.
15:08:19 <cpower> Order djazayeri, rafa, andrea_p, dkayiwa, wluyima
15:08:35 <cpower> And anyone else who would like to contribute
15:08:40 <djazayeri> why do you always make me go first, when I'm on the west coast?
15:08:44 *** harshadura has joined #openmrs
15:08:45 <djazayeri> hold on, I'm still typing. :-)
15:09:06 <shangxiao> ooo a scrum meeting
15:09:11 <rafa> I'll go
15:09:12 <rafa> Today:
15:09:12 <rafa> * Reviewed pull requests
15:09:12 <rafa> * Merged / back ported:
15:09:12 <rafa> + TRUNK-3287: Incorrect date_created value on edited concept names
15:09:12 <rafa> https://tickets.openmrs.org/browse/TRUNK-3287
15:09:13 <rafa> + TRUNK-3723: Not null constraint should be enforced on uuid property in ActiveListItem.hbm.xml file
15:09:13 <rafa> https://tickets.openmrs.org/browse/TRUNK-3723
15:09:14 <rafa> + TRUNK-3732: TODO - Replace PersonName.toString() with getFullName()
15:09:14 <rafa> https://tickets.openmrs.org/browse/TRUNK-3732
15:09:15 <rafa> * Working on completing TRUNK-2999: Investigate replacing concept word with full text search
15:09:15 <rafa> https://tickets.openmrs.org/browse/TRUNK-2999
15:09:16 <rafa> No blockers.
15:09:40 <andrea_p> Friday 11-2
15:09:40 <andrea_p> TRUNK-3616
15:09:40 <andrea_p> Fixed code
15:09:40 <andrea_p> Fix failing tests
15:09:40 <andrea_p> Claim TRUNK-3474
15:09:41 <andrea_p>
15:09:43 <andrea_p> Monday
15:09:45 <andrea_p> Merck meeting
15:09:45 <cpower> djazayeri, problems with your name being on the top of the list ;-)
15:09:47 <andrea_p> TRUNK-3616
15:09:49 <andrea_p> Fix remainder of failing tests
15:09:51 <andrea_p> Start work on TRUNK-3474
15:09:53 <andrea_p> No Blockers
15:09:55 <andrea_p> Questions for Rafa
15:10:25 <dkayiwa> Did some JRebel setup for my development environment
15:10:25 <dkayiwa> Continuing with Mirebalais Account Management
15:10:25 <dkayiwa> No Blockers
15:10:34 <wluyima> Friday:
15:10:34 <wluyima> Paired with daniel to complete user management
15:10:34 <wluyima>
15:10:34 <wluyima> Monday:
15:10:34 <wluyima> Mirebalais project tickets
15:10:34 <wluyima>
15:10:36 <wluyima> Blockers: none
15:10:53 <cpower> ok you are now last djazayeri :-)
15:11:08 <djazayeri> Friday/Weekend
15:11:09 <djazayeri> * UI Framework / UI Library: discussed releasing versions 2.0 with Rowan
15:11:09 <djazayeri> * EMR module: support for "login locations", support for flash-like info and error messages
15:11:09 <djazayeri> * Mirebalais module: new login page
15:11:09 <djazayeri> * Spike on question-per-screen encounter wizards
15:11:11 <djazayeri> Today
15:11:19 <djazayeri> * Release new UI Framework and UI Library modules
15:11:25 <djazayeri> * More mirebalais / EMR work
15:11:27 <djazayeri> No blockers
15:12:28 <rafa> andrea_p: I'm sorry I've got only 20 minutes for you now
15:12:40 <cpower> Ok with that I see no blockers and only some call outs from andrea_p for rafa to answer
15:12:55 <cpower> excellent scrum people...keep up the good work!
15:12:56 <rafa> andrea_p: will be back later, but only after a few hours
15:13:00 <cpower> !scrumoff
15:13:00 * OpenMRSBot says the DAILY SCRUM MEETING has ENDED. This channel is now returned to normal hacking operations. Post-scrum meeting follow-up conversations may now begin.
15:13:02 <andrea_p> rafa, that's ok - wondering about 2 emails sent to my Merck mail
15:13:20 <shangxiao> !scrumon
15:13:20 * OpenMRSBot says the DAILY SCRUM MEETING is STARTING. This meeting should not last longer than 15 minutes. Please hold other comments until the end of the meeting, or message someone privately. Thank you! ScrumMaster - you may begin when ready.
15:13:27 <shangxiao> !scrumoff
15:13:27 * OpenMRSBot says the DAILY SCRUM MEETING has ENDED. This channel is now returned to normal hacking operations. Post-scrum meeting follow-up conversations may now begin.
15:13:30 <shangxiao> oops
15:13:32 <shangxiao> sorry xD
15:13:35 <dkayiwa> :)
15:13:36 <andrea_p> rafa, a few hours is good - can reach you after I get to work
15:13:52 <shangxiao> shouldn't that be controlled by an op? ;)
15:14:11 <dkayiwa> shangxiao: lolllllll. its open source :D
15:14:19 <shangxiao> lol
15:14:49 <shangxiao> !slap OpenMRSBot
15:14:50 <OpenMRSBot> shangxiao: Error: "slap" is not a valid command.
15:15:00 <andrea_p> rafa, 1st email:
15:15:06 <andrea_p> rafa, A few more changes needed. Also please address 'Update Concept.addDescription to
15:15:06 <andrea_p> ignore ConceptDescriptions with blank/null descriptions, the reason for this is
15:15:06 <andrea_p> to be able to remove a concept description when the description field is cleared in the UI.'
15:15:06 <andrea_p> Thought I addressed this already
15:15:25 <dkayiwa> shangxiao++
15:15:31 <rafa> andrea_p: did you modify the Concept.addDescrition method?
15:16:12 <andrea_p> rafa, no was already ignoring concepts with blank/null descriptions
15:17:41 <rafa> andrea_p: I look at the addDescription method and it doesn't ignore ConceptDescription with a blank description
15:17:59 <rafa> andrea_p: just when given null description
15:18:33 *** shangxiao has quit IRC
15:18:49 <andrea_p> rafa, oh
15:19:04 <andrea_p> rafa, need to get ready to go to office
15:19:30 <rafa> andrea_p: ok, see you later
15:19:36 <andrea_p> rafa, will check it out and get back to you in a few hours, ok?
15:19:51 <rafa> andrea_p: or you can e-mail me earlier
15:19:56 <rafa> andrea_p: I should be able to answer
15:22:03 <andrea_p> rafa, ok will do
15:31:01 *** nribeka has joined #openmrs
15:31:01 *** ChanServ sets mode: +v nribeka
16:00:52 *** rafa has quit IRC
16:03:34 *** alangfiles has quit IRC
16:15:23 *** dkayiwa has quit IRC
16:23:11 *** jkeiper has joined #openmrs
16:23:11 *** ChanServ sets mode: +v jkeiper
16:28:16 *** dkayiwa has joined #openmrs
16:54:14 *** andrea_p has quit IRC
17:29:00 *** suranga has joined #openmrs
17:29:00 *** ChanServ sets mode: +v suranga
17:46:43 *** kishoreyekkanti has joined #openmrs
18:24:34 *** wluyima has quit IRC
18:30:12 *** wluyima has joined #openmrs
18:32:50 *** wyclif_ has joined #openmrs
19:14:44 *** downey has quit IRC
19:22:58 *** kishoreyekkanti has quit IRC
19:34:28 *** jkeiper has quit IRC
20:07:33 *** wyclif_ has quit IRC
20:07:45 *** wluyima has quit IRC
20:09:00 *** wluyima has joined #openmrs
20:10:02 *** wyclif_ has joined #openmrs
20:10:02 *** wluyima has quit IRC
20:43:20 *** andreapat has joined #openmrs
20:43:36 <andreapat> rafa, you around?
20:52:54 *** harshadura has quit IRC
20:55:07 *** harshadura has joined #openmrs
21:50:49 <djazayeri> andreapat: still have your question?
21:53:19 <andreapat> djazayeri, no - Rafal just answered my email but thanks!
21:53:50 <djazayeri> cool
21:59:54 *** nribeka has quit IRC
22:01:09 *** suranga has quit IRC
23:18:29 *** wyclif_ has quit IRC
23:52:53 *** nribeka has joined #openmrs
23:52:53 *** ChanServ sets mode: +v nribeka