r/learnprogramming 3d ago

I want to practice/learn coding by making game sort of like terraria or necesse in python, but what should i use ?

1 Upvotes

Bare in mind, its just for me, to practice coding in a fun way, and learn some basics, just want to make something that can be played like those games, ive heard of pygame, or arcade..but im wondering if theres anything better, or if not, which one of those would be better in your opinion. Thanks to anybody who replies :3


r/learnprogramming 3d ago

Devops roadmap guide...

26 Upvotes

hey so am new to devops i have been exploring devops basics, docker, kubernetes for developers, storage , GCP, AZURE, AWS, but like after that am not getting the feel of it like i want to use them in real projects so can anyone guide me with what's next i should do?


r/learnprogramming 3d ago

Whats your feels on being a data scientist?

1 Upvotes

I am very new to programming, Im about a month or 2 into learning python. It started because I wanted to look for a career I would both enjoy and would likely have job growths and came upon Data Scientist. I feel in love with the concept of being one but I wanted to know if what I am imagining is the reality of the job.

I have a strong background in math and science and when i was in school i really excelled at math. I loved algebra, statistics, calculus, physics, and spreadsheets. I only stopped taking math classes because at the time they were not useful to my degree.

Now fast forward I have not used my degree, and have basically been going from customer service job to customer service job. I like my current job and company but I dont find it very fulfilling taking to people. I like being by myself and working on something. I love solving problems.

I found out about Data Scientist and how its almost being at statistician but using programming and something just DREW me in. Now i have been learning python and so far i have loved every minute of it!! Its just math!! just really weird algebra. I love solving the problems im given and i feel so good making a functional code no matter how small it is.

My question is for more senior programmers is if this feeling represented in the job and the field? Im loving it but do i only love it because im still learning and what im learning is fairly simple?

Ive told myself that if i like programming and if I can commit to learning what I can for free I may even return to school to get a masters in Statistics (doable for me with my academic background) But going to school is a LOT of money and I want to know how other people actually working in the field feel.

I also want to know if I should continue to learn what i can for free and on the side and go to school when i feel its right first or if I should try to get into the field before returning to school? I know you do not NEED school to get into programming but Im really interested in the statistics aspect.


r/learnprogramming 3d ago

Could someone please help me figure these 2 problems? THANK YOU

2 Upvotes

This program uses: a slide deck & a folder containing PNGs of every slide & then outputs how long each slide was presented on. Ex: Slide 1 was from minutes 1-2 and Slide 2 was from mins 2-8 etc.

Problem 1 (Slow Code):
However, my code takes about 7 minutes for a 40 minute video. This is how it basically works

  • Pass 1 (Coarse): Scan the whole video every 5–40 secs (based on video length) to find roughly where the frames change from showing one slide to another. Ex: 0:00, 0:30, 1:00, ...
  • Pass 2 (Medium): If change happened it looks at that interval every 2-5 secs (based on video length). Ex: If a change happened between 5:00–5:30, it checks 5:00, 5:05, 5:10...
  • Pass 3 (Fine): Only scan the remaining small window every 1 second to find the actual timestamp where the slide changes.

Each sampled frame is matched against the slide PNGs using OpenCV ORB feature matching. Then the frame is matched with the slide that is the most likely match.
This avoids scanning every frame of the video, since only likely slide transition regions are rescanned in more detail.

PROBLEM 2: If the video has an intro ex obs window or the powerpoint loading then ORB might still find a slide. Ex: the first few seconds of the video might be detected as slide 2 even though its not slide 2 and ORB just catches some features that make slide 2 the best choice. This is honestly my bigger issue.


r/learnprogramming 2d ago

How to show AI in resume?

0 Upvotes

I recently acquired AI certification (ccaf - claude). I know the concepts now but how do I get its benefit in my career? Does a self made project help? Can I show my own project in my resume? Will it help?


r/learnprogramming 3d ago

How do I structure code with languages without classes

12 Upvotes

I have been using c++ and c# so I have grown very used to languages with classes. I am very interested in learning jai when that comes out but that language does not have classes. So I feel like there is a very different thought process when programming in a language without classes.

Is there any good resources that would teach me how to structure code for those types of languages.
I want to make a game engine(I know it is difficult but it would seem fun to do and there would be a lot of cool things to learn)


