WYGIWYG

  • 6 Posts
  • 2.5K Comments
Joined 10 months ago
cake
Cake day: September 24th, 2024

help-circle

  • I personally feel that giving the growing user base things they want is probably the most prudent reason. Constantly refusing to provide simple constructs that are available everywhere else It’s not a good look. In the open source world if you do that shit enough you end up getting forked.

    The context and ease of switch in a functional programming layout is a rather clean implementation.

    Otherwise you end up with the crap like they’re pulling with flask were you just make an unnamed, unindexed number of functions. Can you sort and organize your functions and make everything clean? Sure you can. Does it happen by default? Almost never.

    You can walk up to someone else’s switch and see what the options are. The code flows through that simple construct and it’s very easy to understand someone else’s work.

    I load up someone else’s flask endpoint, It’s just this multi-page stream of consciousness.

    You don’t need switch, But there’s a reason why so damn many people ask for it. Before they agreed to include “match”, They said just to use getattr and write your own switch.




  • Python is a natural evolution for web development, especially once you’re past the fundamentals. For someone with no scripting background, PHP is easier to approach. The syntax is more direct, and basic debugging doesn’t require any setup. An error happened on x line is the default behavior.

    Python’s logging system can be tricky to configure properly if you’re unfamiliar with the factory and error level handling. Those green people don’t have any idea where to put the log or how to let the web server talk to it safely.

    It’s the little bs like refusing for years to include switch, then when they finally give, they just refuse to allow fallthrough. It’s like they said, fine, but it’s got to work slightly differently and we don’t like the name… it feels childish.

    All things considered, Python has a richer ecosystem and deeper long-term potential. But there’s something to be said for how quickly a basic PHP site can be spun up and debugged with minimal knowledge with minimal friction. And that’s why it’s still around so much today.




  • That’s one password, and then use 2FA or a passkey or a yubinkey or anything to secure it so the security of the password isn’t a big deal

    Then go to every single thing you have a password for, and have the password manager set it to something random. I personally like pass phrases get it up in the teens of characters multiple words multiple numbers multiple special characters. 99.9% of the time you shouldn’t be typing any of this in. It should be injected for you. If per chance you should need to type one of them in typing in four or five words some numbers and some special characters is not really a horrible grievance.


  • rumba@lemmy.ziptoPeople Twitter@sh.itjust.worksLearning on the job
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    1
    ·
    1 day ago

    OMG this.

    Person in front checking out:

    BEEP

    Lays item on the scale, but is leaning on the scale.

    PLEASE REMOVE ITEM FROM THE SCALE

    Picks item up

    Please put item on the scale

    puts item on the scale but has their hand on the scale still

    PLEASE REMOVE ITEM FROM THE SCALE

    HELP IS ON THE WAY

    (help was not on the way)

    Them: These things NEVER WORK!!!

    30 seconds later the POS resets and lets them try again.

    me: Stop touching the scale, just leave you item there and back off

    it works

    They scan the next item and place it on the scale and leave their hand on the scale.

    PLEASE REMOVE ITEM FROM THE SCALE

    Every single item, they never learned. I eventually went to stand in the single manned line that had 15 people in it.










  • people he wanted to target but never got anywhere.

    All it’ll do is make a list of probabilities.

    If you were caught having sex with an intern, AND you were in Epstein’s book, it just has a higher chance. However, he’s more likely to go after someone who has been publicly caught.

    The black book isn’t as interesting as the redacted information in the court papers. Sealed details about the official testimony are going to be far more damning than his little black book.

    Also, there may be stuff like flight logs of personal accounts putting people in bad places.