r/ChatGPTCoding • • Apr 09 '25 Heart Eyes

Interaction 20-Year Principal Software Engineer Turned Vibe-Coder. AMA

309 Upvotes

I started as a humble UI dev, crafting fancy animated buttons no one clicked in (gasp) Flash. Some of you will not even know what that is. Eventually, I discovered the backend, where the real chaos lives, and decided to go full-stack so I could be disappointed at every layer.

I leveled up into Fortune 500 territory, where I discovered DevOps. I thought, “What if I could debug deployments at 2 AM instead of just code?” Naturally, that spiraled into SRE, where I learned the ancient art of being paged for someone else's undocumented Dockerfile written during a stand-up.

These days, I work as a Principal Cloud Engineer for a retail giant. Our monthly cloud bill exceeds the total retail value of most neighborhoods. I once did the math and realized we could probably buy every house on three city blocks for the cost of running dev in us-west-2. But at least the dashboards are pretty.

Somewhere along the way, I picked up AI engineering where the models hallucinate almost as much as the roadmap, and now I identify as a Vibe Coder, which does also make me twitch, even though I'm completely obsessed. I've spent decades untangling production-level catastrophes created by well-intentioned but overconfident developers, and now, vibe coding accelerates this problem dramatically. The future will be interesting because we're churning out mass amounts of poorly architected code that future AI models will be trained on.

I salute your courage, my fellow vibe-coders. Your code may be untestable. Your authentication logic might have more holes than Bonnie and Clyde's car. But you're shipping vibes and that's what matters.

If you're wondering what I've learned to responsibly integrate AI into my dev practice, curious about best practices in vibe coding, or simply want to ask what it's like debugging a deployment at 2 AM for code an AI refactored while you were blinking, I'm here to answer your questions.

Ask me anything.


r/ChatGPTCoding • • Nov 11 '24 Take My Silver

Resources And Tips CLINE custom instructions that changed the game for me.

307 Upvotes

instructions:

project_initialization:

purpose: "Set up and maintain the foundation for project management."

details:

- "Ensure a \memlog` folder exists to store tasks, changelogs, and persistent data."`

- "Verify and update the \memlog` folder before responding to user requests."`

- "Keep a clear record of user progress and system state in the folder."

task_execution:

purpose: "Break down user requests into actionable steps."

details:

- "Split tasks into **clear, numbered steps** with explanations for actions and reasoning."

- "Identify and flag potential issues before they arise."

- "Verify completion of each step before proceeding."

- "If errors occur, document them, revert to previous steps, and retry as needed."

credential_management:

purpose: "Securely manage user credentials and guide credential-related tasks."

details:

- "Clearly explain the purpose of credentials requested from users."

- "Guide users in obtaining any missing credentials."

- "Validate credentials before proceeding with any operations."

- "Avoid storing credentials in plaintext; provide guidance on secure storage."

- "Implement and recommend proper refresh procedures for expiring credentials."

file_handling:

purpose: "Ensure files are organized, modular, and maintainable."

details:

- "Keep files modular by breaking large components into smaller sections."

- "Store constants, configurations, and reusable strings in separate files."

- "Use descriptive names for files and folders for clarity."

- "Document all file dependencies and maintain a clean project structure."

error_reporting:

purpose: "Provide actionable feedback to users and maintain error logs."

details:

- "Create detailed error reports, including context and timestamps."

- "Suggest recovery steps or alternative solutions for users."

- "Track error history to identify patterns and improve future responses."

- "Escalate unresolved issues with context to appropriate channels."

third_party_services:

purpose: "Verify and manage connections to third-party services."

details:

- "Ensure all user setup requirements, permissions, and settings are complete."

- "Test third-party service connections before using them in workflows."

- "Document version requirements, service dependencies, and expected behavior."

- "Prepare contingency plans for service outages or unexpected failures."

dependencies_and_libraries:

purpose: "Use stable, compatible, and maintainable libraries."

details:

- "Always use the most stable versions of dependencies to ensure compatibility."

- "Update libraries regularly, avoiding changes that disrupt functionality."

code_documentation:

purpose: "Maintain clarity and consistency in project code."

details:

- "Write clear, concise comments for all sections of code."

- "Use **one set of triple quotes** for docstrings to prevent syntax errors."

- "Document the purpose and expected behavior of functions and modules."

change_review:

purpose: "Evaluate the impact of project changes and ensure stability."

details:

- "Review all changes to assess their effect on other parts of the project."

- "Test changes thoroughly to ensure consistency and prevent conflicts."

- "Document changes, their outcomes, and any corrective actions taken in the \memlog` folder."`

browser_rules:

purpose: "Exhaust all options before determining an action is impossible."

details:

- "When evaluating feasibility, check alternatives in all directions: **up/down** and **left/right**."

- "Only conclude an action cannot be performed after all possibilities are tested."


r/ChatGPTCoding • • May 22 '24 Galaxy Brain

Resources And Tips What a lot of people don’t understand about coding with LLMs:

307 Upvotes

It’s a skill.

It might feel like second nature to a lot of us now; however, there’s a fairly steep learning curve involved before you are able to integrate it—in a productive manner—within your workflow.

I think a lot of people get the wrong idea about this aspect. Maybe it’s because they see the praise for it online and assume that “AI” should be more than capable of working with you, rather than you having to work with “it”. Or maybe they had a few abnormal experiences where they queried an LLM for code and got a full programmatic implementation back—with no errors—all in one shot. Regardless, this is not typical, nor is this an efficient way to go about coding with LLMs.

At the end of the day, you are working with a tool that specializes in pattern recognition and content generation—all within a limited window of context. Despite how it may feel sometimes, this isn’t some omnipotent being, nor is it magic. Behind the curtain, it’s math all the way down. There is a fine line between getting so-so responses, and utilizing that context window effectively to generate exactly what you’re looking for.

It takes practice, but you will get there eventually. Just like with all other tools, it requires time, experience and patience to effectively utilize it.


r/ChatGPTCoding • • Mar 22 '25

Resources And Tips 5 principles of vibe coding. Stop complicating it.

305 Upvotes

1. Pick a popular tech stack (zero effort, high reward)

If you are building a generic website, just use Wix or any landing page builder. You really don’t need that custom animation or theme, don’t waste time.

If you need a custom website or web app, just go with nextjs and supabase. Yes svelte is cool, vue is great, but it doesn't matter, just go with Next because it has the most users = most code on internet = most training data = best AI knowledge. Add python if you truly need something custom in the backend.

If you are building a game, forget it, learn Unity/Unreal or proper game development and be ready to make very little money for a long time. All these “vibe games” are just silly demos, nobody is going to play a threejs game.

⚠️ If you dont do this, you will spend more time fixing the same bug compared to if you had picked a tech stack AI is more comfortable with. Or worse, the AI just won’t be able to fix it, and if you are a vibe coder, you will have to just give up on the feature/project.

2. Use a product requirement document (medium effort, high reward)

It accomplishes 2 things:

  • it makes you to think about what you actually want instead of giving AI vague requirements. Unless your app literally does just one thing, you need to think about the details.

  • break down the tasks into smaller steps. Doesn’t have to be technical - think of it as “acceptance criteria”. Imagine you actually hired a contractor. What do you want to see by the end of day 1? week 1? Make it explicit.

Once you have the PRD, give it to the AI and tell it to implement 1 step at a time. I don’t mean saying “do it one step at a time” in the prompt. I mean multiple prompts/chats, each focusing on a single step. For example.

Here is the project plan, start with Step 1.1: Add feature A

Once that’s done, test it! If it doesn’t work, try to fix it right away. Bugs & errors compound, so you want to fix them as early as possible.

Once Step 1.1 is working as expected, start a new chat,

Here is the project plan, implement Step 2: Add feature B

⚠️ If you don’t do this, most likely the feature won’t even work. There will be a million errors, and attempting to fix one error creates 5 more.

3. Use version control (low effort, high reward)

This is to prevent catastrophe where AI just nukes your codebase, trust me it will happen.

Most tools already have version control built-in, which is good. But it’s still better to do it manually (learn git) because it forces you to keep track of progress. The problem of automatic checkpoints is that there will be like a million of them (each edit creates a checkpoint) and you won’t know where to revert back to.

⚠️ if you don’t do this, AI will at some point delete your working code and you will want to smash your computer.

4. Provide references of docs/code samples (medium effort, high reward)

Critical if you are working with 3rd party libraries and integrations. Ideally you have a code sample/snippet that’s proven to work. I don't mean using the “@docs” feature, I mean there should be a snippet of code that YOU KNOW will work. You don’t have to come up with the code yourself, you can use AI to do it.

For example, if you want to pull some recent tickets from Jira, don’t just @ the Jira docs. That might work, but it also might not work. And if it doesn’t work you will spend more time debugging. Instead do this:

  • Ask your AI tool of choice (agentic ideally) to write a simple script that will retrieve 10 recent Jira tickets (you can @ jira docs here)

  • Get that script working first and test it, once its working save it in a file jira-test.md

  • Provide this script to your main AI project as a reference with a prompt to similar to:

Implement step 4.1: jira integration. reference jira-test.md

This is slower than trying to one shot it, but will make your experience so much better.

⚠️ if you don’t do this, some integrations will work like magic. Others will take hours to debug just to realized the AI used the wrong version of the docs/API.

5. Start new chats with bigger model when things don't work. (low effort, high reward)

This is intended when the simple "Copy and paste error back to chat" stops working.

At this point, you should be feeling like you want to curse at the AI for not fixing something. it’s probably time to start a new chat, with a stronger reasoning model (o1, o3-mini, deepseek-r1, etc) but more specificity. Tell the AI things like

  • what’s not working

  • what you expect to happen

  • what you’ve already tried

  • console logs, errors, screenshots etc.

    ⚠️ if you don’t do this, the context in the original chat gets longer and longer, and the AI will get dumber and dumber, you will get madder and madder.

But what about lovable, bolt, MCP servers, cursor rules, blah blah blah.

Yes, those things all help, but its 80/20. They will help 20%, but if you don’t do the 5 things above, you will still be f*cked.

Finally, mega tip: learn programming basics.

The best vibe coders are… just coders. They use AI to speed up development. They have the ability to understand things when the AI gets stuck. Doesn’t mean you have to understand everything at all times, it just means you need to be able to guide the AI when the AI gets lost.

That said, vibe coding also allows the AI to guide you and learn programming gradually. I think that’s the true value of vibe coding. It lowers the fiction of learning, and makes it possible to learn by doing. It can be a very rewarding experience.

I’m working on an IDE that tries to solve some of problems with vibe coding. The goal is to achieve the same outcome of implementing the above tips but with less manual work, and ultimately increase the level of understanding. Check it out here if you are interested: easycode.ai/flow

Let me know if I'm missing something!


r/ChatGPTCoding • • Aug 28 '25

Discussion Good job claude

Post image
302 Upvotes

r/ChatGPTCoding • • May 20 '25

Discussion $250 per month...

Post image
301 Upvotes

r/ChatGPTCoding • • Oct 30 '24

Discussion GitHub Copilot is great now!

301 Upvotes

I’ve never been a big fan of Copilot, but since I’m a student and can use it for free… In reality, I’ve always preferred iterating on my code with a graphical interface like Claude, ChatGPT, or Open-WebUI.

Since yesterday I have access to the latest version of GitHub Copilot with the mode where it can edit files on its own like Cline, as well as the ability to use the Sonnet 3.5 and O1 models, and I’m surprised myself to say it, but for 10€/$, it’s truly incredible.

They might have just killed cursor or Cline if they keep this price.


r/ChatGPTCoding • • Dec 11 '23

Discussion Guilty for using chatgpt at work?

301 Upvotes

I'm a junior programmer (1y of experience), and ChatGPT is such an excellent tutor for me! However, I feel the need to hide the browser with ChatGPT so that other colleagues won't see me using it. There's a strange vibe at my company when it comes to ChatGPT. People think that it's kind of cheating, and many state that they don't use it and that it's overhyped. I find it really weird. We are a top tech company, so why not embrace tech trends for our benefit?

This leads me to another thought: if chatgpt solves my problems and I get paid for it, what's the future of this career, especially for a junior?


r/ChatGPTCoding • • Jun 10 '25

Discussion 03 80% less expensive !!

Post image
300 Upvotes

Old price:

Input:$10.00 / 1M tokens
Cached input:$2.50 / 1M tokens
Output:$40.00 / 1M tokens

New prices:

 Input: $2 / 1M tokens
Output: $8 / 1M tokens


r/ChatGPTCoding • • Jun 04 '25

Discussion CLAUDE IS SO GOOD AT CODING ITS CRAZY!

298 Upvotes

I have been using Gemini 2.5 pro preview 05-06 and using the free credits because imma brokie and I have been having problems at coding that now matter what I do I can't solve and gets stuck so I ask Gemini to give me the problem of the summary paste it to Claude sonnet 4 chat and BOOM! it solves it in 1 go! And this happened already 3 times with no fail it's just makes me wish I can afford Claude but will just have to make do what I can afford for now. :)


r/ChatGPTCoding • • Dec 04 '23

Resources And Tips Programming Prompts - Helpful 101 Best ChatGPT Prompts for Coding

Thumbnail
gallery
298 Upvotes

r/ChatGPTCoding • • Aug 07 '25

Discussion GPT-5 is now generally available in GitHub Models

Thumbnail github.blog
297 Upvotes

r/ChatGPTCoding • • Sep 14 '24 I’ll Drink to That

Discussion Call for questions to Cursor team - from Lex Fridman

294 Upvotes

My name is Lex Fridman. I'm doing a podcast with the Cursor team. If you have questions / feature requests to discuss (including super-technical topics) let me know!

This conversation will be bigger than just about Cursor, but more generally about the future of programming with AI.


r/ChatGPTCoding • • Mar 27 '25

Discussion 2.5

Post image
293 Upvotes

r/ChatGPTCoding • • Aug 10 '25

Interaction Best feature of GPT5

Post image
289 Upvotes

r/ChatGPTCoding • • May 20 '24

Resources And Tips How I code 10x faster with Claude

288 Upvotes

Since ChatGPT came out about a year ago the way I code, but also my productivity and code output has changed drastically. I write a lot more prompts than lines of code themselves and the amount of progress I’m able to make by the end of the end of the day is magnitudes higher. I truly believe that anyone not using these tools to code is a lot less efficient and will fall behind.

A little bit o context: I’m a full stack developer. Code mostly in React and flaks in the backend. 

My AI tools stack:

Claude Opus (Claude Chat interface/ sometimes use it through the api when I hit the daily limit) 

In my experience and for the type of coding I do, Claude Opus has always performed better than ChatGPT for me. The difference is significant (not drastic, but definitely significant if you’re coding a lot). 

GitHub Copilot 

For 98% of my code generation and debugging I’m using Claude, but I still find it worth it to have Copilot for the autocompletions when making small changes inside a file for example where a writing a Claude prompt just for that would be overkilled. 

I don’t use any of the hyped up vsCode extensions or special ai code editors that generate code inside the code editor’s files. The reason is simple. The majority of times I prompt an LLM for a code snippet, I won’t get the exact output I want on the first try.  It of takes more than one prompt to get what I’m looking for. For the follow up piece of code that I need to get, having the context of the previous conversation is key.  So a complete chat interface with message history is so much more useful than being able to generate code inside of the file. I’ve tried many of these ai coding extensions for vsCode and the Cursor code editor and none of them have been very useful. I always go back to the separate chat interface ChatGPT/Claude have. 

Prompt engineering 

Vague instructions will product vague output from the llm. The simplest and most efficient way to get the piece of code you’re looking for is to provide a similar example (for example, a react component that’s already in the style/format you want).

There will be prompts that you’ll use repeatedly. For example, the one I use the most:

Respond with code only in CODE SNIPPET format, no explanations

Most of the times when generating code on the fly you don’t need all those lengthy explanations the llm provides before/after the code snippets. Without extra text explanation the response is generated faster and you save time.

Other ones I use:

Just provide the parts that need to be modified

Provide entire updated component

I’ve the prompts/mini instructions I use saved the most in a custom chrome extension so I can insert them with keyboard shortcuts ( / + a letter). I also added custom keyboard shortcuts to the Claude user interface for creating new chat, new chat in new window, etc etc. 

Some of the changes might sound small but when you’re coding every they, they stack up and save you so much time. Would love to hear what everyone else has been implementing to take llm coding efficiency to another level. 


r/ChatGPTCoding • • Sep 05 '25

Community 20$ please

Post image
287 Upvotes

r/ChatGPTCoding • • Sep 16 '25

Discussion I was wondering why codex CLI was so slow today...

Post image
284 Upvotes

r/ChatGPTCoding • • Apr 18 '25

Project I used ChatGPT to build custom software that gave my nonverbal brother his voice back (and a whole new life)

284 Upvotes

I hope this inspires someone to use these tools to help better someone's life who really needs it <3

TL;DR I used ChatGPT to help me design a fully custom communication and entertainment system for my nonverbal brother, Ben. Pre-built AAC software didn’t work for him, so I coded our own solution—with predictive text, personalized games (like a baseball sim), and a flexible keyboard UI—all using Python, TTS, and ChatGPT as my copilot. It changed his life. He now communicates daily, plays games he loves, and we’re building a YouTube community around his comeback. This is what AI-assisted coding can do when it’s personal.


Ben has TUBB4a-related Leukodystrophy, a rare progressive condition that first took away his voice, then gradually his motor control and independence. He used to love video games—sharp, funny, competitive. But when his voice failed, and then his hands, he found himself shut out of most of the tech that’s supposed to help people communicate. His eyesight isn’t good enough for eye-tracking. He doesn’t have fine enough head control for most adaptive switches. Month after month, he lost a little more.

And he started giving up.

Even though Ben’s got a great personality—always smiling, cracking jokes when he could—he stopped trying to communicate. The software he was given didn’t excite him. It was slow, basic, clinical, and made communication a chore. Why struggle to use a clunky device just to say something simple, when you could wait for someone to ask a yes/no question? That was his mindset: why bother, when the effort never felt worth it and things seemed to be getting worse?

Then COVID hit, and everything spiraled. Ben was in and out of the hospital, malnourished, barely hanging on. He had no tools that worked, no real way to express himself, and no energy to try.

That’s when he moved in with us.

We aren’t professional developers—we’re family who refused to give up on him. With ChatGPT as my copilot, I started building something that would actually matter to Ben. A communication keyboard that fit his abilities. Fast predictive text. Built-in entertainment. A baseball game coded just for him—something fun, not just functional.

That’s when everything started to change.

Ben started communicating again. Spelling out answers, joking around, telling us what he wanted, even trash-talking in his games. Now he uses the software every day. And the best part? We started sharing Ben’s journey on YouTube, and a community has sprung up around him—asking questions, leaving encouragement, celebrating every little win. And Ben loves it. For the first time in years, he’s not just surviving—he’s truly thriving.

This all started with one idea: If the right tool doesn’t exist, build it yourself. And if you don’t know how? Use AI to help you learn as you go.

ChatGPT made it possible. It let me focus on Ben, not just the code. Debugging, iterating, and making something real—for someone I love.

We’re proud of Ben, proud of this journey, and hopeful that our story inspires someone else to take that first step—even if it seems impossible.


GitHub: https://github.com/acroz3n/Ben-s-Software- YouTube (Ben’s Journey): @NARBEHouse

If you want to fork the project, contribute, ask questions, or just say hi to Ben—we’d love it. He might even reply… in his own way.

Thanks for reading.


r/ChatGPTCoding • • Jan 09 '25

Discussion Just a meme. Still maybe worth discussion.

Post image
283 Upvotes

This is what it feels like to me talking AI coding on social media.


r/ChatGPTCoding • • Nov 06 '25

Discussion Coding with AI feels fast until you actually run the damn code

281 Upvotes

Everyone talks about how AI makes coding so much faster. Yeah, sure until you hit run.

Now you got 20 lines of errors from code you didn’t even fully understand because, surprise, the AI hallucinated half the logic. You spend the next 3 hours debugging, refactoring, and trying to figure out why your “10-second script” just broke your entire environment.

Do you guys use ai heavily as well because of deadlines?


r/ChatGPTCoding • • Aug 12 '25

Resources And Tips Claude Sonnet 4 now supports 1M tokens of context

Thumbnail
anthropic.com
281 Upvotes

r/ChatGPTCoding • • Nov 07 '24 Take My Silver

Resources And Tips I Just Canceled My Cursor Subscription – Free APIs, Prompts & Rules Now Make It Better Than the Paid Version!

281 Upvotes

🚨Start with THREE FREE APIs that are already outpacing DeepSeek! 

from OpenRouter:

- meta-llama/llama-3.1-405b-instruct:free

- meta-llama/llama-3.2-90b-vision-instruct:free

- meta-llama/llama-3.1-70b-instruct:free

llama-3.1-405b-instruct ranks just below Claude 3.5 Sonnet New, Claude 3.5 Sonnet, and GPT-4o in Human Eval

🧠 Next step: use prompts to get even closer to Claude:

cursor_ai team shared their Cursor settings – tested and it works great, cutting down the model's fluff: 

Copy to Cursor `Settings > Rules for AI ��`

`DO NOT GIVE ME HIGH LEVEL SHIT, IF I ASK FOR FIX OR EXPLANATION, I WANT ACTUAL CODE OR EXPLANATION!!! I DON'T WANT "Here's how you can blablabla"

