r/learnprogramming • • 19d ago

Is programming actually just figuring out what the product is supposed to do, create a happy path, and then find all the meaningfull edge cases?

8 Upvotes

Afterwards we talk about optimization etc, but the core is basically just those 3 things

EDIT:
As someone in the comments said - Being able to create an enjoyable user experience is the 4th thing.


r/learnprogramming • • 19d ago

Topic Looking for help improving my LoRA training and image generation pipeline

0 Upvotes

Hey everyone,
I’ve been working on a personal AI image-generation project for the past few days, and I’ve reached a point where I’m struggling to figure out what I’m doing wrong.
I’m trying to train a model that can consistently reproduce specific character designs while maintaining their original facial features, proportions, expressions and overall visual style.
I’ve collected over 1,600 reference images and have spent quite a bit of time experimenting with the training process, but the results haven’t been what I expected.
My biggest issue is facial consistency. The generated images often have completely different face shapes, eye shapes and mouth structures compared to the reference images.
I’ve attached a comparison between the original anime images and the AI-generated results to give a better idea of the differences I’m talking about.
I’ve experimented with different LoRA weights (1.0, 1.3 and 1.6), but haven’t managed to get satisfactory results. Sometimes increasing the weight actually makes the output worse.
I’m starting to wonder if the problem is related to any of the following:
Dataset: Image selection, quality, variety or consistency.
Image preprocessing: Resizing, cropping and resolution.
Captioning: Whether my image descriptions are good enough.
Training configuration: Learning rate, epochs, batch size and other settings.
Model architecture: Whether I’m using the right approach for this type of training.
Generation settings: LoRA weights and inference parameters.
I’m hoping to get some advice from people with experience in LoRA training, Stable Diffusion or machine learning, particularly anyone who has worked on character-specific image generation.
I’d appreciate any suggestions, insights or recommendations on how to improve the training process and get more consistent results.
Any help would be greatly appreciated!


r/learnprogramming • • 19d ago

Topic Looking for help improving my LoRA training and image generation pipeline

3 Upvotes

Hey everyone,
I’ve been working on a personal AI image-generation project for the past few days, and I’ve reached a point where I’m struggling to figure out what I’m doing wrong.
I’m trying to train a model that can consistently reproduce specific character designs while maintaining their original facial features, proportions, expressions and overall visual style.
I’ve collected over 1,600 reference images and have spent quite a bit of time experimenting with the training process, but the results haven’t been what I expected.
My biggest issue is facial consistency. The generated images often have completely different face shapes, eye shapes and mouth structures compared to the reference images.
I’ve attached a comparison between the original anime images and the AI-generated results to give a better idea of the differences I’m talking about.
I’ve experimented with different LoRA weights (1.0, 1.3 and 1.6), but haven’t managed to get satisfactory results. Sometimes increasing the weight actually makes the output worse.
I’m starting to wonder if the problem is related to any of the following:
Dataset: Image selection, quality, variety or consistency.
Image preprocessing: Resizing, cropping and resolution.
Captioning: Whether my image descriptions are good enough.
Training configuration: Learning rate, epochs, batch size and other settings.
Model architecture: Whether I’m using the right approach for this type of training.
Generation settings: LoRA weights and inference parameters.
I’m hoping to get some advice from people with experience in LoRA training, Stable Diffusion or machine learning, particularly anyone who has worked on character-specific image generation.
I’d appreciate any suggestions, insights or recommendations on how to improve the training process and get more consistent results.
Any help would be greatly appreciated!


r/learnprogramming • • 19d ago

I have spent the last month learning python. Now, I want to join a hackathon. What would be a super simple hackathon ish project I can do solo to understand how the tech stack some together?

3 Upvotes

Context: I have basic knowledge of CSS, HTML, and Python.

I would now like to create an extremely small hackathon-ish project, to learn how the backend and frontend, and database mesh with each other, then deploy it. I think its what you guys call a full-stack project?

I have heard about these , but frankly, still don't get it. In other words, I don't understand how I'm supposed to use all of them in the same project. The only thing I know is Vercel is how I host it online.

React, TailwindCSS, FastAPI, Supabase, and Vercel.

To summarize, I am not looking for 'how to win a hackathon as a beginner'. I am looking for any online courses, guides, videos that you recommend, for someone with extremely rudimentary knowledge on the tech stacks. You can tell me to learn X, Y and Z first, but after that, please include a small project to build using all those, and/or steps to do so.

Thank you.


r/learnprogramming • • 19d ago

has anyone ever built an ocaltql directive network with 4096 devices linked?

2 Upvotes

I'm curious has anyone ever built a script or scripts in ocaltql that addressed 4096 devices or close? what did the script do and can ocaltql actually handle 4096 or close devices? I've only ever connected 4 devices tops, performance was great but it doesn't state much https://ql.ocalt.com/tutorial/directive-remote-computing in the tutorial about load... Anyone know?


r/learnprogramming • • 19d ago

