Can’t wait for all the other horror stories getting posted here :D
Can’t wait for all the other horror stories getting posted here :D
Well from my personal PoV there are a few problems with that
I also personally ask myself how a PyPI Admin & Director of Infrastructure can miss out on so many basic coding and security relevant aspects:
On the other hand what went well:
Just for further clarification, the API works like this:
time
is the local (client) time (in this case UTC-7)servertimezone
is the time zone where the server is locatedtimezoneoffset
is the offset of the local time relative to the servertimezone (offset from the servers PoV)To get the UTC date you have to do something like this:
time.minusHours(timezoneoffset).atZone(servertimezone).toUTC()
Well if it’s a 32bit timestamp you’re screwed after 19 January 2038 (at 03:14:07 UTC)
So just for additional context:
This meme was brought to you by the following API response scheme:
{
"time": "2007-12-24 18:12",
"servertimezone": "Europe/Vienna",
"timezoneoffset": -8
}
when it could have just been
{
"date": "2007-12-24T18:21:00-07:00"
}
If you use utc here and a time zone definition changes, you’re boned
I’m pretty sure that things like the tz database exist exactly for such a case.
As far as I can tell it’s the other ways around: IPv4 is getting more costly
Example: AWS started to charge for IPv4 addresses a few months ago - a IPv4 address now costs around $3.6 per month
That GitHub comment makes my brain hurt and gives me Microsoft community forum advisor (run ChEcKDiSK tO mAYbe fIX tHe ProBLem) and “leave the multi-billion dollar company alone” vibes.
Also it’s not a single line - when looking at the source file - and a complete section instead.
WTF is he defining as an ad? “Advertising is the practice and techniques employed to bring attention to a product or service”. The whole section is bascially “Hey you can use Copilot to do this” - that’s an ad right there.
Makes no sense. Does this person think ad = you have to pay for it???
That’s basically what the whole issue is about. WTF are you even talking about then? Just shut up and give an upvote.
Overall a totally useless comment.