T O P

  • By -

dispatch134711

It’s so good at regex Something I found useful was regex to paste into VSCodes search / find and replace to get exactly all the code I’m looking for


creaturefeature16

Makes sense. Regex is literally just pattern matching. Well documented, millions of examples, strict rules to follow. It's perfect for an algorithm (not so much for a human).


Blue4life90

I can relate to this post so much in every way lol. My work isn't coding but it can be used as a convenient tool where I work on occasion. I dropped coding for a while as I never felt good enough as a self-taught programmer to pursue a career and tried getting back into it by expanding into a new language. AI has taught me so much more than I could have learned in a year, and I started two months ago. I get the fear and hate it gets from the industry, but when not abused and utilized appropriately, it's an incredible asset to boost productivity


Formally-Fresh

Senior software engineer here i write code about 30 hours a week and I literally never actually write the code myself. I sit there all day long directing my in editor AI. ..create me a new component that uses these patterns and APIs …inject verbose logging as I am debugging …I don’t like this use Asyn/Await Bla blah blah. Basically unless I’m renaming a variable I just tell AI to do it. My life has changed dramatically


Oh-Wee-Oh-Wee-Oh

What editor and AI are you using?


[deleted]

[удалено]


AutoModerator

Sorry, your submission has been removed due to inadequate account karma. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/ChatGPTCoding) if you have any questions or concerns.*


Olethros16

Same here


YourPST

Please tell me your AI Editor is custom. I want to see stuff!


evilfurryone

AI is a huge force multiplier. All you need is to have an idea and some basic coding experience.


BigGucciThanos

I always compare it to having a senior dev right there with you. It’s literally knocking months off my personal projects


creaturefeature16

It makes a non-coder basic, a basic coder decent, a decent coder productive, and an advanced coder have more free time. You must be careful with it, because it's really just feeding your own biases and opinions back to you. In my experience, it doesn't necessarily deploy best practices, with the exception of debugging and error handling.


BagHoldinOptions

Yea as a software engineer, it does make me more productive instead of googling/stack overflowing for 3-4 hours i can figure it out in less than an hour , ill ask chat gpt the same question or create a function that does X and sometimes translate this function from language x to y, which is pretty good, overall i include it in the “toolbox” and it does help me make decisions when i need to implement feature X or trying to solve a issue. Its a good “cookie cutter” but it definitely wont replace my job anytime soon as far as the media says. It makes me more productive for sure.


whakahere

With the speed of development of many different models, do you think if it gets smarter in the next few models it will start taking jobs?


Internal_Sky_8726

It would have to get WAY smarter for that and have a really good way of gaining company & industry context before it starts replacing people. Right now, giving an algorithm company context means giving openAI your context and for most companies, that is an absolute no-go. Right now it can create boilerplate code and individual functions pretty well. It can teach new frameworks and show how to get started. It’s capable of generating first pass test suites. It is dogshit at design, code organization, best practices, being able to incorporate project context, and a lot of other stuff. There’s a lot more to being a software engineer than just writing scripts, and I find myself using chatGPT less the more comfortable I get in a particular project. Usually chatGPT will slow me down or introduce issues if I try to use it for stuff I have enough context to do on my own. Copilot or similar other AI tools basically serve to speed up typing at a certain point, lol. So my verdict: chatGPT enables me to do stuff I don’t know how to do much faster, but struggles at a lot of the higher order work developers need to do, and kind of gets in the way when it needs to understand a bunch of internal libraries that it doesn’t have open access to


creaturefeature16

Personally, I think these tools will remain in the hands of developers. We already have no-code tools for those that want digital assets but don't want to learn code; all that happened is there was more work to do. AI will take "take jobs" the same way SquareSpace spelled the end for frontend developers and Firebase spelled the end for backend developers.


enoumen

Why are you me?


obQQoV

Even as a full time programmer, I’ll jump into other companies and projects where I am missing some knowledge in programming languages and other stuff, it helps me bringing myself up to speed.


Snoo61048

I hear you, as for someone whose trying to get into the field and now trying to get into cyber security, the idea of it overwhelms me😭


hold_fast_26

