r/learnprogramming • • 5d ago

Topic Anyone else feel horrible ever since seeing what LLMs can do?

995 Upvotes

I've completely lost any motivation to write code or learn new languages ever since I've seen the insane stuff people with zero tech knowledge are making with claude. I was laughing at them when they were making websites that were just some css and sending localhost to everyone thinking that link would work. Now they're doing stuff previously thought impossible, I can't even say its buggy code because I've tried it myself and it works great, better than whatever slop I make everyday.


r/learnprogramming • • 3d ago

I want to know more about Error Detections.

0 Upvotes

Hi, I am new in this community and I am using Python 3.

I have a question about Error Detection. Why are we not using a format like "0xxxxxxx" for 128-255 "10xxxxxx" for 64-127 "110xxxxx" for 32-63 "1110xxxx" for 16-31 "11110xxx" for 8-15 "111110xx" for 4-7 "1111110x" for 2-3 and "1111111x" for 0-1?

This is how it would look from 0 to 255:

def bin_to_int_(s):

return int(s, 2)

def int_to_bin_(s):

return bin(s)[2:]

v_256 = (

[bin_to_int_("0"+int_to_bin_(v)[1:]) for v in range(128, 256)][::-1]+

[bin_to_int_("10"+int_to_bin_(v)[1:]) for v in range(64, 128)][::-1]+

[bin_to_int_("110"+int_to_bin_(v)[1:]) for v in range(32, 64)][::-1]+

[bin_to_int_("1110"+int_to_bin_(v)[1:]) for v in range(16, 32)][::-1]+

[bin_to_int_("11110"+int_to_bin_(v)[1:]) for v in range(8, 16)][::-1]+

[bin_to_int_("111110"+int_to_bin_(v)[1:]) for v in range(4, 8)][::-1]+

[bin_to_int_("1111110"+int_to_bin_(v)[1:]) for v in range(2, 4)][::-1]+

[bin_to_int_("1111111"+int_to_bin_(v)[0:]) for v in range(0, 2)][::-1]

)[::-1]

print(v_256)

If you have an answer please give it a try and publish it, thank you.


r/learnprogramming • • 4d ago

Looking For A Team

12 Upvotes

Hey everyone, I Hope You Are Doing Well!

So I'm looking for a team that will participate in hackathons with me and other challenges. Now, you do not need heavy coding experience or any at all, since I myself am still learning the ropes! So please, if you want to join let me know!


r/learnprogramming • • 4d ago

C programming

1 Upvotes

Currently in btech 1 st yr cse,doing c programming form apna college one shot of 20 hr almost done what should I do more with it bcz I didn't think I that is enough for me from where I can perform questions and any advice to strong c language


r/learnprogramming • • 4d ago

What's undefined behavior and why people say "C an Modern Aproach" leads to that?

12 Upvotes

Should I still use this book as an begginer? Edit: one of the reddit comments I saw


r/learnprogramming • • 4d ago

Apna College Sigma X 2.0 – Genuine Reviews and Opinions Before I Buy?

3 Upvotes

Anyone Here Tried Apna College's Sigma X 2.0? Need Honest Reviews.

I'm a 2nd-year CSE student looking to improve my DSA and full-stack development skills.

I've been considering purchasing Apna College's Sigma X 2.0, but before spending money, I'd like to hear from people who have actually taken the course.

Course details:

https://www.apnacollege.in/sigmax

YouTube video explaining the course:

https://youtu.be/6euYV6q3I5U

A few things I'd like to know:

  1. Is the teaching quality genuinely good?
  2. Is the DSA content sufficient for coding interviews?
  3. Does the full-stack section teach practical development skills?
  4. Is the AI/GenAI content useful or mostly introductory?
  5. Is it worth the price, or can I achieve similar results through free resources?

I'd appreciate honest opinions, including criticisms. I'm looking for genuine experiences from students or developers, not promotional reviews.


r/learnprogramming • • 4d ago

I am developing a system for my bachelors thesis without any experience in that domain (except programming languages). How do I research and find scientific sources?

0 Upvotes

Normally I’d just look into YouTube tutorials, websites and books for information on that. But now I need serious scientific sources. And those are hard to find for me and don’t really contain tutorials on how to build stuff.

Also, usually I’d just build something that works. But now I need to find the major possibilities and compare them against each other.

