Sjmarf
- 17 Posts
- 4 Comments
Joined 2 years ago
Cake day: July 8th, 2023
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
Today I spent multiple hours trying to debug a timezone issue in a codebase. The timezone I was testing with was
Etc/GMT+4
, which I had assumed was four hours ahead of GMT. Turns out, it’s actually 4 hours behind GMT 🤦♂️
Sjmarf@sh.itjust.worksto Fediverse@lemmy.world•Lemmy Just Broke the 54k MAU Record Set During the 2023 API Exodus!English2·4 months agoWorth noting is that what counts as an “active user” has changed between now and then. During the Reddit API exodus, an “active user” was a user who had posted or commented in the past month. Now, it includes users who have voted. If the 54k MAU record was set using the first algorithm, it is likely that the MAU using the new algorithm (which includes voting) would have been much higher.
Python does have a
switch
statement now, actually. And yes, they went out of their way to call it something different -match
.https://docs.python.org/3/tutorial/controlflow.html#match-statements