r/AskProgramming • • Mar 24 '23

ChatGPT / AI related questions

144 Upvotes

Due to the amount of repetitive panicky questions in regards to ChatGPT, the topic is for now restricted and threads will be removed.

FAQ:

Will ChatGPT replace programming?!?!?!?!

No

Will we all lose our jobs?!?!?!

No

Is anything still even worth it?!?!

Please seek counselling if you suffer from anxiety or depression.


r/AskProgramming • • 12h ago

Career/Edu C++ vs python

3 Upvotes

I'm a first year cs student and I'm wondering which is better for getting a job. I know it's more about your skills and not only the programming language but they do have different niches that they excel in.

The reason I'm asking is that I already know Python and have done extensive work in it. But I recently discovered C++ and truth be told I really like it and prefer it over Python. C++ just has so much more control and logic that you can manipulate in it. It feels more concrete for some reason.

Either way, I know learning Python is essential cuz it's the fastest way to get things done. But at the same time it's also the most popular language, so I'm wondering will learning C++ be worthwhile?


r/AskProgramming • • 7h ago

C# Per-tenant filesystem root confinement (traversal + symlinks), cross-platform

0 Upvotes

i am currently relying on string check to keep customers in own folders. Is it completely pointless on window? Or Force OS to look customers in isolation instead of filtering file names in c# & python


r/AskProgramming • • 12h ago

I keep getting stuck when starting a new coding project

1 Upvotes

Whenever I start a new project I have a rough idea of what I want to build but I get confused about where to actually begin. I end up jumping between different parts of the code and sometimes make things more complicated than they need to be.


r/AskProgramming • • 12h ago

Career/Edu Intern with no seniors around, how do I get better at AI-assisted development and actually understand what I'm shipping? Looking for genuine advice.

0 Upvotes

I recently joined a new tech company as an intern after a year-long gap. Before this, I did a 6-month remote front-end internship at a startup, where I handled the entire front-end and one other guy did the back-end. I knew the concepts and basics of front-end languages and frameworks, but I vibe coded pretty much all of it.

Now I'm at a company where everyone is a junior and everyone is figuring things out on their own. There's no senior developer, not even in the whole company, so nobody to tell me what to look at or what to do when something breaks. The framework and even the language are new to me, and I'm still vibe coding with LLMs. The problem is they're non-deterministic. Sometimes they "fix" stuff in the codebase that I never asked them to touch, and I can't always tell whether the change is right.

I'm not trying to give up AI. I want to use it better. My goal is to understand the code and the architecture well enough that when an LLM writes something, I know what's going on and can judge whether it's right. I also want to get good at system design and prompting so I can eventually take a project from start to deployment on my own with AI assisting me. I've heard about agents.md and skills files but have never actually tried them.

My learning style is a bit of a problem. I'm a read-everything, one-shot kind of person, not a step-by-step one, and I forget things quickly, so I often feel dumb. I've watched dozens of talks and interviews on this, but nothing stuck because I always fall back on my old way of learning. I know I should change it, but I'm lazy and don't know where to start.

On the infra side, the team sets up servers manually and has no CI. I ran a homelab before and I'm comfortable with Linux, hosting and deploying, so I could probably help. But I'm new and don't want to step on anyone's toes.

If you're an experienced dev, how would you learn an unfamiliar stack with no mentor, use AI without losing the learning, and maybe bring up CI and deployment as the new intern?

I'd also love to hop on a call with anyone who's up for it, to go deeper. Happy to chat about whatever works for you. Thanks a lot!


r/AskProgramming • • 19h ago

Trying to find a way to input an album with 1 million songs onto a music database site. Is there any way I or someone else could program a way for me to not have to do it manually?

0 Upvotes

So for some much needed context and clarity, there's an album called Aleph-Ten (ℵ₁₀) by the band Bull of Heaven. On the music database / cataloging site I was speaking of, (It's called Rate Your Music btw,) the track list originally shows as this if you look on the album on RYM:

1|0000001|0:01

2|0000002|0:01

3|0000003|0:01

...

9999998|9999998|0:01

9999999|9999999|0:01

1000000|1000000|0:01

Now, I'm trying to have it so all 1 million tracks are there instead of the "..." I'm wondering if there's a program or a way I can program something to automatically input a list of the tracks in that format so I can copy and paste it into RYM's track section.

Ty for any help, much love! <3


r/AskProgramming • • 18h ago

Career/Edu Is there still specialized areas AI hasn't replaced?

