Temp Change
Temp Change
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Temp Change on 3/31/2024 in #questions
Differences Between Providers
I'm in a small team and we are looking for some cloud providers to have the following things: - Serverless Functions - Object Storage - A CDN for static files. I know that GCP, AWS, and Cloudflare offer these things, but I'm looking for which one would be the best for my team.
2 replies
TTCTheo's Typesafe Cult
Created by Temp Change on 2/15/2024 in #questions
Monorepo Deployment Locations
Let's say you have some applications (frontend, backend, etc.) on a monorepo. Would you deploy your frontend and backend to the same deployment provider like vercel or would you deploy it elsewhere
3 replies
TTCTheo's Typesafe Cult
Created by Temp Change on 11/16/2023 in #questions
How Good is NextAuth Currently for App Router
I think Next Auth would be a lot more painless for the next proejct I am plaaning to do with my friend than say Lucia, so I am asking.
4 replies
TTCTheo's Typesafe Cult
Created by Temp Change on 11/16/2023 in #questions
How would I go about adding Inter Font to my tailwind config
For context, I am using an express like backend framework with HTMX and Tailwind, I have never installed a font for a website before, so how would I go about it? Once its installed how would I add it to Tailwind?
6 replies
TTCTheo's Typesafe Cult
Created by Temp Change on 11/9/2023 in #questions
POLL: Should I use OCaml or Rust for Advent of Code
I know neither, and I polls are fun
3 replies
TTCTheo's Typesafe Cult
Created by Temp Change on 8/21/2023 in #questions
App Router/RSC Experience
Whats y'all's experience with RSC's and App Router recently (plz also not the PCs you are using during development)
2 replies
TTCTheo's Typesafe Cult
Created by Temp Change on 8/5/2023 in #questions
What are your favorite libraries from the React Ecosystem
Didn't want to post a question in #tech-discussion
3 replies
TTCTheo's Typesafe Cult
Created by Temp Change on 8/2/2023 in #questions
Sending State with SSGProps
So the content of the web app I want to make is primarily static except for one thing. Is there any way for me to send the state down while using SSG as a rendering strategy
12 replies
TTCTheo's Typesafe Cult
Created by Temp Change on 6/28/2023 in #questions
Storing a Triple Nested Object
So my prisma schema is as follows:
model Game {
id Int @id @default(autoincrement())
name String @unique
players Player[]
}

model Player {
id Int @id @default(autoincrement())
game Game @relation(fields: [game_id], references: [id])
game_id Int
name String
owned Owned[]
}

model Owned {
id Int @id @default(autoincrement())
player Player @relation(fields: [player_id], references: [id])
player_id Int
name String
houses Int?
}
model Game {
id Int @id @default(autoincrement())
name String @unique
players Player[]
}

model Player {
id Int @id @default(autoincrement())
game Game @relation(fields: [game_id], references: [id])
game_id Int
name String
owned Owned[]
}

model Owned {
id Int @id @default(autoincrement())
player Player @relation(fields: [player_id], references: [id])
player_id Int
name String
houses Int?
}
and the object I am trying to store is the following:
type game = {
name: string,
players: {
name: string,
owned: {
name: string,
houses: number | undefined,
}[]
}[]
}
type game = {
name: string,
players: {
name: string,
owned: {
name: string,
houses: number | undefined,
}[]
}[]
}
How should I transform this object such that I am able to send the object to my database via prisma, optimally in one request
3 replies
TTCTheo's Typesafe Cult
Created by Temp Change on 2/13/2023 in #questions
Should I use Tutorials?
Context: I only have knowledge with html, css, go, small amount of sql, and js, so I haven't really worked with react before. My end goal is making a web app that allows people in my college to visualize what classes they need to take to get to a certain class, and I decided to go with CT3A Question: Are there any resources that you could recommend that can get me up to speed with Next.js + React + Resources quickly? Furthermore, because of how unacquainted with the TS world I am are there any tutorials I should use?
53 replies
TTCTheo's Typesafe Cult
Created by Temp Change on 12/15/2022 in #questions
Good Beginner Frameworks
As a beginner Vue, React, Svelte, and Solid seem to stand out but I don't know the HS ecosystem so I would not know which is a good first framework. Can I get some opinions on this?
21 replies
TTCTheo's Typesafe Cult
Created by Temp Change on 10/2/2022 in #questions
Learning Choices
I am a noobish programmer with some Javascript CSS and Html experience my next question is do I learn typescript next or a framework (if so which one and why, I am willing to hear opinions)
4 replies