• 0 Posts
  • 42 Comments
Joined 6 months ago
cake
Cake day: April 30th, 2024

help-circle















  • One thing, does your dog actually crack the treats or can it swallow them whole? We thought the same thing with our large (not overweight, but still 16 lb) cats. Gave them daily dental treats, vet kept saying teeth are bad.

    We switched to a new vet during a move who explicitly pointed that out to us, if they aren’t actually chewing on and cracking them it does nothing. Got the same treat just made larger, way less dental issues.


  • Technically the Python bool is fine, but it’s part of what makes numpy special. Under the hood numpy uses c type data structures, (can look into cython if you want to learn more).

    It’s part of where the speed comes from for numpy, these more optimized c structures, this means if you want to compare things (say an array of booleans to find if any are false) you either need to slow back down and mix back in Python’s frameworks, or as numpy did, keep everything cython, make your own data type, and keep on trucking knowing everything is compatible.

    There’s probably more reasons, but that’s the main one I see. If they depend on any specific logic (say treating it as an actual boolean and not letting you adding two True values together and getting an int like you do in base Python) then having their own also ensures that logic.