#hazzy | Logs for 2019-01-29

Back
[05:09:33] <JT-qtpyvcp> morning
[06:27:01] <JT-qtpyvcp> how do you set the jog increment? and how do you change from continuous to incremental?
[06:42:05] <JT-qtpyvcp> I tried the jog increment widget but it does not play nice in a grid
[07:29:43] <JT-qtpyvcp> hmm machine.jog.set-linear-speed-percentage picks up the current jog speed not a percentage of maximum speed
[10:51:08] <hazzy-m> morning
[10:53:11] <hazzy-m> I'm still working on the new data channels and actions that will make it possible to make things like the jog increments increments and jog speed work properly
[11:01:29] <JT-Shop> ok, thanks
[11:05:18] <hazzy-m> sorry about the slow progress, got a lot going on right now
[11:25:54] <JT-Shop> anything I can do to help?
[15:27:01] <TurBoss> hello!
[15:27:20] <JT-Shop> it's so quiet in here lol
[15:27:32] <TurBoss> i see
[15:27:33] <TurBoss> :D
[15:27:48] <TurBoss> I'm traped on windows atm
[15:31:51] * JT-Shop goes to put the leaking hydraulic hose back on while waiting for the new one to arrive
[15:58:14] <JT-Shop> is it possible to make a button that inserts a number or letter into a mdi entry or similar?
[16:04:52] <JT-Shop> opps I think Chris M is upset with me
[16:06:55] <TurBoss> take alook a the VKB
[16:12:47] <JT-Shop> I did but could not follow it
[16:49:33] <JT-Shop> https://forum.linuxcnc.org
[16:51:25] <TurBoss> :O use mine
[16:51:26] <TurBoss> !
[16:51:47] <TurBoss> TurBoVCP
[16:51:49] <TurBoss> lol
[17:14:51] <hazzy-m> JT-Shop upset with you? What?
[17:19:42] <JT-Shop> or just upset dunno, his post was how do I say it sounded like frustration maybe
[17:47:00] -!- JT-qtpyvcp has quit [Quit: Leaving]
[17:49:46] -!- JT-qtpyvcp has joined #hazzy
[17:52:29] -!- JT-qtpyvcp has quit [Remote host closed the connection]
[17:54:20] -!- JT-qtpyvcp has joined #hazzy
[18:04:42] <JT-qtpyvcp> I'm looking at VKB but it pops up this huge keyboard when I try and define one key...
[18:19:18] <JT-qtpyvcp> never mind I figured out how to do what I want :)
[18:28:39] <JT-qtpyvcp> well almost lol
[19:01:57] <JT-qtpyvcp> WHOOP I got it figured out!!!!!!!!!!!!!!!!!
[19:02:31] <JT-qtpyvcp> add another page to the tutorial in the morning
[19:08:12] <Lcvette> Hoho
[19:28:08] -!- Roguish has quit [Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805]]
[19:29:44] <TurBoss> Great!
[20:42:27] <Lcvette> Lcvette forgot how to setup linuxcnc
[20:45:41] <hazzy-m> Lcvette: new install?
[20:48:45] <Lcvette> Think I installed linuxcnc on this pic a while back
[20:48:50] <Lcvette> Pc
[20:49:27] <Lcvette> It's a wheezy install
[20:49:38] <Lcvette> Probably should do a stretch install
[20:49:53] <Lcvette> So everything works
[20:50:35] <hazzy-m> yes, stretch is so much better all around
[20:50:45] * hazzy-m posted a file: speedup-debina9-boot.txt (0KB) < https://matrix.org >
[20:51:16] <Lcvette> What's that
[20:51:19] <hazzy-m> ^ you might find that usefull if youi do a new strtetch install
[20:51:57] <Lcvette> Ah yeah
[20:52:02] <Lcvette> Been there
[20:52:06] <Lcvette> Lol
[20:52:07] <hazzy-m> the r12 ISOs and up take over 5 minutes to boot do to a change in network settings, that fixes it
[20:52:24] <Lcvette> Wow
[20:52:30] <Lcvette> What in the world
[20:52:52] <Lcvette> I fixed it on my Mill PC and it starts fast
[20:53:00] <hazzy-m> oh great!!!
[20:53:07] <hazzy-m> I should have asked you!
[20:53:08] <hazzy-m> lol
[20:53:12] <Lcvette> Lol
[20:53:34] <hazzy-m> I fixed mine a few days ago after getting tired of waiting on it
[20:53:35] <hazzy-m> lol
[20:53:35] <Lcvette> It was similar to that
[20:54:05] <Lcvette> Tom helped me last spring with it
[20:54:24] <Lcvette> Could get my wifi working
[20:54:27] <Lcvette> Couldn't
[20:54:34] <hazzy-m> ah yes, he knows all those tricks
[21:07:41] <TurBoss> hazzy: I have a question about some python-fu
[21:07:55] <TurBoss> not wtpyvcp related could you help?
[21:07:59] <TurBoss> Q*
[21:09:26] <TurBoss> I have rooms with users but I need userrooms
[21:09:27] <TurBoss> :P
[21:09:54] <TurBoss> looks like this:
[21:10:13] * TurBoss sent a long message: < https://matrix.org >
[21:10:30] <TurBoss> :P
[21:10:47] <TurBoss> I need something like append
[21:10:56] <TurBoss> any idea?
[21:11:57] <hazzy-m> I'm not sure I understand
[21:12:11] <TurBoss> I can obtain the users inside a room
[21:12:25] <TurBoss> but I want to have a dictionari of users with their rooms
[21:12:35] <hazzy-m> AHA!
[21:12:55] <hazzy-m> so you want to be able to look up what rooms a user is in?
[21:13:00] <TurBoss> ye
[21:13:04] <hazzy-m> a user to rooms maping?
[21:13:11] <TurBoss> yes
[21:13:13] <TurBoss> that
[21:13:27] <TurBoss> butI can only obtain users from room
[21:15:02] * TurBoss sent a long message: < https://matrix.org >
[21:15:15] <TurBoss> self.rooms is a list of dicts
[21:15:58] <hazzy-m> so you need user rooms to be a dict of lists, could that work?
[21:16:11] <TurBoss> yes!
[21:16:13] <TurBoss> eg
[21:16:47] <TurBoss> "turboss": ["#qtpyvcp", "#linuxcnc", etc...]
[21:17:20] <hazzy-m> ok, I see!
[21:17:42] <hazzy-m> Maybe you could use defaultdict, with the default being a list
[21:17:54] <TurBoss> ohhhh
[21:17:55] <hazzy-m> then you could do user_rooms[matrix_username].append(room)
[21:17:56] <TurBoss> cool
[21:18:16] <TurBoss> how to?
[21:18:23] <TurBoss> defaultdict0
[21:18:24] <TurBoss> ?
[21:18:32] <hazzy-m> I forgot lol
[21:18:33] <hazzy-m> sek
[21:18:39] <TurBoss> cool thanks!
[21:20:32] <TurBoss> from collections import defaultdict ?
[21:20:46] <hazzy-m> hmm
[21:20:51] <hazzy-m> defaultdict may not work
[21:21:21] <hazzy-m> how about `user_rooms.get(matrix_username, []).append(room)`
[21:21:42] <TurBoss> hmmm
[21:21:44] <hazzy-m> nope
[21:22:04] <TurBoss> why default dict is not ok?
[21:22:07] <TurBoss> looks promissing
[21:22:15] <hazzy-m> user_rooms[matrix_username] = user_rooms.get(matrix_username, []).append(room)
[21:22:39] <hazzy-m> that will work, but two lookups :(
[21:23:30] <TurBoss> I'm experimenting with defaultthing
[21:24:17] <hazzy-m> ok, but I don't think it is what you want, not the same as I remembered it
[21:24:18] <hazzy-m> xD
[21:28:41] <TurBoss> ok was close
[21:31:03] <hazzy-m> did you get it?
[21:31:07] <TurBoss> nop
[21:31:10] <TurBoss> but close
[21:37:45] <TurBoss> got it
[21:37:58] * TurBoss sent a long message: < https://matrix.org >
[21:38:13] <TurBoss> Thanks
[21:39:00] <hazzy-m> Whoa! defaultdict did work?
[21:39:02] <hazzy-m> Hurray!!!!
[21:41:11] <TurBoss> Thanks!
[21:44:11] <hazzy-m> De nada!
[22:54:56] * Lcvette uploaded an image: 1548792222321_20190129_225414701.jpg (341KB) < https://matrix.org >
[22:54:58] * Lcvette uploaded an image: 1548795957277_20190129_225411258.jpg (355KB) < https://matrix.org >
[22:55:00] * Lcvette uploaded an image: 1548792240438_20190129_225408612.jpg (391KB) < https://matrix.org >
[22:55:45] <Lcvette> Wiring... Slowing me fown
[22:55:51] <Lcvette> Down
[22:55:55] <Lcvette> Lol
[23:00:00] <hazzy-m> that looks nice!
[23:04:24] <Lcvette> Getting closer
[23:06:05] <Lcvette> Just a little wiring left to get the axis's ready to move
[23:06:32] <Lcvette> But I need to make a confirmation file and do the Linux cnc install
[23:06:39] <Lcvette> Config*
[23:06:46] * hazzy-m uploaded an image: IMG_20190129_230620314.jpg (281KB) < https://matrix.org >
[23:07:27] <hazzy-m> finally got by box neatened up a tad, now there's room for a VFD ...
[23:07:44] <Lcvette> Nice, looks a lot cleaner
[23:08:25] <hazzy-m> what cards are you using for the lathe?
[23:14:35] <Lcvette> 7i76 6i25
[23:14:48] <Lcvette> Should be pretty simple
[23:15:15] <Lcvette> This is the control I have the cabinet pee made for
[23:15:20] <Lcvette> With the schematic
[23:15:41] <TurBoss> aren't servos ?
[23:15:46] <TurBoss> steppers?
[23:16:37] * Lcvette uploaded an image: _20190129_231613.JPG (268KB) < https://matrix.org >
[23:16:49] <Lcvette> Closed loop steppers
[23:16:52] <TurBoss> ah
[23:17:14] <TurBoss> is ok to have the VFD like that?
[23:17:21] <Lcvette> Sure
[23:17:54] <Lcvette> I have fans on the left and right one other one puller to create a cross flow
[23:18:03] <TurBoss> cool !
[23:18:08] <Lcvette> Literally
[23:18:16] <Lcvette> :D
[23:18:26] <Lcvette> Lol
[23:23:07] <hazzy-m> real nice looking cabinet
[23:23:27] <hazzy-m> what cable do you use for the stepper signals?
[23:32:28] <Lcvette> 16\4 shielded
[23:33:33] <Lcvette> Oh the signal wire, from card too drive is 18\4 shielded
[23:33:51] <Lcvette> Motor wire is 16\4 shielded
[23:57:21] <Lcvette> What do you use?
[23:57:36] <Lcvette> Hazzy?