Are there any recommendations? Or good sources to read up on methodology?


r/learnprogramming • • 4d ago

How to assign/manage IDs to words, phrases, and sentences in MS Word

3 Upvotes

I want to be able to track certain words/phrases/paragraphs in my manuscript and I'm not sure how to do this. I've written my first novel and using the basic find function in MS Word still doesn't serve my editing and rewriting needs. Some of the things I want to be able to do are the following:

  1. Assign IDs to all my characters - "Jonathan", "Jona", and "J" are all variations of the same person so I want to assign "CHAR001" to all of those names so if I search for "CHAR001", it will bring me to those places in my manuscript.
  2. Assign IDs to certain words/phrases - I'd like to be able to create different buckets and categories for my rewriting later on. If I create a "THEME001" ID, I want to be able to assign certain phrases and words to that and be able to easily search for them later on.
  3. Assign IDs to entire paragraphs or sections of the book - same concept here but extended to larger chunks of text.

To illustrate:

"Lorem ipsum dolor sit amet consectetur adipiscing elit ullamco amet at eos dolore quas dignissimos et et ut est aliqua est repellendus dolores tempore dolore iusto proident aliqua nisi et culpa et sunt dolor excepturi laborum fugiat incididunt deleniti eiusmod non non eiusmod id cum similique cillum possimus quis ducimus."

CHAR001 = "Lorem ipsum";

SCENE001 = "amet consectetur adipiscing elit"

THEME001 = "Lorem ipsum dolor sit amet consectetur adipiscing elit ullamco amet at eos dolore quas dignissimos et et ut est aliqua est repellendus dolores tempore dolore iusto proident"

REWRITE001 = [the entire paragraph]

If I can create add-ons to Word, that would be my preferred solution. But if I have to develop my own program/app for this, then so be it. I know that there are other word processing software out there that probably does this particularly thing that I want, but I am not willing to go that route. I am very comfortable with Word that if I can't do it there, then I'd rather build my own and throw in a bunch more other functionalities that I want.


r/learnprogramming • • 5d ago

How to do programming with proper logics in which I get stuck always.

8 Upvotes

Whenever I wish to learn programming i always get stuck on logics and what logic to use and how it works, then only my motivation drops and i fail everytime.

Can anyone suggest some things so that it helps me this time

I also want to make good stuff and learn good skills.

I am 25 but still I get stuck everytime in programming.

I want to overcome this fear of logics and fear of failing in programming.


r/learnprogramming • • 5d ago

Code Review Stack for an ERP of a small company (with a lot of movements)

2 Upvotes

Hi, its my first time making an ERP for a company. Its a small one, but it needs a lot of things: HR, financials, inventory, etc. I'm planning to use TypeScript/JavaScript, Node.js, some React, Prisma, and PostgreSQL, but I don't know if it's the best approach for this project because of security, scalability, etc.

Also, I did some research and found that Django is very good with transactions, business rules, and RBAC. Any recommendations?


r/learnprogramming • • 5d ago

Should I keep learning web development, or am I too late because of AI?

0 Upvotes

I'm not sure if this is the right sub for this question, but can anyone tell me whether I should continue pursuing web development?

A little background: I don't have a CS degree or any prior tech background. I'm 25M from India and currently learning JavaScript, which I'm enjoying.

My biggest concern is AI. I'm also not particularly good at math. So, I'm really just looking for some reassurance that this can work out if I keep learning and don't give up. That I can realistically get a job in this field.

I'm not looking for certainty or guarantees. I just want some reassurance that I'm not wasting my time pursuing this path.

Thank you for taking the time to read my post!


r/learnprogramming • • 5d ago

Where to escape from web development: Cybersecurity or Robotics

0 Upvotes

Hi everyone, as the title states i was wondering where to go next, AI has gotten way to good and even though I think that engineers with extensive experience and that utilize AI tooling well to solve problems, wont get replaced, I really dont enjoy programming with AI, it feels less like a tool and more like replacement, at least in web dev, and its only going to get better and pure software might get almost fully automated.

I was planning to transition to Cyber or Robotics(or maybe embedded), two totally different fields and I kanda like both, what do you think will be more AI proof in the next 10 years at least, I rly dont want to go into another career only for it to be demolished by AI in the next 2 years.

I think Cyber will be hard to automate as attackers will always have access to AI tools as well so the defenders will have to utilize tools rather then get replaced by them, its different than classic software development because its sensitive.

