Perl 6 - the future is here, just unevenly distributed

IRC log for #cdk, 2014-01-08

| Channels | #cdk index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
02:40 slyrus joined #cdk
03:27 slyrus joined #cdk
04:05 slyrus joined #cdk
06:01 egonw joined #cdk
06:06 slyrus joined #cdk
06:26 sneumann joined #cdk
06:41 konditorn joined #cdk
07:21 egonw joined #cdk
07:28 egonw joined #cdk
07:51 konditorn joined #cdk
08:38 egonw joined #cdk
08:54 Gpox joined #cdk
08:55 jonalv joined #cdk
09:03 egonw joined #cdk
09:15 slyrus hey egonw, I've probably asked this before, but what's the magic incantation for turning on the logging stuff?
09:17 slyrus i've managed to convert immediate breakage with NPEs into a lack of termination, so that's something
09:18 Gpox joined #cdk
09:54 jbrefort joined #cdk
09:57 jonalv joined #cdk
09:58 egonw joined #cdk
09:58 egonw slyrus++
09:58 egonw [logging]... oh good question...
10:03 egonw and -Dcdk.logging=true or something like that...
10:14 samuell_ joined #cdk
10:57 konditorn joined #cdk
11:16 konditorn joined #cdk
12:08 Gpox joined #cdk
13:45 konditorn joined #cdk
15:04 konditorn joined #cdk
15:52 Conrad joined #cdk
16:43 slyrus bah these damn cloudera folks are stealing our google-juice!
16:48 slyrus i "logging cdk for java idiots" blog post/article would be appreciated :)
16:48 slyrus s/i/a/
17:04 slyrus i'm sure there's a better way than replacing logger.debug with System.out.println calls. i just haven't found it yet.
18:13 egonw joined #cdk
18:15 slyrus hey egonw, I'm failing at getting anything other than error log messages to show up
18:17 egonw OK... I can look at it this weekend, but got a few deadline this week first... :/
18:24 slyrus ok, thanks! I'm sure this is a solved problem :)
18:24 slyrus typical java morass. lots of interfaces, libraries, classes, subclasses, configuration files, and basically impossible to figure out from first principles :)
18:34 slyrus the road to hell is paved with misguided configuration mechanisms
18:36 slyrus and adorned with Factories
18:52 slyrus egonw: -Dcdk.debugging=true -Dcdk.debug.stdout=true
18:52 slyrus surely this a finer grained hammer that could be used, but this does the trick (at the cost of lots of debug noise from, e.g., OWLAtomTypeHandler)
18:52 egonw right
18:52 slyrus s/this/there/
18:53 egonw no, this is it, but...
18:53 egonw what you can do, on linux-like systems, if use grep, to filter out things you are interested in
18:59 slyrus I'm trying to wrap my head around using eclipse. Hell, if we wanted everything to go to stdout and just filter with grep, we could just use System.out.println! No need for log4j and all the configurability crap!
18:59 egonw ah, right...
19:00 egonw ummm...
19:00 egonw oh, sorry...
19:00 egonw too tired this week
19:00 egonw cannot think...
19:00 egonw I'll come up with something smart this weekend
19:00 egonw several options...
19:00 egonw custom logger...
19:00 egonw adding the option of filters the the logging stack
19:01 egonw I don't know....
19:01 slyrus no problem! thanks for the pointers.
19:01 slyrus and why, oh why, does eclipse limit console output to 80,000 characters? what is this? 1989?
19:01 slyrus easily fixed, but still...
19:01 slyrus our chatty debug messages fill that up rather quickly.
19:02 egonw yeah, they do...
19:02 egonw there used to be a nice plugin to highlight content in the console
19:02 egonw somewhere burried in my blog...
19:02 egonw http://chem-bla-ics.blogspot.nl/2009/03/highlighting-console-output-in-eclipse.html
19:02 zarah egonw's link is also http://tinyurl.com/pudgkft
19:03 egonw updated link: http://marian.schedenig.name/projects/grep-console/
19:05 slyrus well, the good news is that your IUPAC generation code is correctly identifying my test molecule as butane. the bad news is that it's doing so over and over in a loop and doesn't terminate. still, step 1) compilation, step 2) debugging messages -- feels like progress
19:05 egonw :)
19:07 slyrus feels weird to be using a fancy IDE for running code and then switching over to emacs for magit-status :)
19:10 slyrus https://github.com/slyrus/cdk/compare/iupac-generator
19:10 slyrus see the most recent two commits when you have time
19:35 egonw yeah, that looks good
19:35 egonw all patches
19:35 egonw shall I pull them into my branch?
19:35 egonw I think we'd want some more extensive functionality before it gets submitted for inclusion into the main branch
19:36 egonw but I'm happy to support your effort
19:36 egonw (except for this week...)
20:26 sneumann joined #cdk
20:27 egonw hi sneumann
20:27 * egonw is working on a SD file for all metabolites in WikiPathways
20:53 slyrus egonw: it needs to work before going the main branch :)
20:53 slyrus into
20:53 egonw well, at a very minimum. indeed :)
20:54 egonw my point was, it does not matter if your or my branch is the main branch
20:54 egonw and it makes more sense if your branch at this moment is the main branch
20:55 slyrus ok, just don't nuke yours in case I screw something up :)
21:00 egonw OK :)
22:37 slyrus joined #cdk

| Channels | #cdk index | Today | | Search | Google Search | Plain-Text | summary