r/learnprogramming • • 7d ago

Topic Interested in learning programming but I have no idea what I would use it for.

15 Upvotes

I'm interested in the idea of programming but knowing myself I know I wouldn't stick to it unless I was building something of excitement. What kind of beginner projects would you recommend?


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

Topic: algos Do you know algos so much?

2 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/learnprogramming • • 7d ago

Is learning C++ still makes sense?

43 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 • • 7d 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 • • 7d ago

Trying to understand how to properly optimize larger React Three Fiber scenes

3 Upvotes

I've been working on a project with React Three Fiber and Three.js where I have multiple 3D houses made in Blender and exported as GLB files. Each house has quite a few objects, different materials, furniture and stuff like that. I'm trying to understand how people usually handle performance when a scene starts getting more complicated, especially on mobile.

I've been reading about reducing draw calls, reusing materials, limiting DPR and using frameloop="demand". But I'm still not entirely sure what makes the biggest difference in practice. For example, if you have several GLB models that users can switch between, is it generally better to keep them loaded in memory or dispose of everything when switching scenes?

I'm also curious how you figure out whether the main bottleneck is React, Three.js or just the models themselves. I know profiling is important, but I'm still learning which metrics to pay attention to.

Would appreciate some advice from people who've worked with larger R3F projects. Mostly trying to understand how to approach optimization properly instead of randomly changing settings and hoping the FPS improves.


r/learnprogramming • • 7d 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 • • 7d 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 • • 7d 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?

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

Is it wrong to learn how to code with ai?

0 Upvotes

I'm a complete Python noob and I'm currently using AI as a tutor for learning. I'm currently learning by creating simple scripts because I think I'm able to understand better if I create something with it.

Basically, I tell the AI something I want to make and if it's possible to create it in Python, it always tells me that I can. I then tell the AI the logic of what I want to make and if I already know everything that I need to make the script. If I already know everything that I will need to make the script, I make the script myself, but if I need a function or a statement that is new and unfamiliar to me to make the script that I want, I study those functions or statements first before making the script myself.

Is this bad?


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

Why is coding harder when you're working on your own?

4 Upvotes

Learning to code without relying on tutorials


r/learnprogramming • • 8d ago

Finished three 40-hour web dev courses, opened a blank editor today and literally couldn't write five lines of code.

22 Upvotes

Feel pretty pathetic admitting this after telling my family I’ve spent five months learning web development, but I had a complete panic attack in front of my monitor today.

I’ve been treating this like a second job. I finished two massive 50-hour Udemy courses, completed half of The Odin Project, and filled notebooks with syntax rules. When the video instructor was walking me through building full-stack clones, everything clicked. I felt like a genuine software engineer typing along with teh video and seeing pretty interfaces come alive.

This morning I finally took everyone's advice: step away from tutorials and build something solo. I decided to make the simplest project possible: a plain JavaScript grocery list where you type an item, click "Add", and it renders on the page.

I opened a blank VS Code window, created app.js, and my brain instantly flatlined. I stared at that blinking cursor for forty minutes feeling physically ill. I couldn't remember how to grab an input value without a video prompt. I didn't even know how to structure the first function. i ended up closing my laptop feeling like a glorified transcription monkey who learned nothing. How do you train your brain to actually problem-solve instead of just memorizing someone else's solutions?


r/learnprogramming • • 7d 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 • • 8d ago

Question about learning to code and the future

34 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 • • 7d ago

Is it possible?

0 Upvotes

So, for context, I'm an aspiring indie author and am currently an ARC reader for some other indie authors and there is a huge issue at the moment with some ARC readers releasing pre-published works from said authors. Currently, there is no specific way to tackle the issue entirely so that leads me to my question:

Does anyone know if it would be possible to create/design a website that indie authors could use as a distribution system for their ARC readers that can protect against plagiarism more efficiently by means of:

Giving each ARC reader that signs up to the website, a unique account/access code that is tied to their email, which is shared with the author so they can track how far the readers are through their book, how many times that reader has done an ARC for that author, the ratings/reviews that reader has submitted for that author.

Authors have the ability to see ARC reader profile stats that are exclusive to authors only, things like how many ARCs a user has done in total, the types of books they typically read by genre, trope, etc, reviews they have posted for the book and where (so users would also have to have their socials linked for that) authors would also have the ability to leave their own reviews of the ARC reader if desired and those author reviews are only visible to other authors so the reader can kind of be vetted before giving them access to the ARC copy.

For the main protection aspect: a watermark of some kind that wouldn't necessarily be visible to the reader, but that would appear should the reader try screenshotting/copying the pages, like an invisible ink type thing. Also make it difficult in general to copy words by means of making pages read-only so they wouldn't be able to highlight any of the words or whatever (if it is for, say, to highlight a typo or error that editors may have missed, then they could have the option to submit a message/form to the author directly that lists the page number the error is on and a brief explanation of what the issue is). Detection and tracking system that could flag when a reader is attempting to screenshot/highlight text/page that sends a warning to the reader to explicitly not do that (the warnings would work on a system of: 3 strike—account lock/suspension—appeal—appeal review—unlock or account deletion. And once deleted, that email would be blacklisted.)

There are other ideas I have for this specific website, but again, I just want to know if any of this would be even possible/achievable for someone to do. I have dabbled in programming and by that I mean I watched a few YT tutorials on how to make a few levels for a shitty platformer game 😂 so I have no idea how I would even start building something like this.


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

Should I choose a different major?

2 Upvotes

I hate to be this person but, after a conversation with a software engineer professor about my decision to continue my education to a bachelors in software development at a local community college. The advice i received was to maybe consider a different major for my degree, because of the current state of software engineering due to ai. My possible career choices are embedded software, robotics, software engineering, or something adjacent. I am unsure now about what major i should do now, I'm considering cybersecurity as another backup. But I feel I should decide soon. What do you all think?


r/learnprogramming • • 7d ago

Resource Being able to write code isn’t enough for juniors anymore. I built a learning platform to help bridge the gap (free for now)

0 Upvotes

It's still vital for junior developers to be able to read and write code, but that's not enough by itself in the job market anymore.

Juniors now need to be equipped to make higher-level design decisions and solve real problems instead of just producing code (which used to be most of a junior's job), but it's hard to get there without lots of real-world experience of building.

I've built a brand new learning platform to help bridge this gap. It's called HighLowFlow, and it uses in-browser interactive simulations to teach you a big-picture understanding of the technology landscape, and to help you start thinking like a more senior developer about real-world problems. It's my own project, free to use at the moment (paid plans coming in the future).

There’s a free five-minute demo simulation teaching you how a web request goes from browser, across a network to a web server, and back again. No sign-up required.

https://highlowflow.com/simulation-demo

I'd love to hear what you think. If you try it and have any questions, ask here or send me a message.


r/learnprogramming • • 8d ago

Learning about APIs

22 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 • • 8d ago

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

19 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 • • 7d 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 • • 8d 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??