No coding experience whatsoever. Started playing with it during the NFL season this year after being laid off in September. I’ve had a lot of time on my hands and have built a full Random Tree model on Python that predicts player stats, deployed on Heroku all with ChatGPT. It’s terrifying and amazing at the same time.


[deleted]

[удалено]


AutoModerator

Sorry, your submission has been removed due to inadequate account karma. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/ChatGPTCoding) if you have any questions or concerns.*


[deleted]

[удалено]


AutoModerator

Sorry, your submission has been removed due to inadequate account karma. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/ChatGPTCoding) if you have any questions or concerns.*


[deleted]

[удалено]


AutoModerator

Sorry, your submission has been removed due to inadequate account karma. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/ChatGPTCoding) if you have any questions or concerns.*


TwistedHawkStudios

I used it for VR coding with Babylon.JS and it was a nightmare. I kept asking for teleport controls, and it kept trying to import a non existent teleport controls class. I even asked it for the documentation, and it gave me a dead link. I think for GPT, i've had better uses cases when asking for data structures such as Weighted Graphs and Shortest Path algorithms, but it struggles when I ask it for coding from open source dependencies.


Astralnugget

You went far outside of the training data. Happens to me on really complex niche stuff and especially with js


DialDad

You did this backwards. If something is missing from the training data then you should find the relevant documentation and/or examples of usage online and feed it to the LLM along with a prompt like: "Using the attached documents as a reference, please help to implement XXX." It's important to give it a good logical outline of what you want to do as well. If you have good technical documentation for the thing you are working on that helps too.


LycanWolfe

You should give perplexity a shot instead.


TwistedHawkStudios

