Web Dev Cody
Web Dev Cody
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Web Dev Cody on 7/3/2023 in #questions
App router question about Link
@yashsingh1 it didn't help
10 replies
TTCTheo's Typesafe Cult
Created by Typedef on 6/30/2023 in #questions
Need advice on handling 10,000 images on Lambda
so you pass the stream from the archiver directly into s3Client.upload({Body: zipStream}) or something
6 replies
TTCTheo's Typesafe Cult
Created by Typedef on 6/30/2023 in #questions
Need advice on handling 10,000 images on Lambda
we do something similar at work where we grab a bunch of PDFs, combine them all to a single zip, and stream them to s3. I think you want to use the s3Client.upload method which takes in a stream for the Body
6 replies
TTCTheo's Typesafe Cult
Created by Web Dev Cody on 5/2/2023 in #questions
tRPC suppressing server logs?
and trpc was throwing some strange error
8 replies
TTCTheo's Typesafe Cult
Created by Web Dev Cody on 5/2/2023 in #questions
tRPC suppressing server logs?
turns out the lambd was timing out
8 replies
TTCTheo's Typesafe Cult
Created by Web Dev Cody on 5/2/2023 in #questions
tRPC suppressing server logs?
so I'm seeing this on my frontend: Unexpected token 'I', "Internal S"... is not valid JSON
8 replies
TTCTheo's Typesafe Cult
Created by Web Dev Cody on 2/23/2023 in #questions
tRPC response time sometimes takes very long
So as my array of objects stream down it starts loading the images at the same time?
119 replies
TTCTheo's Typesafe Cult
Created by Web Dev Cody on 2/23/2023 in #questions
tRPC response time sometimes takes very long
Maybe tRPc is streaming the json down? Is that a thing?
119 replies
TTCTheo's Typesafe Cult
Created by Web Dev Cody on 2/23/2023 in #questions
tRPC response time sometimes takes very long
@Tom3 yes, using img instead of Image fixes it
119 replies
TTCTheo's Typesafe Cult
Created by Web Dev Cody on 2/23/2023 in #questions
tRPC response time sometimes takes very long
let me try that
119 replies
TTCTheo's Typesafe Cult
Created by Web Dev Cody on 2/23/2023 in #questions
tRPC response time sometimes takes very long
lol nah these are good ideas
119 replies
TTCTheo's Typesafe Cult
Created by Web Dev Cody on 2/23/2023 in #questions
tRPC response time sometimes takes very long
I commented out the .map and verified, the requests went down to like 100ms every time
119 replies
TTCTheo's Typesafe Cult
Created by Web Dev Cody on 2/23/2023 in #questions
tRPC response time sometimes takes very long
that's basically what I did, it's just a single next page with an h1 and .map of <Image components
119 replies
TTCTheo's Typesafe Cult
Created by Web Dev Cody on 2/23/2023 in #questions
tRPC response time sometimes takes very long
must be that my image requests are causing the network tab to not report a request as "finished" until it completes all the sub-sequential image requests?
119 replies
TTCTheo's Typesafe Cult
Created by Web Dev Cody on 2/23/2023 in #questions
tRPC response time sometimes takes very long
k I removed all the images from the page and now I do not see the requests taking 2s
119 replies
TTCTheo's Typesafe Cult
Created by Web Dev Cody on 2/23/2023 in #questions
tRPC response time sometimes takes very long
nope
119 replies
TTCTheo's Typesafe Cult
Created by Web Dev Cody on 2/23/2023 in #questions
tRPC response time sometimes takes very long
I know this is going to end up being something dumb on my end
119 replies