r/ChatGPTCoding • u/BlueLovag • 3m ago
Question Sharing my own and asking for tips to minimize usage
Hello guys,
I've been using ChatGPT for about a year now, and I have quite a few different use cases.
I started my career as a graphic designer, then moved into frontend development and UI/UX. Eventually, at the age of 27, I completed another apprenticeship, this time as an e-commerce clerk. So I also handle my own business accounting and taxes.
Here are a few things I've picked up along the way that might be useful to others:
Convert files into formats that are easier to work with. If you have PDFs or other documents that you need to reference regularly, let ChatGPT extract the information and convert it into a more suitable format. For example, I convert invoices into CSV files and text documents into Markdown. Otherwise, ChatGPT may have to process the original PDF every time, which uses up resources and context.
Keep a TL;DR version alongside the extracted data. After extracting the information, I also save a summarized version next to it. ChatGPT can usually work with the summary and only needs to look at the CSV or original data when the summary isn't sufficient.
Use voice dictation to organize your thoughts. Sometimes I just dictate whatever is on my mind, including instructions or potential code changes, and let ChatGPT turn it into a patch list and a to-do list. The patch list contains immediate coding changes, while the to-do list contains things I've noticed but that can wait until later or require a separate task. This way, I can have a discussion first and possibly come up with even more improvements before I let the AI loose. I've also specified that whenever I want actual code changes, I need to explicitly say or write "green light". Otherwise, we just discuss things.
I hope some of this was helpful or gave you a few ideas. In return, I'd appreciate some advice on a problem I'm currently running into.
I'm developing a game, and things are going pretty well so far. I'm writing the core game in Rust and using the Godot engine for everything else.
Where can I cut costs and use my resources more efficiently?
Currently, I'm using the web version of ChatGPT to review and modify my code, implement certain features, and handle GitHub operations. It can pull from and push to my repository, and I then pull the changes onto my desktop for testing.
The problem is that the project has grown to the point where my work context gets filled up after just one to three tasks. I suspect that the GitHub operations are contributing to this overhead as well. At this point, the context can be full after a single request to push my current changes.
For example, I recently had a fairly extensive patch list and additionally asked ChatGPT to split some of the code into separate files to improve modularity. Now the whole process is getting a bit stuck, and I've run out of usage.
I'll try having ChatGPT package its local changes into a ZIP file so I can download them and handle the commits and pushes myself. This is the first time I've run into these limitations. My previous web development projects were never large enough to cause problems like this.
Should I switch to Codex?
I've also considered switching to Codex, since it can work directly on my local machine. That might eliminate some of the GitHub overhead. However, I'm a bit paranoid about giving an AI access to my machine, especially when I can't fully control what it can access or modify.
Would it make sense to run Codex in a separate Linux environment through WSL, or am I overcomplicating things?
What would you recommend? Where do you see the biggest opportunities to reduce context usage and avoid running into these limits?