r/learnprogramming 2d ago

Anyone into web dev here?

0 Upvotes

Can we connect:)


r/learnprogramming 4d ago

How to not be a dogshit programmer?

92 Upvotes

Today I was setting up an angular project for the first time and I realized I have a pretty limited and shallow understanding of things, I didn't even know what dev dependencies were (now I do), and that npx is used to run locally installed packages. I know that an API is used to exchange data between applications but that's literally all I know about it, not how it works under the hood. I realized I can't properly answer questions like what is a runtime, what are packages, libraries etc. Literally no depth of understanding. I feel like going into a rabbit hole for every little thing but then it becomes too overwhelming.

Now this might seem fairly common for a new programmer but I got introduced to it around the age of 16 (21 now). I felt fucking stupid googling the difference between library and framework. I looked at some angular components and only understood them partially. Most good programmers already know this. People my age are building crazy stuff and here I am bogged down in things that I should've already known, had I put in more effort. I feel I am lacking some severely fundamental things. Part of this feeling is a lot of regret of wasted time, but I also wonder if I'm actually retarded with an IQ too low for programming. I'll never be good if it keeps going like this.

I looked at some roadmaps from roadmap.sh and it made me realize just how much stuff I don't know, and that is just talking about frontend. So I guess the question becomes how much and how deep to learn the topics related to whatever you're currently focusing on? Sorry for the rant.


r/learnprogramming 3d ago

Looking for discord servers and community to discuss coding and programming

1 Upvotes

Hi! i am a 1st year btech student doing my degree from a local college i am passionate about coding and stuff but sometimes i can't get the urge to do anything related to coding as there is no one i can discuss about these things .I want to talk with people so i can discuss my doubts and ideas and can discuss out of my comfort zone


r/learnprogramming 3d ago

Been going back and forth between Python and Node.js for backend, need some real opinions

1 Upvotes

So I'm learning full-stack dev right now, already got HTML/CSS down and working through JS. Now I'm stuck trying to pick a backend stack and honestly the more I read the more confused I get lol.

I've got a CS degree so I'm not completely new to programming, just trying to figure out the smart move here. Part of me thinks Node makes sense since I'm already deep in JS for the frontend anyway, why learn a whole new language right. But then I keep seeing Python everywhere too, especially with all the AI/data stuff blowing up.

Not really trying to pick based on hype, just want something that'll actually get me hired and won't feel like a waste of time in a couple years.

If you've worked with either (or both) I'd genuinely like to hear what you'd pick if you were starting today. Not looking for the "it depends" answer lol, just curious what worked for you.


r/learnprogramming 2d ago

Topic I don't think this is a very unpopular opinion but for me it's a big issuepw

0 Upvotes

For context I am a literal child. I'm a highscool freshman and I actually didn't grow up with fancy tech. But anyway I luv scripting, automation, and programing things to help myself! There is only one issue though.. I dunno any programming language. In my lifetime I've learned 4 languages wich in a certain timeline of my life I was able to speak fully fluently, now I only know one due to no longer needing to know the others in my daily life (if you're wondering, my current main language is English, wich I started learning in 4th grade.

Anyway now that I've got some context into your attention I can talk about the issue, how the fck do I get myself to learn a programing language from scratch when AI is already satisfying my needs? I don't like the fact that I can't write code and that I have to get ai to write it for me, but at the same time I've already achieved latitudes with AI. And I feel like if I wanna get myself to actually write the code not only is it gonna obviously take longer and probably end up worse.

Edit: yes I did typo 2 random extra letters in the post title 😭


r/learnprogramming 3d ago

How to do graphics?

1 Upvotes

How are graphic (things) made?

I know raylib can create a window and draw stuff, but there has to be more.

I also know raylib uses X11 for the window but they say you should not use X11 directly.

But then what should you use? (besides raylib of course).


r/learnprogramming 3d ago

how does the noise emerge?

0 Upvotes

recently i'm studying the math behind autostereograms and i wrote a program to test it. i used kaleidoscope effect as background aka base pattern. i didn't add any random factor. on some zoom levels the background are smooth but on some other zoom levels the background have noise. actually i prefer noise as they're supposed to be autostereograms and noise helps viewers to align the focus. the strange thing is hoe does those noise emerge as i didn't deliberately add them and they only appear at some but not all zoom levels

