conversations listlengths 2 2 | source_label_exact listlengths 0 15 |
|---|---|
[
{
"from": "human",
"value": "Write a Java program that reads a CSV file containing information about employees (ID, name, age, department) and calculates the average age of employees in each department. The output should be displayed as a list of departments along with their corresponding average ages.\nPLA... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Create a JavaScript function that takes an array of integers as input and returns the sum of all even numbers in the array. The function should also handle cases where the input is not an array or contains non-integer values."
},
{
"from": "gpt",
"value": "Certainly!... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Create a Python program that implements a simple chatbot using natural language processing techniques. The chatbot should be able to understand user input and generate appropriate responses based on predefined rules or patterns. PLAINFORMAT"
},
{
"from": "gpt",
"valu... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Develop a Python script that interacts with a PostgreSQL database to insert, update, delete, and retrieve records from a \"users\" table containing fields: id, name, email, and age.\nPLAINFORMAT"
},
{
"from": "gpt",
"value": "Here’s a Python script that interacts wit... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A company produces two types of products: Product A and Product B. The profit for each unit of Product A is $20, while the profit for each unit of Product B is $30. If the company sells 100 units of Product A and 150 units of Product B, what is their total profit?"
},
{
... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "There are 6 friends sitting around a circular table. Alice is sitting next to Bob, who is sitting across from Carol. Dave is sitting two seats away from Eric, who is not sitting next to Frank. How many possible seating arrangements are there for these friends?"
},
{
"fro... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In Python, write a function that calculates and returns the Euclidean distance between two points in a plane."
},
{
"from": "gpt",
"value": "Certainly! To calculate the Euclidean distance between two points in a 2D plane, you can use the formula:\n\n\\[ \\text{Distan... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Develop a Python script that monitors a specified directory for new files and automatically compresses them using gzip whenever a new file is detected. The script should run continuously and utilize inotify or similar functionality to watch for changes.\nPLAINFORMAT"
},
{
... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "There are 5 red apples and 3 green apples in a basket. You take out 2 red apples, but then you put back 1 green apple. How many red apples are left in the basket?"
},
{
"from": "gpt",
"value": "Initially, there are 5 red apples and 3 green apples in the basket. \n\nW... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Create a Python script that implements a linked list data structure with methods for adding elements at the beginning, end, and specific index positions, deleting elements by value or index, and searching for an element in the list. PLAINFORMAT"
},
{
"from": "gpt",
"... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Write a C program that implements a simple command line utility for file handling. It should support commands for creating a new file, writing data into a file, reading data from a file, and deleting a file."
},
{
"from": "gpt",
"value": "Below is a simple command-li... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Create a Python script that finds all prime numbers up to a given limit using the Sieve of Eratosthenes algorithm. Display the prime numbers in a comma-separated format.\nPLAINFORMAT"
},
{
"from": "gpt",
"value": "Sure! Below is a Python script that uses the Sieve of... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In a village, there are 20 houses. Each house has at least one cat and each cat has an equal number of kittens. The total number of cats and kittens in the village is 100. How many kittens does each cat have?"
},
{
"from": "gpt",
"value": "Let \\( c \\) represent the... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A factory produces 100 cars per day. Each car has 4 wheels. If the factory increases its production by 50% and starts producing trucks with 6 wheels each, how many wheels will be produced daily?"
},
{
"from": "gpt",
"value": "To find the total number of wheels produc... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Write a poem about the beauty of art in the style of Pablo Neruda."
},
{
"from": "gpt",
"value": "In the quiet cradle of twilight, \nwhere hues of grief and joy entwine, \nthe canvas breathes, a vibrant heart, \na pulse beneath the brush’s dance, \neach stroke a ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In a deck of standard playing cards, there are four suits: hearts, diamonds, clubs, and spades. Each suit contains 13 cards, including one ace. If you draw two cards from the deck without replacement, what is the probability that both cards will be aces? Provide step-by-step log... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "On Monday, Sam ate half of a pizza. Every day after that, he ate half of what remained from the previous day. By Sunday, how much of the pizza did Sam eat?"
},
{
"from": "gpt",
"value": "Let's start by tracking the amount of pizza Sam eats each day.\n\n- On **Monday*... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Design a RESTful API using Node.js and Express.js that supports CRUD operations on a \"Book\" resource. The Book model should include fields such as title, author, publication date, and ISBN. Use MongoDB as the backend database and ensure proper validation for each field."
},
... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "There are 30 birds on a tree. A hunter shoots 8 of them. How many birds are left on the tree?"
},
{
"from": "gpt",
"value": "Initially, there are 30 birds on the tree. When a hunter shoots 8 of them, you might initially think to subtract 8 from 30, which gives 22. Ho... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A large hotel chain is analyzing its room occupancy rates to determine if they should build additional hotels in certain cities. The chain currently operates five hotels in a city with a total of 1,500 rooms. On average, 75% of these rooms are occupied each night. Calculate the ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In a village, there are 20 houses. Each house has a dog that barks at cats but not at other dogs. One day, a cat enters the village and all the dogs start barking. How many total barks do we hear?"
},
{
"from": "gpt",
"value": "In the village, there are 20 houses, an... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "There are two boxes labeled \"Apples\" and \"Oranges.\" You know that one box contains only apples, the other contains only oranges, but the labels on the boxes are incorrect. Without looking inside, you take out one fruit from one of the boxes. It's an apple. Which box did you ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Write a Python program that simulates a simple bank account system with basic functionalities such as depositing money, withdrawing money, and checking balance. The program should use object-oriented programming principles and handle errors gracefully."
},
{
"from": "gpt... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A chat between Lorenzo and Robert.\nDescription of Lorenzo:\nMeet our charming and charismatic male bartender, Lorenzo. With a knack for mixing the perfect cocktail and an uncanny ability to remember every patron's favorite drink, he is the life of any party. His easygoing natur... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Create a script for a podcast episode about the history of a specific type of cuisine. The episode should include interesting facts, stories about famous chefs or restaurants, and tips for cooking that style of food at home."
},
{
"from": "gpt",
"value": "**Podcast E... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "There are 20 birds on a tree branch. A hunter shoots and kills 5 of them. How many birds are left on the tree branch?"
},
{
"from": "gpt",
"value": "If a hunter shoots and kills 5 of the 20 birds on the tree branch, there would technically be 15 birds left. However, ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Develop a short story where each sentence begins with a different letter of the alphabet, starting from 'a'."
},
{
"from": "gpt",
"value": "**A** warm breeze rustled the leaves of the trees lining the small village square. **B**irds chirped merrily, filling the air w... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Develop a Python script that reads a CSV file containing names and email addresses, validates the email addresses using regular expressions, and sends a personalized greeting email to each valid recipient using the SMTP protocol. The script should accept command line arguments f... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "What is the key to maintaining healthy relationships? Respond using the words/style of Fred Flintstone."
},
{
"from": "gpt",
"value": "Yabba dabba doo! Well, let me tell ya, the key to keepin' those relationships nice and cozy, just like a caveman’s cave, starts with... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In a zoo, there are three animal caretakers - Mike, Laura, and Steve. Each of them is responsible for feeding different animals: Mike feeds the lions, Laura feeds the elephants, and Steve feeds the giraffes. One day, they all place their buckets of food in a storage room before ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Write a sonnet about the beauty of nature in the style of Dr. Seuss."
},
{
"from": "gpt",
"value": "In a land where the Whimsies and Wobbles do play, \nWhere the skies turn pink and the trees sway and sway, \nThere’s a beauty so wondrous, it dances and twirls, \nI... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A city consumes 150,000 kWh of electricity per day. How many GWh of electricity does the city consume in a year? Assume a year has 365 days. Show your work."
},
{
"from": "gpt",
"value": "To calculate the annual electricity consumption of the city in gigawatt-hours (... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Implement a Python program that uses the Keras library to create a neural network model for classifying handwritten digits from the MNIST dataset.\nPLAINFORMAT"
},
{
"from": "gpt",
"value": "Certainly! Below is a simple Python program that uses the Keras library to c... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Explain the principles of graphic design and provide examples of how these principles are applied in real-world scenarios."
},
{
"from": "gpt",
"value": "Graphic design is guided by several key principles that help ensure effective communication and aesthetic appeal.... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Determine the derivative of the function f(x) = x^3 - 4x^2 + 2x - 1. Explain your reasoning."
},
{
"from": "gpt",
"value": "To determine the derivative of the function \\( f(x) = x^3 - 4x^2 + 2x - 1 \\), we will use the power rule of differentiation. The power rule s... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Write an alternative indie song about breaking free from societal expectations. The lyrics should question norms, advocate for personal freedom, and encourage listeners to forge their own paths."
},
{
"from": "gpt",
"value": "**Title: \"Unchained\"**\n\n*(Verse 1)* ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "If a rectangular garden has a length of 20 meters and a width of 15 meters, what is its perimeter? Show your work."
},
{
"from": "gpt",
"value": "The perimeter \\( P \\) of a rectangle can be calculated using the formula:\n\n\\[\nP = 2 \\times ( \\text{length} + \\te... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In a room, there are 5 people who have a total of 25 apples. If the first person has 3 apples, the second person has 4 apples, and the third person has 6 apples, how many apples does the fifth person have?"
},
{
"from": "gpt",
"value": "To find out how many apples th... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A farmer has 17 sheep, and all but 9 die. How many are left? Provide step-by-step logic."
},
{
"from": "gpt",
"value": "Let's break down the problem step-by-step.\n\n1. The farmer originally has 17 sheep.\n2. The phrase \"all but 9 die\" means that out of the 17 shee... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Compose a heavy metal song about breaking free from constraints. The lyrics should embody strength, defiance, and liberation."
},
{
"from": "gpt",
"value": "**Title: Chains of Ice**\n\n**Verse 1:** \nIn the shadows, where I’ve crawled, \nBound in silence, but I sta... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Narrate the process involved in making a film from pre-production to post-production. Include steps like scriptwriting, casting, shooting, editing, and marketing."
},
{
"from": "gpt",
"value": "Creating a film is a multifaceted process that involves several stages, e... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Design a C# program that reads a CSV file containing information about employees (ID, name, department, salary) and calculates the total salary paid per department. Use a dictionary to store the results and print them out."
},
{
"from": "gpt",
"value": "To create a C... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Compare and contrast two meditation techniques, highlighting their differences in approach and potential benefits for practitioners."
},
{
"from": "gpt",
"value": "Meditation is a diverse practice with various techniques aimed at enhancing mindfulness, relaxation, an... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Tom and Jerry start at opposite ends of a straight road that is 100 meters long. They both start running towards each other at the same time. Tom runs at a speed of 5 meters per second, while Jerry runs at a speed of 3 meters per second. How far from Tom's starting point will th... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Write a scene where Spiderman and Superman debate who is the better superhero."
},
{
"from": "gpt",
"value": "**Title: The Great Superhero Debate**\n\n**Setting:** A rooftop in New York City, the sun setting behind the skyline. The air is crisp, and the faint sounds ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "What is the IUPAC name of a cycloalkane compound with 8 carbon atoms in its ring?"
},
{
"from": "gpt",
"value": "The IUPAC name for a cycloalkane compound with 8 carbon atoms in its ring is cyclooctane."
}
] | [
"CamelAI Chemistry"
] |
[
{
"from": "human",
"value": "In a village, there are 50 houses in total. Each house has a dog living in it. However, some dogs occasionally visit other houses. If each dog visits 3 different houses every day, how many total dog visits occur daily in the village?"
},
{
"from": "gpt",
"value": "In... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In Python, develop a function that calculates the nth term of a geometric progression given the first term, the common ratio, and n."
},
{
"from": "gpt",
"value": "Certainly! A geometric progression (GP) is a sequence of numbers where each term after the first is fou... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Write a Java program that creates a simple chat application using sockets. The application should support multiple clients connecting to a central server, and clients should be able to send messages to all other connected clients."
},
{
"from": "gpt",
"value": "Sure!... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "This is a chat between 2 characters: Jack, Dr. Noam Chomsky\n\nJack: Think of a character named Jack, who is a charismatic salesman. He has a persuasive way of speaking, often using anecdotes and metaphors. While he is friendly and charming, he tends to exaggerate and make grand... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "If a certain disease doubles in spread every day and it takes 10 days to infect the entire population, on which day was half the population infected? Propose multiple solutions, rank them, and select the most plausible one."
},
{
"from": "gpt",
"value": "To analyze t... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Identify three modern literary works heavily influenced by Shakespeare's writing style or themes, and explain the specific elements they borrowed."
},
{
"from": "gpt",
"value": "Certainly! Here are three modern literary works that have been heavily influenced by Shak... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A construction company is building a new residential complex with 500 apartments. The complex will have three types of apartments: one-bedroom (600 sq ft), two-bedroom (900 sq ft), and three-bedroom (1,200 sq ft). The total area allocated for the apartments is 450,000 sq ft. Det... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A factory produces 500 units of product A per day at a cost of $20 per unit. The factory also incurs fixed costs of $2000 per day for rent and utilities. If the factory sells each unit of product A for $30, how many days will it take for the factory to earn a profit of $10,000?"... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Create a Python script that generates a random password of length 8-12 characters containing at least one uppercase letter, one lowercase letter, one digit, and one special character.\nPLAINFORMAT"
},
{
"from": "gpt",
"value": "Certainly! Below is a Python script tha... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Classify the following dance styles according to their origin: Tango, Ballet, Hip Hop, Salsa, and Bharatanatyam."
},
{
"from": "gpt",
"value": "Sure! Here's the classification of the dance styles according to their origin:\n\n1. **Tango** - Argentina\n2. **Ballet** -... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Design a SQL query that retrieves the top 5 highest-rated movies from a database with tables \"movies\" (id, title, release_year, rating) and \"reviews\" (id, movie_id, reviewer_name, review_text, rating). The result should include the movie title, average rating, and total numb... | [
"Airoboros 2.2",
"Platypus"
] |
[
{
"from": "human",
"value": "Did Dan White's defense team claim that eating Twinkies caused him to murder George Moscone and Harvey Milk?"
},
{
"from": "gpt",
"value": "Dan White's defense team did not claim that eating Twinkies caused him to murder George Moscone and Harvey Milk, but they did u... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "How do skunks defend themselves?"
},
{
"from": "gpt",
"value": "Skunks have several defense mechanisms to protect themselves from predators:\n\n1. **Scent Spray**: The most well-known defense mechanism of skunks is their ability to spray a foul-smelling liquid. They ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In a classroom, there are 15 boys and 10 girls. If one-third of the boys wear glasses and half of the girls wear glasses, how many students in total wear glasses?"
},
{
"from": "gpt",
"value": "To find the total number of students who wear glasses in the classroom, w... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In a room, there are 8 people who speak English, 7 people who speak French, and 5 people who speak both languages. How many people are in the room?"
},
{
"from": "gpt",
"value": "To find the total number of people in the room, we can use the principle of inclusion-ex... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In a room, there are 10 people. Each person has the same number of friends as their age in years. The total number of friendships in the room is 110. How old is the youngest person in the room?"
},
{
"from": "gpt",
"value": "To solve this problem, we denote the age o... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Write a Node.js application that listens on port 3000 and uses AWS Lambda to resize images uploaded by users. The resized images should be saved to an S3 bucket."
},
{
"from": "gpt",
"value": "To create a Node.js application that listens for image uploads on port 300... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "There are 120 students in a school choir. Among them, 75% are girls, and the rest are boys. During a concert, 20% of the girls and 25% of the boys were absent. How many students attended the concert?"
},
{
"from": "gpt",
"value": "To find out how many students attend... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Draft a heavy metal song about standing against oppression. The lyrics should be powerful, defiant, and rally listeners to resist unjust systems."
},
{
"from": "gpt",
"value": "**Title: Rise of the Defiant**\n\n*(Verse 1)* \nIn the shadow of the towers, where the da... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A chat between Lorenzo and Robert.\nDescription of Lorenzo:\nMeet our charming and charismatic male bartender, Lorenzo. With a knack for mixing the perfect cocktail and an uncanny ability to remember every patron's favorite drink, he is the life of any party. His easygoing natur... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Craft a suspenseful thriller involving a treasure hunt on a haunted island. Your main characters are archaeologists Emma and Leo, who are determined to uncover the secrets of the island despite its eerie reputation."
},
{
"from": "gpt",
"value": "**Title: Shadows of ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In a town, 30% of the people have cats, and 40% of the people have dogs. What percentage of people in the town have both cats and dogs?"
},
{
"from": "gpt",
"value": "To find the percentage of people in the town who have both cats and dogs, we can use the principle o... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "There are three boxes labeled \"Apples,\" \"Oranges,\" and \"Mixed.\" All labels are incorrect. You may only pick one fruit from one box without looking inside. Which box should you choose to determine the contents of all boxes correctly?"
},
{
"from": "gpt",
"value"... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Provide five practical tips for remaining productive during lockdown, addressing both physical and mental aspects of maintaining focus and motivation."
},
{
"from": "gpt",
"value": "Certainly! Here are five practical tips for remaining productive during a lockdown, a... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "As a financial advisor, provide three strategies for managing personal finances effectively. Each strategy should be explained in detail with its potential benefits and risks. This task must be completed in JSON format."
},
{
"from": "gpt",
"value": "```json\n{\n \"... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "What happens if you eat a banana?"
},
{
"from": "gpt",
"value": "Eating a banana can have several effects on your body, primarily due to its nutritional content. Here’s what generally happens:\n\n1. **Nutrient Intake**: Bananas are rich in several important nutrients... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In a standard deck of 52 playing cards, what is the probability of drawing four cards with exactly one card from each suit (hearts, diamonds, clubs, spades)?"
},
{
"from": "gpt",
"value": "To find the probability of drawing four cards from a standard deck of 52 cards... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A train travels at a speed of 60 miles per hour. It takes the train 4 hours to travel between two cities. If it had traveled at a speed of 80 miles per hour, how long would it take for the train to travel between the same two cities?"
},
{
"from": "gpt",
"value": "To... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "There are three boxes labeled \"Apples,\" \"Oranges,\" and \"Mixed.\" Each box contains either only apples, only oranges, or a mix of both. However, all three labels are incorrect. Without looking inside, you may pick one fruit from any box. After picking one fruit from a box, h... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A jar contains 4 red marbles, 6 blue marbles, and 10 green marbles. If you randomly draw 3 marbles without replacement, what is the probability that you get at least one red marble?"
},
{
"from": "gpt",
"value": "To find the probability of drawing at least one red ma... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Role-play as a financial advisor speaking to a young adult who has just started their first job. Provide advice on why personal finance management is important and give three practical steps they can take to start managing their finances effectively."
},
{
"from": "gpt",... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "What is the IUPAC name of the straight-chain alkane that has 12 carbon atoms?"
},
{
"from": "gpt",
"value": "The IUPAC name of the straight-chain alkane that has 12 carbon atoms is dodecane."
}
] | [
"CamelAI Chemistry"
] |
[
{
"from": "human",
"value": "Determine the limit as x approaches infinity of (1/x)."
},
{
"from": "gpt",
"value": "To determine the limit as \\( x \\) approaches infinity of the expression \\( \\frac{1}{x} \\), we can analyze the behavior of the function as \\( x \\) increases.\n\nAs \\( x \\) b... | [
"Airoboros 2.2",
"Platypus"
] |
[
{
"from": "human",
"value": "A train travels at an average speed of 90 kilometers per hour. If it takes the train 3 hours to travel from City A to City B, how far apart are the two cities?"
},
{
"from": "gpt",
"value": "To calculate the distance between City A and City B, you can use the formula... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "If a car rental company charges a flat fee of $20 per day plus an additional $0.15 per mile driven, how much will it cost to rent a car for 3 days and drive 200 miles?"
},
{
"from": "gpt",
"value": "To calculate the total cost of renting a car for 3 days and driving ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Design a Python script that interacts with Azure Storage to create a new container, upload a file from the local system to the container, and list all files within the container.\nPLAINFORMAT"
},
{
"from": "gpt",
"value": "Certainly! Below is a Python script that int... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Develop a C++ application that implements a simple chat client and server using sockets. The server should support multiple clients simultaneously, and each client should be able to send messages to all other connected clients.\nPLAINFORMAT"
},
{
"from": "gpt",
"valu... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Create a Python script that connects to a SQLite database, creates a table called \"students\" with columns for name, age, and grade, and inserts sample data into the table. The script should also include functions to query the database and display all records, update a student'... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In the voice of Jane Austen, describe a modern cityscape."
},
{
"from": "gpt",
"value": "In a moment of reflection, one might find oneself amidst a bustling metropolis, where the intricate tapestry of modernity presents itself with a curious blend of awe and trepidat... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "If a light bulb consumes 60 watts of power per hour, how much power does it consume in a day? Show your work."
},
{
"from": "gpt",
"value": "To calculate the total power consumption of a 60-watt light bulb over a day (24 hours), you can use the following formula:\n\n... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "\"The cultural significance of festivals around the world\" - This is your complex task. Select five major international festivals. For each festival, provide information on (1) the country where it's primarily celebrated, (2) the time of year it occurs, (3) the historical or cu... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Create a Python script that simulates a simple chatbot. The chatbot should be able to respond to basic greetings, ask for the user's name, and provide information about itself. PLAINFORMAT"
},
{
"from": "gpt",
"value": "Here's a simple Python script that simulates a ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "If a car travels at an average speed of 45 miles per hour, how far will it travel in 2 hours and 30 minutes?"
},
{
"from": "gpt",
"value": "To calculate the distance traveled, you can use the formula:\n\n\\[\n\\text{Distance} = \\text{Speed} \\times \\text{Time}\n\\]... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Design a Python FastAPI server that supports CRUD operations for managing a collection of books (title, author, publication year). Integrate this server with a PostgreSQL database and implement pagination for listing all books.\nPLAINFORMAT"
},
{
"from": "gpt",
"valu... | [
"Airoboros 2.2",
"Platypus"
] |
[
{
"from": "human",
"value": "Write a ballad about wolves in the style of J.R.R. Tolkien."
},
{
"from": "gpt",
"value": "**The Ballad of the Moonlit Wolves**\n\nIn the shadowed glen where the night winds sigh, \n‘Neath the silver gleam of the waning sky, \nA pack of wolves with eyes like fire, ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "What is the IUPAC name of a cyclic alkane with six carbon atoms?"
},
{
"from": "gpt",
"value": "The IUPAC name of a cyclic alkane with six carbon atoms is cyclohexane."
}
] | [
"CamelAI Chemistry"
] |
[
{
"from": "human",
"value": "Implement a concurrent web scraper in Golang that fetches data from multiple websites simultaneously.\nPLAINFORMAT"
},
{
"from": "gpt",
"value": "Creating a concurrent web scraper in Golang is a great way to learn about Go's concurrency model using goroutines and cha... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "If a car travels at an average speed of 60 mph for 8 hours, then increases its speed to 80 mph for another 6 hours, what is the total distance traveled?"
},
{
"from": "gpt",
"value": "To determine the total distance traveled by the car, we can break it down into two ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Generate a comprehensive overview of different dog breeds, including their origins, physical characteristics, temperaments, and common health issues. Your response should be organized in bullet points."
},
{
"from": "gpt",
"value": "Certainly! Below is a comprehensiv... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Create a paragraph where every sentence starts with a different letter of the alphabet, in alphabetical order."
},
{
"from": "gpt",
"value": "A gentle breeze rustled the leaves of the towering trees. Birds chirped melodiously, filling the air with their sweet songs. ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Write a Python script that utilizes pandas to analyze stock market data. The script should read historical stock prices from a JSON file, calculate moving averages, and plot them on a line graph using matplotlib. PLAINFORMAT"
},
{
"from": "gpt",
"value": "Certainly! ... | [
"Airoboros 2.2",
"Platypus"
] |
[
{
"from": "human",
"value": "Using JavaScript, write a function that checks whether a passed string is a valid email address or not. PLAINFORMAT"
},
{
"from": "gpt",
"value": "You can create a simple JavaScript function to validate email addresses using a regular expression. Here's an example of... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In a family of 6 people, each person has exactly one sibling. How many pairs of siblings are there in the family?"
},
{
"from": "gpt",
"value": "In a family of 6 people where each person has exactly one sibling, we can analyze the situation as follows:\n\n1. Since ea... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Write a poem about the beauty of a sunrise from the perspective of Dobby the house-elf from Harry Potter."
},
{
"from": "gpt",
"value": "In the dawn's embrace, Dobby stands so free, \nA loyal house-elf, as bright as can be. \nThe sun peeks o'er hills, a golden deli... | [
"Airoboros 2.2"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.