ai:prompt:learning-new-technologies
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| ai:prompt:learning-new-technologies [2026/06/17 06:44] – created phong2018 | ai:prompt:learning-new-technologies [2026/06/18 00:36] (current) – phong2018 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | When learning any tech (Kafka, Redis, TCP, etc.): | ||
| + | |||
| + | 1. Start with WHY (Purpose / Motivation: most important first): Why does this exist? | ||
| + | |||
| + | 2. Then WHAT (Concept / Definition: structure, components): | ||
| + | |||
| + | 3. Then HOW (Implementation / Usage: flow, example, code) | ||
| + | |||
| + | 4. Then build something small | ||
| + | |||
| + | 5. Final summay by yourself (why, what, how) | ||
| + | |||
| + | |||
| + | |||
| ====== Framework: Learn Any Technology from First Principles ====== | ====== Framework: Learn Any Technology from First Principles ====== | ||
| Line 433: | Line 447: | ||
| Theory lasts. | Theory lasts. | ||
| + | =======Claude.ai======= | ||
| + | |||
| + | ====== Prompts to Learn the Theory Behind Any Technology ====== | ||
| + | |||
| + | ===== Core Prompt Templates ===== | ||
| + | |||
| + | ==== 1. The " | ||
| + | Before explaining how to use [technology/ | ||
| + | - What problem does it solve? | ||
| + | - What is the core theory/ | ||
| + | - What are the fundamental building blocks? | ||
| + | - How does the theory map to the implementation? | ||
| + | |||
| + | ==== 2. The " | ||
| + | Give me a taxonomy of [topic]. | ||
| + | - What are the main categories? | ||
| + | - What theory does each category come from? | ||
| + | - When would you choose one over another? | ||
| + | Example: "Give me a taxonomy of authentication methods and the theory behind each" | ||
| + | |||
| + | ==== 3. The "Why Does This Exist" Prompt ==== | ||
| + | Explain [technology] from first principles: | ||
| + | - What problem existed before it? | ||
| + | - What theoretical insight solved it? | ||
| + | - How does the implementation reflect that theory? | ||
| + | - What tradeoffs did the design make? | ||
| + | |||
| + | ==== 4. The "Layer by Layer" Prompt ==== | ||
| + | Explain [technology] in layers: | ||
| + | - Layer 1: The math/ | ||
| + | - Layer 2: The abstract concept built on that | ||
| + | - Layer 3: The protocol/ | ||
| + | - Layer 4: The library/ | ||
| + | Example: " | ||
| + | |||
| + | ==== 5. The " | ||
| + | Compare [A] vs [B] vs [C] starting from theory: | ||
| + | - What shared theory do they come from? | ||
| + | - Where does each one diverge in its approach? | ||
| + | - What does each tradeoff to gain something else? | ||
| + | Example: " | ||
| + | |||
| + | ===== Applied to Your Examples ===== | ||
| + | |||
| + | ^ Topic ^ Prompt to Use ^ | ||
| + | | **Auth** | ||
| + | | **Encryption** | //Explain encryption from first principles — what is the mathematical problem each type relies on, and how does that lead to symmetric vs asymmetric?// | ||
| + | | **SSO** | ||
| + | | **Databases** | ||
| + | |||
| + | ===== Master Prompt (Reusable) ===== | ||
| + | |||
| + | I'm learning [technology/ | ||
| + | Instead: | ||
| + | 1. What is the core theory or problem it's based on? | ||
| + | 2. What are the main categories or approaches, and why do they differ? | ||
| + | 3. How does the theory translate into the actual implementation? | ||
| + | 4. What are common misconceptions people have when they skip the theory? | ||
| + | | ||
| + | Then give me a concrete example that connects theory → implementation. | ||
| + | |||
| + | > This gives you **the why before the how**, so implementation always makes sense instead of feeling like memorization. | ||
ai/prompt/learning-new-technologies.1781678644.txt.gz · Last modified: by phong2018
