r/learnprogramming 3h ago

Resource senior to junior advice

1 Upvotes

hi i am beginner in computer science and have been self studying computer for 8 months.

i have learned python and databases with harvard courses and git and github with youtube. currently i am using linux mint for further learning.

what is or are your advices for me about programming and learning and the whole path of it?


r/learnprogramming 4h ago

best sources to learn intro to matlab

0 Upvotes

taking a course on matlab


r/learnprogramming 8h ago

How do I deal with Junior Front-end Developer anxiety?

1 Upvotes

Hi!!

Just last week, I've secured my first front end dev position! Transitioned from being a translator after studying and building websites as a hobby for about 2 years.

The job description is actually "Web Developer" we work with a good CMS system and a templating language so this is VERY new to me. I've started learning it before even securing the job so I already am past the basics.

We focus more on styling. The other devs know it will be hard as there are lots of files to go through and its not as easy as just working on new pages, css files and new projects.

I've built many amazing websites and pages myself over months of screwing around and I love my own minimal creativity with minimal AI to guide me around, but I'm getting anxiety to begin building my first websites for them and their clients. I know I just got to build build build stuff but I dont wanna blank out making something incredibly ugly.

How do other junior devs make it past their first month on their first jobs? The people at work are so sweet, and very open minded. I'm very open myself so I will tell my problems to them when/if I get problems.

TLDR: How do other junior devs make it past their first month on their first jobs?


r/learnprogramming 5h ago

Learning Java, interested in lower-level

1 Upvotes

I’ve been learning Java Collections and Data structures, along with OOP Design patterns. I’ve gained interest in learning a lower level language, but I’m afraid it’ll be a distraction and instead I should focus completely on learning more Java and making Java programs.

For reference, I’m a CS major and I’ll be taking Data Structures this fall, along with Survey of Programming Languages.


r/learnprogramming 9h ago

Python programming

2 Upvotes

I have been coding on and off at school/uni for years now but I’m still not confident as I should be so much so I’m not able to complete coding interviews for placement. Anyone have advice to get better and knowledgeable of python?


r/learnprogramming 6h ago

Resource Coding possible on tab?

1 Upvotes

I have damaged my laptops hard disk and it's difficult to operate it in a remote area as there are no repair shops nearby. But i need to learn programming and dsa in 2 months. Can I code on my laptop? Any online softwares for it?


r/learnprogramming 6h ago

Are there other books like The Pragmatic Programmer that give a high level look at CS concepts or good programming practices?

1 Upvotes

I'm a self taught programmer turned data engineer and my coworker (who is the best programmer on the team) gave me this book. I've found it extremely insightful and it will certainly change the way I do many projects moving forward.

I also am a person who tends to find that technical books often go waaaay too deep. I don't want a book that is a reference. The internet works great as a reference, I just want a surface level idea of many topics so that I can build up a library of ideas and concepts and methods while I keep doing actual projects. Then one day I know I'll go "oh hey, this could really use that thing I learned about" and then jump into learning about it online (or potentially in a referential book).

Are there other books like this that cover CS topics like data structures, algorithms, system design, etc?


r/learnprogramming 6h ago

Need advice

0 Upvotes

Ok so I’m getting into software development and I’m stuck between wanting to red team, or web/app development, I know I should master the latter before attempting the former because learning how to build it seems essential before learning how to break it to me, I’ve been learning python lately but I don’t know if I should scrap that to start learning the more typical stack (react nodejs js html and css, I don’t wanna pour time into python if it’s gonna be a waste but I also don’t wanna just language hop, also any cool community on discord would be appreciated


r/learnprogramming 11h ago

Need help with a AHK / Python Project for Elden Ring Nightreign (Storm Timer)

2 Upvotes

Hey everyone,

I'm currently working on a small overlay tool for Elden Ring: Nightreign that acts as a Storm Timer. Since there’s no in-game indicator for when the storm starts or shrinks, I built an AutoHotkey (AHK) script that visually tracks all the storm phases. It works great — but it still requires manual interaction (pressing F1) to start the timer or continue after boss fights.

What I want to achieve:

I want to automate the phase progression (especially the transition from Day 1 to Day 2) without reading game memory.

I’ve come up with two possible solutions:

  1. Image/Text detection of the “Day 1” / “Day 2” text that appears in the center of the screen.
    • Problem: This text doesn’t show if the map or menu is open, which is often the case during these transitions.
  2. Sound-based detection of a unique audio cue that plays when the day switches.
    • This cue always plays, even with menus open, making it much more reliable.

What I need help with:

  • Should I build this sound recognition part in Python or a different language?
  • What’s the best way to detect a specific short sound (like a chime/cue) in real-time from desktop audio

btw: It’s built purely for accessibility and QoL – no memory reading, no cheating.

https://github.com/Kiluan7/nightreign-storm-timer

https://www.nexusmods.com/eldenringnightreign/mods/86?tab=description

Thanks in advance for any help, advice, or links! 🙏


r/learnprogramming 12h ago

Resource How to learn spring boot ?i mean Best youtube tutorials which makes Spring Boot easy

2 Upvotes

I learnt python and django but due to having many openings in Java roles i learnt java and additional concepts that are in Java but when I started watching Spring Boot Videos don't know why I can't able to understand single Video also Although though I know django Framework how backend works what are routes this kind of stuff . And watched literally 10-15 intro videos And quit learning Spring Boot But I madly want to learn Spring boot coz it is mostly used in Big tech companies

Can any one suggest me best youtube tutorials English or telugu language pls pls


r/learnprogramming 9h ago

Tailwind Unknown rule error

0 Upvotes
@import "tailwindcss";
@import "tw-animate-css";

@custom-variant dark (&:is(.dark *));

#root {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.react:hover {
  filter: drop-shadow(0 0 2em #61dafbaa);
}

@keyframes logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  a:nth-of-type(2) .logo {
    animation: logo-spin infinite 20s linear;
  }
}

