r/AskProgramming • • Apr 14 '26

Where to start for supporting native GUI development?

4 Upvotes

Not exactly sure how to phrase it but you know os native gui apps like emacs (gui version), Blender, or Eve Online’s client interface? In order for me to start Blender and for it to open a window on my macOS machine and be the performant interface that it is, the devs would have to have used a C library which implements some bindings from apis that macos provides, right?

If I‘m using a programming language where such a library doesn’t exist and I were inclined to develop one from scratch, where would I start? Are there any well known implementation guides for this? Can you point me to a decent example of codebase of this in a high level lang (js/node/typescript, python, lisp, etc) that I could peruse for ideas? thanks!!


r/AskProgramming • • Apr 14 '26

Other what programming books should my school library get?

4 Upvotes

i talked with my schools librarian today, and she told me she wants to expand the amount of programming related books in the library. right now there is like one, and that one is about g-code for cnc's. she asked me if i could recommend some books, but i am still very new to programming so i dont know alot of books. that is why i am here. if you had the time to, please recommend programming books in the comments. there isnt really any specific programming language we are seeking after. we just want recommendations to expand the library.
after a while, i will compose the recommendations into a list and send it to her. and one thing i forgot to mention earlier, both english and swedish books are allowed. the school and thus the library is in sweden so we have a mix of both languages.


r/AskProgramming • • Apr 14 '26

Python What should I learn first for business analytics? R or Python?

6 Upvotes

r/AskProgramming • • Apr 15 '26

Other How to show beginners that a URL is equivalent to an IP address?

0 Upvotes

When I hosted my own website on a server at a static IP address, I was able to type in the static IPv4 address and port number in the web browser URL address bar and get to the website. Tomorrow (April 15 2026) I will be teaching a 55+ senior citizens class where I'd like to demonstrate that a URL is equivalent to an IP address and that an IP address can be typed in place of a URL, but when I Google "Domain name to IP address converter" and then try the IP addresses of common websites (Wikipedia, Heroku, etc) I get errors in the web browser like "400 Bad Request" and "404 Not Found".

Can someone help me out? Maybe show me how to find the IP addresses of some common websites and how to properly put them into the web browser URL bar so that the websites appear with no errors popping up?

Edit 1: I meant "domain name" not URL.

Edit 2: Okay everyone, I think I get it now, thank you. The existing answers are sufficient.


r/AskProgramming • • Apr 14 '26

Architecture When abstraction is overenginnering?

0 Upvotes

Hi. Im working on some codebase refactor and have architectural dilemma.

Consider the following scenario: we have three different applications that implement roughly similar functionality, though they differ in certain details. In all of these applications, we have the same class—let’s call it Class A. This class shares identical methods across the apps, while some other methods differ only by a parameter in their signature or in their internal logic.

The question is: when is it worth extracting an abstraction in such cases, and when is it not?


r/AskProgramming • • Apr 13 '26

C/C++ Tips for remembering functions, include etc

3 Upvotes

So im 2.5 months into my intro into c++ class and im not able to remember anything. Ive been having ai help me but not 100% doing the code. Even with that. Im losing hope. I should also mention im under immense stress. Been dealing with divorce and custody for over a year, falling behind on my bills, this blows. Im able to complete the bookwork but even that information is gone quick. So any advice or am i over my head and just not meant for programming?


r/AskProgramming • • Apr 13 '26

Should I learn Java before learning C#?

1 Upvotes

So I'm an indie developer. I have next to none programming experience and I want to start coding in Unity. I learned the basics of python and the basics of Lua so i wouldn't say complete beginner. Anyways, I'm not sure if Java is worth learning because I haven't learned anything in C# except printing and creating variables and I know that if i learn C# first, I wont bother learning Java next. Since i know that Java and C# are basically the same, I'm wondering if Java is worth learning if i already know I which I want to learn. Honestly I have much free time I can learn both so that's why I am asking you. Since they are almost identical how hard can it be to switch?


r/AskProgramming • • Apr 13 '26

Easiest way to create a text template generator?

1 Upvotes

I think I'm wording this wrong and that's why I couldn't find anything while googling, but I'm trying to create something that would have a base text template with areas to fill out, and once all sections are filled out (or you press done), it generates a copy/paste version of everything you just filled out. Is this possible?

