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

help-circle
  • I’m not disagreeing with you. My mother has been a vegetarian for decades. She suffers from blood pressure problem and constantly has to go see her doctor. Every time it gets worse she has to eat a small amount of meat to boost her nutritional level, but then she always goes back to being a vegetarian.

    If it’s OK for anyone to have a meatless diet, good. If further more he or she does it to save the planet, even better. But not everyone can do so, so I hope those who can do it stop pointing fingers.






  • 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
    4
    arrow-down
    1
    ·
    1 month 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.



  • “Last”. Yes. In practice, I found eggs in a fridge age by weeks. I would still call them “fresh” within a week. After that, they don’t taste as well. Another week after that, visual changes happen on the shell. I can see as if the fluid inside is “breaching” the membrane thus dark spots on the outside. This is the last stage I would still be willing to consume them. After that I would throw them away.