0 Upvotes

I was basically thinking is it still possible to find a way to do coding in your job even if just occasionally in some specialized low-level or poorly documented novel environments? Anyone here working with for example compilers or advanced vulnerability research?


r/AskProgramming • • 1d ago

Architecture Should I refactor the folder structure or continue working on the existing structure?

1 Upvotes

Hey there, I am working on top of a big production codebase. In the current version, the workflow is good, everything works, I made the app run locally using docker and it works fine.

The problem that I am facing is that, as it is a monorepo with a modular monolith architecture, everything is scattered around, I think the team has built it on purpose but I need to know if I should refactor the workflow and the folder structure according to my needs or continue working as it is ?


r/AskProgramming • • 1d ago

Databases Windows & Linux file access

0 Upvotes

Muti tenant self-hosted where each tenant has workspace directory at app level we resolve via

Path.GetFullPath(Path.Combine(tenantRoot, userPath))`, then require `resolved == tenantRoot || resolved.StartsWith(tenantRoot + Path.DirectorySeparatorChar)

os.path.realpath is cannoned for unresolved realpath. Wanted to know is `GetFullPath along with prefix-with-separator is enough? Does realpath needs O_NOFOLLOW`-style flags?

We volume-mount workspaces into containers is that ok or there should be OS level or app level canon? How to regress test in CI is there any fuzz list?


r/AskProgramming • • 2d ago

What's the most ridiculous temporary workaround you've seen become permanent?

22 Upvotes

Every old enough codebase seems to have at least one piece of code that nobody wants to touch. Think temporary workaround from 2019. A function called fix_final_v2. Or a 600-line method that apparently holds the entire billing system together.

And the best part is that there's usually a perfectly reasonable explanation for why it was written that way, oooor at least there was at the time.

What's the weirdest workaround, architectural decision, or bit of legacy code you've inherited?

Bonus points if someone tried to remove it and immediately discovered why it was still there.


r/AskProgramming • • 1d ago

XML Course in 2026 ?

0 Upvotes

I am currently doing a Master's degree in Computer Science and we have a 48h XML course (16 three-hour classes)

I am wondering: in 2026, how dumb is it to have this course ?

Even before AI, having an entire 48h course exclusively dedicated to XML seemed like a pretty dumb idea... what company needs you to know XML to this extent ? (especially as a junior) and XML alone can't get you a job, and you can't really build a career around it.

But in the era of AI, this seems even dumber

So I was wondering: am I wrong, or is this actually a really, really dumb course ?

and is this common in universities ?


r/AskProgramming • • 1d ago

What does the future of programming actually look like? Seeing the shift firsthand at work.

0 Upvotes

Right now, and I'm actively working and shipping code. However, watching how fast these models are growing and becoming more capable, I can't shake some doubts about the long-term future of programming as a career.

I don't think we are that far from seeing massive replacement—and by "replacing," I mean a fundamental shift in headcount. Just recently, I worked on adding a feature that, two years ago, would have taken at least two weeks to build. With AI, it was done in one day. And to be clear, this one-day solution isn't bad code; it works, performs well, passed code review, and everything is solid.

What I’m seeing in practice right now is that a company doesn't need 10 engineers anymore—it needs 2 engineers with a Claude subscription.

A lot of developers hold onto the hope that this is just a hype bubble that will eventually pop, especially when people bring up how much money AI companies are burning. Personally, I don't buy that. AI isn't going to disappear because this goes much deeper than just corporate profit margins—from a geopolitical perspective, it's a global race, and the momentum isn't going to stop.

For those of you also working in the industry: how are you viewing the next 5 to 10 years?


r/AskProgramming • • 2d ago

Other Coworker used ChatGPT, Cursor, and Claude to build a replacement for enterprise geosteering software and wants $500/month per rig. What are the real technical and liability risks here?

26 Upvotes

I work in oil and gas doing geosteering, which uses downhole sensor data (gamma ray and directional surveys) to predict dip of underground rock layers in 2D cross-sections and guide a multi-million-dollar lateral wellbore operation.

The industry standard is commercial software (e.g. StarSteer, SES, Petrel, IHS Kingdom, etc.) built over decades by teams of credentialed mathematicians, geologists, and software engineers.

A fellow contractor has zero background in computer science, math, or geology (only 15 years of field experience mostly in a single basin). He didn't like the StarSteer, so he built a replacement using AI. He started in ChatGPT, moved to Cursor, and now bounces code back and forth between ChatGPT/Codex and Claude to "check" it.

