Good point. I think knowing where to draw that line comes with experience (and having to fix lots of other people’s code).
Good point. I think knowing where to draw that line comes with experience (and having to fix lots of other people’s code).
I would have liked some comments explaining the rules we are trying to enforce or a link to the product requirements for it. Changing the rules requirements is the most likely reason this code will ever be looked at again. The easier you can make it for someone to change them the better. Another reason to need to touch the code is if the user model changes. I suppose we might also want a different password hash or to store the password separately even a different outcome if the validation fails. Or maybe have different ruled for different user types. When building a function like this I think less about “ideals” and more about why someone might need to change what I just did and how can I make it easier for them.
I often use imagemagick (cli) for cropping, rotating, resizing, etc.
I bet if you cut it vertically the lights will go out.
Nothing about OpenAI is open-source. The name is a misdirection.
If you use my IP without my permission and profit it from it, then that is IP theft, whether or not you republish a plagiarized version.
Explain how the interplanetary file system will distribute all of human knowledge to the galaxy and without block chain it wouldn’t work.