• 0 Posts
  • 19 Comments
Joined 1 year ago
cake
Cake day: November 10th, 2023

help-circle
  • Is python being easy to learn actually true?

    In my experience teaching C to non computer science students It should be. They struggle a lot with variable type and the strict syntax in general, tokenization , etc, but specially ; and {}. They are more visual so I think the forced identification of python helps and they can see to which block a line of code belongs and also it is easy to think one line one statement. When they forgot a semi-colon it is hard to explain that it became one logical line with the next one.


  • Docstrings now have their leading indentation stripped

    I foolish thought that it meant that finally python introduced a hassle free simple way to have indented triple-quoted literal strings. But no. It baffles me that you cannot have simple literal strings that are indented. This is specially annoying if you are using them as templates to output multiline text.





  • I also have a PS5 controller, as far as I understand, haptic feedback is not humble, it is a resistance in the triggers (L2 and R2) só a game can make pull the trigger be harder of softer depending on the situation.

    I don’t know how many or which games uses it seem how many games still does not correctly display PS controller icons and etc and fallback to the MS iconography.

    As far as I know haptic and maybe the mic/phone are the only things that does not work over BT. But I also think I read that some things that does work with BT does not work over USB




  • “I like my coffee bitter, like life”

    “If it tastes good It is not healthy”

    Just to clarify, I am not a super healthy eater. I like to use this expression when the topic comes up to point out that there is no magic and is a miserable experience to lose weight and eat better, better to come to terms with it.

    Yeah. I am not a super positive person.




  • Coriza@lemmy.worldto196@lemmy.blahaj.zoneNeil rule
    link
    fedilink
    arrow-up
    6
    ·
    4 months ago

    There is a Brazilian Rock Band with a great song named “Santa Claus son of a bitch” (or maybe motherfucker) here is the Google translate (with light editing) of the first couple verses:

    Santa Claus motherfucker
    Reject the wretched
    I want to kill him!
    That capitalist pig
    
    Give gifts to the rich
    And spits on the poor
    Give gifts to the rich
    And spits on the poor
    

  • That is because the US does not have an official language at the federal level. Some states do though, and some only English is the official language but some do recognize Spanish and native American languages as official languages. Of course it would be nice to have a more formal approach but I was very surprised of how much stuff is written in more than one language and for Spanish in specific I think you have a very high chance of finding some employee that speaks it or they try to translate. At least in the couple of places that I have being which I admit is a small sample size