• 1 Post
  • 73 Comments
Joined 3 years ago
cake
Cake day: October 3rd, 2021

help-circle
  • Me too. But I stopped hopping ten years ago and settled down on Alpine, Void, or Gentoo, based on how fancy the hardware is, and the use case.

    To me, the hopping part relates more to tinkering and fine-tuning. Today I prefer things just work. I wish no down time on all my devices and servers, because who has time to figure out why my photo doesn’t sync to my NAS, or dig up that piece of paper when my password manager does not respond because of the proxy service is down?



  • It could, but not necessarily.

    char **args can just mean you have a pointer which points to an address, and at that address, you can get a second address. Follow the second address, there is a char saved there.

    On the other hand, char *args[] means " follow this address to find a list of characters".














  • CarrotsHaveEars@lemmy.mltoProgrammer Humor@lemmy.mlSQL Injection
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    14 days ago

    If you mean front end developers, then yes, that’s me.

    First, it’s not front end’s responsibility to sanitise the input before executing the query because it’s not the front end code which operates on the database. What if we have ten front ends? Implement it ten times?

    Second, it’s the back end who’s executing the query so they are doing it anyway. Doing it in the front end code is a waste of time and electricity.

    It’s not a war zone outpost. There is no such thing as multiple layers of security. It’s absurd to think that a piece of malicious data “beat up” the security code at the first spot, just to be knocked out by the same security code further down the road. If a piece is code is effectively sanitising the input then the best place to put it is where it’s closest to the database, and it only needs to happen once.



  • I downvoted OP as if this is StackOverflow.

    What is the use case for OP for using AI?

    What does OP not like about the current setup?

    What goal is OP trying to achieve?

    What drawback and extra cost is OP willing to take?

    Without providing any of the information, asking such a question, slabbing buzz words like “federated” to the title is just wasting everyone’s time. A few days ago there was even a question asking for a “federated browser”. (¯―¯٥)

    Despite all these some pals still provided insightful answers. You guys are amazing.