• 0 Posts
  • 28 Comments
Joined 8 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
    ·
    5 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.




  • 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.