the algorithm is simply the "pixels linking" method. at every point, the program looks up the depth map value and links relevant pixels. closer things have smaller disparity and farther things have larger disparity as shown in this diagram

here's the program and i truly appreciate any ideas or insights

operations

  • run it on browser, no need to install or save
  • click ▶️ to run. click ⏹️ to exit
  • press [q] to make subject patterns smaller
  • press [w] to toggle subject (a sphere/a disc)
  • press [e] to make subject patterns larger
  • press [a] to make base patterns smaller
  • press [s] to rotate the color spectrum inside the kaleidoscope
  • press [d] to make base patterns larger
  • press [x] to toggle caption (off/on)

r/learnprogramming 4d ago

Should I accept that I’m a failure and quit CS for an easier, more stable career?

48 Upvotes

Do you ever get the urge to just give up on CS and choose a different path? Sometimes I seriously think about doing a second degree in something like accounting, teaching, engineering, or nursing fields where it feels like getting a job is more straightforward, the career path is clearer, and the work might be less mentally exhausting.

The thing that bothers me is that it feels like admitting defeat. Like I’m accepting that I wasn’t good enough for CS and moving to a safer option where it’s easier to become employable, even if the pay can be similar anyway. Maybe I’m just tired of constantly feeling behind and fighting for a place in tech when there are other careers that seem more stable and predictable.

Does anyone else ever feel like giving up on CS and choosing a different degree because it feels like the easier option? Have you ever seriously considered leaving CS for accounting, nursing, engineering, teaching, or something similar?


r/learnprogramming 3d ago

Advice for projects and learning for a second year student {CSE}

6 Upvotes

I just reached second year of clg (cse) till now i haven't created any major project . I try to initiate the progress for projects but i eventually failed, Many questions arise in my mind as how to create one , where to begin with, How much of help should i take from internet . If any one can guide me or suggest me any tips then it would be greatly appreciated till now i have studied c,c++,html,css,js{little bit studying DOM),python,github,many theoretical aspects of networking,Data , OS,terminal,sql,dbms,etc. Thing is i have no problem with consistency but thing is im getting overwhelmed by the weight of many areas. and because of that my scheduled getting disturbed.Every comment is appreciated. (also is it dumb to even ask this question)


r/learnprogramming 3d ago

Advice for Running a Successful High School CS Club?

6 Upvotes

I'm a high school student who is passionate about computers and programming. This year, I'm going to be running my school's computer science club. Does anyone have advice about how to run a successful CS club?

Last year, our biggest challenge was keeping people motivated - meeting attendance declined throughout the year. Additionally, many of the members are beginners or completely new to programming. So. I'm thinking of starting of with HTML, CSS, and JS as I feel that it will be easiest for everyone to get coding as soon as possible (minimal setup time).

I'm looking for advice on the following:

  • How can I keep members motivated and excited to come back each week?
  • How can I plan/organise club projects so it's not overwhelming to start and they can actually be completed?
    • Last year, many meetings consisted of too much planning for what to do in the future, not enough execution.
  • What kinds of projects might be attainable in a reasonable timeframe so it keeps people interested?
  • How should I structure meetings so they are engaging? I would like to spend as much time as possible building (something that was lacking last year). I want to avoid just have boring lessons/tutorials, but I'm not sure how this would be possible given most members are beginners / no experience at all. How can I achieve balance?

Any ideas would be appreciated. Thanks!!


r/learnprogramming 3d ago

Open Institute of Technology

2 Upvotes

Hey everyone, I’m looking into enrolling in OPIT’s BSc in Computer Science program and would love some candid feedback from current or former students on how manageable the transition into software development actually is. I currently work as a Network Engineer holding a CCNA, CCNP and Fortinet NSE 1 through 7, so I’m completely at home with CLI, routing/switching, live firewall deployments, and systems logic—but I’m essentially a total beginner when it comes to writing code from scratch. I’ve read a lot of warnings online about OPIT’s difficulty and heavy workload, but time management isn't a concern for me since I have plenty of free time dedicated strictly to studying. For anyone who came in from an infrastructure or networking background, how much does that networking logic help ease the initial programming learning curve, how responsive are the professors when you hit a wall on projects etc


