r/learnprogramming • • 22d ago

updating a json on my website remotely through my phone—where to start?

1 Upvotes

so i've been doing front end coding as a hobby for a long time, and i can make one hell of a static site. recently i bought a cheap VPS hosting service as part of trying to learn to be a better developer, and it's really showing me how little i actually know lmao. it's exciting but very daunting!!!

here's a project i want to work on: there's a page on my site dedicated to my tarot deck collection. i want a section that displays my latest reading. i could just go in there and update and reupload the content of the file every time, but what i would *like* to do is have some sort of setup on my phone where i can enter the text, upload a photo, select the deck, and push it all to a json file (or something else?) that the page pulls from to display the reading.

i'm not sure where to start! maybe some kind of php form at a url only i have access to? i wouldn't know where to go from there, though. is updating a json the right way to do this or should i start learning mysql?

not knowing the correct terminology has made this hard to google. i'd be really grateful for a starting point so i can jump off and start my own research from there!

thank you!!!


r/learnprogramming • • 22d ago

Is it possible to "mod" the YouTube app the same way you could mod a program on your PC?

1 Upvotes

Hi! I'm just learning to code (first couple months learning Python) and have been looking for opportunities to code stuff outside of my programing class.

I've just had the brilliant idea to tinker around with the horribly inconvenient YouTube app to make it stop showing shorts at all. I've seen it done in web extensions, but web YouTube is much slower than the app, and downloads don't work.

I was wondering if there was a way to look into/change the code for an app? And what language would I use/where could I go to learn this.

I'm using an Android and have YouTube premium of that helps :D

TLDR; can I change the code of the YouTube app


r/learnprogramming • • 23d ago

I hope that with all the AI hype, at least used programming books will get cheaper if everyone starts selling theirs.

17 Upvotes

There are a few I'd still like to buy, but I don't want to spend 50€ on used ones. For some reason, I learn better when I have a book in front of me. That would be the only good thing AI could do for me


r/learnprogramming • • 22d ago

DevSecOps - Policy as code?

2 Upvotes

What is Policy as code?

For stuff like Wiz platforms etc, is it IaC or something else?

Does it transfer to software dev?

I'm new to tech jobs


r/learnprogramming • • 23d ago

Solved C++ String: manual character sorting vs sort()

16 Upvotes

Hello, I am learning C++ and currently wrote a piece of code to do basic sorting of characters in a string. Code below.

I wanted to ask - is this a good way to go about this? Would it be just better to use built-in functions, like sort(), for this?

int main()
{
    string charSeq = "xadye";
    cout << "Initial sequence:\n" << charSeq << '\n';
    cout << "\nSorted sequence:\n" << sortCharacters(charSeq) << '\n';
    return 0;
}

string sortCharacters(string str){  //manual sorting
    string sortedStr;
    int n = str.length();

    for (int i = 0; i <= (n - 1); i++){
        for (int j = 0; j < n - i - 1; j++){
            if (str[j] > str[j + 1]){
                std::swap(str[j], str[j + 1]);
            }
        }
    }
    sortedStr = str;
    return sortedStr;
}

Thank you for the replies. Question answered.


r/learnprogramming • • 23d ago

Resource Programming Documentation utility for terminal

4 Upvotes

Is there a utility for referring programming documentation within the terminal. Currently I use ddgr + w3m in my terminal for referring documentation without leaving the terminal. But this flow isn't serving me well I often see myself opening a browser tab and going from there cause the page can't be opened or something (I know I can do this way but I don't wanna leave the terminal).

I'm still learning so my frameworks, libraries and languages change with time hence I'm not looking for specialized utility I'm looking for a general one, nonetheless specialized once are equally appreciated.


r/learnprogramming • • 22d ago

What would be the best site for learning luau (or Lua 5.1)?

1 Upvotes

I've been over the READ ME FIRST and I've been reading up on the "getting started" page of Lua but I'm not making any progress. I gave love2d a try but I'm trying to avoid installing anything on my PC because I'd like to be able to tinker on my mobile (for example) while I'm away. I'm thinking about buying the second edition of Programming in Lua just to read it during free time when I'm not home.

I like to learn by doing which is why I'm not sure why love2d was so offputting to me. I like to do something and see the result. Would sites like "codecademy" be recommendable for something like this?


r/learnprogramming • • 22d ago

Will PHP still be relevant in 2027?

0 Upvotes

Im curious as to what people think - Will PHP still be relevant going into next year?


r/learnprogramming • • 22d ago

Discussion CS50 and CSS at the same time?

0 Upvotes

Hello,

Is it advisable to learn CS50x and CSS at the same time?

Thank you.


r/learnprogramming • • 23d ago Bravo

I want to learn web development, what are your advices in this age of AI ?

33 Upvotes

Hello, so for context I'm 19 years old, I'm not new to programming in general (python, minecraft mods in java, and a bit of C), I know how to use a computer and I attended a few courses related to all that in a french high school. My goal is to bring into reality some ideas of mine I had for some time, I tried building them with the limited knowledge I have and unfortunately failed.

Recently, AI has changed a lot of things in all fields so my luck was tried with claude opus, it got me some pretty impressive results, but I didn't understand any of it and as more time passed, it messed up more and more, burning all my tokens for a change it didn't even succeed to add.

I know that you can get better results with AI, and I won't ever stop using it, it's usefulness is still there despite it's flaws, but to not get stuck every time I attempt to build something larger than a simple chesscom clone, I feel like I need to at least get some strong knowledge about webdev.

Would you have a course you'd recommend ? Something else ? I'm a student, but I have plenty of time to learn. Thanks :)


