Glenn
TTCTheo's Typesafe Cult
•Created by Lumberjack on 9/2/2023 in #questions
C first or C++
Rust is cool but by far not the standard (yet)
44 replies
TTCTheo's Typesafe Cult
•Created by Lumberjack on 9/2/2023 in #questions
C first or C++
Learn the bare-bones and the get to know the C++ stl afterwards. And don't get into much into the whole inheritance stuff. You don't want that when writing performant code.
44 replies
TTCTheo's Typesafe Cult
•Created by Lumberjack on 9/2/2023 in #questions
C first or C++
Do C for a liiiittle bit and then go to C++ asap.
44 replies
TTCTheo's Typesafe Cult
•Created by XavierBread on 8/31/2023 in #questions
hello guys, so It's a bad idea to use Prisma in Vercel because of the 500ms response?
I'm currently using Prisma still for the product MVP because it's just the out of box stack, but plan to switch to drizzle with http connection to the planetscale db.
I've not yet measured it, but this allows switching to edge, thus basically killing of the cold-start time as well as drastically reducing the prisma engien overhead.
Drizzle since v3 seemingly got even faster and I expect waaaay less row reads with the update.
All in all: Can't tell you for a fact, but if you even slightly care about performance and somehow belive the word of mouth, do it.
3 replies
TTCTheo's Typesafe Cult
•Created by Glenn on 8/27/2023 in #questions
How are you guys reviewing your apps with customers / test teams?
Seems to be interesting, but they require to install a special browser. Doesn't sound too friendly for non-techies or clients.
4 replies
TTCTheo's Typesafe Cult
•Created by matdexir on 6/2/2023 in #questions
Route Guarding with nextjs
Just like you do it all the time with getServerSideProps
14 replies
TTCTheo's Typesafe Cult
•Created by matdexir on 6/2/2023 in #questions
Route Guarding with nextjs
Same file as the Page Components you create
14 replies
TTCTheo's Typesafe Cult
•Created by matdexir on 6/2/2023 in #questions
Route Guarding with nextjs
But it works
14 replies
TTCTheo's Typesafe Cult
•Created by matdexir on 6/2/2023 in #questions
Route Guarding with nextjs
Dunno if that's the right way to do it
14 replies
TTCTheo's Typesafe Cult
•Created by matdexir on 6/2/2023 in #questions
Route Guarding with nextjs
14 replies
TTCTheo's Typesafe Cult
•Created by matdexir on 6/2/2023 in #questions
Route Guarding with nextjs
I did it with getServerSideProps as well, will send in an example asap
14 replies
TTCTheo's Typesafe Cult
•Created by kenny on 5/17/2023 in #questions
Type error when using useInfiniteQuery
You can manually provide a cursor/page upon fetching in the "fetchNextPage" call but that is completely optionally since the hook stores the amount and index of pages it retained
18 replies
TTCTheo's Typesafe Cult
•Created by kenny on 5/17/2023 in #questions
Type error when using useInfiniteQuery
I think cursor get's added automatically... YOu trigger reloads on top/bottom of the data stored behind the hook and the cursor is kept automatically since "useInfiniteQuery" does that for you.
18 replies