I hereby claim:
- I am tteggel on github.
- I am tteggel (https://keybase.io/tteggel) on keybase.
- I have a public key whose fingerprint is 667C 8788 2225 32B8 1AFD E8F0 6ECA 37AF 0A9F CA4B
To claim this, I am signing this object:
*.log |
I hereby claim:
To claim this, I am signing this object:
public void book1(TripReq input) { | |
Flow f = Flows.currentFlow(); | |
FlowFuture<BookingRes> flightFuture = | |
f.invokeFunction("./flight/book", input.flight, BookingRes.class); | |
FlowFuture<BookingRes> hotelFuture = | |
f.invokeFunction("./hotel/book", input.hotel, BookingRes.class); | |
FlowFuture<BookingRes> carFuture = |
public void book2(TripReq input) { | |
Flow f = Flows.currentFlow(); | |
FlowFuture<BookingRes> flightFuture = | |
f.invokeFunction("./flight/book", input.flight, BookingRes.class); | |
FlowFuture<BookingRes> hotelFuture = | |
f.invokeFunction("./hotel/book", input.hotel, BookingRes.class); | |
FlowFuture<BookingRes> carFuture = |
private static <T> FlowFuture<T> _exponentialWithJitter(Flows.SerCallable<FlowFuture<T>> op, RetrySettings settings, int attempt) { | |
Flow f = Flows.currentFlow(); | |
try { | |
FlowFuture<T> future = op.call(); | |
return future.exceptionallyCompose((e) -> { | |
if (attempt < settings.maxAttempts) { | |
long delay_max = (long) Math.min( | |
settings.timeUnit.toMillis(settings.delayMaxDuration), | |
settings.timeUnit.toMillis(settings.delayBaseDuration) * Math.pow(2, attempt)); |
public void book3(TripReq input) { | |
Flow f = Flows.currentFlow(); | |
FlowFuture<BookingRes> flightFuture = | |
f.invokeFunction("./flight/book", input.flight, BookingRes.class); | |
FlowFuture<BookingRes> hotelFuture = | |
f.invokeFunction("./hotel/book", input.hotel, BookingRes.class); | |
FlowFuture<BookingRes> carFuture = |
I hereby claim:
To claim this, I am signing this object:
async function* take(n, obj) { | |
let done; | |
const iterator = obj[Symbol.asyncIterator](); | |
while(!done) { | |
yield Promise.all( | |
Array.from( | |
{length: n}, | |
async function() { | |
const result = await this.next(); | |
done = result.done; |
User password is fed through crypto_scrypt (https://github.com/firebase/scrypt/blob/master/lib/crypto/crypto_scrypt.c) with the following parameters to generate a 512-bit key:
parameter | value |
---|---|
password | bytes from user password |
passwordlen | length of user password in bytes |
salt | 80 bit salt from a pseudo-random number generator as specified in section 10.1.2 of the NIST SP 800-90 standard + 8-bit separator |
saltlen | 11 |
N | 16384 |