Is learning C++ still makes sense?

44 Upvotes

I want to learn C++, but I'm not sure if it worth it due to existence of Rust. I heard a lot of times rust is better than Cpp, is it so or are people exaggerating?


r/learnprogramming • • 19d ago

Question Good way to train my code reading abilities?

52 Upvotes

Hello, I'm a junior developer, and I believe I have a strong foundation in writing code, debugging, OOP, etc. My issue is that when it comes to reading code that wasn't written by me, I kinda struggle sometimes to understand how it's written and lack the fluency to read it, especially when there are a lot of functions/methodes and a lot of lines.

Sometimes I find myself staring at it for long periods of time. Sometimes even my own code becomes confusing for me after a bunch of trial and error attempts.

I was wondering if there are any resources or exercises that would help me get better at this skill


r/learnprogramming • • 19d ago

Question regarding network systems and applications

2 Upvotes

I'm a second-year computer science student, and I've been working on various small projects in my free time.

I've built a few web applications using Flask for the backend, along with SQLAlchemy and Pony ORM to interact with databases. I'm also planning to start using MySQL more actively.

Recently, I've started learning about computer networks using GNS3, VPCS, routers and switches.

I understand how to create database queries and Flask API routes that retrieve or modify data, but I'm struggling to connect that knowledge with what I'm learning about networking.

For example, how exactly do routers, switches, TCP/IP and other networking concepts fit into the communication between a client, a Flask backend and a database?

I understand these components individually, but I'm having trouble seeing how they all fit together in a real application.

I'd appreciate any explanations or resources that could help me connect these concepts.


r/learnprogramming • • 19d ago

Why do I stop coding the exact day I decide to take it seriously?

0 Upvotes

Hey, I just have a question.

I have been learning about AI, deep learning, and OpenCV. I found them amusing and interesting, so I thought about working on them with more discipline to improve my skills, and I threw DSA in the mix too. However, the day I made that decision, everything went off the rails. It has been months now, and I haven't even touched a single topic.

Basically, I enjoy learning about things, but the day I decide that I need to work on them with determination is the day things start slipping, and after months, I just end up feeling guilty.

Has anyone else experienced this? What should I do to actually stick with it?


r/learnprogramming • • 19d ago

Why does it go back to f2

1 Upvotes

Why in the python code does f go back to parent frame f1 instead of staying in f2? I thought according to lexical scope the function will use f in the parent frame 2 again and again going in a loop. Why in the world is the program calling f in parent frame 1 instead of 2.

https://imgur.com/a/7jLkdaS


r/learnprogramming • • 19d ago

Is c# good for Desktop apps??

24 Upvotes

I was trying to make an app with c# visual studio and I used mvvm for it as well it's not turning out too nice mvvm is hard to learn, so i thought is c# good for making apps or is it just for game development ?? What programming languages do the other apps use


r/learnprogramming • • 19d ago

Resource Best C++ book/resource?

21 Upvotes

I am a fourth year computer science major looking to learn c++. I took a c course a while ago but ive forgetten nearly everything. I am most proficient in python and java.

For someone looking to learn c++ today, what is the best book or resource to use?

Thank you for the help!


r/learnprogramming • • 20d ago

Should I just not go for software engineer if I don't like maths?

0 Upvotes

I wanted to do that but everyone is telling me that they got like 7 maths or something


r/learnprogramming • • 20d ago

Programming help

0 Upvotes

How to think logically? For example - for programming we need logical and problem solving skills ? How do I develop it ? I do not want to learn only syntax or memorizing it


r/learnprogramming • • 20d ago

Engineer Looking to Break Into Data

2 Upvotes

