Better HN
topnewbestaskshowjobs
Log inSign up

tayleeganj

4 karma · joined Jul 15, 2019 (7y ago) · 19 submissions

Submissions

comment 7y ago · link · parent

LMAO that Uber stunt is illegal and kinda exploitative

comment 7y ago · link · parent

This just seems primitive to me, use a UI framework and make ur life easier...

comment 7y ago · link · parent

they just add Vit D right is that so bad?

comment 7y ago · link · parent

btw your resume is way too long, keep it to one page.

comment 7y ago · link · parent

nice, looks pretty cool

comment 7y ago · link · parent

node

comment 7y ago · link · parent

have you looked at CDK?

comment 7y ago · link · parent

interesting. yeah I'm definitely proxiying all API calls through my own gateway. and yeah I'll have to run some tests.

comment 7y ago · link · parent

So I've got a site on S3 Cloudfront. I have an API gateway origin. I need to call an external API. The auth works by constructing a JWT, POSTing it to a token endpoint, and including that access token in requests to the API. I need a way to cache the access token.

1. Call API with Lambda proxy with the access token stored as a global variable outside the handler. Would be reused but like article mentions not guaranteed and can miss often. 2. Store access token client side (cookie). This would require one call per client even if the access token already generated. 3. Store access token externally (S3 or secrets manager?). Latency would increase, but could be combined with #1.

Any other way to do this?

comment 7y ago · link · parent

hope this is sarcastic lol

comment 7y ago · link · parent

Lol will have to check for a coe

comment 7y ago · link · parent

uh I think the main use for microwaves is reheating food. I've never used it cook anything.

comment 7y ago · link · parent

Nah prime is great even if ur in NYC. I lived there and used it all the time.

comment 7y ago · link · parent

You can cancel your auto renewal.