#linuxcnc-devel | Logs for 2012-07-07

Back
[00:19:17] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[01:07:01] -!- Brandonian has quit [Quit: Brandonian]
[01:17:58] -!- dgarr1 has quit [Remote host closed the connection]
[01:25:42] -!- i_tarzan_ has quit [Ping timeout: 265 seconds]
[01:30:00] -!- kennethj has quit [Ping timeout: 245 seconds]
[01:49:05] -!- toastydeath has quit [Read error: Connection timed out]
[01:49:14] -!- andypugh has quit [Quit: andypugh]
[01:52:01] -!- atom1 has quit [Client Quit]
[02:27:37] -!- i_tarzan has quit [Ping timeout: 240 seconds]
[02:28:58] -!- sumpfralle has quit [Read error: Operation timed out]
[02:41:53] -!- dimas_ has quit [Read error: Connection reset by peer]
[02:53:16] -!- i_tarzan has quit [Read error: Connection reset by peer]
[02:54:47] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[03:02:30] -!- kennethj has quit [Ping timeout: 245 seconds]
[03:23:42] -!- i_tarzan has quit [Read error: Operation timed out]
[03:28:58] -!- tjb1 has quit [Quit: tjb1]
[03:45:06] -!- tronwizard has quit []
[03:48:00] -!- tjb1 has quit [Client Quit]
[03:52:24] -!- iwoj has quit [Quit: Computer has gone to sleep.]
[04:06:07] -!- i_tarzan has quit [Ping timeout: 240 seconds]
[04:31:58] -!- ve7it has quit [Remote host closed the connection]
[04:32:30] -!- 65MAAT15U has quit [Client Quit]
[04:39:50] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[04:55:18] -!- beawesomeinstead has quit [Ping timeout: 244 seconds]
[05:03:42] -!- Fox_Muldr has quit [Ping timeout: 265 seconds]
[05:03:49] <CIA-120> 03cmorley 07v2.5_branch * rba21d264bb2e 10/src/emc/usr_intf/pncconf/pncconf.py: pncconf -fix sserial conversion from XML file
[05:03:51] <CIA-120> 03cmorley 07v2.5_branch * r182631b6cbe7 10/src/emc/usr_intf/pncconf/pncconf.glade: pncconf -add comments about 5i25 requirements
[05:03:51] <CIA-120> 03cmorley 07v2.5_branch * rbb58a5804c4b 10/src/emc/usr_intf/pncconf/pncconf-help/help-mesa.txt: pncconf -update help page about 5i25/7i78
[05:04:15] -!- 17SABKYZR has quit [Quit: Leaving.]
[05:08:16] -!- Keknom has quit [Client Quit]
[05:31:38] -!- linux-cnc-bob has quit [Quit: ChatZilla 0.9.88.2 [Firefox 11.0/20120310193829]]
[05:31:58] -!- i_tarzan has quit [Ping timeout: 246 seconds]
[05:48:43] -!- hm2-buildmaster has quit [Quit: buildmaster reconfigured: bot disconnecting]
[05:48:43] -!- linuxcnc-build has quit [Quit: buildmaster reconfigured: bot disconnecting]
[05:49:51] -!- hm2-buildmaster [hm2-buildmaster!~hm2-build@65-100-142-251.hlrn.qwest.net] has joined #linuxcnc-devel
[05:49:55] -!- linuxcnc-build [linuxcnc-build!~linuxcnc-@65-100-142-251.hlrn.qwest.net] has joined #linuxcnc-devel
[05:58:26] -!- i_tarzan has quit [Ping timeout: 255 seconds]
[06:39:20] -!- morfic has quit [Remote host closed the connection]
[06:47:38] -!- WiillenCMdesign has quit [Ping timeout: 245 seconds]
[07:11:30] -!- i_tarzan has quit [Ping timeout: 264 seconds]
[07:42:09] -!- jpk has quit [Ping timeout: 244 seconds]
[07:47:20] -!- karavanjoW has quit [Read error: Connection reset by peer]
[08:07:48] -!- i_tarzan has quit [Ping timeout: 248 seconds]
[08:09:24] -!- Tom_itx has quit [Ping timeout: 248 seconds]
[08:14:37] -!- Tom_L has quit [Ping timeout: 250 seconds]
[08:20:57] -!- DJ9DJ has quit [Quit: bbl]
[08:39:03] -!- JT-Shop has quit [Read error: Connection reset by peer]
[08:48:28] -!- iwoj has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
[08:53:59] -!- Keknom has quit [Quit: Leaving.]
[08:56:11] -!- DJ9DJ has quit [Remote host closed the connection]
[09:03:11] -!- i_tarzan has quit [Read error: Operation timed out]
[09:59:29] -!- i_tarzan has quit [Ping timeout: 265 seconds]
[10:19:15] -!- ee has quit [Remote host closed the connection]
[10:41:17] -!- rob_h [rob_h!~rob_h@5e046fc1.bb.sky.com] has joined #linuxcnc-devel
[10:56:52] -!- Valen has quit [Quit: Leaving.]
[11:05:07] -!- syyl has quit [Ping timeout: 240 seconds]
[11:05:52] -!- andypugh [andypugh!~andy2@cpc2-basl1-0-0-cust639.basl.cable.virginmedia.com] has joined #linuxcnc-devel
[11:06:04] -!- i_tarzan_ has quit [Read error: Operation timed out]
[11:21:05] -!- jthornton [jthornton!~john@184.20.140.167] has joined #linuxcnc-devel
[11:53:04] -!- sendoushi has quit [Read error: Connection reset by peer]
[12:05:02] -!- beawesomeinstead has quit [Changing host]
[12:05:02] -!- beawesomeinstead has quit [Changing host]
[12:17:32] -!- mhaberler [mhaberler!~mhaberler@193.228.47.147] has joined #linuxcnc-devel
[12:35:01] <CIA-120> 03jthornton 07v2.5_branch * rc510073908e0 10/docs/src/gcode/gcode.txt: Docs: commas are not valid in an asciidoc anchor description
[12:44:19] -!- Poincare has quit [Ping timeout: 265 seconds]
[12:58:24] -!- jthornton has quit [Read error: Connection reset by peer]
[13:03:00] phantoneD is now known as phantoxeD
[13:03:12] -!- DJ9DJ has quit [Quit: brb]
[13:06:31] -!- mhaberler has quit [Quit: mhaberler]
[13:09:55] -!- Poincare has quit [Ping timeout: 265 seconds]
[13:12:30] -!- Poincare has quit [Client Quit]
[13:17:16] -!- joe9 [joe9!~joe9@c-24-126-150-243.hsd1.ga.comcast.net] has joined #linuxcnc-devel
[13:25:05] -!- BenceKovi117 [BenceKovi117!~BenceKovi@polaris.mogi.bme.hu] has joined #linuxcnc-devel
[13:27:06] -!- paideia has quit [Ping timeout: 264 seconds]
[13:28:22] -!- JT-Shop [JT-Shop!~john@184.20.140.167] has joined #linuxcnc-devel
[13:28:27] -!- skunkworks__ [skunkworks__!~chatzilla@str-bb-cable-south-3-102.dsl.airstreamcomm.net] has joined #linuxcnc-devel
[13:28:56] -!- r00t4rd3d_ has quit [Client Quit]
[13:29:30] -!- r00t4rd3d has quit [Ping timeout: 264 seconds]
[13:37:54] -!- syyl_ has quit [Ping timeout: 264 seconds]
[13:37:54] -!- WalterN has quit [Ping timeout: 264 seconds]
[13:38:16] <skunkworks__> logger[psha]:
[13:45:48] -!- andypugh has quit [Read error: Connection reset by peer]
[13:46:09] -!- andypugh [andypugh!~andy2@cpc2-basl1-0-0-cust639.basl.cable.virginmedia.com] has joined #linuxcnc-devel
[14:24:09] -!- karavanjo has quit [Read error: Operation timed out]
[15:20:09] -!- delkin has quit [Quit: On my way.]
[15:22:58] -!- bedah has quit [Quit: bye]
[15:25:49] -!- Roguish [Roguish!~chatzilla@2601:9:1400:73:250:5bff:fe04:62d4] has joined #linuxcnc-devel
[15:33:46] -!- BenceKovi117 has quit [Read error: Connection reset by peer]
[15:33:53] -!- BenceKovi117 [BenceKovi117!~BenceKovi@polaris.mogi.bme.hu] has joined #linuxcnc-devel
[15:36:44] -!- BenceKovi117 has quit [Read error: Connection reset by peer]
[15:37:21] -!- nots has quit [Read error: Operation timed out]
[15:38:43] -!- BenceKovi117 [BenceKovi117!~BenceKovi@polaris.mogi.bme.hu] has joined #linuxcnc-devel
[15:47:03] -!- jthornton [jthornton!~john@184.20.140.167] has joined #linuxcnc-devel
[15:59:53] -!- BenceKovi118 [BenceKovi118!~BenceKovi@polaris.mogi.bme.hu] has joined #linuxcnc-devel
[16:00:14] -!- BenceKovi117 has quit [Read error: Connection reset by peer]
[16:08:11] -!- sendoushi has quit [Read error: Connection reset by peer]
[16:11:04] -!- Musok has quit [Read error: Connection reset by peer]
[16:20:32] -!- sendoushi has quit [Read error: Connection reset by peer]
[16:24:28] -!- JT-Shop has quit [Read error: Connection reset by peer]
[16:24:28] -!- jthornton has quit [Read error: Connection reset by peer]
[16:25:02] -!- jthornton [jthornton!~john@184.20.140.167] has joined #linuxcnc-devel
[16:25:05] -!- JT-Shop [JT-Shop!~john@184.20.140.167] has joined #linuxcnc-devel
[16:39:32] -!- karavanjo has quit [Read error: Connection reset by peer]
[16:42:13] -!- Musok has quit [Read error: Connection reset by peer]
[16:46:26] -!- Tom_itx [Tom_itx!~Tl@unaffiliated/toml/x-013812] has joined #linuxcnc-devel
[16:46:37] -!- Tom_itx [Tom_itx!~Tl@unaffiliated/toml/x-013812] has parted #linuxcnc-devel
[16:46:58] -!- ctjctj [ctjctj!~cjohnson@c-24-62-5-242.hsd1.nh.comcast.net] has joined #linuxcnc-devel
[16:47:36] <ctjctj> Is somebody willing to accept a git patch and forward it to the right places/people? Thank you. (Mods to linuxcncrsh and its man page)
[16:48:02] -!- sendoushi has quit [Read error: Connection reset by peer]
[16:48:35] <JT-Shop> ctjctj, can you post a link to the patches?
[16:50:00] <ctjctj> I cheated JT-Shop, I sent it to you.... Where would I past it?
[16:51:12] <JT-Shop> you can use pastebin.com
[16:51:49] <JT-Shop> ctjctj, I mostly do work on the manuals and sometimes a component or three
[16:53:42] <ctjctj> is this what you are looking for: http://pastebin.com/PG4ubfrV
[16:56:06] <JT-Shop> not quite
[16:56:17] <ctjctj> *listens*
[16:56:20] <JT-Shop> let me find the instructions for making a patch
[16:57:30] <JT-Shop> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Translation#Creating_a_Patch
[16:57:44] <JT-Shop> this is a new computer so I don't have any links set up yet
[17:00:36] <JT-Shop> ctjctj, in any case I'm not qualified to look at your patch perhaps cradek or jepler could look at when you get it prepared
[17:00:59] <ctjctj> doing it now.
[17:06:27] <ctjctj> Will somebody please give me feed back on this mod: http://pastebin.com/AiJYA5j2 Thank you.
[17:08:36] -!- Musok has quit [Read error: Connection reset by peer]
[17:15:13] -!- sendoushi has quit [Read error: No route to host]
[17:15:36] -!- nots has quit [Ping timeout: 252 seconds]
[17:20:38] -!- Musok has quit [Read error: Connection reset by peer]
[17:30:49] -!- karavanjo has quit [Read error: Operation timed out]
[17:37:11] -!- sendoushi has quit [Read error: Connection reset by peer]
[17:43:01] -!- X704 has quit [Ping timeout: 246 seconds]
[17:47:44] -!- karavanjo has quit [Read error: Connection timed out]
[17:52:03] -!- iwoj has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
[18:03:40] -!- Musok has quit [Read error: Connection reset by peer]
[18:04:45] -!- ve7it [ve7it!~LawrenceG@S0106001c10b7770f.pk.shawcable.net] has joined #linuxcnc-devel
[18:05:00] -!- karavanjo has quit [Read error: Connection timed out]
[18:30:33] <JT-Shop> ctjctj, it does look like a proper patch
[18:33:07] -!- sendoushi has quit [Read error: Connection reset by peer]
[18:33:18] <andypugh> As a new feature that would probably go into Master, rather than as a bugfix into 2.5
[18:33:23] -!- stvn has quit [Ping timeout: 272 seconds]
[18:33:40] <ctjctj> andypugh: yes. I agree that the patch is a new feature.
[18:34:04] <andypugh> But I have never used lunuxcncrsh so I don't know how useful any testing I do would be.
[18:36:17] -!- Musok has quit [Remote host closed the connection]
[18:45:14] -!- sumpfralle has quit [Quit: Leaving.]
[18:46:03] -!- LeelooMinai has quit [Read error: Connection reset by peer]
[18:55:35] <ctjctj> It doesn't look like it was used for much more than remote loading of files and such....
[18:56:19] <ctjctj> And I just found another bug in it. If estop == TRUE than you can't set linear_unit_conversion. :-(
[19:00:13] <JT-Shop> sounds like unfinished work to me
[19:03:28] <ctjctj> And another bug...
[19:03:43] -!- LeelooMinai has quit [Remote host closed the connection]
[19:06:00] <ctjctj> programmer was a DOS guy. Added \r\n at the end of some of his strings. Which messes up protocol handlers that do not expect random extra blank lines.
[19:07:33] <ctjctj> No. He's and IDIOT DOS guy. I've got \r\n AND \n\r
[19:16:04] -!- WalterN has quit [Ping timeout: 248 seconds]
[19:18:56] <CIA-120> 03andypugh 07v2.5_branch * r22e0f8fb58f0 10/src/emc/usr_intf/emcrsh.cc: There appears to have been a cut-and-paste error introduced in ded2bcc07ba0a3f0f67460860baaaae67f2cd8eb
[19:33:29] -!- toastydeath has quit [Read error: Connection timed out]
[19:47:24] -!- mhaberler [mhaberler!~mhaberler@193.228.47.147] has joined #linuxcnc-devel
[20:23:30] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[20:28:27] -!- gmagno has quit [Quit: Ex-Chat]
[20:32:39] -!- JT-Shop has quit [Remote host closed the connection]
[20:41:12] <andypugh> ctjctj: Can I suggest that you work with your patched version for a week or so, then I will push the patch when you are confident it hasn't broken anything else.
[20:41:52] <ctjctj> Ok. I'll push it as a single patch including linuxcncmon (perl script to interface with linuxcncrsh)
[20:42:03] <ctjctj> thanks.
[20:47:43] -!- LeelooMinai has quit [Remote host closed the connection]
[20:58:12] <cradek> ctjctj: my only feedback about your patch is to include "config.h" if you don't have it already, and use LINELEN in both places you have 80. The program would have been previously rejected if it had any lines longer than this. I think you could even avoid the strlen and \n test then.
[20:59:48] <cradek> also, you might want to determine program length only once (per program load) and cache it. I can imagine a naive UI calling it over and over to update a %-done display and this might be a slow process on a large file. Program files can easily be several MB.
[20:59:49] <ctjctj> cradek: I think you just said that axis and the other guis have a hard limit on the length of lines in NGC programs?
[21:00:10] <cradek> the NGC interpreter has the hard limit
[21:00:22] <ctjctj> Ok. Thanks. I did not know that.
[21:01:02] <ctjctj> I agree that it is an expensive command, counting lines. Maybe what I should do is look into emcStatus...
[21:01:05] <cradek> http://linuxcnc.org/docs/2.5/html/gcode/overview.html#_format_of_a_line
[21:01:39] <cradek> I think Touchy does this same calculation (but in python) - maybe doing it once and putting it in emcStatus upon program load is the smart thing to do
[21:02:15] <ctjctj> I need to look at how integrated the loading of the program is to emcrsh.
[21:02:19] <cradek> although you'll cause mhaberler a pain in his ass because you won't be including lines from called files in the count
[21:02:48] <ctjctj> *grins* That's why I didn't call it "number of instructions"
[21:03:13] <cradek> %-complete is so useful and so impossible to determine
[21:03:16] <ctjctj> And it isn't going to be all that helpful when the program is 50 lines long but has a loop.
[21:03:26] <cradek> exactly
[21:03:58] <cradek> or when the program is one line that takes an hour to execute
[21:04:08] <ctjctj> On the other hand there are thousands of NGC files that don't have calls and don't have loops. So a stupid partial answer is going to answer the 99% question.
[21:04:40] <ctjctj> What is the saying "Don't let perfect get in the way of good enough"
[21:05:14] <cradek> well by reporting "number of lines" and "current line" you are making no promises that you can't honor
[21:05:49] <cradek> if the user sees 123/1234 that's up to him to interpret (by knowing about the program)
[21:06:14] <cradek> fwiw, I think Touchy just shows those two numbers as well
[21:07:20] <ctjctj> cradek: The second part of this is a perl script linuxcncmon which interfaces via linuxcncrsh to a remote system. It will show line#/#_lines and a progress bar. If the line# starts to bounce it will switch to a pulse bar instead of percentage.
[21:07:34] <cradek> heh
[21:07:45] <cradek> turning it into a progress bar is where the deception starts :-)
[21:08:38] <ctjctj> Absolutely! And a "time to completion" based on percentage completed is an even bigger lie. and LinuxcncMon will do that because it answers the 99% needs.
[21:09:12] -!- DJ9DJ has quit [Quit: bye]
[21:29:10] -!- kennethj has quit [Ping timeout: 245 seconds]
[21:34:20] <ctjctj> cradek: Ok, found the emcStatus message. It does not contain a file length. In fact the file can change out from under the interpreter as it buffers things. I don't see anyway to know if the user has "reloaded" or changed the file from emc
[21:34:27] <ctjctj> emcSTatus.
[21:35:00] <ctjctj> So the code needs to get more complex. We do a stat to determine when the file was last changed and only process it if the file has changed since the last time we read it.
[21:42:44] -!- _abc_ has quit [Ping timeout: 248 seconds]
[21:43:37] -!- sumpfralle has quit [Ping timeout: 240 seconds]
[21:44:15] -!- syyl_ws has quit [Quit: Verlassend]
[21:45:08] -!- Loetmichel has quit [Ping timeout: 245 seconds]
[21:46:39] <cradek> sorry to complicate it. your patch is probably fine without that. it does not hurt anything but emcrsh performance if you do that too often.
[21:47:11] <cradek> I would fix the LINELEN thing though - that's a simple change and seems quite a bit cleaner
[21:49:22] <cradek> andypugh: thanks for fixing my stupid
[21:53:05] -!- joe9 has quit [Quit: leaving]
[21:54:42] -!- sumpfralle1 has quit [Ping timeout: 264 seconds]
[21:55:55] -!- taiden has quit [Read error: Connection reset by peer]
[21:56:02] <ctjctj> cradek: the LINELEN doesn't really make a difference in performance. It is just a safety check. If I was concerned with speed I'd pull in the file via a "read" to a block buffer and then run that buffer with a character pointer counting "\n". I just can't stand the thought of an unlimited read into a buffer.
[21:57:36] <cradek> I only said it was cleaner. If you have a file with a lot of lines over 80 characters, it'll result in fewer calls to read, though, so I guess you could say it's a performance difference
[21:57:52] <cradek> avoiding the strlen is very definitely a performance difference
[21:59:32] -!- tronwizard has quit [Ping timeout: 246 seconds]
[22:00:56] -!- i_tarzan has quit [Ping timeout: 246 seconds]
[22:01:34] <ctjctj> cradek: *laughs* are we really concerned over a quick and dirty implementation of wc -l? Is it something that needs to be optimized? If so then we need to switch to block reads to remove the expense of the copy. Which is likely more expensive than the strlen. We could also just ignore those few lines that are to long to fit in the buffer as a "close counts"
[22:02:30] * cradek shrugs
[22:02:49] <cradek> my review is worth what you paid for it, I'll stop helping
[22:05:03] -!- mhaberler has quit [Quit: mhaberler]
[22:05:43] <ctjctj> cradek: Please don't stop. Just checking if we were really talking about the same thing. And wanting to know if you believe it is worthwhile optimizing that line count routine.
[22:06:23] -!- sumpfralle has quit [Ping timeout: 245 seconds]
[22:07:47] -!- LeelooMinai has quit [Quit: Ex-Chat]
[22:43:10] -!- jieter has quit [Remote host closed the connection]
[22:48:27] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[22:49:31] -!- gmagno has quit [Ping timeout: 255 seconds]
[22:53:30] -!- sumpfralle has quit [Ping timeout: 264 seconds]
[23:12:24] -!- WillenCMD has quit [Ping timeout: 250 seconds]
[23:14:30] -!- vladimirek has quit [Remote host closed the connection]
[23:48:44] <andypugh> cradek: There be something odd with the buildbot. The main page is there, but the links from there appear to have gone funny (unless it is a problem my end).
[23:48:49] <andypugh> "Reason: DNS lookup failure for: 192.168.1.3buildbot"
[23:49:31] <andypugh> Thinking about it, that looks like a proxy problem here, doesn't it?