Edit: Would need it to not be web-based as I'm working with sensitive info.


r/AskProgramming • • Apr 13 '26

What skill to go for in 2026

0 Upvotes

Hey, I am a first year Computer Science student. I know the fundamentals in java and python till now. Was thinking to learn python properly and do automation to earn some bucks. Is it a good idea or should I go for something else?


r/AskProgramming • • Apr 13 '26

What are they doing with url tracing?

1 Upvotes

Whenever I copy a url in Reddit, Insta, Youtube, Maps etc, the url either contains a tracing id or the url is being traced in the backend, I can understand from a few clues as a developer. What are they doing with this data? Trying to follow every network, every relationship, every friendship anything. This is getting frustrating. I already stopped using Insta because of it.


r/AskProgramming • • Apr 12 '26

Other Accident joined a vibe coding fellowship and I hate it.

48 Upvotes

(Accidentally* apologies for the typo)

I'm a classroom teacher and I joined a fellowship based on what I thought would be ethical and responsible usage of AI in education. It turned out to be a vibe coding boot camp premised on a belief that vibe coding is revolutionizing the software dev process by allowing non tech folks to build custom in-house apps.

Am I being unnecessarily pessimistic, or maybe there's some good to be found here? There are so many pain points in the software dev process, and I'm not sure a team of vibe coders is remotely prepared to deal with them.

Edit: I'm only staying at this point because they're going to cut me a decent stipend in a few weeks.


r/AskProgramming • • Apr 13 '26

Is this project idea realistic? Need advice

1 Upvotes

Hi, I’m currently a 3rd year BSIT college student from the Philippines and I’m working on a capstone project focused on mangrove restoration monitoring.

The system will use drone-captured orthomosaic images and soil data (moisture, salinity, pH) to assess mangrove site conditions and support rehabilitation decisions. The goal is to automatically identify canopy coverage, gaps, and degraded areas from images, then combine this with soil suitability data to help determine which areas need planting or intervention.

The output would be a simple decision-support dashboard showing analyzed zones and site conditions.

However, I have some limitations:

  • Limited dataset for training AI models
  • Likely only RGB drone images (no multispectral or LiDAR)
  • Limited computing resources for deep learning

Is this scope realistic for a student capstone, and what would be the most practical approach for the image analysis part (segmentation, classification, or simpler methods)? I’d also appreciate advice on how to keep it functional without overengineering it.

Any help will do. Thanks!


r/AskProgramming • • Apr 13 '26

Our professor allowed us to use AI in a graded development project – Now I’m feeling overwhelmed.

0 Upvotes

I am currently at the beginning of my second semester studying computer science in Germany. Today, our professor in object-oriented application development told us the following:

He talked to a high-level employee at Amazon who works in software development. They talked about many topics, including AI (I will mostly keep calling it AI in this post, although I actually mean LLMs). They discussed how powerful AI already is in software development and its future in this field. The employee from Amazon stated that they are currently working on projects to have the task of coding applications replaced by AI in about 3 years. After that, AI is going to do the coding, while the human task is to review what the AI did and check if all requirements are met.

According to our professor, this will lead to a hard time finding a job in development in about 3 years (when my class graduates with their bachelor’s degree). Of course, that’s something I’ve also been thinking about for a few months.

Following the assumption our professor has—that our task in our future jobs probably won’t only be coding, but also working with AI—he decided to allow us to use AI in this semester’s graded development project. He wants us to learn how to work with AI to be prepared for future jobs.
Until now, the use of AI wasn’t allowed in this project.

The exact task for the graded development project isn’t currently known, but it will be a coding project that we will be working on at home for a few weeks. It is split into multiple subtasks, and we will be required to present our results for these subtasks weekly. At the end, we need to submit our completed project together with documentation.

That’s the current situation so far. Now onto my problem:

I sent my first ChatGPT message on 14.10.2022. At that time, I was 15 years old. A friend of mine told me about this smart chatbot he had heard of. At first, I was skeptical. My first message was just a simple “Hello.” I can’t remember the exact answer, but it was a generic response any chatbot could have given at that time. Next, I asked about a relatively small German music band. I was surprised when I realized it knew them. That was the point where I realized this “chatbot” could be something big.