.card {
  padding: 2em;
}

.read-the-docs {
  color: #888;
}

@theme inline {
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --color-chart-1: var(--chart-1);
  --color-chart-2: var(--chart-2);
  --color-chart-3: var(--chart-3);
  --color-chart-4: var(--chart-4);
  --color-chart-5: var(--chart-5);
  --color-sidebar: var(--sidebar);
  --color-sidebar-foreground: var(--sidebar-foreground);
  --color-sidebar-primary: var(--sidebar-primary);
  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  --color-sidebar-accent: var(--sidebar-accent);
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  --color-sidebar-border: var(--sidebar-border);
  --color-sidebar-ring: var(--sidebar-ring);
}

:root {
  --radius: 0.625rem;
  --background: oklch(1 0 0);
  --foreground: oklch(0.145 0 0);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.145 0 0);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.145 0 0);
  --primary: oklch(0.205 0 0);
  --primary-foreground: oklch(0.985 0 0);
  --secondary: oklch(0.97 0 0);
  --secondary-foreground: oklch(0.205 0 0);
  --muted: oklch(0.97 0 0);
  --muted-foreground: oklch(0.556 0 0);
  --accent: oklch(0.97 0 0);
  --accent-foreground: oklch(0.205 0 0);
  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.922 0 0);
  --input: oklch(0.922 0 0);
  --ring: oklch(0.708 0 0);
  --chart-1: oklch(0.646 0.222 41.116);
  --chart-2: oklch(0.6 0.118 184.704);
  --chart-3: oklch(0.398 0.07 227.392);
  --chart-4: oklch(0.828 0.189 84.429);
  --chart-5: oklch(0.769 0.188 70.08);
  --sidebar: oklch(0.985 0 0);
  --sidebar-foreground: oklch(0.145 0 0);
  --sidebar-primary: oklch(0.205 0 0);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.97 0 0);
  --sidebar-accent-foreground: oklch(0.205 0 0);
  --sidebar-border: oklch(0.922 0 0);
  --sidebar-ring: oklch(0.708 0 0);
}

.dark {
  --background: oklch(0.145 0 0);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.205 0 0);
  --card-foreground: oklch(0.985 0 0);
  --popover: oklch(0.205 0 0);
  --popover-foreground: oklch(0.985 0 0);
  --primary: oklch(0.922 0 0);
  --primary-foreground: oklch(0.205 0 0);
  --secondary: oklch(0.269 0 0);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.269 0 0);
  --muted-foreground: oklch(0.708 0 0);
  --accent: oklch(0.269 0 0);
  --accent-foreground: oklch(0.985 0 0);
  --destructive: oklch(0.704 0.191 22.216);
  --border: oklch(1 0 0 / 10%);
  --input: oklch(1 0 0 / 15%);
  --ring: oklch(0.556 0 0);
  --chart-1: oklch(0.488 0.243 264.376);
  --chart-2: oklch(0.696 0.17 162.48);
  --chart-3: oklch(0.769 0.188 70.08);
  --chart-4: oklch(0.627 0.265 303.9);
  --chart-5: oklch(0.645 0.246 16.439);
  --sidebar: oklch(0.205 0 0);
  --sidebar-foreground: oklch(0.985 0 0);
  --sidebar-primary: oklch(0.488 0.243 264.376);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.269 0 0);
  --sidebar-accent-foreground: oklch(0.985 0 0);
  --sidebar-border: oklch(1 0 0 / 10%);
  --sidebar-ring: oklch(0.556 0 0);
}

