• 12 Posts
  • 781 Comments
Joined 5 years ago
cake
Cake day: May 31st, 2020

help-circle





  • It’s the value of the US dollar over the past 5 days. This is too short of a timespan to assign much meaning to this, but if it keeps dropping, US citizens will eventually have to spend more dollars for the same goods.
    In theory, they would also receive more dollars from their job, since they still do the same job and that should be valued the same. But in practice, that’s going to naturally lag behind and companies also have to spend more dollars for resources, so they might never hand out a big enough number of dollars to match the current pay.




  • Yeah, that’s kind of my least favorite part about the existence of LLMs. Before, when someone wrote some code, there was a non-zero chance that they understood what they were doing and that the code is at least sane on a basic level. If they did some complex shit or even just wrote rather verbose code, you could be reasonably certain that they tried something simpler first.

    Now, all of those assumptions are out the window. The biggest dumbass can generate code that looks alright at first glance and if you have to review it, you really don’t know how to interpret it or how much to explain when you find fairly obvious mistakes.


  • Here’s an example, I have looked up many times (like just now), which checks whether a string is empty:

    var=""
    if [ -z "$var" ]; then
        echo "empty"
    else
        echo "not empty"
    fi
    

    Why -z? I have no idea. I will also routinely forget the ]; then part. I believe, if you write the then onto the next line, then you don’t need the semicolon. And then someone’s probably gonna tell me to use double-brackets [[ ]] instead, which probably does something.

    Arguably, I never fully learned Bash syntax, but it also is just a stupid if-statement. There shouldn’t be that much complexity in it.




  • Ephera@lemmy.mlto196@lemmy.blahaj.zonerule
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 days ago

    If you have to make a spreadsheet, yeah. But since I’ve started working in a company, I have seen things, which will make me avoid making a spreadsheet, even if it’s theoretically a good fit for the task at hand.