• 2 Posts
  • 19 Comments
Joined 3 years ago
cake
Cake day: June 20th, 2023

help-circle


  • vrek@programming.devtoProgrammer Humor@lemmy.ml•Code Quality
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 months ago

    Oh yeah… I once had a project to change a 0 to a 1 in a file on a machine used to manufacture devices. Basically operator had to align crosshairs over a certain point before starting. At 4 of the systems the operator could just touch the screen at the point and go. At one they had to push x+ or x- or y+ or y- repeatedly to line it up because the configuration had a 0 in the option “Click To Align”… It took 8 months to validate changing that to be 1





  • vrek@programming.devtoLinux@lemmy.ml•Beginning with Linux
    link
    fedilink
    English
    arrow-up
    4
    ·
    9 months ago

    One additional reason for this, if you mess something up you want sine working method to look up a resolution. If you change both and do something wrong so both systems are broke you don’t have a way to access resources that tell you what you dud wrong and how to fix.




  • Yeah I’m thinking my SD card is failing… I know it’s slow but I tried to do a fresh install in recovery 7 hours ago and it’s still initialing the “noob” installer.

    Supposedly I was thinking to small, I was thinking like trying to use nmap to discover all ip addresses on my lan or load vim to practice vim motions (I get the idea but I’m still too slow put in alot of commands cause I’m like ok… Up 10 lines, ok, up is… Look on cheat sheet… I… then number of lines… That was 10…look on cheat sheet… Oh just enter 10…it didn’t work… Figure out because it’s not ingrained in my head the time looking at a cheat sheet is making commands time out).


  • Yeah, I tried virtual box on my main system and kept running into odd problems with every distro. For example Debian had a full second of input lag, with 2 cores of a 13th Gen i5 and 16 gb of ram dedicated to it. Kali would install and I ejected the “installation medium” aka the iso and reboot and the virtual box couldn’t see any bootable drive. I tried fedora and it kept freezing on installing(sat at like 35% for over 3 hours)





  • I “tried” Linux but never got it usable. I initially decided to run a vm on virtualbox to experiment. I tried Debian, arch, kali, Ubuntu and all ended up having an input lag of 1-2 seconds. Windows the system was fine. But I found my self unable to do basic tasks it was no bad. I don’t mean I didn’t know a command or unwilling to find a foss software equivalent, I mean it took several tries to get the mouse over the X to close a program due to input lag.

    OK I then decided to try a docker container with Linux. It got so messed up if I open docker desktop it displays an error that the container was unable to start, if you close the error to edit settings or create a new container it closes docker desktop, no way to fix it.

    I was able to get a wsl command line working but all I found it able to do is add 5 steps to everything due to having to start the command, start wsl, log on, elevate permissions etc.




  • That’s not even code grief…

    Two examples that were far worse:

    1. My last company wanted software developers. They offered to send me to code boot camp and give me a promotion. The boot camp was primarily python. I complete and get the promotion. New manager tells me the code base I’ll work on is actually c… Umm ok. New manager retires a week later. I spend a few weeks basically teaching myself c. New manager is assigned. He tells me I should basically assist the senior Dev, ok no problem. Find out the code base is actually c#… Should be doable it’s c based atleast. It’s c# framework 4.8 based on winforns… No one in the building had heard of a unit test…the code was released to production on December of '23. Oh and yeah the senior Dev then announced he was retiring. There are no other c# programmers on the team.

    2. I told this story before recently. On a separate c# code base the “login” function had hard coded credentials in the source, which checked if they existed in a local sql database table with one entry(the hard coded values) and then verified the returned value for “password” was >= than 5. It then logged you in. Didn’t check if the password was correct or even the correct length just that the return of the select statement was greater than or equal to 5 characters… Just for fun remember that false is 5 characters 😂


  • To me the best use of cli is troubleshooting remotely. I don’t mean like ssh I mean like talking over the phone. It’s easier to say “type in this command” then say "at the top of the window there should be a menu bar, near the right, no not all the way to right, no don’t click the red x, it should say tools, move your mouse over tools, God damn it I said DON’T click the red x, now we have to start over, click the icon on the desktop, no I don’t know why it’s called icon, it doesn’t mean anything religious, please just open the application… I don’t care if you are Christian and find the term icon offesive… Hurry up I am late for the AA meeting I need after dealing with people like you. " wait the problem may just be coworkers…