• 1 Post
  • 40 Comments
Joined 10 months ago
cake
Cake day: August 30th, 2024

help-circle














  • Eiri@lemmy.catoProgrammer Humor@lemmy.mlBefore and after programming
    link
    fedilink
    arrow-up
    16
    arrow-down
    3
    ·
    7 months ago

    Hmm, I follow the package’s readme and only get invalid command errors.

    Gotta install the pip dependencies.

    Oh but first you need to create a venv or everything will be global. Why isn’t that local by default like with npm? Hell if I know!

    Ah but before that I need to install the RIGHT version of Python. The one I already have likely won’t do. And that takes AGES.

    Oh but even then still just tells me the command is invalid. Ah, great, I live CLIs. Now I’ve gotta figure out PATH variables again and add python there. Also pip maybe?

    Now I can follow the readme’s instructions! Assuming I remember to manually open the venv first.

    But it only gives me errors about missing pieces. Ugh. But I thought I installed the pip dependencies!

    Oh, but turns out there’s something about a text file full of another different set of dependencies that I need to explicitly mention via CLI or they won’t be installed. And the readme didn’t mention that, because that’s apparently “obvious”. No it’s not; I’m just a front-end developer trying to run the darn thing.

    Okay. Now it runs. Finally. But there’s a weird error. There might be something wrong with my .env file. Maybe if I add a print statement to debug… Why isn’t it showing up?

    Oooh, I need to fully rebuild if I want it to show up, and the hot reload functionality that you can pass a command line argument for doesn’t work… Cool cool cool cool.




  • Expectations.

    People don’t expect a country that’s supposed to be a close ally to do actual pure evil.

    Russia has always been in a different category. It’s oscillated between being an outright enemy and being a distant, somewhat-ally the West is suspicious of. Either way, Putin was never someone you trust.

    When someone betrays your expectations, you have a stronger emotional response.

    When you feel like your country is actually helping with evil acts, that’s another layer of emotional response.

    But if someone you feel like you can’t do anything about and has always been bad anyway is being evil, again… Well it’s a bit of a “no shit, Sherlock” moment. Doesn’t spark anger in quite the same way.



  • I’m a front-end developer. I sometimes need to solve algebra problems. I’m pretty bad at it because I , but my knowledge that a problem is solvable by math comes in handy maybe once or twice a month. It’s just that on the few occasions that there’s algebra that I can’t figure out how to solve (maybe once a year), I may ask for help from a colleague.

    Examples of cases where math comes in handy:

    • Pythagoras when I need to figure out the x/y components of a diagonal distance
    • Width/height calculations from a variety of parameters

    In summary, as long as you know what math is capable of, you probably won’t have major issues. There will pretty much always be someone around to help with the math part if necessary.

    As for calculus… I forgot all about the one calculus class I’ve taken and I’ve never suffered for it.