Right now, we are "testing" it on jobs. It handles drag-and-drop LAS and survey files for 2D cross-sections, and he is building a separate program to handle real-time WITSML data feeds. The oil operator we work for has a "whatever gets the job done" mindset and doesn't care what software we use.

A few increasingly important concerns:

  • Monetization: He now wants $500/month per rig for us to keep using it. He's been working on this for 11 months and is beginning to feel like we owe him to keep using it.
  • Extreme Defensiveness: He calls the app his "baby" and gets visibly irritated/frustrated/loud/angry whenever anyone points out a bug, questions the math, or offers criticism, say they prefer StarSteer, etc.
  • ToS Violations: He actually brought up the commercial vendor's Terms of Service himself, which strictly bans copying/adapting the software or using it to develop a competing product, and basically admitted that's what he's doing.

For the software engineers and tech leads here, I'm looking for clear and objective arguments on the liability he may be creating, especially since we're all operating under our own LLCs alongside him. I'm wondering about a few things in particular:

  1. Reliability of Prompt-based AI Coding: When someone who can't read code bounces a project between ChatGPT, Cursor, Codex, and Claude to "check" its own work, what kind of hidden bugs and architectural rot get introduced under the hood? His program was dogshit slow at first, but switching to Qt vastly improved responsiveness. But other issues persist. And the interface still doesn't look professional. More like Microsoft Paint / Excel on steroids.
  2. Hidden/Unknown Errors: For the 2D cross-sections he's created with the interface, geosteering relies on trigonometric survey math (minimum curvature, TVD, apparent dip) and clean LAS parsing. It seems to be working. But I've also noticed instances of where it's not quite right or doesn't match what I'm seeing if I recreate an interpretation in StarSteer. How risky is AI-generated math built by someone who claims the math is easy, claims the math is right?
  3. LLC Liability & Support: With no service agreement, no independent testing or verification or review, a creator who treats bug reports like personal insults, and an Operator who won't back us up if it fails, how exposed am I legally and financially if I pay $500/mo to steer a multi-million-dollar well with this?
  4. Use Restrictions: StarSteer has a section about preparing derivative works, enhancing, competitive analysis, etc. Basically, they could terminate our license if they find out what he's doing. But what happens when the license expires and he tries to go public and pushes this and tries to sell this to other contractors?

TL;DR: Fellow contractor with zero coding, math, or geology background used ChatGPT, Cursor, and Claude to build a 2D replacement for industry-standard geosteering software. We are all independent LLCs working for a hands-off oil operator. He gets angry at any bug reports, knowingly violated the commercial software's anti-compete Terms of Service, and now wants $500/month per rig. Looking for a realistic breakdown from actual devs on the technical failure points and liability risks of trusting this on live, multi-million-dollar wells.


r/AskProgramming • • 1d ago

Way to go around web restrictions

0 Upvotes

Hello,
my school blocks some websites (such as ChatGPT, WhatsApp, snapchat,…) on our iPads and I want to find a way to bypass it.
I first thought, could use a proxy to go around the website restrictions of the network but I found out that the restrictions are implemented with the device management as device specific restrictions.
But I still think proxies are not a bad approach. I thought that if the URLs are blocked it could work because when the banned URLs are encoded and sent to a proxy-server so the URLs don’t trigger the restrictions. One Problem with that: I think (correct me if I’m wrong) the prohibited websites are intercepted before the request reaches the URL-encoding of the proxy.
So a classical proxy doesn’t work but something similar might. My next approach would be to build a browser that encodes the URL before any request is made, so the device thinks I’m visiting on chatgpt.com, but rather that I’m visiting my Server.

Do you think this is a good approach or are there simpler solutions? Am I missing something? How would you approach this?
Regards Emil


r/AskProgramming • • 2d ago

Other Universal tips for beginner assembly programmers?

2 Upvotes

I know some of you out there have tips for me and other people seeing this post.


r/AskProgramming • • 3d ago

C/C++ Engineers working in systems domains - OS, Concurrency, Networking, Storage, Virtualization and similar low level systems programming, and professionally writing code in C, how much has Al affected your role.

12 Upvotes

I would like to know how much manual coding you write in your job and in what ways AI has been helpful or being utilized?

Especially those engineers who are working in the low level systems programming and system domains writing code in low level languages such as C, C++ or Rust, how has AI affected your job?

