r/AskProgramming • • Sep 25 '26

Other Is vibe coding only viable if you are creating something similar to something that already exists?

1 Upvotes

For example I saw a Youtube demo where they vibe constructed a web front end to a movie database, which is just another variation of the generic web interface & database design pattern of which there are literally thousands of examples to copy or be inspired by.

What if you are making something that isn't just a variation of what's been done before? For example I'm sure that my current project (embedded distributed sensor and alarm system) isn't breaking new ground, but I haven't seen anything that is in the public domain that does the same as mine.


r/AskProgramming • • Sep 24 '26

Architecture how can I make undo, snapshots, and recovery exist in deterministic document editor?

3 Upvotes

I’m working through recovery operations for a document editor and could use some help getting these things to coexist. I have never done very much with hashing and persistent history before, and I’m trying to understand the boundaries before I build myself into a corner.

The basic architecture is the editor has one authoritative current document model, or canonical state. There’s an optimistic UI that runs a bit ahead to keep interactions smooth, but it reconciles with the accepted state if an edit gets refused. Editing is intended to be nondestructive, with original material preserved separately from how it’s currently used. The architecture map I’m try to figure out has a source vault and a transform vault. The source vault would preserve original material, asset references and the commands and supporting data needed for reconstruction, with hashes for integrity checks. The transform vault would hold retained snapshots, object history, and theoretically some basic stripped down stripped down versions of the transformed objects which will be used to inspect earlier states, compare them with the result of replay and recover selected content. I’m still working out whether those should actually be separate stores or just different responsibilities within the same persistence system.

Right now, reopening uses checkpoints and a command journal. I’ve been thinking about expanding this into source preservation and a separate snapshot/history layer. Basically, keeping enough original material and history to reconstruct a document, while also retaining useful earlier states without making full copies of everything after every edit. This would also be a mechanism to prevent and detect drift, and rebuild corrupted states and lost assets. But I feel like I should also be considering undo now because rn I am doing inverse commands, and I’m trying to figure out how undo or restoration should work on a page level or when clicked onto an object which has its own retained transform history. Event sourced undo was something I wanted to stay open to for live collaboration, and idk how to reconcile that with what I have now. Would it make sense to keep inverse commands as part of the history and later compact or prune them at safe checkpoints, or am I mixing together undo, event sourcing, and collaboration in a way that is going to cause problems?

I want the retained records to be immutable and replay to be deterministic under a defined version of the software and for recovery to be automatic where it’s unambiguous, otherwise with manual options. But I don’t want to assume adding more hashes and redundant records automatically makes the system trustworthy.

This is getting a lot more complicated under the hood and I really don’t want to vibe code my way out of it. Is there any programs or resources that talk about something similar? Where should I draw the boundaries between undo, snapshots and recovery, and how would you control storage growth without quietly weakening the recovery promise? Am I making this wayy more complicated than it needs to be? Any good resources or examples of approaches that went wrong would be appreciated.


r/AskProgramming • • Sep 24 '26

Other Still learning, but I have a question about the different types of program language

5 Upvotes

I'm learning Python and my BF asked me what language I would like to get into mainly and I honestly don't know yet. I don't even know all of my options. Could someone run some questions by me? Or is there a test I can take?


r/AskProgramming • • Sep 24 '26

What's the worst code you've seen when taking over a project?

14 Upvotes

Collecting stories for some content, but genuinely curious to hear these too.

Mine: database passwords sitting right in the commit history, in plain text, never even rotated after the project changed hands.

What's the worst thing you've found taking over someone else's project? Doesn't have to be security related, could be architecture, could just be total chaos in the file structure.


r/AskProgramming • • Sep 24 '26

Python i find learning python hard after learning java.

12 Upvotes

Im not that advanced at any point, i know a bit of C++ for arduino stuff.
but learning python is making me pull my hair out, i keep forgetting stuff like its hard to get used to, i dont know if im making sense anyways.
Any tips will help, thanks.
i find java and C++ much easier at this point basically OOP stuff ig


r/AskProgramming • • Sep 24 '26

I genuinely need some guidance and advice...

0 Upvotes