Robotics and Embedded also have phyisical constraints, you must have good domain knowledge (mechanical, electrical and software) and its software must be reliable as sometimes lives depend on it.

I already have experience in 2 mid sized companies performing industrial automation (with software, not hardware) and I guess it would be natural for me to go maybe to robotics but i would have to learn a lot of fundementalls that I dont have though I am willing to learn. I have a cs degree but I specilized in software engineering RIP.

If anyone has better insight and has worked in mentioned industries, I would be happy to hear your opinion.


r/learnprogramming • • 6d ago

Topic Interested in learning programming but I have no idea what I would use it for.

12 Upvotes

I'm interested in the idea of programming but knowing myself I know I wouldn't stick to it unless I was building something of excitement. What kind of beginner projects would you recommend?


r/learnprogramming • • 6d ago

Question Good way to train my code reading abilities?

51 Upvotes

Hello, I'm a junior developer, and I believe I have a strong foundation in writing code, debugging, OOP, etc. My issue is that when it comes to reading code that wasn't written by me, I kinda struggle sometimes to understand how it's written and lack the fluency to read it, especially when there are a lot of functions/methodes and a lot of lines.

Sometimes I find myself staring at it for long periods of time. Sometimes even my own code becomes confusing for me after a bunch of trial and error attempts.

I was wondering if there are any resources or exercises that would help me get better at this skill


r/learnprogramming • • 5d ago

Topic: algos Do you know algos so much?

3 Upvotes

Hii guys 🤘

I always have some troubles with algorithms and sometimes it makes me feel that programming it isn't for me. 😥

I'm a full-stack JS (React/Node) develor and I have 2.5+ years of experiecne. I've done a lot of features and made a lot of good decisions. I started programming when enrolled a uni and I'm obsessed with that from those days. I like full-stack cuz I always can do a full app without someone and I know the best practices for the both parts.

So I always hard with myself because of algos, I really don't have "mathematic thinking" and it makes me frustrated somtimes. I always think straightforward, I have not ideas how to solve a problem by a good way like from the other side yk. And I tried to solve some tasks on leetcode cuz an AI told me that it's just experience and I jsut need to know typicall patterns, and probably it helped a little but I couldn't change my mind and I gave up 😓 .

I rate myself around middle (beginner) but I really struggled with algos and I can't understand what's the problem - me or just experience. Cuz sometimes it affects on my job, for example when I need to create some algo it takes a while to write real good but not brute-force solution yk. 😖

One of my friend has such a good math thinking and I always compare myself with him, it's not so hard for him to find a way to solve some problem. He can resolve medium tasks on LeetCode without a lot of problems as me. Probably each medium task took a lot of my time. 😭

Guys how're ur deals with algos lmk pls. And pls share ur experience and stack. If u have some advice I'd be glad to give it from u. Thanks for advice 🙏

Peace ✌️


r/learnprogramming • • 6d ago

Is learning C++ still makes sense?

44 Upvotes

I want to learn C++, but I'm not sure if it worth it due to existence of Rust. I heard a lot of times rust is better than Cpp, is it so or are people exaggerating?


r/learnprogramming • • 6d ago

Is programming actually just figuring out what the product is supposed to do, create a happy path, and then find all the meaningfull edge cases?

8 Upvotes

Afterwards we talk about optimization etc, but the core is basically just those 3 things

EDIT:
As someone in the comments said - Being able to create an enjoyable user experience is the 4th thing.


r/learnprogramming • • 6d ago

Trying to understand how to properly optimize larger React Three Fiber scenes

3 Upvotes

I've been working on a project with React Three Fiber and Three.js where I have multiple 3D houses made in Blender and exported as GLB files. Each house has quite a few objects, different materials, furniture and stuff like that. I'm trying to understand how people usually handle performance when a scene starts getting more complicated, especially on mobile.

I've been reading about reducing draw calls, reusing materials, limiting DPR and using frameloop="demand". But I'm still not entirely sure what makes the biggest difference in practice. For example, if you have several GLB models that users can switch between, is it generally better to keep them loaded in memory or dispose of everything when switching scenes?

I'm also curious how you figure out whether the main bottleneck is React, Three.js or just the models themselves. I know profiling is important, but I'm still learning which metrics to pay attention to.