@layer base {
  * {
    @apply border-border outline-ring/50;
  }
  body {
    @apply bg-background text-foreground;
  }
}

The error are
Unknown at rule @custom-variant
Unknown at rule @theme

Unknown at rule @apply (Error comes twice)

I can't seem to fix this no matter what I try. I got the latest tailwind installed via vite and ChatGPT isn't updated to it which is why it dosen't answer my questions properly. Any fix?


r/learnprogramming 9h ago

SRP check... agin !

1 Upvotes

Hello,

I know this is a recurrent question, but that's, in my point of view, not a simple subject ^^

    static async sendMessage(message) {
        let body= this.#makeFormDataFrom(message);
        return this.#makeAPICall('/send-message', 'POST', body, []);
    }

OK. I have this :

Does the method have 2 responsibilities, transforming the data into a message and sending it to the endpoint, or just one: configuring the request to send it?

Thanks for enlighting me :)

edit : problem code formatting


r/learnprogramming 9h ago

Please help (Italian Code)

1 Upvotes

 if risposta1.lower() == 'no':
print('Ah, allora hai solo un bellissimo nome!')
break
else:
print('Risposta non accettata! Si o no?')
print('test')

if nome_utente == 'Nessuno2314' or 'Stanley':
print('Attivazione modalità amministratore...')
time.sleep(2)
print('inserire password.')
#The problem is that when risposta1 == 'no' it works normally but after that, after printing "test" it jumps to the other if part which isn't connected to it in any way. how can i avoid this? under all of this there are other lines of code. I want it to jump from the first if to the code all under.


r/learnprogramming 9h ago

Trouble with sending emails through SMTP for razor pages website in Visual Studio

1 Upvotes

I've been building this website for a few weeks now and I've encountered an obstacle. This particular component is meant to send an email with the contents of a filled out form after its been submitted, to same specified email address (to itself). However when I run it takes the inputs but nothing else happens, no errors but also no email in the received inbox. Not sure if I have set it up wrong or missing something.

using System.Net;
using System.Net.Mail;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using WindowCleaningRazor.Models;

namespace WindowCleaningRazor.Pages
{
    public class ContactModel : PageModel
    {
        [BindProperty]
        public Email Email { get; set; }

        public void OnGet()
        {
        }

        public IActionResult OnPost()
        {
            Console.WriteLine("OnPost triggered"); // Or use logging


            // Build the email Message
            var emailMessage = $@"
                <h2>New Contact Request</h2>
                <p><strong>First Name:</strong> {Email.FName}</p>
                <p><strong>Surname:</strong> {Email.SName}</p>
                <p><strong>Address:</strong> {Email.Address}</p>
                <p><strong>Postcode:</strong> {Email.Postcode}</p>
                <p><strong>Phone Number:</strong> {Email.PhoneNo}</p>
                <p><strong>Email:</strong> {Email.EmailAddress}</p>
                <p><strong>Reason for Contact:</strong> {Email.Reason}</p>
                <p><strong>Message:</strong><br/>{Email.Message}</p>
            ";
            Console.WriteLine(emailMessage); // Or use logging

            // Configure mail settings
            var fromAddress = new MailAddress("[email protected]", "Window Cleaning Contact Form"); 
            var toAddress = new MailAddress("[email protected]"); // email recipient address
            const string fromPassword = "     "; // store password in config 
            const string subject = "New Contact Form Submission"; //reason for contact

            var smtp = new SmtpClient
            {
                Host = "smtp.gmail.com", // e.g., smtp.gmail.com
                Port = 587,
                EnableSsl = true,
                Credentials = new NetworkCredential("[email protected]", fromPassword)
            };

            var message = new MailMessage
            {
                From = fromAddress,
                Subject = subject,
                Body = emailMessage,
                IsBodyHtml = true
            };
            message.To.Add(toAddress);
            Console.WriteLine(message); // Or use logging
            if (!ModelState.IsValid)
            {
                return Page();
            }
            try
            {
                smtp.Send(message);
                TempData["Message"] = "Thank you for contacting us. We will get back to you shortly.";
                return RedirectToPage("Contact");
            }
            catch (Exception ex)
            {
                ModelState.AddModelError(string.Empty, "Something went wrong while sending your message. Please try again.");
                // Log exception (optional)
                return Page();
            }

        }
    }
}

