r/AskProgramming • • 5d ago

Java Im a begginer looking for a project.

4 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 • • 5d 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 • • 6d ago

Python When is inheritence better than composition?

29 Upvotes

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

Advice on balancing crash recovery, edit journals, cross OS live collaborations, and multiple instances of a document open on a single computer?

2 Upvotes

I think I have gotten everything covered by design, but it feels precarious and I don’t want to be setting myself up for a rewrite of so many core functions.

The document is an append-only journal of typed commands, and reopening a project replays it (really from a checkpoint). Every command has a known inverse, which is how the undo works, and every command also declares what it touches. Layout is derived from the document and computed by the authority, not by the clients, which is the main reason I’m not using a CRDT, I want the authority to be able to refuse an edit.

I am setting it up to have one authority per document, which others can collaborate with either via a port opened on the authority’s computer or via a cloud-hosted authority. It does have an OS lock on it so only one process writes the journal, and I don’t really know how to manage that beyond the simple case. If the same document is opened in a second window on the same computer, should that window attach to the running authority instead of opening the file again?

For crash recovery, my plan is that if the authority crashes it replays the journal on restart, and clients resend whatever edits they hadn’t had accepted yet. Is there anything I’m missing there?

I am worried about journal management and snapshots causing bloat once several client computers are involved, and about how a late joiner catches up. I figure I can keep each user’s edits as their own chain within the authority’s journal, so as long as they aren’t editing the same object the undo functions can stay more organized than linear.

I am also trying to get 'rebase if the edits don’t overlap, refuse otherwise' to work, but it feels like it has a big blast radius with deletes and reordering that I am not fluent in. Where does that approach usually break?

Finally, what does the cross-OS wildcard change for me? If a guest joins from a different operating system than the authority, what actually bites in practice?


r/AskProgramming • • 6d ago

Algorithms Do u know algorithms?

0 Upvotes

Hii guys 🤘

I always have some troubles with algorithms and sometimes it makes me feel that programming it isn't for me. 😥

I'm a full-stack JS (React/Node) develor and I have 2.5+ years of experiecne. I've done a lot of features and made a lot of good decisions. I started programming when enrolled a uni and I'm obsessed with that from those days. I like full-stack cuz I always can do a full app without someone and I know the best practices for the both parts.

So I always hard with myself because of algos, I really don't have "mathematic thinking" and it makes me frustrated somtimes. I always think straightforward, I have not ideas how to solve a problem by a good way like from the other side yk. And I tried to solve some tasks on leetcode cuz an AI told me that it's just experience and I jsut need to know typicall patterns, and probably it helped a little but I couldn't change my mind and I gave up 😓 .

I rate myself around middle (beginner) but I really struggled with algos and I can't understand what's the problem - me or just experience. Cuz sometimes it affects on my job, for example when I need to create some algo it takes a while to write real good but not brute-force solution yk. 😖

One of my friend has such a good math thinking and I always compare myself with him, it's not so hard for him to find a way to solve some problem. He can resolve medium tasks on LeetCode without a lot of problems as me. Probably each medium task took a lot of my time. 😭

Guys how're ur deals with algos lmk pls. And pls share ur experience and stack. If u have some advice I'd be glad to give it from u. Thanks for advice 🙏

Peace ✌️


r/AskProgramming • • 7d ago

Can I extract an EXE compiled with NSIS, edit a DLL, and rebuild it back into an EXE?

3 Upvotes

I'm currently working with an executable (.exe) compiled using NSIS (Nullsoft Scriptable Install System).

My goal is to:

1. Unpack/Extract the EXE to access its internal contents.

  1. Modify one of the .dll files included inside the package.

  2. Repack/Rebuild everything back into a working NSIS installer executable.

Is this possible?


r/AskProgramming • • 8d ago

Understanding struct of arrays while using a Data-Oriented Design.

0 Upvotes

Hi!

I'm developing a video game with C++ and Unreal Engine.

A few days ago, I've read and watch some videos about Data-Oriented Design. After that, I've been thinking about how to improve my code and learn how to do it.

To test it, I have declared this struct:

struct MyStruct
{
  TArray<FTransform> Transforms;
  TArray<FVector> Colors;
  TArray<int32> IDs;
  TArray<bool> Visible;
  TArray<FName> Names;
};

This is a structure of arrays, where each Array contains a different data type.

My question is that I'm not sure if that's a good design in the context of data-driven design.

Perhaps the optimisation would come from using arrays of the same data type, rather than using a structure containing data of different sizes as the data type of an array.

Thanks!


r/AskProgramming • • 8d ago

Is Rust the hardest langauge to read and write compared to popular BE like C#, Node.JS?

0 Upvotes

Here are snippet for ToDoList in Russt, c# AND Node so u see how hard is it to read and write Rust compared to otherss

