#other
Cognitive load is the mental effort needed to understand and work with code. Since our brain can only hold about four pieces of information at once, complex code with many conditions, deep inheritance, or too many small modules increases this load, making it harder to understand and maintain. To reduce cognitive load, use clear, meaningful variable names, prefer composition over inheritance, avoid too many tiny modules, and keep interfaces simple. Also, avoid excessive abstractions, tight coupling with frameworks, and overly complex architectures. Lower cognitive load helps you and your team understand code faster, reduce bugs, and be more productive.
https://github.com/zakirullin/cognitive-load
Tonnel Network Chooses Self-Hosting Over High Vercel Costs
#Vercel#SelfHost
Tonnel Network switched to self-hosting their Marketplace MiniApp due to costly charges from Vercel exceeding $1000. They opted for a more economical server rental option.
Source: link
@tonlines
#typescript#examples#nextjs#vercel
Vercel offers ready-to-use templates and examples that help you quickly start web projects with best practices and optimized settings, especially for frameworks like Next.js. These templates save you time by handling setup and deployment details, letting you focus on coding. You can also contribute your own examples easily using provided commands and guidelines. Vercel automatically checks your code style and quality before commits, ensuring clean code. Plus, it integrates with Git and runs tests before deployment to catch bugs early. This makes building, deploying, and maintaining fast, reliable web apps much easier and faster for you.
https://github.com/vercel/examples
🎮 DOOM запустили на ChatGPT
Люблю наблюдать за тем, как эту легенду запускают на разных устройствах — видел даже запуск на огромном битном «компьютере» с «экраном» в майнкрафте не так давно.
Тут тоже интересно: после предварительной подготовки прямо в диалоге с ChatGPT открывается 🧙
Нет, ChatGPT не пишет с нуля код всей игры, разочарую вас🐸
Делал тот же чувак, который ранее предложил вариант captcha (бесячего теста, что ты не робот) с проверкой твоих навыков стрельбы в DOOM 😁
Душные пояснения для тех, кому интересно, как так получилось:
Разработчик взял шаблон ChatGPT App на Next.js, добавил инструмент play_doom и задеплоил всё на Vercel.
Chatgpt не просто описывает игру, а реально запускает рабочий Doom прямо в чат: серверный и клиентский рендеринг работают одновременно.
- Пояснения, как работает эта связка ChatGPT+Vercel
- Оригинальный пост
⚠️ Видео и пост из X (бывший Twitter), который сейчас запрещен в РФ.
#ИИ#ChatGPT#DOOM#AI#NextJS#Vercel#GameDev