IRC Chat : 2008-04-10 - OpenMRS

00:07:54 *** njero has quit IRC
00:08:34 *** njero has joined #openmrs
00:08:35 *** ChanServ sets mode: +v njero
00:18:25 *** docpaul has quit IRC
00:40:20 *** njero has quit IRC
00:42:22 *** njero has joined #openmrs
00:42:23 *** ChanServ sets mode: +v njero
01:05:55 *** [OmegentooX] has joined #openmrs
01:06:06 *** ChanServ sets mode: +v [OmegentooX]
01:48:50 *** TorLye has joined #openmrs
02:01:26 *** [0megentooX] has joined #openmrs
02:01:36 *** [OmegentooX] has quit IRC
02:03:03 *** upul has quit IRC
02:04:47 *** nribeka has quit IRC
02:04:55 *** upul has joined #openmrs
02:59:16 *** upul has quit IRC
03:02:09 *** upul has joined #openmrs
04:34:10 *** TorLye has quit IRC
04:42:02 *** upul has quit IRC
05:03:13 *** Keelhaul has quit IRC
05:08:27 *** elad has quit IRC
05:15:19 *** sunbiz has joined #openmrs
05:15:27 <sunbiz> hi guys!!
05:15:59 <sunbiz> not many people on the channel today ??
05:17:25 <sunbiz> just finished my theory exams... so I thought I'd do something interesting on OpenMRS ??...
05:23:53 <sunbiz> I guess I'll come back when everyonez awake!!
05:23:55 *** sunbiz has left #openmrs
06:27:15 *** bwolfe has joined #openmrs
06:27:15 *** ChanServ sets mode: +o bwolfe
06:44:42 <bwolfe> shadowdoc: Marc!
06:44:55 *** bwolfe sets mode: +v shadowdoc
06:45:14 <bwolfe> how goes things? What brings you to irc?
07:11:41 *** nribeka has joined #openmrs
07:11:46 *** bmckown has joined #openmrs
07:11:46 *** ChanServ sets mode: +o bmckown
07:11:54 *** masonf_ has left #openmrs
07:17:20 *** TorLye has joined #openmrs
07:19:33 *** Keelhaul has joined #openmrs
07:19:33 *** ChanServ sets mode: +v Keelhaul
07:21:41 *** Keelhaul has quit IRC
07:36:04 *** [0megentooX] is now known as [OmegentooX]
07:36:08 *** ChanServ sets mode: +v [OmegentooX]
07:47:38 *** docpaul has joined #openmrs
07:47:38 *** ChanServ sets mode: +o docpaul
07:48:32 *** docpaul has quit IRC
07:55:10 *** udai has joined #openmrs
08:00:21 *** atomicturtle has quit IRC
08:06:24 *** burke_away has joined #openmrs
08:06:24 *** ChanServ sets mode: +o burke_away
08:10:29 *** bhanu has joined #openmrs
08:22:18 *** bhanu has quit IRC
08:25:29 *** mseaton has joined #openmrs
08:27:19 *** mseaton has quit IRC
08:27:23 *** mseaton has joined #openmrs
08:29:07 *** mseaton has left #openmrs
08:29:09 *** mseaton has joined #openmrs
08:29:23 *** mseaton has quit IRC
08:31:49 *** mseaton has joined #openmrs
08:35:06 <bwolfe> mseaton: having connection issues? :-p
08:36:45 *** jmiranda has joined #openmrs
08:37:15 *** ChanServ sets mode: +o jmiranda
08:45:56 <mseaton> :), just trying out mibbit
08:47:03 *** atomicturtle has joined #openmrs
08:49:34 *** napi has joined #openmrs
09:00:44 *** TorLye has quit IRC
09:03:17 *** jmiranda has quit IRC
09:04:02 *** HongJun has joined #OpenMRS
09:04:11 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [3890]: report-api-refactoring: adding birthdates to sample data <http://dev.openmrs.org/changeset/3890> || OpenMRS Changesets: Changeset [3889]: xformsorbeon module: Persisting an encounter properly! HIPHIPHORRAY! <http://dev.openmrs.org/changeset/3889>
09:04:57 *** HongJun has left #openmrs
09:10:02 *** upul has joined #openmrs
09:13:32 *** TorLye has joined #openmrs
09:25:58 *** sunbiz has joined #openmrs
09:28:20 <sunbiz> is anyone awake ??
09:34:50 <bwolfe> nope
09:34:53 <bwolfe> everyone is sleeping
09:34:57 <bwolfe> I am sleep typing
09:35:06 <bwolfe> sleep lurking, if you will
09:35:08 <OpenMRSBot> Recent updates in the world of openmrs: News Blog: OpenMRS 1.2.02 Released <http://blog.openmrs.org/?p=67>
09:35:21 <sunbiz> :)
09:35:43 <bwolfe> sunbiz: how did you run your java program for #188
09:36:02 <bwolfe> svn has trouble with class comments
09:36:16 <bwolfe> so I want to run it on one of the other branches before I do a merge from trunk
09:38:17 <sunbiz> just like the normal way to run java programs, compile and run... I hard coded the location as Windows specific... mayb u'll need to change that
09:38:31 <bwolfe> sunbiz: did you run your AddLicense.java from eclipse, or from command line?
09:38:40 <bwolfe> ah, I was hoping for everything within eclipse ;-)
09:38:54 <sunbiz> and the FileNameExtensionFilter is part of JDK6 only
09:40:09 <bwolfe> hmm, yeah, I have java6
09:40:43 <sunbiz> yeah... I was talking about the firefox plugin
09:40:47 <sunbiz> !ticket 175
09:40:47 <OpenMRSBot> sunbiz: Ticket #175: http://dev.openmrs.org/ticket/175
09:41:15 <bwolfe> grr javac AddLicence.java ..... java AddLicense .... gives me an "open file" dialog and then a java swing window and nothing happens
09:41:17 <sunbiz> I was half-way working on the plugin when I realized the plugin isn't needed
09:41:34 <sunbiz> yea... u select the files and then it adds license to the selected files
09:41:59 <bwolfe> ah. can I just select the main folder?
09:43:19 <sunbiz> no... I had actually initially made it recursive where it can search folders and Java files inside that
09:43:36 <sunbiz> but it was talking too long on some files... and hence I made it single file based
09:44:15 <sunbiz> actually... it was just quick one-time thing... not a well written code for all purposes :(
09:44:30 <bwolfe> yeah, thats fine
09:45:00 <sunbiz> did u try to check the checkmark when it asks in Firefox ??
09:45:06 <bwolfe> the firefox plugin is needed because that "always do this" preference in firefox doesn't seem to work.
09:45:36 <sunbiz> it seems to be working with Firefox 2 and Firefox 3 for me !??
09:45:38 <bwolfe> I think there is a second check that firefox does and since we're selecting "open" on an extension that firefox doesn't know or like, it still gives that popup
09:45:44 <sunbiz> wait... lemme tell you the steps...
09:45:56 <bwolfe> sunbiz: are you choosing "open" automatically, or "save" automatically ?
09:46:06 <bwolfe> ...and it has to be on the forms that users download
09:46:14 <sunbiz> save automatically
09:46:19 <bwolfe> (patient dashboard --> forms tab --> choose a form and open it with infopath)
09:46:23 <bwolfe> sunbiz: yeah, works for save
09:46:33 <bwolfe> sunbiz: we want it to work for open :-)
09:46:37 <bwolfe> (hence the plugin)
09:46:47 <bwolfe> I haven't tried ff3...maybe they fixed it ?
09:47:25 <sunbiz> ok... so we want to open it directly with InfoPath right ??
09:50:55 <sunbiz> bwolfe: arent we doing this: http://demo.openmrs.org/openmrs/admin/forms/formEdit.form?formId=16 and then clicking "Download XSN" ??
09:50:56 <OpenMRSBot> <http://ln-s.net/1ni9> (at demo.openmrs.org)
09:51:54 <bwolfe> sunbiz: no, thats a different action. the "download xsn" should /always/ be saved. because you never want to open that file directly. that file you always want to right click on (after saved) and choose "design in infopath".
09:52:24 <bwolfe> we want to give our data enterers one less click...that means not having to click "open" after clicking on a form
09:52:51 <sunbiz> bwolfe: yea... so this one should save (to Firefox's default location) without showing the dialog right ??
09:52:57 <bwolfe> the data enterers only see the patient dashboard (the screen after searching/finding/choosing a patient)
09:53:45 <bwolfe> sunbiz: no, that would should probably just stay as is. because some admins will want to save to the same place, some will want to save to different, etc....ff handles that properly now
09:55:50 <sunbiz> ok...
09:56:58 <sunbiz> bwolfe: is this the place ?? ==> http://demo.openmrs.org/openmrs/patientDashboard.form?patientId=5689&phrase=and
09:56:59 <OpenMRSBot> <http://ln-s.net/1niH> (at demo.openmrs.org)
09:57:25 <bwolfe> yeah
09:59:52 <sunbiz> So when I click on a form from the ones below... the dialog that comes up, should actually no come... and instead it should open InfoPath ?? is that correct ???
10:00:03 <sunbiz> *not
10:02:00 <sunbiz> bwolfe: those files have an extension "infopathxml" ... is that correct ??
10:02:22 <bwolfe> sunbiz: right
10:02:28 <bwolfe> sunbiz: and right
10:03:56 *** rmalla has joined #openmrs
10:04:22 <rmalla> bwolfe: good morning ben
10:04:45 <bwolfe> hey ratnakar
10:05:27 <bwolfe> sunbiz: fyi, I can run that AddLicense.java from eclipse. I had forgotten to create the project as a "java" project
10:05:55 *** njero has quit IRC
10:06:23 <sunbiz> :P
10:07:05 <sunbiz> bwolfe: why do we have to register separately for the wiki and the trac ???
10:07:55 <bwolfe> sunbiz: because we haven't linked mediawiki and trac to the same authentication scheme yet
10:08:08 <bwolfe> sunbiz: we need to install some sort of CAS on the website, but we just haven't gotten around to it :-/
10:09:13 <rmalla> bwolfe: I am having problem configuring hibernate with our mrngen module
10:09:34 <sunbiz> bwolfe: So u want infopathxml files to be associated with InfoPath with that plugin ?? and Im targetting >Firefox 1.5... is that ok ??
10:10:38 <bwolfe> sunbiz: 2.0 would be preferred...did they change much between the two?
10:10:53 <bwolfe> rmalla: how do you mean? can you pastebin.com your error message ?
10:11:46 <rmalla> bwolfe: sure , actually it might me configuration issue, I get a sessionFactory object as NULL
10:12:13 <rmalla> bwolfe: DO we need to configure sessionFactory for the mrngen module?
10:12:15 <bwolfe> rmalla: ah yes. have you set up the applicationContext.xml file ?
10:12:33 <bwolfe> rmalla: did you create your own service int he mrngen module?
10:13:02 <sunbiz> yes... <Firefox 1.5 has a diffferent architecture for plugins
10:13:13 <rmalla> bwolfe: so do i need to set up a transaction manager?
10:13:59 <bwolfe> sunbiz: thats unfortunate. however, 2.0 has been how for quite a while now. I think most people are using that.
10:14:13 <bwolfe> rmalla: yeah, you pretty much have to just copy that whole applicationContext.xml example
10:14:15 <bwolfe> !modules
10:14:15 <OpenMRSBot> bwolfe: Error: "modules" is not a valid command.
10:14:31 <bwolfe> !learn modules as http://openmrs.org/wiki/Modules
10:14:31 <OpenMRSBot> bwolfe: The operation succeeded.
10:14:33 <bwolfe> !modules
10:14:33 <OpenMRSBot> bwolfe: "modules" --- http://openmrs.org/wiki/Modules
10:14:40 <bwolfe> its linked to from the modules page
10:14:55 <rmalla> ok will take a look at it
10:29:31 *** rmalla has left #openmrs
10:49:56 *** jmiranda has joined #openmrs
10:50:46 *** ChanServ sets mode: +o jmiranda
11:07:19 *** TorLye has quit IRC
11:08:00 *** nribeka has quit IRC
11:27:06 *** njero has joined #openmrs
11:27:06 *** ChanServ sets mode: +v njero
11:35:59 *** njero has quit IRC
11:40:19 *** upul has quit IRC
11:51:35 *** eray has joined #openmrs
12:03:19 *** eray has quit IRC
12:10:23 *** TorLye has joined #openmrs
12:31:53 *** Wiss has joined #openmrs
12:33:34 <sunbiz> bwolfe: Silly question: any idea how InfoPath is used on non-windows machines say Linux, Mac ??
12:33:59 <sunbiz> or do OpenMRS implementers even use non-windows for InfoPath designs??
12:46:20 <sunbiz> bwolfe: u there ???
12:46:35 * sunbiz nudges bwolfe
12:51:39 *** openmrs_4066 has joined #openmrs
12:53:25 *** openmrs_4066 has quit IRC
12:53:52 *** openmrs_4066 has joined #openmrs
13:00:41 *** openmrs_4066 has quit IRC
13:05:04 <jmiranda> hey sunbiz
13:08:14 <jmiranda> sunbiz: from a server standpoint, we've been able to serve infopath forms on windows, mac, linux
13:08:57 <jmiranda> but we're currently only able to use the infopath client for windows on the client side
13:09:31 <jmiranda> the way most people get around that limitation with mac is to use something like parallels
13:10:55 <jmiranda> last summer [OmegentooX] worked on an Open Office alternative to InfoPath
13:11:21 <jmiranda> i believe we ran into a few issues towards the end of the summer that halted the progress of that project
13:11:26 <sunbiz> jmiranda: I was talking about editing the forms that we now do with InfoPath...
13:11:36 <jmiranda> desiging
13:11:44 <jmiranda> designing ... got it
13:11:52 <sunbiz> yea, designing
13:12:37 <jmiranda> for now, yeah, a windows machine (or dual-boot, parallels, etc) is the only solution
13:15:06 <sunbiz> ok
13:23:53 <napi> hello all
13:23:59 <napi> woo been a while since i've been here
13:25:16 <[OmegentooX]> jmiranda, any idea what's going on with an XForms designer? Is that in the xformsorbean module?
13:25:41 <bwolfe> napi: been a while, yes. how was the trip?
13:25:49 <napi> very good thanks
13:26:00 <napi> nice relaxing break from work- back into the full slog of the dissertation though (hence my absence here)
13:26:01 <bwolfe> sunbiz: looks like jmiranda answered your questions :-)
13:26:19 <sunbiz> yea
13:26:20 <napi> hows life treating everyone here?
13:26:40 <sunbiz> bwolfe: so I have to call InfoPath only in Windows :)
13:27:31 <bwolfe> sunbiz: yeah, you have to do the designing and filling out the form in windows. after designing, you can upload to a linux server and serve the files out that way if need be though
13:28:22 <bwolfe> brb
13:28:28 *** bwolfe has quit IRC
13:28:47 *** sunbiz has left #openmrs
13:29:02 *** mseaton has quit IRC
13:35:52 *** ekrub has joined #openmrs
13:35:52 *** ChanServ sets mode: +o ekrub
13:36:54 *** bwolfe has joined #openmrs
13:36:54 *** ChanServ sets mode: +o bwolfe
13:37:08 *** ekrub has quit IRC
13:37:26 *** ekrub has joined #openmrs
13:37:26 *** ChanServ sets mode: +o ekrub
13:49:22 *** pombreda has quit IRC
13:51:44 *** burke_away has quit IRC
14:00:42 *** atomicturtl1 has joined #openmrs
14:15:25 *** atomicturtle has quit IRC
14:15:32 *** udai has quit IRC
14:45:58 *** pombreda has joined #openmrs
14:45:58 *** ChanServ sets mode: +v pombreda
14:49:26 *** atomicturtl1 is now known as atomicturtle
15:12:27 *** pombreda has quit IRC
15:13:05 *** pombreda has joined #openmrs
15:13:05 *** ChanServ sets mode: +v pombreda
15:39:05 *** njero has joined #openmrs
15:39:10 *** ChanServ sets mode: +v njero
15:55:30 *** nam_gal has joined #openmrs
15:56:18 *** nam_gal has left #openmrs
15:56:50 *** sunbiz has joined #openmrs
16:00:43 *** Wiss has left #openmrs
16:06:46 <sunbiz> bwolfe: have the mentors finished with the ranking ???
16:07:00 <bwolfe> sunbiz: we've just started :-)
16:07:02 <sunbiz> I see an update time of 10th April on my application
16:07:13 <bwolfe> we have another 7 days ;-)
16:07:16 <sunbiz> ok... so I guess that tells my application has been ranked!! :)
16:07:28 <bwolfe> well, we're putting private comments on them
16:07:35 <bwolfe> we haven't actually ranked anyone yet :-p
16:07:48 <sunbiz> ok.. that explains the update on the app
16:08:36 <bwolfe> yeah, I wish it didn't tell the students about those changes
16:08:48 <bwolfe> did it email you? or did you just see a "last changed date" that was different?
16:09:10 <sunbiz> :P... no email... just the last changed date got updated
16:09:58 <sunbiz> why wouldn't u want to tell the students ??
16:10:07 <sunbiz> :o
16:10:34 <bwolfe> because we don't know how many slots we have yet
16:11:03 <sunbiz> if u dont mind ==> what does the link indicate about the expected slots ??
16:11:07 <bwolfe> if for some reason we only get 3 slots and we tell the top 10 that we've chosen them....well, thats very sad for those other 7
16:11:14 <bwolfe> what link?
16:11:14 <sunbiz> *line
16:11:27 <bwolfe> oh, our initial is 10
16:11:31 <bwolfe> but will probably go down :-/
16:11:47 <bwolfe> the number changed 3 different times last year before the ranking process was done :-p
16:11:52 <sunbiz> and how many mentors do we have ??
16:13:33 <bwolfe> not 100% sure yet. not everyone has committed
16:13:37 <bwolfe> looks like 9-10 right now
16:15:33 *** ChanServ sets mode: +v atomicturtle
16:22:03 *** njero has quit IRC
16:32:18 *** sunbiz has left #openmrs
16:52:36 *** burke_away has joined #openmrs
16:52:37 *** ChanServ sets mode: +o burke_away
16:57:54 *** shadowdoc is now known as shadowdoc_away
17:00:15 *** Wiss has joined #openmrs
17:03:36 *** TorLye has left #openmrs
17:04:13 *** bwolfe has quit IRC
17:09:07 *** ekrub has quit IRC
17:13:02 <OpenMRSBot> Recent updates in the world of openmrs: News Blog: OpenMRS at MySQL Conference next week (April 14 - 17) <http://blog.openmrs.org/?p=68>
17:13:15 *** burke_away has quit IRC
17:14:25 *** openmrs_1745 has joined #openmrs
17:17:34 * r0bby looks around
17:19:23 <jmiranda> r0bby: what do you see?
17:20:08 <r0bby> well those dead bodies are starting to come up from the ground :)
17:20:37 <jmiranda> r0bby: oooh, that's a bad sign ... i think
17:21:02 <r0bby> it's been dead in here
17:21:15 <r0bby> and i _HATE_ waiting to see if my app got accepted :<
17:22:43 <jmiranda> :)
17:23:10 <jmiranda> just enjoy the nice weather we're having
17:26:31 <jmiranda> alright, i have to take off for a few hours
17:26:44 <jmiranda> enjoy your evenings/mornings everyone
17:26:45 *** jmiranda has quit IRC
17:31:34 *** bmckown has quit IRC
17:33:12 *** TorLye has joined #openmrs
17:43:08 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #680 (defect created): try/catch inListener.getRuntimeProperties would ease an already difficult install... <http://dev.openmrs.org/ticket/680>
17:44:38 <openmrs_1745> robby > which project u submit your appication for?Just curious
17:48:47 *** burke_away has joined #openmrs
17:48:47 *** ChanServ sets mode: +o burke_away
18:05:11 *** nam_gal has joined #openmrs
18:05:27 <nam_gal> what happened to the openmrs demo site ??
18:06:02 *** nam_gal has left #openmrs
18:06:17 *** sunbiz has joined #openmrs
18:06:33 *** sunbiz has left #openmrs
18:10:33 *** sunbiz has joined #openmrs
18:10:59 <sunbiz> anyone manging the demo server ???
18:11:05 <sunbiz> *managing
18:11:52 *** atomicturtle has quit IRC
18:12:00 <sunbiz> ok... thanks got back the demo!!
18:14:35 *** sunbiz has left #openmrs
18:22:31 *** openmrs_1745 has quit IRC
18:33:23 *** burke_away has quit IRC
18:34:49 *** burke_away has joined #openmrs
18:34:49 *** ChanServ sets mode: +o burke_away
19:03:30 *** nribeka has joined #openmrs
19:07:45 *** nribeka has quit IRC
19:08:18 *** nribeka has joined #openmrs
19:26:39 <r0bby> this place is dead.
19:26:52 <nribeka> hey ya robby ...
19:27:02 <nribeka> everybody is gone hahaha lolz ...
19:27:25 <nribeka> i just finish an exam and i'm so glad it's over now ...
19:30:32 <r0bby> bah yeh
19:30:40 <r0bby> I gotta register
19:30:55 *** bwolfe has joined #openmrs
19:30:55 *** ChanServ sets mode: +o bwolfe
19:31:02 <r0bby> soonish :x
19:31:16 <nribeka> hehe ... i need to register too ...
19:31:33 <nribeka> it's the last two weeks of the term here
19:31:53 <nribeka> and all assignment and exam stuff is killing me haha lolz ...
19:37:28 <bwolfe> hey everyone
19:37:40 <nribeka> hey bwolfe
19:37:56 <nribeka> where is everybody
19:38:13 <bwolfe> I dunno, its been a little lean in here that last couple of days
19:39:32 <nribeka> last week of the term probably. last two term here in pitt
19:39:47 <nribeka> ups ... last two weeks of the term
19:40:12 <bwolfe> so this is dead week?
19:40:17 <bwolfe> or going into dead week?
19:41:16 <nribeka> hehe ... one down, four to go here
19:42:57 <bwolfe> heh
19:43:08 <bwolfe> /almost/ one down
19:43:16 <bwolfe> don't count your chickens...
19:44:06 <nribeka> lolz ... true
19:44:28 <nribeka> just finish with the exam
19:58:22 *** docpaul has joined #openmrs
19:58:22 *** ChanServ sets mode: +o docpaul
19:59:11 *** docpaul has quit IRC
20:00:10 *** HongJun has joined #openmrs
20:00:23 *** pearlbear has joined #openmrs
20:00:23 *** ChanServ sets mode: +v pearlbear
20:02:20 <r0bby> File f = new File("new.txt");
20:02:21 <r0bby> new File("names.txt").eachLine { f << it.toUpperCase() +"\n" }
20:02:22 <r0bby> :D
20:02:25 <r0bby> nice :)
20:02:42 <r0bby> I was helping a lazy dude on the groovy mailing list
20:03:18 <bwolfe> r0bby: see, how is that even readable?
20:03:27 <bwolfe> are "<<" common in groovy? What does it do?
20:03:33 <bwolfe> are=is
20:03:34 <r0bby> writes to the file
20:03:38 <r0bby> operator overloading.
20:04:20 <r0bby> they overload the left and right shift operators a lot.
20:04:21 <bwolfe> aside: is it still called "overloading" if there is no definition in the first place. shouldn't it be just "operator loading"? :-p
20:04:27 <bwolfe> ah yes
20:04:32 <bwolfe> forgot about the bit shift stuff
20:04:51 <bwolfe> interesting
20:05:14 <r0bby> bwolfe: append everything from names.txt and make it uppercase then add a new line to f.
20:05:16 <bwolfe> I love that it comes out to a 2 line answer...but the java equivalent of 4-5 lines would read easier :-p
20:05:47 <bwolfe> funny out "it" is the default looping variable
20:05:57 <HongJun> hi, bwolfe, how is the SoC application going
20:06:06 <r0bby> bwolfe : *BZZT*
20:06:16 <r0bby> it's the implicit argument to a closure
20:07:57 <bwolfe> HongJun: applications are inching along :-p
20:08:32 <bwolfe> we discussed some of the possible projects today and gave a bunch of devs some homework to read through their potential ones
20:09:22 <bwolfe> r0bby: so "eachLine" is a method that takes in a function, am I getting that right ?
20:09:22 <r0bby> bwolfe: did mine get through :(
20:09:30 <r0bby> it takes a Closure
20:09:46 <r0bby> whicb basically is a function so yes
20:09:48 <bwolfe> r0bby: I can't really discuss any kinds of goings on
20:09:52 <bwolfe> kinds=kind
20:09:57 <r0bby> :<
20:10:03 <bwolfe> right, I love javascript closures
20:10:07 <bwolfe> very convenient
20:10:12 <r0bby> this is equivilent
20:10:30 <bwolfe> so methods that take in a closure must use curly braces?
20:10:33 <bwolfe> or is that a groovy thing?
20:10:44 <r0bby> new File("names.txt").eachLine { line -> f << line }
20:11:05 <r0bby> it needs curly braces
20:11:11 <r0bby> also
20:11:25 <r0bby> erm nvm
20:11:26 <bwolfe> man, really not a fan of operator overloading
20:11:34 <bwolfe> breaks the ability to always know whats happening
20:11:36 <r0bby> I abused them :)
20:11:50 <r0bby> I made 5 - 5 equal 10 :)
20:12:15 <bwolfe> kind of like perl....there are 10 ways to do it, and if you don't know the functions the writer used, its /really/ hard to read
20:12:40 * bwolfe hates perl
20:12:47 * bwolfe loves python!
20:13:22 <r0bby> bwolfe: it's just experience you learn where operators are overloaded
20:13:48 <bwolfe> so groovy doesn't allow the end programmer to do it themselves?
20:13:56 <r0bby> sure you can
20:13:58 <bwolfe> overloading operators are set, or a programable?
20:14:02 <bwolfe> bah, see, there you do
20:14:03 <r0bby> programmable.
20:14:05 <bwolfe> do=go
20:14:14 <bwolfe> crap. total crap.
20:14:24 <r0bby> hold on let me show you the mixin post i made
20:14:25 <r0bby> :)
20:14:32 <bwolfe> I'm totally voting down the groovy project. whomever is attached to that better pick a new one quick. ;-)
20:14:40 <r0bby> :(
20:14:41 <r0bby> dont!!!!
20:14:42 <r0bby> :(
20:15:05 <r0bby> http://robbyoconnor.blogspot.com/2008/04/new-groovy-mixins-syntax.html
20:15:05 <OpenMRSBot> <http://ln-s.net/1nCq> (at robbyoconnor.blogspot.com)
20:15:09 <r0bby> why?
20:15:18 <HongJun> I love python too
20:15:25 <r0bby> i can't pick a new one...
20:15:41 <nribeka> haha ...
20:15:41 <nribeka> robby go and prepare some hitman for bwolfe
20:15:46 <HongJun> Programming in Python is really amazing
20:15:54 <r0bby> That is what i call abuse
20:15:55 <r0bby> :)
20:17:03 <bwolfe> r0bby: you need to jack up the mem needs to 512 to run that little bit of code?! :-/
20:17:13 <r0bby> no
20:17:14 <bwolfe> HongJun: yep, python is such a breeze
20:17:16 <r0bby> just to compile it
20:17:31 <r0bby> the groovy compiler
20:17:42 <bwolfe> HongJun: I haven't done much straight up python coding...most of what I do (did) was through and in zope
20:18:06 <bwolfe> I've done my fair share of scripting for the website, feed, etc...in python of course
20:18:07 <HongJun> bwolfe: I have used Django and Turbogears
20:18:23 <bwolfe> HongJun: yeah, feed.openmrs.org uses django
20:18:31 <bwolfe> haven't used turbogears
20:18:57 <bwolfe> r0bby: mixin is what they're calling overloading?
20:19:02 <r0bby> no.
20:19:11 <r0bby> mixins allow you to add functionality to a class
20:19:29 <r0bby> not overloading -- i just overloaded because i felt like it :)
20:19:31 <HongJun> bwolfe: These tow agile web frameworks have largerly simplified web development
20:19:45 * bwolfe makes nice with r0bby's hitman and redirects him to nribeka
20:20:10 <bwolfe> HongJun: do you know which one is more popular?
20:20:11 <r0bby> don't vote mine down :<
20:20:27 <r0bby> it'll be neat the things i have planned :)
20:20:32 <HongJun> bwolfe: I like TG more than Django
20:20:55 <HongJun> bwolfe: I think TG is more poplular for Web2.0
20:21:01 * nribeka try to bribe robby's hitman
20:21:04 <r0bby> Paul and burke wanna integrate grails
20:22:03 <bwolfe> r0bby: I'd rather see python integration than groovy integration... :-p
20:22:17 <r0bby> heh
20:22:21 <bwolfe> python seems like a better starter scripting language than groovy
20:22:29 <bwolfe> groovy has the potential to just confuse new programmers more
20:22:42 <r0bby> but i plan on writing a Domain Specific Language for creating a form seamlessly
20:22:43 <bwolfe> (which is why we want some sort of scriptable pages in the first place)
20:22:43 <HongJun> The community of TG is more active
20:22:51 <r0bby> groovy makes it easy
20:22:52 *** nribeka has quit IRC
20:23:14 *** nribeka has joined #openmrs
20:23:18 <r0bby> but i can't do that til i have the groundwork down somehow i have to generate controllers; i'll prolly use velocity
20:26:41 *** upul has joined #openmrs
20:26:46 <burke_away> velocity?
20:26:48 *** burke_away is now known as burke
20:28:59 <bwolfe> yes, how so velocity r0bby ?
20:29:59 <r0bby> bwolfe: i figure i'll template out the Controller
20:30:06 <r0bby> since it will be the same in most cases
20:30:18 <r0bby> that way people pass in the pieces needed
20:30:26 <r0bby> and i generate the controller from that
20:30:44 <r0bby> just thinking of ways to make this less clunky
20:31:11 <bwolfe> aside: tab-completion is giving me bad habits. I've found I tab-complete everything. :-/ In that last statement I typed "how so vel<tab>" thinking xchat would somehow know I was wanting "how so velocity"! *sigh*
20:31:29 <bwolfe> less clunky is good
20:31:35 <burke> bwolfe: "man, really not a fan of operator overloading"
20:31:37 <burke> bwolfe--
20:31:48 <burke> :p
20:31:55 <r0bby> burke: if i get in to SOC
20:31:58 <bwolfe> burke-- for liking overloading
20:32:01 <r0bby> i'll see what :)
20:32:02 <burke> encounter = encounter - obs
20:32:05 <burke> or...
20:32:09 <burke> encounter = encounter + obs
20:32:11 <burke> :-)
20:32:13 <bwolfe> its convenient and all...and potentially very confusing
20:32:25 <r0bby> burke I have a slew od ideas
20:32:32 <burke> oh yes. encounter = encounter + obs is *very* confusing. :p
20:32:45 <r0bby> velocity would allow me to to template out the controller
20:32:46 <bwolfe> it is!
20:32:50 <burke> anything can be confusing if done right
20:32:51 <bwolfe> does that add the obs to the encounter?
20:32:56 <burke> i've seen plenty of java that's confusing too
20:32:56 <r0bby> since that's what it does!
20:32:57 <bwolfe> or set that encounter on the obs ?
20:33:00 <bwolfe> or both?
20:33:11 <r0bby> bwolfe: String = "this " + "that";
20:33:14 <bwolfe> or what if a module overloaded your overloading and that not meant "remove the obs" ?
20:33:16 <r0bby> java already does it.
20:33:23 <burke> encounter = encounter + obs would *obviously* mark the patient as dead
20:33:38 <bwolfe> r0bby: yes, but obs and encounter are two different objects...with potentially very different outcomes
20:33:47 <bwolfe> burke: yes, that was my next guess
20:33:53 <burke> StringBuilder sb = new StringBuilder();
20:33:57 <burke> sb.append("this");
20:33:58 <r0bby> bwolfe: combine the two into one object
20:34:03 <burke> sb.append("that");
20:34:06 <burke> sb.toString();
20:34:18 <burke> much easier to understand and only 100000000000000000 lines of code. :-)
20:34:21 <r0bby> sb.append("this").append(" that").toString();
20:34:30 <r0bby> *WHOOSH*
20:34:37 <burke> hehe
20:34:44 <r0bby> chaining++
20:34:53 <burke> Maybe we need a language without whitespace
20:34:56 <burke> the anti-python
20:35:05 <r0bby> burke++
20:35:06 <burke> aka Google's javascript
20:35:17 <r0bby> that's why you need to let me in to groovy up this project!
20:35:21 <burke> variable name size limit = 1
20:36:19 <burke> r0bby: the controller could be a simple groovy script
20:37:02 <r0bby> i suppose; but it needs to be java...
20:37:25 <r0bby> the groovy script primarily just generates the java code needed :)
20:37:51 <r0bby> but i suppose
20:38:09 *** Wiss_ has joined #openmrs
20:38:34 *** docpaul has joined #openmrs
20:38:34 *** ChanServ sets mode: +o docpaul
20:38:45 <burke> http://pastebin.com/d483efa52
20:39:11 <r0bby> perfect
20:39:13 <burke> groovy IS java...er, you can turn it into a class
20:39:24 <r0bby> burke: it does things java doesn't
20:39:32 <r0bby> not java 100%
20:39:47 <r0bby> overloads == to call .equals()
20:39:48 <burke> so you can't make a class file from it?
20:39:59 <r0bby> int x = "hey"; // compiles but blows up at runtime
20:40:06 <r0bby> i suppose we could
20:40:07 <docpaul> well, in theory, since groovy is java.... there has to be a java equivalent for everything that groovy does
20:40:40 <burke> docpaul's internet is working! or is this via cell phone connection?
20:40:43 <burke> :p
20:41:01 <nribeka> docpaul is up
20:41:28 <docpaul> no, it's real. :)
20:41:31 <r0bby> but it's the closest scripting language to java :)
20:42:15 <burke> with DSL -- er, not the internet thing...a domain-specific language -- we could make a nice environment for folks
20:42:41 <r0bby> burke: that is opne thing im excited about
20:42:44 <r0bby> I wanna do that
20:43:07 <burke> and by catching AssertError and being smart about translating into feedback to the user, you could do validation with simple assert statements
20:43:12 <burke> e.g., assert patient != null
20:43:24 <r0bby> yeh
20:43:25 <burke> er... assert patient != null "Patient cannot be null"
20:43:34 <r0bby> yup
20:43:41 <burke> er... assert patient != null, "Patient cannot be null"
20:43:51 <burke> i think ya need that comma
20:44:01 <r0bby> is bwolfe votes me down, i'm sending a hitman his way
20:44:12 <r0bby> the best and cheapest
20:44:17 * burke thinks bwolfe IS the hitman
20:44:31 <r0bby> oh saves me money
20:44:38 * r0bby gives bwolfe some sharp objects
20:45:49 <r0bby> my head hurts
20:46:23 *** Wiss has quit IRC
20:46:43 <burke> "lonelyt".reverse()
20:47:04 <r0bby> :)
20:54:02 <napi> docpaul is asking me some questions about my application
20:54:07 <napi> the last one was; "do you like treacle tarts?"
20:54:23 <napi> love it
20:55:07 <r0bby> nobody asked me question
20:55:55 <napi> r0bby
20:55:59 <napi> do you like victoria sponge?
20:56:04 <r0bby> ...
20:56:25 <napi> :)
20:56:54 <r0bby> burke: are you allowed to say where my application stands?
20:57:06 <napi> on 2 feet?
20:57:07 <napi> :p
20:57:27 <napi> (I apologise... it's late and I've had a bit to drink)
20:57:29 <r0bby> bwolfe said he couldn't or wouldnt :(
20:57:42 <burke> nope. it wouldn't be fair.
20:57:42 <r0bby> friends dont let friends code plasteredc
20:57:52 <burke> can't make any promises, sorry.
20:58:00 <r0bby> :<
20:58:23 *** pombreda has quit IRC
20:58:26 <burke> we're still working through the applications and prioritizing projects
20:58:51 <r0bby> how many applicants for openmrs?
20:59:01 <burke> and we won't find out the exact number of slots we get until just before 4/21...when Google releases the students
20:59:24 <burke> in the 50-100 range
20:59:29 <r0bby> eeeek
20:59:39 <burke> amazingly, all but two were for the groovy module
20:59:40 <burke> :p
21:00:03 <napi> rofl
21:00:05 <docpaul> pahaha... r0bby's got some competition
21:00:22 <docpaul> i think the winner will be who can have worse irc manners. :)
21:01:21 <napi> I'm off to bed. night all
21:01:27 <burke> g'night napi
21:01:55 *** nribeka has quit IRC
21:04:52 <docpaul> burke: i got this router: http://www.linksys.com/servlet/Satellite?c=L_Product_C2&childpagename=US %2FLayout&cid=1175237911752&pagename=Linksys%2FCommon%2FVisitorWrapper&lid=1175239789B03
21:05:49 <burke> r0bby: there's only one app really competing with yours...some guy named Graeme Rocher. every heard of him?
21:06:00 <burke> docpaul: tinyurl?
21:06:23 <docpaul> http://tinyurl.com/4568er
21:07:03 <burke> geez. it looks like something that should be orbiting earth
21:07:21 <docpaul> exactly. :)
21:07:24 <napi> rofl
21:07:39 <burke> I don't see where the coffee cup goes in.
21:07:48 <burke> er...diet coke glass.
21:08:08 <docpaul> as soon as i saw it, i had to have it
21:08:14 <docpaul> and it was under 200 at fry's
21:08:40 <napi> right i'm actually off now. docpaul has sent me to bed lol
21:08:41 <r0bby> HOLY FUC
21:08:42 <napi> ttfn
21:08:48 <r0bby> hes not!
21:09:08 <r0bby> Graeme Rocher is ... the grails guy!
21:09:19 <burke> :p
21:09:23 <docpaul> hahaha
21:09:44 <docpaul> how do you think you stack up r0bb0?
21:09:52 <r0bby> poorly
21:09:58 <napi> r0bby, sux 2 be u :x
21:09:59 <r0bby> as he's also a commiter to groovy
21:10:02 * napi cuddles r0bby
21:10:09 <r0bby> :|
21:10:14 <napi> want a cookie?
21:10:16 <docpaul> you better get ta dancin!
21:10:24 *** nribeka has joined #openmrs
21:10:29 <r0bby> is Graeme even a student...
21:12:23 <burke> aha! you've got him now!
21:12:56 <docpaul> he has a pretty good blog
21:13:08 <docpaul> but he's not nearly as charmy as r0bby
21:13:14 <docpaul> er, charming
21:13:21 <r0bby> He
21:13:23 <r0bby> s smart.
21:13:33 <r0bby> He created grails :)
21:13:52 <r0bby> and would actually be more capable than I to accomplish grails integration
21:14:02 <r0bby> you better be joking
21:14:58 <docpaul> if you get the nod over graeme, will you code circles around him?
21:15:26 <r0bby> what do you mean?
21:15:35 <bwolfe> rocher? his app was pretty weak. pretty good experience though
21:16:01 <r0bby> he has a lot of fucking experience
21:16:13 <docpaul> but he's not r0bb0
21:16:19 <nribeka> robby vs rocher
21:16:24 <docpaul> and that's hard to replace
21:16:26 <burke> the others had weird names too... like Dierk Koenig, Andrew Glover, Paul King, Guillaume Laforge and Jon Skeet
21:16:34 <r0bby> LOL
21:16:41 <r0bby> you're throwing names around now lol
21:16:43 <burke> they all claimed to have written some manual or something
21:16:51 <r0bby> Groovy in Action...
21:17:00 <docpaul> :)
21:17:02 <burke> yeah. that sounds right.
21:17:09 <docpaul> can't pull anything past you now, can we rob?
21:17:16 <r0bby> No :)
21:17:21 <burke> I was remembering it as "Grovoy Reaction" ... but it just didn't sound right...
21:17:23 <r0bby> because i know the groovy community :)
21:17:33 <r0bby> and the grails community :P
21:18:03 <burke> actually, we're considering tabling the Groovy Form Module idea, because we talked it over and all agreed that it couldn't be done.
21:18:31 <burke> it's impossible
21:18:39 <burke> what were we thinking?
21:18:41 <docpaul> i'm not sure r0bb0 would be up to the task?
21:18:42 <bwolfe> I think python would be easier
21:19:01 <bwolfe> rocher maybe...
21:19:02 <burke> and I think there's already a GroovyFormModule library in Ruby
21:19:08 <bwolfe> haha
21:19:19 <docpaul> heh, good one
21:19:51 <docpaul> there's probably an MedicalRecordSystem library in Ruby
21:20:32 <r0bby> so i
21:20:37 <burke> Actually, it's an OpenMRS library in Ruby written by Mike McCay three years ago.
21:20:40 <r0bby> bah.
21:20:41 <r0bby> :(
21:20:47 <burke> he blogged about it..."it was fun!" :p
21:20:55 <bwolfe> took him 10 mins
21:21:05 <bwolfe> 10 mins to write and 15 mins to blog about it
21:21:09 <r0bby> I was up for teh challenge
21:21:14 <docpaul> robby: cheer up, we're just razzing you. :)
21:21:27 <r0bby> you're torturing me :'
21:21:28 <r0bby> (
21:21:41 <nribeka> send some more hitmen rob
21:21:55 <r0bby> already dispatched
21:22:06 <r0bby> i might have sent them to you nribeka
21:22:08 <nribeka> haha lolz
21:22:34 <nribeka> i'm not in the competition with you rob.
21:22:40 <nribeka> i'm innocent
21:22:52 * nribeka is hidding
21:22:59 <r0bby> I know but I need paul and burke more
21:23:38 <HongJun> bwolfe: i haven't heard any opinion from Darius Jazayeri, does he is too busy to have time to review my applicaiton?
21:24:23 <nribeka> robby: haha lol
21:25:02 <r0bby> nribeka: hit men get over-ambitious
21:25:10 <r0bby> but don't worry.. the guys i sent are bad shots
21:25:17 <bwolfe> HongJun: hmm, not sure. darius is a busy guy though
21:25:22 <r0bby> they're the mister magoos of hitmen
21:26:03 <nribeka> lol
21:26:35 <bwolfe> HongJun: we did some shuffling of who will be assigned to which project...so it might be someone else that does your final review
21:26:41 <r0bby> once, they shot a washing machine
21:27:07 <r0bby> i wish there way a way to move a connection from one system to another w/o dropping it
21:27:09 <HongJun> bwolfe: ok, thank you
21:27:52 <bwolfe> r0bby: ha...
21:27:58 <bwolfe> move bits through the air??
21:28:08 <r0bby> yeh
21:28:15 <bwolfe> what do you think...some sort of "wireless" connection? thats ridiculous! oh wait...
21:28:28 <r0bby> it's a pipe dream
21:28:39 <r0bby> pun intended
21:28:50 <bwolfe> heh
21:28:52 <bwolfe> boo
21:28:55 <bwolfe> double boo
21:28:58 <bwolfe> puns--
21:29:09 <bwolfe> burke's puns--
21:40:42 *** atomicturtle has joined #openmrs
21:41:01 *** pombreda has joined #openmrs
21:41:01 *** ChanServ sets mode: +v pombreda
21:41:51 <burke> okay, kiddies. gotta run. cheers!
21:42:23 *** burke is now known as burke_away
21:43:27 <r0bby> later
21:44:46 <nribeka> later burke
21:48:02 *** docpaul_ has joined #openmrs
21:49:07 *** docpaul has quit IRC
21:49:13 *** docpaul_ is now known as docpaul
21:49:30 *** ChanServ sets mode: +o docpaul
21:51:30 *** Wiss_ has left #openmrs
21:57:41 *** burke_away has quit IRC
22:14:13 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Changesets: Changeset [3891]: Creating complex_obs branch for bmckown <http://dev.openmrs.org/changeset/3891>
22:16:29 *** nribeka has quit IRC
22:17:04 *** TorLye has left #openmrs
22:28:28 *** HongJun has quit IRC
22:48:23 *** njero has joined #openmrs
22:48:23 *** ChanServ sets mode: +v njero
23:01:24 *** njero has quit IRC
23:39:04 *** hunger__ has joined #openmrs
23:39:11 <hunger__> hey everyone
23:55:27 <r0bby> hey
23:59:41 *** nribeka has joined #openmrs
23:59:55 <bwolfe> hey hunger__