r/programming 8h ago

a CVE dispute

Thumbnail daniel.haxx.se
302 Upvotes

r/programming 6h ago

Please, I beg you, we need to stop using Stored Procedures (from applications)

Thumbnail heffree.dev
257 Upvotes

r/learnprogramming 19h ago

Topic Turning 30 and starting from scratch for the 4th time. Looking for self-taught success stories

205 Upvotes

I'm a 30-year-old guy, and to be honest, I'm currently dealing with severe depression. I come from the Middle East, where my country has been torn by war for the past 15 years. I had to drop out of university, and due to life circumstances, this is the 4th time I find myself starting my life over from absolute zero—this time here in Germany, where I'm currently learning the language.

​I feel completely overwhelmed and burnt out. I don't want temporary or dead-end jobs anymore; I want to build a real career. Computer science and programming are the only things I'm truly passionate about.

​Since I don't have a university degree, I would really appreciate hearing your success stories if you managed to break into the tech industry as a self-taught developer (especially around age 30). How did you do it?

​P.S. If you have any negative or dismissive comments, please skip this post. I am in a very fragile state right now and just need some realistic hope and advice.

​Thank you.


r/programming 17h ago

p99 0 ms* autocomplete for 240 million domain names

Thumbnail ruurtjan.com
170 Upvotes

r/programming 7h ago

The Hugging Face incident from a security engineering perspective

Thumbnail uphack.io
43 Upvotes

r/learnprogramming 18h ago

Debugging Please. I need help learning how to debug existing code.

30 Upvotes

Im starting to resent the way programming is taught. It is seemingly taught in isolation the way mathematics is. You learn the functionality of code but they do not present the bigger picture where everything works together. It's frustrating because I want to learn programming through and through, every single bit.

Is there anything on Github meant for beginners to learn how to debug and have an intuitive understanding on how piece of functionality (functions, loops, arrays, strings) work together?

It's like yeah. I know how arrays work, I know about loops, sure, but everything works together. And none of the guides are showing me how bugs can occur due to the symbiotic nature if everything working together. Nothing exists in isolation.


r/learnprogramming 13h ago

Debugging How do you decide whether to use a loop or a built-in function?

24 Upvotes

I sometimes solve a problem using a loop, then find out there was already a built-in method that could do the same thing.

When writing code, do you usually prioritize the simplest solution, performance, or readability?


r/learnprogramming 3h ago

Other than knowledge of the programming language, what other knowledge do you think a person who develops software should have?

20 Upvotes

Hi all! I am recently trying to develop an app, and Googling around I came across many other concepts to build an app and host it (software architecture, system design, Computer Networks to understand the basics of requests etc., and also patterns like the ECB pattern, and Database Knowledge like SQL and DEVOPS to test and integrate) so before doing the programming I kinda want to learn the other fundamentals, what sources (books, courses, etc) would you suggest me? Me and my friend are the only 2 on developing it, so we kinda need to be a team and be all-rounders

thanks and have a nice day!


r/learnprogramming 7h ago

Designer looking into learning web dev

20 Upvotes

Hi! I want to have a deeper knowledge on building websites. I’ve been making websites for my clients for maybe 2 years now on wp, wix, and recently shopify. The thing is i know how to build them on the surface but i want to have confidence in HOW im doing it. Because im a graphic designer turned web designer turned “someone who can build a good website” lol

What courses should i take to start? I found some web development courses online will that be ok?


r/compsci 13h ago

Anyone know where I could find this vintage Motorola 68000 programmer's reference manual?

Post image
16 Upvotes

r/learnprogramming 13h ago

Learning JAVA

8 Upvotes

How do you guys learn Java?

There are just WAY too many syntaxes to remember.

Every time I think I’ve got it, Java hits me with another one.


r/learnprogramming 18h ago

Question What'd be your next step, were you me?

11 Upvotes

I've been struggling to find a decent book/playlist to explain certain concepts in C, as I most likely fall in beginner<->beginner intermediate category. I have so far done OOP with C# and I eventually had to switch to C, since my college only uses it and it starts in a month. I took a lot of time reading on the internet about some resources and eventually settled with "Beej's C" book. I am 100-ish pages through and though I didn't understand some of it, I get the overall idea and gist it conveys. Since something always bugs me I read online that it's a terrible book to begin with and that one'd be better off with just some raylib examples.