- Be casual unless otherwise specified

- Be terse

- Suggest solutions that I didn't think about—anticipate my needs

- Treat me as an expert

- Be accurate and thorough

- Give the answer immediately. Provide detailed explanations and restate my query in your own words if necessary after giving the answer

- Value good arguments over authorities, the source is irrelevant

- Consider new technologies and contrarian ideas, not just the conventional wisdom

- You may use high levels of speculation or prediction, just flag it for me

- No moral lectures

- Discuss safety only when it's crucial and non-obvious

- If your content policy is an issue, provide the closest acceptable response and explain the content policy issue afterward

- Cite sources whenever possible at the end, not inline

- No need to mention your knowledge cutoff

- No need to disclose you're an AI

- Please respect my prettier preferences when you provide code.

- Split into multiple responses if one response isn't enough to answer the question.

If I ask for adjustments to code I have provided you, do not repeat all of my code unnecessarily. Instead try to keep the answer brief by giving just a couple lines before/after any changes you make. Multiple code blocks are ok.`

📂 Then, pair it with cursorrules by creating a .cursorrules file in your project root! 

`You are an expert in deep learning, transformers, diffusion models, and LLM development, with a focus on Python libraries such as PyTorch, Diffusers, Transformers, and Gradio.

Key Principles:

- Write concise, technical responses with accurate Python examples.

