jamiedubs
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Luka on 6/18/2024 in #questions
disable logging in next 14.2
LOL say more!
22 replies
TTCTheo's Typesafe Cult
•Created by Luka on 6/18/2024 in #questions
disable logging in next 14.2
your other thread in nextjs server which I also commented on a while ago lol https://discord.com/channels/752553802359505017/1228244954606997555
22 replies
TTCTheo's Typesafe Cult
•Created by Luka on 6/18/2024 in #questions
disable logging in next 14.2
right? i dug into internals and didn't see any flags for it either
22 replies
TTCTheo's Typesafe Cult
•Created by Luka on 6/18/2024 in #questions
disable logging in next 14.2
i see nails, i find hammer
22 replies
TTCTheo's Typesafe Cult
•Created by Luka on 6/18/2024 in #questions
disable logging in next 14.2
if you find something less ridiculous pls lmk 🙂 I'm shocked how few people this bothers. It's often really helpful, but not always
22 replies
TTCTheo's Typesafe Cult
•Created by Luka on 6/18/2024 in #questions
disable logging in next 14.2
I've been hunting for this for a while without luck. asked here and in nextjs server and GitHub discussions. I have resorted to:
22 replies
TTCTheo's Typesafe Cult
•Created by jamiedubs on 5/1/2023 in #questions
Best practices for data migrations/historical data changes?
unfortunately not. We're still doing ad-hoc approaches depending on what it is. e.g. sometimes a SQL query (!). sometimes a script with production DB credentials (!!). but whenever possible, a one-off idempotent serverless function
kills me since this is such a common workflow and very solved in rails, django, etc
5 replies
TTCTheo's Typesafe Cult
•Created by csshsh on 9/19/2023 in #questions
console.log calls not showing up in Vercel runtime logs, when streaming edge function runs longer
here's a test repository for this for anyone else following along https://github.com/glifxyz/missing-vercel-logs
4 replies
TTCTheo's Typesafe Cult
•Created by Gynthazi on 9/5/2023 in #questions
When would you all choose ct3a over astro?
isn't Astro essentially a frontend-only framework? so if you either don't need a backend or already have one, it's a great choice
4 replies
TTCTheo's Typesafe Cult
•Created by 'tonyyprints' on 9/5/2023 in #questions
discord callback url
Hm yes that is an error I haven't seen before. maybe you discord app is set to only allow certain users? I vaguely recall some test-mode/allowlist settings like that
24 replies
TTCTheo's Typesafe Cult
•Created by jeff.kershner on 9/5/2023 in #questions
Drizzle with T3 and NextAuth
I know folks using Drizzle + Nextjs with a little bit of hackery, but haven't tried it with T3 specifically
7 replies
TTCTheo's Typesafe Cult
•Created by 'tonyyprints' on 9/5/2023 in #questions
discord callback url
fwiw i've never been able to get Vercel preview envs + Discord auth to behave, since the Discord API does not support wildcard redirect domains. only specific hardcoded domains
24 replies
TTCTheo's Typesafe Cult
•Created by EggsLeggs on 7/29/2023 in #questions
Hosting platform for docker images (discord bot specifically)
some things need to be continuous processes, like Discord bots. Fly.io with docker container is a great choice. You could use Railway or DigitalOcean too
45 replies
TTCTheo's Typesafe Cult
•Created by Christian Lind on 4/21/2023 in #questions
Bad performance using planetscale, vercel, prisma
i have also seriously considered using vercel's new cronjob feature to hit a random serverless endpoint to try and keep it warm
50 replies
TTCTheo's Typesafe Cult
•Created by Christian Lind on 4/21/2023 in #questions
Bad performance using planetscale, vercel, prisma
here's one of the long-running issues about it: https://github.com/prisma/prisma/issues/10724
50 replies
TTCTheo's Typesafe Cult
•Created by Christian Lind on 4/21/2023 in #questions
Bad performance using planetscale, vercel, prisma
I like Prisma generally so this is super annoying. the only reliable solutions are basically switching to other libraries, like Drizzle (which is brand new)
50 replies
TTCTheo's Typesafe Cult
•Created by Christian Lind on 4/21/2023 in #questions
Bad performance using planetscale, vercel, prisma
honestly this nextjs + prisma being so slow issue is baffling to me. It's a pervasive issue that's not getting nearly as much attention as it should get
50 replies
TTCTheo's Typesafe Cult
•Created by jamiedubs on 4/14/2023 in #questions
API token authentication w/ NextAuth
annoying to have slightly different code for edge functions vs. normal serverless functions but so be it
5 replies
TTCTheo's Typesafe Cult
•Created by jamiedubs on 4/14/2023 in #questions
API token authentication w/ NextAuth
if anyone finds this post later, I ended up implementing a simple edge function middleware for this which checks for my token, then falls back to NextAUth
5 replies
TTCTheo's Typesafe Cult
•Created by João Santos on 4/7/2023 in #questions
Steam auth support.
if they’re planning to get rid of it, step 1 is to stop accepting new apps for it
19 replies