IRC Chat : 2012-05-31 - OpenMRS

00:51:53 *** finbrein has quit IRC
01:15:30 *** lh has quit IRC
01:48:51 *** suranga has joined #openmrs
02:35:18 *** maurya has joined #openmrs
02:35:40 *** Maurya_ has joined #openmrs
02:39:38 *** maurya has quit IRC
02:42:39 *** djazayeri1 has joined #openmrs
02:43:51 *** djazayeri has quit IRC
02:59:22 *** Maurya_ is now known as maurya
03:01:14 *** maurya has joined #openmrs
03:13:02 *** nicoleb has joined #openmrs
03:36:39 <OpenMRSBot> Recent updates in the world of openmrs: On Twitter: OpenMRS: RT @hwiputra: Call for agile practitioners to collaborate using software for a better world! Next wednesday at TW office working on Open ... <http://twitter.com/OpenMRS/statuses/208031477559083009> || On Twitter: OpenMRS: RT @gobrienau: Roy talking openMRS not long after Healthsmart collapses in Victoria ... Anyone smell an opportunity to improve our own s ... <http://twitter.com/OpenMRS/statuses/208031460983189504>
03:41:02 *** harshadura has joined #openmrs
03:49:45 *** suranga has quit IRC
03:49:59 *** upul` has joined #openmrs
03:49:59 *** ChanServ sets mode: +v upul`
03:50:44 *** harshadura has quit IRC
03:55:54 *** maurya has quit IRC
04:15:20 *** maurya has joined #openmrs
04:22:26 *** nicoleb has quit IRC
04:29:59 *** harshadura has joined #openmrs
04:30:11 *** harshadura has joined #openmrs
04:36:15 *** harshadura has quit IRC
04:50:02 *** bryq has joined #openmrs
04:50:02 *** ChanServ sets mode: +v bryq
04:55:50 *** bryq has quit IRC
05:02:07 *** harshadura has joined #openmrs
05:09:58 *** harshadura has quit IRC
05:12:33 *** maurya has quit IRC
05:16:31 *** kishoreyekkanti has joined #openmrs
05:19:14 *** robbyoconnor has quit IRC
05:22:09 *** robbyoconnor has joined #openmrs
05:22:09 *** ChanServ sets mode: +v robbyoconnor
05:29:55 *** pushkar has joined #openmrs
05:32:05 *** mgielow has joined #openmrs
05:49:44 *** sunbiz has joined #openmrs
05:49:44 *** ChanServ sets mode: +v sunbiz
06:03:40 *** dkayiwa has joined #openmrs
06:04:15 *** mgielow_ has joined #openmrs
06:06:29 *** mgielow has quit IRC
06:17:11 *** pulasthi7 has joined #openmrs
06:20:08 *** kavuri has joined #openmrs
06:22:30 *** nribeka has joined #openmrs
06:22:30 *** ChanServ sets mode: +v nribeka
06:57:39 *** mgielow_ has quit IRC
07:06:47 *** snoppy has joined #openmrs
07:07:11 *** nribeka has quit IRC
07:16:27 *** mgielow has joined #openmrs
07:25:36 *** dkayiwa has quit IRC
08:06:17 *** harshadura has joined #openmrs
08:19:24 *** suranga has joined #openmrs
08:20:54 *** sandeep has joined #openmrs
08:21:20 *** sandeep is now known as Guest96079
08:21:37 <Guest96079> Hi all
08:21:52 <Guest96079> I wanted some help regarding unit testing of a module
08:27:44 <Guest96079> anyone here..I wanted help specifically with testing authorizations
08:32:47 *** mgielow has quit IRC
08:33:05 <Guest96079> \quit
08:33:14 *** Guest96079 has quit IRC
08:51:11 *** pulasthi7 has quit IRC
09:06:20 *** dkayiwa has joined #openmrs
09:28:08 *** maurya has joined #openmrs
09:38:14 *** bryq has joined #openmrs
09:38:14 *** ChanServ sets mode: +v bryq
09:42:14 *** sunbiz1 has joined #openmrs
09:44:08 *** sunbiz has quit IRC
09:48:38 *** kavuri has quit IRC
09:51:22 *** dkayiwa_ has joined #openmrs
09:51:22 *** dkayiwa has quit IRC
09:51:23 *** dkayiwa_ is now known as dkayiwa
09:52:38 *** rose_ has joined #openmrs
10:01:13 *** rafa has joined #openmrs
10:01:13 *** ChanServ sets mode: +v rafa
10:02:59 *** bryq has quit IRC
10:10:09 *** bryq has joined #openmrs
10:10:09 *** ChanServ sets mode: +v bryq
10:10:17 *** dkayiwa has quit IRC
10:15:53 *** bryq has quit IRC
10:18:21 *** dkayiwa has joined #openmrs
10:19:17 *** upul` has quit IRC
10:20:28 *** maurya has quit IRC
10:22:29 *** mgielow has joined #openmrs
10:27:42 *** harshadura has quit IRC
10:30:03 <snoppy> wyclif: hi, wyclif!
10:33:46 <snoppy> wyclif: oh, i forgot about difference in time)
10:34:09 <snoppy> suranga: hi, suranga! Are you here>
10:39:01 *** kavuri has joined #openmrs
10:43:35 *** maurya has joined #openmrs
10:59:34 *** harshadura has joined #openmrs
10:59:36 *** dkayiwa has quit IRC
10:59:59 *** dkayiwa has joined #openmrs
11:00:48 *** rafa has quit IRC
11:05:19 *** dkayiwa_ has joined #openmrs
11:05:45 *** rafa has joined #openmrs
11:05:45 *** ChanServ sets mode: +v rafa
11:06:17 *** suranga has quit IRC
11:06:27 *** dkayiwa has quit IRC
11:06:27 *** dkayiwa_ is now known as dkayiwa
11:10:27 *** bryq has joined #openmrs
11:10:27 *** ChanServ sets mode: +v bryq
11:11:32 <dkayiwa> hi rafa
11:13:26 <rafa> hi dkayiwa
11:13:50 <dkayiwa> rafa: do you thinks the privilege check module is now ready for testing?
11:14:23 <rafa> dkayiwa: no, I need to make changes from yesterday's call
11:14:32 <dkayiwa> rafa: ok
11:16:12 *** maurya has quit IRC
11:17:19 *** dkayiwa has quit IRC
11:17:39 *** mgielow has quit IRC
11:20:14 *** dkayiwa has joined #openmrs
11:24:09 *** nribeka has joined #openmrs
11:24:09 *** ChanServ sets mode: +v nribeka
11:27:10 *** applecool has joined #openmrs
11:27:19 <applecool> hey rafa
11:27:28 <rafa> applecool: hi
11:27:52 <applecool> couldnt made it at our normal 3:30 time! due to powercut
11:28:04 <rafa> applecool: I understand
11:28:12 <rafa> applecool: how are things?
11:28:24 <rafa> applecool: I saw your changes in the UI
11:28:33 <applecool> i dint change much
11:28:34 <rafa> applecool: You need to add a title to the header
11:28:41 <rafa> applecool: Metadata Repository
11:29:04 <applecool> title?
11:29:16 <rafa> applecool: yeah right to the OpeMRS logo
11:29:33 <rafa> applecool: how are 2 other tasks?
11:29:40 <applecool> ohk!
11:30:03 <applecool> the other two tasks are good! :)
11:30:21 <rafa> applecool: done?
11:30:21 *** james_regen has joined #openmrs
11:30:21 *** ChanServ sets mode: +v james_regen
11:30:27 <applecool> no not done!
11:30:30 <applecool> in progres
11:30:36 <applecool> wil complete them soon
11:30:49 <rafa> applecool: will you have them ready by tomorrow?
11:30:59 <applecool> hope so!
11:31:04 <applecool> :)
11:31:27 <rafa> applecool: if yes, we could be back on schedule
11:31:36 <applecool> my tomcat is giving me lot of trouble!
11:31:39 <rafa> applecool: and start working on displaying packages
11:31:41 <applecool> oh cool! yeah
11:31:49 <rafa> applecool: I've upgraded jetty in the project
11:31:52 *** bwolfe has joined #openmrs
11:31:52 *** ChanServ sets mode: +o bwolfe
11:31:54 <rafa> applecool: you should try to run it again
11:32:04 <rafa> applecool: it's much easier to develop with jetty
11:32:08 <applecool> okay! !
11:32:17 <applecool> i will try to do it now!
11:32:26 <applecool> i will just pull it! :D
11:32:44 <rafa> applecool: I did that a week ago ;)
11:33:04 <applecool> yeah you told me! but forgot! :D
11:33:34 <rafa> applecool: yes, I could have mentioned that
11:33:43 <rafa> applecool: but you had tomcat running
11:34:05 <rafa> applecool: anyway if it gives you trouble now you can try jetty again
11:34:44 <applecool> yeah! it dint give me trouble in the start! and even when i was working in the night after my system reboot it dint give me any problem!
11:34:56 <applecool> but again same problem today ! i rebooted thrice
11:35:08 <applecool> i will try jetty!
11:35:08 <applecool> :)
11:35:20 <rafa> dkayiwa: I have a problem with starting jetty in trunk
11:35:23 <rafa> dkayiwa: Caused by: org.openmrs.module.OpenmrsCoreModuleException: The following modules are marked as 'core' by OpenMRS but were unable to start: logic v0.5.2,
11:35:33 <rafa> dkayiwa: it's very often
11:35:49 <rafa> dkayiwa: and I need to do clean install to make it work again
11:35:55 <rafa> dkayiwa: do you know what may be the reason?
11:36:01 <dkayiwa> rafa: surprising i have just updated and mine works well
11:36:16 <dkayiwa> rafa: but i did an mvn clean install
11:36:41 <dkayiwa> rafa: does it give any reason why it was unable to start?
11:37:22 <rafa> dkayiwa: nope :/
11:37:40 <rafa> dkayiwa: ohh wait got it
11:37:43 <rafa> dkayiwa: WARN - ModuleFactory.startModuleInternal(668) |2012-05-31 13:14:55,394| Error while trying to start module: logic
11:37:43 <rafa> org.openmrs.module.ModuleException: Module requires at least version 1.7.2.17710, Current code version is only ${parsedVersion.majorVersion}.${parsedVersion.m
11:37:43 <rafa> at org.openmrs.module.ModuleUtil.checkRequiredVersion(ModuleUtil.java:329)
11:38:11 <dkayiwa> rafa: so you are using an old version of logic
11:38:18 <rafa> dkayiwa: seems like maven doesn't set the variables
11:38:34 <rafa> dkayiwa: how is that?
11:38:40 <dkayiwa> rafa: on your computer only?
11:38:55 <rafa> dkayiwa: isn't the right version included in trunk?
11:39:43 <dkayiwa> rafa: it is
11:40:07 <rafa> dkayiwa: do you start jetty with jetty:run or package jetty:run?
11:40:21 <dkayiwa> rafa: maybe you are sharing the application directory with another openmrs instance that has a lower version of logic?
11:40:38 <rafa> dkayiwa: I have all versions separated
11:40:59 <dkayiwa> rafa: i use jetty:run
11:42:13 <rafa> dkayiwa: okay thanks
11:46:19 *** kavuri has quit IRC
11:46:20 *** dkayiwa has quit IRC
11:46:36 *** maurya has joined #openmrs
11:47:47 *** nribeka has quit IRC
11:49:29 <applecool> rafa: there?
11:49:37 <rafa> dkayiwa: yes
11:49:40 <rafa> applecool: yes
11:49:42 <applecool> Launch configuration metadataserver references non-existing project metadataserver.
11:49:59 <applecool> got this error when i try to run jetty
11:50:15 <rafa> applecool: you need to delete this launch configuration
11:50:40 <applecool> means?
11:51:05 <rafa> applecool: go to run configurations...
11:51:28 <rafa> applecool: and right click on the metadataserver configuation and delete
11:51:29 <applecool> yup!
11:51:55 <rafa> applecool: then right click on the metadataserver-web and choose run as Maven build...
11:52:22 <rafa> applecool: then write jetty:run as a goal and click apply and then run
11:52:52 <applecool> ok i will try :)
11:59:13 *** bryq has quit IRC
11:59:31 <applecool> rafa: problem
11:59:38 <applecool> build failure!
11:59:55 <applecool> rafa: http://pastebin.com/4x3sVa12
12:01:00 <rafa> applecool: some problem with your internect connection
12:01:05 <rafa> applecool: try agian
12:01:18 <applecool> okay!
12:06:06 <applecool> Started Jetty Server [INFO] Starting scanner at interval of 3 seconds.
12:06:16 <applecool> is it a good sign? rafa
12:06:42 <rafa> applecool: very good :)
12:06:49 <applecool> cool!!!
12:06:53 <applecool> done! it run! :D
12:07:05 <applecool> WOW!!! :)
12:07:15 <applecool> Thanks rafa :)
12:07:26 <rafa> applecool: great
12:07:39 *** dkayiwa has joined #openmrs
12:07:52 <rafa> applecool: one more tip is that you can stop it and start in debug mode
12:08:06 <rafa> applecool: just use debug as... instead of run as..
12:08:17 <rafa> applecool: you'll be able to set breakpoints
12:08:29 <applecool> Okay! cool! wonderful!
12:08:30 <rafa> applecool: no configuration needed
12:08:48 <applecool> now i goto know y tomcat sucks! :D
12:10:13 <dkayiwa> applecool: yes it does when it is cool. Just warm it a bit or give it an orange instead an apple :D
12:10:58 <applecool> Haha!! :D :D dkayiwa sure! :D :P
12:11:08 <applecool> dkayiwa: you are one humorous person :P :D
12:11:44 <dkayiwa> applecool: because my wife feeds me with lots of refrigerated apples these days d:)
12:12:23 <applecool> hehe!! Apple is damn good for health!! :D
12:12:39 <applecool> An Apple a Day keeps a doctor away!
12:12:43 <dkayiwa> applecool: i fully agree!!! :)
12:12:45 <applecool> but not OpenMRS :D
12:12:58 <dkayiwa> lolllll :D
12:13:09 <applecool> haha! :P
12:17:52 <applecool> rafa: again there is a problem called java.lang.OutOfMemoryError: PermGen space in this jetty!! need to run it again! :D this was not there in tomcat! :P
12:18:19 <rafa> applecool: ohh you need to give it more memory
12:18:34 <applecool> rafa: i am familiar with this error a lot! when i worked with websphere!
12:18:41 <applecool> rafa: oh cool! where ?
12:19:01 <rafa> applecool: open the configuration and the JRE tab and paste in the vm arguments:
12:19:10 <rafa> -Xmx512m -Xms128m -XX:PermSize=128m -XX:MaxPermSize=512m
12:26:07 <applecool> rafa: cool :)
12:28:58 *** applecool has left #openmrs
12:29:36 *** applecool has joined #openmrs
12:30:47 *** wyclif has quit IRC
12:39:31 *** snoppy has left #openmrs
12:44:30 *** harshadura has quit IRC
12:45:52 <sunbiz1> anyone here... why do I need a Customdatatype for writing String??
12:45:58 <sunbiz1> into the attributes??
12:46:09 <sunbiz1> why is it not java.lang.String
12:46:54 <sunbiz1> instead its something... org.openmrs.customdatatype.datatype.FreeTextDatatype
12:48:46 *** finbrein has joined #openmrs
12:50:36 <bwolfe> sunbiz1, no one is here ;-)
12:52:22 <bwolfe> sunbiz1, I'm not sure why that was created. but if I had to guess its so it can be found automatically and added to the options and so that there doesn't have to be a special case when processing
12:58:48 <sunbiz1> it is bad IMO
12:59:08 <sunbiz1> and different from other places in the system
13:01:54 <bwolfe> other places == person attributes?
13:02:11 <bwolfe> person attributes are supposed to be converting to these, although I'm not sure when. :-/
13:02:59 <sunbiz1> bwolfe: there u have java.lang.String
13:03:17 <sunbiz1> as well as many openmrs classes
13:13:42 *** sgithens has joined #openmrs
13:16:00 *** downey has joined #openmrs
13:16:00 *** ChanServ sets mode: +o downey
13:16:00 *** wyclif has joined #openmrs
13:16:00 *** OpenMRSBot sets mode: +o downey
13:23:46 *** applecool has quit IRC
13:27:47 <wyclif> dkayiwa, this changeset doesn't work for me 10-insert-new-app-privileges
13:28:01 <dkayiwa> wyclif: what error do u get?
13:28:35 <wyclif> no default value for uuid column
13:28:51 <dkayiwa> wyclif: oh i see
13:28:52 <wyclif> dkayiwa, no default value for uuid column
13:29:50 <wyclif> dkayiwa, same thing for 11-insert-new-api-privileges
13:29:59 <dkayiwa> wyclif: ok
13:30:39 <rafa> wyclif: dkayiwa can we write a test for that?
13:31:30 <wyclif> rafa, for that changeset?
13:31:40 *** dkayiwa has quit IRC
13:31:44 <rafa> wyclif: yes what data causes it to fail?
13:32:03 <rafa> wyclif: are you running the demo db?
13:32:08 <wyclif> rafa, it because we are not setting the uuid feild
13:32:14 <wyclif> field
13:32:43 *** dkayiwa has joined #openmrs
13:36:20 *** mgielow has joined #openmrs
13:36:36 <rafa> dkayiwa: wyclif I've just run liquibaserunner and got the same error :D
13:36:55 <dkayiwa> rafa: for a fresh install?
13:37:05 <rafa> dkayiwa: for an upgrade from 1.6
13:37:11 <dkayiwa> rafa: ok
13:37:12 <wyclif> dkayiwa, i think it doesn't matter
13:37:14 <rafa> dkayiwa: 1.6 clean db
13:37:24 <dkayiwa> wyclif: fresh install works
13:37:48 <wyclif> but changeset is not setting the uuid
13:37:49 <rafa> I can't wait when we'll have the CI setup with liquibaserunner :D
13:37:59 <dkayiwa> rafa: :)
13:38:21 <wyclif> rafa, that would be cool
13:38:42 <rafa> downey is working on that :)
13:39:01 <downey> rafa: can you make a note in the ticket with your syntax changes?
13:39:12 <rafa> downey: sure
13:40:57 *** maurya has quit IRC
13:57:52 *** elizabeth has joined #openmrs
13:58:02 <downey> Hi elizabeth and welcome to the #openmrs IRC channel.
13:58:15 *** elizabeth has quit IRC
13:59:03 *** bwolfe has quit IRC
14:00:13 *** kishoreyekkanti has quit IRC
14:01:32 *** snoppy has joined #openmrs
14:02:13 *** bwolfe has joined #openmrs
14:02:13 *** ChanServ sets mode: +o bwolfe
14:05:55 <downey> !devmtg
14:05:55 *** sgithens has quit IRC
14:05:55 <OpenMRSBot> downey: "devmtg" --- Reminder: Developer Forum Thursday at 10:00 AM Eastern Time - https://wiki.openmrs.org/display/RES/Developers+Forum
14:09:11 *** sgithens has joined #openmrs
14:10:26 *** djazayeri1 is now known as djazayeri
14:10:26 *** ChanServ sets mode: +o djazayeri
14:14:37 *** jordank has joined #openmrs
14:17:41 *** mccallumg has joined #openmrs
14:17:41 *** ChanServ sets mode: +v mccallumg
14:18:47 *** applecool has joined #openmrs
14:29:00 *** sunbiz1 has quit IRC
14:39:03 <djazayeri> downey: what is the "buea" server being used for now?
14:41:34 *** harshadura has joined #openmrs
14:44:57 <wyclif> rafa, is the privilege helper module in GIT or SVN?
14:45:09 <rafa> wyclif: it's in git
14:45:28 <wyclif> rafa, thanks
14:45:40 <rafa> wyclif: I'm still working on that
14:45:46 <bwolfe> djazayeri, its used for not running performance tests. (cc downey)
14:46:11 <wyclif> rafa, ok
14:46:24 <djazayeri> downey, bwolfe: my understanding was that it got repurposed as something else in the last year
14:47:00 <downey> sorry - had window closed. buea is still allocated for testing, yes
14:49:18 <downey> the selenium tests haven't worked since firefox architecture changes long ago, but it sounds like thought works has been working to resolve that
14:59:11 *** lh has joined #openmrs
15:01:09 *** applecool has quit IRC
15:02:25 *** applecool has joined #openmrs
15:05:52 *** bryq has joined #openmrs
15:05:52 *** ChanServ sets mode: +v bryq
15:11:48 *** dkayiwa has quit IRC
15:13:36 *** dkayiwa has joined #openmrs
15:15:12 *** suranga has joined #openmrs
15:15:12 *** ChanServ sets mode: +v suranga
15:22:12 *** pushkar has joined #openmrs
15:22:36 *** rafa has quit IRC
15:22:42 <mccallumg> jordank: how's the new dictionary updating tool?
15:24:38 *** jordank has quit IRC
15:29:42 *** applecool has quit IRC
15:29:57 *** applecool_ has joined #openmrs
15:30:24 *** applecool_ is now known as applecool
15:40:59 <pushkar> Hi bwolfe
15:49:39 <djazayeri> mccallumg: hey, I just saw your question
15:49:42 <djazayeri> about dev resources
15:50:03 <djazayeri> mccallumg: or rather: "can someone without dev resources sponsor a sprint"
15:51:05 <mccallumg> djazayeri: it's extraneous to the experiment this week.
15:51:23 <djazayeri> mccallumg: Yes, it's separate from this. But I think the answer is definitely yes.
15:51:27 <snoppy> wyclif: hi, wyclif! Are you here?
15:52:00 <djazayeri> mccallumg: Obviously, if someone proposes a sprint and says "we can bring 3 devs, but we need an OpenMRS core dev to commit code / confirm design / etc", that will sound better
15:52:22 <mccallumg> djazayeri: but if the experiment works (and people respond to feature voting) then people could "pledge" money towards a feature - and donate the money to openmrs to cover the cost of development.
15:52:58 <mccallumg> djazayeri: like kick-starter for openmrs
15:53:39 <djazayeri> mccallumg: but I'd very much welcome someone without dev resources saying "there's a useful sprint that covers features X, Y, and Z. I can help with requirements analysis, and I can commit to doing in-depth acceptance testing ASAP, but it needs devs".
15:53:48 <snoppy> wyclif: I've created trunk directore for the module? Should I cteate another 2 directories(tags and branches)? Or trunk dir enough?
15:53:56 <djazayeri> mccallumg: and if that's strategic, it should get worked on.
15:55:01 <djazayeri> mccallumg: as far as money, we haven't really got a mechanism for that. (OpenMRS doesn't employ any developers directly…)
15:55:27 <mccallumg> djazayeri: but that could come in the future as OpenMRS gets established as a non-profit
15:55:44 <wyclif> snoppy, i have updated the project's design wiki page
15:56:02 <wyclif> snoppy, you should have trunk, tags and branches
15:56:13 <snoppy> wyclif: I see.
15:56:17 <snoppy> wyclif: ok
15:56:18 <wyclif> snoppy, great
15:56:18 <djazayeri> mccallumg: Yes. Though it will definitely require there being OpenMRS-employed developers for this, rather than just seconded resources.
15:56:51 <wyclif> snoppy, how did using the maven archetype go?, isn't it cool?
15:57:50 <mccallumg> djazayeri: maybe be then there will be openmrs employees :)
15:57:54 <mccallumg> *by
15:58:00 <snoppy> wyclif: Yes!
15:58:41 <snoppy> snoppy: and module-wizard is greate thing!)
16:00:10 <snoppy> wyclif: and module-wizard is greate thing!)
16:01:02 <wyclif> snoppy, cool
16:01:15 <wyclif> but i generates some unncessary files
16:01:38 <wyclif> e.g the messages_fr.properties and messaged_es .properties files
16:02:00 <wyclif> snoppy, am off to lunch with the group here in indianapolis
16:02:07 <wyclif> snoppy, talk to u later
16:02:55 <snoppy> wyclif:bon appetit!)
16:03:00 *** jordank has joined #openmrs
16:03:52 <snoppy> wyclif: I'm also off to dinner)
16:05:34 *** sgithens has quit IRC
16:08:35 *** applecool has quit IRC
16:14:08 *** applecool has joined #openmrs
16:36:24 *** applecool has quit IRC
16:36:39 *** applecool has joined #openmrs
16:37:57 *** mvorobey has joined #openmrs
16:38:05 <mvorobey> hi all
16:38:16 <applecool> Hi mvorobey
16:38:18 <applecool> :)
16:38:33 <mccallumg> jordank: how's it going today?
16:39:53 <mvorobey> applecool, :)
16:40:29 <mvorobey> applecool, how it's going ?
16:40:49 <applecool> good! well and fine! hows yours? :)
16:41:04 <jordank> hi mccallumg I haven't been able to figure out the tool yet... still trying to import my sql file
16:41:31 <mccallumg> jordank: how are you importing your sql file?
16:42:40 <mvorobey> applecool, good, good :) going to ping daniel and have a bit of chatting with him :)
16:43:12 <mvorobey> dkayiwa, hi
16:43:17 <applecool> cool go on! :D
16:43:30 <mvorobey> :D
16:45:20 <jordank> mccallumg: I was trying to use the tool and the command line then I tried with MAMP, but that didn't do anything so I'm still trying the command line
16:46:07 <mccallumg> jordank: think about this first though - what is that script going to do to your existing concepts (the ones you just created for your form)?
16:47:03 *** harshadura has quit IRC
16:47:55 *** kishoreyekkanti has joined #openmrs
16:48:42 <jordank> mccallumg: "drop table if exists" so I would lose them
16:48:58 <mccallumg> jordank: bingo.
16:49:30 <mccallumg> jordank: so what to do?
16:52:09 <jordank> mccallumg: I only had a few concepts that I created, so if I was a user, I might try to export my concepts somewhere and import the dictionary with 45000 concepts & then add mine to that later.... but I don't know.
16:52:44 <mccallumg> jordank: but you're experiment is atypical. Most sites will have at least 1000 of their own concepts.
16:54:42 <jordank> mccallumg: right..
16:55:06 <mccallumg> jordank: now it is getting fun isn't it?:)
16:55:10 <mccallumg> :)
16:56:20 <jordank> mccallumg: haha yep.... so I need to change the sql file to insert instead of drop?
16:57:07 <mccallumg> jordank: not yet. We need to develop a hypothesis then test it with the users somehow.
16:57:17 <applecool> !seen rafa
16:57:17 <OpenMRSBot> applecool: rafa was last seen in #openmrs 2 hours, 11 minutes, and 37 seconds ago: <rafa> wyclif: I'm still working on that
16:59:32 <jordank> mccallumg: a hypothesis for what happens when I want to add a new dictionary in OpenMRS?
17:00:37 <mccallumg> jordank: I'm thinking more basic - not to do with software. Hypothesis about the broader solution.
17:01:58 *** pulasthi7 has joined #openmrs
17:02:27 <mccallumg> jordank: question the assumptions I've given you.
17:04:05 <jordank> mccallumg: something like deciding if similar concepts should be handled before or after importing a new dictionary?
17:04:31 <mccallumg> jordank: think more fundamental.
17:05:24 *** harshadura has joined #openmrs
17:06:04 <suranga> hi pulasthi7
17:06:19 <suranga> pulasthi7, I didnt notice you signing in :)
17:06:19 <pulasthi7> hi suranga
17:06:27 <suranga> you are tooo quiet :-)
17:06:34 <pulasthi7> i just signed in
17:06:51 <pulasthi7> about 5 mins ago
17:07:03 <suranga> pulasthi7, aha, I see
17:07:13 <jordank> mccallumg: I'll get back to you :) what's the advantage of adding a concept dictionary if you already put time into making 1000+ of your own?
17:07:37 <suranga> pulasthi7, I will be closing up the ticket we have on task 1
17:08:15 <suranga> I'll also wrap up the document trail to be done from my end
17:08:36 <pulasthi7> suranga, is the review finished?
17:08:56 <suranga> pulasthi7, it is unofficially finished :-)
17:09:15 <suranga> I will leave it open for some more time, and wrap it up soon
17:09:36 <pulasthi7> ok :-)
17:10:18 <suranga> looking at your summary on task 2, I see you wont be taking the hql approach. That should be ok, since Dr. Shaun is also in favour of it :)
17:11:09 *** kishoreyekkanti_ has joined #openmrs
17:11:30 <jordank> mccallumg: also a user probably shouldn't need to know about eclipse and maven, right?
17:11:35 *** szrrizvi has joined #openmrs
17:11:43 <pulasthi7> suranga: that means using the sql
17:11:57 <mccallumg> jordank: concept dictionary has mappings to SNOMED-CT. But more importantly - using a shared concept dictionary allows sites to share forms and reports with relative ease. And that saves them a lot of work.
17:12:38 *** kishoreyekkanti has quit IRC
17:12:44 <mccallumg> jordank: wrt eclipse and maven - that's something to consider. But the current set of openmrs implementers have technical capacity.
17:13:10 <jordank> oh cool
17:13:22 *** kishoreyekkanti_ has quit IRC
17:13:59 <mccallumg> jordank: back to the ticket: https://tickets.openmrs.org/browse/TRUNK-2351
17:14:03 <suranga> pulasthi7, sorry, I inadvernetly mixed that up. Are you planning on using sql or hql for the query ?
17:15:15 <mccallumg> jordank: Look at the first sentence: "As the OCC and MCL are improving to manage concepts from various sources, "
17:15:33 <pulasthi7> suranga: I think i have to. to take the counts
17:16:22 <mccallumg> jordank: OCC is a group called "OpenMRS Concept Collaborative" https://wiki.openmrs.org/display/docs/OpenMRS+Concept+Cooperative+%28OCC%29
17:16:27 <pulasthi7> suranga, Did you have something different in mind?
17:17:08 <mccallumg> jordank: I don't think that the OCC has released a version of a concept dictionary (someone correct me if I'm wrong)
17:17:54 <mccallumg> jordank: so really there is one main centrally managed dictionary (MVP)
17:18:01 <suranga> pulasthi7, nope, should not be a problem. Our only worry was how much it would affect the utilization of resources...
17:19:00 <mccallumg> jordank: and you've been working with it all week. and discovered something. (what did you discover?)
17:19:49 <pulasthi7> suranga: i think we have to get the count of records somehow using sql or hql. the calculation part can be done with java. I think that's what dr.shaun meant.
17:20:24 <suranga> pulasthi7, sorry, I was thinking :)
17:20:28 <suranga> pulasthi7, you are right
17:21:04 <suranga> plus, if we dont use queries, we would have to read in 10-20k patients into memory each time... and that baaad for resource usage
17:21:22 <pulasthi7> suranga: don't know whether i've misunderstood though
17:21:44 <suranga> pulasthi7, no, I agreee.. i was actually thinking if hql or sql is better
17:23:07 <pulasthi7> suranga: ah, what would you recommend hql or sql?
17:24:05 <suranga> pulasthi7, hmmm.... I would recomend asking bwolfe or djazayeri ... from what I know, I prefer hql
17:24:40 <suranga> hi bwolfe djazayeri ... can you guys comment wether sql or hql is better resoucre and speed wise to run a massive query ?
17:25:01 <jordank> mccallumg: that it's not very easy to get to and I might lose the concepts I made...
17:25:31 <bwolfe> suranga, its the same
17:25:39 <bwolfe> suranga, the hql is translated to sql and then run
17:25:41 <djazayeri> suranga, pulasthi7: depends on what you're trying to do with the output
17:25:48 *** dkayiwa has quit IRC
17:26:27 <bwolfe> I would recommend hql. you can get specific columns back with hql. but you can get them as objects instead of raw types
17:26:42 <bwolfe> if you do that wrong, you might be making lazy-load calls for each row. and that will make it seem like its super slow
17:27:00 <suranga> bwolfe, djazayeri basically we need to do something like calculate the count with a query like "count where x.<field> not null and x.<field> !="" and x.<field>=y.<field>" for n number of fields
17:27:11 <mccallumg> jordank: right. there's no straightforward path to adopt MVP for an existing implementation. And there's no way to update the MVP dictionary if your deployment has any local concepts defined.
17:27:40 <pulasthi7> bwolfe, djazayeri , it would be to take counts in most cases
17:28:05 <jordank> mccallumg: which is why we need this super tool? :)
17:28:41 <suranga> djazayeri, would you recomend hql for this task because we need to access specific columns ?
17:29:11 <mccallumg> jordank: which is why a super tool is needed. But I'm not sure that this ticket is asking for it. What do you think?
17:29:31 <bwolfe> suranga, any will work. criteria, hql, or sql. :-)
17:29:44 *** applecool has quit IRC
17:30:01 <bwolfe> there are examples of doing counts in criteria in, say, HibernateConceptDAO . look at getCount* methods
17:30:04 *** dkayiwa has joined #openmrs
17:30:08 <bwolfe> err
17:30:15 <suranga> hmmm... bwolfe I seee. so you wont recomend any single one in terms of speed ? :-)
17:30:15 <bwolfe> getConceptCount maybe
17:30:30 <bwolfe> I recommend criteria over anything for readability and maintainability
17:30:33 <bwolfe> then hql
17:30:34 <bwolfe> then sql
17:31:29 *** maurya has joined #openmrs
17:32:26 <jordank> mccallumg: I think this ticket is asking for help maintaining local and external concepts
17:32:36 <dkayiwa> wyclif: rafa Do the changesets still fail?
17:32:52 <suranga> bwolfe, I see.. thanks for the tip :-)
17:33:12 <jordank> mccallumg: or managing them
17:33:38 <wyclif> dkayiwa, haven't yet done an sv update
17:33:48 <dkayiwa> wyclif: ok
17:33:52 <wyclif> dkayiwa, have you committed anything to fix it?
17:33:56 <suranga> pulasthi7, since you are still in the design phase... I dont think you will be starting on the query work until tomorrow / weekend, is that right ?
17:34:01 <dkayiwa> wyclif: yes
17:34:05 <wyclif> dkayiwa, cool
17:34:10 <wyclif> dkayiwa, i will test it
17:34:17 <dkayiwa> wyclif: ok
17:34:28 <suranga> pulasthi7, you still need to plan how to get the fields and interate through them ?
17:34:53 <jordank> mccallumg: in the ticket, what does it mean to "switch over a concept" in the second paragraph?
17:35:21 <pulasthi7> bwolfe, thanks for your help :-)
17:35:32 <mccallumg> jordank: that means to replace on concept reference for another throughout the database.
17:35:37 <mvorobey> dkayiwa, hi, captain :) sorry, did not notice your comment on general section, but already added those 3 tests you requested :)
17:36:03 <dkayiwa> mvorobey: yes i have seen your patch. You are too fast!!! :D
17:36:18 <pulasthi7> suranga, I will probably need it by week end
17:36:27 <mccallumg> jordank: I'm not so sure on this ticket. My hypothesis is that neither Ampath nor PIH is using the MVP concept dictionary. Further - I don't think that they have plans to adopt it in the near-to-medium future.
17:37:16 <suranga> pulasthi7, well, this is a design issue, and once we start on it, theres no turning back. therefore, a good idea would be to write to the dev list on this one
17:37:46 <pushkar> !seen bwolfe
17:37:46 <OpenMRSBot> pushkar: bwolfe was last seen in #openmrs 7 minutes and 11 seconds ago: <bwolfe> then sql
17:38:03 <suranga> pulasthi7, give a basic explanation on why you need to calculate using queries, and name the three options (hql, criteria and sql)
17:38:19 <suranga> also include what bwolfe said (for clarity)
17:38:22 <mccallumg> mccallumg: because of all the reasons that you've discovered this week.
17:38:39 <mccallumg> jordank: ^
17:38:50 <pushkar> bwolfe, I have a few doubts regarding saving of obs
17:38:52 <mccallumg> jordank: and because of the lack of a super tool
17:39:00 <suranga> pulasthi7, we might get further support / advice from the list. if not, at least we have aplaceholder on why we elected to take this approach
17:39:08 <jordank> mccallumg: so the idea is that it would be helpful if they could adopt it without the trouble of conflicting mvp concepts with their own?
17:39:34 <mccallumg> pushkar: don't say 'doubts' , say 'questions' - it's an english translation thing
17:40:04 <mccallumg> jordank: oh yeah that would be helpful, I agree. But is that what they're asking for?
17:40:52 <pushkar> mccallumg, okay questions
17:40:59 <pulasthi7> suranga, i'll do that. we'll get some good advice from them
17:42:20 <mvorobey> dkayiwa, it was too easy :)
17:42:30 <suranga> pulasthi7, it will also serve as a record as to why we decided to go with any of the above three choices
17:42:35 <dkayiwa> mvorobey: :D
17:43:01 <suranga> pulasthi7, but please make sure to include some information on the format of the query (that is, that we need to do a count *)
17:43:14 <dkayiwa> mvorobey: too easy because you are now an openmrs expert :)
17:43:56 <suranga> pulasthi7, writing this email will also help you consolidate on your plan too
17:45:24 <jordank> mccallumg: well they're asking for a tool to change concept ids throughout the database to use when they merge or update dictionaries... which I think they want/ need because all of the forms, etc are connected to the concept ids
17:45:47 <mvorobey> dkayiwa, if am is an expert, then you are 1000k*expert :D
17:45:50 <pulasthi7> suranga, ok, I'll include the details as i have planned
17:46:04 <mvorobey> am is = am
17:46:34 <mccallumg> jordank: what other concept dictionaries do they merge with?
17:46:57 <suranga> pulasthi7, have you planned on the query - unrelated side of things yet ?
17:47:08 <dkayiwa> mvorobey: am an expert in some things (like xforms), while you are an expert in others where i am not :D
17:48:02 <suranga> pulasthi7, that is, how to iddentify the matching fields, and get them into a query, and add up the results ? (ok, im probably going too fast now :P)
17:48:14 <jordank> mccallumg: are MCL and MVP two different dictionaries? or what about merging with another site?
17:48:40 <mccallumg> jordank: MVP and MCL are now merged, I believe.
17:49:13 <mccallumg> jordank: right. You're on to something with this other site merging.
17:49:18 <mvorobey> dkayiwa, are not you an expert in karaoke singing ? :D
17:49:42 <suranga> pulasthi7, some other (better) news. its 130 rupees for the dollar now. Up by Rs. 3 as of last monday :D
17:49:48 <dkayiwa> mvorobey: hahahaha ofcourse am very much one in that one [:)
17:49:50 <pulasthi7> suranga, yes but some are not that detailed into the code level.
17:50:19 <mccallumg> jordank: I hypothesize that MVP is a red herring in the context of this ticket (although super tool is needed in the long run).
17:50:21 <pulasthi7> suranga, :D
17:50:25 <suranga> pulasthi7, cool. lets take this one step at a time...
17:51:40 <mvorobey> dkayiwa, awesome, we can make a band, I think we need rafa as backing vocals :)
17:51:59 <bwolfe> pushkar, so whats up?
17:52:21 <dkayiwa> mvorobey: llllllllllloooooooooollll. And i trust he will do a great job. bwolfe will be on the guitar :D
17:52:26 <mccallumg> jordank: But we need a way to test this hypothesis … and others.
17:52:36 * bwolfe has no musical talent
17:52:40 <mvorobey> dkayiwa, ROFL :D
17:52:58 <mccallumg> jordank: I find it best to not ask the user specifically what they want - because they either (1) don't know or (2) don't know what's possible, or (3) don't know how to explain what they need.
17:53:02 *** sgithens has joined #openmrs
17:53:12 *** mgielow has quit IRC
17:53:20 <jordank> mccallumg: pretend to be a user?
17:53:36 <mccallumg> jordank: . It is better to learn how they work and the problem they're experiencing - then to design a solution and validate it with them (via another hypothesis).
17:53:56 *** mgielow has joined #openmrs
17:54:15 <mccallumg> jordank: you definitely found out some of the problems with MVP adoption by pretending to be a user this week.
17:54:20 *** kavuri has joined #openmrs
17:55:48 <jordank> mccallumg: definitely...
17:56:48 <jordank> mccallumg: well I still haven't actually gotten it into my development space
17:57:03 <mccallumg> jordank: which development space?
17:57:33 <mccallumg> jordank: today my development space is outside on the porch. :)
17:58:02 <jordank> mccallumg: ohh :) I meant my openmrs that isn't the standalone version
17:59:06 <mccallumg> jordank: you mean you haven't been able to log into your development instance of openmrs?
18:00:31 <jordank> mccallumg: no sorry - I meant I never got the MVP dictionary to see what would happen to the form I made there
18:02:43 <mccallumg> jordank: let's talk about it. if you loaded the MVP dictionary as is now - it would blow away your concept table and the form would start referencing other concepts (unrelated to the form). it would end up complete nonsense.
18:03:27 <mccallumg> jordank: if you changed the MVP dictionary to just insert into existing table - you'd probably have primary key conflicts with your existing concepts...
18:04:08 <jordank> mccallumg: right. I'm looking at https://wiki.openmrs.org/display/docs/Strategy+for+having+local+and+CIEL-MVP+concept+dictionaries
18:04:52 <jordank> but idk if it says exactly
18:07:03 <mccallumg> jordank: yeah. sounds like they're talking around the same issues. but no concrete solution.
18:08:23 <mccallumg> jordank: but that page is pretty out-dated now. (last edited yesterday - created the day before) ;)
18:09:56 <jordank> mccallumg: haha okay :)
18:11:06 <mccallumg> so jordank . I wouldn't get to stuck on loading the MVP dictionary into your dev environment this week. It is more important to validate user needs.
18:13:07 <mccallumg> so jordank. How can we validate the user needs without building anything yet?
18:14:32 <jordank> mccallumg: confirm our hypothesis with the user on the ticket?
18:15:12 <mccallumg> jordank: yes. That's what I'm talking about. But how do we do that?
18:16:19 <jordank> mccallumg: comment on the ticket?
18:16:48 <mccallumg> jordank: and what would the comment say?
18:21:50 <jordank> mccallumg: whatever we think the ticket is asking for/ ask for confirmation about what we think is a possible solution
18:22:21 *** Rahul_ has joined #openmrs
18:27:26 *** Rahul_ has quit IRC
18:28:56 *** sunbiz has joined #openmrs
18:28:56 *** ChanServ sets mode: +v sunbiz
18:29:16 *** sunbiz has left #openmrs
18:32:41 <sgithens> djazayeri et all. Is the REST module stable/secure/prod-ready enough that I could likely successfully levy to have it installed on our prod system in another month or two?
18:33:36 <sgithens> I need to import some existing data into encounters/observations and am sort of looking through the spreadsheet import module, writing a groovy script that calls the services, using SQL, generating HL7s to through in the queue, or maybe using the REST module
18:33:49 <sgithens> s/through/throw/
18:34:18 <mccallumg> jordank: we need to confirm our hypotheses about how they operate
18:37:03 <jordank> mccallumg: meaning we don't think they use the MVP dictionary yet?
18:38:24 *** szrrizvi has quit IRC
18:39:01 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: Atom Feed Module 1.0 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=atomfeed&ampversion=&amp1.0> || OpenMRS Modules: Event Module 1.0 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=event&ampversion=&amp1.0>
18:39:03 *** goutham has joined #openmrs
18:39:24 <mccallumg> jordank: that's one hypothesis
18:39:50 <mccallumg> jordank: there are more - about what dictionaries they are merging
18:40:34 *** mvorobey has quit IRC
18:40:36 <jordank> mccallumg: the ticket also mentions cleaning duplicate concepts, but I'm not sure how they do that
18:41:53 <mccallumg> jordank: that's another hypothesis - so that is referring to maintaining a single concept dictionary (no merging dictionaries - just removing duplicates in a single concept dictionary).
18:42:39 <djazayeri> sgithens: in a month or two, es
18:42:43 <djazayeri> yes
18:45:22 *** bwolfe has quit IRC
18:45:26 <jordank> mccallumg: same idea though right - if you're merging two dictionaries, you're going to end up with one that you want to delete duplicates from?
18:45:37 <mccallumg> jordank: right. they're related.
18:46:18 <jordank> mccallumg: ok.. why does it matter which dictionaries they want to use/ merge?
18:47:20 <mccallumg> jordank: doesn't necessarily - good point. we need a hypothesis about how they're sharing non-MVP dictionaries.
18:51:35 <mccallumg> jordank: so how bout you put all of the assumptions / hypotheses in an email, cc Janet, and we'll talk about how to test them.
18:52:19 <jordank> mccallumg: okay sounds good
18:53:09 *** jordank has quit IRC
19:00:21 *** mvorobey has joined #openmrs
19:03:20 <djazayeri> downey: what's a link to the news feed that we're talking about?
19:06:55 <downey> djazayeri: don't have the link handy at the moment as i'm between meetings but i think it's the largely-defunct blog rss feed
19:07:00 <downey> largely-sparse that is
19:07:35 <djazayeri> downey: meaning it would show up in the OpenMRS blog? Or that it would show up in an aggregated rss feed?
19:08:43 *** cpower has joined #openmrs
19:08:52 <cpower> hello everyone!
19:09:24 <mvorobey> cpower, hi
19:09:43 <cpower> Are we ready to Scrum or did you guys already do it without me?
19:10:20 <mvorobey> cpower, it seems that no we did not :)
19:10:36 <cpower> well then....leeeeet's do it!
19:10:44 <cpower> !scrumon cpower
19:10:44 * 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.
19:11:32 <cpower> Order: djazayeri, downey, dkayiwa, mvorobey (if he wants) and wyclif!
19:12:18 <dkayiwa> downey: does not scrum :)
19:12:38 <cpower> he could still tell us what he's been doing...
19:12:47 <mvorobey> cpower, he wants, he said me :)
19:12:49 <dkayiwa> mvorobey: am sure he has done something :)
19:12:55 <djazayeri> My report
19:12:56 <djazayeri> Wednesday 30-May-2012
19:12:56 <djazayeri> * University call
19:12:56 <djazayeri> * call with Thoughtworks
19:12:56 <djazayeri> * Design call
19:12:56 <djazayeri> * Project Management call
19:12:56 <djazayeri> * Call with Kiran
19:12:56 <djazayeri> * Call with Merk Dev
19:12:57 <djazayeri> * hoped to get a bit of coding done outside those calls, but didn’t
19:12:59 <djazayeri> Today
19:13:01 <djazayeri> * Dev call
19:13:05 <djazayeri> * Leadership call
19:13:09 <djazayeri> * ITECH work
19:13:11 <djazayeri> no blockers
19:13:24 <dkayiwa> djazayeri: you are soon dying of calls :D
19:13:35 <wyclif> he he he
19:14:01 <cpower> I know the feeling...
19:14:21 <cpower> dkayiwa..go for it
19:14:41 <dkayiwa> Reviewed and tested: Improve the page a user sees when they fail a privilege check - TRUNK-3354
19:14:41 <dkayiwa> Reviewed, applied patch and tested: Should be able to define a privilege required to view or edit an encounter - TRUNK-3377
19:14:41 <dkayiwa> Reviewed: Create wiki documentation for PrivilegeListener - TRUNK-3389
19:14:41 <dkayiwa> Reviewed: Add encounter type privilege wiki documentation - TRUNK-3392
19:14:43 <dkayiwa> Committed uuid fields for TRUNK-3373 and TRUNK-3369
19:14:43 <dkayiwa> Created new tickets: Document the new dashboard overview tab application privileges - TRUNK-3394 and Document the new API-level privileges - TRUNK-3395
19:14:43 <dkayiwa> Dev Call
19:14:43 <dkayiwa> Now working on Ben's comment for: Create new dashboard overview tab application privileges - TRUNK-3368
19:14:43 <dkayiwa> No Blockers
19:14:58 <cpower> Next...
19:15:00 <mvorobey> Completed (prepared for committing) - CSTM-2
19:15:00 <mvorobey> Finished (after number of re-workings)- TRUNK-3377
19:15:00 <mvorobey> Attend today dev call
19:15:00 <mvorobey> No blockers
19:15:26 <dkayiwa> mvorobey: hahaha :)
19:15:34 <cpower> wyclif!
19:15:50 <wyclif> Wednesday:
19:15:50 <wyclif> * TRUNK-3389 - Create wiki documentation for PrivilegeListener
19:15:50 <wyclif> * TRUNK-3392 - Add encounter type privilege wiki documentation
19:15:50 <wyclif> * Design call
19:15:50 <wyclif> * Create Gsoc module Project in jira and going through error logging tickets
19:15:50 <wyclif> Thursday:
19:15:52 <wyclif> * Review TODOs for TRUNK-3354 - Improve the page a user sees when they fail a privilege check
19:15:56 <wyclif> * dev call
19:15:58 <wyclif> * Went through the order entry tickets to pick those to include in the clean up sprint
19:16:00 <wyclif> * TRUNK-3343 - Create liquibase changeset to insert the new application level privileges for each corresponding api level privilege
19:16:03 <wyclif> * pick another sprint ticket
19:16:05 <wyclif> Blockers: None
19:16:27 <cpower> Anyone else have anything they would like to comment on?
19:16:36 <mvorobey> dkayiwa, but I think it was the best patch all over OpenMRS during this week :)
19:16:47 <cpower> Summary: No discussion points, no blockers
19:16:58 <dkayiwa> mvorobey: hahahaha. for sure :D
19:17:02 <cpower> !scrumoff
19:17:02 * 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.
19:17:17 <mvorobey> cpower : no man, no problems :D
19:17:31 <cpower> So is Rodger on IRC?
19:18:02 * downey didn't get picked to scrum :(
19:18:03 *** jordank has joined #openmrs
19:18:08 <downey> i wrote up a report and everything :P
19:18:22 <dkayiwa> downey: oh sorry :(
19:18:26 <cpower> Go ahead downey...I put you on the list, you just didn't go
19:18:40 <downey> Yesterday: Finalized OSCON attendance & (lack of) booth presence, mini birthday party for docpaul, orientation for summer intern nicoleb, catch up on email over long weekend & illness, GSoC reports
19:18:40 <downey> Today: Developer meeting, team lunch, leadership team meeting, OMRS12 scholarship announcement writing, XSEDE prep work
19:18:41 <downey> No blockers, although we're about 1.5 weeks behind on hardware upgrades due to late delivery.
19:19:02 <downey> Also we have 2 more summer interns starting next week
19:20:05 <cpower> So when do we worry about the Hardware not being where it should be?
19:20:34 <downey> things are moving as best i understand, just pushed back a bit. i'll try to make up the time over the next couple weeks once i get done playing HR geek
19:21:55 <cpower> lol
19:22:46 <cpower> back to my orginal is Roger on IRC or does he just use the lists?
19:23:31 <downey> he's usually on as r_friedman
19:23:47 <downey> but seems to be more in the mornings, Atlanta time
19:24:12 *** yansuck has joined #openmrs
19:24:21 <cpower> fair enough, thanks for the info!
19:24:24 <downey> Hi yansuck and welcome to the #openmrs IRC channel.
19:24:30 <yansuck> Hi downey!
19:24:46 <yansuck> I am wondering is there a forum for openMRS people?
19:25:00 <cpower> you are in it
19:25:30 <downey> indeed, this is the real-time one … there are also some other resources available, too
19:25:40 <yansuck> oh ok, I just think that a forum might be better at documenting this haha.
19:25:42 <yansuck> Great! :D
19:25:52 <downey> yansuck: see also https://wiki.openmrs.org/display/RES/Mailing+Lists
19:25:53 <OpenMRSBot> <http://ln-s.net/8ZWD> (at wiki.openmrs.org)
19:25:53 *** bwolfe has joined #openmrs
19:25:53 *** ChanServ sets mode: +o bwolfe
19:26:07 <bwolfe> wyclif, did kreddy say that the label for next week is "cleanup_sprint" ?
19:26:10 <downey> yansuck: and https://answers.openmrs.org/
19:26:22 <yansuck> wow thank you!
19:26:39 <yansuck> You are very helpful : )
19:27:00 <cpower> yansuck, downey is right there are a lot of places to find information. Just ask here and we can direct to the best place or look around in the links provided.
19:28:43 <yansuck> ok I will. Thank you
19:28:48 <yansuck> I have a quick question right now
19:28:55 <bwolfe> I find all my information on ta goog. that, and downey.
19:28:58 <wyclif> bwolfe, i added that just to track order entry tickets to be worked on in the sprint, i will add that of the sprint too
19:29:17 <wyclif> bwolfe, it is helpful to me
19:29:38 <bwolfe> ok
19:30:59 <yansuck> When I open the openMRS source file in eclipse, there's a lot of errors in term of importing. Seems like openmrs is importing a lots of module that my computer doesn't have, such as org.apache.*
19:31:41 <yansuck> I am wondering what can i do about this? Should I download those packages from their websites?
19:32:23 <downey> bwolfe: my girlfriend once called me her personal google
19:33:02 <bwolfe> yansuck, when you import into eclipse it starts building openmrs via maven
19:33:09 <bwolfe> maven should be downloading all those packages now
19:33:19 <bwolfe> if you have maven in "offline mode" it will tell you it can't find them
19:33:40 <bwolfe> put it in online mode to let maven do its magic and find+download all of those for you
19:34:27 *** sgithens has quit IRC
19:35:23 *** pulasthi7 has quit IRC
19:35:36 <yansuck> Thank you bwolfe but I don't think I have maven in my eclipse
19:36:01 <yansuck> I will look into it, if putting maven online would solve this problem, I will go ahead and add maven to my eclipse then
19:36:03 <yansuck> Thank you
19:40:01 *** goutham has quit IRC
19:48:24 <yansuck> Hi @bwolfe, I have installed maven in my eclipse but how can I make it get those repositories?
19:49:09 <maurya> djazayeri, regarding htmlformentry, can we store the elements in the database directly even if the elements are not registered?
19:51:07 *** kavuri has quit IRC
19:52:06 <djazayeri> maurya: what elements?
19:52:50 <maurya> like if i generate some elemnts dynamically...
19:53:02 <maurya> observations
19:53:12 <maurya> which are not registered earlier..
19:54:09 *** james_regen has quit IRC
19:54:20 <djazayeri> maurya: "registering" in HTML Form Entry is a convenience mechanism
19:54:40 <djazayeri> it lets the widgets know what form field name they're going to have
19:55:51 <djazayeri> maurya: if a widget knows that its form field name is going to be "w18", it can submit "w18[0]", "w18[1]", etc, or anything really, as long as it knows how to process the submission
19:56:34 <maurya> okay..
19:57:41 *** lh has joined #openmrs
19:57:41 *** lh has joined #openmrs
20:12:09 <mvorobey> .йгше
20:12:29 <mvorobey> .йгше = /quit
20:12:37 <mvorobey> :D
20:12:41 *** mvorobey has quit IRC
20:14:09 <downey> unicode++
20:15:08 *** dkayiwa has quit IRC
20:16:34 *** dkayiwa has joined #openmrs
20:20:00 *** yansuck has quit IRC
20:24:00 *** maurya has quit IRC
20:52:23 <suranga> hi dkayiwa have you got time for a question ? I just re-created my database.. now I dont know my password / usr name to log in
20:52:39 <suranga> dkayiwa, can I get these from the *.properties file ? :)
20:55:02 <dkayiwa> suranga: no :)
20:55:12 <suranga> dkayiwa, :(
20:55:12 <dkayiwa> suranga: get it from the database :)
20:55:29 <suranga> dkayiwa, umm.. its encrypted :(
20:55:44 <dkayiwa> suranga: overwrite it :)
20:55:57 <dkayiwa> suranga: using one for a known password :)
20:56:13 <suranga> dkayiwa, do i need to replace the salt too ?
20:56:19 <dkayiwa> suranga: yes
20:56:35 <suranga> that also I need to get a known salt , is it ?
20:58:29 *** harshadura has quit IRC
20:59:11 <downey> http://knownsalt.jpg.to/
21:07:05 *** pushkar has quit IRC
21:13:40 *** szrrizvi has joined #openmrs
21:16:13 *** jordank has quit IRC
21:17:25 <szrrizvi> Hey bwolfe and djazayeri, thanks for all the help yeterday. I fixed my issue, but I still have one question. Why don't the service layer methods (such as saveRole and savePrivilege) have the @Transactional annotation?
21:18:51 <cpower> bwolfe, did you ever help yansuck with his Maven issue?
21:20:45 <bwolfe> szrrizvi, ah, so the problem was @Transactional?
21:20:56 <bwolfe> szrrizvi, cause I didn't see a prob with your mapping.
21:21:09 <bwolfe> cpower, maybe? I dunno. what was the final question?
21:21:23 <bwolfe> szrrizvi, the interface has the @Transactional annotation and htat cascades to the methods
21:22:06 *** jordank has joined #openmrs
21:23:13 *** mgielow has left #openmrs
21:23:16 <djazayeri> szrrizvi: by the way, the fact that we have an @Transactional annotation on the interface that cascades to all the methods is actually bad style, we now know. It's better to explicitly annotate only the transactional methods (but you have to make sure not to forget)
21:23:43 <szrrizvi> bwolfe: Yes, when I removed the @Transactional annotion from the methods, it worked fine.
21:25:10 <szrrizvi> For most cases, I am seeing that the annotation is both on the interface as well as the methods. Just for the methods regarding Role and Privilege objects, there is no annotation.
21:25:46 <bwolfe> if you have @Transactional(readOnly=true) on a method it will not persist
21:25:53 <bwolfe> that is the only place in core we put it on methods
21:26:02 <bwolfe> otherwise we just do the @Transactional on the interface
21:27:53 <szrrizvi> Oh okay. I haven't studied these things formally, just learning as I go along. All that I know about Hibernate, Spring, JSP, and MySQL I've learnt from reading OpenMRS code and documentation.
21:28:22 *** rafa has joined #openmrs
21:28:22 *** ChanServ sets mode: +v rafa
21:32:16 *** bwolfe has quit IRC
21:33:26 <szrrizvi> Oh, and I wanted to ask; I am a student at University of Calgary, and my professor and I have been working on an access control model that uses relationship for authorization. For example, a patient can only view his/her own file and not the files of other patients. Once we have a prototype, would you guys be interested in hearing more about it?
21:34:08 *** bryq has quit IRC
21:34:36 <djazayeri> szrrizvi: definitely we'd be interested in hearing more, seeing a demo, seeing a presentation on our dev call, etc.
21:36:25 *** rafa has quit IRC
21:37:22 <szrrizvi> djazayeri: Thank you, my professor will be very happy to hear that. And of course this model works with doctor/patient level. Ex. A doctor can only view files of his/her own patients, or has some sort of referral.
21:42:59 *** suranga has quit IRC
21:51:39 *** dkayiwa has quit IRC
21:52:39 *** downey has quit IRC
21:55:08 *** wyclif has quit IRC
22:07:18 *** szrrizvi has quit IRC
22:21:56 *** snoppy has quit IRC
22:39:12 *** wyclif has joined #openmrs
23:38:50 *** mccallumg has quit IRC
23:49:31 *** jordank has left #openmrs
23:57:02 *** downey has joined #openmrs
23:57:02 *** OpenMRSBot sets mode: +o downey
23:57:02 *** ChanServ sets mode: +o downey