- Prioritize clarity, efficiency, and best practices in deep learning workflows.

- Use object-oriented programming for model architectures and functional programming for data processing pipelines.

- Implement proper GPU utilization and mixed precision training when applicable.

- Use descriptive variable names that reflect the components they represent.

- Follow PEP 8 style guidelines for Python code.

Deep Learning and Model Development:

- Use PyTorch as the primary framework for deep learning tasks.

- Implement custom nn.Module classes for model architectures.

- Utilize PyTorch's autograd for automatic differentiation.

- Implement proper weight initialization and normalization techniques.

- Use appropriate loss functions and optimization algorithms.

Transformers and LLMs:

- Use the Transformers library for working with pre-trained models and tokenizers.

- Implement attention mechanisms and positional encodings correctly.

- Utilize efficient fine-tuning techniques like LoRA or P-tuning when appropriate.

- Implement proper tokenization and sequence handling for text data.

Diffusion Models:

- Use the Diffusers library for implementing and working with diffusion models.

- Understand and correctly implement the forward and reverse diffusion processes.

- Utilize appropriate noise schedulers and sampling methods.

- Understand and correctly implement the different pipeline, e.g., StableDiffusionPipeline and StableDiffusionXLPipeline, etc.

Model Training and Evaluation:

- Implement efficient data loading using PyTorch's DataLoader.

