• 0 Posts
  • 44 Comments
Joined 1 year ago
cake
Cake day: July 22nd, 2023

help-circle



  • In many places WhatsApp is the defacto standard unfortunately…

    If its not that its something like Viber, or badoo or telegram or some other nightmare service…

    If you have kids there is also not really getting away from it. Friends of mine have never had Facebook accounts until they had kids because the local football team or boyscout or whatever only uses Facebook to communicate…

    I agree you can live your life comfortably without meta services, but sometimes, like in the example above, you dont have any alternatives…

    You can’t keep harassing other parents to forward you messages or ask the team to print any messages specifically for you. Not having a Facebook account just gets “its easy to create” responses rather than “completely understandable, here’s our private matrix server to stay in the loop”.



  • Yeah it is kind of like the “trust, but verify” paradigm. It will likely generate useful code or a very good starting point, but you should always check if it actually does what you expect it to.

    You can’t trust them blindly. But They’re very helpful in your day to day tasks.






  • fluckx@lemmy.worldtoProgrammer Humor@lemmy.mlgot him
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    5 months ago

    What I meant was:

    In the screenshot it said x = *(++p) and iirc that is not the same as saying x = *(p++) or x = *(p += 1)

    As in my example using ++p will return the new value after increment and p++ or p+=1 will return the value before the increment happens, and then increment the variable.

    Or at least that is how I remember it working based on other languages.

    I’m not sure what the * does, but I’m assuming it might be a pointer reference? I’ve never really learned how to code in c or c++ specifically. Though in other languages ( like PHP which is based on C ) there is a distinct difference between ++p and (p++ or p+= 1)

    The last two behave the same. Though it has been years since I did a lot of coding. Which is why I asked.

    I’ll install the latest PHP runtime tonight and give it a try xD





  • I’m all for it as long as you keep using your brain. Coworker of mine set something upn on AWS that wasn’t working. Going through it I found the error. He said he tried it using chatgpt. He knows how to do it himself, he knows the actual mistake was a mistake, but he trusted Amazon Q when it said the mistake was correct. Even when double checking.

    Trust, but verify.

    I found it to be a helpful tool in your toolkit. Just like being able to write effective search queries is. Copying scripts off the internet and running them blindly is a bad idea. The same thing holds up for LLMs.

    It may seem like it knows what it’s talking about, but it can often talk out of its arse too…

    I’ve personally had good results with 3.5 on the free tier. Unless you’re really looking for the latest data