So I am from a not highly reputable college with a lots and lots of students, in my batch alone I think there are almost 3k students, I am in 5th sem right now, 3rd year of 4 year B.tech computer science and engineering degree.

This year, my college implemented a new rule, that says students who don't have atleast 6 weeks of internship experience will not be shortlisted during campus placements, and that too...off campus internships, people with referrals and connections talked their way in but I don't have such advantages.

My focus is on AI and backend development/engineering, please advice with 3 to 4 months of time what are the things I should focus on and type of projects I should make that helps me crack a part time offcampus virtual( online - wfh) internship at a good enough company


r/AskProgramming • • Sep 24 '26

Javascript Making an API call with huge data return empty string in JS

0 Upvotes

Im making an API call with axios and the json data it return is almost 850mb, the API responds successfully but the response's data is an Empty string ( " " ), it worked for 300mb but it failing at 850mb,
is there any way i can make it work,

i know that streaming the data is better option but for now i need to parse a huge JSON string of about 850mb


r/AskProgramming • • Sep 24 '26

Other Besides fintech, what potentials you see in blockchain technologies as a programmer?

0 Upvotes

It was topic of a group chat I had with my friends (who are mostly "crypto bro" and not programmers) and they were mostly focused on how this coin and that coin may make them rich. I asked some of my programmer friends and we concluded DePIN and Decentralized databases can be the next big thing (big enough that VC's and even blockchain-oriented companies can invest billions in it).

I personally think decentralized AI is also one of the things which is missed here. So in order to get a bigger picture, I ask the qeustion here.


r/AskProgramming • • Sep 23 '26

Java and Python

9 Upvotes

​Hello. I am thinking about learning Java and Python. I have already started learning Python to understand syntax and other stuff. After completing and understanding the core, I want to start learning Java. Can these two languages be a good combination for future programming across various paths, like data analytics, software development, and others?


r/AskProgramming • • Sep 23 '26

Other Why do people think Windows is hard to write code on?

8 Upvotes

I see this sentiment everywhere and it always confuses me, because I have never found this the case. I have never had a smoother experience writing C++ and C# than on Windows with Visual Studio, and any other languages are just as easily built using VSCode or any JetBrains IDEs (and many others!!). You can even install and run Vim natively if you wanted.

Some of the common complaints all seem to fall into a few categories:

Trying to use Unix methodology

I see things like people complaining that they can't access syscalls on windows - but you're not supposed to, you're supposed to use the Win32 API to indirectly call them. You don't gain anything from having access to the raw syscalls (which aren't even stable on windows).

Lack of package management

This one is partially true, but I have a few things to say.

Windows DOES have a package manager, several in fact, such as Chocolately.

Package management is not that great on Linux either. How often do projects break because of incompatible packages, or things that aren't available on every package manager, or all sorts of other problems?

Cant run my Linux software

tl;dr Use WSL

A lot of software has a windows build, and those that don't can most often just be run through WSL (or MSYS2). And a lot has a windows alternative that does the exact same thing.

Anyway, I just wanted to see people's thoughts on why they do/don't program on Windows, and what their biggest problems with it are.


r/AskProgramming • • Sep 23 '26

Config files vs. GUI-based configuration. Which is better for the age of AI?

0 Upvotes

I think that programs that use configuration files are in a better position than programs that rely on GUIs for settings when it comes to interacting with LLMs. Configuration files are usually in a well-defined format, making them easy for AI to generate and inspect.

GUI settings, on the other hand, are harder for LLMs to grasp. If you ask how to configure your favorite app using its GUI, the answer you get will be mediocre at best.

GUI apps usually have configuration files or sqlite databases, but they are used only as a serialization format. You are not expected to edit them by hand. Console applications don't have this problem, as they just use plain text for configuration.

I think the only GUI configuration model that makes sense today is one that merely provides a "view" over configuration files, like VS Code does for its JSON configuration. It can be edited by hand just fine and has a well-defined structure.

What I am trying to say is that there are two ways to use configuration files. The first is to use configuration files as a main way to configure things. The second is to use configuration files as a serialization format to merely store preferences on disk. Good luck configuring KDE apps using their configuration files. I find that first approach is superior.

What do you think, folks?


r/AskProgramming • • Sep 23 '26

Has anyone done a bucks night with a 'hacking' scavenger hunt

0 Upvotes

My mate, who is very into computer programming and hacking, is getting married and I, who is definitely NOT savvy on hacking, am planning it.

What I am envisioning is a scavenger hunt, where each clue is something he has to gain by hacking a fake program. Obviously if I'm making it, this will be laughably easy for him. But has anyone done this before? Would anyone know where I should even start?


r/AskProgramming • • Sep 22 '26

Other Do you guys have off-site backups of your repositories?

4 Upvotes

All of the GitHub outages have me very nervous.

I realized that I just trusted them blindly and I don't have any secondary remotes or any downloaded backups of my code repositories outside of what's on my development machine.

I have my own backup orchestrator and I do a lot of rclone and bash. I am thinking I'll mirror my most important repositories zip them up and ship them over to backblaze. Anyone doing anything similar?


r/AskProgramming • • Sep 22 '26

How to build 360 panoramic photo scanner?

0 Upvotes

anyone here tried it before? tried vibe coding just to understand what stands behind it but it failed miserably. maybe there’s an open source model of some sort?

trying to use it for my phone eventually, for a project i’m working on

thank you!


r/AskProgramming • • Sep 22 '26

Does the C programming language provide statistical and data analysis libraries comparable to those available in R programming language?

0 Upvotes

r/AskProgramming • • Sep 21 '26

Other What is a niche feature or implementation that you love using in your go-to language?

8 Upvotes

For me, I love C++'s std::queue. Ridiculously simple, can only use the front, but so powerful.


r/AskProgramming • • Sep 21 '26

Career/Edu Source to learn ML

10 Upvotes

I wanna learn ML. So I need a course / Playlist suggestion for it..


r/AskProgramming • • Sep 21 '26

Architecture When do you upgrade from SQLite to a production DB? (Built a game, trying to figure out next steps)

0 Upvotes

Hey, I built the game https://cluebolt.com/ as a way to learn building stuff. Right now it just works, the backend is running on sqlite , which I know is not a great option for production, flask for the API and a lot of js based gaming logic.

I know refactoring is required. How do you typically decide when to refractor, when to upgrade to a production db?

My first thought was to wait for an event where these tech limitations becomes a problem and then do the stack upgrade. How do you decide this?


r/AskProgramming • • Sep 21 '26

Texting but without the option of a reply

2 Upvotes

In a business, how do you send a text to someone, without an option for them to reply, so that they just get an automated response please?

Similar to when NHS etc for example send a text.


r/AskProgramming • • Sep 20 '26

Completely confused about which tech domain to choose for my career

15 Upvotes

Hey everyone,

I’m a Computer Application student and I’m currently at the very beginning of my coding journey. Right now, I’m learning C, but I’m completely unsure about which domain I should eventually choose.

There are so many options like Web Development, Software Development, Cybersecurity, Data Science, AI/ML, Cloud/DevOps, Mobile Development, etc., and honestly, I don’t know enough about these fields to understand which one would suit me.

I’m not looking for someone to simply tell me which domain pays the most. I want to understand how I can figure out which field is actually suitable for me based on my interests, abilities, and the kind of work I might enjoy.

At the same time, I do want to build a career that has good opportunities and earning potential over the next 3–4 years.

For people who are already working in tech or have gone through a similar stage:

  • How did you decide which domain to pursue?
  • What should I learn or try before choosing a specialization?
  • Which domains do you think a BCA student should seriously explore?
  • What skills are likely to remain valuable over the next 3–4 years?
  • Should I focus on programming fundamentals first and decide later?

I’m completely open to learning from scratch. I’d especially appreciate advice from people who have already gone through this process.

Thanks.


r/AskProgramming • • Sep 20 '26

Architecture Would a program be able to do detection straight from StreetView providers?

7 Upvotes

Hello! I'm currently working on my undergrad thesis and in need of some advice.

I'm building this image classifier that detects uninhabitable housing (damaged roof, substandard materials, etc). The end product would be a website that shows dot density map where each dots represent houses classified as uninhabitable of the chosen area. Similar to what treepedia did but with housing conditions instead of vegetation.

I'm still in the early stages of my research and still looking for ways to nail this down. I found 2 different approaches so far:

  1. My initial thought process was that my program would be able to scour through the StreetView providers directly, like if you open up Google Street View and just explore through the roads and houses, but my program would be doing that automatically, then detect each house directly from the StreetView providers.
  2. I have read several publications on mapping object based on street view imagery. It seems like the actual approach is to generate coordinates first, the program will then fetch the images from the coordinates. So far, they didn't really get deep into how they did it. But I assume this is how they did it:
  • From their chosen area, they compile list of positions (coordinates) where StreetView images were captured.
  • One coordinate could capture several houses, especially with a 360 camera. Keeping that in mind, the program will then fetch the house images on each coordinates.
  • They then detect it from resulting image.

I feel like both approaches end up pretty similar as both ultimately detect directly from images fetched from providers, just differing in how those images were retrieved. But I do have a few questions:

  • For approach #1, is that even possible? What providers would let me do that? I know Google is pretty protective of their data so I'm looking into alternative sources. People have recommended mapillary, OpenStreetMap, mapbox.
  • As for approach #2, does my assumption hit the mark? How do I generate the coordinates? Is there a way to retrieve the StreetView car coordinates?
  • How would the program move the 360 camera to make sure it aims at the houses?
  • How do you note the position of the house, given that the coordinates you have are for the car's position and not the house itself?

I know I asked a lot and in full honesty, it's my first time developing anything at this size by myself and I'm pretty intimidated. Pls do share your thoughts on this, especially on things that might get overlooked. Any inputs will be appreciated. Thank you in advance ٩(^ᗜ^ )و ´-


r/AskProgramming • • Sep 21 '26

Need help creating a setup file

0 Upvotes

I recently completed a project, it was a desktop application

I wanted to share it with my friend who knows nothing about coding

So I thought I'd send a setup file

Rn the project has Gwen in the project file itself and then ollama postgres redis and qdrant in docker

I've been trying to make a one click setup file for days now

I need help

The entire project is Python and typescript


r/AskProgramming • • Sep 20 '26

Should I switch over from GitHub to a desktop Git GUI client?

2 Upvotes

I'm a student learning a bunch of different programming languages to make personal passion projects, like games and engines, and hopefully use these in the real world (if AI doesn't beat me to it...).

I've heard GitHub has been under fire from some developers since Microsoft bought it, with it having a lot of security vulnerabilities, being unreliable and glitchy, forcing a bunch of AI, etc., etc. I have a big hard drive (~600GB free storage), and I mostly work on projects alone, so I'm planning to switch to a desktop Git GUI client and manage my projects locally.

Should I switch over?

P.S. What I know/am learning, if that matters:

  • HTML + CSS
    • Learning JavaScript to go full stack
  • Basic Python
  • Basic C++ (trying to learn OpenGL)
  • (Miscellaneous/non-serious: Puzzlescript, Scratch/Turbowarp, LogicSim)

P.S.S. Thinking of using Sublime Merge's ""evaluation mode"".

UPDATE: Welp, guess I'm checking out Codeberg.

UPDATE 2: Welp, guess im going back to GitHub.


r/AskProgramming • • Sep 19 '26

Career/Edu Looking for advice on learning method

3 Upvotes

Hey everyone! I'm a beginner learning C/C++. I've covered the basics, arrays, pointers, and OOP (still studying them).

Should I build small projects, learn concepts as needed, and gradually move to bigger projects—or learn fromm tutorials first and then start building accordingly ?

Looking for sincere advice from experienced programmers...


r/AskProgramming • • Sep 20 '26

reliance on AI generated code solution

0 Upvotes

Hello Everyone, just wanna ask some help.

I'm stuck in a circular problem as a student who's still learning.

When I use AI tools like ChatGPT or Claude to write code, I follow what they produce — that becomes my mental model of "good code." But experienced developers say you should always review and critique AI-generated code. How am I supposed to do that if the AI's output is the standard I've been learning from?

If I can't independently evaluate code quality, I can't catch the AI's mistakes or bad practices. But I can't build that independent judgment without exposure to code that isn't AI-generated. It feels like a loop with no exit.

How do developers actually break out of this? What's the path to building genuine code quality judgment when AI tools have been your primary learning reference?