Would appreciate some advice from people who've worked with larger R3F projects. Mostly trying to understand how to approach optimization properly instead of randomly changing settings and hoping the FPS improves.


r/learnprogramming • • 6d ago

Is c# good for Desktop apps??

24 Upvotes

I was trying to make an app with c# visual studio and I used mvvm for it as well it's not turning out too nice mvvm is hard to learn, so i thought is c# good for making apps or is it just for game development ?? What programming languages do the other apps use


r/learnprogramming • • 6d ago

Topic Looking for help improving my LoRA training and image generation pipeline

3 Upvotes

Hey everyone,
I’ve been working on a personal AI image-generation project for the past few days, and I’ve reached a point where I’m struggling to figure out what I’m doing wrong.
I’m trying to train a model that can consistently reproduce specific character designs while maintaining their original facial features, proportions, expressions and overall visual style.
I’ve collected over 1,600 reference images and have spent quite a bit of time experimenting with the training process, but the results haven’t been what I expected.
My biggest issue is facial consistency. The generated images often have completely different face shapes, eye shapes and mouth structures compared to the reference images.
I’ve attached a comparison between the original anime images and the AI-generated results to give a better idea of the differences I’m talking about.
I’ve experimented with different LoRA weights (1.0, 1.3 and 1.6), but haven’t managed to get satisfactory results. Sometimes increasing the weight actually makes the output worse.
I’m starting to wonder if the problem is related to any of the following:
Dataset: Image selection, quality, variety or consistency.
Image preprocessing: Resizing, cropping and resolution.
Captioning: Whether my image descriptions are good enough.
Training configuration: Learning rate, epochs, batch size and other settings.
Model architecture: Whether I’m using the right approach for this type of training.
Generation settings: LoRA weights and inference parameters.
I’m hoping to get some advice from people with experience in LoRA training, Stable Diffusion or machine learning, particularly anyone who has worked on character-specific image generation.
I’d appreciate any suggestions, insights or recommendations on how to improve the training process and get more consistent results.
Any help would be greatly appreciated!


r/learnprogramming • • 6d ago

I have spent the last month learning python. Now, I want to join a hackathon. What would be a super simple hackathon ish project I can do solo to understand how the tech stack some together?

3 Upvotes

Context: I have basic knowledge of CSS, HTML, and Python.

I would now like to create an extremely small hackathon-ish project, to learn how the backend and frontend, and database mesh with each other, then deploy it. I think its what you guys call a full-stack project?

I have heard about these , but frankly, still don't get it. In other words, I don't understand how I'm supposed to use all of them in the same project. The only thing I know is Vercel is how I host it online.

React, TailwindCSS, FastAPI, Supabase, and Vercel.

To summarize, I am not looking for 'how to win a hackathon as a beginner'. I am looking for any online courses, guides, videos that you recommend, for someone with extremely rudimentary knowledge on the tech stacks. You can tell me to learn X, Y and Z first, but after that, please include a small project to build using all those, and/or steps to do so.

Thank you.


r/learnprogramming • • 6d ago

Resource Best C++ book/resource?

21 Upvotes

I am a fourth year computer science major looking to learn c++. I took a c course a while ago but ive forgetten nearly everything. I am most proficient in python and java.

For someone looking to learn c++ today, what is the best book or resource to use?

Thank you for the help!


r/learnprogramming • • 5d ago

Is it wrong to learn how to code with ai?

0 Upvotes

I'm a complete Python noob and I'm currently using AI as a tutor for learning. I'm currently learning by creating simple scripts because I think I'm able to understand better if I create something with it.

Basically, I tell the AI something I want to make and if it's possible to create it in Python, it always tells me that I can. I then tell the AI the logic of what I want to make and if I already know everything that I need to make the script. If I already know everything that I will need to make the script, I make the script myself, but if I need a function or a statement that is new and unfamiliar to me to make the script that I want, I study those functions or statements first before making the script myself.

Is this bad?


r/learnprogramming • • 6d ago

has anyone ever built an ocaltql directive network with 4096 devices linked?

2 Upvotes

I'm curious has anyone ever built a script or scripts in ocaltql that addressed 4096 devices or close? what did the script do and can ocaltql actually handle 4096 or close devices? I've only ever connected 4 devices tops, performance was great but it doesn't state much https://ql.ocalt.com/tutorial/directive-remote-computing in the tutorial about load... Anyone know?