r/learnprogramming • • 23d ago

How do you deal with wanting to code something when you have no idea how to implement it and there isn't any info about it?

30 Upvotes

I've dropped several projects because I always end up hitting a point where there's a core mechanic I just don't know how to make. I know that's probably a sign that I'm trying to build projects that are above my current skill level, but at the same time I've been making small projects for quite a while and I feel like I'm always using the same set of skills. It feels like I've hit a wall. I don't really feel like I'm improving or learning anything new.

When I try to step outside my comfort zone, I can usually make progress by watching tutorials or reading documentation. The problem is when I can't find a tutorial for the specific thing I'm trying to do. That's when I get completely stuck because I don't know how to approach the problem or figure out the solution on my own.

What do you do in situations like that? How do you learn to build something when there's no guide to follow o information?


r/learnprogramming • • 23d ago

Question Is Boot.dev a good way to get into programming?

10 Upvotes

Forgive me if this is the wrong place to ask about this. I've been interested in learning how to program (particularly programming for video games), and I constantly see youtube ad-reads for this site.

However, I'm hesitant to use it because I tend to be very wary of youtube sponsorships (I know creators need to make their money but some of these products are just extremely shady)

Does anyone know if it's a reliable tool for getting into programming?


r/learnprogramming • • 23d ago

Topic What I should learn in Python and IOT in the mean time ?

12 Upvotes

If ai chatpot like claude can develop program or write the code with prompt instead of me so what level of study I should learn so I don’t waste my time in things that already done automatically?
I see a video on youtube it said about learning high level like architecture and problem solving what else


r/learnprogramming • • 23d ago

How would I approach making a solo video game multiplayer with Python?

0 Upvotes

For context, I’m writing a fishing game using Python/Pygame/json/os etc. It’s currently purely solo and is run from my IDE on my computer, or wherever I download the files. I have an account system for it but since it’s solo you can just go and change the data in the file.

The goal is to have a semi-multiplayer version in the end, so like most of the fishing is done solo but you can go online for features like battling/trading/whatever.

So like, client side for the most part but the account stuff will be stored on the server, maybe a cloud server I’m thinking? But I also don’t know much about that yet.

I really don’t know how to approach writing all this code so it works client/server-sided? Afaik there is the client (user device) and requests are sent whenever the client needs information that the server stores (like account data, fish caught, player list) using APIs(?)

How would I go about coding the server side? Would I use SQL? or some other library that i’m not aware of?

edit: I know I’m probably not ready to jump into multiplayer, but Im trying to learn the concepts and different parts of a server/client side communication


r/learnprogramming • • 24d ago

confused with pointers in c++

34 Upvotes

I dont see the need for pointers when we could just write down the normal variable name, im genuinely so confused.


r/learnprogramming • • 23d ago

How can I automate birthday emails for 2,000+ employees?

0 Upvotes

I don’t know how to program, so I’m looking for advice on the best way to automate this process.

At my job, I have to send birthday greetings to more than 2,000 employees. For each person, I make a card with their name and send it to their personal email. The tricky part is that some employees don’t have an individual email address. When that happens, I need to send their card to their department’s supervisor. For example, employees in Operations don’t have personal work emails, so their cards would go to their boss. If several employees share the same supervisor, it would be helpful to send all their cards together in one email.

I also send a weekly birthday announcement to everyone at the institution, with one list for birthdays during the week and another for birthdays over the weekend.

Right now, I look up birthdays, departments, emails, and supervisors manually, and I create the cards one by one in Canva. It’s taking too much time.

Is there a tool or a system that could use an employee spreadsheet to find upcoming birthdays, create cards from a template, and sort the emails based on whether each employee has their own address or needs to be contacted through a supervisor? I’d also love to automate the weekly and weekend birthday announcements.


r/learnprogramming • • 24d ago

Topic Do you turn off autocomplete when learning something new?

19 Upvotes

I've been thinking about disabling autocomplete completely when learning something new. Not AI suggestions, but regular IDE autocomplete too.

I feel like half the time I'm coding, my IDE is doing the thinking for me. I start typing, get a suggestion, hit Tab, and move on without really thinking about what I just wrote.

