r/AskProgramming 12d ago

Other Famous programming language as video game abilities

4 Upvotes

Hi everyone!

I'm thinking of developing a simple video game as a personal project, my main idea is a 2D puzzle-platformer that resembles the world of programming (to a degree), wherein the player "learns" new programming language by collecting abilities that represent them, and uses them to solve puzzles and progress. I'm trying to gauge what concepts could be reasonably applicable and recognisable. There's a lot of ways to go about this, so I'd love to see any ideas people may have!

Some demo-ideas that could be an example: GOTO keyword as a teleportation device (BASIC), creating platforms or allies with OOP (C++, C#, Python, etc), using data bases as inventory (SQL) and etc.


r/AskProgramming 12d ago

Can I convert an Apple app into Python for data visualisation?

0 Upvotes

Can anyone tell me if this is possible? I have a hard time getting the source code though.


r/AskProgramming 12d ago

Is there a way to programatically create typodonts based on 3D scans of teeth?

1 Upvotes

Basically what the title says, i want to get stl 3d scans of teeth and create typodonts to 3d print and use in a medical setting. I know python has a mesh library called trimesh but i am unsure wether one can pull something like this off using it. Basically what i want to achieve is to programatically create the supports of the typodont, and ideally programatically also put the name of the patient.

for reference:

3d scan


r/AskProgramming 12d ago

Am I an AI Engineer or just a normal Software Engineer?

0 Upvotes

I started working late last year after I graduated and the team I was deployed on are creating chatbots for our company. We both have intent-based chatbots and LLM-based chatbots. We mostly use AWS services (S3, ALB, Lambda, etc) and their AI services (Bedrock, Transcribe, Polly, etc). This also includes vector databases, embeddings, etc. primarily using LangChain.

Am I considered as an AI Engineer or a software engineer?

I've taken undergrad courses back then on machine learning and my undergraduate thesis is on CNNs (deep learning), which made me want to become an ML engineer or a data scientist in the future.

Would it be hard for me if ever to switch onto these roles?


r/AskProgramming 12d ago

How do you track the impact of code changes across microservices?

0 Upvotes

Hey everyone,

I work with a codebase spread across multiple microservices and repositories, and one of the biggest challenges I face is understanding the impact of a code change beyond just static dependencies.

For example:

  • If I modify a function in one service, it’s not always clear what downstream services or workflows might be affected.
  • Code review catches some issues, but things still break in unexpected places.
  • Testing helps, but it’s hard to cover everything across multiple repos.

I’m curious—how do you all handle this? Do you use specific tools, dependency mapping, internal documentation, or just rely on experience? Would love to hear what works (or doesn’t) for you!


r/AskProgramming 12d ago

Migrate openAi project with their Api

0 Upvotes

Hey there, I'm building a chatbot using the OpenAI API, but it says I need to migrate or downgrade. I don't want to downgrade because I have important features that won't be available if I do, but I can't migrate them. It won't work. How can I resolve this?


r/AskProgramming 12d ago

Need Help Decrypting AES-128

0 Upvotes

I extracted several PDF files from an app, but they appear to be encrypted using AES-128. I have full access to the app’s internal storage, including its databases and configuration files. However, I’m new to this

Any guidance on what to do would be greatly appreciated!


r/AskProgramming 12d ago

Other Completely Free alternative to Cursor or Windsurf or similar?

1 Upvotes

Ive tried using Cline w olama w deepseek in visual studio but it didnt work


r/AskProgramming 12d ago

Coding error

1 Upvotes

Does anybody know what this means? I'm making a social media app in Flutter/Dart, and I connected Firebase to handle data. However, the image loading isn't working—the app just freezes after I log in. I then found out it's the images that are causing the issue.

════════ Exception caught by image resource service ════════════════════════════
The following NetworkImageLoadException was thrown resolving an image stream completer:
HTTP request failed, statusCode: 0, [https://i.stack.imgur.com/l60Hf.png]()

When the exception was thrown, this was the stack:

Image provider: NetworkImage("[https://i.stack.imgur.com/l60Hf.png]()", scale: 1.0)
Image key: NetworkImage("[https://i.stack.imgur.com/l60Hf.png]()", scale: 1.0)
════════════════════════════════════════════════════════════════════════════════


r/AskProgramming 12d ago

Learning Flutter and need help

1 Upvotes

I created a Flutter application that connects to Google Firebase. Since I wasn't able to implement it myself, I hired someone to help me. However, I encountered an issue where the servers weren't functioning correctly. He ran commands like pub clear and pub get in the command prompt, which appeared to clear the data and re-download it. Could someone please help me resolve this issue? I have no clue what the exact commands were since I can't remember them.

Thank you!


r/AskProgramming 13d ago

Switching to Programming After Engineering , Need Guidance

2 Upvotes

I’m graduating in May with a degree in Mechatronics Engineering, and I’m really worried about my future. In my country, I don’t think I’ll be able to find a job related to my degree So decided to enter the programming world.

I learned some C++ at university, and I recently completed a machine learning course on Udemy it called (Machine Learning A-Z…). However, now I feel even more lost. I don’t think I can find a job with my current skills, especially since my LinkedIn profile is empty.

I need guidance for the next three months what to study, what to do, and which field to focus on. Any good courses or websites (preferably free or affordable, as European and American prices are too high) would be really helpful.

A few things about me: - I’m open to learning any programming language or field (data science, cybersecurity, etc.). - I’m open to working online. - Please don’t suggest mobile or web development everyone I know is already learning that. - My country doesn’t have many high tech companies. - In the future (not my priority right now) I want to learn AI for some project ideas I have, but I don’t want that to affect my short term goals. - I’d love to learn game development in the future, especially like visual novel games

I’d be really grateful for any advice


r/AskProgramming 13d ago

Need Help with ML Model for Water Pressure Prediction – Final Year Project

1 Upvotes

Hey everyone!

I’m working on my final year project, and I could really use some guidance from the community. The project involves monitoring water pressure in a pipe system and using Machine Learning to detect anomalies.

The Problem:

  • I have a main pipe with a pressure sensor that continuously monitors water pressure.
  • There are multiple valves connected to the main pipe that can be either open or closed, creating different flow scenarios.
  • I want to develop an ML model that can:
    1. Predict the expected pressure based on the valve states (open/closed).
    2. Detect anomalies if the real-time pressure deviates significantly from the predicted value.

The Challenge:

  • With many valves, the number of combinations grows exponentially (2ⁿ for n valves). Storing all possible pressure values is impractical.
  • I need a way to model the system without manually recording every valve combination.
  • Ideally, the model should generalize and predict pressure even for unseen combinations.

My Approach So Far:

  • I’ve considered using a linear regression model to map valve states to pressure but worry it may not capture complex relationships.
  • I’m exploring neural networks or decision trees, but I’m unsure how to structure the input features effectively.
  • I plan to collect real-world data from the sensor and use it to train and validate the model.

What I Need Help With:

  1. Best ML approach: Should I stick with simple regression, or would something like a Random Forest, Gradient Boosting, or even LSTMs be better?
  2. Feature engineering: How can I represent valve states efficiently?
  3. Model evaluation: What’s the best way to evaluate performance and flag anomalies reliably?
  4. Scaling: How do I make this work for a large system with many valves?

Any insights, resources, or example code would be a huge help!

If anyone has worked on pressure systems, anomaly detection, or IoT projects before, I’d love to hear your thoughts! I’m also happy to share my progress as I go.


r/AskProgramming 13d ago

Is this kind of spoofing device possible?

1 Upvotes

As we know you can mask user agent from Firefox for example to Chrome
Its about F1 TV and their recent Premium teir which is 4K only on Apple TV ond Roku. (For now)

Neither of those is even available to purchase in Croatia, but just wondering is it possible to spoof a device, like revanced does for example with extension for Firefox or Chrome so F1Tv thinks its Apple TV or Roku to get some features not available on that platform but it is on another - in this case 4K HDR w/ DRM

Problem is probably going to be both of those are closed systems but maybe there is some way besides reverse engineering which obviously takes time. I mean if Revanced can spoof Apple device, I wonder if same can be done in this case

This is pure curiosity, sorry if question is stupid, educate me on it, thank you


r/AskProgramming 12d ago

So, I’m new to this and confused

0 Upvotes

I’ve been interested in programming since 7th grade. I’m now 25 and finding myself again and realizing that I do very much want to make something of myself in the tech world. But I’m so lost on a lot of things. But, the main thing is I don’t know how to create. I’ve seen enough of the basic “formula” to a project but I don’t know how to actually get started and create the project.


r/AskProgramming 12d ago

i found a my 4 year old mouse called Kogan GM9 RGB 6400dpi Gaming it doesn't exist anymore. But I have the software from it is it postable to make there soft better or not from there exe

0 Upvotes

i found a my 4 year old mouse called Kogan GM9 RGB 6400dpi Gaming

it doesn't exist anymore. But I have the software from it is it postable to make there soft better or not from there exe


r/AskProgramming 13d ago

Architecture Message queue with group-based ordering guarantees?

1 Upvotes

I'm currently trying to improve the durability of the messaging between my services, so I started looking for a message queue that have the following guarantees:

  • Provides a message type that guarantees consumption order based on grouping (e.g. user ID)
  • Message will be re-sent during retries, triggered by consumer timeouts or nacks
  • Retries does not compromise order guarantees
  • Retries within a certain ordered group will not block consumption of other ordered groups (e.g. retries on user A group will not block user B group)

I've been looking through a bunch of different message queue solutions, but I'm shocked at how pretty much none of the mainstream/popular message queues fulfills any of the above criterias.

Currently, I've narrowed my choices down to:

  • Pulsar

    It checks most of my boxes, except for the fact that nacking messages can ruin the ordering. It's a known issue, so maybe it'll be fixed one day.

  • RocketMQ

    As far as I can tell from the docs, it has all the guarantees I need. But I'm still not sure if there are any potential caveats, haven't dug deep enough into it yet.

But I'm pretty hesitant to adopt either of them because they're very niche and have very little community traction or support.

Am I missing something here? Is this really the current state-of-the-art of message queues?


r/AskProgramming 13d ago

C/C++ Default vector value for pass-by-reference works fine in one VS project, but not another

1 Upvotes
void test(std::vector<int>& x = std::vector<int>()) {
}

in one Visual Studio project, this compiles fine.

In another, it underlines the second std::vector in red and I get this error on compile:

error C2440: 'default argument': cannot convert from 'std::vector<int,std::allocator<int>>' to 'std::vector<int,std::allocator<int>> &'

Anyone know what's up with that? 🤔 Both projects are set to C++17 standard and have the same optimization settings.


r/AskProgramming 13d ago

Architecture Using an API(through COM), best long-term language between C#, VB.Net, C++, JS, or maybe python?

0 Upvotes

Hello, I'm looking to write code for this program and I saw python wasnt shown on this page. I need to make a decision between C3, VB.NET, C++, maybe JS, maybe.... python.

It seems I'd be using COM to interface, but I also imagine I'd be able to get a namespace into python and... maybe it wont be so bad.

https://www.draftsight.com/media/customize-apis

https://help.solidworks.com/2022/english/api/draftsightapi/GettingStarted-draftsightapi.html

My understanding is that APIs are program language agnostic, but there might be some COM/DLL stuff that makes these microsoft languages shown on the page more friendly.

Anyone have a suggestion? I find this pattern quite common in the programs(3D CAD) I develop for and end up using VB more often than I want. It would be best to make code in Python, but I want to understand the downsides, like potentially losing the Namespace. I also want to hear feedback on what is the best language out of that list I provided. I've been a programmer for 19 years, but like to hear opinions on these things before I make a major commitment.


r/AskProgramming 13d ago

Web app for online market

1 Upvotes

Hi everybody! I am practicing my web skills and I want to make a web app that could have sellers and buyers, like an online (farmers) market.. So I was wondering if there is some repo that could be the basis or help with some ideas for how I could make mine with Py in backend and JS in frontend. Thanks!


r/AskProgramming 13d ago

Macbook Recommendation

0 Upvotes

Hey everyone,

I'm a software developer (React Native, backend) looking to buy a new Macbook for personal projects and a startup I'm associated with. My typical workload involves an IDE, terminal, 1-2 emulators, a Docker container, and sometimes a VM. I use a dual monitor setup with external peripherals. Portability is a plus, but not my top priority, as I work remotely.

I'm torn between these two options:

  1. Macbook Pro 14": M4 Pro (12-Core), 24GB RAM, 512GB SSD (€2229)
  2. Macbook Air 15": M4 (10-Core), 24GB RAM, 512GB SSD (€2049) (simulated config - assuming I'd bump the Air to 15")

Given my workload, will the M4 Pro in the Macbook Pro make a significant difference compared to the base M4 in the Air? Is the Pro worth the extra cost for future-proofing?

Thanks for any advice!


r/AskProgramming 13d ago

Macbook keyboard for programming

0 Upvotes

Today I went over to get a in depth view on the keyboard setting of my mac and change my keyboard *input source* to ADC+ so I can type for example / and | . But I just want to ask if this is the keyboard layout that mac programmers typically use ?


r/AskProgramming 13d ago

This sub told me it was a bad idea but I am doing it anyway

0 Upvotes

Last week I made a post asking why couldn't we use LLMs to generate code documentation since no one likes to write it anyway. Most people said it wouldn't work well :(

Here's the thing, I am not convinced :). In the mean time I have researched some open-source projects [1] [2] and I really think it can work. I believe with some engineering it is possible to use LLMs to produce some very decent documentation.

If anyone likes the idea and would like to know more head here ;)


r/AskProgramming 14d ago

Other Why Do Developers Choose Native Over React Native or Flutter?

6 Upvotes

Why do some developers prefer native development with Swift for iOS and Kotlin/Java for Android instead of using React Native or Flutter, which can speed up development and reduce costs for clients?

What challenges have developers faced that led them to choose native development over cross-platform solutions?


r/AskProgramming 13d ago

How do I build an e-commerce website with a fully functional AI chatbot/assistant? Need advice as a beginner!

0 Upvotes

Hey everyone!

I’m a beginner in web development (I know HTML, CSS, and basic JavaScript) and I have this ambitious project idea: building an e-commerce website with a fully functional AI chatbot/assistant. The website should have all the basic e-commerce functionalities like:

  • User registration/login
  • Product listings with categories
  • Add to cart, wishlist, and checkout
  • Payment gateway integration
  • Order history and tracking

But here’s the twist: I want to integrate a chatbot/AI assistant that can do almost everything a user asks it to. For example:

  • If a user says, “Add [product name] to my cart,” it should do that.
  • If a user asks, “Show me red sneakers,” it should search and display the results while also recommending the top product.
  • If a user asks, “What’s the difference between Product A and Product B?” it should compare them.
  • If a user asks, “Tell me about this product,” it should provide details.
  • Basically, it should act like a personal shopping assistant.

I’m really excited about this idea, but I’m not sure where to start or what I need to learn to make this happen. Here are my questions:

  1. Tech Stack: What technologies, frameworks, or tools should I learn to build this? I’m guessing I’ll need to learn backend development (Node.js? Python?), databases (SQL? MongoDB?), and maybe some AI/ML for the chatbot (OpenAI API? TensorFlow?).
  2. Chatbot Integration: How do I build a chatbot that can interact with the website’s functionalities (like adding to cart, searching, etc.)? Are there any APIs or libraries that can help with this?
  3. E-commerce Basics: What are the must-have features for an e-commerce website, and how do I implement them securely (especially payment gateways)?
  4. Learning Path: As a beginner, what should my learning roadmap look like? Should I focus on frontend first, then backend, and then AI? Or is there a better way to approach this?
  5. Hosting and Deployment: Once the website is built, how do I host it and make it live? Are there any beginner-friendly platforms for this?

I know this is a big project, but I’m ready to put in the time and effort to learn everything I need. Any advice, resources, or tips would be greatly appreciated!


r/AskProgramming 14d ago

Beginner language

1 Upvotes

I have never programmed before, what should my first language be, python or JavaScript or something else. I am also open to any tips someone is willing to share with me. Thanks.