#linuxcnc-devel | Logs for 2016-06-17

Back
[00:15:55] -!- kalxas has quit [Quit: Goodbye]
[00:21:26] <linuxcnc-build_> build #2378 of 1400.rip-wheezy-i386 is complete: Failure [4failed configuring] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1400.rip-wheezy-i386/builds/2378 blamelist: Jeff Epler <jepler@unpythonic.net>, Dewey Garrett <dgarrett@panix.com>
[00:26:18] <jepler> hm
[00:26:32] -!- skunkworks has quit [Ping timeout: 244 seconds]
[00:30:38] <KGB-linuxcnc> 03Jeff Epler 05joints_axes14 6e93f70 06linuxcnc 10debian/control.in packaging: Removing libXaw stopped indirectly depending on libXmu * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=6e93f70
[00:48:16] -!- Tom_L has quit [Quit: Leaving]
[00:48:33] <linuxcnc-build_> build #4232 of 0000.checkin is complete: Failure [4failed] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/4232 blamelist: Jeff Epler <jepler@unpythonic.net>, Dewey Garrett <dgarrett@panix.com>
[00:51:12] <mozmck> dgarr: thanks!
[01:06:07] -!- kingarmadillo has quit [Ping timeout: 252 seconds]
[01:09:24] -!- andypugh has quit [Quit: andypugh]
[01:16:24] <linuxcnc-build_> build #2379 of 1400.rip-wheezy-i386 is complete: Failure [4failed runtests] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1400.rip-wheezy-i386/builds/2379 blamelist: Sebastian Kuzminsky <seb@highlab.com>
[01:24:20] <linuxcnc-build_> build #4233 of 0000.checkin is complete: Failure [4failed] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/4233 blamelist: Sebastian Kuzminsky <seb@highlab.com>
[01:24:21] <linuxcnc-build_> build forced [ETA 1h08m51s]
[01:24:21] <linuxcnc-build_> I'll give a shout when the build finishes
[01:25:39] -!- kingarmadillo has quit [Ping timeout: 250 seconds]
[01:41:58] -!- skunkworks [skunkworks!~skunkwork@str-broadband-ccmts-ws-26.dsl.airstreamcomm.net] has joined #linuxcnc-devel
[02:13:45] -!- Connor [Connor!~Connor@c-67-187-108-117.hsd1.tn.comcast.net] has joined #linuxcnc-devel
[02:23:20] <seb_kuzminsky> master passes for me on wheezy/uspace
[02:23:28] <seb_kuzminsky> glitchy fucking buildbot
[02:36:24] <jepler> at $DAY_JOB I fixed a weird event-driven-hell problem that has been irritating our automated tests for years, then looked in our collection of externally-generated crash reports and found out it's been eating user data all this time too.
[02:36:55] <jepler> (a 'please wait' type screen pops up, reenters the event loop before it's fully initialized, and then can in rare circumstances try to dismiss itself in this state)
[02:40:43] <linuxcnc-build_> Hey! build 0000.checkin #4234 is complete: Success [3build successful]
[02:40:43] <linuxcnc-build_> Build details are at http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/4234
[02:40:56] <linuxcnc-build_> build #396 of 4017.5.deb-wheezy-armhf is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4017.5.deb-wheezy-armhf/builds/396
[02:47:39] <jepler> it's not your night
[02:47:56] <jepler> linuxcnc-build_: go home, you've overheated
[03:11:38] -!- remstw has quit [Quit: quit]
[03:18:31] -!- kingarmadillo has quit [Ping timeout: 240 seconds]
[03:28:34] -!- GJdan has quit [Remote host closed the connection]
[03:29:04] -!- wtsmer has quit [Quit: quit]
[03:49:33] -!- oishiikata [oishiikata!~oishiikat@115.187.250.164] has joined #linuxcnc-devel
[03:58:11] <linuxcnc-build_> build #3407 of 4007.deb-precise-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4007.deb-precise-i386/builds/3407 blamelist: Jeff Epler <jepler@unpythonic.net>
[04:10:53] <linuxcnc-build_> build #3407 of 4008.deb-precise-amd64 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4008.deb-precise-amd64/builds/3407 blamelist: Jeff Epler <jepler@unpythonic.net>
[04:13:18] <linuxcnc-build_> build #2235 of 4009.deb-precise-rtai-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4009.deb-precise-rtai-i386/builds/2235 blamelist: Jeff Epler <jepler@unpythonic.net>
[04:36:10] <linuxcnc-build_> build #397 of 4017.5.deb-wheezy-armhf is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4017.5.deb-wheezy-armhf/builds/397 blamelist: Jeff Epler <jepler@unpythonic.net>
[04:39:13] <linuxcnc-build_> build #1303 of 4015.deb-wheezy-rtpreempt-amd64 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4015.deb-wheezy-rtpreempt-amd64/builds/1303 blamelist: Jeff Epler <jepler@unpythonic.net>
[04:42:24] <linuxcnc-build_> build #1979 of 4017.deb-wheezy-amd64 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4017.deb-wheezy-amd64/builds/1979 blamelist: Jeff Epler <jepler@unpythonic.net>
[04:43:17] <KGB-linuxcnc> 03Dewey Garrett 05joints_axes14 99c7691 06linuxcnc 10src/Makefile xlinuxcnc removal pkging: del app-defaults/XEmc JA * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=99c7691
[04:44:30] -!- oishiikata has quit [Remote host closed the connection]
[04:44:40] <linuxcnc-build_> build #1268 of 4014.deb-wheezy-rtpreempt-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4014.deb-wheezy-rtpreempt-i386/builds/1268 blamelist: Jeff Epler <jepler@unpythonic.net>
[04:49:50] <linuxcnc-build_> build #1975 of 4016.deb-wheezy-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4016.deb-wheezy-i386/builds/1975 blamelist: Jeff Epler <jepler@unpythonic.net>
[04:55:49] -!- dgarr has quit [Quit: Leaving.]
[04:56:22] <linuxcnc-build_> build #646 of 4022.deb-jessie-amd64 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4022.deb-jessie-amd64/builds/646 blamelist: Jeff Epler <jepler@unpythonic.net>
[04:57:41] <linuxcnc-build_> build #571 of 4019.deb-jessie-rtpreempt-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4019.deb-jessie-rtpreempt-i386/builds/571 blamelist: Jeff Epler <jepler@unpythonic.net>
[05:04:52] <linuxcnc-build_> build #647 of 4021.deb-jessie-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4021.deb-jessie-i386/builds/647 blamelist: Jeff Epler <jepler@unpythonic.net>
[05:07:40] <linuxcnc-build_> build #570 of 4020.deb-jessie-rtpreempt-amd64 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4020.deb-jessie-rtpreempt-amd64/builds/570 blamelist: Jeff Epler <jepler@unpythonic.net>
[05:08:24] <linuxcnc-build_> build #1667 of 4018.deb-wheezy-rtai-i386 is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4018.deb-wheezy-rtai-i386/builds/1667 blamelist: Jeff Epler <jepler@unpythonic.net>
[05:10:03] -!- ve7it has quit [Remote host closed the connection]
[05:13:34] -!- kwallace1 [kwallace1!~kwallace@162.222.30.254] has parted #linuxcnc-devel
[06:40:56] -!- Miner_48er has quit [Quit: Leaving]
[06:43:56] -!- Mathnerd314 has quit [Ping timeout: 272 seconds]
[06:46:32] -!- gaute has quit [Ping timeout: 250 seconds]
[06:54:43] -!- teepee_ [teepee_!~teepee@unaffiliated/teepee] has joined #linuxcnc-devel
[06:55:44] -!- teepee has quit [Ping timeout: 244 seconds]
[06:55:50] teepee_ is now known as teepee
[08:16:13] -!- jellevictoor has quit [Ping timeout: 252 seconds]
[08:22:34] -!- amnesic_away has quit [Ping timeout: 244 seconds]
[08:38:13] -!- rigid has quit [Ping timeout: 252 seconds]
[08:40:58] -!- logger[psha] has quit [Ping timeout: 252 seconds]
[08:42:15] -!- logger[psha]_ [logger[psha]_!~loggerpsh@195.135.238.205] has joined #linuxcnc-devel
[08:42:33] -!- Tristitia has quit [Ping timeout: 276 seconds]
[08:42:47] -!- Patang has quit [Ping timeout: 240 seconds]
[08:42:48] -!- rkj has quit [Ping timeout: 240 seconds]
[08:42:56] -!- The_Ball has quit [Disconnected by services]
[08:43:00] TheBall is now known as The_Ball
[08:43:06] -!- HSD has quit [Ping timeout: 252 seconds]
[08:43:06] -!- rigid has quit [Ping timeout: 252 seconds]
[08:43:07] -!- logger[psha] has quit [Ping timeout: 252 seconds]
[08:43:12] -!- sheppard has quit [Ping timeout: 276 seconds]
[08:55:40] -!- MattyMatt has quit [Ping timeout: 272 seconds]
[09:10:13] -!- Akex_ has quit [Changing host]
[09:19:03] -!- FloppyDisk has quit [Ping timeout: 264 seconds]
[09:25:10] Jymm is now known as Jymmm
[09:27:03] -!- Crom has quit [Ping timeout: 240 seconds]
[09:46:48] -!- jthornton [jthornton!~john@198.45.191.246] has joined #linuxcnc-devel
[09:48:03] -!- jellevictoor has quit [Ping timeout: 240 seconds]
[10:21:54] -!- gaute has quit [Ping timeout: 250 seconds]
[10:54:17] -!- Einherjer [Einherjer!~einherjer@69.64.40.177] has joined #linuxcnc-devel
[11:03:45] <KGB-linuxcnc> 03John Thornton 052.7 26c9434 06linuxcnc 10docs/src/getting-started/getting-linuxcnc.txt Docs: add some detail so new users don't have to guess * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=26c9434
[11:06:29] -!- akex2 has quit [Quit: Connection closed for inactivity]
[11:08:40] -!- wtsmer has quit [Quit: quit]
[11:10:12] -!- MrFluffy has quit [Ping timeout: 246 seconds]
[11:11:44] -!- kingarmadillo has quit [Ping timeout: 260 seconds]
[11:11:47] -!- wtsmer has quit [Client Quit]
[11:13:03] -!- skunkworks has quit [Ping timeout: 244 seconds]
[11:14:45] -!- Deejay has quit [Ping timeout: 258 seconds]
[11:15:04] wtsmer is now known as remstw
[11:38:18] -!- ikcalB [ikcalB!~ikcalB@mail.team-electronics.com] has joined #linuxcnc-devel
[11:40:47] <ikcalB> hey guys, I'm trying to port old sim-preview code, for our new HMI. what about /usr/include/linuxcnc/rs274ngc_interp.hh !? is this file not installed by accident - because it's still available in the sources 'emc/rs274ngc/rs274ngc_interp.hh'
[11:43:05] <ikcalB> what I'm missing, is the class definition for `class Interp: public InterpBase` which is now only `class Interp;` in 'rs274ngc.hh'
[11:50:42] <linuxcnc-build_> build #1270 of 4014.deb-wheezy-rtpreempt-i386 is complete: Failure [4failed shell_1] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4014.deb-wheezy-rtpreempt-i386/builds/1270 blamelist: John Thornton <bjt128@gmail.com>
[11:53:41] -!- skunkworks [skunkworks!~skunkwork@68-115-41-210.static.eucl.wi.charter.com] has joined #linuxcnc-devel
[12:06:31] -!- skunkworks_ [skunkworks_!~skunkwork@68-115-41-210.static.eucl.wi.charter.com] has joined #linuxcnc-devel
[12:07:33] <skunkworks_> Dad got the z axis back together and all the wiring hooked back up. I booted up the computer and started linuxcnc.. could not find the mesa card at 10.10.10.10
[12:07:54] <skunkworks_> went over to it - finally noticed it had the pwr fail led on
[12:08:05] <skunkworks_> replaced the power supply and still power fail..
[12:08:47] <skunkworks_> unplugged the 7i48 - then the 7i80 came up..
[12:09:18] <skunkworks_> started unplugging the encoders from the 7i48 - spindle encoder was causing the short.
[12:10:33] <skunkworks_> pulled the board out - and while we had it out - a piece of greasy carbon was between the + and - of the circuit board.
[12:10:58] <skunkworks_> wire brushed it and everything came back up.
[12:11:01] <skunkworks_> go figure
[12:11:25] <skunkworks_> I think it has been shorted out for at least a few days... Mesa equipment is awesome...
[12:11:57] <ikcalB> kind of solved it, like in gcodemodule.cc: `static InterpBase *pInterp;\#define interp_new (*pInterp)` - still idk whether this is acceptable, as I'm far away from understanding internals yet
[12:12:11] <skunkworks_> (This machine milled electrodes for edms in its previous life)
[12:13:15] <jepler> ikcalB: what version of linuxcnc did you last build against?
[12:14:28] amnesic_away is now known as amnesic
[12:15:59] <ikcalB> jepler: where the old HMI successfully built against? finding that out would take a couple of mins - still it was around 2013 (took this project from a collegaue, sry that im so vague)
[12:17:17] <jepler> OK, so this change in what is in our headers may not be recent at all.
[12:19:59] <jepler> anyway it may be as simple as including a new header in the list of headers that are supposed to be installed. However, since this may have silently been broken for as long as 3 years, I think it would also be a good idea to add a test to our automatic tests, to make sure that a program can declare an interpreter object using only our public headers.
[12:21:36] <ikcalB> jepler: tnx for the info, that'd ofc be the final solution.
[12:22:02] <jepler> If you do the work, please make a pull request on github with the needed changes in linuxcnc
[12:22:47] <jepler> if you look at tests/build/ui this is a test which we use to make sure that it is possible to build NML-using software outside of our source tree
[12:23:16] <jepler> I would use that style to write a test to make sure it's possible to build Interp-using software outside our source tree
[12:23:58] <jepler> it will probably have to contain a lot of CANON_CALL_IMPLEMENTATIONS_THAT_DO_NOTHING(...) {}
[12:24:49] <ikcalB> jepler: this is (unfortunately) only a quick-n-dirty fix of very ugly code. I'm planning to write a clean hmi, where I'm surely going to do so, though (not @ my current employer, probably)
[12:26:48] <jepler> I sympathize, it often feels like there's not time to do things "right".
[12:27:07] <jepler> afk
[12:36:50] <ikcalB> tnx for carying, in a nutshell!
[12:37:00] <ikcalB> caring* O.o
[12:47:04] -!- gaute has quit [Ping timeout: 250 seconds]
[12:52:20] <jepler> ikcalB: I think maybe you need: InterpBase *b = interp_from_shlib("librs274.so");
[12:52:36] -!- jellevictoor has quit [Quit: Leaving]
[12:53:08] <ikcalB> jepler: very well possible. debugging a segfault right now. testing...
[12:56:21] <ikcalB> jepler: i get an undefined reference. (also have got this, after including 'linuxcnc/canon.hh' for using `knot_vector_creator()`) - senior told me, headers & libs out of sync - still I' think I've got something diffrent wrong
[12:57:08] <jepler> that symbol has something to do with NURBS (G5.x codes in linuxcnc)
[12:57:49] <ikcalB> yes. generally speaking: I mean getting undefined references, just because using a non member function.
[12:58:16] <ikcalB> (for the moment i didnt want to bother anyone, we dont use nurbs. just commented out that part of the preview)
[13:02:09] <jepler> yeah it is looking like a rabbit hole from my POV
[13:04:02] <jepler> no, interp_from_shlib("librs274.so") does not work
[13:04:55] <ikcalB> what would i have to link against? the current config (automake, using libtool) does only link: /usr/lib/linuxcnc{.a,ini.so,hal,so,} and /usr/lib/nml.so - is there some lib missing?
[13:06:33] <jepler> gcc uib.cc -I /usr/include/python2.7 -I local/src/linuxcnc/include -L local/src/linuxcnc/lib -lrs274 -Wl,-rpath,`readlink -f local/src/linuxcnc/lib` && ./a.out
[13:06:40] <jepler> this is my little test I am working on
[13:12:12] <ikcalB> wow. thank you for your time. still im unable to follow these undefined refs...
[13:18:35] <jepler> https://emergent.unpythonic.net/files/sandbox/uib.cc -- this works, at least when built against a source directory, after applying a simple patch to define the makeInterp function
[13:19:29] <ikcalB> jepler: very well possible making a noob mistake here: `nm --demangle /usr/lib/lib{linuxcnc,nml}* | grep shlib` does not show this function to be in those libraries!?
[13:19:35] -!- jefrite has quit [Ping timeout: 260 seconds]
[13:23:42] <ikcalB> does this mean, I'd have to build against the source tree - correct?
[13:24:56] <ikcalB> going to try your approach on monday, if you don't mind? should have left already
[13:32:06] -!- Roguish [Roguish!~chatzilla@c-50-143-183-159.hsd1.ca.comcast.net] has joined #linuxcnc-devel
[13:45:38] -!- lair82 has quit [Quit: Leaving]
[13:51:00] amnesic is now known as amnesic_away
[13:51:33] -!- mikeh00 has quit [Read error: Connection reset by peer]
[13:52:29] -!- Almis90 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
[13:52:35] amnesic_away is now known as amnesic
[13:57:21] <jepler> ikcalB: right, it only works after applying the patch https://emergent.unpythonic.net/files/sandbox/uib.cc
[13:57:27] <jepler> err https://emergent.unpythonic.net/files/sandbox/0001-WIP-rs274-implement-makeInterp-for-external-users-of.patch
[13:58:18] <ikcalB> jepler: got that. mny mny thanks, going to report back!
[14:02:30] amnesic is now known as amnesic_away
[14:09:31] -!- ikcalB has quit [Quit: WeeChat 1.5]
[14:12:19] -!- DaPeace has quit [Read error: Connection reset by peer]
[14:20:28] uwe__ is now known as uwe_
[14:25:32] amnesic_away is now known as amnesic
[14:32:07] -!- Roguish has quit [Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805]]
[14:33:43] <seb_kuzminsky> lol xkcd today
[14:37:16] <jepler> https://emergent.unpythonic.net/files/sandbox/hack-uib.cc is the terrible terrible hacked-up version that works against unmodified 2.7.x
[14:38:11] <seb_kuzminsky> just dont show it to the builbot
[14:38:14] <seb_kuzminsky> my garage will melt
[14:38:16] <seb_kuzminsky> bbl
[14:43:52] -linuxcnc-github:#linuxcnc-devel- [13linuxcnc] 15jepler opened pull request #74: tests: hm2-idrom: exit early when a test fails (062.7...06jepler/2.7/test-hm2-idrom) 02https://github.com/LinuxCNC/linuxcnc/pull/74
[14:46:31] -linuxcnc-github:#linuxcnc-devel- [13linuxcnc] 15jepler opened pull request #75: Jepler/2.7/external rs274 (062.7...06jepler/2.7/external-rs274) 02https://github.com/LinuxCNC/linuxcnc/pull/75
[14:54:28] -!- kwallace [kwallace!~kwallace@162.222.30.254] has joined #linuxcnc-devel
[14:54:30] <skunkworks_> pcw_home, can you thread with a single index with mesa if you tie the index to A and set it count mode to true?
[14:54:56] <jepler> eewh just don't
[14:54:57] <skunkworks_> (not that I am going to say anything - because he does have a 100 line encoder...)
[14:55:12] <skunkworks_> heh
[14:55:25] <KGB-linuxcnc> 03Dewey Garrett 052.7 48ea609 06linuxcnc 10lib/python/pyngcgui.py pyngcgui.py: chk for gcmc if not in ini on 1st use * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=48ea609
[14:57:11] -!- dr0w has quit [Quit: Leaving]
[15:09:01] <pcw_home> Not currently because the hardware encoder driver does not support interpolated position
[15:10:08] <pcw_home> you can do it with the encoder comp but that likely requires a base thread
[15:12:56] <pcw_home> I guess 1 count/turn threading will work OK if you have a stable spindle speed but seems pretty iffy
[15:14:40] -!- ivansanchez has quit []
[15:24:47] -!- Mathnerd314 [Mathnerd314!~quassel@supertux/Mathnerd314] has joined #linuxcnc-devel
[15:29:03] amnesic is now known as amnesic_away
[15:30:19] -!- morbo has quit [Remote host closed the connection]
[15:36:25] -linuxcnc-github:#linuxcnc-devel- [13linuxcnc] 15SebKuzminsky commented on issue #74: Missing SOB. 02https://github.com/LinuxCNC/linuxcnc/pull/74#issuecomment-226802814
[15:38:32] -linuxcnc-github:#linuxcnc-devel- [13linuxcnc] 15SebKuzminsky commented on issue #75: This is welcome in 2.7. Fixing the comment in use-rs274.cc is optional. Merge when ready. 02https://github.com/LinuxCNC/linuxcnc/pull/75#issuecomment-226803386
[15:47:13] -!- plpower has quit [Quit: ChatZilla 0.9.92 [Firefox 46.0/20160425115534]]
[15:47:36] <KGB-linuxcnc> 03Jeff Epler 052.7 d564572 06linuxcnc Merge branches 'jepler/2.7/external-rs274' and 'jepler/2.7/test-hm2-idrom' into 2.7 * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=d564572
[15:48:18] -linuxcnc-github:#linuxcnc-devel- [13linuxcnc] 15cradek closed pull request #75: Jepler/2.7/external rs274 (062.7...06jepler/2.7/external-rs274) 02https://github.com/LinuxCNC/linuxcnc/pull/75
[15:48:32] <KGB-linuxcnc> 03Jeff Epler 05master edfcb03 06linuxcnc 10lib/python/pyngcgui.py 10src/emc/rs274ngc/rs274ngc_pre.cc Merge remote-tracking branch 'origin/2.7' * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=edfcb03
[15:49:23] <seb_kuzminsky> is that our first octopus?
[15:49:36] <jepler> maybe, I don't use them often
[15:49:46] <seb_kuzminsky> right, because you're not crazu
[15:49:58] <jepler> :-P
[15:50:06] <jepler> what's wrong with octopus?
[15:50:12] <jepler> even worse for bisecting than merging?
[15:50:55] -linuxcnc-github:#linuxcnc-devel- [13linuxcnc] 15SebKuzminsky opened issue #76: Consolidate "how to build" docs 02https://github.com/LinuxCNC/linuxcnc/issues/76
[15:51:10] <seb_kuzminsky> more potential for merge conflicts
[15:51:22] <seb_kuzminsky> i bet youre right the bisect gets harder too
[15:53:33] -linuxcnc-github:#linuxcnc-devel- [13linuxcnc] 15jepler commented on issue #33: @nicokid when you get a chance, please look at #71 where I've fixed the signed-off-by for you. If that looks OK to you, I am prepared to merge it into our master branch. 02https://github.com/LinuxCNC/linuxcnc/pull/33#issuecomment-226807404
[15:55:10] <jepler> I'm also hoping to hear trasz_ give some comments on those portability PRs I entered
[15:56:53] <jepler> seb_kuzminsky: what do you think about making it possible to have buildbot build a ref that is on an arbitrary github repo?
[15:57:24] <jepler> on the one hand it's clearly an enormous security flaw
[15:59:24] <seb_kuzminsky> yeah, especially since part of our build runs as root
[15:59:28] <seb_kuzminsky> sudo make setuid
[16:00:00] <seb_kuzminsky> i told myself it was ok since only folks with push access to glo could infect my home network
[16:00:19] <seb_kuzminsky> i'd prefer to keep it that way, sorry
[16:00:22] <jepler> I understand
[16:00:30] <seb_kuzminsky> push to glo and i'll build whatever you want
[16:00:54] <seb_kuzminsky> bbl work
[16:01:17] <jepler> if you are lucky and get a thousand spare tuits, maybe you can have a fresh VM instance you spin up for each build where you don't care if some jerkface runs something as root
[16:01:24] <jepler> yeah that too
[16:01:57] -!- oc2k1 has quit [Ping timeout: 276 seconds]
[16:14:20] -!- erve has quit []
[16:31:31] -!- teepee_ [teepee_!~teepee@unaffiliated/teepee] has joined #linuxcnc-devel
[16:32:18] -!- teepee has quit [Ping timeout: 272 seconds]
[16:32:18] teepee_ is now known as teepee
[16:39:38] -!- rigid_ has quit [Changing host]
[16:39:40] rigid_ is now known as rigid
[16:51:01] -!- gkwhc has quit [Ping timeout: 250 seconds]
[16:57:31] -!- Komzzzpa has quit [Ping timeout: 240 seconds]
[17:06:01] -!- sel [sel!~sel@net77-43-27-64.mclink.it] has joined #linuxcnc-devel
[17:20:44] -!- sel has quit [Quit: Leaving]
[17:40:50] <linuxcnc-build_> build #1983 of 4017.deb-wheezy-amd64 is complete: Failure [4failed shell_1] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4017.deb-wheezy-amd64/builds/1983 blamelist: Jeff Epler <jepler@unpythonic.net>
[17:43:03] -!- _1SheYode has quit [Ping timeout: 264 seconds]
[17:54:28] <JT-Shop> PCW_: on a 7i76e with W2 down and W3 up is the card address 10.10.10.10 like the 7i92?
[18:00:49] <PCW_> Yes
[18:01:40] <PCW_> ( unless you change the 10.10.10.10 to something else )
[18:02:05] <JT-Shop> thanks
[18:04:41] <PCW_> that is, there is a fixed 192.168.1.121 IP address (both jumpers down) and a programmable IP address
[18:04:43] <PCW_> ( jumpers left to right = down,up ) the programmable address is set to 10.10.10.10 when cards are initialized here
[18:06:44] <PCW_> this is the same on all of our Ethernet FPGA cards
[18:08:30] <JT-Shop> Thanks
[18:21:02] -!- pandeiro has quit [Remote host closed the connection]
[18:24:05] -!- skunkworks has quit [Ping timeout: 260 seconds]
[18:31:01] -!- DaPeace1 has quit [Read error: Connection reset by peer]
[18:32:11] -!- nofxx has quit [Changing host]
[18:41:20] -!- andypugh [andypugh!~andypugh@cpc14-basl11-2-0-cust1010.20-1.cable.virginm.net] has joined #linuxcnc-devel
[18:41:41] <andypugh> I wonder what SET_FEED_REFERENCE does?
[18:44:05] <Tom_itx> i dunno but someone seems to be using it here: https://forum.linuxcnc.org/forum/20-g-code/29866-use-of-step-nc-with-linuxcnc?start=10
[18:44:19] <jepler> it appears that there are two defined values, CANON_XYZ and CANON_WORKPIECE
[18:44:46] <jepler> so it probably has something to do with (not implemented) F-numbers that are about actual movement in space of the controlled point
[18:54:22] <jepler> fwiw in master branch (v2.7.4-513-gedfcb03) configs/sim/axis/canterp.ini does work for me
[18:54:49] <jepler> the sample program it loads configs/sim/axis/canterp_example.can does produce a preview, and also does something when run
[18:55:54] <jepler> so one possibility is that it's broken in the package but not for RIPs
[18:56:27] <jepler> no, hmm, looks like arceye is using a RIP too
[18:59:00] <jepler> but in any case the format has two leading, ignored fields and seems to use space instead of comma for separator
[19:00:03] -!- MrSunshine has quit [Ping timeout: 276 seconds]
[19:06:38] -!- kingarmadillo has quit [Ping timeout: 250 seconds]
[19:07:30] -!- pandeiro has quit [Ping timeout: 250 seconds]
[19:09:07] <andypugh> I ws wondering about useing SET_FEED_REFERENCE to decide which spindle was used in FPR mode. But decided against it.
[19:09:52] <andypugh> I am beginning to wish I hadn’t started, it isn’t like I actually have mutliple spindles, I just wanted to add spindles to the home sequence)
[19:11:57] <andypugh> I am wondering what is special about the D-word. Have you noticed that there is a _flag and a _number for all the spare letters, except for D-words which have d_flag and d_number_float
[19:13:31] -!- bearer has quit [Quit: Page closed]
[19:13:39] <andypugh> Here they are: https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/rs274ngc/interp_internal.hh#L376
[19:14:45] -!- mikeh00 has quit [Read error: Connection reset by peer]
[19:14:51] <andypugh> I am half-tempted to “fix” that
[19:15:07] <jepler> back in 2007....
[19:15:12] <jepler> - int d_number;
[19:15:12] <jepler> + double d_number_float;
[19:15:12] <jepler> + ON_OFF d_flag;
[19:15:35] <jepler> so I am *guessing* that this was somehow my idea of a way to make sure I fixed all sites that expected the d-number to be an integer
[19:15:42] <jepler> since they would all become compile errors
[19:15:54] <andypugh> I guess that the other flags might have been ints back then?
[19:16:07] <jepler> d877ee4 implement G41.1, G42.1 (tool radius compensation with dynamic radius and orentation) change G43 H-1 to G43.1 (tool length compensation with dynamic lengths)
[19:16:37] <andypugh> But that doesn’t really make sense, lots of the numbers are potentially not-int
[19:16:40] <jepler> ON_OFFs seem to have gotten converted to bools in 2010, if that's what you mean
[19:17:07] -!- nofxx has quit [Read error: Connection reset by peer]
[19:17:08] <andypugh> No, I meant “number” and typed “flag"
[19:17:12] <jepler> oh
[19:18:35] <andypugh> Anyway, it’s not actually a problem, I just got caught out by an assumption.
[19:19:22] <andypugh> There _might_ be an argument for having a _number and _number_float for every letter, parsed from the text file in different ways.
[19:19:54] <andypugh> But as it has so-fat not caused any known bugs, probably not.
[19:20:06] <jepler> I don't mind seeing it renamed for consistency, fwiw
[19:21:21] <andypugh> I will add it to the list. (an actual piece of paper)
[19:24:45] -!- MrSunshine_ has quit [Ping timeout: 276 seconds]
[19:42:31] -!- skunkworks_ has quit [Read error: Connection reset by peer]
[19:51:04] <andypugh> This code is laid out a bit funny: https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/rs274ngc/interp_cycles.cc#L1090
[19:52:09] <andypugh> I there any reason not to make it look more normal? I am wondering if the lack of line-end ; characters is important to the CYCLE_MACRO in some way?
[19:53:56] -!- remstw has quit [Quit: quit]
[19:56:34] <andypugh> Though even that wouldn’t explain the split between settings-> and cycle_p=block->p_number.
[19:56:44] <andypugh> However, an awful lot of the lines look like that.
[19:57:38] <andypugh> (I am only talking about reformatting the bits that I am changing)
[20:13:48] -!- chupacabra has quit [Ping timeout: 250 seconds]
[20:26:55] -!- yasnak has quit [Quit: rq]
[20:34:19] -!- chopper79 has quit [Ping timeout: 252 seconds]
[20:36:20] -!- xentity1x has quit [Ping timeout: 258 seconds]
[20:45:04] <jepler> I would change CYCLE_MACRO so that it has to be followed by a ;, just as though it were any old statement in C(+))
[20:45:07] <jepler> C(++)
[20:45:55] <andypugh> Ah, right, so it currently can’t be follwed by a ; ?
[20:46:01] <jepler> using the do { ... } while(0) style in the macro just above it in interp_internal.hh
[20:46:43] <andypugh> Given that I put in a whole bunch of ; during my edits, I reckon I will have to do that. THough it compiles.
[20:47:04] -!- ravenlock has quit [Ping timeout: 258 seconds]
[20:47:58] <jepler> I'm not sure why what would normally be on the next line has gotten "pulled up" on to the same line as CYCLE_MACRO in so many places
[20:48:05] <jepler> maybe a code-autoformatter gone wild?
[20:49:08] <andypugh> That was my guess
[20:49:27] <andypugh> Will the ; and line breaks I added cause propblems?
[20:49:56] <andypugh> (I would be surprised, but compiler macros have done that before)
[20:50:30] <jepler> I hesitate to say "absolutely not", but I think once you fix the compiler errors probably all will be fine
[20:51:04] <andypugh> The file now compiles without errors or warnings, with my edits.
[20:51:20] <jepler> this is the "why" of do-while-0, if you care: http://stackoverflow.com/questions/257418/do-while-0-what-is-it-good-for/257425#257425
[20:51:55] -!- MrSunshine has quit [Ping timeout: 252 seconds]
[20:52:58] -!- Frank_11 has quit [Quit: Nettalk6 - www.ntalk.de]
[20:55:08] -!- chopper79 has quit [Ping timeout: 272 seconds]
[20:58:49] <andypugh> Sounds like I ought to be OK, as the macro is typically wrapped in a case rathe than single-line if
[21:00:43] <andypugh> So I don’t _think_ that the second(+) parts will fall out of the layer.
[21:06:14] -!- chupacabra has quit [Ping timeout: 250 seconds]
[21:08:08] -!- Deejay has quit [Quit: bye]
[21:09:40] <andypugh> jepler: If you are there, I now have an even more baffling (to me) compile error. I think it is my unfamiliarity with C++
[21:11:24] <jepler> andypugh: I am here
[21:13:12] <andypugh> http://codepad.org/Rj03n0i3
[21:13:54] <andypugh> So, the things I made into arrays cause errors, but things which look the same that were already there, don’t.
[21:13:55] -!- skunkworks [skunkworks!~skunkwork@str-broadband-ccmts-ws-26.dsl.airstreamcomm.net] has joined #linuxcnc-devel
[21:14:58] <jepler> the line init_once(0) is the last line of the "initializer list" of setup_struct
[21:15:44] <jepler> so take for example when you changed the member spindle_mode from a single thing to an array of 8
[21:15:52] <jepler> now this initializer doesn't make sense:
[21:15:53] <jepler> spindle_mode(CONSTANT_RPM),
[21:16:40] <andypugh> Right, OK.
[21:17:07] <andypugh> So the initialiser needs to match the layout of the other “thing”
[21:17:26] <andypugh> I almost see it now.
[21:17:38] -!- jepler_ [jepler_!~jepler@emc/developer/pdpc.professional.jepler] has joined #linuxcnc-devel
[21:17:41] <jepler_> hm my home network just flaked out
[21:17:58] <jepler_> andypugh: anyway
[21:18:03] <andypugh> Wierd, you joined without leaving
[21:18:03] <jepler_> SPINDLE_MODE spindle_mode[EMCMOT_MAX_SPINDLES];// CONSTANT_RPM or CONSTANT_SURFACE
[21:18:11] <jepler_> not sure what I said before I got cut off, but the error is about things in the initializer list of the class
[21:18:27] <andypugh> Yes, I think I see it now.
[21:18:29] <jepler_> my home internet picked that moment to freak out. I'm now connected from some other internet.
[21:19:16] <andypugh> I can copy the format of other array initialisers. (ie, I don’t need to understand it to do it ;-)
[21:19:30] <jepler_> like these
[21:19:31] <jepler_> parameters{},
[21:19:38] <jepler_> that sets it to all "zeros"
[21:20:13] <jepler_> it is lucky for us that CONSTANT_RPM happens to be zero, because it is the first item specified in enum SPINDLE_MODE
[21:20:17] <andypugh> I was interpreting init_once(0) as a function call, I think. C++ syntax has a great capacity to puzzle me. And as for boost::python…
[21:20:44] <jepler_> indeed
[21:21:20] <jepler_> spindle_turning is an interesting case
[21:21:42] <jepler_> it is set to 0 in the initializer list, but the valid values seem to be 1, 2 or 3 (CANON_STOPPED, etc)
[21:21:52] <jepler_> anyway afk, hope this gets you on track again!
[21:21:53] -!- jepler_ has quit [Client Quit]
[21:22:06] <jepler> oh hey this machine came back. yay.
[21:23:57] <jepler> if you need to fill an array with a non-0 value, you would have to go down to the {} just below init_once and use std::fill
[21:24:08] <jepler> for example
[21:24:09] <jepler> init_once(0)
[21:24:09] <jepler> {
[21:24:09] <jepler> std::fill(active_g_codes, std::end(active_g_codes), 97);// this is nonsense
[21:24:12] <jepler> }
[21:24:55] <jepler> personally I would still leave active_g_code{} in the initializer list
[21:24:57] <andypugh> Luckily for me zero is fine.
[21:25:29] <jepler> you could also write {97,97,/*total of MAX_SPINDLES times*/} but that will NOT be a compile error when MAX_SPINDLES changes, I don't think...
[21:25:36] <andypugh> I wrote this line of code with absolutely no idea what it does, just by copying the one above:
[21:25:38] <andypugh> +typedef pp::array_1_t< EMC_SPINDLE_STAT, EMCMOT_MAX_SPINDLES> spindle_array, (*spindle_w)( EMC_MOTION_STAT &m );
[21:26:19] <jepler> oh yeah, that stuff is nonsense I failed to really decypher either
[21:27:02] <andypugh> I guess a lot of too-clever macro expansions happen to it.
[21:27:41] <jepler> the presence of <> means you should switch from grousing that macros can be hard to understand to grousing that templates are hard to understand :)
[21:27:44] <andypugh> hmm, should I perhaps have defined it as array_2_t ?
[21:28:38] <andypugh> Job1: Make it compile. Job3: Test it.
[21:28:46] -!- Duc has quit [Ping timeout: 250 seconds]
[21:30:38] <jepler> I thought job 1 was quality
[21:31:15] <andypugh> I survived an ISO9001 audit on tuesday, by being away from my desk.
[21:32:31] <andypugh> We were debating whether ISO9001 was even applicable to our job, which is R&D and therefore much of what we do is done for the first time.
[21:36:39] <jepler> that inspires me to reimagine the ten plagues as taking place in a cubicle farm
[21:37:11] <jepler> you know, Moses went to Management and said: Let my People Go. But the Consultant hardened the Manager's heart.
[21:37:39] <jepler> And so Moses stretched out his hand, and a plague of software defects sprang up, and ate the productivity of the developers who dwelt in the land...
[21:38:29] <andypugh> My supervisor seemed almost serious today when he said “do you want to not bother coming in next week?”
[21:38:34] <jepler> finally, the Angle (sic) of ISO 9001 Compliance visits the land, killing the firstborn project of every software engineer, except those who had decorated the entrance to their cubicle with those irreverent office comics
[21:38:58] <jepler> and then Moses leads the Chosen Developers across the Red Sea to the Promised Startup
[21:39:18] <andypugh> You should probably work on that, it’s got promise
[21:39:28] <jepler> don't tempt me :)
[21:41:20] <andypugh> The car we expected in March, that they started to build in April, finally arrived last Tuesday. It arrived without the keys.
[21:41:53] <andypugh> The keys have been lost en-route from the USA (the car cost at least 200k to build and 10k to ship)
[21:42:24] <andypugh> There are 6 of us in our team, who can not do anything useful without the car. And have been idle since October.
[21:42:32] <jepler> that's awful
[21:42:56] <jepler> picking the lock / bypassing the key can't be that hard can it?
[21:42:58] <andypugh> It’s good for LinuxCNC forum support
[21:43:16] <andypugh> It’s an RFID chip type of key
[21:43:22] <jepler> oh :(
[21:43:44] <jepler> I am old enough that I think a key is an artifact made out of metal, and the important structures are all naked-eye visible
[21:44:10] <andypugh> Tempted to make one of these: http://www.instructables.com/id/A-Universal-RFID-Key/
[21:44:55] <jepler> just hotwire the dang car and get on with your job!
[21:45:38] <andypugh> Unfortunately car security is now so good that even the manucaturers can’t bypass it.
[21:46:35] <andypugh> We _think_ we can make a new key. Or we can replace all the modules with a matched pair and new key. (frankly we don’t care what that costs)
[21:47:28] <jepler> as well you shouldn't
[21:47:58] <andypugh> But we can’t buy more time. We are actually still expected to produce a config to run the next batch/level fo cars by the 27th June. That was pretty tight with a March delivery. Just crazy from here.
[21:49:10] <andypugh> The really depressing part? My employer is doing really well, all the others must be _even_worse_
[21:49:23] <jepler> :-/
[21:49:31] <jepler> that is a sobering thought
[21:49:44] <andypugh> Isn’t it?
[21:50:12] <andypugh> You have to be huge to make cars. And no huge companies work anywhere near efficiently.
[21:50:33] <jepler> I don't think the small ones do necessarily either
[21:50:52] <andypugh> It makes you wonder if manufacturoing, for example, interstellar spacecraft, is even possible.
[21:51:55] <jepler> yeah
[21:52:07] <andypugh> Maybe the organisation big enough to make a Ian M Banks-style GCU would be too big to even manage to make enough coffee for the staff.
[21:52:54] <jepler> sadly I think you're really onto something
[21:53:06] <jepler> that's why to get real space opera we also need post-human AIs
[21:54:39] <andypugh> Who were, of course, the best characters in the Banks novels
[21:55:26] <jepler> so you think it's even worse than: with N people, you can make stuff of complexity log N (say); you think there's a maximum N, and beyond that size organization the total output actually decreases the more people you add?
[21:56:48] <andypugh> I fear that is the case, yes
[21:57:11] <andypugh> Have you worked in a huge organisation?
[21:57:45] <jepler> While I was at university, I was an intern working for a sysadmin in a federal government office
[21:58:02] <andypugh> The problem ends up being finding out who is in charge of the widget that isn’t working in you meta-widget.
[21:58:15] <jepler> I never had the sense that any work was actually occuring, but I attributed that to not understanding the area of work (analysis of ground and surface water something)
[21:58:55] <jepler> actually that's not quite true; once or twice a year some staff actually went into the field and did something, like pouring dye in a river and measuring it 5 miles downstream
[22:00:46] <jepler> well hey by any measure of the word it's quittin' time here
[22:02:30] <jepler> nice talking to you, even if it's about the ultimate limits of human endeavour
[22:04:18] <andypugh> If we can clone enough Elon Musks we may be OK
[23:06:45] -!- jthornton has quit [Read error: Connection reset by peer]
[23:06:45] -!- JT-Shop has quit [Read error: Connection reset by peer]
[23:07:22] -!- jthornton [jthornton!~john@198.45.191.246] has joined #linuxcnc-devel
[23:07:22] -!- JT-Shop [JT-Shop!~john@198.45.191.246] has joined #linuxcnc-devel
[23:08:21] -!- kingarmadillo has quit [Ping timeout: 276 seconds]
[23:08:26] -!- Duc_mobile has quit [Ping timeout: 250 seconds]
[23:15:13] -!- BeachBumPete [BeachBumPete!~IceChat9@2601:585:8200:7a40:d0d5:13c1:9dae:52c] has joined #linuxcnc-devel
[23:17:30] -!- kingarmadillo has quit [Ping timeout: 260 seconds]
[23:22:00] -!- [cube] has quit [Ping timeout: 276 seconds]
[23:23:18] -!- [cubert] has quit [Ping timeout: 276 seconds]
[23:26:02] -!- oc2k1 has quit [Ping timeout: 244 seconds]
[23:26:37] -!- membiblio has quit [Remote host closed the connection]
[23:39:21] amnesic_away is now known as amnesic