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
TRPC Docs Generation
i was just looking for same thing and found this library -- https://github.com/dtinth/openapi-trpc?tab=readme-ov-file -- about a year old but seems like it does what we're both trying to do. specfiles just for the tRPC routes
4 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
DIAdiscord.js - Imagine an app
•Created by jamiedubs on 8/22/2023 in #djs-questions
Dynamic options for a slash command? Wizard-esque UI
thanks for confirming. do you know offhand of any examples of sort of chaining slash-commands together, or other ways of doing multi-step wizard-like UIs like this?
5 replies
DIAdiscord.js - Imagine an app
•Created by jamiedubs on 8/22/2023 in #djs-questions
Dynamic options for a slash command? Wizard-esque UI
alternately: is it possible to change some options from optional to required at runtime? In theory I could just do arg1,arg2, arg3 as optional and then just switch them to required depending on the input
5 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