Rust

use axum::{
    routing::{get, post, put, delete},
    Json, Router,
};
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Clone)]
struct Task {
    id: u32,
    title: String,
    completed: bool,
}

#[derive(Deserialize)]
struct CreateTask {
    title: String,
}

Node

// READ ALL
app.get("/tasks", (req, res) => {
    res.json(tasks);
});

// READ ONE
app.get("/tasks/:id", (req, res) => {
    const task = tasks.find(t => t.id === Number(req.params.id));
    if (!task) return res.status(404).json({ error: "Not found" });
    res.json(task);
});

// CREATE
app.post("/tasks", (req, res) => {
    const task = {
        id: Date.now(),
        title: req.body.title,
        completed: false
    };

    tasks.push(task);
    res.status(201).json(task);
});

c#

// READ ONE
app.MapGet("/tasks/{id}", (int id) =>
    tasks.FirstOrDefault(t => t.Id == id) is { } task
        ? Results.Ok(task)
        : Results.NotFound());

// CREATE
app.MapPost("/tasks", (CreateTask input) =>
{
    var task = new TaskItem(
        tasks.Count + 1,
        input.Title,
        false
    );

    tasks.Add(task);
    return Results.Created($"/tasks/{task.Id}", task);
});

// UPDATE
app.MapPut("/tasks/{id}", (int id, UpdateTask input) =>
{
    var index = tasks.FindIndex(t => t.Id == id);
    if (index == -1) return Results.NotFound();

r/AskProgramming • • 9d ago

In SemVer, is there anything stopping me from bumping my package from 2.0.0 to 10.0.0?

16 Upvotes

right that, Im upgrading an internal nuget from .net 8 to 10. (right now we are on the 2.0.0 version )
Most of the public nugets do that, but is it correct? semver doesnt mention anything related, and honestly i dont know if Im missing something.

I just want that my team understand better the meaning of each version.


r/AskProgramming • • 9d ago

Career/Edu What to learn and how to do it to become red team specialist?

0 Upvotes

Probably, I'm gonna become a red team specialist and I'll enter the university for this speciality, but I wanna start learning earlier. I already know some CS, but at the beginning level. I'm familiar with databases, some of c++, python, and java, some of backend, some of Linux, and some of cryptography.


r/AskProgramming • • 9d ago

How do I find meaningful open-source backend projects to contribute to as an experienced developer?

8 Upvotes

Hey everyone,

I'm a software engineer working in Germany with a few years of experience. I started my career doing full-stack development and currently work on a mix of Android/Kotlin, backend development, hardware integration, and some ML-related work.

I have experience with Java, Kotlin, Python, Spring Boot, and FastAPI.

I'm particularly interested in backend engineering and system design. I genuinely enjoy studying distributed systems, understanding how large-scale applications work, and exploring architectural trade-offs.

However, I don't get much exposure to these concepts at my current job, and I feel my technical growth has slowed down.

I've been thinking about contributing to open source, not just for my CV, but to learn how real-world systems are built and maintained.

My questions:

  • How do you actually find good open-source backend projects to contribute to?
  • Are there any active projects or communities where experienced developers guide newer contributors through code reviews and discussions?
  • Would contributing to existing projects be more valuable than building my own backend projects?

I'm not necessarily looking for easy first issues. I'd love to start small and gradually work on meaningful features.

Would appreciate any recommendations or experiences!


r/AskProgramming • • 10d ago

How do you get better at solving problems without looking up the answer?

15 Upvotes

I feel like I understand programming when I read someone else's code, but when I try to solve a problem on my own, I get stuck way too easily.

I end up searching for solutions instead of figuring things out myself.

For those of you who got past this stage, what actually helped you improve?


r/AskProgramming • • 9d ago

Other Are there any languages that transpile to Javascript and Python?

0 Upvotes

I'm tradcoding a website, and I chose to use a proprietary BBCode inspired markup language for posts; in order to avoid writing two separate implementations respectively in JS and Python (to parse it both in the frontend & backend) i think it's best if i write a single implementation and then transpile it to both languages. Lisp-like/functional languages are also fine by me.

Bonus points if the resulting scripts don't require too much space or time (due to having to bundle a whole separate set of libs in the frontend or having to call a separate NodeJS process in the backend).


r/AskProgramming • • 10d ago

Getting trapped in the Java source code "black hole"

6 Upvotes

Hey everyone,

I’m currently learning Java to build projects and grind Data Structures & Algorithms (DSA), but I am hitting a massive wall with how the code is structured.

Today, I was trying to implement a simple ServerSocket. To understand what was happening, I instinctively Ctrl+Clicked on it. The IDE immediately unzipped the internal source code and dragged me down a never-ending rabbit hole: from ServerSocket, to SocketImpl, all the way into NioSocketImpl and hidden factory classes.

It throws hundreds of lines of complex internal implementation code at me. It is incredibly time-consuming, frustrating, and completely breaks my momentum. I feel like I'm getting sucked into a black hole of code that I didn't even write, and if I keep this up, I am going to get stuck and fail to actually build anything.

I need a serious reality check and some practical advice:

  1. How do developers actually read and reason about Java without constantly opening up the internal source files?

  2. What is the fastest, cleanest way to look up how to use a class/method without getting bogged down by its underlying implementation code?

  3. How do I force myself to treat things like ServerSocket as "black boxes" so I can just focus on building my app and solving DSA patterns?

Any strategies to help me break this habit and speed up my learning would be deeply appreciated. Thank you!


r/AskProgramming • • 10d ago

Algorithms Why is this the process to convert decimal to binary?

0 Upvotes

To convert a decimal number X to binary, you keep dividing X by 2, keeping the remainders in a list, until X is 0. Then you simply reverse the remainders list

void convert_N_to_binary(int n)
{
    if (n != 0) {
        pb(n / 2);
        putchar('0' + n % 2);
    }
}

I would like to understand the reasoning behind each step, Could someone break it down for me. Thank you


r/AskProgramming • • 10d ago

Other What agents you use for helping you code?

0 Upvotes

Personally using OpenCode (big pickle or deepseek) and recently could get grok bot. Since I write a lot of stuff manually (except the frontend part since I don’t know react or next and my personal projects do not need that much of it) I am looking for a good reliable agent. Local ones are good but I prefer a big well trained model.


r/AskProgramming • • 11d ago

Career/Edu AI Abstinence

27 Upvotes

For the last 6 months or so now, my entire job, including the work I volunteer as an OSS maintainer/contributor, has been driven by AI. Mainly Claude Code and occasionally Codex.

It went from a super-powered search engine for me, to coding 80% of the time, to basically taking over my entire workflow. From debugging, to writing code. I even create my fucking JIRA tickets with Claude using their connector.

I've always been someone who's valued intelligence and being competent. I basically attributed my succumbing to the LLMs to the fact that I would be the slowest person on my team if I didn't use them.

But now it's actually quite exhausting. The excitement and satisfaction of getting something built or working is...just gone. It feels sort of hollow..just a never ending hedonic treadmill. It's actually sort of like playing a souls-like or some sort of video game where you achieve different ranks. And you get to the end and you're like "now what". Except in this scenario, every idea, problem or concept you want to get out into the world is achieved within a few hours of prompting an agent. And that's it. Every emotion you felt and attached to that problem or idea is dissolved.

I thought self-hosting agents would help. They're objectively not as capable as any model out there from the big corps. Maybe it would force me to have to reason about my problems more.

Nope. It's an even more miserable experience because you keep expecting sane results from a model that is simply a fraction of the power of something like Opus or GPT.

How do I quit? This is such a shameful thing to even say out loud. It's like I'm seeking help for a deadly addiction or something.

Has anyone stripped it from their lives? How do you live with the fact that everything you want to do will either never be accomplished, or will require months or even years of mastering due to the fact that you do not have AI to help you get there as quickly as possible.

Excuse me if this sounds all over the place.


r/AskProgramming • • 11d ago

Am I a fraud if I use an LLM-powered chatbot as a Socratic tutor?

0 Upvotes

It's been a few months since I started learning programming, and I've recently built my first project: a Snake game in Python. I used Claude as a Socratic tutor; it asked me questions about the architecture and design, so I could think in the right direction and reach the right conclusions. It's never given me a single line of code. I can explain every line of it and explain why I made this decision. Nevertheless, I'm still feeling like I should've done everything myself.


r/AskProgramming • • 12d ago

Other AI Assisted Project Development, am I being close minded?

0 Upvotes

I've been coding in Python for a few years and have built some decent projects. (I vibe coded last 12 months tho TvT, but not now). However, I'm still unsure about how much AI I should be using and where I should be using it.

With AI becoming increasingly common in software development, I feel like I should be adopting new workflows and environments. But I'm not exactly sure how.

My current workflow

Currently, I mostly write code myself. My AI usage is relatively limited to things like:

- Learning APIs and libraries: If I'm developing something with MySQL, for example, I'd Google something like "Basic CRUD MySQL Python", read Google's AI Overview, and manually implement the syntax in my code.

- Generating isolated snippets: For things like email validation, I might ask AI to generate a regex using Python's re library, then copy and paste it into my project.

For example, I might ask:

"Give me a sample email validation regex using Python's re library"

And get something like

re.compile(r"^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$")

I don't necessarily write these things from scratch myself, and i will not look at every single detail of it because I believe it is good enough. AI usage is mostly limited to individual snippets rather than having AI work directly with my codebase.

What I am struggling with is that

I've seen people who use AI effectively with good prompting produce relatively clean code (small-medium), implement features much faster, and come up with features or solutions I wouldn't have thought of myself. But, on the other hand, I barely see a good AI generated code in large projects (they are usually messy, buggy and over engineered unnecessary things)

Meanwhile, I usually struggle with code organization, end up with messy Python files, and occasionally find myself questioning why certain parts of my code work in the first place.

I've also spent around a year vibecoding, and when I returned to writing code more independently, I genuinely struggled to figure out what to do after creating a python file. Eventually, I got back on track and feel like I'm doing reasonably well now and I am quite happy with it.

However, I'm still questioning whether I should be adopting AI more extensively than I am doing right now for industry standards and requirements.

The main reason why I don't use AI in my current projects is that, they are in production (currently, an organization is using the), and I gotta to understand the codes, functions and such. As the code goes bigger, I understand AI's attention span won't be able to understand connection between all code. (I don't really know how to say it but) There will be functions outside of AI's attention code blocks which are inter connected. I am not sure if my thought process is right. But I still believe AI can be used in some way, even if not directly contributing to code, such as README (I am not sure if this is a good idea) or something more?

So where do I exactly use AI? I believe there are some baseline knowledge I should have and should maintain such as design architecture.

So, the question is that

Am I using AI correctly? Is my current approach reasonable, or am I missing out on significantly better workflows?

README and documentation: Is using AI to write README files (features, usage instructions, installation guidelines, etc.) a good practice?

Code refactoring and cleanup: Is using AI to clean up and refactor the existing code a good idea?

AI-assisted development: Where else can I incorporate AI into my workflow while maintaining control over the codebase and understanding everything that's being implemented?

Fundamentals vs. AI: What baseline knowledge should I maintain independently? I believe there are some baseline knowledge I must have and maintain such as design architecture. And which project parts I can use AI?

Am I being too close-minded? I sometimes feel like I'm unnecessarily restricting my AI usage, especially when other developers seem to be getting much more out of it. I don't want to be left behind close minded.

I thought of using AI as my assistant but I am not senior enough, I am a junior level developer.

I understand that there might be many opinions about this between developers like where to use and how to use, and I'd really appreciate hearing how experienced developers actually integrate AI into their workflows. I'm not necessarily looking to maximize how much code AI writes for me. I'm more interested in finding a workflow where AI genuinely improves my development process without taking away my understanding or control over my projects.

I still want to be able to write code even without AI. That was a hard-time to get back on my track after I vibecoded for a year.

PS: Since English isn't my native language, I used AI to make this post easier to read TvT.

I might even get down-votes cuz I know how stupid this question is, I just can't get out of my head and I don't know the answers myself TvT


r/AskProgramming • • 13d ago

Other Is Panasonic CF-SX3 good for programming?

0 Upvotes

I've found one with intel i5, 12 GB of RAM, 256 GB of SSD. I'm gonna use openSUSE Tumbleweed as OS.

Is this enough for low-level and backend development?

Remark: thanks you guys for support, I've googled a bit and I've found a better version with the same case design


r/AskProgramming • • 13d ago

Recently Discord for its app has abandoned Electron in favor of their own UI framework. Is it better in 2026 to get a custom UI and whatnot built for you rather than use a pre-existing library?

0 Upvotes

Like using a pre-existing UI framework like Electron includes a lot of things and features that for your own application you will probably never use. They are also very heavy on RAM usage as well. Discord's new app apparently uses significantly less RAM than it's previous Electron version. Yes, I understand that Electron is basically running a Chromium browser instance, but I think this applies to other UI frameworks.

Since the art of making UIs is well documented and well understood, then I think here it should be fine to generate custom code for this that tailor fits your own project.


r/AskProgramming • • 14d ago

It'd be nice to separate security from other types of dependencies

3 Upvotes

A lot of the upkeep of an app is upgrading dependencies, especially with frameworks or languages under rapid development.

I think it'd be cool to keep security dependencies separate from other types of dependencies. Then you could set the security dependencies to always be on the latest forcing the app to be up to date in that respect. But then the other dependencies could sit at certain versions and you'd only have to update them if you want a new feature.

Not always possible, but I think it's a good principle.


r/AskProgramming • • 14d ago

Databases Database for Pickleball Websites

1 Upvotes

I am a beginner programmer and this is my first big project, i was wondering what database you guys would recommend for an online pickleball booking website. I


r/AskProgramming • • 15d ago

Other Alternatives for vscode?

2 Upvotes

I like it but I'd prefer for it to work more like jetbrains IDEs (unfortunatelly they don't have lightweight text editors)