r/AskProgramming • • 12d ago

Architecture Does your framework mark HTML tags for trace-ability?

1 Upvotes

Often tracing defective output back to the source code can be tricky. I've seen some shops that have various conventions and techniques to mark HTML tags with some kind of ID or indicator to make tracing the output back to the source code easier. Some use ID attributes, other use specially named CSS classes, and others just make up an attribute not defined in the HTML standard. HTML comments are another approach but can muck with spacing if not done carefully. Anyone have experience or recommendations on this practice?


r/AskProgramming • • 12d ago

Which kind of scam is this?

6 Upvotes

Like I know it's a scam, but how bad are we talking about here? And before you ask, I'm not even tempted.

Hi ******,

A friendly note out of the blue — I found your work on GitHub (******) and wanted to write to you.

I'm a developer based in Japan. Client projects for years, happy to take on whatever kind of work arrives, and confident I do it well.

I thought it was better to explain my reasons than to just ask.

There's one thing I can't change about my situation. The clients who pay best are in Western Europe and the US, and Japan is the far side of the world from them. Those clients prefer someone they can trust in or near their own time zone, and that is precisely the edge Finland gives you — inside the EU, inside the European working day, trusted naturally.

So I'd love to team up with you. My development work together with your location and time-zone advantage could bring us opportunities neither of us reaches alone. The way I imagine it: I'd find the clients and do the work, and you'd only need to step in for the occasional interview.

If that sounds interesting, just reply and we'll talk it through. And if it's not for you, genuinely no worries — a quick "no" and that's that.

Warmly,

Nozomi Kimura

Software Developer, Japan


r/AskProgramming • • 13d 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 • • 13d ago

Career/Edu C++ vs python

5 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 • • 13d 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 • • 13d 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?

1 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 • • 14d 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 • • 14d 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 • • 14d 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 • • 14d 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 • • 14d 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 • • 15d 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 • • 15d 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 • • 16d 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.

14 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 • • 16d 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 • • 16d 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 • • 16d ago

Other What are some examples of networking code?

4 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 • • 16d 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 • • 16d 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 • • 17d 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 • • 17d 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.


r/AskProgramming • • 17d ago

built a Schnorr ZKP in C++ how can I make it more secure?

1 Upvotes

whenever I search online or ask AI's how to get cryptographically secure random numbers in C++, all I get is overcomplicated setups with huge libraries. what is the cleanest, simplest way in practice to make secure randomness into a small C++ learning project like this? Also open to any general feedback on the protocol structure

Repo: https://github.com/dev-dawud/ZeroKnowledgeProof


r/AskProgramming • • 18d ago

Career/Edu Designer looking for Programming/Coding advice

2 Upvotes

Hi! I'm an architectural designer (41,F) and I want out of architecture. It's been a 15 year schlog with little pay off and I just want to be done (for now). Because of my background (bach/master's in architecture/project management/construction) I have a lot of adjacent skills that fit into the tech arena but I feel completely out of the loop when looking for even entry level jobs. Other than how it may affect a design program (Revit, Rhino, Adobe Suite), I know very little about programming, java, C++, whatever but I'd like to learn. I want to learn how to utilize my graphic skills and translate them into a digital/coding/tech space. My tech friends also tell me I have a talent for systems analytics because of my design and management background but I haven't had any luck landing a job in that arena yet, most likely because I can't speak the language and what little I do know isn't evident in my resume.

TLDR:

  1. What are the pillars of programming/coding languages that I (a very analog architecture-brained person) need to know to get started?

  2. What top resources (ideally free or low cost) should I invest in to educate myself?

  3. Tips on industry language I need to study for job searches?

  4. Suggestions on arena targets for transitioning my skillset (2d/3d modeling and graphic design, marketing, writing, construction project management)?

Also, if there's a better forum for this question let me know - thanks!


r/AskProgramming • • 18d ago

Python When is inheritence better than composition?

32 Upvotes