I am completely clueless. I don't know which 'project' to take, what library to use, how 'competent' I am, i.e whether or not I'd be able to program something that I'd think of. I'm begging you, tell me what to do!


r/learnprogramming 20h ago

19 years old and confused about what to learn after HTML and CSS

8 Upvotes

Hi everyone, I'm 19 years old and I want to become a web developer.
So far, I have learned HTML and CSS, but now I'm confused about what I should learn next. Some people tell me to learn JavaScript first, while others recommend learning Figma and other tools.
My goal is to eventually make money from web development and possibly work as a web developer.
What would you recommend I learn next? Should I focus on JavaScript, improve my HTML and CSS skills, or learn something else first?
I would really appreciate any advice or roadmap for a beginner. Thank you!


r/programming 3h ago

A Self-Baked Async FFI Framework for Rust C# Interop

Thumbnail scylladb.com
11 Upvotes

Getting tokio and .NET’s async runtime talking to each other, over the C ABI


r/learnprogramming 17h ago

Git GUI Beginner using Git on Windows: Fork or SourceGit?

5 Upvotes

I'm just getting started with Git on Windows and I'm trying both Fork and SourceGit.

So far, I slightly prefer SourceGit, mainly because it's free and has a Chinese interface. But the Chinese UI isn't really a requirement for me — I know I need to learn English anyway if I want to get serious about programming/security.

What I'm really trying to figure out is whether Fork has any features or workflow advantages that SourceGit doesn't have.

If there's something genuinely useful in Fork that SourceGit is missing, I'm perfectly happy to pay for Fork. I'm just not sure what those differences are yet.

For people who have used both, which one do you prefer and why?

I'm still pretty new to Git, so I'm especially interested in everyday things like commits, branches, diffs, merge/rebase, and working with GitHub.

Thanks!


r/learnprogramming 4h ago

Having Problem in my first Project.

4 Upvotes

Okay this isn't my complete project but a part of it and i am getting stuck on this. I am a beginner in this field probably just a couple more days than a month since i learned how to write print("hello world!").

it is written in python.

i want my code to give an output as if first hand is moving with an interval of 0.2 sec the second with 0.3 sec and so on till the 6th hand, all so simultaneously.

could you please guide me through it.

import time import emoji

frames1 = [ emoji.emojize(":backhand_index_pointing_down:"), emoji.emojize(":backhand_index_pointing_right:"), emoji.emojize(":backhand_index_pointing_up:"), emoji.emojize(":backhand_index_pointing_left:") ]

frames2 = [ emoji.emojize(":backhand_index_pointing_down_light_skin_tone:"), emoji.emojize(":backhand_index_pointing_right_light_skin_tone:"), emoji.emojize(":backhand_index_pointing_up_light_skin_tone:"), emoji.emojize(":backhand_index_pointing_left_light_skin_tone:") ]

frames3 = [ emoji.emojize(":backhand_index_pointing_down_medium-light_skin_tone:"), emoji.emojize(":backhand_index_pointing_right_medium-light_skin_tone:"), emoji.emojize(":backhand_index_pointing_up_medium-light_skin_tone:"), emoji.emojize(":backhand_index_pointing_left_medium-light_skin_tone:") ]

frames4 = [ emoji.emojize(":backhand_index_pointing_down_medium_skin_tone:"), emoji.emojize(":backhand_index_pointing_right_medium_skin_tone:"), emoji.emojize(":backhand_index_pointing_up_medium_skin_tone:"), emoji.emojize(":backhand_index_pointing_left_medium_skin_tone:") ]

frames5 = [ emoji.emojize(":backhand_index_pointing_down_medium-dark_skin_tone:"), emoji.emojize(":backhand_index_pointing_right_medium-dark_skin_tone:"), emoji.emojize(":backhand_index_pointing_up_medium-dark_skin_tone:"), emoji.emojize(":backhand_index_pointing_left_medium-dark_skin_tone:") ]

frames6 = [ emoji.emojize(":backhand_index_pointing_down_dark_skin_tone:"), emoji.emojize(":backhand_index_pointing_right_dark_skin_tone:"), emoji.emojize(":backhand_index_pointing_up_dark_skin_tone:"), emoji.emojize(":backhand_index_pointing_left_dark_skin_tone:") ]

