IkBenJur
IkBenJur
TTCTheo's Typesafe Cult
Created by kcinnay on 12/9/2023 in #questions
TypeError: Cannot read properties of null (reading 'useState')
4 replies
TTCTheo's Typesafe Cult
Created by kcinnay on 12/9/2023 in #questions
TypeError: Cannot read properties of null (reading 'useState')
You can’t use react in your API folder directory. The API folder is for the backend and since react is runs on the client it cant be used in the API folder
4 replies
TTCTheo's Typesafe Cult
Created by gnarley_farley. on 12/8/2023 in #questions
What's the best way to handle WebSockets and streaming for these AI apps + t3?
https://create.t3.gg/en/other-recs this page has some more recommendations
5 replies
TTCTheo's Typesafe Cult
Created by gnarley_farley. on 12/8/2023 in #questions
What's the best way to handle WebSockets and streaming for these AI apps + t3?
For websockets t3 documentation recommends Pusher (https://pusher.com). As for streaming ai response I don’t know
5 replies
TTCTheo's Typesafe Cult
Created by Steve Melons on 11/30/2023 in #questions
Extend next-auth session with drizzle adapter
Or am I thinking wrong
75 replies
TTCTheo's Typesafe Cult
Created by Steve Melons on 11/30/2023 in #questions
Extend next-auth session with drizzle adapter
Actually now that I’m thinking. Did you set a default value for the role in your schema? Let’s say you create a new user in your db and you don’t set the role manually. Don’t have a default value set in the schema either and try to access the role through user.role in the session. The user.role will be empty and thus the role field will never be passed along right?
75 replies
TTCTheo's Typesafe Cult
Created by Steve Melons on 11/30/2023 in #questions
Extend next-auth session with drizzle adapter
The link if you want to read the rest btw https://authjs.dev/guides/basics/role-based-access-control
75 replies
TTCTheo's Typesafe Cult
Created by Steve Melons on 11/30/2023 in #questions
Extend next-auth session with drizzle adapter
No description
75 replies
TTCTheo's Typesafe Cult
Created by Cursed Idol on 11/17/2023 in #questions
Should I finish my non tech degree?
Then I don’t think it’s worth finishing the degree
7 replies
TTCTheo's Typesafe Cult
Created by Cursed Idol on 11/17/2023 in #questions
Should I finish my non tech degree?
In terms of job opportunities I think it can be a pretty good addition. I might be biased tho since I’m in my last year studying bio-informatics. What I learned from all my internships is that biotech companies are more likely to hire someone who lacks in programming skills compared to your biology skills. Having a good understanding of biology is crucial in these companies and the programming you can pick up along the way. So I think for you it’s best to think about if you actually want to end up working in the biological field using your programming skills along the way. The biotech industry also has a great future. Keep in mind that I don’t have a lot of work experience outside of internships so take it with a grain of salt.
7 replies