[04:03:33] [connected at Thu Oct 23 04:03:33 2003] [04:03:34] <> *** Looking up your hostname... [04:03:34] <> *** Checking ident [04:03:34] <> *** Found your hostname [04:04:05] <> *** No identd (auth) response [04:04:05] <> *** Your host is calvino.freenode.net[calvino.freenode.net/6667], running version dancer-ircd-1.0.32 [04:04:06] [I have joined #peak] [04:04:06] ** calvino.freenode.net set the topic to PEAK http://peak.telecommunity.com || WikiPages at http://peak.telecommunity.com/DevCenter || IRC-Logs: http://peak.telecommunity.com/irc-logs/ [07:02:40] ** jack-e has joined us [13:40:17] ** _Maniac has joined us [14:45:46] <_jpl_> Hi all [14:45:50] <_jpl_> (optimism) [16:12:02] ** jack-e has joined us [16:13:03] ** jack-e has joined us [16:13:20] again [16:13:22] ahh [16:13:25] hi _jpl_ (just read the logs :) [16:49:57] <_jpl_> Guten tag, Ulrich [16:50:23] Hello John :) [16:50:25] how are you ?? [16:50:49] <_jpl_> Pretty good, you? [16:50:59] quite well thanks .. [16:51:19] <_jpl_> I just used mdl_normalize for the first time in a custom data type. :) [16:51:19] ok :) [16:52:04] <_jpl_> It's fun figuring out the innards of PEAK with no documentation. [16:52:12] i'm working on a generic stateMachine implementation (uml-like-definition) for my nllworkflow-package (redesign of the pretty simple one i had before) [16:52:13] yup [16:52:26] i like pje's coding style [16:52:59] <_jpl_> The only part about it I don't like is all the extra whitespace... [16:53:10] he explained it once .. [16:53:34] <_jpl_> Yeah, I sorta get it. sorta. [16:53:34] when he scrolls pages with his editor, the new stuff begins at the top of the page afaik [16:53:59] how is your project coming along ?? [16:54:03] <_jpl_> So it just occurred to me that user defined types could be shared by other PEAKers [16:54:26] yes .. did you start any effort setting up a project somewhere [16:54:41] i tried to think about a name .. but didn't really find a nice one [16:54:45] <_jpl_> Slow in some places... but figuring out things like this really helped speed up this tiny piece of work. [16:55:03] <_jpl_> I thought of registering it as PeakPlace on tigris [16:55:52] yeah .. why not .. and below that there there will be python-packages that are either somekind of sandboxes or reusable packages [16:56:41] <_jpl_> This little datatype I just wrote is for use when specifying partition sizes. So if the units are megabytes, you should be able to say "10gb" and get 10240.0 automatically. [16:57:13] <_jpl_> And specifying "*" gets you the REMAINDER constant, so a partitioning tool knows to give that partition the rest of the disk [16:57:15] how do you specify units ? [16:57:40] (with the postix "gb") ß [16:57:43] ? [16:58:00] argl .. my laptops keyboard sucks ... [16:58:21] <_jpl_> Well, the unit of storage is currently assumed to be megabytes at the moment. [16:58:32] <_jpl_> So "100" is the same as "100mb" [16:59:07] so you have a SizeType(model.Float): ..something, that u use with a feature ? [16:59:15] <_jpl_> Right [16:59:35] <_jpl_> I'm calling it PartitionSize at the moment, but this could be useful elsewhere, most likely [16:59:58] that really rocks ..especially the fact, that you can very easy create xml-parsers for model.Element classes [17:00:03] <_jpl_> Are you going to be around for a while? I need to run for an hour or so. [17:00:36] <_jpl_> Where would you define such a parser? [17:00:36] its pretty late here (23h) .. i don't know if i will be here later on [17:00:49] i have a few at cvs.net-labs.de [17:01:06] i use peak.util.SOX to parse the text into an object tree [17:01:12] <_jpl_> What I mean is, would it be in a class separate from the Element? [17:01:25] yup [17:01:28] in a datamanager [17:01:35] <_jpl_> Oh really, I'll have to look at peak.util.SOX [17:01:37] that loads your model.Elements from an xml-file [17:01:47] <_jpl_> I haven't had much time to get to know peak.util as I'd like [17:01:51] <_jpl_> Nice! [17:01:59] <_jpl_> I really want something like that [17:02:09] example: http://cvs.net-labs.de/cgi-bin/viewcvs.cgi/libs/nllworkflow/src/nllworkflow/stateful/datamanager.py?rev=1.2&content-type=text/vnd.viewcvs-markup [17:02:29] <_jpl_> I'm doing incredibly simple parsing at the moment, and using mdl_fromFields combined with sortPosn [17:02:32] that reads a StatefulProcessDefinition (example in tests/test_instance.py) [17:03:05] the nice thing about this implementation (shamelessly stolen from peak.storage.xmi), it grows with your model [17:03:20] if you add a feature to your model.Element, your parser automatically knows about it [17:03:27] its somekind of MDA [17:04:08] <_jpl_> That's great [17:04:31] <_jpl_> Maybe I'll print this out and take it to lunch to read :) [17:04:43] hehe [17:04:58] <_jpl_> So I'll see you later. Hopefully we'll get to chat more soon. [17:05:08] yup .. looking forward to [17:05:09] cu [17:05:47] <_jpl_> chus (how do you spell that?) [17:06:01] tschuess [17:06:06] <_jpl_> ! [17:06:08] :) [17:06:08] <_jpl_> ok :) [17:06:26] <_jpl_> tschuess! [17:06:38] bye [18:05:55] * _jpl_ back [19:15:46] * jack-e goes to bed ..