rre
rre
TTCTheo's Typesafe Cult
Created by rre on 1/28/2024 in #questions
Using Azure App Service with create t3 app
I guess I should just put dummy env variables to GitHub..?
3 replies
TTCTheo's Typesafe Cult
Created by rre on 1/17/2023 in #questions
React Query: useQuery
for example hasNextPage in InfiniteQuery returns true even though there isn't a next page..?
4 replies
TTCTheo's Typesafe Cult
Created by rre on 1/17/2023 in #questions
React Query: useQuery
yeah, using that. still stuff seems a bit wonky and seems like most of the examples are a bit outdated
4 replies
TTCTheo's Typesafe Cult
Created by rre on 1/6/2023 in #questions
PNMP and NPM
Bump
4 replies
TTCTheo's Typesafe Cult
Created by rre on 1/5/2023 in #questions
Pagination for multiple items
yep
79 replies
TTCTheo's Typesafe Cult
Created by rre on 1/5/2023 in #questions
Pagination for multiple items
agreed
79 replies
TTCTheo's Typesafe Cult
Created by rre on 1/5/2023 in #questions
Pagination for multiple items
on the topic of npm and pnpm, what's the pros and cons of pnpm?
79 replies
TTCTheo's Typesafe Cult
Created by rre on 1/5/2023 in #questions
Pagination for multiple items
yes, but ideally I just have npm run which is actually npm seed && npm run app, and the npm seed command checks if seed is needed.
79 replies
TTCTheo's Typesafe Cult
Created by rre on 1/5/2023 in #questions
Pagination for multiple items
so ideally my command run app is actually "command seed && command run app"
79 replies
TTCTheo's Typesafe Cult
Created by rre on 1/5/2023 in #questions
Pagination for multiple items
then I run my app again, it's already seeded and it uses the same db, no need to seed
79 replies
TTCTheo's Typesafe Cult
Created by rre on 1/5/2023 in #questions
Pagination for multiple items
I run my script for the 1st time, seed happens. I close my app
79 replies
TTCTheo's Typesafe Cult
Created by rre on 1/5/2023 in #questions
Pagination for multiple items
yep exactly like that
79 replies
TTCTheo's Typesafe Cult
Created by rre on 1/5/2023 in #questions
Pagination for multiple items
so I have 100k csv lines. I need to check that these are okay etc validate them, then add these to my database. in my scenario, these files are only iterated and validated if they are not already in the database. meaning this csv file is checked once and then they are not checked again UNTIL database is permantently deleted and script is restarted.
79 replies
TTCTheo's Typesafe Cult
Created by rre on 1/5/2023 in #questions
Pagination for multiple items
maybe I'm explaining it horribly, let me rephrase
79 replies
TTCTheo's Typesafe Cult
Created by rre on 1/5/2023 in #questions
Pagination for multiple items
I'm just wondering how to perform the check the that the seed has been done
79 replies
TTCTheo's Typesafe Cult
Created by rre on 1/5/2023 in #questions
Pagination for multiple items
what I want is that if the 100k rows aren't in the db, then insert them, otherwise just continue
79 replies
TTCTheo's Typesafe Cult
Created by rre on 1/5/2023 in #questions
Pagination for multiple items
I guess you're missing my point I only need to seed it once
79 replies
TTCTheo's Typesafe Cult
Created by rre on 1/5/2023 in #questions
Pagination for multiple items
that's what chatgpt told me but I'm thinking there's got to be something more better but I guess I can do it like that
79 replies
TTCTheo's Typesafe Cult
Created by rre on 1/5/2023 in #questions
Pagination for multiple items
I'd like the data to persist in the db but I want to avoid reading it more than once if the DB exists
79 replies
TTCTheo's Typesafe Cult
Created by rre on 1/5/2023 in #questions
Pagination for multiple items
so can't really do it like that
79 replies