IRC Chat : 2013-03-17 - OpenMRS

00:10:22 <djazayeri> ashray: would you mind checking http://resources.openmrs.org/doc/ and if the javadoc is incorrect, create a ticket at tickets.openmrs.org for fixing this?
00:11:57 <ashray> Sure, will do
00:19:41 *** h3llborn has quit IRC
00:42:35 *** portablejim has joined #openmrs
01:44:46 *** robbyoconnor has joined #openmrs
01:44:46 *** ChanServ sets mode: +v robbyoconnor
02:03:33 *** robbyoconnor has quit IRC
02:03:56 *** robbyoconnor has joined #openmrs
02:03:56 *** ChanServ sets mode: +v robbyoconnor
02:05:52 *** harsz89 has joined #openmrs
03:20:09 *** harsz89 has quit IRC
03:32:58 *** harsz89 has joined #openmrs
04:14:34 *** harsz89 has quit IRC
04:17:57 *** harsz89 has joined #openmrs
04:20:22 *** harsz89 has quit IRC
04:53:55 *** h3llborn has joined #openmrs
04:55:07 *** shangxiao has joined #openmrs
05:01:54 *** harshadura has quit IRC
05:05:58 *** harshadura has joined #openmrs
05:07:17 *** shangxiao has quit IRC
05:10:05 *** dmulindwa has joined #openmrs
05:18:22 *** ashray has quit IRC
05:27:29 *** harshadura has quit IRC
05:53:33 *** h3llborn has quit IRC
06:44:37 *** shangxiao has joined #openmrs
07:14:53 *** shangxiao has quit IRC
07:50:00 *** k-joseph has joined #openmrs
07:55:49 *** k-joseph_ has joined #openmrs
07:59:37 *** k-joseph has quit IRC
07:59:40 *** dmulindwa has quit IRC
08:02:54 *** k-joseph_ is now known as k-joseph
08:27:39 *** shangxiao has joined #openmrs
09:41:11 *** dkayiwa has joined #openmrs
09:42:56 <dkayiwa> k-joseph: hi
09:43:29 <k-joseph> dkayiwa: hi
09:43:40 <dkayiwa> k-joseph: are you ready to chat now?
09:43:52 <k-joseph> dkayiwa: yes
09:44:05 <dkayiwa> k-joseph: did you find any other ways of checking for undefined?
09:44:40 <k-joseph> dkayiwa: i tried but all the other examples were like the first one i had got
09:45:03 <dkayiwa> k-joseph: can you remind me of the search text that i had told you to use in google?
09:45:37 <k-joseph> dkayiwa: defining undefined javascript
09:46:17 <dkayiwa> k-joseph: can you cross check to confirm if it was actually that?
09:48:16 <k-joseph> dkayiwa: dkayiwa: that was; javascript how to check for undefined
09:48:51 <dkayiwa> k-joseph: so do you see how the one you had given me earlier is different from that which you have just given me?
09:49:37 <k-joseph> dkayiwa: yes i see that
09:49:50 <dkayiwa> k-joseph: so what lesson do you learn there?
09:50:42 *** dmulindwa has joined #openmrs
09:52:00 <k-joseph> dkayiwa: keeping consistent words while searching with a search enginee like google
09:52:25 <dkayiwa> k-joseph: ok good
09:52:44 <dkayiwa> k-joseph: so which of the two search phrases did you use?
09:53:34 <k-joseph> dkayiwa: javascript how to check for undefined, was my mainly used statements
09:54:11 <dkayiwa> k-joseph: did you check this link? http://stackoverflow.com/questions/3390396/how-to-check-for-undefined-in-javascript
09:54:14 <OpenMRSBot> <http://ln-s.net/+qHV> (at stackoverflow.com)
09:54:18 <k-joseph> dkayiwa: but i actually afterwards intercahnged thinking to maintain the meaning
09:54:45 <k-joseph> dkayiwa: am checking that out
09:54:58 <dkayiwa> k-joseph: so you had not checked it?
09:58:28 *** shangxiao has quit IRC
10:08:40 <dkayiwa> k-joseph: are you still there?
10:11:08 <k-joseph> dkayiwa: hi, yes am there, i think i had seen this link before but i was getting the same idea as the other lnks that i had visited(ue)
10:11:58 <dkayiwa> k-joseph: why do you take so long to reply?
10:13:30 <k-joseph> dkayiwa: i was going through the link again
10:13:57 <dkayiwa> k-joseph: you did not have to finish the link to answer me. did you?
10:14:22 <k-joseph> dkayiwa: no i did not jhave to
10:15:09 <dkayiwa> k-joseph: you know attending to you takes a considerable amount of my time. So when i ask you, please attend to me because i have many things to do. ok?
10:15:27 <k-joseph> dkayiwa: am sorry for taking long to reply, ok
10:16:29 <dkayiwa> k-joseph: so that link lists various different ways for testing for undefined. do you see them?
10:16:54 <k-joseph> dkayiwa: yes i see them
10:17:06 <dkayiwa> k-joseph: did you try them out?
10:17:39 <k-joseph> dkayiwa: i tried using most of them
10:17:46 <dkayiwa> k-joseph: not all?
10:18:03 <k-joseph> dkayiwa: yes not all,
10:18:08 <dkayiwa> k-joseph: why?
10:18:44 <k-joseph> dkayiwa: some never appeared to be applying to my case
10:19:03 <k-joseph> dkayiwa: like of form if (typeof(something) != "undefined") ...
10:19:29 <dkayiwa> k-joseph: how do you tell that they do not appear to apply to your case?
10:20:28 <k-joseph> dkayiwa: i was just looking at them in my own perspective of view, i was concidering the one of order name == undefined value
10:20:51 <dkayiwa> k-joseph: what if it turns out that they actually apply to your case?
10:21:29 <dkayiwa> k-joseph: in otherwards, would you lose anything by actually trying them out?
10:21:58 <k-joseph> dkayiwa: actually accually had not clearely understood them, exept the ones i had tried out, i loose nothing by trying them out
10:22:40 <dkayiwa> k-joseph: by the time you write and ask the dev list, ensure that you have exhausted every option that you have come accross
10:22:57 <dkayiwa> k-joseph: even those that may not seem to make sense to you, you do not lose to try them out
10:23:06 <dkayiwa> k-joseph: that is how we keep learning new things
10:23:16 <k-joseph> dkayiwa: ok
10:23:32 *** harsz89 has joined #openmrs
10:23:37 <dkayiwa> k-joseph: if you fear trying out stuff, or you do not because they do not seem to look ok, you lose out alot of learning
10:24:06 <dkayiwa> k-joseph: when things fail to work, even things that look stupid can actually turn out to be the one that actually work
10:24:12 <dkayiwa> k-joseph: so what do you learn from this?
10:25:35 <k-joseph> dkayiwa: i should not pass by any of the research materials but rather try every hing out in that way i can learn alot of new things and end up fixing issues at a fast rate
10:26:04 <dkayiwa> k-joseph: ok
10:26:26 <dkayiwa> k-joseph: so can you try out all options given in that link and get back to me with your findings?
10:26:49 <k-joseph> dkayiwa: am trying them out
10:27:04 <dkayiwa> k-joseph: ok good
10:34:37 *** Mkop1 has joined #openmrs
10:34:37 *** ChanServ sets mode: +v Mkop1
10:36:07 *** Mkop has quit IRC
10:42:54 *** robbyoconnor has quit IRC
10:46:46 <k-joseph> dkayiwa: hi
10:47:19 <dkayiwa> k-joseph: hi
10:47:35 <k-joseph> dkayiwa: i have tried them, not solved the issue
10:48:07 *** harsha89 has joined #openmrs
10:48:12 <dkayiwa> k-joseph: which ones did you try?
10:48:17 *** harsha89 has quit IRC
10:48:33 *** harsha89 has joined #openmrs
10:49:43 *** harsz89 has quit IRC
10:49:53 *** harsha89 has quit IRC
10:50:01 *** harsha89 has joined #openmrs
10:50:16 *** harsz89 has joined #openmrs
10:50:34 <k-joseph> dkayiwa: (box.text === undefined), (box.text == 'undefined'), (box.text != 'undefined'), (box.text == undefined), (box.text == "undefined")
10:52:13 <dkayiwa> k-joseph: did you also try !box.text
10:52:42 <k-joseph> dkayiwa: no, trying it also
10:53:52 <dkayiwa> k-joseph: ok
10:58:13 *** shangxiao has joined #openmrs
11:04:26 <k-joseph> dkayiwa: still not solving the problem
11:19:36 <shangxiao> djazayeri: A while back you gave us some mockups for the Concept Proposal Module - just looking at the "Accept/Reject" screen you've got a table with multiple descriptions
11:19:53 <shangxiao> is this what is needed?
11:20:34 <dkayiwa> k-joseph: hi
11:21:04 <k-joseph> dkayiwa: hi
11:21:44 <dkayiwa> can you paste the line that you have just tried here?
11:23:11 <k-joseph> dkayiwa: if (!box.text !== undefined) { is my latest tried
11:24:31 <shangxiao> k-joseph there's a bug in that statement
11:24:45 <shangxiao> you need to put () around box.text !== undefined
11:24:47 <dkayiwa> k-joseph: shangxiao correct
11:24:58 <shangxiao> ;)
11:25:05 <dkayiwa> k-joseph: infact my statement was simply like this: !box.text
11:25:15 <shangxiao> that's even better :)
11:25:24 <dkayiwa> k-joseph: do you know that ! operator?
11:25:33 <k-joseph> shangxiao: i catually tried that also
11:25:48 <dkayiwa> k-joseph: do you see my statment?
11:25:55 <k-joseph> dkayiwa: yes i do
11:26:07 <k-joseph> dkayiwa: !box.text
11:26:07 <dkayiwa> k-joseph: and did you try out just exactly that?
11:26:08 <shangxiao> k-joseph: putting !box.text !== undefined is the same as not having the !
11:26:52 <k-joseph> dkayiwa: shangxiao: ok, thanks am testing that
11:30:24 <k-joseph> that one works just like box.text === undefined, as you suggest, my issue is not to popup the alert when the user enters text in the text area
11:32:45 <shangxiao> so you mean that [!box.text] is working like [box.text === undefined] ?
11:34:34 <k-joseph> shangxiao: yes, they work just the same in the browser, popping up the alert whether or not entered the text in the text area
11:36:20 <shangxiao> and box is the text area?
11:36:45 <dkayiwa> k-joseph: can you paste here the exact line you tried?
11:37:09 <shangxiao> if the box is a text area then it should be [!box.value]
11:41:05 <dkayiwa> k-joseph: are you there?
11:41:26 <k-joseph> sorry, i have been away for some short tme
11:41:36 *** dkayiwa has quit IRC
11:41:46 <k-joseph> i had used !box.text
11:42:34 <k-joseph> shangxiao, actually i think that is the problem, i think it should be that, using .value
11:50:56 <k-joseph> shangxiao, that is it, that solves my issue, thanks a lot please
11:55:53 <shangxiao> no worries k-joseph ;)
11:56:25 <shangxiao> !powerup k-joseph
11:56:25 * OpenMRSBot slides k-joseph a Jack and Coke
12:01:15 *** shangxiao has quit IRC
12:15:57 *** k-joseph has quit IRC
12:20:43 <portablejim> Hello everyone. Just wanted to introduce myself. I am a student at university and I will be contibuting to OpenMRS as part of the subject.
12:25:32 *** dmulindwa has quit IRC
12:28:52 *** dmulindwa has joined #openmrs
13:02:37 *** shangxiao has joined #openmrs
13:32:54 <jkeiper> hi portablejim, welcome to OpenMRS. :-)
13:43:48 <portablejim> We have just been shown the database model (on a poster, thankfully), and told about how visits have encounters which have observations.
13:52:34 *** Anuruddha has joined #openmrs
13:53:03 *** portablejim has quit IRC
14:16:33 *** dmulindwa has quit IRC
14:35:42 *** k-joseph has joined #openmrs
14:36:36 *** Anuruddha_ has joined #openmrs
14:38:40 *** Anuruddha has quit IRC
14:48:56 <jkeiper> mseaton: just spent a few hours troubleshooting a SqlCohortDefinition because i was sending it a Set<Location> instead of List<Location> ... fml
14:49:34 * jkeiper will file a ticket
14:55:31 *** dmulindwa has joined #openmrs
14:55:58 *** k-joseph has quit IRC
14:56:26 *** k-joseph has joined #openmrs
15:30:04 <harsz89> hi jkeiper
15:32:33 *** shangxiao has quit IRC
15:51:32 *** dmulindwa has quit IRC
16:03:19 *** dmulindwa has joined #openmrs
16:23:11 *** sara has joined #openmrs
16:30:11 <jkeiper> i need the opposite of a megaphone for my daughter ... where she can speak at her "normal" level and it comes out at a real "normal" level
16:30:26 <jkeiper> hi harsz89
16:35:16 <harsz89> hi jkeiper
16:35:36 <harsz89> jkeiper, ar you familiar with sync setup
16:36:09 <jkeiper> harsz89: only that i have had to set it up before :-)
16:36:11 <harsz89> jkeiper, ?
16:36:14 <jkeiper> harsz89: i am not on the current sprint though
16:36:54 <harsz89> jkeiper, i have setup it but somethings not working
16:37:22 <harsz89> jkeiper, from whom can i have a help
16:37:26 <harsz89> jkeiper, :)
16:38:21 <jkeiper> harsz89: what is the problem?
16:38:49 <harsz89> jkeiper, i have set up a child and parent in my machine with two standalone servers
16:39:09 <harsz89> jkeiper, and after configuration
16:39:14 <jkeiper> harsz89: did you copy the parent database directly to the child?
16:39:36 <harsz89> harsz89, that d point where i stuck
16:39:49 <harsz89> jkeiper, i cant clone from parent
16:40:14 <harsz89> jkeiper, i try to download the zip but it not succeed and had a error
16:40:20 <jkeiper> harsz89: to clone the parent, you must essentially create an exact duplicate of the parent db ... there are tutorials / howtos online
16:40:24 <jkeiper> harsz89: what is the error?
16:41:19 <harsz89> jkeiper, i drop a mail on topic Need to have some clarifications about Sync module setup
16:41:35 <harsz89> jkeiper, there i mention a the error
16:42:26 <jkeiper> harsz89: which howto did you follow?
16:43:35 <harsz89> harsz89, i follow the sync module pages
16:43:47 <harsz89> jkeiper, is there any blog or something
16:43:49 <harsz89> jkeiper, ?
16:45:22 <jkeiper> harsz89: https://wiki.openmrs.org/display/docs/Sync+Module+Parent+Server+Setup and https://wiki.openmrs.org/display/docs/Sync+Module+Child+Server+Setup
16:45:25 <harsz89> jkeiper, it's wiki pages
16:45:49 <harsz89> jkeiper, yeah those are tha pages i followed
16:46:15 <harsz89> jkeiper, adding parent and child succeed
16:46:18 <jkeiper> harsz89: okay, then your email will probably be answered. i would expect a response tonight (USA time zones) or tomorrow
16:46:42 <harsz89> jkeiper, thank you jkeiper
16:46:49 *** dmulindwa has quit IRC
16:46:55 <jkeiper> harsz89: no problem. make sure you sent it to dev@openmrs.org
16:47:13 <jkeiper> harsz89: and/or implementers@openmrs.org
16:47:20 <jkeiper> harsz89: there are users and developers on both that can help
16:47:34 <jkeiper> harsz89: unfortunately, I have not worked with it enough to help
16:47:40 <harsz89> jkeiper, ah okey i only send to dev
16:47:48 <harsz89> jkeiper, i'll do that
16:48:01 <jkeiper> harsz89: good luck :-)
16:48:10 <harsz89> jkeiper, it's okey thank you soo much for the help i'm new to openMRS
16:48:21 <jkeiper> harsz89: welcome :-)
16:48:31 <harsz89> jkeiper, worked with some modules and sync seems to be interesting
16:48:35 <harsz89> jkeiper, :D
16:48:51 <harsz89> jkeiper, thank you :)
16:50:46 <jkeiper> harsz89: it is very interesting, but also very tricky :-D
16:50:52 <jkeiper> harsz89: so is reporting! ;-)
16:51:26 <harsz89> jkeiper, yeah that's tricky i love to understand how it syncing :)
16:51:44 <harsz89> jkeiper, i read a bit :)
16:52:58 <harsz89> harsz89, several days i try to setup the sync :D no luck
16:53:31 <harsz89> jkeiper, may be i'm doing something wrong
16:53:52 <harsz89> jkeiper, :)
16:54:30 <harsz89> jkeiper, thanks jkeiper i'll try more
16:54:41 <jkeiper> harsz89: again, good luck.
16:55:52 <harsz89> jkeiper, thank you :D
17:15:58 *** dkayiwa has joined #openmrs
17:33:37 *** robbyoconnor has joined #openmrs
17:33:37 *** ChanServ sets mode: +v robbyoconnor
17:47:00 *** Anuruddha_ has quit IRC
18:31:17 *** r0bby has joined #openmrs
18:31:17 *** ChanServ sets mode: +v r0bby
18:31:21 *** robbyoconnor has quit IRC
18:31:30 *** r0bby is now known as robbyoconnor
18:43:06 *** robbyoconnor has quit IRC
18:45:42 *** r0bby has joined #openmrs
18:45:45 *** ChanServ sets mode: +v r0bby
18:46:39 *** harshadura has joined #openmrs
18:50:53 *** r0bby has quit IRC
18:57:49 *** sara has quit IRC
19:08:04 *** dkayiwa has quit IRC
19:08:49 *** dkayiwa has joined #openmrs
19:34:55 *** robbyoconnor has joined #openmrs
19:34:55 *** ChanServ sets mode: +v robbyoconnor
19:48:30 *** harsz89 has quit IRC
20:24:43 <k-joseph> dkayiwa: hi
20:24:51 <dkayiwa> k-joseph: hi
20:25:40 <k-joseph> dkayiwa: i have some problem reproducing FORM-138
20:25:55 <dkayiwa> !ticket FORM-138
20:25:56 <OpenMRSBot> dkayiwa: [#FORM-138] Stop ProcessFormEntryQueueTask on shutdown - OpenMRS JIRA - https://tickets.openmrs.org/browse/FORM-138
20:28:32 <dkayiwa> k-joseph: in FormEntryActivator, make sure you stop ProcessFormEntryQueueTask
20:28:52 <dkayiwa> k-joseph: does that make what you are supposed to do clearer?
20:29:20 <k-joseph> dkayiwa: am trying that out,
20:29:26 <dkayiwa> k-joseph: ok
20:29:33 <k-joseph> it makes sense
20:29:39 <dkayiwa> k-joseph: ok good
20:32:30 *** portablejim has joined #openmrs
20:45:42 *** k-joseph has quit IRC
20:47:05 *** k-joseph has joined #openmrs
20:48:15 <k-joseph> dkayiwa: hi
20:48:23 <dkayiwa> k-joseph: hi
20:50:47 <k-joseph> dkayiwa: in FormEntryActivator, i don't see how to stop ProcessFormEntryQueueTask, did you mean the java file, and if so, how?
20:51:40 <dkayiwa> k-joseph: have you looked at the ProcessFormEntryQueueTask class?
20:52:25 <k-joseph> dkayiwa: am checking that out
20:52:48 <dkayiwa> k-joseph: so you mean you had not checked it already?
20:53:26 <k-joseph> i had checked FormEntryActivator
20:53:56 <dkayiwa> k-joseph: and you never bothered to check ProcessFormEntryQueueTask?
21:00:00 *** k-joseph has quit IRC
22:47:53 *** h3llborn has joined #openmrs
23:40:37 *** jb360 has joined #openmrs
23:43:40 *** dkayiwa has quit IRC
23:56:22 *** h3llborn has quit IRC