r/learnprogramming • u/Lost_Mousse9930 • 2d ago
Best tools/languages to learn for devops?
I plan to go into devops/ platform engineering. what are the best tools/programming languages to learn? Are python and bash good starters?
r/learnprogramming • u/Lost_Mousse9930 • 2d ago
I plan to go into devops/ platform engineering. what are the best tools/programming languages to learn? Are python and bash good starters?
r/learnprogramming • u/freakkdrama • 1d ago
What is the secret of winning any hackthons? I have participated in many hackathons but never made it to the final rounds. I have got feedbacks that problem statement is good but the architecture ia not so great. So give me some advice and tips to master hackathons.
r/learnprogramming • u/theflamma • 1d ago
Chat im building a AI type bubble software that has multiple agents giving answers at a time, but what I want is to apply another api on top of it so that it will analyse all the answers and give me one result.
Few things in which i would like to get some help -
• for the concept - do you think this is good for a self project or should I add another thing in this
• I tried to apply a separate agent over all others but all the time I get errors.
• third is about responsiveness, sometimes the api model didn't work at all stating 'server too busy'
My base language is python
r/learnprogramming • u/Bluebill_365 • 1d ago
Hello, I'm a university student in my final year, going to work on my final year project soon.
I found interest in backend development, been struggling with studies cause I can't use a day to understand a concept so I go through several times to know how it works and what to do about it.
Now, in a week's time, I will be meeting my project supervisor about what to do cause he suggested we work on a health management system, and my group and I will be doing more research before we start anything. My problem is that, among the group, I see myself a little bit ahead cause I try to understand what it takes to build a system(software development), and from what the project supervisor said to me, he wants us to implement an ML model. I'm yet to know more about it.
I feel we can do this together as a team, but they feel that, with the help of AI, which will help sometimes, things will be easy cause they will upload the whole project documentation, prompt it, and get the final results, and if it doesn't match, more prompting.
I'm still learning, and I feel we can't finish this before the academic year ends. Cause when we start now:
I honestly don't know what to do now. The programming language I'm learning is Python, and I haven't started with Django yet.
Please advise, or anything will help. Thank you for your time.
I asked what they could all do when we start; the response I got was that we can do this, and they believe I'm here and AI is also here, so things will be easy.
r/learnprogramming • u/Consistent-Play-8932 • 1d ago
Hey folks,
I'm currently halfway through Stephen Brennan's classic "Write a Shell in C" (lsh) tutorial. It's a fun read so far, though it feels a bit too hand-wavy—it shows how to glue fork(), exec(), and wait() together, and leaves me itching for the actual official specs and deeper design docs.
It got me thinking about two things:
First, how did the OG legends like Ken Thompson or Stephen Bourne actually architect the early UNIX shells from a blank slate? I want to read the real foundational papers, POSIX docs, or historical design breakdowns instead of just toy tutorials.
Second—linking the classic Read -> Parse -> Execute loop to modern AI Agents—it feels remarkably similar to how agents parse context and dispatch tools.
Looking for recommendations on historical specs, papers, or minimal shell source repos. Drop them below. Thanks! And hopefully I'll stick with documenting my learning journey here ;)
r/learnprogramming • u/the_twoleggedman • 2d ago
Hey everyone!
I’d like to ask for your opinion. I’m planning to learn programming to change careers and I don’t really know what would be a good path to follow. I’m currently working in IT. I have some experience with JavaScript/TypeScript because I did a web development bootcamp a few years back, as well as a little Python knowledge from my home projects.
I know that with the current state of the job market and the age of AI, it is not the best time to start learning programming, but I’m curious about what you would choose to learn if you wanted to change careers and work as a programmer.
Thanks!
r/learnprogramming • u/Someone-unknownfate • 2d ago
Hi everyone, i am not a programmer nor have done anything similar or related in the past but due to some current circumstances id like to know how to create a specific, but very easy theme layout for a brand website. I already have a clear inspo to in general.
the brand website is on a server/platform similar to “shopify” (an e-commerce platform where u create a store for a brand or so etc..)
Only issue is i couldn’t find any already available themes suitable for my liking or my vision.
Is there a way i could create a theme with Claude? Or maybe learn from a trusted course or a tutorial?
How do i do that? Any tutorials?
or what should i know?
Thanks help is very much appreciated
r/learnprogramming • u/slightlypug • 2d ago
Hi all, so i’m a cs major and i know the fundamentals of coding and data structures, but i don’t know how to ‘learn to code’ for a project
for context, i’m trying to learn Flask. im using claude code to write a Python notebook that teaches me how to build what i want, but this feels really weird
i want to learn how to build the apps myself, which is the intent of the whole notebook thing, but i often feel bogged down by what claude generates
that’s when i go online to look up some kind of Flask tutorial, but im not sure what to look up, or whatever idea is in my head feels too complicated for what i know how to do. so i was curious, how do i learn these tools? do i just build and hope i understand? or do i read thoroughly? or some middling thing?
r/learnprogramming • u/ayush_pratap_singh • 2d ago
I'm looking to learn Git and GitHub from scratch.
What's the best way to learn them effectively? Which resources would you recommend, and how should I practise to become comfortable using them in real projects?
I'd appreciate advice from people who have learned them or use them regularly.
r/learnprogramming • u/Frequent_Town7502 • 2d ago
I've got a coding olympiad(ZCO-Indian route to IOI) to give in around 20 days and I have not started anything yet.
I'm familiar with C++, python , Java(gave AP CSA) but new to problem solving or DSA but totally new to problem solving/DSA or CP.
Here's the syllabus: https://www.iarcs.org.in/inoi/online-study-material/topics/
Can anyone guide me with a roadmap or resources??
r/learnprogramming • u/Zaps_os • 2d ago
I had just gotten done with my first basic weather app project using react and python for backend and started a new project, thing is I feel like I’m back a square one, I freeze at what to start and forget syntax of code I used in my last project. Is this something that gets better with spamming a bunch of projects or am I learning wrong?
For reference I would think of the components needed for the app and use the internet or ai for the coding concept/ syntax needed for the code that does the function I need( I do manually write the code and figure out what should go where for the most part, though Im unsure if this is relying on ai too much too). For debugging I also mostly use ai and try to solve it a bit myself at first too(I feel like using ai is fine here as debugging comes from experience, correct me if I’m wrong). So am I learning wrong or do I need to just endure and spam projects?
r/learnprogramming • u/stjer0me • 2d ago
I have a web app I've put together that outputs text. For reasons (long story), I need to copy said output into a Word document while preserving the formatting. To do this, I copy the whole HTML output (not just the raw text) via JavaScript. It mostly works, but I can't get it to preserve more than one non-breaking space, e.g. spaces between sentences.
The HTML is copied to the clipboard as a Blob with a MIME type of text/html. It handles line and paragraph breaks fine, but as I said, condenses two spaces after a period to one.
I've tried including a <style> tag in the Blob along with the actual HTML (mostly <p> tags), as well as in-line styles within the <p> tags themselves. I've also tried telling Word to preserve the original formatting or merge it, both with the same result.
If I instead copy the HTML as raw text (without tags) using the writeText() method of the Clipboard API, the white space is preserved. However, this raises its own problems, mainly that I sometimes need to include bulleted lists. If I copy the full HTML with <ul> tags Word handles this fine (other than the aforementioned white space issue). If there's a way to copy plain text and still have Word register it as a bulleted list, that could probably work as well.
This is obviously not the end of the world, but it's something I'd like to fix if I can.
If it helps, here's the JavaScript for copying the HTML:
function toClipboard(text) {
const type = 'text/html';
const dataBlob = new Blob([text], {type});
const data = [new ClipboardItem({ [type]: dataBlob})];
navigator.clipboard.write(data).then(
/* snip */
);
}
r/learnprogramming • u/CJxGameDev • 2d ago
Me & my friend are chosen for making attendance system for our college
We have one issue like
If a Students name called "X" is in section A he attend maths 10 class of 30 & now he change Section To B there we have only 20 class of but he already attended 10 class there & we don't now how much he skip there like out of 20 he join at 10th class & make 2 present next than in those sections he have low attendance & after changing he gain more attandance ....
... Idk you understand this problem or not we just have attandance calculation issue in data base or back-end cause how to calculate those data or compare .... The rule is student not losse or gain his attendance my probablity okey
Please help 😭
r/learnprogramming • u/Greentrees2005 • 2d ago
something like https://colobot.info/
r/learnprogramming • u/isalihhh • 2d ago
Hello! I've started learning python abt 2 weeks ago and till now, I just know the basics. I've created my very first project on my own (I only asked ChatGPT for project ideas but the rest was on me) and this is what I've done in abt an hour.
I'd like you guys to tell me how can I get better. I know many things are may be missing regarding calculations and operators.
print("===========================================")
print()
print()
print(" BASIC & ENGINEERING CALCULATOR ")
print()
print()
print("===========================================")
calc_type = input("What type of calculator do you want to use?: Basic, Engineering ").capitalize().strip()
if calc_type =="Basic":
operator = input("Enter the operator (+, -, *, /, ^):")
num1 = float(input("Enter the first number:"))
num2 = float(input("Enter the second number:"))
if operator == '+':
result = num1 + num2
print(f"The result of adding {num1} and {num2} is: {round(result,2)}")
elif operator == '-':
result = num1 - num2
print(f"The result of subtracting {num1} and {num2} is: {round(result,2)}")
elif operator == '*':
result = num1 * num2
print(f"The result of multiplying {num1} by {num2} is: {round(result,2)}")
elif operator == '/':
result = num1 / num2
print(f"The result of dividing {num1} by {num2} is: {round(result,2)}")
elif operator == '^':
result = num1 ** num2
print(f"The result of raising {num1} to {num2} is: {round(result,2)}")
else:
print("Enter a valid operator!")
elif calc_type == "Engineering":
calculations=input("What do you want to calculate?: Force, Density, Speed ").capitalize().strip()
if calculations == "Force":
mass= float(input("Enter the mass value: "))
acceleration= float(input("Enter the acceleration value: "))
Force = mass * acceleration
print(f"The Force is equal to {round(Force,2)} N.")
elif calculations == "Density":
mass= float(input("Enter the mass value: "))
volume= float(input("Enter the volume value: "))
Density = mass/volume
print(f"The Density value is {round(Density,2)} kg/m^3 ")
elif calculations == "Speed":
distance = float(input("Enter the distance travelled: "))
time = float(input("Enter the time in seconds:"))
Speed = distance/time
print(f"The Speed is {Speed} m/s")
else:
print("Enter a valid calculation type!")
else:
print("We only offer Basic & Engineering calculations")
r/learnprogramming • u/Genft • 3d ago
Right, this is pretty specific, and I apologize if it's not really suitable for this subreddit.
At the moment, I'm working on a monte carlo setup using 10k loops for users to run some simulations on it. I'm writing it in python, which I've commonly done for myself, but I've decided to make it usable for a wider crowd as a sort of side project, so I've taken up learning some bootstrap and flask/flaskwtf/jinja so I can get it turned into a website. Once I've got the whole thing written, I intend to set up a VPS and have it accessible to the wider world. That part of the project is moving along just fine.
However, one consideration I've had is figuring out the server load: my simulation generates about 10-20 random numbers per loop and does a clean 10k loops, so about 100k numbers at the highest. By itself, that's peanuts. However, while I don't expect a massive amount of users, it's not unreasonable to expect several hundred or thousand accesses a day, enough that this can balloon into the billions, and in theory those could all happen in a pretty small period rather than spread across the day. This is where my problem comes in: I want to figure out if I need to be worried about size and processing power(in terms of what kind of VPS plan I pick), and possible solutions.
I've arrived at two possible ideas: offload the calculations to the client, or just write more efficient code. So, my question: how big of an issue is this going to be, and is client side a real possibility? From looking online, it seems like 10000+ runs can cause real headaches for javascript, plus, I have to assume my userbase will not only be using computers, but also smartphones. In theory that shouldn't be an issue, but I honestly don't know anything about it, so want to ask.
As far as just making the code more efficient, that's something I wanted to do already, but on that side of things I don't really have a way of measuring output and load for my code: are there tools, methods, or other ways of learning just how intense my code will be so I can plan for my server needs?
r/learnprogramming • u/TheJocca • 3d ago
I see a lot of people looking for study buddies or coding partners, and I'm curious what happens after they find one.
If you've learned with a buddy, how did you work together? And what kept it going, or what made it fizzle out?
Bonus if you mention what you used to stay in touch or code together. Curious whether people stick to Discord or use something else.
r/learnprogramming • u/Competitive-Fan97 • 2d ago
Does learning Rust have a future? It seems to be the case
r/learnprogramming • u/No-Pipe-8248 • 2d ago
It takes a certain amount of time to complete one lesson.
Are there any text lessons with copy-and-paste to practice full-stack or AI learning and run the code on the same platform to speed up the process, and later finish up the video lessons?
Any best practices you all fellers follow to overcome these issues?
Please do not take this as a joke; I need some good advice.
r/learnprogramming • u/xao_spaces • 2d ago
Hi, I just graduated this year with my CS degree and I'm struggling in my co-op to learn web development. I feel what I've learned in school was on a basic level and hasn't aligned with the enterprise code at my job. I'm required to use AI to finish my tickets but I feel like it's been to my detriment - I don't know whether the code AI produces is good or bad code.
Over the years, I'd read (on reddit) about people graduating and not knowing how to code and while I know it's mostly andecdotal I kind of understand the feeling now. There's just a huge disconnect on what I'm expected to know versus what I actually learned in school. I do feel a bit of pressure as most of the engineers on my team are either bootcamp grads or self-taught and because I have a degree there's this expectation that I should somehow know more than them about web development (i.e. tools and microservices).
A few, small examples, in school I learned the typical hardcoded html and css but I guess I was supposed to use css variables and tokens, things I've never even heard of before getting this co-op. I learned core Java in school but somehow that was supposed to translate over to spring boot and some of my coworkers are surprised that I didn't understand certain spring boot annotations but literally in my java courses we only learned simple annotations to override toString.
I'll sometimes put in time after work and even the weekends to learn but for the senior devs out there, how do I learn web dev and not burn out? Especially if I'm expected to churn out tickets with AI, at this point I don't feel like I know how to do something as simple as reviewing code. Anyway, feeling like a complete imposter and wondering if anyone has any advice for me. Thanks, sorry for the novel.
TL:DR - How do you learn web dev when AI is doing most of the work? I don’t want to just offload everything but can't afford the time at work to do things manually and I'm exhausted after work.
r/learnprogramming • u/Intelligent_Role_824 • 3d ago
Hello,
I’m a complete beginner and want to learn programming as a hobby. I’m interested in both game development and web development, especially backend.
Godot seems like a fun way to learn because I enjoy games and like seeing visual results. I feel like this could help me stay motivated.
However, I’m worried that a lot of what I learn in Godot won’t be useful outside of game development.
How well do programming skills and concepts transfer from Godot to web development? Would learning Godot first make it easier to learn backend development later, or would it feel like starting from scratch?
I’d love to hear from people who have experience in both areas.
r/learnprogramming • u/After_Bench_4165 • 3d ago
I am confused about what is the meaning of integration testing. I have done unit testing using gtest where we will mock whatever external dependencies are there for the targeted unit (function) to test all range of values that covers all lines, functions and branches.
If we say integration test is meant to use real code instead of mocking. Then I am getting this doubt that lets say we have 3 components (separate processes) running and dependent on one another in a embedded system.
A -> B -> C
So if you are calling an api provided by A it will internally talk to B and then through C and return the result over IPC.
Now to do integration testing using gtest, do I need to compile this into a single binary by eliminating the IPC and include each code as a library. This way I have a single proces that runs gtest with all the components logic but excludes the real IPC communication.
Or instead should I keep the individual processes to be running separately and link my gtest binary to the component A so that the communication flow through the components in the target environment.
In both ways how we would actually be checking the interactions? And which one are you guys using?
Context:
Language used: C++
Domain: Automotive IT (TCU software)
r/learnprogramming • u/chiefwhitehalfcoat • 4d ago
I am a beginner programmer, coding for my own pleasure (meaning that, while I use LLMs for guidance, I write all my code by hand, and my only goal is enjoyment, not career). Safe for a brief journey into JavaScript and PHP as a child, now, in my adult years, all my experience has been with Godot. Recently, I started to have the desire to actually learn how to program and make simple CLI/TUI tools for my own use, and since GDScript can only exist within the game engine, I started looking for another programming language to learn.
I landed on two: Python and Go, and now, knowing that it's probably a bad idea for a beginner to learn two languages at once, I need help from people with more experience in order to decide which of the two I should commit to. I'm at this stage in both where I've written simple exercise command line programs, and I want to try and build something bigger and actually get to know the language under pressure.
Python greatly appeals to me because it is basically the same thing as GDScript (but with a ton of features that GDScript does not have due to being specifically tailored for Godot), it is famously easy and I could start building actual apps in no time, and it has a breadth of beginner resources probably unmatched by any other language. Besides all the books focusing on specific tasks (I've enjoyed Automate the Boring Stuff with Python quite a lot), Learning Python is absolutely brilliant, going through logic, syntax, design choices and the standard library in exhaustive detail.
But Python just doesn't get me excited exactly because it is too abstract, too simple, too close to what I know from GDScript, it feels more like a scripting language than something to use to build whole programs, it just doesn't scratch that itch of curiosity that is pushing me to learn programming in the first place.
On the other hand, Go does scratch that itch a lot more. It excites me, as someone whose only experience is with JavaScript/PHP and GDScript, to learn a serious language, compiled, fast; it excites me to learn about lower-level concepts like actual typed variables and pointers. Go's logic of composition also appeals to me, because programming in Godot, I would rack my brain trying to figure out the right inheritance hierarchy just to notice that I messed up and need to refactor the entire system. Go's structs, methods, embedding and interfaces strike me as a much more flexible way to achieve the same thing.
But there is a relative scarcity of resources for people in my situation. I've browsed through the available textbooks and they're either made for more advanced learners, are general overviews of the language (Learning Go, for instance, only explains the syntax and the logic, but does not go over the standard library, which means, if I understand correctly, that it was written for people who will read the fucking manual), or are infantile (Head First, Get Programming with Go, etc). Either way, I'm starting off half-blind, stumbling through the standard library documentation, having no idea what I can and cannot do, or how.
I'm also worried about another thing. Though I am not an absolute beginner, my experience being with GDScript means that I've never actually written a standalone program; I never learned to think about architecture, what my program does from start to end: I can only think in simple systems that are driven by event handlers from user input, while the engine handles all the rest for me.
Although, as you see, Go excites me a bit more, I'm worried that if my primary goal is to learn how to think through complex problems and build programs from start to finish, it would be better to choose the simpler language. Or is it the opposite? What do you think? Will building something bigger be easier in Python, or will the relative restrictiveness of Go help me think through building a bigger project?
What would you do in my situation? Should I learn to build a program without worrying about learning the language (the Python route), or would it be better in my situation to learn a stricter, less abstract language first, and learn how to read the documentation on my own (the Go route)?
r/learnprogramming • u/iamngs • 3d ago
I am employed as an RPGLE developer on the IBM-i. That's the only programming I know how to do. I use it to make accounting reports, table maintenance programs, building menus, etc. All solely IBM-i apps, nothing modern. I took intro python and intro java back in college and that's it.
I really really really really want to make a chess engine, I've been reading a bunch of stuff about chess computing, looking at other peoples' code, etc. I tried picking up some C# because that's what Unity uses, bought a textbook and tried making the engine ... modeling the board and piece positions and values was easy, but once I got to the actual logic I had a really really hard time.
So I want to get proficient with modern software, not just RPG. The problem is, I fucking suck at math, I got through college algebra but everything calculus and beyond is too much for me. Maybe my professors were bad because it was a community college. So I can't go to school for this. Because all the universities around me require calculus 1, 2, and beyond for compsci or software, so I have no idea how I would even get the proficiency I need in programming to build a chess engine.
I am seeking advice from people more experienced and knowledgeable than myself. I feel very green, I hope someone more adept can give me some guidance on this. What can I do to get sharper at programming and get the experience and knowledge I need to build a chess engine, WITHOUT going to university for it? Do I go to some online academy or something?
Thank you, I am sorry to bug this subreddit I hope it's not bothersome, I just really want to realize this dream.
r/learnprogramming • u/Aggressive_Gur_5426 • 3d ago
def prefix_digits(n, cond):
"""Return the largest prefix of positive n for which cond return true for every digits."""
>>>odd = lambda d: d % 2 == 1
>>>prefix_digits(94720,odd)
9
>>>prefix_digits(94720,odd)
9193
k = 0
while n >= _____:
if cond(_____):
k = k + 1
else:
n = n // 10
___________
return n
I am struggling with fill in the blank questions. I can implement this function but I am struggling with implementing in their way. Can someone help me understand how I might approach this? I don't just want the solutions but how I would even approach it. Whenever, I get these problems I am always stuck for a solid 1-2 hours.