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

Axiom Fetch failed

I have a nextjs app deployed on vercel and use axiom as a log drain. my next config is wrapped with withAxiom and each API endpoint uses withAxiom so that the logger is getting flushed properly. Now i get to types of errors very regularly: ``` "TypeError: fetch failed...

imposter syndrome

hello all. I'm starting my first full time position at a big tech company next week, and I feel way under qualified. People like to throw around the term 'imposter syndrome' a lot but I genuinely don't know how I ended up here. I asked my manager if there was anything I should study before starting, but he said not to worry about that. So for the past few weeks I've been anxiously sitting on my hands and waiting for my start date....

Interactive CLI app tools

Hi all what are the best tools to use nowadays to create interactive CLI app

A Better <Button>?

I don't normally program in JS / TS so if this exists lmk. A button element but it has 3 hooks. On Click <- What is on mouse button down On Confirm <- Mouse button up (on the same element)...

Hosting Recommendations

Curious to know what Hosting Providers the crew are using. I started Hostinger Cloud Hosting for my clients wordpress sites and later got a VPS server to run other items like n8n for automations and MCP servers, Headless Wordpress integrations and general full stack sites. My VPS server was shut down and deleted without a moments notice 5 days ago because their auto system flagged my card as suspicious / fraudulent. Spent 24 hours trying to get my server back up having to re verify my payment info so they can remove the block their system placed. That meant 24 hours of 2 clients plus my own projects were out of commission and their lack of care and speed to resolve an issue their system screwed up on has thrown me off the edge....

How do I create a second file that runs cron locally and executes server commands?

I have a nextjs app that does a nice serverless db on vercel. I want to create some cron jobs that leverage some functions in the server folder. I thought to myself, I could just host a seperate server that can carry out the functions on a schedule using cron. It seems though that if i create a new folder and create a new app that runs cron.schedule fails to execute code in that server/ directory. I was thinking that with the organization of the t3 app, I could could just create a new ts file and create a script command to execute this and set up everything but it seems to have issues with it being a module....

What is everyone's Cursor workflow?

I have only done AI-coding related stuff with the use of chats and continuous prompting and tweaking. Its not the most convenient, but im only doing small projects to try stuff and have fun. Ive known about Cursor for the longest time but never really found a good enough excuse to give it a try, but I think its a skill that would be useful to learn even if im not doing super big or complex projects. I havent fully looked into it, so bear with me if im asking really dumb questions (or feel free to just tell me to Google it, thats fine too) but what is everyone's workflow with Cursor? Ex. what model do most people use (I thought about using Deepseek R1 although im not sure if its possible)? or do you use other AIs to help prompt for you? Stuff like that. I know im late to the party but the second best time to start is now, so might aswell :)...

build time is crazy

Hello guys ! I'm using t3 + turborepo, which looked like a very promising solution. Unfortunately, the build times are completely out of control. 45 seconds for a simple pages, dozens of minutes for a full build. did you have a similar experience ? my build script is...
No description

Seeking Ideas: Conflict between `vite-plugin-node-polyfills` and Service Worker in Astro

Hey everyone, Hope you're all having a great day. I'm facing a bit of a challenge with my Astro app and was hoping someone here might have encountered something similar. ...

future of building ecommerce building platforms?

future of building ecommerce building platforms with all the vibe coding and ai ? any thoughts, trying to build my own multi tenant platform also is it worth it ?

Does transferring the app to a different organization preserve the files' keys?

Hello, I couldn't find this information anywhere, and I want to be sure before transferring anything. I need to transfer the app to another organization, but before I do that, I want to ensure that the file URLs I keep in the database will still function with the files in the new organization....

NotebookLM Theo Transcripts.... answer any question you have hopefully

https://drive.google.com/file/d/1rObvjFfxiyMPoAZok6aBVW2Xd_o6ksDC/view?usp=sharing Hi, so I got transcripts for every single one of Theo's videos he's ever done on the t3 youtube chsannel, and I've put this into Notebook LM Pro. It's just a good resource for me, I find, especially with the Clone-a-thon competition. And just in general development, if I have questions, it's really useful to have Theo's bias or opinion integrated directly into AI chat responses. Now I have no idea about the legality of this or if it is ethically okay to do this. So Theo, if you see this and you don't approve, I'm really sorry and just delete this straight away. Otherwise, I hope this is a resource to help everyone out. All you have to do is download the zip file and put the relevant sources into Notebook LM. Now you might have to combine files together to get the full history of Theo, but that's because even the Pro version of Notebook LM has a 300 sources limit, but it should certainly be able to handle everything. I've given them all individually in case you want to be selective on the actual sources that you are pulling into your notebook. If you need to combine files, you'll need to do that yourself, but it's quite easy to do that. ...

using ai for cover letters

opinions on this? has anyone had success doing this? to the people who are in the recruiting process and read cover letters, does it make a difference? ive found that cover letters are probably a good way to stand out in the job search, however it takes alot of time for me to write a high quality cover letters. if i want to apply to alot of jobs, i cant write cover letters. using ai seems to be the perfect solution for this, but i fear that ai cover letters will just contribute to the "ai slop" that recruiters receive, and make my application look WORSE than better. kinda just looking for thoughts here...

Readonly Property in UTFile

I've been trying to upload file from my hono server using UTFile. I've done it once in a NextJS application and it worked. But now it's given me this error
TypeError: Attempted to assign to readonly property.\n at new UTFile
TypeError: Attempted to assign to readonly property.\n at new UTFile
I'm using uploadthing version 7.6.0 and here's my code ```typescript...

AI Code Assistant Suggestions

Hey guys, I've been meaning to equip my team with different code assistants for their daily workflow. While I do use Gemini via GitHub Copilot for my personal projects I cannot do that here as the work we do is extremely confidential, and cannot be exposed in any way out of our servers. Due to this limitation using closed source models (openAI, Gemini, etc) is out of the question. While my team is open to experiment with Windsurf and Cursor using open source models to work on our codebase(s), them being closed source is a negative for us, and thus we're probably gonna stick with VSC, and the assistants we can get from VSC extensions.
Features that we definitely will use:...

Finding chill companies to work for

Im about to go on a job hunt spree in a few days. Do ya'll have suggestions for how do look for companies which typically are more on the chill side? (Im doing as masters so I prefer lighter workloads for now) For example, I've heard that banks are usually chill, consulting companies and startups are not. Any thing to look for during interviews, what to ask/watch out for? ...

RAG with Spring AI and custom name?

Hi guys, I'm a bit stuck, I'm currently playing around with building a RAG using spring ai, the RAG itself works great, my issue is, that I want to give the system a bit more meta-info, I'd like it to give customized responses for stuff like "what is your name?". But I seem to only have 2 modes, either the answer is "it is ABC" (correct) or it is "cannot find the name in the documents" (wrong). When the name is correct it is open for all questions, also for "give me 5 random pirate names" so stuff that is not in my documents, and that should not be possible in my use case....

storing Customer api keys

I am taking part in theos challenge, and now I have the issue that I need to store the llm keys in a database. How do I do that securely? my only auth means is rn github oAuth.

t3 stack with app router

Does t3 stack with app router still makes sense in 2025? While we have server actions

How do I get started with Linux?

Hi, I'm a freshman CS major and I currently have a windows 11 laptop, and I feel like exploring linux