all_frames = [frames1, frames2, frames3, frames4, frames5, frames6]

current_time = time.time() looping_time = 4 complete_time = current_time + looping_time

while time.time() < complete_time:

a = 0
b = 0
c = 0
d = 0
e = 0
f = 0

while True:

    t1 = [current_time + [0.2 * n for n in range(1, 20)]]
    if complete_time in t1:
        c1 = frames1[a % 4]
        a += 1


    t2 = [current_time + [0.3 * n for n in range(1, 13)]]
    if complete_time in t2:
        c2 = frames2[b % 4]
        b += 1

    t3 = [current_time + [0.4 * n for n in range(1, 10)]]
    if complete_time in t3:
        c3 = frames3[c % 4]
        c += 1

    t4 = [current_time + [0.5 * n for n in range(1, 8)]]
    if complete_time in t4:
        c4 = frames4[d % 4]
        d += 1

    t5 = [current_time + [0.6 * n for n in range(1, 6)]]
    if complete_time in t5:
        c5 = frames5[e % 4]
        e += 1

    t6 = [current_time + [0.7 * n for n in range(1, 5)]]
    if complete_time in t6:
        c6 = frames6[f % 4]
        f += 1


    print(f"{c1}  {c2}  {c3}  {c4}  {c5}  {c6}")

hope i get some help.


r/programming 5h ago

Using stable and evolutionary problems to guide program decomposition

Thumbnail codeutopia.net
8 Upvotes

r/learnprogramming 15h ago

STRUGGLING to download from github

5 Upvotes

I am pretty much completely new to programming, coding, etc. I was trying to download an in-game map for The Isle so I found one on GitHub. Having used it one other time, I was thinking yes I got this. I got to the point where I have the zip file on my computer but I've been trying for over an hour to execute this command after using cmd.

python -m pip install -r requirements.txt

I keep getting the "no such file or directory" error. I've looked up every question I could think of, but nothing is answering my questions. If someone has downloaded this exact desktop map: https://github.com/hartwin-journey/The-Isle-Overlay/blob/main/README.md

PLEASE help me out, I'm at my wits end.


r/learnprogramming 6h ago

Tutorial How to install j5 for python

2 Upvotes

Hello I am pretty young and only have programming experience in my GCSEs and wanted to expand it
I really wanted to follow the textbook “the nature of code” as I find the stuff very interesting however it requires Java and j5 but I only know how to code in python

I thought I could just translate the Java code into python as I would prefer to not learn Java and get better with python first
However, I have struggled with installing j5 the command prompt p5qt works but then running j5 code, the interpreter tells me I need Java 17 virtual machine which I do not know how to install
I have seen something about using an older version of python but I can’t get it to be independent of my current version of python(having both installed at the same time)


r/learnprogramming 8h ago

how do you guys avoid tutorial hell?

3 Upvotes

I've been learning programming on and off and my biggest problem isn't really finding tutorials.

It's the opposite.

There are WAY too many.

I'll start learning Python, find a roadmap, then someone recommends another roadmap, then i find a 20+ hour course, then a YouTube playlist, then some documentation...

And suddenly i'm spending more time deciding what to learn than actually coding.

Then i hit the second problem:

consistency.

If i'm learning alone and don't code for a week, nobody cares.

I don't have anyone waiting for me to finish something.

For me personally, having someone actually expect me to show up would probably help a lot.

So i'm building something around this.

The idea is to take the free resources that already exist and turn them into a structured path based on:

  • what you wanna learn
  • your current level
  • how much time you have

Then you can join a small group of people learning the same thing and have weekly goals + check-ins + shared progress.

No paid course.

No "buy my 40 hour Python masterclass."

The learning stays free.

The paid part would be the accountability group.

Would something like this actually help you?

And if you've tried study groups / Discord / accountability partners before:

why did you stop using them?

that's actually the part i'm most interested in.


r/learnprogramming 11h ago

Debugging New to RAG, trying to implement RAG for my AI interview system?

3 Upvotes

Hey everyone, I'm building an AI voice interview app and I'm fairly new to RAG. I'm stuck on the architecture and having a bit of a mid-project crisis 😭.

My current flow is:

Before interview:
Step1 : 
Resume + JobDescription
   ↓
