#hazzy Logs
Aug 30 2020
#hazzy Calendar
06:33 AM TurBoss: morninh
07:04 AM * TurBoss uploaded an image: Captura de pantalla de 2020-08-30 14-03-56.png (275KiB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/jMPjxPpkDlSFrRcxopEYkTjG/Captura de pantalla de 2020-08-30 14-03-56.png >
07:04 AM TurBoss: /o\
07:14 AM * TurBoss sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/jlLaNDKBAmJkGVYHNdYEOjmy/message.txt >
07:16 AM * TurBoss uploaded an image: Captura de pantalla de 2020-08-30 14-15-44.png (50KiB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/wxCWAYqwmKOYDGuurgqzoibs/Captura de pantalla de 2020-08-30 14-15-44.png >
07:32 AM * TurBoss uploaded an image: Captura de pantalla de 2020-08-30 14-31-41.png (290KiB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/ToUdCkmEERJEFadZKSrOxtWh/Captura de pantalla de 2020-08-30 14-31-41.png >
07:32 AM TurBoss: this is python3 linuxcnc running qtpyvcp under arclinux 😲
07:34 AM TurBoss: inside a venv
07:34 AM TurBoss: 😈
09:49 AM hazzy-m: TurBoss: wow!
09:50 AM hazzy-m: are the rules working?
10:08 AM hazzy-m: https://invent.kde.org/frameworks/syntax-highlighting
10:22 AM Not-8b99: [02probe_basic] 07KurtJacobson closed pull request 03#20: ENH: Allow WCS offset to be entered on main DRO panel - 13https://git.io/JUtJJ
10:22 AM Not-8b99: [02probe_basic] 07KurtJacobson pushed 032 commits to 03master [+0/-0/±2] 13https://git.io/JUtDs
10:22 AM Not-8b99: [02probe_basic] 07adargel 03c8308bc - ENH: Allow WCS offset to be entered on main DRO panel Problem: - There was no direct way to set the WCS offset directly. For instance to take into account an edge finder radius, or similar location tooling. - The main panel DRO did not support arithmetic expressions. Solution: - Replace the DROWidget with a DROLineEdit so that the WCS offsets can be entered into the DRO
10:22 AM Not-8b99: read out directly. - Take advantage of the support for arithmetic expressions in the DRO by using the DROLineEdit from the latest qtpyvcp updates. https://github.com/kcjengr/qtpyvcp/blob/master/qtpyvcp/widgets/base_widgets/eval_line_edit.py
10:22 AM Not-8b99: [02probe_basic] 07KurtJacobson 03ade3411 - Merge pull request #20 from adargel/allow_wcs_offsets_in_main_dro_display ENH: Allow WCS offset to be entered on main DRO panel
10:22 AM Not-8b99: [02probe_basic] 07KurtJacobson commented on pull request 03#20: ENH: Allow WCS offset to be entered on main DRO panel - 13https://git.io/JUtDc
10:23 AM Not-8b99: [02probe_basic] 07KurtJacobson pushed 031 commit to 03gh-pages [+118/-0/±0] 13https://git.io/JUtDW
10:23 AM Not-8b99: [02probe_basic] 07traviscibot 03b4780a7 - Deploy kcjengr/probe_basic to github.com/kcjengr/probe_basic.git:gh-pages
11:25 AM TurBoss: <hazzy-m "are the rules working?"> there are some bytes to strings that have to be fixed here and there
12:36 PM * TurBoss uploaded an image: Captura de pantalla de 2020-08-30 19-33-17.png (21KiB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/kKdVPGGNnytdKKtzxMbNKpKu/Captura de pantalla de 2020-08-30 19-33-17.png >
12:38 PM hazzy-m: hurray!!
12:38 PM TurBoss: \o/
12:38 PM * TurBoss uploaded an image: Captura de pantalla de 2020-08-30 19-37-58.png (564KiB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/yYSZyehVZCuszCLanMOvCgyX/Captura de pantalla de 2020-08-30 19-37-58.png >
12:40 PM TurBoss: hazzy: how we can hadle this? its gone be a big commit that modifies almost all the files
12:43 PM hazzy-m: is it Py2.7 and py3 compatible?
12:43 PM TurBoss: some fixes work others no
12:43 PM TurBoss: in compatibility
12:44 PM TurBoss: we need linux buildbot debs with python3
12:44 PM TurBoss: for now only rip version
12:50 PM TurBoss: * we need linuxcnc buildbot debs with python3
02:29 PM * TurBoss uploaded an image: Captura de pantalla de 2020-08-30 21-29-02.png (76KiB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/uScArEAjDOfzITuIWiITGqHJ/Captura de pantalla de 2020-08-30 21-29-02.png >
02:30 PM hazzy-m: fantastic!
02:31 PM hazzy-m: So will we need to have a py2.7 and a separate py3 release?
02:31 PM TurBoss: hmmmm
02:31 PM TurBoss: if we port the code base py2 will not work unles we add a ton of if else
02:34 PM TurBoss: but hey its running like a charm on ArchLinux lol
02:34 PM TurBoss: finally
02:45 PM Not-8b99: [02qtpyvcp] 07TurBoss pushed 031 commit to 03LinuxCNC_Py3 [+0/-0/±74] 13https://git.io/JUtAP
02:45 PM Not-8b99: [02qtpyvcp] 07TurBoss 03c95f885 - port codebase to python3
02:45 PM Not-8b99: [02qtpyvcp] 07TurBoss created branch 03LinuxCNC_Py3 - 13https://git.io/fhCou
02:47 PM travis-ci: kcjengr/qtpyvcp#1745 (LinuxCNC_Py3 - c95f885 : TurBoss): The build passed.
02:47 PM travis-ci: Diff view : https://github.com/kcjengr/qtpyvcp/commit/c95f885797a8
02:47 PM travis-ci: Build details : https://travis-ci.org/kcjengr/qtpyvcp/builds/722544585
04:08 PM * JT[m] uploaded an image: 20200830_160654.jpg (2183KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/YfHYjbrBLvaMbBAnWvTjmDsc/20200830_160654.jpg >
04:44 PM Joco[m]: I'll see your pic and rasie you one pic:
04:44 PM * Joco[m] uploaded an image: image.png (628KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/eUleoCBYNzPqWKtuGPeaBDqo/image.png >
04:44 PM TurBoss: cool
04:45 PM TurBoss: is that to flat the wheel?
04:45 PM TurBoss: 😕
04:45 PM Joco[m]: yup. dresser. at the 15deg angle. The side hole is so I can mount the diamond sideways for dressing the side as well
04:46 PM TurBoss: great!
04:46 PM Joco[m]: all locked off the same set screw
04:46 PM TurBoss: also ... cool JT
04:47 PM Joco[m]: JT: is that a pneumatic cylinder?
04:48 PM TurBoss: looks like one
04:48 PM TurBoss: is for the old lathe?
04:51 PM Joco[m]: And new clamps for the mag chuck
04:51 PM * Joco[m] uploaded an image: ima_b7a619e.jpeg (230KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/daZkRzQwqrPDnbAqtePxwzJc/ima_b7a619e.jpeg >
04:54 PM * TurBoss uploaded an image: image.png (1069KiB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/SHXthrouEDKdSupCcdbtSmnd/image.png >
04:55 PM TurBoss: just added a cooler
04:56 PM TurBoss: it points inside the box maybe not the best but if not will spread all the particles outside the box
05:05 PM Joco[m]: TurBoss: it's pushing into the box?
05:07 PM JT-Cave: Joco[m], nice grinder
05:08 PM JT-Cave: yea a pneumatic cylinder to replace the cast iron swing handle
05:08 PM Joco[m]: JT-Cave: at the moment I'm grinding everything to get practice. I do seem to be improving
05:08 PM JT-Cave: I've never had my diamonds that long, usually very short so I don't have to raise the wheel much to dress
05:09 PM Joco[m]: That is just the standard length it came from the shop. I think I'm going to shorten it. As you say, so dont need to raise up so high
05:10 PM JT-Cave: yeah I usually cut them off
05:11 PM JT-Cave: TurBoss, I got my sunrise working with the apa102 https://dpaste.com/5KMYBBK9W
05:12 PM TurBoss: whats apa102?
05:12 PM TurBoss: ok i'm blinf
05:12 PM TurBoss: * ok i'm blind
05:12 PM TurBoss: thats the led strip
05:13 PM JT-Cave: http://www.led-color.com/upload/201604/APA102-2020%20SMD%20LED.pdf
05:21 PM TurBoss: <Joco[m] "TurBoss: it's pushing into the b"> should I change it?
05:22 PM Joco[m]: no - just asking. This is to provide some cooling?
05:22 PM TurBoss: yes
05:23 PM TurBoss: it gets little hot when running for 1 h all closed
05:23 PM Joco[m]: I bet
06:36 PM TurBoss: got buildbot to create probebasic installers
06:36 PM TurBoss: now need to figure why it ignores the webhook
06:39 PM TurBoss: repository.qtpyvcp.com/repo/pb-dev/bin/
07:04 PM * TurBoss uploaded an image: Captura de pantalla de 2020-08-31 02-03-57.png (46KiB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/KWSLtWIZRlXPcZAvOueRHdxp/Captura de pantalla de 2020-08-31 02-03-57.png >
07:05 PM Joco[m]: That’s interesting. What app is that?
07:06 PM TurBoss: onefetch
07:07 PM TurBoss: https://github.com/o2sh/onefetch
07:26 PM hazzy-m: TurBoss: do you know c++?
07:26 PM * hazzy-m is trying to learn
07:27 PM Joco[m]: hazzy: had Joco’s sympathies
07:27 PM Joco[m]: * hazzy: has Joco’s sympathies
07:28 PM Joco[m]: It’s very powerful but sometimes trying to find the real implementation of some behaviour can be a bit like finding a needle in a
07:29 PM Joco[m]: * It’s very powerful but sometimes trying to find the real implementation of some behaviour can be a bit like finding a needle in a hay stack
07:34 PM hazzy-m: Joco: indeed!
07:35 PM hazzy-m: I was going to try to implement the GcodeTextEdit in C++ to speed things up, but I'm struggling
07:36 PM hazzy-m: Was going to use this as the highlight engine since its fast and supports a lot of languages including gcode out of box: https://invent.kde.org/frameworks/syntax-highlighting
07:37 PM hazzy-m: but I can't even get the examples to build
07:42 PM TurBoss: what error do you get?
07:42 PM TurBoss: hazzy: what if we try to Cythonize the gcodeeditor only not the whole project :)
07:42 PM TurBoss: it will generate a .so file that we can import
07:42 PM TurBoss: but yeah write it in cpp directly is better
07:43 PM * TurBoss uploaded an image: Captura de pantalla de 2020-08-31 02-42-37.png (6KiB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/rwumatYkZDQtCXNiLDYEiBUb/Captura de pantalla de 2020-08-31 02-42-37.png >
07:44 PM TurBoss: mkdir build
07:44 PM TurBoss: cd build
07:44 PM TurBoss: cmake ..
08:01 PM hazzy-m: TurBoss: I get all kinds or errors if I try that, I think it has to do with old Qt libs
08:02 PM hazzy-m: can I point cmake to the right version of Qt? I have it installed, but it used the wrong one
08:03 PM * hazzy-m sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/HeJcaNKTRPpQmfdrSMzZEvbW/message.txt >
08:04 PM TurBoss: install qt-chooser
08:04 PM TurBoss: or qtchooser
08:04 PM TurBoss: then run
08:04 PM TurBoss: ```
08:04 PM TurBoss: $ qtchooser -list-installs
08:04 PM TurBoss: i think there is a whay to add installs
08:13 PM * TurBoss posted a file: gcode_editor.tar.xz (317KiB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/QOHyTnCSaKQHIFplVLJlXMtB/gcode_editor.tar.xz >
08:15 PM hazzy-m: TurBoss: nice!
08:16 PM TurBoss: I'm testing 😆 if old id doesn't have latest fixes
08:20 PM TurBoss: hazzy: if you rename gcode_editor.py and .pyc and place the .so file there, does it work for you?
08:22 PM TurBoss: * I'm testing 😆 it is old version it doesn't have latest fixes
08:24 PM hazzy-m: TurBoss: yes is does work!
08:25 PM TurBoss: it does go fast?
08:25 PM hazzy-m: seems about the same
08:25 PM TurBoss: ☹️
08:25 PM TurBoss: I'm rebasing
08:25 PM TurBoss: I'll try to fech master
08:26 PM hazzy-m: what I was hoping to do was use the KSyntaxHighlight engine, but it's only C++, so I need to make python bindings for it
08:29 PM Not-8b99: [02qtpyvcp] 07TurBoss pushed 035 commits to 03Cython [+1/-0/±8] 13https://git.io/JUqku
08:29 PM Not-8b99: [02qtpyvcp] 07TurBoss 03fb33461 - test
08:29 PM Not-8b99: [02qtpyvcp] 07TurBoss 03c9f1ed5 - first cython test
08:29 PM Not-8b99: [02qtpyvcp] 07TurBoss 039321fe5 - ignore glcanon.py
08:29 PM Not-8b99: [02qtpyvcp] ... and 2 more commits.
08:31 PM TurBoss: ok got the latest gcode_editor
08:31 PM TurBoss: its compiling
08:35 PM TurBoss: AHhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
08:35 PM TurBoss: you want the Ksyntaxt thing
08:35 PM TurBoss: i didn't understand
08:36 PM TurBoss: :P
08:42 PM TurBoss: yus .so file stil slow
08:46 PM TurBoss: @hazzy can be posible to only highlit the lines shown in on screen?
10:05 PM hazzy-m: TurBoss: Yes, hoping to use the syntax, since it already works very well for gcode and is FAST!
10:05 PM hazzy-m: * TurBoss: Yes, hoping to use the ksyntax, since it already works very well for gcode and is FAST!
10:07 PM Not-8b99: [02qtpyvcp] 07KurtJacobson pushed 033 commits to 03master [+0/-0/±3] 13https://git.io/JUqqJ
10:07 PM Not-8b99: [02qtpyvcp] 07KurtJacobson 03d97048e - BUG: GcodeTextEdit - hack to fix seg fault when loading a new file
10:07 PM Not-8b99: [02qtpyvcp] 07KurtJacobson 03e2f2c99 - Merge branch 'GcodeTextEdit_seg_fault'
10:08 PM * hazzy-m packs to go to Canada, again :(
10:08 PM Not-8b99: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03gh-pages [+523/-0/±0] 13https://git.io/JUqqt
10:08 PM Not-8b99: [02qtpyvcp] 07traviscibot 035dd79b0 - Deploy kcjengr/qtpyvcp to github.com/kcjengr/qtpyvcp.git:gh-pages
10:09 PM Joco[m]: at least this time they have the right power?
11:10 PM hazzy-m: Joco: I doubled up on the transformer, hopefully the inspectors will sign off on it, since the machine has to be in full operation tomorrow for tax reasons.
11:10 PM hazzy-m: One year depreciation on a couple million is significant lol
11:10 PM Joco[m]: yup it is