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

help-circle
  • vrek@programming.devtoMemes@lemmy.mlIt still counts
    link
    fedilink
    English
    arrow-up
    9
    ·
    2 days ago

    Years ago when I was living with my parents, my mother was at work, I worked nights. She called me during the day and this was the conversation :

    Mom: I need a favor, go into my bedroom, get my cell phone and bring it to me.

    Me : you are are work right?

    Mom: yeah

    Me: you can’t make personal calls at work so you must be on break right?

    Mom: what? Just bring me my phone!

    Me: if you are on break, how are you calling me?

    Mom: oh shit, nevermind I found it.




  • 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)












  • Ah ok… That makes sense. I was thinking like generate a stream of data, data comes in some format like (string dataType, float dataValue) and a switch like case int{do this} case string {do that} then get new data and repeat while(true).

    If it only was calculating based on the test case yeah that’s bad.

    I told this before but I had a project which had an xml configuration of many sections each targeting something different. I wanted each section as an object. This was a system of many combined systems like one dmm, one custom automated shield box, one bluetooth tester, etc. Each needed specific data to connect to it and configure it for the tests we wanted to run. This was all I needed in the xml file.

    So I coded 1 function to read 1 section of the xml file and map it to an class object. I then copied that into Ai, copied configuration file into Ai, and told it to replicate it for each section. That worked. I think Ai can be used in specific circumstances where you are doing like repeated operations but it gets grossly overused. You also have to know the domain and the language to understand what it’s doing.

    Another example is I was asked to make a sql query which was basically a join(serial number and test guid in one table, test guid and test results in another table and only given serial number). My boss sent me a list of like 150 serial numbers separated by spaces over teams. I wrote the query for the first one and told the Ai to replicate it on the other serial numbers. Yes I could of gone through the list, backspace the space, add common, press enter and repeat. I knew how the query worked. I know the domain I was working in. The Ai output was basically the same as my original just with more serial numbers in the where clause.