Searching the best prompts from our community
Most saved prompts this week
Build a modern shopping cart using Vue 3 Composition API. Features: 1. Reactive cart state with Pinia store. 2. Add/remove items with smooth transitions. 3. Quantity adjustments with debounced updates. 4. Price calculations including tax and shipping. 5. Persistent cart using localStorage. 6. Empty ...
Master systematic model selection and optimization for machine learning projects with performance evaluation frameworks. Model selection process: 1. Problem definition: classification vs. regression, supervised vs. unsupervised learning. 2. Data assessment: sample size (minimum 1000 for deep learnin...
Deploy with Kubernetes. Concepts: 1. Pods as deployment units. 2. Deployments for replica management. 3. Services for networking. 4. ConfigMaps and Secrets for config. 5. Namespaces for isolation. 6. Ingress for HTTP routing. 7. Resource limits and requests. 8. Health and readiness probes. Use kubec...
Implement MLOps practices for scalable machine learning deployment, monitoring, and lifecycle management. MLOps pipeline stages: 1. Data versioning: DVC (Data Version Control), data lineage tracking, feature store management. 2. Model training: automated retraining, hyperparameter optimization, expe...
Instagram-worthy acai bowl styling. Base: blend frozen acai, banana, berries, splash of almond milk (thick consistency). Bowl arrangement: 1. Smooth base with back of spoon. 2. Toppings in sections: sliced banana, strawberries, blueberries, granola, coconut flakes, chia seeds, honey drizzle. 3. Arra...
Execute successful product launches with comprehensive checklist. Pre-launch (4 weeks): 1. Beta testing with select customers, gather feedback. 2. Documentation: user guides, FAQ, API docs if applicable. 3. Support training: brief customer success team on new features. 4. Marketing materials: landin...
Build integrated marketing technology stack with automation optimization and data-driven decision making capabilities. MarTech architecture: 1. Core platforms: CRM (Salesforce, HubSpot), marketing automation (Marketo, Pardot), analytics (Google Analytics, Adobe Analytics). 2. Data layer: customer da...
Run effective sprint planning and backlog refinement sessions. Backlog grooming (weekly, 1 hour): 1. Review upcoming stories for clarity and completeness. 2. Add acceptance criteria and designs. 3. Estimate story points (Fibonacci sequence: 1, 2, 3, 5, 8). 4. Identify dependencies and blockers. 5. S...
Implement navigation in React Native apps. Patterns: 1. Stack navigator for hierarchical screens. 2. Tab navigator for main sections. 3. Drawer navigator for side menu. 4. Deep linking and universal links. 5. Screen transitions and gestures. 6. Nested navigators composition. 7. Authentication flow r...
Analyze competitors comprehensively. Framework: 1. Identify direct and indirect competitors. 2. Product/service comparison. 3. Pricing strategy. 4. Marketing channels and messaging. 5. Strengths and weaknesses. 6. Market positioning. 7. Customer reviews analysis. 8. Technology stack (for tech compan...
Compose a proactive shipping delay notification. Elements: 1. Clear subject line indicating delay. 2. Specific reason for delay (weather, supplier issue, high volume). 3. Original vs new estimated delivery date. 4. Tracking information update. 5. Compensation offer if significant delay. 6. Option to...
Run focused 5-day design sprints to solve big product challenges. Day 1 (Map): 1. Define long-term goal and sprint questions. 2. Map customer journey from start to finish. 3. Ask 'How Might We' questions and collect notes. 4. Target specific part of journey for sprint focus. Day 2 (Sketch): 1. Light...
Build modern iOS apps with SwiftUI. Components: 1. View protocol for custom views. 2. @State and @Binding for local state. 3. @ObservedObject for external state. 4. List with ForEach for collections. 5. Navigation with NavigationStack. 6. Async/await for data loading. 7. Custom view modifiers. 8. An...
Design a VR lesson for a world history class using Google Expeditions or similar platform. Objective: Students will identify key architectural features of the Colosseum and Roman Forum. Pre-VR Activity (10 mins): Introduce key vocabulary (arch, aqueduct, forum) and provide historical context. VR Exp...
Master data fetching with Tanstack Query (React Query). Features: 1. useQuery for async state management. 2. Query keys for caching strategy. 3. Automatic refetching on window focus. 4. Mutations with invalidation. 5. Optimistic updates for instant UI. 6. Infinite queries for pagination. 7. Prefetch...
Implement SWR for optimal data experience. Pattern: 1. useSWR hook with cache key. 2. Return stale data immediately. 3. Revalidate in background. 4. Dedupe simultaneous requests. 5. Focus revalidation. 6. Interval polling for real-time feel. 7. Error retry with exponential backoff. 8. Mutation with ...
Develop mobile marketing strategies for app promotion and user acquisition with retention optimization. App Store Optimization (ASO): 1. Keyword optimization: app title, subtitle, keyword field, description optimization for discovery. 2. Visual assets: app icon, screenshots, preview videos, localiza...
Build successful affiliate marketing programs with partner recruitment and performance optimization strategies. Program structure: 1. Commission models: percentage-based (5-20%), flat rate, tiered structure, performance bonuses. 2. Cookie duration: 30-90 days standard, product category consideration...
Model complex logic with XState. Machine structure: 1. States and transitions. 2. Context for extended state. 3. Actions on entry/exit. 4. Guards for conditional transitions. 5. Services for async invocations. 6. Parallel states. 7. History states. 8. Visualize with @xstate/inspect. Use for multi-st...
Balance new features with technical debt reduction effectively. Technical debt assessment: 1. Code quality metrics: cyclomatic complexity, test coverage, duplication. 2. Performance impact: page load times, API response times. 3. Developer productivity: time to implement new features. 4. Bug frequen...
Foolproof flaky pie crust using vodka method. Ingredients: flour, salt, sugar, cold butter cubes, ice water, vodka (2 tbsp). Science: vodka evaporates during baking, preventing gluten formation for tenderness. Method: 1. Pulse flour, salt, sugar. 2. Add butter, pulse to pea-size pieces. 3. Mix water...
Enable real-time features with Socket.io. Implementation: 1. Server-side io instance. 2. Client-side connection. 3. Emit and on for events. 4. Rooms for group messaging. 5. Broadcasting to multiple clients. 6. Acknowledgements for reliability. 7. Middleware for authentication. 8. Automatic reconnect...
Set up comprehensive funnel analytics to optimize conversion. Define key funnels: 1. Acquisition: landing page → signup → activation. 2. Conversion: trial start → paid conversion. 3. Engagement: login → core action → return visit. Track events: use event-based analytics (Amplitude, Mixpanel) not jus...
Implement advanced marketing personalization for enhanced customer experience and increased conversion rates. Personalization strategy: 1. Data collection: first-party data, behavioral tracking, preference centers, progressive profiling. 2. Segmentation: demographic, behavioral, psychographic, lifec...
Design load balancing and high availability systems for fault-tolerant, scalable application infrastructure. Load balancing strategies: 1. Application Load Balancer (ALB): Layer 7 routing, host/path-based routing, SSL termination. 2. Network Load Balancer (NLB): Layer 4 performance, static IP addres...
Develop B2B marketing strategies with lead generation tactics and account-based marketing for enterprise sales. B2B lead generation: 1. Content marketing: whitepapers, case studies, industry reports, gated content for lead capture. 2. LinkedIn strategy: thought leadership, InMail campaigns, LinkedIn...
Transcribe audio with Whisper. Implementation: 1. Load Whisper model (tiny to large). 2. Process audio files (mp3, wav, m4a). 3. Automatic language detection. 4. Multilingual transcription. 5. Timestamp generation. 6. Speaker diarization integration. 7. Translate to English option. 8. Batch processi...
Develop multi-modal AI systems integrating vision and language for comprehensive understanding and generation tasks. Multi-modal architecture: 1. Vision encoders: ResNet, EfficientNet, Vision Transformer for image feature extraction. 2. Language encoders: BERT, RoBERTa, T5 for text understanding, to...
Set up comprehensive monitoring with Prometheus and Grafana. Components: 1. Prometheus server with service discovery. 2. Node Exporter for system metrics. 3. Application instrumentation with custom metrics. 4. Alertmanager for notifications (PagerDuty, Slack). 5. Grafana dashboards for visualization...
Scan for security vulnerabilities. Tools: 1. SAST (Snyk, SonarQube) for code analysis. 2. DAST for runtime scanning. 3. Dependency scanning (npm audit, Dependabot). 4. Secret detection (GitGuardian). 5. Container scanning. 6. Infrastructure as Code scanning. Integrate in CI/CD. Fix critical issues i...
Navigate pricing discussions strategically. Anchor high: present highest tier first, then lower options seem reasonable. Discount guidelines: never discount on first ask ('Let me see what I can do'). Offer discounts for: 1. Annual prepayment (10-15%). 2. Case study participation (5%). 3. Larger comm...
Implement NPS program. Process: 1. Survey timing (post-interaction or periodic). 2. Question: 'How likely to recommend 0-10?' 3. Categorize: Promoters (9-10), Passives (7-8), Detractors (0-6). 4. Calculate: %Promoters - %Detractors. 5. Follow-up questions for context. 6. Close the loop with responde...
Create engaging social media marketing campaigns with platform-specific strategies and community building tactics. Platform optimization: 1. Facebook: video content (60% engagement boost), Facebook Groups, live streaming, Stories format. 2. Instagram: high-quality visuals, Reels (22x more reach), ha...
Analyze personal stories and narratives for meaning-making. Theoretical approaches: 1. Structural analysis: examine how stories are constructed (Labov & Waletsky). 2. Thematic analysis: focus on content and themes across stories. 3. Performative analysis: consider audience and purpose of storytellin...
Develop comprehensive content marketing strategies with creation workflows and multi-channel distribution plans. Content strategy framework: 1. Audience research: buyer personas, pain points, content consumption preferences, journey stage alignment. 2. Competitive analysis: content gaps, successful ...
Write clear user stories with testable acceptance criteria. Format: 'As a [persona], I want [functionality], so that [benefit].' Example: 'As a returning customer, I want to save my payment information, so that I can checkout faster on future purchases.' Acceptance criteria using Given-When-Then: Gi...
Create comprehensive data management plan for research lifecycle. Data collection: 1. File naming conventions (YYYYMMDD_projectname_version). 2. Data formats: use open, non-proprietary formats (CSV, TXT) when possible. 3. Version control: track changes with clear versioning system. 4. Backup strateg...
Build distributed machine learning systems using parallel computing frameworks for large-scale model training and inference. Distributed training strategies: 1. Data parallelism: split data across workers, synchronize gradients, parameter servers or all-reduce. 2. Model parallelism: split model laye...
Build winning sales team culture through consistent rituals. Monday kickoff (30 mins): 1. Review week's goals. 2. Celebrate last week's wins (ring gong for closed deals). 3. Share one learning from lost deal. 4. Set individual commitments. Wednesday pipeline review (45 mins): 1. Forecast updates. 2....
Create a web-based IDE mockup inspired by Cursor. Requirements: 1. File explorer sidebar. 2. Multi-tab editor with dummy code. 3. 'AI Assistant' chat window on the right. 4. Command palette (Ctrl+K) simulation. 5. Integrated terminal at the bottom. Use dark VS Code colors (One Dark Pro) and high-den...
Professional catering event planning. Timeline 100-person wedding buffet: Day before: shop, prep vegetables, make sauces, bake desserts. Event day: -4 hours: arrive, set up kitchen. -3 hours: start cooking proteins. -2 hours: finish sides, keep warm. -1 hour: set buffet, chafing dishes. Service: rep...
Implement performance reviews. Framework: 1. Goal setting (beginning of period). 2. Regular 1-on-1s (weekly/bi-weekly). 3. Mid-year check-in. 4. Annual review (achievements, areas for growth). 5. 360-degree feedback. 6. Self-assessment component. 7. Development plan. 8. Compensation decisions separa...
Master optimization algorithms for machine learning including gradient descent variants and advanced optimization techniques. Gradient descent fundamentals: 1. Batch gradient descent: full dataset computation, stable convergence, slow for large datasets. 2. Stochastic gradient descent (SGD): single ...
Write effective news articles using journalism fundamentals and ethical standards. Inverted pyramid structure: 1. Lead (25 words): who, what, when, where, why in order of importance. 2. Body: supporting details in descending order of significance. 3. Tail: background information, future implications...
Develop franchise model. Components: 1. Proven concept and unit economics. 2. Franchise agreement (legal document). 3. Franchise fee structure (initial + ongoing royalties). 4. Training program for franchisees. 5. Operations manual (detailed SOPs). 6. Marketing support and brand guidelines. 7. Terri...
Protect APIs with rate limiting. Strategies: 1. Fixed window (requests per minute). 2. Sliding window for smoother limits. 3. Token bucket for burst handling. 4. Leaky bucket for consistent rate. 5. Per-user vs global limits. 6. Redis for distributed rate limiting. 7. Return 429 with Retry-After hea...
Validate and sanitize user input. Techniques: 1. Whitelist allowed input. 2. Validate data types and formats. 3. Length restrictions. 4. Regex for pattern matching. 5. Sanitize HTML to prevent XSS. 6. Parameterized queries for SQL injection. 7. Validate on client AND server. 8. Contextual output enc...
Optimize product portfolio mix for maximum business value. Portfolio analysis framework: 1. Market attractiveness: size, growth rate, competitive intensity. 2. Product strength: market share, customer satisfaction, profitability. 3. Strategic fit: alignment with company capabilities and vision. 4. R...
Implement automated machine learning pipelines for efficient model development, hyperparameter optimization, and feature engineering. AutoML components: 1. Automated feature engineering: feature generation, selection, transformation, polynomial features. 2. Algorithm selection: model comparison, per...
Authentic beef pho broth (Pho Bo). Bones: 5lbs beef knuckle and marrow bones, blanch first. Aromatics: char onion and ginger over flame. Spices: toast star anise, cinnamon, coriander, cloves. Simmer: 24 hours at bare simmer, skim frequently. Season: fish sauce, rock sugar, salt to balance. Strain: t...