Ani
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Ani on 9/30/2024 in #questions
Open AI Billing me 3 Times for GPT Plus
Hey everyone!
I just got charged 3 times for a GPT Plus subscription. Their support website is completely unable, any advice on how I would go about getting a refund?
4 replies
TTCTheo's Typesafe Cult
•Created by Ani on 7/8/2024 in #questions
Imports and exports not working turborepo
Using create-t3-turbo I have declared Projects in the db schema:
but when i try and import this in server package I keep getting the error:
6 replies
DTDrizzle Team
•Created by Ani on 7/7/2024 in #help
error: cannot use column reference in DEFAULT expression
in this schema:
I am trying to add unitLength, but it's throwing this error when I have a default value, I get the same error with an integer.
7 replies
TTCTheo's Typesafe Cult
•Created by Ani on 4/12/2024 in #questions
Next Auth google says redirect URI is broken but works on another project
Hi! I am working on a project and I keep getting the error:
Access blocked: This app’s request is invalid
You can’t sign in because this app sent an invalid request. You can try again later, or contact the developer about this issue. Learn more about this error
If you are a developer of this app, see error details.
Error 400: redirect_uri_mismatch
but everything in configured directly, and added a temporary domain to the google console and deployed to vercel it does not give me the error, same credentials different code. Works in dev
8 replies
TTCTheo's Typesafe Cult
•Created by Ani on 4/11/2024 in #questions
Date being overridden in neon and drizzle orm
Hey! when I'm trying to store a date in drizzle orm and neon the date that's being written is overwritten here is the table:
on the create tRPC endpoint:
Is there some default postgres behavior I am unaware of?
5 replies
TTCTheo's Typesafe Cult
•Created by Ani on 3/24/2024 in #questions
Nextjs routing and layout inheritence issue
Hey I am having some trouble with layouts in nextjs:
here is my file tree:
and the root layout.tsx is being inheritied in the dashboard page even though I have this in (dasboard)/layout.tsx
Maybe it's just because I am extreemly sleep deprived but I don't see what I am doing wrong here
19 replies
TTCTheo's Typesafe Cult
•Created by Ani on 7/7/2023 in #questions
understanding drizzle insert
I am trying to use insert in drizzle orm and it is requiring the id for the model:
code:
error disperses when I add id to the schema, I was under the assumption that id is not required because it is auto generated?
6 replies
TTCTheo's Typesafe Cult
•Created by Ani on 7/4/2023 in #questions
Drizzle many-to-many error
When running push from drizzle I am getting an error:
6 replies
TTCTheo's Typesafe Cult
•Created by Ani on 5/21/2023 in #questions
increase LCP performance with t3 stack.
3 replies
TTCTheo's Typesafe Cult
•Created by Ani on 5/8/2023 in #questions
audio setup recommendation
Hello everyone I am looking into investing into microphone(s) for making videos and conducting interviews. I have a few questions
1. For a interview/podcast scenario, I am thinking purchacing 2 microphones. Can I make do with 1?
2. After a bit of research I settled on the Samson q2u mic which is currently 50usd on amazon. At the prices range of 50-100$ is there a better value microphone?
2 replies
TTCTheo's Typesafe Cult
•Created by Ani on 5/7/2023 in #questions
Formik, React-Datepicker error
I am getting
the formik form FormikDatePicker Component I don't see why I'm getting the error
TypeError: Cannot read properties of undefined (reading 'type')
when I try to pick a date with thethe formik form FormikDatePicker Component I don't see why I'm getting the error
4 replies
TTCTheo's Typesafe Cult
•Created by Ani on 4/18/2023 in #questions
keyboard purchase
I have a 100$ set aside to buy a keyboard. I'm thinking of the the Keychron k8 pro. Any thoughts or recommendations? First time mechanical keyboard so I don't know much. Sorry if I'm not allowed to ask a non tech related question, I'll take it down if it's against the rules.
20 replies
TTCTheo's Typesafe Cult
•Created by Ani on 4/2/2023 in #questions
understanding <a> in nextjs
Hello I am a little confused about how links work in nextjs I am using the
<a>
tag.
In the first image I use the <a> tag an get no errors
but in the second image I get an error.
any insight on why this is the case?15 replies
TTCTheo's Typesafe Cult
•Created by Ani on 3/20/2023 in #questions
Cheapest hosting service
Hey y'all I need to host a website, it's static for my blog and portfolio. I need the most cost effective hosting service. Any recommendations?
5 replies
TTCTheo's Typesafe Cult
•Created by Ani on 3/12/2023 in #questions
google next-auth error: invalid_client even if client id is correct
my auth was working fine but now I keep getting this error
[next-auth][error][OAUTH_CALLBACK_ERROR]
https://next-auth.js.org/errors#oauth_callback_error invalid_client (Unauthorized) {
error: OPError: invalid_client (Unauthorized)
at processResponse (/home/blue/Projects/tracker/node_modules/openid-server.js:157:99 {
name: 'OAuthCallbackError',
code: undefined
},
providerId: 'google',
message: 'invalid_client (Unauthorized)'
}
(deleted some of the error)
12 replies