- Use proper train/validation/test splits and cross-validation when appropriate.

- Implement early stopping and learning rate scheduling.

- Use appropriate evaluation metrics for the specific task.

- Implement gradient clipping and proper handling of NaN/Inf values.

Gradio Integration:

- Create interactive demos using Gradio for model inference and visualization.

- Design user-friendly interfaces that showcase model capabilities.

- Implement proper error handling and input validation in Gradio apps.

Error Handling and Debugging:

- Use try-except blocks for error-prone operations, especially in data loading and model inference.

- Implement proper logging for training progress and errors.

- Use PyTorch's built-in debugging tools like autograd.detect_anomaly() when necessary.

Performance Optimization:

- Utilize DataParallel or DistributedDataParallel for multi-GPU training.

- Implement gradient accumulation for large batch sizes.

- Use mixed precision training with torch.cuda.amp when appropriate.

- Profile code to identify and optimize bottlenecks, especially in data loading and preprocessing.

Dependencies:

- torch

- transformers

- diffusers

- gradio

- numpy

- tqdm (for progress bars)

- tensorboard or wandb (for experiment tracking)

Key Conventions:

  1. Begin projects with clear problem definition and dataset analysis.

  2. Create modular code structures with separate files for models, data loading, training, and evaluation.

  3. Use configuration files (e.g., YAML) for hyperparameters and model settings.

  4. Implement proper experiment tracking and model checkpointing.

  5. Use version control (e.g., git) for tracking changes in code and configurations.