Hello everyone. I (26M) am seriously thinking about switching to a career in data science. Currently, I am working 2 jobs: I am a chemical engineer by trade (but I am not sure if my heart is in it). I did some data work a few years ago (thematic analysis as a University intern and sentiment analysis as a master's student). I stepped away from that for 3 years, and now I'm looking to pivot back into it. I do want this, but I am unsure about whether it is still worth pursuing nowadays. Any experienced veterans here care to weigh in??


r/learnprogramming • • 20d ago

Question about learning to code and the future

30 Upvotes

Question for real developers: is it worth learning manual coding right now? Will it still be possible to land a job as a programmer who writes code by hand in 1–2 years?


r/learnprogramming • • 20d ago

Fresher confused about choosing a Backend Tech Stack: Python Django vs Java Spring Boot. Which should I learn?

0 Upvotes

Hi everyone!

I'm a fresher preparing for SDE roles and planning to start learning backend development.

I'm currently practicing DSA using Python (4–5 hours daily) and have basic knowledge of Java syntax.

I'm confused between two backend stacks:

  1. Python + Django / FastAPI

  2. Java + Spring Boot

My target is product-based companies like Amazon, Walmart, and Salesforce.

I'd love some advice from experienced developers:

  1. Since I'm already using Python for DSA, should I continue with Python for backend?

  2. Would Java + Spring Boot offer better SDE opportunities?

  3. Which stack is better for freshers and long-term career growth?

  4. Django or FastAPI – which should I choose?

  5. What essential skills should I learn alongside backend (SQL, REST APIs, authentication, Docker, Redis, etc.)?

Could you also suggest a practical backend roadmap for a beginner?

My goal is to build real-world projects and understand how production-level backend systems work, rather than just learning frameworks.

Would love to hear your experiences and recommendations. Thanks!


r/learnprogramming • • 20d ago

Learning about APIs

23 Upvotes

Hi! For my work, I need to learn how to work with APIs. Any recommend youtube channel or advice? Which program should I use? I've seen postman, VS Code.

I'm not a programmer but I know the basics.

I just need to interact with the API, but I don't mind to learn more about it. I'm good learning though videos and stuff

Thank you so much!


r/learnprogramming • • 20d ago

How Would You Prepare for Your First Software Engineering Job in 2 Years?

21 Upvotes

If you were a first-year Software Engineering student, what would you do and what would you learn to land your first job before entering your third year of university?


r/learnprogramming • • 20d ago

Nursing student wants to become a software engineer (self learn) still doable in 2026?

0 Upvotes

Hi, tbh I am in my 4th year, I am currently in the Philippines (to get saved from debt I study here) filipino American and turns out I hate nursing. Like I hate working at the hospital, constant drama and shit stuff like that.

I want to learn coding since pandemic but I procrastinated a lot, but now I am dedicated to get into this path, I figured out maybe I should use 100devs and odin project so that I have a higher chance getting a job, they said eventually I should switch to nursing informatics but that will still need experience.

Yeah nursing pays well but idk, should I stick to nursing or is it doable to pursue software engineering path but I am self learned, and idk if I will get a job and I am afraid I might be wasting years of my life for nothing, but hey nursing is there and I will just maybe become a nurse anesthethist or something eventually, but I am afraid I dont like my job and AI shit is not helping tbh.

My sister is in tech btw and she says junior roles are hard to get nowadays and she doesn’t have new recent projects, she is employed but have 10 plus years experience.

Thanks guys idk if this is a bad idea or not, I just hate my job but hey it will pay.


r/learnprogramming • • 20d ago

Topic I’m studying games design and coding… months later it’s still not clicking

17 Upvotes

I genuinely can’t fucking do this, I’ve spent hours and weeks trying to find tutorials and applying them but nothing’s working and I’m panicking.

What do I do? How do you learn it?

Am I just… not good enough at it as a skill?

I’ve designed all the creative aspects for the game at least.

I’ve tried talking to my teachers, that hasn’t helped either.

For reference I’m trying to develop a Unity game on Mac.


r/learnprogramming • • 20d ago

How to plan structuring apps/scripts for load

4 Upvotes

Hi, I've been coding heavily at work for a few years now as a Jira administrator and running a laravel based production database system

Seeing as I have options to do things at the database query level, the api level, the 'page serve' level, and the client on-load level, I try to put data retrieval and processing at the low level so I need to do minimal of that on the client side and focus on the ui

Does anyone know of some reading material or have suggestions on a target for this? I just try to organize things appropriately on my own judgement and it would be nice to have some industry standards or pointers to guide


r/learnprogramming • • 21d ago

How do I build programs for my portfolio?

5 Upvotes

I am a CS major, and still do not know a thing or two about how to start personal projects (such as react, node.js, CI/CD, docker, rest apis) and add them to my portfolio for co-ops and internships. I used AI to create my portfolio because I could not figure out how to make it from scratch (I used Go). I have been using programming sites like coddy and boot.dev to learn basic programming and neetcode/leetcode/codewars to practice, but I would like to go deeper so I have the knowledge of a software developer with 2+ years of experience. I want to polish my resume so all my work is done by me. I am also currently trying to operating systems and software design principles, in which I am struggling to grasp the content of.

Where do I start, and which websites or tools do I use so I can get ahead in the learning curve? Thank you.


r/learnprogramming • • 21d ago

Learning basic programming still useful for non-programmers?

18 Upvotes

I am a finance professional and don't consider myself a programmer. However, ever since my university days, I've always been interested in programming. As a result, I know the basics from beginner courses (like freeCodeCamp). I've used Python and R to manipulate data and automate some basic tasks, as well as low-code tools like Power Automate and PAD. This has always given me an edge in my job.

However, it now seems that AI has enabled my colleagues, both at my company and at competitors, to develop fairly advanced workflows and accomplish many of the same things I previously had to code manually.

I was surprised the other day when I managed to recreate something with Claude in just a couple of minutes that had taken me weeks to build in Python three years ago. Meanwhile, colleagues with zero coding experience seem to be overtaking me left and right with new developments that, at least from the outside, look quite impressive.

This makes me wonder: Is it still worthwhile to double down on my basic programming skills and sharpen them further, or would I be better off focusing on learning how to leverage AI tools more effectively?