#emc-devel | Logs for 2011-11-14

Back
[00:15:58] -!- micges has quit [Quit: Ex-Chat]
[00:16:45] -!- FinboySlick has quit [Read error: Connection reset by peer]
[00:17:07] -!- JT-Shop has quit [Read error: Connection timed out]
[00:19:19] -!- Loetmichel has quit [Ping timeout: 260 seconds]
[00:19:24] -!- JT-Shop [[email protected]] has joined #emc-devel
[00:21:44] -!- FinboySlick has quit [Remote host closed the connection]
[00:26:13] -!- theorbtwo has quit [Ping timeout: 244 seconds]
[00:26:25] theorb is now known as theorbtwo
[00:31:17] <cradek> unfortunately the message comp needs some work before it can be added
[00:31:52] <cradek> I fixed up the error messages and return values so it's not crashy when given incorrect arguments, but the manpage is formatted weird, and incomplete
[00:32:31] <cradek> I wonder if there's a more recent version than the one on the mailing list many moons ago: http://article.gmane.org/gmane.linux.distributions.emc.user/29168
[00:34:50] <cradek> ok, only 3 or so moons ago
[00:35:33] <andypugh> Though that message did indicate that it had been created an indeterminate extra number of moons previously.
[00:36:03] <cradek> I'd love to see it added but I'm not sure I'm up to fixing it up
[00:36:22] <andypugh> I might have a look into it.
[00:37:09] <cradek> hm maybe the part of the manpage I think is imcomplete is autogenerated
[00:37:34] <andypugh> All .comp manpage entries are auto-generated?
[00:37:56] <andypugh> But the .comp manpage generator has no idea about modparams
[00:38:00] <cradek> well some of the text there comes from the comp directly (and it's badly formatted)
[00:38:14] <cradek> loadrt message [count=N|names=name1[,name2...]]
[00:38:31] <cradek> ^ this is missing messages=first message,second message,...
[00:39:15] <andypugh> This is why bldc.comp has lots of mention of "personality" despite not using it (grump)
[00:39:55] <cradek> andypugh: fwiw here are my changes so far (fixed fail return values, improved? error messages): http://pastebin.com/xfXX7huk
[00:40:30] <cradek> perhaps rewriting to have it handle only one message would be better
[00:40:41] <cradek> ?
[00:41:23] <cradek> also it maybe needs to add \n, since when I triggered twice it only made one line in dmesg
[00:42:55] <andypugh> Would you want to limit people to only one message?
[00:43:58] <andypugh> (any one instance will only produce one message, but by default comp sets things up to produce multiple instances)
[00:44:41] <andypugh> I don't think there is any way to pass a string to a component except via the modparam.
[00:45:39] -!- Eartaker has quit [Quit: OOOOOO Whats that....]
[00:46:15] <andypugh> Anyway, too late here to start a new coding project.
[00:46:23] -!- andypugh has quit [Quit: andypugh]
[00:47:31] <cradek> future andypugh: well I figured you would just load as many as you wanted messages
[00:48:01] <cradek> just because the 16 limit feels weird and the error cases/messages are more complicated this way
[00:48:09] <cradek> but I don't care, just thinking out loud
[00:49:03] <skunkworks> Hi chris - how is it going?
[00:50:54] <CIA-95> EMC: 03tissf 07v2.5_branch * r6dfd89da5213 10/ (18 files in 8 dirs): French translation massive update-add a diagram of homing for stepconf
[00:51:46] <cradek> hey
[00:52:00] <cradek> it's ok
[00:56:04] <skunkworks> That's good... ;)
[00:57:12] -!- ve7it has quit [Remote host closed the connection]
[01:06:40] -!- robh__ has quit [Ping timeout: 260 seconds]
[01:09:11] -!- Eartaker has quit [Ping timeout: 252 seconds]
[01:09:24] -!- ries has quit [Quit: ries]
[01:09:26] -!- jsr__ has quit [Remote host closed the connection]
[01:11:10] -!- Ear has quit [Quit: OOOOOO Whats that....]
[01:11:47] -!- crazy_imp has quit [Ping timeout: 260 seconds]
[01:15:17] -!- emc_rules has quit [Ping timeout: 252 seconds]
[01:22:32] -!- FinboySlick has quit [Remote host closed the connection]
[01:25:50] -!- MOGLI has quit [Quit: Visitor from www.linuxcnc.org]
[01:27:01] -!- syyl has quit [Ping timeout: 258 seconds]
[02:02:26] -!- me345 has quit [Read error: Connection reset by peer]
[02:26:10] -!- syyl_ has quit [Quit: Leaving]
[02:43:00] -!- emc_rules has quit [Ping timeout: 240 seconds]
[02:44:05] -!- jthornton has quit [Ping timeout: 260 seconds]
[02:47:07] -!- jthornton [[email protected]] has joined #emc-devel
[02:52:52] -!- i_tarzan has quit [Ping timeout: 255 seconds]
[03:11:04] -!- demacus has quit [Ping timeout: 240 seconds]
[04:17:03] -!- seb_kuzminsky has quit [Quit: Leaving]
[04:56:30] -!- JT-Shop has quit [Read error: Connection reset by peer]
[04:58:40] -!- psha[work] [psha[work][email protected]] has joined #emc-devel
[04:59:30] -!- JT-Shop [[email protected]] has joined #emc-devel
[05:00:27] -!- factor has quit [Ping timeout: 245 seconds]
[05:17:35] -!- Eartaker has quit [Quit: OOOOOO Whats that....]
[05:18:02] -!- Eartaker has quit [Changing host]
[05:31:00] -!- awallin has quit [Ping timeout: 240 seconds]
[05:38:18] -!- awallin [[email protected]] has joined #emc-devel
[05:41:04] -!- vladimirek [[email protected]] has joined #emc-devel
[06:21:52] hackrat is now known as packrat
[06:24:11] -!- emc_rules has quit [Ping timeout: 276 seconds]
[06:59:01] -!- A2Sheds has quit [Quit: puff of smoke]
[07:00:57] -!- FinboySlick has quit [Quit: Leaving.]
[07:13:41] -!- Calyp has quit [Remote host closed the connection]
[07:20:52] -!- skunkworks has quit [Ping timeout: 245 seconds]
[07:24:16] -!- skunkworks [skunkworks!~chatzilla@str-bb-cable-south2-static-6-425.dsl.airstreamcomm.net] has joined #emc-devel
[07:34:48] -!- mhaberler [[email protected]] has joined #emc-devel
[07:39:03] -!- e-ndy [e-ndy!jkastner@nat/redhat/x-fpzanbftsqmlyqge] has joined #emc-devel
[08:31:45] -!- toastydeath has quit [Ping timeout: 258 seconds]
[08:42:52] -!- tissf [tissf!5a134bdb@gateway/web/freenode/ip.90.19.75.219] has joined #emc-devel
[08:51:37] -!- tissf has quit [Quit: Page closed]
[08:58:03] -!- pingufan has quit [Remote host closed the connection]
[09:52:31] -!- pingufan has quit [Remote host closed the connection]
[10:06:49] -!- e-ndy has quit [Quit: Ex-Chat]
[10:18:54] -!- e-ndy [e-ndy!jkastner@nat/redhat/x-ouogkomyqoxrlhfb] has joined #emc-devel
[10:23:17] -!- Quack has quit [Ping timeout: 256 seconds]
[10:32:52] -!- cradek has quit [Read error: Connection reset by peer]
[10:32:57] -!- cradek [[email protected]] has joined #emc-devel
[10:42:55] -!- mhaberler has quit [Quit: mhaberler]
[11:02:42] -!- mhaberler [[email protected]] has joined #emc-devel
[11:05:01] -!- herron_ has quit [Ping timeout: 240 seconds]
[11:19:48] -!- tissf [tissf!5a134bdb@gateway/web/freenode/ip.90.19.75.219] has joined #emc-devel
[11:22:56] -!- nots has quit [Ping timeout: 248 seconds]
[11:55:29] <jthornton> I got the man page formatting to work on message.com but still fails to run http://pastebin.com/kK3Kpiej
[11:56:12] <jthornton> it does seem overly complicated for the task of just displaying a message
[12:00:10] <jthornton> s/com/comp
[12:22:18] <mhaberler> I'll look into it tonight
[12:22:40] <jthornton> thanks
[12:23:21] <mhaberler> I think we should start with a contrib directory to collect stuff users come up with but which isnt necessarily fully supported
[12:23:36] <mhaberler> so it doesnt get lost like much of the stuff
[12:23:41] <jthornton> isn't there a page on the wiki for that?
[12:24:02] <mhaberler> I mean a contrib dir in the git repo, not the wiki
[12:28:10] <jthornton> ah ok something like the hostmot2 repo
[12:29:11] <jthornton> new-comps/good-idea-but-still-broken new-comps/works-but-needs-testing-or-improvments
[12:38:23] -!- mhaberler has quit [Quit: mhaberler]
[12:39:33] -!- tissf has quit [Quit: Page closed]
[12:40:18] -!- tissf [tissf!5a134bdb@gateway/web/freenode/ip.90.19.75.219] has joined #emc-devel
[12:45:03] -!- skunkworks has quit [Ping timeout: 244 seconds]
[12:55:52] <jepler> I just noticed that message.comp has a big GPL license block but then specifies license "LGPL";
[12:56:19] <Jymmm> dual license?
[12:56:57] <jthornton> typo?
[12:59:06] <jepler> additionally, I think that the "LGPL" string doesn't get special treatment and will mark the kernel as tained
[12:59:10] <jepler> tainted
[13:05:57] <jepler> anyway, the reason the autogenerated docs don't document messages= is because the module parameter is not declared with 'modparam' in the header section .. but it can't be, beacuse there's not yet support for RTAPI_MP_ARRAY_STRING parameters anyway so you're doomed
[13:06:01] <jthornton> I'm guessing the only way to pass a string to a comp is on the loadrt line?
[13:07:32] -!- emc_rules has quit [Ping timeout: 252 seconds]
[13:09:53] <jepler> yes
[13:10:10] <jepler> I hesitate because I can imagine other ways, approximately all of them *worse*
[13:10:14] <jepler> modparam dummy messages "A quoted, comma-separated list of messages";
[13:10:36] <jepler> anyway, this ^^ will put something in the SYNOPSIS block but it's still not ideal
[13:10:49] <jthornton> I was just fixing to ask if there was another way
[13:11:27] <jepler> SYNOPSIS
[13:11:27] <jepler> loadrt message [count=N|names=name1[,name2...]] [messages=N]
[13:11:27] <jepler> messages
[13:11:27] <jepler> A quoted, comma-separated list of messages
[13:12:44] <jepler> I doubt 'modparam dummy' is documented, either. and there's no way to change =N to something useful that I can see
[13:14:47] <jthornton> You are correct, I don't see modparam in the HAL docs
[13:17:12] -!- herron_ has quit [Quit: Leaving]
[13:18:31] <jthornton> I see RTAPI_MP_STRING in rtapi_module_param man page so could you have just one message?
[13:21:35] <jthornton> hmmm I found one example using RTAPI_MP_STRING threads.c
[13:23:33] <jepler> RTAPI_MP_ARRAY_STRING and RTAPI_MP_STRING both work afaik .. the question is how to get the best documentation of it in comp autogenerated documentation
[13:24:06] <jthornton> ah ok
[13:24:39] <jepler> bbl, time to go to the office
[13:26:49] -!- JT-Shop has quit [Read error: Connection reset by peer]
[13:26:53] <jthornton> ok
[13:26:54] -!- adb [[email protected]] has joined #emc-devel
[13:26:55] <jthornton> see you later
[13:26:57] -!- JT-Shop_ [[email protected]] has joined #emc-devel
[13:27:00] JT-Shop_ is now known as JT-Shop
[13:32:25] -!- Valen has quit [Quit: Leaving.]
[13:33:20] -!- tissf has quit [Quit: Page closed]
[14:13:41] -!- mhaberler [[email protected]] has joined #emc-devel
[14:19:58] -!- mhaberler has quit [Quit: mhaberler]
[14:26:46] -!- skunkworks [[email protected]] has joined #emc-devel
[14:29:01] -!- bootnecklad` has quit [Ping timeout: 258 seconds]
[14:49:48] -!- tissf [tissf!5a134bdb@gateway/web/freenode/ip.90.19.75.219] has joined #emc-devel
[14:55:33] -!- seb_kuzminsky [[email protected]] has joined #emc-devel
[15:05:26] -!- psha[work] has quit [Quit: Lost terminal]
[15:07:45] -!- mhaberler [[email protected]] has joined #emc-devel
[15:20:13] -!- mozmck [mozmck!~moses@client-173.225.233.215.dfwtx.partnershipbroadband.com] has joined #emc-devel
[15:27:48] -!- servos4ever has quit [Ping timeout: 244 seconds]
[15:49:49] -!- e-ndy has quit [Quit: Ex-Chat]
[16:10:33] -!- psha [[email protected]] has joined #emc-devel
[16:49:17] ries_ is now known as ries
[16:52:05] -!- ve7it [[email protected]] has joined #emc-devel
[16:53:09] -!- bootnecklad_ has quit [Ping timeout: 252 seconds]
[17:02:46] -!- n2diy has quit [Quit: Ex-Chat]
[18:23:50] -!- e-ndy [[email protected]] has joined #emc-devel
[18:29:22] -!- bootnecklad__ has quit [Ping timeout: 260 seconds]
[18:34:18] frysteev is now known as digimer
[18:35:11] digimer is now known as frysteev
[18:51:15] -!- vladimirek has quit [Remote host closed the connection]
[19:07:05] -!- psha has quit [Quit: leaving]
[19:07:53] -!- e-ndy has quit [Ping timeout: 260 seconds]
[19:08:59] -!- e-ndy [[email protected]] has joined #emc-devel
[19:11:42] -!- zlog has quit [Ping timeout: 245 seconds]
[19:12:47] -!- Tom_itx has quit [Ping timeout: 248 seconds]
[19:15:44] -!- IchGucksLive has quit [Quit: ChatZilla 0.9.87 [Firefox 7.0.1/20110928221717]]
[19:16:56] -!- e-ndy has quit [Quit: Ex-Chat]
[19:22:10] -!- tom3p has quit [Ping timeout: 260 seconds]
[19:42:35] -!- bootnecklad_ has quit [Ping timeout: 252 seconds]
[19:47:28] -!- Quack has quit [Ping timeout: 248 seconds]
[19:47:35] -!- Xolotl4 has quit [Quit: Leaving]
[20:10:33] -!- Calyp has quit [Quit: Leaving]
[20:50:54] -!- acemi has quit [Quit: WeeChat 0.3.2]
[21:08:14] -!- syyl_tb has quit [Ping timeout: 252 seconds]
[21:10:24] -!- micges [[email protected]] has joined #emc-devel
[21:11:17] -!- syyl_tb- has quit [Ping timeout: 245 seconds]
[21:15:02] -!- syyl_tb-- has quit [Quit: Verlassend]
[21:34:24] -!- tomp has quit [Quit: Ex-Chat]
[21:35:52] <mhaberler> how do I obtain the privilege of becoming a bug owner on the bugtracker?
[21:37:12] <cradek> what's your sf id?
[21:37:21] <mhaberler> mahsofo
[21:38:23] <mhaberler> thanks
[21:40:10] <micges> mhaberler: re email: iirc this code was resurrected for some reason, but for sure it was to sure that CYCLE_TIME < 0 will run as fast as it can
[21:40:57] <mhaberler> ah, ok, that's what I guessed - burns lots of cycles
[21:41:10] <mhaberler> I wonder if anybody uses that
[21:41:36] <micges> it was used for debug few things but I have memory fail ;)
[21:42:53] <mhaberler> I've just ripped the RCS_TIMER stuff and slid in libev
[21:42:56] <micges> ah yes: test interp list buffering speed (test overall interp + task performance)
[21:43:27] <mhaberler> ok, makes sense then to keep it
[21:43:45] <micges> it's harmless
[21:44:01] <mhaberler> I just wondered - unused vars
[21:46:55] <mhaberler> hm, interesting - that recent patch uncovered that at the end of an MDI command the interpreter state is not properly reset - http://git.linuxcnc.org/gitweb?p=emc2.git;a=commit;h=7d918c8b538db0540758f7a8997d2f50dd6853a2
[21:47:25] <mhaberler> MDI again, jeepers
[21:48:48] <mhaberler> the oword label offsets arent cleared and hang around, so on next MDI command these pop up as already defined
[21:52:00] -!- FinboySlick has quit [Quit: Leaving.]
[21:56:00] -!- motioncontrol has quit [Quit: Sto andando via]
[22:08:17] <mhaberler> well bingo, interp::close is never called at the end of an MDI command
[22:09:25] <cradek> hm, does that reset modals? it might be on purpose...?
[22:09:48] <micges> cradek: hi
[22:09:48] <mhaberler> no, doesnt touch that
[22:11:10] <mhaberler> just clears filepointer and random execution noise, but no machine state
[22:11:21] <cradek> ok
[22:11:28] <cradek> pardon my ignorance
[22:11:41] <mhaberler> I had to look
[22:11:50] <mhaberler> but I see your point
[22:11:57] <micges> cradek: is it ok to you add Polish translations of docs on some of 2.5.x releases?
[22:12:41] <cradek> micges: yes I think so, but I am not sure what packaging changes have to be made. if you can figure that out and test it, putting new translations on v2.5_branch is fine with me.
[22:13:16] <micges> ok thanks
[22:13:22] -!- odiug has quit [Ping timeout: 245 seconds]
[22:13:23] <cradek> I think 2.5 is just waiting on docs, now.
[22:14:02] <micges> heh I know
[22:14:19] <micges> does it waits for something more?
[22:14:26] <cradek> not that I know of
[22:14:46] <cradek> but I still hear lots of yelling about docs on the lists, so it must not be ready :-/
[22:14:56] <JT-Shop> I can make copies and name them _po and sort that all out micges
[22:15:27] <JT-Shop> if you like
[22:15:37] <micges> JT-Shop: yes please
[22:15:47] <micges> and: _pl
[22:16:30] <micges> JT-Shop: files need to end _pl
[22:17:29] <skunkworks> oh - they can yell all they want!
[22:22:20] -!- syyl_ws has quit [Quit: Verlassend]
[22:29:05] -!- skunkworks has quit []
[22:31:48] -!- theorbtwo has quit [Read error: Operation timed out]
[22:34:15] <JT-Shop> ok, _pl it is, I was just guessing about the _po
[22:34:34] -!- bootnecklad__ has quit [Ping timeout: 244 seconds]
[22:35:08] -!- robh__ [[email protected]] has joined #emc-devel
[22:45:16] -!- mhaberler has quit [Quit: mhaberler]
[23:08:02] -!- factor has quit [Read error: Connection reset by peer]
[23:24:12] -!- factor has quit [Ping timeout: 245 seconds]
[23:39:39] -!- cncbasher [cncbasher!~quassel@cpc15-hart9-2-0-cust101.11-3.cable.virginmedia.com] has parted #emc-devel