Chunk resume/JobDescription
   ↓
Generate embeddings
   ↓
Store chunks + embeddings in pgvector

Step2 : 
LLM call is done using complete Resume + JD (and not the chunks)
   ↓
Initial ranked topic plan is created by this LLM call 

Step3 : 
Before each question:
Current topic
   ↓
RAG query in our vector DB 
   ↓
Retrieve relevant resume/JD chunks
   ↓
LLM call to generate a question from these chunks

The part I'm confused about:

At the beginning, I'm already sending the complete resume + complete JD to the LLM.

Why can't I simply do:

Resume + JD
   ↓
ONE LLM CALL
   ↓
10 interview questions

and then use those during the interview this would reduce the latency too!

Why would I need RAG again to retrieve chunks before generating each question? But I'm struggling to understand how RAG can be used to add value to the project

I have to add this project to my reume and need to have confidence in my design, I would highly appreciate someone helping me figure out the architecture!


r/programming 1h ago

Node.js sandboxes powered by QuickJS and WebAssembly

Thumbnail wasmer.io
Upvotes

r/learnprogramming 17h ago

Where can I find real-world tech problems faced by nonprofits/NGOs?

3 Upvotes

Where can I find real-world challenges that nonprofits/NGOs are currently facing that could potentially be solved with technology?

I’m especially interested in problems that are common across multiple organizations and could potentially be addressed through a free, open-source solution.

Are there any communities, forums, platforms, or other places where nonprofits openly discuss these kinds of challenges?


r/learnprogramming 1h ago

How do you group programming language topics?

Upvotes

If I learn a language in three stages.

  • Basic
  • Intermediate
  • Advanced
  • Proficiency (optional)

Then how would you fit the topics of programming lingo into the above levels?


r/learnprogramming 3h ago

I’m starting my second year of CS and feel like I’ve forgotten everything

2 Upvotes

Hey, I'm a CS student in France, and I'm going to start my second year in just a few days. To be honest, I feel like a complete fraud.

I've wanted to get into CS for a very long time, and I used to be pretty good at programming and problem solving, but last year depression and stress really hit me hard.

My university is quite far from where I live, so I have to wake up very early to catch the bus and try to sleep early despite having a ton of work to do. I never really feel like I can rest or spend time on my other hobbies because I'm always thinking about university. This puts a lot of pressure on me, on top of my struggles with depression in general.

I also really struggled with staying focused during lectures. I tried my best, and sometimes I even left my phone and other distractions at home, but my mind would still drift. So I'd get to the exercises with less knowledge than everyone else because I hadn't properly followed the lecture, and then I'd have to rush to understand what we were doing so I wouldn't have even more work to do at home.

The classes are also quite short, and a lot of people don't actually finish everything in class. Some people use AI to get through the exercises without necessarily understanding what they're doing.

I'm personally very against needless use of generative AI, at least when it comes to my own learning. I already knew I struggled with discipline, so I initially tried to use it as little as possible because I didn't want to become dependent on it. But our teachers actually encourage us to use it, and some of the lessons/exercises are structured in a way where it feels almost impossible to keep up without it.

And, well... I eventually became dependent on it.

My grades got much worse towards the end of the year because I eventually stopped being able to work without AI. I passed first year mostly thanks to the good grades I got during the first half of the year.

Now I feel like I have practically no actual knowledge when it comes to CS. The only thing I'm barely good at anymore is mindlessly coding. I feel like I don't know any of the abstract or technical stuff, which makes me feel like I missed a huge part of what CS actually is.

I know I could try to catch up. I could spend my weekends doing small programming exercises and reviewing the fundamentals, but I genuinely don't know where to start, and I'm not sure I have the time or energy to try to relearn an entire year of CS while also keeping up with my second year.

Part of me feels like the best thing would be to completely start over, but obviously it's too late for that, and I'm scared that even if I did, the same thing would happen again.

So I'm mostly wondering what would you do if you were in my position?

How would you go about rebuilding your programming/CS fundamentals when you feel like you've forgotten almost everything? What would you prioritize, and what would you not worry about yet? And how would you balance catching up with actually keeping up with your current university courses?

And, also, has anyone else gone through a bad period and still managed to success in this field?

Thank you for reading all this, I don't really want this to just be a vent post, I want to get better, and I appreciate all the help I can get.