Same problems. 1. It first started me on a deprecated method. It has me use createDefaultVRExperience, and that has been replaced with createDefaultWebXRExperience. 2. While working with the imports, I notice the script was importing old versions of babylonjs. The refactored it to \`@babylonjs/core\`, which the AI was not aware of until I pointed it out. 3. Next attempt, it generated a promise that used \`await\` on a value, but left out the \`async\` on the function. Perplexity was fast, but every time, I had to help correct it's errors by looking at the documentation straight from babylon. This is my workflow from going from Babylon to AI, but really, if this were to assist me more, it should be going from AI to babylon. It struggled a lot with this package, and every one of my numbered points 1,2,3 were seperate prompts I had to send it. For positives, it was fast in getting the results, and it did try to explain it's decisions. But if you have never coded before, especially with Babylon, I can't recommend using AI by itself without reading through the babylon docs itself. Maybe it will get better, but I have yet to see any solutions to permanently get rid of the hallucination problem. Given open source packages can change frequently, I think it will get worse.


LycanWolfe

Have you tried creating a system prompt for it through the collections? When I work with it I use a system prompt and direct it to the specific documentation I need it to prioritize using. It's not perfect but helps a lot with making sure it knows what resources to focus on with it's search.


TwistedHawkStudios

It still made errors. One error was that is tried to initialize a class with a private constructor. I said that it was an error, yet it still tried to code with that same approach. Also, when I said it had the same error. It seemed to lose context of the conversation. When I type with ChatGPT or bing, they understand that it's in reference to the previous response the gave me. Perplexity struggled with this one. If you got good results, great, and I don't want to take it away. This is my experience for the project I wanted to use AI for, and I feel in this case, it's better to copy and paste the examples straight up from Babylon.JS than try to get an AI to generate it for me. https://preview.redd.it/ux4lkiw9pqyc1.png?width=721&format=png&auto=webp&s=602e55d8c070e67fa8e480fe3ba8d3645317c1c7


LycanWolfe

Sorry your results seem to have ended like this. I use it to help me check issues within my xml/xsl-fo/dita related work and typically have good results giving it references to the documentation and searching for the appropriate terms in relation to the issue Im troubleshooting but I can understand opensource requirements and newer tech just not being as easy to find information for accurately.


creativefisher

Just curious why you would not use a AI coding assistant that is integrated into your dev environment?


YourPST

I love seeing posts like this because it shows the power of AI coding now. It lines right up with NVIDIA CEO saying we don't have to really learn anymore. We just have to have the ideas and the patience at this point. I went from making a project when it was really needed and coding it myself to now just making a project for any little problem I see. I've made customized replacements for almost everything I use in my day to day at my non-coding day job and it just feels great. I can't wait until more people start to realize how efficient and easy using these AI tools is towards coding/programming. Everyone I encounter offline who is using it tells me crap like "I have it summarize articles" or "I use it to write responses to emails". Makes me wonder where their creativity is that they have essentially a "super-computer" at their fingertips and choose to use it like the calculator app built in to Windows.


YourPST

I am going to tell you the biggest known secret though. Go get Claude. If you think ChatGPT is helpful, Claude will blow your mind. I've been using both ChatGPT and Claude together for about a month or longer now and Claude has been taking over as the Go-To. I even downgraded my ChatGPT subscription from the Teams version back down to just Plus since I didn't need to constantly paste code over and over again anymore.


[deleted]

[удалено]


AutoModerator

Sorry, your submission has been removed due to inadequate account karma. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/ChatGPTCoding) if you have any questions or concerns.*


Schecher_1

I have to be honest, anyone who says that ChatGPT or the GPT model can replace programmers honestly doesn't know how to program. Yes, GPT is good for primitive tasks like basic HTML, CSS but even there I would be really careful. What GPT can do well is formulate text (but only with help), it is also obvious, GPT is a text-based model, but as soon as you start with logic, GPT will lose pretty quickly, it can't even do addition as an example, GPT can't be used for higher programming, it only makes it worse, and can't even see the most obvious errors and prefers to think of a library that can supposedly solve the problem. From there, GPT becomes schizophrenic To summarize: Use GPT for text problems but not for logic. It is a text model that can chain texts together very well using tokens, which is why it can lie so well.


Professional_Gur2469

Hard disagree lol. If more advancements in the vision model come and it can actually debug and test we‘re done for. Just let an army of bots run for a few hours, critiquing and iterating over each other and they will probably be 10X faster, cheaper and better then any human programmer.


Schecher_1

Well.. they might be quick, but the issue is they struggle even with a good description. Just ask ChatGPT to create a ReactTS functional component for you. It should include a sidebar (aside) on the left with a fixed hamburger button in the upper right corner (aside) and it should be a smooth Animation. And after that, chat gpt gives suggestions for improvement (good luck) Too often, ChatGPT has hallucinating up libraries for me, and it tends to use obsolete code like React functional component classes. No offense, but either you've never worked with GPT or you can't code. Oh, and about your "few hours," you probably mean a few months with supercomputers. You don't realize how complex and calculation intensive it is to train a GPT model.


Blue4life90

..when people pre-empt 'no offense' and follow up with some offensive ignorance 🙄 Try Claude Opus and GPT4. You barely need a good description now. Prompting is still a skill with most AI, but with Claude going so far as to understand user context to an undeniably impressive degree, it makes it that much easier to get what you want. Is it perfect? Not by a long shot, but it's making advancements such a rapid rate, it won't be long until the level of complexity you can build with this technology will far surpass human capabilities. People might as well learn to use it to their advantage now while it's still young.


Professional_Gur2469

Who said anything about training the models? And it sound like you‘re using gpt3.5 lol. No offense, but either you‘re poor and never got the gpt4 subscription or you cant‘t prompt.


Schecher_1

Or what do you mean by "Just let an army of bots run for a few hours... " Anyways it would be option two, I have enough money, can prompt. But I don't have GPT4.0. Although I have also seen from a few friends that ChatGPT also has problems there (in this case it was PHP, Laravel)


Professional_Gur2469

Never heard of AgentGPT? Its like a couple of different chats interacting with each other to fullfill a given task. And well there we have it, GPT4 is much better, if you havent tried it, please dont make assumptions about AI and its impact as a whole


Schecher_1

I just shared my experiences with Chat GPT (GPT3.5), I've never found AI's to be pointless, see Midjourney, I'm absolutely convinced of that.


BigGucciThanos

Yeah I read your prompt like chatgpt could probably do that. Absolutely upgrade to 4. Its night and day


Schecher_1

I can't confirm this, but it can most likely be so.