vrek

joined 2 years ago
[–] vrek@programming.dev 3 points 1 week ago (1 children)

If you did and it was usable across multiple cnc manufacturers you could make a pretty penny.

[–] vrek@programming.dev 3 points 1 week ago

Lol, yeah I've written g-code from 4 different manufacturers and yeah it's a new experience each time.

[–] vrek@programming.dev 12 points 1 week ago (1 children)

Yeah that's fucked up. From two perspectives 1. Who ever wrote that library needs money to survive. 2. From the company point of view they wasted WAY more money on the development then the license. Hell if 1 developer spent a day to do it, they paid more than they would for the license

[–] vrek@programming.dev 7 points 1 week ago (1 children)

If it makes you feel better at my last company I asked the "senior validation specialist" what the validation path would be for a program which incorporated unit tests.

The answer I got was "what's a unit test?"

[–] vrek@programming.dev 4 points 1 week ago

Interesting, I'll do some further research.

[–] vrek@programming.dev 9 points 1 week ago (5 children)

I worked on a laser seam welder which basically was programmed in a mix of g code and I guess vb??

The fun part was variables could only be numbers between 100 to 999. So let's say you have a sensor and need to verify it's within a certain range. You could set #525 to 10 and #526 to 20 then say #527 = sensor 1 signal. Now lower down you verify it as if(#525 > #527 || #526 < #527){show error}

Now you could create each variable at the beginning with comment of what it was but then have to keep referring to the top to remind yourself what number was what. Or create the variable at first use so it was closer but now it's spread across the document.

I went with first case and just printed out the first 2 pages which listed all the variables.

Before you ask, I talked to the guy who wrote the language and made the system many times he confirmed you couldn't use variable names.

[–] vrek@programming.dev 4 points 1 week ago

Yeah, that just seems like a recipe for disaster.

[–] vrek@programming.dev 6 points 1 week ago (3 children)

I mean... That's bad but not on the same scale of some of these other issues.

[–] vrek@programming.dev 6 points 1 week ago (4 children)

Wait 100 per year total or 100 per seat per year? If it's per seat I can understand, if it's total wtf...

[–] vrek@programming.dev 11 points 1 week ago (2 children)

That sounds like someone who didn't understand the purpose of private

[–] vrek@programming.dev 4 points 1 week ago (2 children)

What is a sonarqube? I never heard that term before. Could you also provide the names of some software to run them?

[–] vrek@programming.dev 2 points 1 week ago

Yeah but simply using entity framework would of made the configuration file a list of systems.

view more: ‹ prev next ›