Do you think AI will replace engineers in your domains?


r/AskProgramming • • 3d ago

C# Development Path in C# .NET Backend and Motivation

2 Upvotes

Hi everyone! To give you some background: I graduated from university with top marks. That’s where I first started programming—we were taught a little bit of everything, including Pascal, C++, PHP, Python, C#, and so on.
Our coursework always covered up to OOP (Object-Oriented Programming), but never went any further.
I also studied C# and Python on my own, but again, I never really ventured much beyond OOP.

During my studies, I tried to avoid web development because it didn’t particularly interest me; however, after graduating, I realized that most of the job market is in web development, so I need to find a way to get comfortable with it. Since I’m most familiar with C#—and it’s the language I enjoy the most—I’ve decided to focus on C# backend development. But a few issues have come up:

It’s been a 2 years since I graduated, at that time, I had to find a job quickly, and it wasn’t in the field I had actually studied for; now, I want to return to my studies so that I can finally work in my chosen profession. and I’m not sure what tech stack I actually need to know to build a project of my own. Also, how can I recover the knowledge I gained during my studies? This uncertainty makes me procrastinate whenever I set out to learn something new, or I end up not dedicating enough time to actually master anything.

A crisis of ideas. Even back in university, I struggled to come up with projects to build. I have a persistent feeling that everything has already been created by more skilled programmers. Is it even worth working on a project if a more successful version already exists? How does one go about choosing a suitable project topic?

AI. The rise of AI happened around my third year of university, and we even started experimenting with it a little bit back then. It’s one thing to enter a prompt to get some guidance for a specific task, but it’s quite another to actually learn something and build a project of your own. How should one interact with AI models when learning? Should you even use them at all? I recall plenty of times spent endlessly tweaking prompts, trying to get a decent result—when, in reality, it would have been faster to just write the code from scratch myself. What is the right way to learn programming today using AI (given that AI is clearly here to stay)?

Right now, I’m trying to learn ASP.NET through a course by Teddy Smith on YouTube, but I’m struggling to grasp a lot of it. Plus, I’m essentially just following along and mimicking what he does—which isn’t really the kind of learning process I’m used to.


r/AskProgramming • • 3d ago

Windows Defender / Smart App Control blocking local Python executable in VS Code.

3 Upvotes

Running uv run main.py in my VS Code terminal fails to execute.

Some features of python may not work because we can't confirm who published python.exe that the app tried to load.

Added the developer folder (D:\play-store-review-scrapper) to the Windows Security Folder Exclusions list.

Cannot whitelist the app in "Reputation-based protection" because the options are greyed out with the message:

This setting is managed by Smart App Control

How do I allow my .venv Python executable to run when Smart App Control completely locks the reputation-based settings?


r/AskProgramming • • 3d ago

Other What are some examples of networking code?

3 Upvotes

I'm learning Networking and I'm noticing that most resources do not have a programming component

I'm curious about the programming side of things. I'd like some examples of "networking code", ranging from simple to complex

For example:

- What's the code for a switch to redirect packets?

- What's the code for the 3-way handshake?

- What's the code for servers to record IP addresses that interacted with it?

- What's the code for a firewall?

Stuff like that. Whatever you want to share, you can. Even if it's like 2 lines

I'm curious about how the code looks for networking stuff


r/AskProgramming • • 4d ago

Javascript How can I use text codes in RPG Maker to call a function in a Visual Novel Plugin?

3 Upvotes

Firstly, I apologize if I am not explaining things well and if this entire post is long. I am new to learning JavaScript, and I have been using RPG Maker MV as my game engine. I will do my best to explain what issues I have run into, what kind of solutions I have tried, and what I am stuck on. I want to learn and understand what I am working with because too many people tell me to just use Gen AI for my code, when that is the last thing I want.

For my game, I am using a visual novel plugin made by Lulu's Church called Standing Pictures, where you can assign IDs to busts/sprites and use them in a text code with coordinates assigned to each one within the message window of RPG Maker MV, ex. \F[Antonio] (Displays the assigned bust image to the right) \FF[Susana] (Displays assigned image to the left)

You can also assign two blink images to a parent sprite, overlaying them on top of the sprite at random intervals to give the illusion that the character is blinking. You can assign a cut-up version of the face to the blink image ID to do so, and I thought it would be a good idea to do something similar, but without the random intervals and instead use text codes to call an expression onto a parent sprite.

