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

Did they fix claude?

got so tired of using claude because of the "bugs" that made it less intelligent. How has your experience been with it since they fixed it?...

How do credits work?

Is each message you send one credit?

Your chat is too long.

I am working an a project as a beginner and after a few days of working on it now. I got this message: Your chat is too long. You can try shortening your last message or starting a new chat. If the issue persists, contact support and provide the following: ( THERE IS A TRACE ID HERE - I didnt know if I was supposed to share that) ...

Chat GPT can generate images, can we have that ?

as we all know, chatGPT can generate images when requested. sometimes it can help you draw a diagram or something of sort when it is explaining something to you, thing is, it will ask you that in T3 chat because thats how GPT is programmed but it is limited by the platform and cannot show you anything so ur token message is just gone without being used effectively. you are gonna tell it to proceed with the task and make the image but it wont but rather just say the same thing it sayed, describe the image or talk about its subject. what can we do solve this ?...
No description

retrieve error on client when using `startUpload` provided by `useUploadThing`

Hello, I am trying to somehow obtain the error reason on the client if uploading the image fails. However, the response I get is undefined. I thought maybe i would need to return something from the onUploadComplete callback, but this doesn't allow any returned value as its return type is void. How should I be returning error messages onto the client? ```ts <input...

Alt to t3-turbo that includes backend API app

Hey there, I was wondering if anyone knew of any alternatives to T3-Turbo that basically have all the same features except the API is actually it's own app? I'm struggling to handle tRPC + Clerk + a backend API as I scale my app and introduce new features etc....

Implementing cross-device sync without traditional auth for a pwa

Hey everyone, I’ve got a simple PWA written in Astro that currently persists data using local storage. There is no cross-device communication currently and everything is static and cached right away for offline support. I’m trying to implement some type of cross-device sync but I don’t want to have to rollout full auth as the application is pretty minimal....

Evaluation of an Agentic Application as a part of my BSc research

Just about to finish my bachelor's thesis (10 years since my last exam, fml) and I'm thinking of taking it a step further. It would be nice to give the research some tangible results like time saved, accuracy and general satisfaction. I'm looking for NGOs or small sized teams, that would run with my agent for about 1-2 weeks and report back. ...

Self-hosted SSO Solutions?

What’s everyone’s favorite SSO solutions? Preferably something that I build my own login interface for, but has decent docs explaining the process. Currently looking at Authentik or Ory Kratos, albeit the former has better documentation. Opinions welcome, I’ll probably be running a Zanzibar type permission layer (openfga, ory keto, spicedb)...

how do i go about building audio call features in my app

I'm building a messaging app I wanna build a one on one call feature , a group call feature just like the one in discord channels i know that webrtc is used to build these features the question is do i only require plain webrtc to build these features i will be using next js with a node js server

UploadThing + Convex: Any working HTTP Action API integration example?

I’m trying to integrate UploadThing with Convex using an HTTP Action API, but I can’t find a clear working example. - Has anyone here successfully set up UploadThing file uploads through a Convex HTTP action? - If yes, could you share a minimal working example (server + client) of how you wired them together?...

What IAM / Authentication for B2C to pick if hosted solutions is not an option?

For some reason Cleck/Auth0 is not an option, that must be something that I can selfhost. Also something that I'm really looking for is Authentication with local credential (password, passkeys, password-less etc) in native apps without OIDC webview popup (until Oauth for firstparty apps is released and adopted OIDC is PITA in this regard) but with most providers as I understand this is not an option. Self service UI or API for building self service UI. ...

best strategy for handling global trpc errors on the client

I’m using trpc in my nextjs app. In one of my procedures, I check if a server is banned. If it is, I throw a TRPCError with code FORBIDDEN and a custom message: ```ts const guildIsBanned = await ctx.db.guildBotBans.findFirst({ where: { guildId: input.guildId }, });...

Uploadthing Expo is not reading the correct server URL

I'm using Expo with Uploadthing for a mobile app, testing it in Expo Go on IOS emulator on MacOS When I upload images I get the error Failed to parse response from UploadThing server After hours of debugging I found out that UploadThing was not reading the correct env variable (in the docs it says EXPO_PUBLIC_SERVER_URL) so I take a look in the uploadthing code files and find another variable EXPO_PUBLIC_SERVER_ORIGIN (in @uploadthing/expo/dist/index.js) which still did not work...

Is Jira and Atlassian still terrible in 2025?

I hear so many complaints about Jira and Atlassian but I have not experienced any real problems myself. I am wondering if the bad reputation is largely driven by older versions of Jira and on-prem deployments versus the cloud. I am especially curious because I moved our small org move to Atlassian primarily for their service desk, but also because they offer a huge suite of products like Jira and Confluence that all tie together very well....

LC

yo guys I've a quick question I'm a senior college student and I figured I should start doing leet codes before I graduate so that when I do I'm ready for interviews. I've done a little bit of leet code in my freshmen year but since then I've been heavy on web development in general using typescript. is leetcode still a thing? is it worth my time? if so should I start practicing it in typescript or learn master another language to practice it with (I already know a little bit of go but not much...

What's y'all's opinions on MVC?

My background is Clojure and Rust (yeah yeah, make your jokes) and I'm not really into web at all (I see it as a necessary evil). I think of the view as a pure function of state for the most part. I did some reading and found out that MVC is bloated (controller bloat) and just insufficient for the requirements of modern web applications. Something like TRPC seems pretty cool because it abstracts exactly how my data goes across the wire and what shape it is, I can just call the damn function like everywhere else in programming. Anyway, it just seems like MVC isn't very good. You really don't need to separate these pieces much anymore....

UploadThing: reuse a custom id

I would like to have a static URL for each users profile image. I'm not sure if uploadthing supports this or if its even a good idea I've been telling uploadthing to use the same custom id for a new file (after deleting the original) and it has not been accepting the upload. does this mean once you use a custom id it cannot be used again?...