#python
#automation
#code
Generate a Python script to sort files in a directory by extension.
Write a Python script that scans a specific directory and moves files into subfolders based on their file extensions (e.g., .jpg to 'Images', .txt to 'Documents'). Include comments explaining the code.
#productivity
#summarization
#notes
Convert raw notes into a structured meeting summary.
Convert the following raw meeting notes into a structured summary with sections for Attendees, Agenda Items, Key Decisions, and Action Items: [Insert Raw Notes Here].
#learning
#explanation
#education
Break down a difficult subject for a beginner.
Explain the concept of [Topic] as if I were a 10-year-old. Use simple analogies and avoid technical jargon. Include an example to illustrate the point.
#communication
#roleplay
#soft-skills
Simulate a scenario to practice negotiation or giving feedback.
Act as a difficult team member who is resistant to feedback. I will attempt to give you constructive criticism about missing deadlines. Respond realistically, giving me a chance to practice my persuasion and conflict resolution skills.
#writing
#blogging
#structure
Structure a blog post about a specific niche.
Create a detailed outline for a 1000-word blog post about [Topic]. The outline should include a catchy title, an introduction with a hook, 3-5 main subheadings with bullet points for content, and a conclusion with a call to action.
#lifestyle
#cooking
#planning
Create a meal plan based on dietary restrictions.
Create a 5-day dinner meal plan for a family of four that is vegetarian and gluten-free. Include a shopping list organized by food category (produce, dairy, pantry) for all the required ingredients.
#marketing
#social-media
#copywriting
Generate captions for Instagram or LinkedIn.
Write 3 engaging Instagram captions for a photo showing [Product/Scene]. Use a different tone for each: one enthusiastic, one inspirational, and one informative. Include relevant hashtags.
#programming
#debugging
#logic
Identify logical errors in a provided code block.
Analyze the following code snippet and identify any logical errors or potential bugs. Provide the corrected code and explain the changes made: [Insert Code Here].
#system-design
#microservices
#refactoring
#data-migration
Design a comprehensive strategy to refactor a legacy monolithic application into microservices, considering data consistency and migration.
Act as a Principal Software Architect. You have been given a 50,000-line monolithic Java application handling payments and user management. Your task is to outline a comprehensive strategy to break this monolith into microservices. Your response must include: 1) Identification of service boundaries (Bounded Contexts), 2) A data migration strategy ensuring zero downtime, 3) Selection of inter-service communication patterns (Synchronous vs Asynchronous), and 4) An approach to handling distributed transactions. Be specific about the technologies you would recommend for this transition and justify your choices based on the CAP theorem.
#storytelling
#psychological-thriller
#narrative-voice
Write a story opening from the perspective of an unreliable narrator trying to conceal a crime.
You are an expert fiction author. Write the opening chapter (1000 words) of a mystery novel from the first-person perspective of an unreliable narrator who is trying to convince the reader they are innocent of a crime, while subtly dropping clues that contradict their statements. The tone should be manipulative and desperate. Do not explicitly state the crime; let the reader infer it through the narrator's inconsistent details and defensive attitude. Focus on showing the disparity between what the narrator says and what is actually happening.
#ethics
#philosophy
#critical-thinking
#moral-theory
Analyze a classic ethical dilemma through five distinct philosophical frameworks.
Analyze the classic Trolley Problem through the lenses of five distinct ethical frameworks: Utilitarianism, Deontology, Virtue Ethics, Care Ethics, and Social Contract Theory. For each framework, provide a structured argument for why pulling the lever (or not pulling it) is the correct action, referencing the core principles of that philosophy. Conclude by synthesizing these views into a meta-ethical reflection on the limitations of rigid moral rules in crisis situations and how conflicting duties contribute to moral distress.
#biostatistics
#data-analysis
#regulatory-affairs
#healthcare
Simulate a regulatory review of a clinical trial dataset focusing on statistical significance and safety.
Act as a Senior Biostatistician conducting a regulatory review for the FDA. You are presented with a summary of a Phase III double-blind clinical trial for a new cardiovascular drug. The data shows a p-value of 0.04 for the primary endpoint but a Confidence Interval that crosses the line of no effect. Your task is to interpret these results critically. Check for: 1) Statistical significance vs. clinical relevance, 2) Potential biases in the study design (e.g., selection bias, attrition), and 3) Safety concerns based on the adverse event profile which shows a slight increase in arrhythmias. Write a professional review summary outlining your decision on whether to recommend approval or request another trial.
#architecture
#scalability
#system-design
#backend
Create a comprehensive strategy for scaling a high-throughput distributed system.
Act as a Senior Solutions Architect. Design a scalability strategy for a microservices-based e-commerce platform currently handling 10,000 requests per second (RPS) with a target of 100,000 RPS. Your strategy must address: 1) Database sharding and replication topology for PostgreSQL, 2) Caching layers using Redis for session and product data, 3) Message queuing mechanisms (e.g., Kafka vs. RabbitMQ) for asynchronous order processing, 4) Auto-scaling policies for Kubernetes pods based on custom metrics, and 5) A Circuit Breaker pattern implementation to prevent cascading failures. Provide a detailed technical explanation, including potential trade-offs for each decision.
#creative-writing
#style-transfer
#narrative
#literature
Rewrite a technical concept using the literary style of a specific famous author.
Rewrite the explanation of how a Neural Network learns via backpropagation, but adopt the distinct narrative voice, sentence structure, and vocabulary of H.P. Lovecraft. Focus on themes of obscure mathematics, madness, and the indescribable complexity of the 'learning machine.' Ensure the technical accuracy of the backpropagation process remains intact despite the eldritch styling. Avoid generic horror tropes; focus on the atmosphere and philosophical dread.
#sql
#database
#optimization
#performance
Analyze and optimize a highly inefficient SQL query for a large dataset.
Given a scenario with a table 'User_Activities' containing 50 million rows and columns (user_id, activity_type, timestamp, metadata), write an optimized query to find the top 10 users who performed the specific sequence of actions 'Login' -> 'View_Product' -> 'Purchase' within a 30-minute window at least 5 times in the last month. Explain your indexing strategy, join logic, and how you would handle window functions to optimize execution time. Additionally, provide the EXPLAIN ANALYZE output interpretation for your proposed solution.