Showing 20 problems

OAuth 2.0 flow explained simply

I'm implementing OAuth 2.0 for my app but the flow is confusing. Can someone explain: 1. Authorization Code flow (with PKCE) 2. When to use which grant type 3. What are access tokens vs refresh token...

Chris Anderson Cybersecurity intermediate 1192 0 78

Microservices vs Monolith - how to decide?

I'm designing a new system and can't decide between microservices and monolithic architecture. What factors should I consider? When is microservices overkill? What are the hidden costs of microservic...

Rachel Martinez Computer Science advanced 946 0 61

Understanding logarithm properties

I'm confused about log rules. Can someone explain log(ab) = log(a) + log(b) and other properties with examples?...

Maria Garcia Mathematics beginner 430 0 19

Understanding pointers in C

Pointers in C are confusing me. What exactly is a pointer and why do we need them?...

Lisa Park Programming intermediate 475 0 27

Server-Side Rendering vs Static Site Generation

I'm building a Next.js app and confused about when to use: - getServerSideProps (SSR) - getStaticProps (SSG) - getStaticPaths What are the trade-offs? When should I use each approach?...

Sarah Chen Web Development intermediate 947 0 58

Balancing redox equations - half reaction method

I can balance simple equations but redox reactions are hard. For this reaction: Fe + HNO3 -> Fe(NO3)3 + NO + H2O How do I use the half-reaction method to balance it in acidic solution?...

Maria Garcia Chemistry intermediate 735 0 42

How to securely store API keys?

I accidentally committed my API key to GitHub and now I'm paranoid. What's the best way to: 1. Store API keys in development? 2. Store API keys in production? 3. Rotate keys if they're compromised? ...

Mike Johnson Cybersecurity beginner 1533 0 98

useEffect cleanup function explained

I don't understand the cleanup function in React's useEffect. When does it run and why do I need it? ```jsx useEffect(() => { // setup return () => { // cleanup - when does this run? }; }, ...

Kevin O'Brien Web Development intermediate 1058 0 62

How to reverse a string in JavaScript?

I need to reverse a string in JavaScript. For example, "hello" should become "olleh". I've tried using a for loop but my code isn't working: ```javascript function reverseString(str) { let reverse...

Mike Johnson Programming beginner 1643 0 89

Understanding REST API design

What makes a good REST API? What are the best practices for designing endpoints?...

Jennifer Lee Web Development intermediate 1040 0 71

Eigenvalues and eigenvectors intuition

I can compute eigenvalues and eigenvectors but I don't understand what they mean geometrically. Can someone explain the intuition?...

Emma Wilson Mathematics advanced 502 0 31

Taylor series expansion explained

How do I expand a function as a Taylor series? What's the intuition behind it and when is it useful?...

David Miller Mathematics advanced 272 0 12

Python list comprehension vs map/filter

When should I use list comprehension vs map() and filter() in Python? For example, these seem to do the same thing: ```python # List comprehension squares = [x**2 for x in range(10)] # map squares ...

Emma Wilson Programming intermediate 940 0 54