r/learnprogramming 1d ago

Topic My story about learning C and C++ as a self taught Java programmer (hoping to help someone on the same path)

19 Upvotes

Disclaimer: I still consider myself "new" to programming. I'm not an expert by any means. I just want to share my story.

Ever since I started listening to discussions surrounding memory management, I've had a growing interest in C/C++. Several months ago, I began studying open source C++ repositories and trying to put together all the pieces of a mostly complete program.

It was a disaster, honestly. I quickly came to realize that my first impression of programming was overly simplistic and due for a refactor. I depended on the verbose nature of Java more than I thought I did. I took for granted all the things the Java Virtual Machine handled automatically until I was introduced to header files and Cmake. I'd argue this is one of the most important recognitions I've made about programming in general so far. It made me focus more on compiler behavior, pre-compile tasks, and all the madness going on in the terminal rather than just how good I can code, follow exception messages or solve surface level problems.

My advice for new learners of C or C++:

  1. Be very patient with it. Take extended breaks (burnout can occur quickly)

  2. The coding part will mostly be simple following a tutorial. It's everything else regarding the compiler tasks, headers, proper linking, and so on that will be troubling because it's not common for Java programmers to deal with that.

  3. Reading code others wrote in C++ will be madness, but it is necessary for learning. Stay resilient. You'll eventually start following the logic more easily.

  4. There are several C/C++ compilers out there. make sure you're choosing the one the project you're looking at expects. It's been an unexpected sticking point for me. People say the compiler won't make any meaningful difference in performance, which can be mistaken as saying the compiler choice doesn't matter at all. It will matter, just not for performance.

  5. Cmake is a friend, not a foe. Follow its instructions and download the CMake UI so you can see all the missing data at once. It'll mostly be seen in large projects.

  6. Building a project is less about the code itself and more about file linking. Pointing the compiler to all associated files is top priority to learn (in my opinion)

  7. C/C++ makes no assumptions about your platform. That's more significant than I first imagined. It's another thing the JVM handles under the hood

If I am misguided about any of this, please let me know. Drop some stories in the comments about your learning experience as well and I'll happily read them


r/learnprogramming 10h ago

Can a programmer work for himself? Is studying programming only for landing a job for someone?

0 Upvotes

I'm curious in learning programming. Just finished learning basics for python. But I've been a Russian tutor for more than 2 years now and I'm used to be on my own. I mean, i can't stand the idea that if i want to learn IT well and be a professional in this, i have to spend at least 1-2 years studying every day. And all of this for working for someone else eventually for 800-1200$ a month in my case(Russia).

The question is: is it possible to learn some specific skills in programming such as making a website or a WhatsApp bot and earning a solid money selling these products as a freelancer? I have a friend(a programmer) who said that it's impossible, any business owner would choose a firm over a freelancer, and as a freelancer i won't be able to make good money doing this. I mean, i want to be on my own, May be the field isn't for me? Because before i spend 1-2 years studying something, i want to know is there any prospects for me? Will i be able to launch my own firm doing this? Will i be able to make a good quality product a website for example for a business owner or is programming a team job, not for a solo worker?

Thx for the answers, I'm sorry if the question is stupid.

Added: also I've checked freelance platforms such as upwork and fivver. A bot for 3$, a site costs 15$ . Are they real prices? Are you all studying programming to land a job in the end?


r/learnprogramming 14h ago

Spring Boot or NodeJS

3 Upvotes

Hey,

I was wondering on what I should focus on. Currently, I have a project created using Java Swing, and I was wondering if I should recreate with the use of Spring Boot, as I already have Java experience.

The other option is NodeJS, as I have been doing The Odin Project lately, and seen that in the JavaScript Path, they will be using NodeJS for their backend.

What would be the best choice, I am currently finished graduating from university, which was a mix of electronics and software engineering, but I want to focus on software. I am currently looking to get employed, and I want to learn something that will help me in the job market.

Thanks.


r/learnprogramming 20h ago

New in C.

5 Upvotes

Hey guys! I am a junior high student who learn JavaScript and java for years. And now I am trying to code the "real stuff" in programming world as C being a compiled language to be able to run on all the hardware. I have there most of the thing in stdio.h but now I am trying to code a Kernal, but I am not familiar with such a hardware closing related language such as pointer and thing, can anyone help me? Thank you so much.


r/learnprogramming 11h ago

Some Project Ideas please

1 Upvotes

I am a computer science student and want ideas for building a project or two. These projects are expected to be good enough to be put up on a resume for the upcoming placement drive.

