#linuxcnc-devel Logs

Nov 07 2023

#linuxcnc-devel Calendar

12:05 AM linuxcnc-build2: Build [#1931](http://buildbot2.highlab.com/buildbot/#builders/13/builds/1931) of `00-checkin` 4failed.
03:42 AM linuxcnc-build2: Build [#1857](http://buildbot2.highlab.com/buildbot/#builders/11/builds/1857) of `10-rip.debian-12-bookworm-rtpreempt-amd64` 8completed with warnings.
03:54 AM linuxcnc-build2: Build [#1932](http://buildbot2.highlab.com/buildbot/#builders/13/builds/1932) of `00-checkin` 3completed successfully.
06:41 AM Unterhaus_ is now known as unterhausen
11:32 AM rigid: andypugh: https://github.com/LinuxCNC/linuxcnc/pull/2691 would be ready to merge now, i got all tests passing now. (should I create a new PR since this is already marked as "merged")?
11:33 AM rigid: a colleague started to port linuxcncrsh to https://github.com/dparrish/libcli which looks quite promising. If you think it's worth it, I could clean it up and create another PR
11:34 AM rigid: it's quite nice since it has history, tab-completion and all modern nitty-gritty, but it currently is not compatible. could make it tho
11:35 AM rigid: although I'm thinking of redesigning it completly and order commands according to their category (motion/task/config etc.) not sure, yet. libcli supports having different contexts (like CISCO shells) so we might use that.
11:37 AM rigid: maye the rsh would also make for a good reference GUI implementation for testing all of the linuxcnc API(s)
01:10 PM andypugh: I think that a new PR would be cleaner. And maybe squash the commits into one (or, at least, fewer)
01:11 PM rene-dev: rigid why spend time on nml, if it will be removed anyway
01:24 PM rigid: andypugh: yeah, it's a lots of commits, i'll squash it into one
01:24 PM rigid: rene-dev: since i'm doing a project where machines will run in a networked environment and RT systems can't run X.
01:27 PM rigid: when NML will be removed without any network replacement, the customer will decide in 3 years about an alternative for linuxcnc (emc2). until then, an internal fork is maintained for "security" bugfixes
01:27 PM rigid: (i doubt there will be many)
01:30 PM rigid: rene-dev: also i'm not sure if it will be really removed. DB_PROGRAM is back aswell. Maybe try outputting a depreciation message when remote processes are used for a few releases and check, if users start to complain.
01:34 PM rigid: besides, linuxcncrsh with libcli has nothing to do with NML per-se. It also works without remote process support.
01:43 PM rene-dev: I didn’t mention removing network support. The opposite is true, I want proper remote ui support.
01:43 PM rene-dev: db program has nothing to do with nml
01:44 PM rene-dev: I was referring your nml related PRs
02:02 PM rigid: i highly doubt removing NML with keeping network support will happen anytime soon. it's a ton of work and needs extensive testing which isn't available right now - and a ton of work by itself.
02:03 PM rigid: my current NML related PRs fix acutal bugs in the current codebase. i think that's time well spent.
02:04 PM rigid: *actual
02:05 PM Unterhaus_ is now known as unterhausen
02:31 PM linuxcnc-build2: Build [#1854](http://buildbot2.highlab.com/buildbot/#builders/7/builds/1854) of `10-rip.debian-11-bullseye-rtpreempt-amd64` 4failed.
03:06 PM linuxcnc-build2: Build [#1860](http://buildbot2.highlab.com/buildbot/#builders/11/builds/1860) of `10-rip.debian-12-bookworm-rtpreempt-amd64` 4failed.
03:08 PM linuxcnc-build2: Build [#1935](http://buildbot2.highlab.com/buildbot/#builders/13/builds/1935) of `00-checkin` 4failed.
03:41 PM linuxcnc-build2: Build [#1855](http://buildbot2.highlab.com/buildbot/#builders/7/builds/1855) of `10-rip.debian-11-bullseye-rtpreempt-amd64` 8completed with warnings.
03:44 PM linuxcnc-build2: Build [#1861](http://buildbot2.highlab.com/buildbot/#builders/11/builds/1861) of `10-rip.debian-12-bookworm-rtpreempt-amd64` 8completed with warnings.
03:57 PM linuxcnc-build2: Build [#1936](http://buildbot2.highlab.com/buildbot/#builders/13/builds/1936) of `00-checkin` 3completed successfully.
04:44 PM linuxcnc-build2: Build [#1856](http://buildbot2.highlab.com/buildbot/#builders/7/builds/1856) of `10-rip.debian-11-bullseye-rtpreempt-amd64` 4failed.
04:54 PM rmu: i don't think that replacing NML / CMS is actually that much work. without network it would be a no-brainer to use something like alephzero.
04:54 PM rmu: but networking is a must IMO so a simple shmem-only rpc is out of the question.
04:57 PM rmu: i did some looking for lightweight RPC libraries that support at least C, c++, python, javascript, tcl would be a plus
04:59 PM rmu: so far i didn't find something really compelling. there is a "flatrpc" library that uses flatbuffers over zeromq, but it's a one-man-gig and c++ only.
05:00 PM rmu: maybe this https://pigweed.dev/pw_rpc/ can be used
05:05 PM rmu: and i don't like the approach of manually stuffing message structs / manually dispatching incoming messages in giant switch statements
05:05 PM rmu: there needs to be a more idiomatic interface else it doesn't make sense IMO
05:08 PM rmu: flatrpc library if somebody wants to take a look https://github.com/GothAck/FlatRPC
05:20 PM linuxcnc-build2: Build [#1937](http://buildbot2.highlab.com/buildbot/#builders/13/builds/1937) of `00-checkin` 4failed.
07:26 PM -!- #linuxcnc-devel mode set to +v by ChanServ