vrek

joined 2 years ago
[–] vrek@programming.dev 7 points 2 weeks 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 2 weeks ago

Interesting, I'll do some further research.

[–] vrek@programming.dev 9 points 2 weeks 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 2 weeks ago

Yeah, that just seems like a recipe for disaster.

[–] vrek@programming.dev 6 points 2 weeks 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 2 weeks 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 2 weeks ago (2 children)

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

[–] vrek@programming.dev 4 points 2 weeks 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 2 weeks ago

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

[–] vrek@programming.dev 13 points 2 weeks ago

I agree but I would say if there are variable token costs depending on report it would be nice if client sent request to server, server calculates x tokens to be used, sends x to client, client confirms that's acceptable, server does work.

Like if I expected a report to be 2 tokens but because of some quirk or a typo or something it cost 200 tokens I would like a chance to cancel it if it's not worth it.

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

What was the final result? Did you cancel the contract or re-write the whole thing?

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

Was he trying to use a ide or like vim/clang/gdb for debugging before giving up?

view more: ‹ prev next ›