I cracked open Visual Studio Code and got to work editing the plugin file as per the licensing of the plugin. I made my own variables(?) called spriteExpression and spriteExpression2, and allowed them to be affected by filters and color changes. I made my own tester function that only draws on the first variable to show up using a simple boolean, as with the blink images. It works when using a test expression on one of my character sprites, as it overlays onto the sprite and sticks onto it when animations and colors are being changed; however, I quickly ran into an issue.
   

    //Neon Addition
    Sprite_LL_SPicture.prototype.updateExpression = function() {
        this._spriteExpression.visible = true;
        
    };

How the heck do I connect this to a text/escape code in RPG Maker?

I tried to follow what the plugin does already by making this huge code block as with the other text codes, but I am not sure how to make this call my function to turn on the expression.

            // Neon Addition
            // Retrieve Expression for Specified Character
            var sPictureExpression = null;
            if (index === 0) processEscapeNumber = text.match(/\\E\[(\w+)\]/) || text.match(/\\E1\[(\w+)\]/);
            if (index === 1) processEscapeNumber = text.match(/\\EE\[(\w+)\]/) || text.match(/\\E2\[(\w+)\]/);
            if (index === 2) processEscapeNumber = text.match(/\\EEE\[(\w+)\]/) || text.match(/\\E3\[(\w+)\]/);
            if (index === 3) processEscapeNumber = text.match(/\\EEEE\[(\w+)\]/) || text.match(/\\E4\[(\w+)\]/);
            if (index === 4) processEscapeNumber = text.match(/\\E5\[(\w+)\]/);
            if (index === 5) processEscapeNumber = text.match(/\\E6\[(\w+)\]/);
            if (index === 6) processEscapeNumber = text.match(/\\E7\[(\w+)\]/);
            if (index === 7) processEscapeNumber = text.match(/\\E8\[(\w+)\]/);
            if (processEscapeNumber && processEscapeNumber[1]) {
                sPictureExpression = processEscapeNumber[1];
            }
            //

Once again, I am super sorry that I may or may not sound like I am making sense. I am still learning and trying to figure out what to do, and any help would be appreciated.

I have linked the original plugin by Lulu's Church so people can take a look at the source code just in case.

Lulu Church's Standing Pictures Plugin


r/AskProgramming • • 4d ago

Career/Edu How do you keep up-to-date with libraries, tools, techniques, etc.?

2 Upvotes

Sometimes my colleagues talk about a new library or tool they think we should start using or at least start paying attention to. I browse tech subreddits and naturally do hear people talking about things that are new to me, but I'd like to be more proactive or at least more effective about it.

Do you have news feeds that you trust, or blogs from people who keep their ear to the ground and report all the interesting new stuff?


r/AskProgramming • • 3d ago

Python Which Idea is the best?

0 Upvotes

Hello,
I'm a 10th-grade student here in Morocco. There is a Python competition built around it.
The project should be related to problem-solving. It must solve a problem in modern life or something we encounter. I can't find any great ideas. I'm the only one who can code Python in the entire school, so for me to create a great project. It would be difficult. I will do anything for it to work out. I'm here to ask if you have any useful ideas.
I would like to hear about some of your ideas, hopefully!
Take care.


r/AskProgramming • • 3d ago

Career/Edu How do you improve in programming when AI is carrying all the workflow?

1 Upvotes

My company forced me to become Full-stack developer (before I was fluttter dev). I vibe code most of the features. In mobile part at least i can quick review stuff and find some issues. But I am not really experienced in to really check Web / Backend code.

I feel like my programming skills have stagnated. I don't feel like learning a thing for the past months.

I also have to maintain + implement many projects, so much so I have to work off clock. My boss says I should speed up, says how my colleague is conducting AI a lot more efficiently. But I really don't want to give in full vibe coding, I would really rather just switch career.

What do you do to keep yourself "in shape"? Today's job market required Juniors to result like Seniors, how do people become one?


r/AskProgramming • • 4d ago

Java Im a begginer looking for a project.

2 Upvotes

I've recently started my software development oficial studies, and I've got the basics down so far (variables, classes, conditionals, arrays, etc.).

Now I'm looking for a project to help me learn some practical skills and, hopefully, start building up my GitHub profile XD.

Do you guys have any project recommendations?

Edit: I’m currently studying a Higher Vocational Training in Multiplatform Application Development
In Spain this is the step before College and after a middle vocational training (2 years, just after obligatory studies). I started programming this year on my studies two months ago, but i had contact with python for like one year before this.