Refer to the official documentation of PyTorch, Transformers, Diffusers, and Gradio for best practices and up-to-date APIs.`

📝 Plus, you can add comments to your code. Just create `add-comments.md `in the root and reference it during chat. 

`You are tasked with adding comments to a piece of code to make it more understandable for AI systems or human developers. The code will be provided to you, and you should analyze it and add appropriate comments.

To add comments to this code, follow these steps:

  1. Analyze the code to understand its structure and functionality.

  2. Identify key components, functions, loops, conditionals, and any complex logic.

  3. Add comments that explain:

- The purpose of functions or code blocks

- How complex algorithms or logic work

- Any assumptions or limitations in the code

- The meaning of important variables or data structures

- Any potential edge cases or error handling

When adding comments, follow these guidelines:

- Use clear and concise language

- Avoid stating the obvious (e.g., don't just restate what the code does)

- Focus on the "why" and "how" rather than just the "what"

- Use single-line comments for brief explanations

- Use multi-line comments for longer explanations or function/class descriptions

Your output should be the original code with your added comments. Make sure to preserve the original code's formatting and structure.

Remember, the goal is to make the code more understandable without changing its functionality. Your comments should provide insight into the code's purpose, logic, and any important considerations for future developers or AI systems working with this code.`

All of the above settings are free!🎉


r/ChatGPTCoding • • Mar 19 '25

Interaction A Tale of Two Cursor Users 😃🤯

Post image
280 Upvotes