• 1 Post
  • 172 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".













  • By shorts of you mean underwear, not much except to look out for the material. Cotton ones in long runs will become so wet and make you feel a little uncomfortable, but not a deal breaker. Personally I find the smooth ones with chemicals stuff nicer. (Sorry for not knowing the name.)

    The outer layer can have double layers thus putting insulation to keep your thighs warm. This is especially important in winters. If you can find a cheap pair that does this, good. The mid-tier from Decathlon is good enough.



  • CarrotsHaveEars@lemmy.mltoProgrammer Humor@lemmy.mlSQL Injection
    link
    fedilink
    arrow-up
    4
    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.


  • I used to use Gboard for Cantonese input. I downloaded fcitx5 reading your comment and tried it for some time. There are some features noticeably missing compared to Gboard.

    • top numeric row
    • single-hand mode
    • simplified and traditional characters selection#

    # Found it. It’s in the settings bar at the top of the typing area. Click it open and go deep inside it.

    What Gboard and fcitx5 both don’t have for Jyutping input is glide typing. I wish fcitx5 have it because it is really what could make me switch and not look back. Gboard in general has better finger tap detection/correction because duh Google had more data to train on. But I will definitely start using fcitx5 because being open source is sufficient for me to switch.

    For languages that isn’t supported by its plugins like Japanese, I have to keep using Gboard though.