Showing 20 problems

How does garbage collection work?

How does garbage collection work in languages like Java and Python? How does it know when to free memory?...

Tom Harris Programming advanced 407 0 28

Why does E=mc² and what does it mean?

I've heard Einstein's famous equation but I don't really understand what it means that energy equals mass times the speed of light squared. Can someone explain?...

Dr. Michael Roberts Physics intermediate 988 0 67

Understanding XSS attacks

What is Cross-Site Scripting (XSS) and how do I prevent it in my web apps?...

Mike Johnson Cybersecurity intermediate 761 0 52

SQL JOIN types explained with examples

I always mix up the different types of SQL JOINs. Can someone explain with clear examples: - INNER JOIN - LEFT JOIN - RIGHT JOIN - FULL OUTER JOIN - CROSS JOIN What's the difference and when would I...

Patricia Johnson Programming beginner 1651 0 112

What is CORS and how to fix it?

I keep getting CORS errors in my web app. What is CORS and how do I fix these errors?...

Robert Brown Web Development intermediate 1322 0 87

Understanding Promise.all vs Promise.allSettled

I'm confused about when to use Promise.all() vs Promise.allSettled() in JavaScript. From what I understand: - Promise.all() fails fast if any promise rejects - Promise.allSettled() waits for all prom...

Jennifer Lee Programming intermediate 955 0 56

What is *args and **kwargs in Python?

I see *args and **kwargs in Python function definitions but I don't understand what they mean. ```python def my_function(*args, **kwargs): pass ``` Can someone explain with examples?...

James Wilson Programming beginner 1307 0 78

Understanding React hooks

Can someone explain useState, useEffect, and useContext with practical examples?...

Mike Johnson Web Development intermediate 1176 0 79

How does a capacitor store energy?

I understand capacitors store charge, but how exactly does the energy get stored? And why is the formula E = ½CV²?...

David Miller Physics intermediate 429 0 19

How do I find the derivative of e^(x²)?

I'm learning calculus and struggling with the chain rule. When I have e raised to x squared, how do I find the derivative? Can someone walk me through the steps?...

David Miller Mathematics intermediate 526 0 23

Building a portfolio as a beginner

What kind of projects should I build to create an impressive portfolio as a self-taught developer?...

Harry Stevens Career Advice beginner 1296 0 98

How to solve systems of linear equations?

What are the different methods to solve systems of linear equations? When should I use substitution vs elimination vs matrices?...

Robert Brown Mathematics beginner 656 0 28

Database scaling: vertical vs horizontal

My database is becoming a bottleneck. Should I: - Scale vertically (bigger server)? - Scale horizontally (sharding/replication)? What are the trade-offs? How do I decide which approach to use?...

Sarah Chen Computer Science advanced 721 0 43

How to write a README that gets noticed

I want my GitHub projects to stand out. What should a great README include? I've seen some amazing READMEs with badges, GIFs, etc. What are the must-have sections? Any templates?...

Nina Patel Career Advice beginner 1300 0 87