Wiki Spaces


Get Help from Others

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

IRC Logs

Child pages
  • 2009-03-12 - OpenMRS
Skip to end of metadata
Go to start of metadata
00:13:40 *** atomicturtle has joined #openmrs
01:45:29 *** Echidna has quit IRC
01:48:31 *** Echidna_ has joined #openmrs
01:50:29 *** Echidna has joined #openmrs
02:05:36 *** Echidna has quit IRC
02:43:34 *** upul has joined #openmrs
05:14:11 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1328 (task created): Bug with double entry reconciliation module <>
05:43:40 *** Keelhaul has quit IRC
06:01:56 *** jmiranda1 has joined #openmrs
06:08:42 *** jmiranda1 has left #openmrs
07:48:34 *** atomicturtle has left #openmrs
12:22:32 *** james_regen has joined #openmrs
12:22:32 *** ChanServ sets mode: +v james_regen
12:28:02 *** james_k has joined #openmrs
12:28:22 *** james_k has quit IRC
12:32:03 *** bwolfe has joined #openmrs
12:32:03 *** ChanServ sets mode: +o bwolfe
12:51:32 *** upul has quit IRC
14:18:17 *** bwolfe_ has joined #openmrs
14:18:17 *** ChanServ sets mode: +o bwolfe_
14:18:20 *** bwolfe has quit IRC
14:18:21 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7105]: gmapsimageviewer update to the new openmrs core api (sorry for forgetting … <> || OpenMRS Changesets: Changeset [7104]: adaptations for the new openmrs core api <>
14:44:33 *** Phantal- has joined #openmrs
14:44:42 <Phantal-> jmiranda, is muddy here?
14:47:08 <bwolfe_> muddy?
14:48:48 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7106]: in patientmatching module, updated analysis that finds links between … <>
14:52:22 <jmiranda> hey Phantal-
14:52:29 <jmiranda> i'm not sure
14:52:34 <jmiranda> did he contact you?
14:55:19 <Phantal-> ya, he invited me to a google group with you re:openmrs
15:08:31 <jmiranda> yeah
15:08:54 <jmiranda> Phantal-, have you ever seen him on IRC?
16:09:59 *** ajuonline has joined #openmrs
16:20:24 *** bwolfe__ has joined #openmrs
16:22:25 *** bwolfe_ has quit IRC
16:55:50 *** r0bby|mibbit has joined #openmrs
16:55:56 <r0bby|mibbit> HAI!!!
16:55:57 <r0bby|mibbit> :D
16:58:23 * ajuonline puts cold water on r0bby|mibbit
16:59:14 * r0bby|mibbit happy
16:59:27 <r0bby|mibbit> WHOA
16:59:30 <r0bby|mibbit> ajay?
16:59:45 <r0bby|mibbit> you're doing openmrs this year potentially?
17:00:19 <r0bby|mibbit> :-)
17:00:31 <r0bby|mibbit> I love this project :)
17:00:47 <ajuonline> r0bby|mibbit: i am considering. yes :)
17:01:01 <ajuonline> I have talked on HFOSS, and OpenMRS at the last event I gave a talk on. :D
17:01:41 <r0bby|mibbit> =)
17:01:50 <r0bby|mibbit> I may mentor this year
17:02:01 <ajuonline> nice.
17:02:10 <r0bby|mibbit> potentially... I'm not holding my breath for the student acceptance
17:02:14 <ajuonline> i got invite for the internships this summer.
17:02:23 <r0bby|mibbit> :))))
17:02:26 <ajuonline> but..... then they said, they cant take in internaiontal students!
17:02:27 <r0bby|mibbit> AWESOME!
17:02:35 <r0bby|mibbit> wtf!
17:02:37 <ajuonline> due to federal fundings, etc tec
17:02:39 <ajuonline> whatever!
17:02:43 <r0bby|mibbit> jesus
17:03:02 <ajuonline> le sigh
17:03:03 <ajuonline> :D
17:03:14 <ajuonline> but I might mentor for them, remotely.
17:03:19 <ajuonline> for Sahana of course.
17:03:21 <r0bby|mibbit> =)
17:03:53 <ajuonline> but, I need a paying job, so decided to apply gsoc as a student :D
17:04:07 <r0bby|mibbit> yeh
17:04:17 <r0bby|mibbit> I'd rather be a student peronally =(
17:04:29 <r0bby|mibbit> but I have the whole problem of an incomplete project
17:05:10 <ajuonline> you were not able to complete it?
17:06:44 <r0bby|mibbit> I had problems
17:07:23 <r0bby|mibbit> then my uncle died and i lost the final week then i figure i'd do it on my own time table and then soc came around and I decided to do it again :-/
17:07:37 <r0bby|mibbit> now i have the whole thing that im undesirable now :/
17:07:56 <r0bby|mibbit> I'm harder on myself than anybody else can be
17:10:32 <ajuonline> yeah i know about that
17:11:04 <ajuonline> r0bby|mibbit: take it easy :)
17:13:04 <r0bby|mibbit> meh
17:13:15 <r0bby|mibbit> Im gonna start working this weekend
17:13:47 <r0bby|mibbit> I have a problem which i can't seem to fix
17:18:42 *** r0bby|mibbit has left #openmrs
17:22:14 <flyankur> hey ajay !
17:22:16 <flyankur> hi
17:22:43 <ajuonline> hi flyankur
17:23:29 <flyankur> remember me !
17:23:38 <ajuonline> yeah, :)
17:24:54 <flyankur> beleted happy bday :) just read while crawling thru archive :)
17:25:53 *** bwolfe__ is now known as bwolfe
17:25:54 *** ChanServ sets mode: +o bwolfe
17:30:42 *** Echidna has joined #openmrs
17:32:45 <ajuonline> flyankur: thank you :)
17:32:57 <ajuonline> flyankur: what archives?
17:35:19 *** Echidna_ has quit IRC
17:36:52 <bwolfe> !irclogs
17:36:52 <OpenMRSBot> bwolfe: "irclogs" --- The OpenMRS IRC logs are publicly displayed online:
17:39:31 <flyankur> ajuonline: openmrs irc logs
17:39:55 <ajuonline> flyankur: dude, this is the first time i am coming to this channel! :/
17:40:04 <flyankur> ajuonline: So you applying for openmrs this yr :)
17:40:38 <ajuonline> flyankur: maybe, yes.
17:40:43 <flyankur> ajuonline: cool
17:41:36 <flyankur> ajuonline: hows porting sahana to python going !
17:42:47 <ajuonline> flyankur: slow, but well. less developers, we need *more* :)
17:44:12 <flyankur> i think , i can get sahana more developer !
17:45:10 <ajuonline> flyankur: kool, send them all to #sahana :)
17:45:43 <flyankur> ajuonline: In our recent lug meetup , I saw many 1st and 2nd yr students coming up as good developers.
17:45:59 <flyankur> ya !! i would sure do that
17:50:53 *** Keelhaul has joined #openmrs
17:50:53 *** ChanServ sets mode: +v Keelhaul
17:51:15 <Keelhaul> hi
18:20:08 <flyankur> hi
18:39:13 <Keelhaul> is anyone an eclipse expert?
18:39:28 <Keelhaul> i messed up some of the editor coloring and cant change it back
18:40:12 <bwolfe> that sucks
18:40:37 <bwolfe> I accididentially validated our web pages in one of my projects and now I have a permanent red x on /web :-/
18:40:39 <bwolfe> so I feel your pain
18:41:04 <Keelhaul> =/
18:43:06 <Keelhaul>
18:43:43 <Keelhaul> maybe you can give me a hint on what that might be called
18:43:53 <Keelhaul> the area around the code
18:44:48 <Keelhaul> argh
18:44:55 <Keelhaul> and tab now produces a single space
18:45:00 <Keelhaul> this is unacceptable
18:45:19 <bwolfe> heh
18:45:44 <Keelhaul> ah i found it
18:45:51 <Keelhaul> it's in the web/html editor settings
18:45:59 <Keelhaul> not jsp
18:47:10 <Keelhaul> bwolfe: i'm trying to port the AOP data filtering to the new Location hieararchy based version of my module
18:47:37 <Keelhaul> so i need to check all child locations of locations mapped to the user, since i assume all child locations are accessible if parent location is
18:47:59 <Keelhaul> i need to find the fastest way to do so
18:48:08 <Keelhaul> since it happens on every service call
18:48:36 <Keelhaul> i dont wanna map all child locations to the user via db
18:48:38 <Keelhaul> that'd be messy
18:49:39 <Keelhaul> right now, every aop class fetches a UserMap object from the db, then calls a method that recursively returns all mapped locations including all children in a single set
18:49:45 <Keelhaul> and then uses that set for any comparisons
18:54:01 *** Ankur_ has joined #openmrs
18:56:08 <bwolfe> Keelhaul: why not cache the mappings to an object in memory and update that cache with some aop around saveUser() or saveLocation()
18:57:11 <Keelhaul> bwolfe: never done that before
18:58:24 <Keelhaul> sounds nice if i knew how to do it heh
18:58:38 <Keelhaul> only updates on UseMap itself can change that dataset
18:58:54 <Keelhaul> i tried not to touch User
18:59:07 <Keelhaul> however, i might need an extension point in userForm
18:59:15 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1314 (task closed): Change tinyint and bit columns to tinyint(1) <> || OpenMRS Changesets: Changeset [7107]: Normalized all boolean columns to tinyint(1) - #1314 Author: vanand <>
18:59:50 *** flyankur has quit IRC
19:12:39 <bwolfe> Keelhaul: if you need an extension point just create a ticket with a patch and it can get in there
19:13:40 <Keelhaul> ok
19:17:03 *** Ankur_ is now known as flyankur
19:31:19 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1314 (task reopened): Change tinyint and bit columns to tinyint(1) <> || OpenMRS Changesets: Changeset [7108]: Reverting changes done in [7107] <>
19:52:53 <flyankur> hey Keelhaul
19:53:06 <Keelhaul> hi
19:54:01 <flyankur> Keelhaul: what version of eclipse you are on !!
19:54:27 <Keelhaul> the latest ganymede
19:54:36 <Keelhaul> 3.4.2
19:54:39 <Keelhaul> win32
19:56:39 <flyankur> the problem with coloring is, the color of fonts in code .. right ?
19:56:53 <Keelhaul> yea
19:56:58 <Keelhaul> apparently it has a setting for each type of code
19:57:03 <Keelhaul> hard to find
19:57:04 <Keelhaul> but i fixed it
19:57:13 <flyankur> you can go to workbench > color and font
19:57:15 <Keelhaul> never again shall i load other people's theme files
19:57:21 <flyankur> hehe
19:57:42 <flyankur> you can make your own
20:00:11 <Keelhaul> yea, but it's tedious
20:01:13 <flyankur> yea right .. a Bit !! but i found it worth it, in long term. :)
20:01:18 <Keelhaul> bwolfe: do the object name in formBackingObject and the cmd object name in applicationContext bean have to be the same?
20:01:25 <Keelhaul> well
20:01:30 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7109]: openmrs-logic: reverted change for ticket 1314 - tinyint(1) datatype <> || OpenMRS Tickets: Ticket #1329 (enhancement created): Form Entry Module should allow you to NOT automatically load all users in the taskpane <>
20:01:32 <bwolfe> no
20:01:34 <Keelhaul> i'm used to a white background when coding
20:01:40 <Keelhaul> bwolfe: thy
20:01:42 <Keelhaul> x*
20:02:02 <Keelhaul> bwolfe: the cmd object name is the one used in the jsp then?
20:02:34 <Keelhaul> flyankur: also, there's no way to change the colors of all other panels, package explorer etc. it's quite ugly if only the editor has a dark bg
20:02:53 <bwolfe> correct
20:03:32 <Keelhaul> nice, maybe i could use the same controller for all types then
20:04:28 <flyankur> Keelhaul: I have got a very bad habbit , toggle between fullscreen and normal . Every around picsme out for it ! but I love Black
20:04:51 <Keelhaul> i have a black bg in mirc
20:05:00 <Keelhaul> for some reason white annoys me here
20:05:08 <Keelhaul> but not in code, i guess that's a matter of habit
20:05:11 <flyankur> Keelhaul: hmm colorfull .. isnt it
20:05:31 <flyankur> Keelhaul: exactly !
20:05:39 <flyankur> Keelhaul: habbit..
20:06:04 <Keelhaul> habit :eng101:
20:06:05 <Keelhaul> =P
20:07:42 <flyankur> sorry :P
20:16:19 *** mkulumadzi has joined #openmrs
20:24:10 <Keelhaul> Total Free: 1485.56 GB/2318.68 GB
20:24:12 <Keelhaul> >=D
20:30:20 *** james_regen has quit IRC
20:32:02 <bwolfe> Keelhaul: you're running log
20:32:04 <bwolfe> *low
20:32:07 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1329 (enhancement closed): Form Entry Module should allow you to NOT automatically load all users in the taskpane <> || OpenMRS Changesets: Changeset [7110]: formentry module - fixing #1329 - Form Entry Module should allow you to … <>
20:32:20 <Keelhaul> =P
20:40:52 * r0bby uses putty and it's black
20:40:57 <r0bby> I like dark colors
20:49:45 <Keelhaul> it#
20:50:01 <Keelhaul> it's nice to see people work on a global way to map concepts
20:57:10 <bwolfe> Keelhaul: what have you been doing for that ?
20:57:27 <Keelhaul> global props
20:57:38 <Keelhaul> for one of the modules, i even made a selector menu but it doesnt save =/
20:58:02 <Keelhaul> it has a Map<String, Concept> in a jsp form
20:58:07 <Keelhaul> but i cant get it to save selected concepts
20:58:41 <Keelhaul> it's a map for the reason that if i want to add a new mapping, i only have to code at one spot
21:03:28 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: Form Entry 3.6.3 uploaded to OpenMRS Module Repository <>
21:07:21 * r0bby sighs
21:08:21 <Keelhaul> r0bby: strong sad?
21:09:40 <r0bby> idea is pissing me off
21:21:42 <r0bby> thank god
21:21:53 <r0bby> I disabled user account controls in vista
21:21:59 <r0bby> worst 'feature' ever.
21:22:13 <r0bby> wtg MS
21:22:20 <r0bby> assume your users are complete idiots
21:28:52 <Keelhaul> well they're not just to check on users
21:29:04 <Keelhaul> they prevent execution of privileged code
21:29:15 <Keelhaul> like only a linux root can
21:29:19 <Keelhaul> but the rest is pretty annoying
21:29:37 <Keelhaul> there was a third party tool that leaves UAC enabled while disabling all those prompts
21:29:43 <Keelhaul> but it stopped working after sp1 =/
21:34:55 <r0bby> i'm gonna install Windows 7
21:35:09 <r0bby> I got a free beta license through my ACM membership
21:35:32 <Keelhaul> yea but why bother with a beta OS
21:38:01 <Keelhaul> Capacity: [Bed, Bed, Bed, Bed]
21:38:02 <Keelhaul> lol
21:38:05 <Keelhaul> forgot .size()
21:38:43 <r0bby> Keelhaul: shrug
21:38:51 <r0bby> can't be worse than vista
21:38:55 <Keelhaul> yes it can
21:38:57 <Keelhaul> it's beta
21:38:57 <Keelhaul> =)
21:39:18 <r0bby> yeh but it fixes the god damn UAC crap
21:39:57 <r0bby> I want my god damn remote desktop back :|
21:41:04 <Keelhaul> there is remote desktop
21:47:34 <r0bby> mmmm
21:47:39 <r0bby> I shall use windows 7 then
21:48:36 <Keelhaul> dinner, bbl
22:28:06 <flyankur> r0bby: You wont return back from Windows 7 .. its awesome. !!
22:28:38 *** ewaters1982 has joined #openmrs
22:28:42 *** ewaters1982 has quit IRC
22:29:50 <flyankur> r0bby: Try realVNC for remote desktop.. its like windows 7 to xp :)
22:37:35 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [7112]: Creating ant installer directory for b-i <> || OpenMRS Changesets: Changeset [7111]: Cleared out some api compilation warnings Added unit tests for Concept … <>
22:47:23 *** meonkeys has joined #openmrs
22:48:24 *** bwolfe has quit IRC
22:56:44 *** mkulumadzi has quit IRC
22:59:16 <meonkeys> just noticed "growlnotify" in your build.xml... that's handy!
23:00:14 <meonkeys> the Ubuntu equivalent might be "notify-send"... at least, that's what I use to get notifications in GNOME when someone pings me over IRC.
23:00:43 <jmiranda> yeah, never actually seen it working
23:01:00 <jmiranda> i'll have to try that out
23:01:36 <meonkeys> here's an example:
23:08:47 <meonkeys> I just ran "ant junit-report" (in top-level dir of trunk checkout, r7112). Did that actually run all the OpenMRS unit tests?
23:11:26 <jmiranda> if it ran in less than one minute, i assume not
23:11:27 <jmiranda> let me check
23:14:02 <jmiranda> yeah, it does
23:15:57 <meonkeys> nice! I'm jealous. :)
23:18:25 <jmiranda> yeah, it's pretty sweet. ben also set up a continuous integration site (
23:18:32 <jmiranda> i saw that you guys are using hudson
23:18:36 <jmiranda> how do you like that?
23:26:17 <Keelhaul> whats ci
23:28:13 <jmiranda> just stands for continuous integration
23:28:19 <Keelhaul> oh
23:29:59 <jmiranda> it's a way to run tests continuously to make sure commits don't break the code
23:34:17 <Keelhaul> jmiranda: so basically, updating from trunk often?
23:36:30 <jmiranda> and from some branches
23:36:55 <jmiranda> like 1.4.x and 1.3.x to make sure previous releases still build
23:37:39 <jmiranda> so the CI app will automatically download source, compile, and run tests
23:37:58 <jmiranda> if it finds an error, it sends an email to dev, IRC gets a notification message
23:38:23 <Keelhaul> yea, i saw some of those mails
23:38:25 <Keelhaul> quite nice
23:38:58 <Keelhaul> although, that approach assumes there are unit tests =P
23:39:09 <jmiranda> exactly
23:39:15 <jmiranda> that's the loophole
23:40:32 <jmiranda> someone should add a bunch of empty unit tests for all of the methods that aren't covered
23:40:43 <jmiranda> and watch as we scramble to fix 'em all
23:40:52 <jmiranda> that would be fun for a weekend sprint
23:41:41 <Keelhaul> yea
23:41:45 <Keelhaul> "someone"
23:41:57 <jmiranda> fun's probably not the right word there
23:42:05 <Keelhaul> i dont even get around to write tests for my modules =/
23:42:22 <jmiranda> maybe "sick"
23:42:33 <jmiranda> i know, it's difficult to get into it
23:42:37 <jmiranda> i have trouble myself
23:42:47 <jmiranda> but if you write the junit tests first, it makes it easier
23:43:29 <Keelhaul> it happens to me often that i change the in/output of methods on the fly because i see a better way while writing them
23:43:32 <jmiranda> one of the more useful things that i learned recently was to think of tests from a behavior perspective
23:43:37 <Keelhaul> so i cant write the tests prior
23:44:01 <jmiranda> for instance, take PatientService.savePatient()
23:44:20 <jmiranda> most people would write the test as
23:44:23 <jmiranda> testSavePatient()
23:44:46 <jmiranda> but that's not all that helpful in describing what you're going to test
23:44:57 <jmiranda> so you should say "what should savePatient do?"
23:45:10 <Keelhaul> arent all tests called "shouldBlaBlup"
23:45:15 <Keelhaul> now
23:45:16 <jmiranda> yeah
23:45:19 <jmiranda> now they are
23:45:27 <jmiranda> we started off with the test* paradigm
23:45:35 <jmiranda> and it was difficult to write them
23:45:42 <jmiranda> now we use should and it's so easy
23:45:51 <Keelhaul> and you're supposed to put @should annotations to your methods
23:45:51 <jmiranda> but i still don't write enough of them
23:45:53 <jmiranda> :)
23:45:57 <jmiranda> yeah
23:46:07 <Keelhaul> although looking at some of those, i wouldnt want test method names generated from those
23:46:08 <Keelhaul> too long heh
23:46:20 <jmiranda> i know
23:46:26 <Keelhaul> it's easier now but there are way more
23:46:37 <Keelhaul> because every aspect of behavior needs its own test
23:47:17 <jmiranda> i know
23:47:40 <jmiranda> most methods could have 5 - 10 tests if we tested every single behavior
23:47:46 <jmiranda> the code coverage is still pretty low
23:48:01 <jmiranda> but we're getting there
23:48:35 <Keelhaul> isnt there an eclipse plugin for that
23:48:47 <Keelhaul> it checks how much code is covered it tests
23:49:13 <jmiranda> yeah, i forgot the name of it
23:51:31 <Keelhaul> eclemma
23:52:05 <jmiranda> yeah, that's it
23:52:14 <jmiranda> we used that to do the initial analysis
23:52:25 <jmiranda> not sure if we've run it since
23:53:23 <jmiranda> alright, i think i'm going to take a break
23:53:37 <Keelhaul> still at work?
23:53:45 <jmiranda> yeah
23:53:56 <Keelhaul> brb, forgot my pepsi in the car
23:54:03 <Keelhaul> and then i have to reinstall windows, new hdd =/
23:54:33 <jmiranda> that's fun
23:54:42 <Keelhaul> not rly =/
23:54:45 <jmiranda> why not try ubuntu
23:54:46 <Keelhaul> setting everything up again
23:54:53 <Keelhaul> i dont like multi booting
23:54:57 <Keelhaul> and i need my games =)
23:56:28 <jmiranda> :) fair enough
23:56:38 <jmiranda> see you later
23:57:36 <Keelhaul> maybe i can run ubuntu on a virtual machine or smt
23:57:38 <Keelhaul> never tried it
  • No labels