#linuxcnc Logs
Apr 03 2024
#linuxcnc Calendar
12:04 AM solarwind: ranga I am never offended
12:17 AM solarwind: ranga also there's no such thing as "strict typing", it's known as "strong" vs "weak" and "static" vs "dynamic"
12:17 AM solarwind: Your definition of "strict" and "static" is completely wrong
12:17 AM solarwind: C/C++ is weak, static
12:39 AM lcnc-relay: <ranga> perhaps that's why the linuxcnc documentation is stuck in the early '90s
12:44 AM pere: question from the native speakers regarding translatable strings: In src/emc/usr_intf/pncconf/screen.glade the two strings "Absolute Text Color" and "Absolute Textcolor" are presented to translators. Which one of these are proper English? I suspect the two should be written the same way to make life for translators easier.
12:45 AM pere: s/from/for/
12:53 AM Deejay: moin
01:25 AM pere: hi
02:28 AM lcnc-relay: <ranga> "textcolour" is not a valid word, and automated translation will leave it verbatim. "text colour" is the valid English
02:44 AM CaptHindsight: solarwind is more of a poopy face than a curmudgeon
02:47 AM CaptHindsight: curmudgeon: a bad-tempered person, especially an old one
02:49 AM CaptHindsight: poopy face: A terrible insult whose origin can be traced as far back as the 1700's
03:03 AM lcnc-relay: <tcwilliamson> Kind of, I mean, judging by the amount of forum activity, it seems 'good to go' or at least, supported well enough?
03:07 AM -!- #linuxcnc mode set to +v by ChanServ
03:50 AM lcnc-relay: <iamtherealbeef> Thats my understanding is that it works without any major issues
04:32 AM NetPipe: https://pastebin.com/qP0yqzFe chatgpt made this for me for this project https://www.thingiverse.com/thing:498835
04:38 AM Tom_L: morning
04:52 AM JT-Cave: morning
05:05 AM JT-Cave: odd I can delete reload_pb and I don't get any error, I didn't try actionReload
05:51 AM JT-Cave: created a new ui and now I get the error
06:08 AM JT-Cave: Tom_L, I figured out the problem and it had nothing to do with all the poor suggestions from yesterday
06:28 AM Tom_L: on to the next problem :)
06:51 AM JT-Cave: working on that now
06:51 AM JT-Cave: working on the next puzzle now lol
09:01 AM -!- #linuxcnc mode set to +v by ChanServ
09:01 AM Tom_dev: JT-Cave, http://paste.debian.net/1312934/
09:03 AM Tom_dev: works if i add the button
09:04 AM Tom_dev: reload_pb is ok
09:09 AM Tom_L: your button enable logic is broken
09:11 AM Tom_L: pause, step, resume look ok
09:11 AM Tom_L: stop doesn't reset to 'run program'
09:17 AM Tom_L: also causing most of the rest not to enable
09:33 AM -!- #linuxcnc mode set to +v by ChanServ
09:33 AM JT-Shop: stop is the only thing I didn't test lol
09:35 AM Tom_L: printing, folding & stuffing luggage tags as i break flex
09:44 AM Guest66: Good Day I am looking to set up my CNC one machine however I do not have the videos thats supposedly available to help me set it up and use it. I owuld really appreciate any assistance.
09:58 AM lcnc-relay: <skunkworks8841> CNC one? Do they even run linuxcnc?
09:58 AM Tom_L: no
09:58 AM Tom_L: my bud in Ca has one he put grbl on
09:58 AM Tom_L: not a bad small machine
10:00 AM Tom_L: no, i'm thinking of another cnc.. proLIGHT
10:00 AM Tom_L: http://ruemohr.org/~ircjunk/tempimage/p1310203.jpg
10:04 AM lcnc-relay: <skunkworks8841> was going to get collector plates for the 42'.. But after talking to the dmv - I will probably just get normal plates for it. The collector plates are limited to hauling 500lbs.
10:04 AM lcnc-relay: <skunkworks8841> This thing is 8000lbs empty - 12000lbs full
10:07 AM JT-Cave: Tom_L, I'm not seeing any problem with stop button or stop action
10:08 AM JT-Cave: stop doesn't reset to 'run program' ?
10:19 AM lcnc-relay: <roguish> JT-Cave: so, that simple gui is getting kinda complex.....
10:22 AM JT-Cave: not really you can have a gui with nothing and it still loads...
10:23 AM lcnc-relay: <roguish> well, to make a safe one, ya need to do all those system checks, like you're doing
10:24 AM JT-Cave: yup
10:50 AM Roguish: there. just send another message to Biden to nuke Bibi, and help the Palestinians
10:51 AM roycroft: bibi is the 45 of israel
10:51 AM roycroft: desperately clinging to power to avoid prosecution for his crimes
10:52 AM Roguish: someone needs to cap his ass
10:53 AM Roguish: and Putin, and Bolsonaro
10:53 AM roycroft: the world needs to learn how to get along with others and work together to improve everbody's lives
10:53 AM roycroft: not whine and complain about life and blame others for everything
10:53 AM * roycroft steps off the soap box
10:53 AM Roguish: never gonna happen
10:53 AM Roguish: roycroft, how's the move coming along?
10:53 AM roycroft: slowly, but it's happening
10:54 AM Roguish: cool. hang in there.
10:54 AM Roguish: I have an online Probate Hearing today
10:54 AM roycroft: a new rolling tool cart i ordered for the indoor workshop arrived yesterday, and i cancelled a committee meeting to run it up to the new house, along with a sheet goods lift that i bought off cl last week
10:55 AM Roguish: sounds like progress....
10:55 AM roycroft: i got the carpet ripped out of the indoor workshop room last weekend, and the floor tiles for that room will arrive soon, but unfortunately not by this weekend
10:55 AM roycroft: so i'll have to do other work over the weekend
10:55 AM roycroft: yes, progress
10:55 AM roycroft: but not a single room is ready to move into yet
10:55 AM roycroft: to me that will be real progress - when the first room is move-in ready
10:56 AM roycroft: i'm still planning on moving in around the end of this month, but it may be mid-may
10:56 AM Roguish: be sure there's a working toilet....
10:56 AM Roguish: kinda important
10:56 AM roycroft: there are two working toilets
10:56 AM roycroft: but one bathroom had the floor ripped out when i bought the place
10:56 AM roycroft: and the other bathroom has carpeting on the floor
10:56 AM roycroft: so i'll be installing a new floor in both rooms, one at a time
10:57 AM Roguish: as long as the shitter's work
10:57 AM roycroft: at least one will be working at all times
10:57 AM roycroft: and both toilets are brand-new, and the modern low-water types
10:57 AM roycroft: my toilet in the current house is the original from the '70s and uses a lot of water per flush
10:59 AM Roguish: when i did my single holer bathroom, I put in a pretty fancy one. the tank is in the all. 2x6 studs. the bowl hangs off a steel frame in the wall. nothing touches the floor. really nice.
11:01 AM roycroft: money is tight
11:01 AM roycroft: i'm not doing anything fancy
11:01 AM roycroft: i'm hoping i don't lose money on the current house
11:01 AM roycroft: and certainly not counting on profiting from it
11:02 AM roycroft: i don't have the time to do the work on the bathroom, and i don't have the skills or equipment to fix the foundation problem
11:58 AM Tom_L: JT-Cave, also when i push 'unhome all', 'home all' is not enabled
11:58 AM Tom_L: but not the individual buttons
11:58 AM Tom_L: but
11:59 AM Tom_L: after unhoming the individual axis, home all appears
12:01 PM Tom_L: this happens: estop on, power on, home all, mdi:X0 Y0 Z0, unhome all. Home all is still disabled
12:02 PM Tom_L: then
12:03 PM Tom_L: home x y z, unhome all is active: unhome all again and home all is active then
12:03 PM Tom_L: a particular sequence
12:11 PM Tom_L: i put the ui & ini up if you want to test it
12:13 PM Tom_L: the stop fail sequence is: estop on, power on, home all, file open, run program, stop. run program is disabled on the menu bar
12:15 PM Tom_L: also with that, all manual buttons & mdi are left disables
12:16 PM Tom_L: disabled
12:25 PM JT-Cave: thanks for testing, still a few glitches...
12:31 PM Tom_L: i figured there would be, switching all the logic around
12:31 PM JT-Cave: I have something to work on tomorrow while sitting in the hospital
12:32 PM JT-Cave: estop on, power on, home all, file open, run program, stop. run program is disabled on the menu bar seems to be a bit erratic... that will be interesting to sort out
12:32 PM Tom_L: i can probably find more busy work if you want :)
12:33 PM JT-Cave: whatever you can find I'll add it to the bug.txt
12:33 PM Tom_L: copy the ui & ini over to examples i've been using if you want
12:33 PM Tom_L: it's a mess but i've been trying to test the new stuff as it arrives
12:34 PM JT-Cave: I might have a bigger mess with xyz.ui lol
12:35 PM JT-Cave: I think I'll work on home all and unhome all first and sort that out
12:36 PM JT-Cave: I also discovered another issue when testing with axis you can't load a post gui hal file because it's already loaded
12:38 PM Tom_L: i've been running mine direct for the most part
12:38 PM Tom_L: without the ./flexgui thing
12:40 PM Tom_L: part of the time the yellow line isn't displaying in the gcode window but i haven't tried to pinpoint that yet
12:40 PM JT-Cave: it's quicker for me to run from a terminal after each changed than building a deb and installing it
12:40 PM Tom_L: i suppose
12:41 PM Tom_L: i have to pull anyway so the commands are in the bash_history already
12:41 PM Tom_L: goes pretty quick
12:41 PM Tom_L: i could do a script but meh
12:43 PM Tom_L: stop stops but doesn't update things
12:45 PM Tom_L: step gets hung up on that Hword line
12:45 PM JT-Cave: that's emc :)
12:48 PM Tom_L: after step executes, it goes to pause. not back to step for the next line
12:49 PM Tom_L: push pause then and step is enabled again for the next line
12:49 PM JT-Cave: what is the g code?
12:50 PM Tom_L: on the server
12:50 PM Tom_L: lemme check again
12:51 PM JT-Cave: ok
12:52 PM Tom_L: it steps to the tool change then goes to pause
12:52 PM Tom_L: step, step to get to the tool change, click ok and 'pause'
12:53 PM Tom_L: if you run that you need a T45
12:53 PM JT-Cave: I can add that to the tool table
12:53 PM Tom_L: also, i added a G00 to the H line and it steps past it but each one requires pushing pause then step
12:54 PM -!- #linuxcnc mode set to +v by ChanServ
12:54 PM Tom_dev: G43 G00 Z1.25 H45
12:54 PM Tom_L: to shut emc up
12:54 PM Tom_L: funny, that program runs fine
12:56 PM JT-Cave: what's the link to the server?
12:57 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/flexgui/
12:59 PM Tom_L: that one doesn't have the extra G00 in it
12:59 PM JT-Cave: it doesn't matter what file it is I get a pause after step so I'm on it
12:59 PM Tom_L: ok
01:00 PM JT-Cave: I saved the file anyway to test that crazy g code you have lol
01:00 PM Tom_L: it runs 100% from the cam
01:01 PM Tom_L: i got one for grbl too
01:01 PM Tom_L: i'm sure the line numbers annoy you
01:01 PM JT-Cave: very much :) as does the %% LOL
01:01 PM Tom_L: i can do one without lines if you want
01:02 PM Tom_L: nothing there prevents it running though as annoying as it may be
01:02 PM JT-Cave: right
01:02 PM Tom_L: we did have some machines that needed the %
01:05 PM JT-Cave: I "think" my 308 uses %% but I'd have to look... speaking of the 308 I need to charge the caps on the 286 mb
01:06 PM Tom_L: the offsets to run that are X3.5 Y3.5 Z-2.5
01:09 PM JT-Cave: thanks
01:10 PM JT-Cave: hmm need to setup hexchat on the laptop
01:19 PM -!- #linuxcnc mode set to +v by ChanServ
01:19 PM JT-Mobile: test
01:19 PM Tom_L: pass
01:23 PM lcnc-relay: <travis_farmer (@_discord_731083529441640538:jauriarts.org)> Thanks to XX, i am back on discord. IRC just kept dumping my connection and i got fed up with it...
01:26 PM lcnc-relay: <perry_j1987> hey you guys have any tips for figuring out pinout of an uknown rotary encoder
01:26 PM lcnc-relay: <perry_j1987> all i know for sure is a+ and b+ and positive and gnd
01:27 PM Tom_L: what more do you need?
01:27 PM Tom_L: there may be a- b- for differential and z or something for index
01:28 PM lcnc-relay: <travis_farmer (@_discord_731083529441640538:jauriarts.org)> why (on c-log, and likely IRC) is my name so long, but perry is not???
01:29 PM lcnc-relay: <perry_j1987> ya the last 4 are A-, B-, Z+ , Z- but how to figure out which is which
01:29 PM lcnc-relay: <zincboy_ca_on> Do you have an oscilloscope?
01:29 PM Tom_L: scope or la
01:29 PM lcnc-relay: <perry_j1987> only one of those crappy little pocket ones
01:29 PM Tom_L: maybe a couple leds
01:30 PM Tom_L: may not be enough to drive an led
01:30 PM lcnc-relay: <zincboy_ca_on> That is fine. You could also just hook it up to LinuxCNC IOs and use halscope to see what the signals are doing when slowly rotated.
01:30 PM lcnc-relay: <perry_j1987> i spent a bit of time this morning taking the enclosure off the end of the servo in a tight space i could barely operate in lol so i could see the outside can of the encoder instead of just the end and there's no label
01:31 PM lcnc-relay: <perry_j1987> just a grey-ish colored can
01:32 PM lcnc-relay: <travis_farmer (@_discord_731083529441640538:jauriarts.org)> guess i am ignored for being off topic...
01:35 PM cpresser1 is now known as cpresser
01:36 PM Tom_L: or maybe nobody has an answer
01:37 PM lcnc-relay: <travis_farmer (@_discord_731083529441640538:jauriarts.org)> good point... sorry
01:44 PM lcnc-relay: <unterhausen> the question about your name on the relay? Nobody understands the name on the relay
01:45 PM Unterhaus_ is now known as Unterhausen
01:45 PM lcnc-relay: <travis_farmer (@_discord_731083529441640538:jauriarts.org)> ahh, ok. i thought TurBoss fixed it, but i guess not on my name....
01:45 PM lcnc-relay: <unterhausen> Maybe it's because you didn't change your username yourself when they asked you to?
01:46 PM lcnc-relay: <travis_farmer (@_discord_731083529441640538:jauriarts.org)> maybe...
01:46 PM lcnc-relay: <travis_farmer (@_discord_731083529441640538:jauriarts.org)> thought i did
01:46 PM XXCoder: we re using different bridge now
01:46 PM lcnc-relay: <travis_farmer (@_discord_731083529441640538:jauriarts.org)> ahh, ok
01:47 PM lcnc-relay: <unterhausen> somehow I don't think you changed your name to a 20 digit number
01:47 PM Tom_L: did a barge hit the old one?
01:47 PM XXCoder: yep
01:47 PM lcnc-relay: <travis_farmer (@_discord_731083529441640538:jauriarts.org)> should be travis_farmer, is what i changed it to
01:47 PM XXCoder: barge named "bad bug"
01:47 PM lcnc-relay: <travis_farmer (@_discord_731083529441640538:jauriarts.org)> maybe cause i have travis_farmer reserved on IRC
01:48 PM Tom_L: ask on discord cause we don't know
01:48 PM lcnc-relay: <unterhausen> everybody wants to be named unterhausen
01:48 PM XXCoder: nah I have xxcoder on both sides, I just added y on discord so I dont get pinged by myself
01:48 PM lcnc-relay: <travis_farmer (@_discord_731083529441640538:jauriarts.org)> hmm...
01:48 PM XXCoder: try change it to something entirely different then back
01:49 PM JT-Mobile: somewhere I have a minimal configuration for simulation that doens't have all that crazy shit stepconf puts in there
01:52 PM lcnc-relay: <perry_j1987> there we go encoder back togetehr on the machine.
01:54 PM lcnc-relay: <perry_j1987> do rotary encoders follow a color code at all?
02:37 PM pcw---home: I don't think there's any standard color code for encoders but if you know the power connections you can determine everything with just an LED
02:46 PM * JT-Mobile heads out
03:26 PM lcnc-relay: <perry_j1987> pcw---home can you walk me through that process real quick
03:48 PM lcnc-relay: <perry_j1987> ah think i got it
03:49 PM lcnc-relay: <perry_j1987> wired led to 5v and other leg to the blue wire of the encoder and gave the encoder 5v and gnd on it's red and black and if i spin the ballscrew i can see the led light up once per rev
03:49 PM lcnc-relay: <perry_j1987> must be Z pulse
04:05 PM lcnc-relay: <perry_j1987> ohhh i found an obscure forum post that may clue me into the wiring color code for this machine
05:57 PM -!- #linuxcnc mode set to +v by ChanServ
05:57 PM JT-Mobile: yo
05:58 PM Tom_L: yo yo
05:58 PM XXCoder: yo yo yo
05:58 PM Tom_L: on the road ehh?
05:58 PM JT-Mobile: just checked in to the hotel in cape
05:58 PM Tom_L: this is the medical trip?
06:01 PM JT-Mobile: yup spine surgery tomorrow
06:02 PM XXCoder: hope it goes well for him
06:02 PM Tom_L: her
06:02 PM XXCoder: oh yes his wife, not himself
06:03 PM -!- #linuxcnc mode set to +v by ChanServ
06:19 PM lcnc-relay: <JT> I just have to be Mr. Mom for a few weeks lol
06:22 PM XXCoder: :)
06:26 PM Tom_L: the ride home doesn't sound like it will be fun
06:27 PM lcnc-relay: <JT> She will be in the hospital for 3 to 5 days
06:28 PM lcnc-relay: <JT> Wondering what vehicle to bring for the ride home
06:29 PM XXCoder: limo
06:32 PM Tom_L: find out if upright or laying down is more bearable first
06:32 PM Tom_L: then figure it out
06:33 PM lcnc-relay: <big_kevin420> travis_farmer if your name is the same on irc and discord, i think it messes it up
06:45 PM lcnc-relay: <JT> Yup, I'm out of Limousines
06:57 PM lcnc-relay: <JT> https://jauriarts.org/_matrix/media/v3/download/matrix.org/tPFUwJfGgGKUJhBPyAFNXgOd/20240403_185511.jpg
07:02 PM solarwind: JT- "poor suggestions from yesterday" rather arrogant, coming from someone who doesn't know how to write code
07:03 PM lcnc-relay: <JT> Nor do you of you couldn't spot the mistake LOL
07:04 PM solarwind: You normally see that kind of attitude from 18-22 year olds fresh out of high school, not 50+ year olds
07:05 PM lcnc-relay: <JT> you seem rto be the one with an attitude
07:05 PM solarwind: It's not productive for collaboration in any way, especially when you're blatantly wrong and violate every single standard
07:06 PM lcnc-relay: <JT> And you couldn't spot the error
07:06 PM solarwind: No, I didn't look long enough in a codebase that looks like it was written by a new amateur
07:06 PM lcnc-relay: <JT> So much for saying that you are an expert
07:07 PM solarwind: This isn't isn't about me, it's about the code that's just objectively bad
07:07 PM solarwind: put it through PEP8
07:08 PM solarwind: nobody will want to contribute to that project, which may be ok with you
07:10 PM solarwind: My skill is not determined by how good of a "Where's Waldo" scene designer you are
07:11 PM Tom_L: let it go mkay?
07:30 PM * JT-Mobile tires of this kindergarten crap and says bye bye to sunshine
07:35 PM XXCoder: sun will miss you. hopefully everything goes smoothly jt
07:38 PM JT-Mobile: thanks XXCoder
07:40 PM XXCoder: welcome
08:00 PM solarwind: I remember when they messed up my shoulder surgery
08:01 PM solarwind: the shoulder joint was split in half, but the X ray didn't capture it at the right angle, so it wasn't known to the surgeons
08:01 PM solarwind: they put in a steel plate and drove in some screws, but the screws caused the joint to split apart even more
08:01 PM solarwind: words cannot describe the pain and nobody understood why
08:02 PM solarwind: they did an MRI and an emergency surgery to fix it
08:07 PM solarwind: JT but that definitely won't happen to you :) ask for lots of opioids
08:07 PM solarwind: oxycodone is my favourite
08:36 PM flyback: https://www.ebay.com/itm/185836270762
08:53 PM CaptHindsight: solarwind: but but it works, don't it
08:54 PM solarwind: flyback why didn't you post that in #hardware
08:54 PM solarwind: thanks though, I'll pick a couple of those up
08:55 PM solarwind: CaptHindsight that's the thing, it doesn't. Normally we aim for "pure functional" and mathematically "reasonable" so we can write proofs for the behaviour of the program. SEL4 is great for that reason.
08:56 PM solarwind: That program is pretty much the opposite of all the design guidelines for maintainable and reasonable code
08:56 PM solarwind: Avoid shared mutable state as much as possible, try to make the UI as a function of state, etc.
08:57 PM CaptHindsight: it's a good thing that there is plenty of other things to do
09:16 PM flyback: not in that channel anymore
09:16 PM flyback: nor do I give a shit
09:16 PM flyback: it's not the channel I remenber from yrs ago, the channel is dead to me
09:18 PM CaptHindsight: buncha Intel and nVidia shills in there
09:19 PM flyback: tranny- has been slang for transmission and transistor for decades
09:19 PM flyback: but special interest groups got offended and flipped out
09:19 PM flyback: I don't have time for that nonsense
09:23 PM flyback: every last channel I have ever been banned from or left, eventually dries up and dies
09:23 PM flyback: every last one
09:23 PM flyback: so I am just going to wait
09:25 PM flyback: let them eat the flyback curse
09:28 PM Tom_L: you haven't been known for your best behavior at time ya know
11:09 PM lcnc-relay: <perry_j1987> hows it going
11:42 PM lcnc-relay: <ranga> tis going