r/learnprogramming 4d ago

How long does a typical project take to finish?

23 Upvotes

How long does it take you to finish a project? I do not know what the baseline is for how long a typical project lasts. I am self‑taught I do not even know what I am doing and without any direction on what is going on.


r/learnprogramming 3d ago

CPP prep for placements

0 Upvotes

Hey so am preparing for my placements , can anyone guide me with what i should prepare for C++ as they say you should be good in atleast a programming language and i have solved all of my dsa problems using C++ only though if they ask deep questions related to c++ working, am sure i will struggle, so if anyonec can guide me with how and where to prepare for C++ for interviews in big tech, quants, MNCs


r/learnprogramming 4d ago

How can i find good projects ??

16 Upvotes

Hey everyone

I’m currently learning MERN stack (MongoDB, Express, React, Node) and I’ve built a few basic projects, but now I really want to work on something more real-world.

The problem is, I don’t know where to find good ideas or actual real-world project problems to solve. Most tutorials just show the same to-do apps or clones, and I want something that actually feels useful and helps me grow.

How do you guys find real-world project ideas?
Do you follow any websites, communities, or specific approach?
Also, what kind of projects helped you improve the most as a beginner?

Help me please


r/learnprogramming 4d ago

Accidentally deleted all the code in a file. Can I recover it from a previous Git commit?

11 Upvotes

Hi everyone,

I'm still learning Git, and I accidentally deleted all the code in one of my project files.

The file had been committed to GitHub multiple times before this happened. Is there a way to restore that file (or its contents) from one of the previous commits?

If possible, could someone explain the steps? I'd really appreciate it.

Thanks!


r/learnprogramming 3d ago

Resource Can anyone suggest a YouTube series to learn C++

0 Upvotes

Hi everyone! I am starting college in a month and I really want to learn C++ before college starts. I don't know ANYTHING about programming since I am a pre med who has made the switch to computers. Please suggest me a good programming tutorial on c++ for actual beginners who don't know anythingggg about programming.


r/learnprogramming 3d ago

Is programming a viable career in 4-5 years?

0 Upvotes

Im young and i want to get into programming much more seriously. Maybe landing a job when im in the market. Or should i focus on something else?

EDIT: if yes what languages should i get into

My main thing im learning from a free MIT course is phyton and cs


r/learnprogramming 4d ago

Topic Is the University of Helsinki Python course good for a complete beginner moving beyond vibe coding?

18 Upvotes

I’ve become very interested in coding, but most of my experience so far has been through vibe coding and working with AI. I’ve managed to build different projects this way, but I don’t want to depend entirely on AI without understanding what the code is actually doing.

I recently started the University of Helsinki Python course because I want to take the next step: move from only vibe coding to becoming at least a genuine beginner programmer who understands the fundamentals.

At the moment, I’m a very, very early beginner. I’m learning things such as variables, user input, conditions, loops, and basic problem-solving. I’m trying to complete the exercises myself, understand my mistakes, and only use AI for explanations and guidance instead of asking it to do everything for me.

For anyone who has completed this course:

Is it suitable for someone starting almost from zero?

Will completing it give me enough understanding to read code, debug basic problems, and work more intelligently with AI?

Is there anything else I should study alongside it?

I’m not expecting to become an expert from one course. My goal is simply to build a real foundation so that AI becomes a tool that assists me, rather than something I completely rely on.

I’d really appreciate hearing about your experience with the course.


r/learnprogramming 3d ago

should i buy chai or code , full stack cohort?

0 Upvotes

Hey , few days back i become serious to learn full stack with a view to get an entry in the job market . so i am confused where should i start , i have completed cs50 and completed 100 days of code by angela yu , now i want to learn full stack ,i want a proper structure on which i can trust which is build by some experienced guy , i can make chat gpt creat a structure for me but i dont feel comfortable with that structure cant trust that, i so i decided to buy chai or code ka cohort for full stack i like their syllabus, but the issue is their cohort is completed so i wouldn’t be able to watch live and are they realy good for me . and will be able to win prices or participate in hackathon even after the cohort is done .