HackerTrans
トップ新着トレンドコメント過去質問紹介求人

Spasnof

no profile record

投稿

Square Root Day

en.wikipedia.org
2 ポイント·投稿者 Spasnof·昨年·1 コメント

コメント

Spasnof
·昨年·議論
I was today days old when I learned about this. Also I was slightly sad to find that it wasn't in ISO 8601 format.
Spasnof
·2 年前·議論
Yes there are certain libraries that can handle this. Essentially asserting that functions documented are valid / return the proper results.

See https://docs.python.org/3/library/doctest.html#module-doctes... as an example.
Spasnof
·3 年前·議論
Key takeaway is that people don't consider it ( the three R's) an ordered list in terms of preference. What made this most clear to me was a full list of 5 R's.

Refuse > Reduce > Reuse > Recycle Rot
Spasnof
·3 年前·議論
Warning this is rando internet detective work so YMMV JustJake at twitter would likely know the actual answer to this question.

It was mentioned that the service was artifact registery[1]. They were 5000/10min and approved at 18k/min [2] The ui appears to show a limit of 100 but not what of [3].

So reading the docs on artifact registery quota docs the only things that stands out is the "1 repository creation or deletion operation every 2 seconds."[4] so doing the math that is a rate limit of 30 per minute or 300 per 10 min so aroudn the ballpark of what they are. Looking at my own project this matches up and I can add request new quotas[4] but it needs to go through a human on googles end to approve.

Anyhoo if they were approved for 18k/min that is nearly 600x the normal quota. So they were likely (pure speculation) caught up in some kind of dragnet of quotas that were well beyond the norm. Skimming the site[6] it appears to be a rapid cloud based ide / deployment thing and I can't imagine how they are creating so many repos unless for each customer build they pass along to gcp's artifact registery 1-1. I use artifactory repo as well for managing docker images but mostly just make new tags off a handful of repos and am not typically creating them at such scale.

Sucks that they had the quota lowered without warning but "if" they were operating at the speculated quota that is flying pretty close to the sun.

[1] https://twitter.com/JustJake/status/1667660212902453248 [2] https://twitter.com/JustJake/status/1667492928758095872 [3] https://twitter.com/JustJake/status/1667478906591666176 [4] https://cloud.google.com/artifact-registry/quotas#project-qu... [5] https://console.cloud.google.com/apis/api/artifactregistry.g... [6] https://railway.app/
Spasnof
·3 年前·議論
While this may be brutally honest. I find the SO version quite approachable and just generally good advice for newcomers. https://stackoverflow.com/help/how-to-ask
Spasnof
·4 年前·議論
I couldn't find it anywhere on the docs or in a few google searches. What is a porter? and how does it differ from a developer?

I understand the general concept of porting (ie https://en.wikipedia.org/wiki/Porting) but never heard of it as a specialization. Also what might people be porting from? If this intended as a migration guide.