Filter
Exclude
Time range
-
Near
Using AI when you know a lot about software development is great, as opposed to when you're a newbie (simplistic point, but lots of people need to think about it before declaring "learning to code" obsolete) I'm not a NodeJS expert, or any backend expert for that matter, but I'm working on a small NodeJS project right now and needed a function to implement exponential backoff. Now I know what exponential backoff is, though I've never implemented it. I typed in "function exponentialBackoff" and got this function from Copilot I'm not sure if it is great, but as a developer, I can debug it, reason about it, and improve it. I can own this code and maintain it. Now imagine doing this without knowing what "exponential backoff" even is - try to explain it to AI. Hell, you might not even realize it exists and can be useful to your use case.
3
18
2,238
SLO次第ではcap設定しておかないとExponentialBackoff伸びすぎてもよくない。たしかに。 #srenext
2
78
13 Mar 2024
Replying to @redacted_noah
to infinity and beyond! let backoff = ExponentialBackoff::default(); backoff::retry(backoff, op)
2
78
23 Dec 2023
First time running into the RPM limit automating ChatGPT with #PowerShell - seems like my code needs a coffee break as much as I do! #ExponentialBackoff
5
701
再帰が必要な場面はどこかって言われるとあんまり多くないけど、とりあえずExponentialBackoffを再帰で書くとかっこいい気持ちにはなれる。
2
Replying to @Rinatamu_ITDR
いわゆるExponentialBackoffですね!合わせてJitterも。 その動作をさせるのがデバイス側依存なので、もしかしたらミリ秒単位で間断なく再接続を試行しちゃうデバイスは存在しうるとは思います。 それ以外にも設備間での再送処理もあったりするので更に話はややこしいのです😇
2
Some days I love Rust, some days I write this type signature: Result<<<F as FutureFactory>::FutureItem as TryFuture>::Ok, <LoggingErrorHandler<ExponentialBackoff> as ErrorHandler<<<F as FutureFactory>::FutureItem as TryFuture>::Error>>::OutError>
14
前にも同じ流れで書きましたが、待機はどれだけ待てばいいかが確定的に決められないので、よほど特殊なシチュエーションでないと安全に使えないですよねぇ。ExponentialBackoffとかで繰り返し待つとかしないと危ないっす
1
3
YSK: The #googleCloud #PhpSdk ExponentialBackoff (github.com/GoogleCloudPlatfo…) has a max timeout of 60s per try (set as const). Was kinda surprised. Expected ExponentialBackoff(10) to have a guaranteed retry time of 1024s. It's only ~300s instead & just killed some #bigQuery jobs.
1
ええかんじにExponentialBackoffを実現できるTransformerを改造できたので🍚
1