4,457 questions
Advice
1
vote
3
replies
128
views
How to Learn DSA from scratch in python or JAVA
I have tried many times but i forget after sometime . Can anyone help me , suggest how to learn or what to do?
I am currently learning Data Structures and Algorithms (DSA) primarily , but I am facing ...
Advice
1
vote
2
replies
128
views
What cybersecurity skills should beginners focus on first?
I’m currently learning more about cybersecurity and IT basics, and I’m trying to figure out what skills are the most important to focus on as a beginner. Right now I know a little about networking, ...
Advice
2
votes
5
replies
101
views
Why do the stronger guarantees of functional programming not yield consistently more optimal code?
Probably too general of a question, but it came to mind after watching a YouTube video of a guy talking about recursion schemes and performance in functional languages when compared to C.
In my mind, ...
Advice
1
vote
2
replies
136
views
AI ML roadmap for a beginner aiming for a remote job
I am just starting out as a cs student. I wanna get into ML domain where I can apply for remote jobs from the country I am living in. How can I get started?, Where can I learn the required ...
Advice
1
vote
4
replies
145
views
How did programming transition from mechanical systems to digital code editors? What was the mechanism behind creating the first programming tools?
I’m trying to understand the historical and technical transition from early mechanical programming (like punched cards and hardware switches) to modern digital programming using code editors and ...
Advice
1
vote
5
replies
201
views
How to start contributing to open-source and how to enter such communities and what are the best communities?
I am a recent graduate from a reputed college in India although I got good job offers from my college I still regret in one aspect of my CS journey, that is I have zero contributions to any open-...
Best practices
2
votes
7
replies
203
views
What exercises improve problem-solving skills in programming?
I am currently learning programming and want to improve my problem-solving ability rather than just memorizing syntax or copying solutions.
I understand that strong programming skills come from being ...
Advice
1
vote
6
replies
233
views
Can we prove equal subcases have equal induction hypotheses in recursion principle?
When performing recursion, it seems reasonable to assume that if two subcases f b1 and f b2 are equal, they will produce equal results IH b1 = IH b2: after all, we only expect to call the inductive ...
Advice
1
vote
3
replies
112
views
Seeking good general advice about current state of play with AI Agents/LLMs
I'm seeking general advice about the current state of AI Agents/LLMs that isn't biased towards one solution or another.
In short, I'm looking for the following (I know it's a big ask):
Any forums ...
Advice
3
votes
5
replies
156
views
How are loops that modify a state implemented in SSA form?
If I, for example, create my own strlen as such:
unsigned strlen(char *str) {
unsigned len = 0;
while (*str++) len++;
return len;
}
How would this get converted into an SSA form? I've ...
0
votes
0
answers
45
views
JSON output doesn't add the new line on my model file in ASP.NET Core MVC
I'm going to get straight to the point: my model file Vanexo3_h was missing the parameter puertoembarque, so I decided to added so I can print that in a PDF viewer on my system. The problem is that ...
0
votes
1
answer
72
views
What are the "set of values" for a user-defined type (UDT) in OOP languages?
I’m a PHP programmer looking to deepen my theoretical understanding of computer science concepts, specifically Abstract Data Types (ADTs) in the context of object-oriented programming (OOP).
And my ...
1
vote
0
answers
134
views
Computing the dot product of a matrix in MatLAb
I am trying to compute the dot product of a matrix in Matlab. The algorithms in each problem were generated using this website.
To do so, I am required to use the function I created in the previous ...
-3
votes
1
answer
131
views
Understanding when a hazard in MIPS occurs
I have a question regarding these two instructions:
lw r2, 10(r1)
lw r1, 10(r2)
Is there a hazard here, do I need stalls in between two of them?
I want to know if any kind of hazard happens here? I ...
-2
votes
2
answers
170
views
Why am I still getting, "You didn't give me a valid value, please try again! after entering the correct color? [closed]
colors_list = []
while True:
user_input = input("Enter a color to add to the list(or type 'done' to finish): ")
if user_input.lower() == 'done':
break
colors_list.append(...