Theo's Typesafe Cult

TTC

Theo's Typesafe Cult

Join the community to ask questions about Theo's Typesafe Cult and get answers from other members.

Join

Any rust experts?

I recently asked a mix of horizon beta, kimi k2 and OpenAI oss 20B about 300k tokens worth of back and forth with the intention of creating a new framework for a model. It seems to have come up with a decent implementation but I don’t know code well enough to know if it just spit out nonsense or actually created something meaningful. Any help would be greatly appreciated.

Uploadthing

how can i correctly upload my id data as well along the file uploading, I tried uploading the data but it gave me weird typescript errors. So I changed it to first upload file then save the file url in DB in separate request. My question is, is it possible that I can do it in a same request as the file uploading. Here is my code.

Cline GLM 4.5

In Cline. Does anyone know how to set "reasoning enabled" on the GLM 4.5 models through OpenRouter?

How should I use Tanstack query for expensive calculation?

I have an expensive calculation that requires a bunch of parameters to be set beforehand and I would like to run it after a user clicks a button and it will return a big object which I will show in a React component. ```js function Todos() { const { isLoading, isError, data, error, refetch, isFetching } = useQuery({ queryKey: ['todos'],...
Solution:
From the documentation:
Unlike queries, mutations are typically used to create/update/delete data or perform server side-effects. For this purpose, TanStack Query exports a useMutation hook....

Next.js ESLint Config

Alright this is probably a dumb one, but is anyone getting in-editor errors/warnings with the default Next.js ESLint config in VSCode/Cursor? Just noticed that I'm not getting either Weird considering that in a default Vite React project, the same code changes does show an error :thinkies:...
No description

Help me with my tech Stack

I have build a personal mailing web app . Its frontend is on next js 15 and backend on fastify. But I want to renew my tech stack for my project. Can anyone help me, which stack should I used. Earlier I have build a full stack application onf Next js, but its development experience was not good. So move to express and fastify.

what is the context window for t3 chat for pro version,or is it same as the model which we are using

I just want to know the context window for a model at t3 chat or is it same as of the model which we are using like gemini 2.5 has 1 million, claude opus 4 has 200,000 token ?

chrome extension framework

in some video theo mentioned a nexjs like framework fr building browser etensions. does anyone remember it? thanks!...

Tech Youtubers

im not sure if im suppose to say this here but is there any youtubers you guys would recommend that are similar to theo? I really like his videos and the style of them.

Good Email service

I need an (ideally) free automated email service that I can use with any pre-existing email. Anyone know of any good ones?

I have weird scroll behavior which I do not understand.

For better understanding this video. I have a page and nothing is bigger then the scoll page, the container around ist min-h-screen with overflow auto but when I put the content smaller, it still makes it scroll due the original height. Does someone had experience something like this before?...

posthog with react native/expo

Any of you had success integrating PH with RN? It works just fine for my web app but i cant get session replays at all for my mobile app. I can confirm that the mobile app does receive events via posthog.capture i followed the Expo/RN instructions, including install posthog-react-native-session-replay...

Missing Theo post about ReactNative Vibecoder

Hey! I remember Theo tweeting about this vibe-coder for React Native apps a few months ago. It was something along the lines of "I decided to invest into this vibe-coder because they get it". I wanted to check the company out but I cannot seem to find the tweet. Does anyone has any clue ?...

File Urls from uploadthing arent working anymore

I can see the file names on my dashboard but when I open them via the url, it doesnt seem to load, is this an outage?? update: it seems to be working with one network provider but not with another...

T3Chat affiliate program when ?

https://feedback.t3.chat/p/affiliate-program-18 if you want an affiliate program please vote through that link, we are at 132 votes now but we can get that much further. its a win win. if you like the product and feel like you are going to recommend it, might as well get a small commission with it....

Help with Next.js 15 App Router + tRPC + Tanstack Query

So, recently, I started learning the Holy T3 Stack(coz I bought a macbook recently, and I was like - why not become a soy dev!). So, I learned T3 Stack basics, like tRPC(setting it up in express, a vanilla TS project, then querying and mutation concepts), after that went on to TanStack Query(got my mind blown, that why from last 1.5 years I didn't use it in my React/Next apps!). And I know enough TS to write projects. So, I started with my Todo project for learning ofc(NOT gonna put it in my resume!). ...

theo uwaterloo talk when?

In his latest video he said that someone appraoched him to do a talk at waterloo, does anyone have details about this? and if not how can I make sure I get the details when they drop?

what stack should i go with for LLM wrappers?

so lets put it like this: I've got a nextjs frontend already in place now i’m working on some pretty heavy LLM tasks like evaluating full github repos (something like using openai's codex) and even speech2speech stuff (like openai's whisper) now i’m kinda stuck on what language/stack i should be using to build this LLM wrapper part becuase vercel’s ai-sdk maybe doesn’t give me everything i need....

Using AI To decompile

Anyone tried using AI to decompile older software/video games? Stuff like Wii and Gamecube games have a large community already and there are tons of possibilities with AI helping out. I was just wondering if anyones looked into it