#hazzy | Logs for 2018-09-17

Back
[10:12:01] -!- Roguish has joined #hazzy
[10:25:26] <hazzy-m> morning
[10:35:44] <TurBoss> hello
[12:09:59] <jthornton> morning
[12:12:51] <TurBoss> Hi
[12:16:33] <hazzy-m> hey
[12:16:37] <hazzy-m> question
[12:16:55] * hazzy-m sent a long message: < https://matrix.org >
[12:17:20] <hazzy-m> Trying to work an a good actions API
[12:17:36] <hazzy-m> does that look like a bad idea? too many dots?
[12:19:19] <hazzy-m> The run method as a method inside it called ok, and the ok method has a attribute of msg (the reason it it not OK to run)
[12:45:57] <JT-Shop> are you using print to send the text to actions.program.run.ok.msg?
[12:47:07] <hazzy-m> no, print there just prints the error message held in `actions.program.run.ok.msg`
[12:47:30] <hazzy-m> I am trying to make all the actions methods have the same format as HAL pins
[12:47:44] <hazzy-m> or at least similar
[12:47:49] <JT-Shop> ah I see
[12:48:22] <hazzy-m> But I end up having methods defined inside methods, which is a little bit of a hack ...
[12:48:39] <hazzy-m> Not sure it I like it,but it makes for a nice API
[12:48:43] <hazzy-m> if*
[13:07:06] <JT-Shop> I think Chris M made up the SPINDLE_9 thing
[13:08:09] <hazzy-m> Ok, I was wondering as there is no spindle section discussed in the INI docs
[13:08:35] <hazzy-m> It seems like it would make sense to have a SPINDLE section, for setting min and max speeds etc.
[13:08:38] <JT-Shop> you can have any custom section and item in the ini file
[13:08:49] <hazzy-m> and PID
[13:08:57] <hazzy-m> I know
[13:08:58] <JT-Shop> yea, my configuration tool is a bit more sane I think lol
[13:09:20] <hazzy-m> Yes :)
[13:09:43] <JT-Shop> at least with naming stuff...
[13:10:06] <JT-Shop> never could understand naming the postgui file custom_postgui.hal
[13:10:25] <JT-Shop> and mine won't write over the ini :)
[13:10:51] <hazzy-m> yeah, just postgui.hal would be better
[13:10:58] <hazzy-m> and that is a fantastic feature!
[13:11:11] <hazzy-m> also, don't need the extra XML file
[13:11:48] <JT-Shop> hmm which extra XML file?
[13:11:59] <JT-Shop> oh the .stepconf
[13:12:18] <hazzy-m> yes
[13:13:42] <hazzy-m> I keep my configs in git, but since the .stepconf file is outside of the config dir it would never be included, which made it impossible to go back and edit a config with stepconf
[13:13:49] <JT-Shop> I have a section at the end of my ini that has all the stuff the configuration tool needs to load the config after reading all the normal stuff
[13:14:13] <hazzy-m> Yes, that is a MUCH better way to do it
[16:24:01] <Not> [02QtPyVCP] 07Kurt Jacobson pushed 035 commits to 03actions [+1/-0/±11] 13https://gitlab.com/Hazzy/qtpyvcp/compare/292e9109e3f209fb72fe1f1fe41b5a0bfa13b5cb...89d2aeabf6cb0ccd7eece17208ca5f13724bc052
[16:24:02] <Not> [02QtPyVCP] 07Kurt Jacobson 03769e519 - don't use get prefix for INI info getters
[16:24:04] <Not> [02QtPyVCP] 07Kurt Jacobson 0307d3547 - add seed and feed signals to status.py
[16:24:05] <Not> [02QtPyVCP] 07Kurt Jacobson 030391ff5 - update INFO methods in override slider
[16:24:07] <Not> [02QtPyVCP] ... and 2 more commits.
[16:36:56] <Not> [02QtPyVCP] 07Kurt Jacobson pushed 031 commit to 03actions [+0/-0/±2] 13https://gitlab.com/Hazzy/qtpyvcp/compare/89d2aeabf6cb0ccd7eece17208ca5f13724bc052...76c0d19e65519cfb5b4e98c146a66d9bc88cbe1b
[16:36:57] <Not> [02QtPyVCP] 07Kurt Jacobson 0376c0d19 - make button jog actions work
[23:17:36] -!- Roguish has quit [Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805]]