I have a tech rant. I sometimes do tech on this account and not just Nazis. Frameworks that impose cleverness as praxis make me angry.
-
-
is... it? that sounds like an appropriate use of division
-
The semantics don't fit at all.
-
you want to know how many hours are in this timespan; division means "how many X are in this Y"
-
Ehhh.... division of two Subclasses doesn't make sense. Why should I believe __div__ is even supported?
-
Mind you, this is not *python's* datetime library, it is a Subclass within a module that doesn't consistently implement such methods.
-
hm, unless it's doing something /extremely/ weird i wouldn't expect it to break base class operations
-
(it is doing something extremely weird)
End of conversation
New conversation -
-
-
hi you might be interested in a library called ‘arrow’, which makes things like timedeltas really easy
-
now I have added another dependency to solve a problem that should be a basic method
-
well, the stdlib datetime module has timedeltas, they’re just more painful to use?
-
Also I’m worried I’m splaining right now.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.