Login
You're viewing the techdon.dev public feed.

Replies

  • Nov 10, 2026, 3:15 AM

    this is being used to track database entry expiry.
    for a process that runs /daily/

    a DATE would have been fine here, seconds would have been overkill, milliseconds would have been extravagant, MICROSECONDS is just going way, way too far

    💬 1🔄 1⭐ 28
  • 💬 1🔄 0⭐ 11
  • Nov 10, 2026, 3:19 AM

    ugh. my least favorite part of modern type-checked python is when the typechecker disagrees with reality.

    like I try to commit my code and the pre-commit hook runs the typechecker and yells at me:

    error[unresolved-attribute]: Object of type `Logger` has no attribute `debug`

    and I'm like... yes it does have that attribute. I have run the code, it has called logger.debug() many times, which it wouldn't be able to do if there was no debug().

    So you're wrong. But WHY are you wrong?

    💬 1🔄 1⭐ 33
  • 💬 1🔄 4⭐ 33
  • 💬 1🔄 0⭐ 28
  • 💬 0🔄 9⭐ 53