“በእርሱ የሚያምን ሁሉ የዘላለም ሕይወት እንዲኖረው እንጂ እንዳይጠፋ እግዚአብሔር አንድያ ልጁን እስኪሰጥ ድረስ ዓለሙን እንዲሁ ወዶአልና።”
— ዮሐንስ 3፥16
@chrstian_316
— ዮሐንስ 3፥16
@chrstian_316
❤6❤🔥2
Man...I spent like 3 hours trying to fix this prisma initialization issue no help from ai no help from the docs nothing I tried everything 😭
Turns out prisma v7 changed a bunch of stuff under the hood so when I tried to initialize it it just kept failing silently no clear error even ai was confused lol 😁
Ended up digging through their github issues and codebase and finally found it, Prisma v7 now initializes prismaClient before nestjs loads env variables and since older versions injected envs directly in the schema this never happened before
the fix
just initialize prisma after all envs are loaded use ConfigService inside your prisma/db service and set it up there.
worked instantly if you updated to prisma 7 and your app suddenly broke yeah this is probably why 😅
@devwitheyob #Prisma #DailyTechTips
Turns out prisma v7 changed a bunch of stuff under the hood so when I tried to initialize it it just kept failing silently no clear error even ai was confused lol 😁
Ended up digging through their github issues and codebase and finally found it, Prisma v7 now initializes prismaClient before nestjs loads env variables and since older versions injected envs directly in the schema this never happened before
the fix
just initialize prisma after all envs are loaded use ConfigService inside your prisma/db service and set it up there.
worked instantly if you updated to prisma 7 and your app suddenly broke yeah this is probably why 😅
@devwitheyob #Prisma #DailyTechTips
👍3⚡1
How well do you know JavaScript's Date class?
try this out 👉 https://jsdate.wtf/
I bet you won't answer much, even if you are experienced dev🤭
@devwitheyob #WeirdJS #JS
try this out 👉 https://jsdate.wtf/
I bet you won't answer much, even if you are experienced dev🤭
@devwitheyob #WeirdJS #JS
jsdate.wtf
new Date("wtf")
How well do you know JavaScript's Date class?
👍3🤬1
Nest.js is insane in how much effort and complexity it saves in Node projects. I use it for big apps and even smaller ones because the structure is so clean and the paradigm is also good. The only downside is deployment it’s not as straightforward to deploy as an express app special on vercel.
@deviwtheyob
#NestJs
@deviwtheyob
#NestJs
❤1
He washed the feet of the ones who’d walk away.
He broke bread with the one who’d break Him.
That’s not weakness that’s divine love.
-- John 13:5
@chrstian_316
He broke bread with the one who’d break Him.
That’s not weakness that’s divine love.
-- John 13:5
@chrstian_316
🔥5❤🔥1❤1
TechVibe
Nest.js is insane in how much effort and complexity it saves in Node projects. I use it for big apps and even smaller ones because the structure is so clean and the paradigm is also good. The only downside is deployment it’s not as straightforward to deploy…
If you wanna start learning something I recommend learning from docs.
Specially Nest.js doc is much more fun and really helpful to understand it's working principle.
@devwitheyob
Specially Nest.js doc is much more fun and really helpful to understand it's working principle.
@devwitheyob
❤2💯1
Forwarded from Dagmawi Babi
Been thinking a bit more and OpenAI has released Sora, Atlas, Group Chats, Apps, GPT-5.1, Product Research, ChatGPT for Teachers and more products and features this past few months but nothing is sticking or has stuck around for longer than launch week. They can set trends, but somehow can't keep it.
Currently, they don't have the best model, Anthropic has, they don't have the best image gen model, Google has, they don't have the best browser and more. What they have is a good video gen model but that's behind Sora. What they have is the best chat product. Their ChatGPT web and mobile app. Sam has also been awfully quiet since Gemini 3 launch too. They're either grinding out the next big thing for them, or they're actually behind.
It's a bit concerning. 🤔
Currently, they don't have the best model, Anthropic has, they don't have the best image gen model, Google has, they don't have the best browser and more. What they have is a good video gen model but that's behind Sora. What they have is the best chat product. Their ChatGPT web and mobile app. Sam has also been awfully quiet since Gemini 3 launch too. They're either grinding out the next big thing for them, or they're actually behind.
It's a bit concerning. 🤔