How do I stop worrying about my past mistakes and break my addiction which is ruining my life?

i am currently enerting my 3rd year of btech and even though trying i haven't done things i should have i wasted my first mourining my father deathe which happened before joining my college and during my 2nd year i tried to do many things becuase of fear of being behined, tried to start dsa and left it many times and cyvbersecurity, machinbe learning joined a robobtics club, but wasn't able to do anthing propely, but somehow able to learn java, i thougt during i will utilize my holidays fully, but i haven't done the things i thought i will do, i am really dissaapointed and ashamed of myself, now matter how much try i can't stay consistent. knowing myself and my ability tyo work, i overload my todo list and then get depresssed and prcastinate days due to regert, it's been 2 weeks i haven't studied dsa and stuff and since a week that i have worked on my project, during this week i have only doomscrolled, watched movies and porn(i am really ashamed of it), i am really ashamed myself, no matter how much i try to improve i can't shake my minds from the regerets of mistakes. It's not like I don't like cs or programming, i have also found my interest (low-level programming), but i have to do it as a hobby because I won't get a job i don't want to be a loser i don't want to unmployed, i am 21, but life feels like it's over. i want to work hard and prove myself, but the constant regret is killing me

reddit.com
u/Same-Replacement-938 — 13 hours ago

i have some programming experience, an now i want to learn to c but can't decide best resource for me

i'll keep my content short, i have some experience from java, i have buildcountless programms like a cli data fetching app, cli todolist, expense tracker, tic tac to and currently building a http server, i want to learn c cuz i always interested in under the hood and low level stuff, but i can't decide a good resource for c. i am asking for a resource for java becuz during learning java i only watched yt videos and really had a hard time understanding concepts and still rusty about some of it's topics like multithreading. i have heard about three resources which are considered best to learn C
Beej's Guide to C vs C Programming by k&r vs C Modern Approach by K. N. King

Which one should I choose?

reddit.com
u/Same-Replacement-938 — 8 days ago

Why java is so hated?

So I have recently learned, and it's the first language(in terms of building actual things). Before Java, I knew Python, and I dropped it; I found Python too abstracted and too boring. i have recently made some projects like cli task tracker, expense tracker, some cli github api parsing and currently working on a multithreaded HTTP server and cli text editor, like vim, whenever i try to find out people opinions on java social media, almost 90 percent of the time they are just dunking on it, that it is trash, who forced you to write code in java, stuff like that. I know Java as a language is not that interesting and doesn't have many interesting features compared to other languages like C, C++, go. But I found it decent to write code in, and I found the JVM pretty interesting. So much so that I would love to explore and maybe build a JVM of my own

reddit.com
u/Same-Replacement-938 — 17 days ago

Resources for postgresSQl

i want to learn postgresSql, but i don't know which content or resource should i go with. please help me to find free resources for postgressql for dev

reddit.com
u/Same-Replacement-938 — 1 month ago
▲ 5 r/BtechCoders+1 crossposts

Started Late and Forgetting My Fundamentals — How Should I Approach This?

I am about to enter the third year of my Bachelor of Engineering, and I have only about one year left before internship and placement season. I want some advice.

During my first year of college, I barely did anything except study enough to pass. Just before I joined college, my father passed away due to cancer. That completely shook my life and my mother's life. We went through a very difficult time, and it took me around 1.5 years to recover emotionally.

During that period, I got influenced by my peers to use AI for coding. I built many projects using AI, but one day I tried to write code on my own and realized I couldn't. That was a wake-up call. Since then, I stopped using AI to write code. Now I only use it for research, understanding concepts more deeply, and clearing doubts.

I also made another mistake: I spread myself too thin. I was trying to learn cybersecurity, machine learning, participate in robotics, and maintain my grades all at the same time. As expected, I didn't complete much except keeping my grades decent.

So far I have completed the Java MOOC Helsinki course (except the JavaFX part), learned Git, linux commands essential for devs, about to finish multithreading and built a few basic projects such as Tic-Tac-Toe, an Expense Tracker, and t Task Tracker from roadmap.sh (including fetching data from an API and reading it). I am currently planning to build more projects.

The problem is that I feel like I am forgetting the fundamentals from my previous courses.

  1. C/C++: I don't remember much from my first-year classes.
  2. DSA: I haven't started solving LeetCode yet. I understand most data structures and algorithms conceptually (linear search, binary search, Dijkstra, etc.), but I want to implement them again from scratch in Java.
  3. Operating Systems: I remember concepts like processes, virtual memory, and segmentation, but I have forgotten many algorithms such as disk scheduling, Round Robin, FCFS, SJF, and Priority Scheduling.
  4. Computer Organization and Architecture: This was the hardest subject for me. I barely passed. I only remember some digital electronics(and,or,xor,nor,etc), different architectures, and bus types.
  5. Computer Networks: I remember the OSI model, HTTP, TCP, UDP, the TCP three-way handshake, and different types of networks.
  6. Python: Basics, OOP, some functional programming, Turtle, and Tkinter.
  7. Software Engineering (SEPM): I honestly don't remember much except the Waterfall model.
  8. DBMS: I remember SQL, normalization, B-trees, B+ trees, locking mechanisms, and I need to revise relational algebra.

My third-year classes will start in about a month.

My current plan is to complete Spring Boot, build projects, learn CI/CD, study system design, continue DSA, and apply for Java full-stack roles. Recently, I have also started breaking projects into smaller tasks before building them, which has made development much easier.

However, I also want to strengthen my computer science fundamentals like C/C++, Operating Systems, Computer Networks, DBMS, and so on.

Should I dedicate some time every day to revising these fundamentals, or should I stick to my current plan and come back to them after finishing Spring Boot and my projects?

u/Same-Replacement-938 — 29 days ago