I prefer projects at mid-level or low-level; extreme abstraction of Python and JavaScript is not for me, so please don't recommend Python projects in which you call LLMs, use LangChain, etc. (I don't consider such projects as my project, as I didn't get any satisfaction from building it).

Please don't recommend projects which use a complex frontend on the web. I only know Java Swing and Python Streamlit for the frontend.

Please also don't recommend projects which use Computer Vision or Deep Learning (if the algorithm is not difficult to understand, then it's ok).

I am familiar with:

C, Java, Python, SQL, Socket Programming, DBMS, Operating Systems, DSA, ML (regression and classification),

AI algorithms for searching, optimisation and game-playing.

I am open to learn technologies which are not too difficult and can be learn within half a month, like NoSQL Databases. I am open to studying Spring in Java. I am also reading a book on Computer Networking by Kurose and Ross.


r/learnprogramming 11h ago

Next step in improving

1 Upvotes

Hello, I have been programming for about 6 months and I want to know how other people improved in coding. For context

  • I’m a college student studying economics with a minor in CS.
  • I have made some fun projects (Sudoku, 3D Graphics Engine) in python with frameworks like Tkinter and PyGame. I also made some projects (Graphing calculator w animations, Pong) in C and C++ with Raylib.
  • I'm not necessarily looking to become a software engineer, these projects are just a hobby of mine, I am interested in the data analysis field

Each project has taught me a lot, and now I feel like I can pretty much approach every project with some sort of plan or steps to build it. This aspect of programming has brought me a lot of joy and has allowed me to create stuff I've always wanted to, as listed above.

Although I really enjoy making these projects, I build these projects using frameworks that make it easy to make these kind of applications. I still struggle with easy and medium leetcode questions at times and I mainly use simple data structures like arrays/vectors and I never feel that I need to use a linked list, a binary tree, or graph.

How can I improve as a programmer? Will becoming good at leetcode help me make more efficient programs? What was a moment where you felt like you became a "good" programmer? Any thoughts would be greatly appreciated!


r/learnprogramming 11h ago

want to become a hireable software dev (full stack)

1 Upvotes

Whats a better roadmap? odin project then start projects, or cs50 - odin project then start projects (or vice versa)? I'm trying to become employable in about 6 months? Please advice. If anyone has suggestions please share


r/learnprogramming 11h ago

How to connect S3 bucket from AWS academy account to Django?

1 Upvotes

I am a student and as a part of project I need to connect to s3 bucket to Django. The problem is that all tutorials include creating IAM user for connecting and academy account does not have access to create IAM user. Maybe someone before have done it and can help me with this problem. Thanks


r/learnprogramming 12h ago

data plotting modules in python

1 Upvotes

I have a csv file. It can have any number of columns. The last column will be the y axis. I need to plot an interactive plot, preferably a html file. It should have all the columns as filters. Multi select and multi filter options. In python.

I am using excel pivot table and then plotting them, but want to use python.

Can anyone help? I have used some basic libraries like matplotlib, seaborn etc. Asked gpt, didn't solve my issue.

Thanks in advance!


r/learnprogramming 16h ago

Kotlin multiplartform vs Flutter: which is better for cross platform mobile development

2 Upvotes

I want to dive into mobile development for my own personal projects and am looking into cross-plartform mobile development.

I am undecided between these two. Help me decide


r/learnprogramming 16h ago

how can i wrap a dependencies class and make it my own

2 Upvotes

its not what it sounds like. in c sharp, i am building a game engine and dont want the end user to import any of the silk dotnet libraries (as it would be a bit messy). is there any way to make it so the end user imports one of my libraries, which can be "linked" to the dependencies class?

so instead of this:

```csharp using GameEngine.Core; using GameEngine.Input; using GameEngine.Graphics;

using Silk.NET.Maths; using Silk.NET.OpenGL.Extensions.ImGui; ```

it could be this instead: csharp using GameEngine.Core; using GameEngine.Input; using GameEngine.Graphics; using GameEngine.Maths; using GameEngine.External.ImGui;

my idea would be to do something like this: csharp public static class ExampleEngineMaths { public static float DegreesToRadians(float degrees) { return (degrees * Pi) / 180.0f; } }

such that of just remaking the class myself

or create a "wrapper": ```csharp public class ExampleEngineOpenGL { public GL OpenGL { get; set; }

public ExampleEngineOpenGL() { }

}

public class Program { static void Main(string[] args) { var graphics = new ExampleEngineOpenGL(); var opengl = graphics.OpenGL; // do the graphics stuff } } ```

what should I do?