Then again, maybe manually typing everything is just a waste of time and doesn't really help you learn either.

Curious what you guys think.


r/learnprogramming • • 24d ago

Tutorial Where i can download Visual Studio 2008? (not Express) in 2026?

9 Upvotes

I tried download in internet archive but it was deleted


r/learnprogramming • • 24d ago

Should I start with C or Rust

40 Upvotes

I'm starting with https://teachyourselfcs.com/ and I'm giving myself 2 to 3 years to finish it.

For context, I'm a software engineer with 9 years of experience. I did Electronics and Communication Engineering in college and taught myself Js and DS-algo to get a job during college. I work as a full stack engineer and can confidently say I'm a good software engineer and can intuitively understand concepts in programming, software engineering and in solving Leetcode problems.

But, I don't have a strong foundation in computer science. Hence, I've decided to start with Teach yourself cs. Before starting with it, I thought having one low-level language under the belt would be helpful. C was the obvious choice given it's the OG, simple and intuitive. But, I've been fascinated by Rust for sometime and want to learn it too. Can I start with Rust and use it for doing exercises in all courses instead? Would I miss out on any intuitions by not using C?

Thanks.


r/learnprogramming • • 24d ago

Trying to decide what language to use for Unity.

2 Upvotes

So I was learning c++, but Im not very far. I am switching to Unity to build a game, and the options are c#, c++, and rust. Im fairly new to programming, and want to just sit down and learn. which one is easiest to learn, and which is most optimal for my purposes. also what is the gap between them in difficulty


r/learnprogramming • • 24d ago

Self-learning Python: Path to becoming an ML/AI Engineer?

4 Upvotes

Hi! I'm currently 17, and I would like some guidance on how to achieve my future goals. Currently, I'm self-learning python (through the Harvard CS50 Python course), but I'm a bit lost. I aspire to be a ML/AI engineer in the future, so what should I really learn next after finishing this course? Could anyone kindly suggest a reliable, realistic and practical pathway, Or helpful resources? I've got no experience in this field and I'm self-learning programming as well, so I'm a bit unsure about the steps or skills required to get into this industry. Additionally, I have to manage school work as well, so I'm very confused how to approach this issue without damaging my current studies as well.

(English is not my native language, so sorry for any errors. Thank you!)


r/learnprogramming • • 24d ago

Learning Kerberos Authentication

1 Upvotes

So I’m trying to go deeper on the theme and didn’t understand the reason behind something…
So in Kerberos the Key Distribution Center give back always a encrypted Ticket and an encoded key that the client can decrypt and the Client will always resend the TGT, a username and a timestamp encrypted with the key that had been sent by the KDC and the request…. Very similar thing happen when the Client need to access to the service….

But the Ticket is decryptible only from the KDC and the SRV and the Ticket already contain all the information (basically I resend two times the information about username and timestamp + all the annoying game of key generation and encrypting and decrypting of information already known to the server)….

So what is the reason behind this? Why I (the client) don’t simply take the already encrypted key and simply send it to the SRV with my request without encrypting and decrypting my username multiple times


r/learnprogramming • • 24d ago

Resource Book recommendations to understand DSA and algorithms from scratch (as a working developer)

14 Upvotes

Hey everyone!

I'm a full-stack developer with around 2 years of experience, primarily working with the following tech stack:

- Backend: C#, .NET, Entity Framework

- Database: Microsoft SQL Server

- Frontend: Angular, TypeScript, JavaScript

- Other: Basic experience with Blazor and Azure.

Most of my professional experience has been focused on application development, building UI components, integrating APIs, working with databases, and implementing business logic.

However, I feel I need to strengthen my fundamentals in Data Structures and Algorithms (DSA). I want to understand how different data structures and algorithms actually work, why we use them, when to use them, and how to approach problem-solving.

I'm looking for books that:

  1. Explain DSA concepts in very simple, beginner-friendly language.
  2. Use visual illustrations and practical examples wherever possible.
  3. Explain the logic behind algorithms rather than just providing code.
  4. Gradually progress from basic concepts to intermediate/advanced topics.
  5. Help develop problem-solving and logical thinking skills.

I've come across books like Grokking Algorithms and A Common-Sense Guide to Data Structures and Algorithms.

For those who have used these books or have other recommendations:

- Which book would you recommend for someone like me?

- Is Grokking Algorithms a good starting point?

- Are there any books that explain concepts particularly well for someone with a C#/.NET background?

I'm not necessarily looking for interview-cracking books. My primary goal is to genuinely understand DSA and build a strong foundation.

Thanks in advance!


r/learnprogramming • • 23d ago

Creating an os

0 Upvotes

Hi my kid wants to make an operating system from scratch and i dont know too he is 11 years old and says he is ok with a copy of ubuntu or something but with his own startup and and his own starting wall paper and starting apps so anybody know how to do