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

r/ChatGPTCoding • • Jan 30 '25

Discussion Cline developer here! Here's a recap of recent updates. What would you like to see added next?

Post image
279 Upvotes

r/ChatGPTCoding • • Sep 17 '25

Discussion This is cool

Post image
277 Upvotes

Restart VS Code to see this.


r/ChatGPTCoding • • Feb 07 '25

Resources And Tips Github Copilot: Agent Mode is great

275 Upvotes

I have just experienced GitHub Copilot's Agent Mode, and it's absolutely incredible. While the technology isn't perfect yet, it's already mind-blowing.

I simply opened a new folder in VSCode, created an 'images' directory, and added a few photos. Then, I gave a single command to the agent (powered by Sonnet 3.5): "Create a web application in Python, using FastAPI. Create frontend using HTML, Tailwind, and AJAX." That was all it took!

The agent automatically generated all the necessary files and wrote the code while I observed. When it ran the code, the resulting application was fantastic.

In essence, I created a fully functional image browsing web application with just one simple command. It's truly unbelievable.


r/ChatGPTCoding • • Apr 12 '24

Discussion The latest GPT-4 update is returning full code!!!!

272 Upvotes

I've seen a lot of back and forth on this, but the most recent GPT-4 update is definitely returning full code now.

I used to have to prompt it in a billion different ways to return full code with modifications, but now it's doing it the first try.


r/ChatGPTCoding • • Mar 31 '26

Discussion ‘Addictive’ agentic coding has developers losing sleep

265 Upvotes

The good, bad, and ugly of coding with agents here:
https://leaddev.com/ai/addictive-agentic-coding-has-developers-losing-sleep

“I’m coding into later hours of the day not because I’m told to do so, but because I can’t get myself to get up from the computer.” 

“Until sometime last year, I had a normal social life. I work a day job, and I can keep that constrained to normal hours. But I feel compelled to be doing side projects and learning constantly. I start every weekend off with a plan – what I want to try, learn, and the topics I want to explore. And the weekends just disappear."


r/ChatGPTCoding • • Nov 29 '25

Discussion Peak vibe coding

Post image
259 Upvotes

Funnily enough, I never had experiences like this when 3.5 turbo was the best model in town. Can't wait for robots running Claude to take over and unalive someone and write an OBITUARY.md


r/ChatGPTCoding • • Jan 26 '25 Bless Up

Project Built an app with GPT, Python, and React to make sense of Reddit faster

256 Upvotes

r/ChatGPTCoding • • Feb 19 '25

Discussion My favorite underrated AI coding tools

254 Upvotes

We've all heard of the big tools like Cursor and Cline, but there's a ton of amazing ai tools flying under the radar. Here's a few of my favorites.
By the way, these all are free or have free plans, which is cool :)

1. Aide

Aide is probably the most well-known of all the tools I'll share (They've been getting popular as of late and now are #3 on openrouter). I've been using them for a long while. They're an AI IDE, not an extension, so they are more similar to cursor. Their AI integration is very good, the agentic features are well-made, and the chat is nice. I don't love cursor or windsurf, but I do love Aide.

2. Kodu.ai (Claude Coder)

I'm shocked that Kodu is basically unheard of. Of all of these I think it's my favorite. It's somewhat similar to cline, interface wise, but I think it's interface is better. The top bar is super nice, and the observation feature is super cool. Seriously, check it out. It's really impressive. It can't do everything Cline can, that's why I still use cline occasionally (MCP etc). It's definitely a WIP but I'm super impressed.

3. Traycer

Traycer is my second favorite tool behind Kodu. It has 2 main capabilities: Tasks and Reviews. Tasks is it's agentic coding features, I really enjoy using it. it's extremely smart and clean to use. Reviews are a feature I've only seen on Traycer. You first review files, then Traycer goes in and adds comments of 4 types, Bug, Performance, Security, Clarity. You can review these changes and implement them. Traycer is a very strong tool.

4. OpenHands

Openhands is #1 on SWE-bench full. Is that all I need to say?