Next up: my chemistry homework. I gave it my task and got an answer that satisfied me. That was the moment I knew: “Okay, this really is something big!”

Since then, AI (mostly ChatGPT) have become a really helpful tool in my life. I’ve learned their capabilities, their limits, and how they can help me by taking work off my shoulders.

I currently use AI in everyday tasks. For example, doing (even light) research that would normally require me to open Google, search for my topic, open a few websites, and read multiple articles filled with unnecessary chatter and ads. Instead, that task is done by ChatGPT, and I get to read a compressed version of the important information afterward.

I also use it for computer science projects (for example, my new voice assistant in Home Assistant)—planning the project, researching what parts I need, figuring out why my uploaded ESPHome YAML config I found online isn’t working and fixing it, expanding that config for my needs to implement more features, and so on.

In terms of “real” coding, I mainly use it to generate complete scripts or small applications.

I use ChatGPT not because I wouldn’t be able to do it on my own, but because I know it would take me several times longer to get the same result. And because I expect the outcome from ChatGPT to be correct in the end.

The problem:

I am learning way less when using ChatGPT for coding projects. In my own projects, I can tolerate that, as it allows me to have more time for other tasks and move on to the next project faster. Although it’s a bit of a shame, because I know I would learn much more about the topics along the way if I did everything myself.

But for my computer science studies, I can’t tolerate this. I am studying to learn the topics I’m being taught, not just to learn how to use AI (although learning to use AI is equally important in my opinion).

We had a very similar project last semester, which I completed (mainly) without using AI. I only used it for one subtask when I was stuck and had no idea how to approach it at first.

The goal for this semester’s project is clear:
Completing the project with a good grade.

But should I use AI for that?
And to what extent?

If I decide to use AI, my intuitive approach would be to have it generate my project subtask by subtask. That’s how I would probably do it in my own projects. But that doesn’t seem appropriate here, as I also want to learn coding and practice my skills.

But will I need these skills in my future job? Whether or not, I think: better to have them than to need them later. I would like to focus on actually having these skills and being able to use them without AI if necessary.

And that’s my question:
How should I use an LLM to work on my project while developing my skills (and which skills do you think will even be needed in the future) and learning how to properly work with LLMs for coding?

I would say I can already use AI quite well. But everything I know about using it, I taught myself over the past few years. That has led to a usage style I can work with, but maybe it’s not ideal, and I’m not learning as much as I could for my future. No one has ever corrected my self-developed usage or properly taught me how to use it.

I would appreciate any point of view you folks have on this topic, as well as any resources that could help me find a good, future-proof way of using AI in coding tasks.

Thanks in advance!


r/AskProgramming • • Apr 13 '26

Career/Edu Need sense of direction

5 Upvotes

Currently, I'm 19 years old and about to start university in Canada. I did an internship last year, I was in charge of doing their QA automated tests for their webapp using selenium in a dotnet environnement which was pretty fun. This year I'm completing my second internship at a fortune 500 company where they surprisingly put me in charge of building their automated test suite from the ground up to test 5 microservices in a dotnet environnement. I'm getting used to csharp being my main language, I wouldn't say I know it super well in specifics (e.g: anything about how gargabe collection works or async await and I can't answer you). Anyways it's pretty cool but definitely not hard enough for me to expect a challenge every week. I was thinking to pivot next year in university for a different kind of internship. I'm not sure where to go, I have skimmed through chapters of a book teaching you about system architecture and C to maybe spark an interested in firmware or systems engineer and it is relatively harder then what I expected. One thing I have been interested in is configuration, optimizing my neovim config or my linux/macos setup for dev) but systems engineer looks cool and all but I don't think I can maximize my compensation if I go into that field as easily as I could in other (correct me if I'm wrong). Anyways, based on my background where could I fit in/pivot in easily next year if I pick up the grind for it?

Thanks!


r/AskProgramming • • Apr 13 '26

Which vpn architecture actually prevents logging?

1 Upvotes

if a vpn processes traffic, it has access to that traffic. if it has access, it can log it. if it can log it, then privacy depends on policy.

so the next step would be systems where processing does not imply access, which would require some form of isolation at the execution level, which then raises the question of whether such designs are practical and implemented anywhere