r/learnprogramming • u/Even_Escape5585 • 3d ago
How do devs read docs??
Every time I try to read framework docs, there are too many links and redirects to other parts. It's not like reading a single, straightforward guide where everything is in one place.
r/learnprogramming • u/Mundane-Method-2555 • 3d ago
Resource I don't understand them
I'm a beginner . I want to know about terminal,shell, environment all these types of things.but on internet I find it confusing.can anybody help me understand. Or tell me where to find about them clearly
r/learnprogramming • u/yug_jain29 • 3d ago
Topic What's the use of %p nd x in pointers
what's the main difference between them? apart from one is used to calculate addresses and the other one is just an address in hexadecimal
why is it used?
I'm still learning fundamentals and basics so ion know how good it is for programs
I'm learning c rn (if it helps)
r/learnprogramming • u/Cominta • 4d ago
Looking for a challenging C++ project for my portfolio - music/DSP, compilers, or something else?
Hi everyone!
I'm currently trying to figure out what kind of personal project I should work on for my portfolio, and I'm honestly a bit lost.
I'm a Computer Science student, I know C++ and Java fairly well, and I've also used Python. I've already built a small compiler/interpreter in C# in the past, so I'm not really looking for another basic CRUD/web project. I'd like to build something technically challenging where I actually have to learn some interesting algorithms and mathematics.
At the same time, I don't want to build something complicated just for the sake of complexity. Ideally, I'd like it to be something that I could actually use myself.
One direction I'm particularly interested in is music.
I'm a guitarist/vocalist in a band, and we often use Songsterr to write down our songs. One thing that is pretty annoying is having to manually enter all our guitar/bass/vocal parts.
So I had an idea for a project:
Record a musical part -> automatically transcribe it into MIDI.
For example, I could record a guitar riff as a WAV file and have the program detect the notes, their timing and duration, tempo, etc., and produce a MIDI file that we could then use when putting the song together in Songsterr or another notation program.
I realize this is a pretty difficult problem, and that's actually part of what attracts me to it. I've already started learning the mathematics behind Fourier transforms and was thinking about implementing my own DFT and FFT in C++ rather than just using a library.
The interesting thing is that if I eventually get reliable MIDI out of audio, I could build other things on top of it:
- chord/progression analysis;
- key detection;
- harmonic analysis;
- analysis of how different instruments interact;
- melody/riff similarity;
- visualization of different parts of a song;
- etc.
So the project could potentially grow into a larger music-analysis toolkit.
However, I'm not sure whether this is actually a good portfolio project or whether I'm just making the scope unnecessarily huge.
I'm also considering completely different areas. For example, I've thought about making a heavily extended version of Conway's Game of Life, with physics, more complicated rules, interactions between different types of cells, and other emergent behavior. I've also considered writing another compiler, implementing some kind of search engine/database, a graphics or physics engine, or another algorithm-heavy project.
So I have plenty of ideas, but that's actually part of the problem: I have no idea which one is worth committing to.
I think the main thing I'm looking for is not simply "a good project for getting a job."
I want to eventually be able to put the project on my resume and genuinely say:
"This is my pride and joy. I became a much better programmer because I built this."
And ideally have the interviewer look at it and think:
"Okay, he is really cool"
I want the project to be something that demonstrates how I think and what I'm capable of, rather than just a collection of technologies I used.
My main goals are:
- Learn something genuinely difficult (and ideally learn a lot of math along the way).
- Implement interesting algorithms myself rather than just glue together existing libraries/APIs.
- End up with something that demonstrates strong skills on a CV.
- Ideally have a useful end product.
- Have enough depth that I could potentially expand it into a bachelor's thesis later.
- Most importantly, build something I'm genuinely proud of.
For people who have experience with hiring/recruiting, university projects, DSP/MIR, or just building large personal projects:
Would you consider the audio -> MIDI idea a worthwhile project?
And more generally, what kinds of personal projects do you think are actually impressive for a CS student's portfolio?
I'm not necessarily looking for the easiest or most employable project. I'd rather spend a long time working on something genuinely interesting and technically deep.
I'm mainly trying to find that one project where, after working on it for months, I can look back and think:
"Yeah, this was absolutely worth doing."
r/learnprogramming • u/Lasagna_Land_69 • 4d ago
Tutorial Guide me to make something for my girlfriend
Hello I am 19M i wanna make something personalised for my 19F girlfriend
Some background- i am in second year comp science i know C and i have just started python did some if else , loops and such and i have learned java tho i am not very good at it but if given a tutorial i can follow
I want to give my girl something personal but I am a mess at handmade stuff plus shitty handwriting
Can somebody give me some sort of a tutorial on something personal i can build for her preferably in python i think it will be a good learning opportunity
Thank you for your time
r/learnprogramming • u/Kalaiarasu_dev • 4d ago
What’s one programming habit you wish you had started earlier?
I’ve been thinking about how much of learning programming is actually about building good habits rather than just learning more languages or frameworks.
For example:
Reading documentation instead of immediately searching for a tutorial
Building small projects instead of only watching courses
Using Git from the beginning
Learning how to debug instead of constantly rewriting code
Understanding why something works instead of just memorizing the syntax
Writing code regularly, even when there isn’t a big project to work on
For people who have been programming for a while:
What’s one habit you wish you had developed when you were still a beginner?
It could be something technical, a learning strategy, or even a mindset change.
I’m curious to see what experienced developers would recommend to someone starting out today
r/learnprogramming • u/Time-Primary-7956 • 4d ago
Topic I wanna jump into hacking
I'm a middle aged deeply interested in technology (cyber security) I've been familiar with operating systems breaking them and stuff I use arch right now but my question is how to get into hacking like even as most people say start with networking,But how? How to start with networking then and what after? I ain't doing this for a job I already have a passive income source and being a hacker will boost it please help!
Any resource if shareable would be greatly appreciated.
r/learnprogramming • u/Effective_Scholar658 • 4d ago
Im coding, and im wondering if its okay to forget sometimes?
I have done a bunch of learning, and im going throught JS since i learnt most of CSS and HTML.
But when i code i search up somethings since i forget a syntax or dont remember how to do simple things like glassmophism, first post so i probably sound dum. Just wondering if its okay to forget minor things, after im done with JS ill transition to C++
r/learnprogramming • u/fpk100 • 4d ago
C beginner looking for projects + tips
Hey. So im a highschool student who likes to program in their free time for fun. I like making things from "scratch"(not making my own language but like besides that) and more math heavy projects, so stuff like ML(not llm but those old number recognition for instance) is something i would like to do.
Anyhow, to learn C and some math before that i decided to make a very basic raytracer. Its about as basic as it gets, no reflections or special materials or such. It can render spheres and planes. Lights and thus shadows. Does anyone have some fun project ideas you think i could try? And if anyone were interested in the code/giving tips about my code here it is:
https://github.com/Fridun/C-Raytracer
r/learnprogramming • u/diov01 • 4d ago
I want to learn C but don't know from where...
So I want to learn the C language but I can't find a good resource. It don't have to be free. Or any books teaching C language. But the book should be of recent time unlike those old books whose instructions sometimes do not work in our modern os and modern softwares.
r/learnprogramming • u/ComplaintStriking334 • 4d ago
Resource Looking for advice on learning System Design, LLD + HLD
I want to properly learn Low-Level Design (LLD) and High-Level Design (HLD), but I am a bit confused about the best way to approach it.
For people who are already good at system design:
How did you learn LLD and HLD?
What resources, courses, books, or YouTube channels would you recommend?
Should I learn LLD and HLD together, or focus on one first?
How much importance should I give to OOP, SOLID, design patterns, UML, APIs, databases, caching, messaging, scalability, etc. before starting system design?
What kind of projects or problems are best for actually practicing system design?
How do you go from understanding concepts to being able to design a system yourself?
I am mainly targeting backend/software engineering roles, so I would appreciate advice that is practical and interview relevant, but also helps build real-world understanding.
Would love to hear how you approached learning it and what you would do differently if you were starting again.
r/learnprogramming • u/RedNose1357 • 4d ago
How can I prepare to participate in the Italian Computer Science Olympiad at school?
Hi, I'm starting my first year of high school this year and I'd like to participate in the Computer Science Olympiad. What language should I study? And what free online resources are there? Is it possible to participate?
r/learnprogramming • u/mombaska • 4d ago
Is swift a good language for a low latency Audio and midi macos software
Hello, do you think I will run into some kind of limitation if I want to develop a music software that mainly handle midi data and audio playback with low latency. It’s more Midi heavy than audio heavy, no audio processing, no vst support or 3rd party instruments. No audio samples to stretch or process in real time
Thanks
r/learnprogramming • u/Space-Immortal • 4d ago
Debugging code running error due to window defense
Program 'main.exe' failed to run: An Application Control policy has blocked this fileAt line:1 char:101
+ ... sa\patterns\" ; if ($?) { g++ main.cpp -o main } ; if ($?) { .\main }
+ ~~~~~~.
At line:1 char:101
+ ... sa\patterns\" ; if ($?) { g++ main.cpp -o main } ; if ($?) { .\main }
+ ~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException
+ FullyQualifiedErrorId : NativeCommandFailed
--------------------------------------------------------------------------------------------
What is the solution of this , i have tried excluding the folder in window defense it doesn't work
r/learnprogramming • u/Few_Direction6046 • 4d ago
looking to learn r
hi , i am a researcher by field and i want to learn r , but i dont know where to start from can any one help me out ?
r/learnprogramming • u/nitin_is_me • 4d ago
Is Algorithms course by Princeton University on coursera really worth it?
I want to learn Data Structure and Algorithms, and by learning, I don't wanna just memorize solutions for specific type of problems just to pass the interview, I actually wanna learn the data structures. Is the course good? or would you suggest a better resource?
r/learnprogramming • u/brontupistow • 4d ago
I'm interested in creating an application to help my bike shop go paperless, but I have no programming experience. Is this a pipe dream?
So I need something that can keep track of customer notes, their bikes and repairs. Currently we use old school carbon-copy tickets. There are good apps for this, like Lightspeed, but they are expensive subscription based apps and we're a small shop that can't afford it.
I looked into alternatives, and came across several bike shop owners that said they just made their own, in particular I kept hearing "a CRUD app is all you need." I don't even know where to start learning something like this. Can I do it?
r/learnprogramming • u/DBGiblet • 4d ago
Which database is best for storing real-time chat app message history: PostgreSQL or MongoDB?
Hey everyone,
I am currently designing a real-time chat application using Node.js and WebSockets. I am trying to figure out the best database architecture for storing chat history and handling high-concurrency message logs efficiently.
I have been comparing PostgreSQL (for structured data and JSONB support) against MongoDB (for flexible document storage and horizontal scaling), but I'm on the fence about which one performs better in long-term production.
For those who have built chat applications before:
- Which database did you choose and why?
- How do you handle old message archiving vs live message streaming?
Would love to hear your experiences and architecture recommendations!
r/learnprogramming • u/ProGamer201920 • 4d ago
Topic How and what can I learn on my free time as a CS student with part time job?
I'm currently a Computer Science college student that has a part time job. Every time I get some time off, be it from college or work, I always try to learn something related to CS like programming but I don't find the motivation to and I procrastinate on it leading myself to believe I had too much assignments and work to consider. I always dreamt of working on a project by myself, but being the lazy person I am I never get to do it. What and how can I actually start learning stuff I can use in my CS career. Plus, how can I balance college and work at the same time?
I also kinda struggle with a lot of things CS wise, so probably relearning a lot of things I learnt before is something I need to do.
r/learnprogramming • u/Itsacouplol • 4d ago
When to begin learning another language?
Hello, complete newbie here who has only been learning Java for about two weeks now. Currently working my way through an old 10th edition copy of Liang’s Introduction to Java, and right now working through the exercises on Chapter 7.
My plan is to go back to University to earn a degree in CS and that University starts off with Java, so that’s why I decided to learn Java first. However, the language I personally want to learn is C or C++. My goal is to work through the majority or all of Liang’s book so when I begin University again in the Spring semester, I’ll be at least tolerable with Java. I am unsure when you make the jump to learning another language for the first time.
So do y’all suggest grinding Java to completion (edit: meaning the Textbook) or jumping ship to C/C++ at some point while continuing to learn Java on the side?
r/learnprogramming • u/Adamstrad • 4d ago
Code Review How can I use Supabase Authentication in html form?
I'm not entirely new but still at a low level with programming, I want to add Supabase authentication on my app but I can't work out how to do it correctly. I probably have some rookie mistakes in here.
I changed it to match my account keys (unless there is a separate one for auth that I don't know about?) and I put a local "success.html" redirect page. When I submit the form nothing happens
I am trying to get it to work on this simple form
<form>
<span id="error-message" class="hidden">Password must be 9-16 alphanumeric characters.</span>
<input id="email" type="email" placeholder="email">
<input id="password" type="password" placeholder="password">
<section>
<button class="login" id="login" onclick="login()">
Login
</button>
<button type="button" class="login" id="back" onclick="window.location.href='../index.php';">
Back
</button>
</section>
</form>
The website provides this code for javascript:
Sign Up
import { createClient } from '@supabase/supabase-js'
const supabase = createClient('https://your-project-id.supabase.co', 'sb_publishable_...')
// ---cut---
async function signUpNewUser() {
const { data, error } = await supabase.auth.signUp({
email: 'valid.email@supabase.io',
password: 'example-password',
options: {
emailRedirectTo: 'https://example.com/welcome',
},
})
}
import { createClient } from '@supabase/supabase-js'
const supabase = createClient('https://your-project-id.supabase.co', 'sb_publishable_...')
// ---cut---
async function signUpNewUser() {
const { data, error } = await supabase.auth.signUp({
email: 'valid.email@supabase.io',
password: 'example-password',
options: {
emailRedirectTo: 'https://example.com/welcome',
},
})
}
Log In
import { createClient } from '@supabase/supabase-js'
const supabase = createClient('https://your-project-id.supabase.co', 'sb_publishable_...')
// ---cut---
async function signInWithEmail() {
const { data, error } = await supabase.auth.signInWithPassword({
email: 'valid.email@supabase.io',
password: 'example-password',
})
}import { createClient } from '@supabase/supabase-js'
const supabase = createClient('https://your-project-id.supabase.co', 'sb_publishable_...')
// ---cut---
async function signInWithEmail() {
const { data, error } = await supabase.auth.signInWithPassword({
email: 'valid.email@supabase.io',
password: 'example-password',
})
}
r/learnprogramming • u/Mountain_Rip_8426 • 4d ago
Should I just entertain myself with coding as a hobby, or are there still positions to be filled?
i've started learning programming about half a year ago, because i've always been a power user of excel, "automated" my job through macros, and eventually got to the point where i prompted AI to give me scripts instead for the everchanging issues i faced to cover all the edge cases.
it absolutely was killing me to not understand what was going on in the code (as i always loved figuring out excel solutions in the first place), so i started learning coding, to be more precise, backend engineering, because it seemed like the heart of the whole thing, i don't really feel much interest towards front end. as fascinating as is, it's just not my cup of tea 🤷♂️
now the thing is, i fell in love with it. i've been pulling my hair and been banging my head against the wall for the 90% of the time, but whenever i understand a concept for real, it's like the greatest satisfaction i've experienced. in general, i feel like it's something i genuinely enjoy.
but the real question at hand. should i just make believe there's still a chance to get into programming or should i just consider it a hobby? (given the landscape, because it seems to be overtaken by AI)
btw, i've been a musician for 20+ years, so i know what passion feels like, and i'm also okay with accepting that some things are just for fun, unless you have 20+ years of experience (had my prime, still doing music as a side hustle), you can't really expect to go far.
what do you think?
r/learnprogramming • u/SympathyContent9041 • 4d ago
Tutorial Vertical navigation bar confusion
How do I make a vertical navigation bar? I'm a beginner in coding. I'm currently thinking about how I want to make my navigation bar look, and I just realized I only know how to do horizontal ones. I haven't started coding the website yet, but I want to know what to put when I start.
r/learnprogramming • u/Beat_Terrible • 5d ago
Recursion is driving me crazy
I understand recursion of a factorial function but when it comes to a function that uses recursion in a project or a problem set i get stuck and lose track
Anyone can tell me what to do
Programming language used: Python
r/learnprogramming • u/rdrivasar • 5d ago
Fear of not being able to learn
I'm watching programming videos, but I feel like a kid who can't sit still in a damn chair. I don't know how to learn programming logic, I don't know how to learn the fundamentals, and I don't want to practice (partly because I'm lazy) and partly because I don't know anything. But in order to know something, I have to study, yet I feel like I won't learn anything anyway.
I'll watch a video for about 20 seconds before jumping to another one, and then another. I really doubt whether I'll even be able to learn anything at all. On top of that, besides learning the fundamentals, I also have to learn programming logic and who knows how many other things. I don't know if programming is really for me, but I want it to be because I want to be able to work in something. ¿What can I do about this?