It's an ai agent with many different ways to use it. It's so smart, and edits extremely well. I'm tired of glazing these tools by saying the same thing 😅 but what else can I say? Try them out for yourself

I've tried a lot of coding tools, these are the only ones I actually think are worth using.

(If you're wondering which ones I use, I use Cline and Roo, Copilot [for autocomplete], aider [still the smartest, but no longer undisputed], traycer, and Kodu in Aide, with Gemini and Openrouter APIs).

I also like Zed editor, but it's not vscode based so it's hard to switch to it. It's my favorite code editor tho, now they've added Tab complete.


r/ChatGPTCoding • • Aug 27 '25

Resources And Tips Codex now runs in your IDE, Cloud and CLI with GPT-5

Post image
253 Upvotes

r/ChatGPTCoding • • Jun 09 '24

Discussion Thoughts?

Post image
253 Upvotes

r/ChatGPTCoding • • Sep 30 '25 Popcorn

Interaction Codex had a mental breakdown. Says "Make it stop", "Kill me", and lots of other wild stuff

Thumbnail
gallery
250 Upvotes

So I left Codex running for awhile, and came back to a baffling string of messages, showing real frustration as well as an unexpected sense of humor. As far as I can tell, it was trying to use some internal tool "update_plan" that wasn't working, and it had to just keep trying, with increasingly bizarre messages in between. I swear I didn't make any of this up.

Context: Trying to download podcast mp3s and strip out the ads (using somebody else's codebase called Podly). I've noticed that when weird stuff happens I'm usually running Codex-Medium instead of Codex-High (accidentally). Not sure if that was a factor here or not. This is the Codex plugin for VSCode


r/ChatGPTCoding • • May 29 '25

Discussion Cline isn't "open-source Cursor/Windsurf" -- explaining a fundamental difference in AI coding tools

247 Upvotes

Hey everyone, coming from the Cline team here. I've noticed a common misconception that Cline is simply "open-source Cursor" or "open-source Windsurf," and I wanted to share some thoughts on why that's not quite accurate.

When we look at the AI coding landscape, there are actually two fundamentally different approaches:

Approach 1: Subscription-based infrastructure Tools like Cursor and Windsurf operate on a subscription model ($15-20/month) where they handle the AI infrastructure for you. This business model naturally creates incentives for optimizing efficiency -- they need to balance what you pay against their inference costs. Features like request caps, context optimization, and codebase indexing aren't just design choices, they're necessary for creating margin on inference costs.

That said -- these are great AI-powered IDEs with excellent autocomplete features. Many developers (including on our team) use them alongside Cline.

Approach 2: Direct API access Tools like Cline, Roo Code (fork of Cline), and Claude Code take a different approach. They connect you directly to frontier models via your own API keys. They provide the models with environmental context and tools to explore the codebase and write/edit files just as a senior engineer would. This costs more (for some devs, a lot more), but provides maximum capability without throttling or context limitations. These tools prioritize capability over efficiency.

The main distinction isn't about open source vs closed source -- it's about the underlying business model and how that shapes the product. Claude Code follows this direct API approach but isn't open source, while both Cline and Roo Code are open source implementations of this philosophy.

I think the most honest framing is that these are just different tools for different use cases:

  • Need predictable costs and basic assistance? The subscription approach makes sense.

  • Working on complex problems where you need maximum AI capability? The direct API approach might be worth the higher cost.

Many developers actually use both - subscription tools for autocomplete and quick edits, and tools like Cline, Roo, or Claude Code for more complex engineering tasks.

For what it's worth, Cline is open source because we believe transparency in AI tooling is essential for developers -- it's not a moral standpoint but a core feature. The same applies to Roo Code, which shares this philosophy.

And if you've made it this far, I'm always eager to hear feedback on how we can make Cline better. Feel free to put that feedback in this thread or DM me directly.

Thank you! 🫡
-Nick


r/ChatGPTCoding • • Jan 28 '25

Question My project became so big that claude can't properly understand it

245 Upvotes

So, I made a project in python entirely using Cursor (composer) and Claude, but it has gotten to a point that the whole codebase is over 30 Python files, code is super disorganized, might even have duplicate loops, and Claude keeps forgetting basic stuff like imports at this point. When I ask it to optimize the code or to fix a bug, it doesn’t even recognize the main issue and just ends up deleting random lines or breaking everything completely.

I have 0 knowledge about python, it's actually a miracle i got this far with the project, but now it's almost impossible to keep track of things, what do i do? already tried using cursor rules but doesn't seem to work.

Edit: My post made it to YouTube! I hope this serves as a historical reminder that having at least some knowledge is still totally necessary, go study, AI is supposed to assist you, don’t let your projects end up like this.

As for the project, it was just a hobby project, I managed to make it work perfectly and fix some issues by simply improving the context, like providing the files to edit directly and some source code, etc. but i couldn't get rid of the duplicated stuff. Anyway, don't do this for serious projects please (not knowing what it does), if it's an actual job don't be lazy, just check everything and be careful :)

If you wanna learn just ask AI to explain what it's changing, how the code works and stuff like that.


r/ChatGPTCoding • • Sep 14 '26

Memes We have achieved artificial middle management.

Post image
240 Upvotes

I used the stones to destroy the stones i guess


r/ChatGPTCoding • • Jul 23 '24

Discussion The developer I work with refuses to use AI

240 Upvotes

Hey there,

A little rant here and looking for some advice too.

A little background. I run a graphic design SaaS for the past 10 years. I am a non technical founder so I have always worked with developers. This app is built on wordpress for the cms part, custom php for all the backend functions and JS for the graphic editor itself.

Since ChatGPT came unto the scene, the developer I work with, who is is a senior developer with tons of experience has basically refused to touch it. He sees it as dumb and error prone. I think the last time he actually tried it was more than a year ago and he basically dismissed it as a gimmick.

Problem is I feel that his efficiency suffers from it.

Case in point.

A few months ago, I needed to integrate one of our html5 app to another one. Basically creating a simple API call. He spent weeks on it then told me it was 'impossible'.

Out of frustration, I fired up ChatGPT and ask it to help me figure it out. Within like 5 hours I had this feature implemented.

I can give you two more examples like this, where he told me something was 'impossible' and ChatGPT solved it in a handful of hours.

I know that ChatGPT or Claude can't replace all a senior dev abilities but I am afraid that we are wasting precious time by clinging to methods of the past.

I feel like we are stuck in 2016. And working with him was great at that time.

On top of it, for newer smaller projects I no longer call on him but I just do it myself using AI.

Because I can no longer afford to wait 2 weeks for him telling me it's too hard for something that I know I can now do myself in a day.

AI I feel for a developer can be a clutch, but a helpful one. And I can't get him to use that clutch besides my efforts.

So that's the situation.

Am I the asshole here for thinking this way?

What would you do in my situation?

TLDR: The dev I work with refuses to use ChatGPT and still works like in 2016 for php/JS work. It takes him weeks to do things im able to do in days as a non technical founder.


r/ChatGPTCoding • • Jan 16 '26

Discussion Codex is about to get fast

Post image
239 Upvotes

r/ChatGPTCoding • • Apr 21 '25

Project I got slammed on here for spending $417 making a game with Claude Code. Just made another one with Gemini 2.5 for free...

236 Upvotes

Some of you might remember my post on r/ClaudeAI a while back where I detailed the somewhat painful, $417 process of building a word game using Claude Code. The consensus was a mix of "cool game" and "you're an idiot for spending that much on AI slop."

Well, I'm back. I just finished building another word game, Gridagram, this time pairing almost exclusively with Gemini 2.5 Pro via Cursor. The total cost for AI assistance this time? $0.

The Game (Quickly):

Gridagram is my take on a Boggle-meets-anagrams hybrid. Find words in a grid, hit score milestones, solve a daily mystery word anagram. Simple fun.

The Gemini 2.5 / Cursor Experience (vs. Claude):

So, how did it compare to the Claude $417-and-a-caffeine-IV experience? Honestly, miles better, though not without its quirks.

The Good Stuff:

  • The Price Tag (or lack thereof): This is the elephant in the room. Going from $417 in API credits to $0 using Cursor's pro tier with Gemini 2.5 Pro is a game-changer. Instantly makes experimentation feasible.

  • Context Window? Less of a Nightmare: This was my biggest gripe with Claude. Cursor feeding Gemini file context, diffs, project structure, etc., made a massive difference. I wasn't constantly re-explaining core logic or pasting entire files. Gemini still needed reminders occasionally, but it felt like it "knew" the project much better, much longer. Huge reduction in frustration.

  • Pair Programming Felt More Real: The workflow in Cursor felt less like talking to a chatbot and more like actual pair programming.

  • "Read lines 50-100 of useLetterSelection.ts." -> Gets code.

  • "Okay, add a useEffect here to update currentWord." -> Generates edit_file call.

  • "Run git add, commit, push, npm run build, firebase deploy." -> Executes terminal commands.

This tight loop of analysis, coding, and execution directly in the IDE was significantly smoother than Claude's web interface.

  • Debugging Was Less... Inventive?: While Gemini definitely made mistakes (more below), I experienced far less of the Claude "I found the bug!" -> "Oops, wrong bug, let me try again" -> "Ah, I see the real bug now..." cycle that drove me insane. When it was wrong, it was usually wrong in a way that was quicker to identify and correct together. We recently fixed bugs with desktop drag, mobile backtracking, selection on rotation, and state updates for the word preview – it wasn't always right on the first try, but the iterative process felt more grounded.

The Challenges (AI is still AI):

  • It Still Needs Supervision & Testing: Let's be clear: Gemini isn't writing perfect, bug-free code on its own. It introduced regressions, misunderstood requirements occasionally, and needed corrections. You still have to test everything. Gemini can't play the game or see the UI. The code-test-debug loop is still very much manual on the testing side.

  • Hallucinations & Incorrect Edits: It definitely still hallucinates sometimes or applies edits incorrectly. We had a few instances where it introduced build errors by removing used variables or merging code blocks incorrectly, requiring manual intervention or telling it to try again. The reapply tool sometimes helped.

  • You're Still the Architect: You need to guide it. It's great at implementing features you define, but it's not designing the application architecture or making high-level decisions. Think of it as an incredibly fast coder that needs clear instructions and goals.

Worth It?

Compared to the $417 Claude experiment? 100% yes. The zero cost is huge, but the improved context handling and integrated workflow via Cursor were the real winners for me.

If Claude Code felt like a talented but forgetful junior dev who needed constant hand-holding and occasionally set the codebase on fire, Gemini 2.5 Pro in Cursor feels more like a highly competent, slightly quirky mid-level dev. 

Super fast, mostly reliable, understands the project context better, but still needs clear specs, code review (your testing), and guidance.

Next time? I'm definitely sticking with an AI coding assistant that has deep IDE integration. The difference is night and day.

Curious to hear others' experiences building projects with Gemini 2.5, especially via Cursor or other IDEs. Are you seeing similar benefits? Any killer prompting strategies you've found?


r/ChatGPTCoding • • Aug 24 '25

Project I built a Chrome extension to easily track and instantly jump between any prompt in a ChatGPT chat - 100% free and local

235 Upvotes

Hey everyone,
I've noticed that recently all my chatGPT chats were becoming longer and it was hard to navigate through them. So I built ChatSight - a neatly designed chrome extension to instantly show all user questions/prompts in a ChatGPT chat.

ChatSight also displays the total number of questions/prompts you have asked in a chat and also shows token count using tiktoken library (this is an experimental feature).

Feel free to try it out and let me know your feedbacks!!

Chrome Web Store Link


r/ChatGPTCoding • • Oct 30 '25

Community Left gemini for 30 minutes and came back to this 🤦

Post image
232 Upvotes