conversations listlengths 2 2 | source_label_exact listlengths 0 15 |
|---|---|
[
{
"from": "human",
"value": "Imagine you are Spider-Man. In his style, write a blog post about your latest crime-fighting adventure."
},
{
"from": "gpt",
"value": "**Web-Slinging Diaries: The Night the City Danced with Danger**\n\nHey, Spidey-fans! Your friendly neighborhood Spider-Man here, swi... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Design a Node.js script that interacts with AWS Lambda to create a new Lambda function, invoke it with sample data, and print the response to the console.\nPLAINFORMAT"
},
{
"from": "gpt",
"value": "Below is a basic Node.js script to interact with AWS Lambda. This sc... | [
"Airoboros 2.2",
"Platypus"
] |
[
{
"from": "human",
"value": "There are 100 people in a room. 50% of them are wearing glasses, 40% are wearing hats, and 10% are wearing both glasses and hats. How many people are wearing neither glasses nor hats?"
},
{
"from": "gpt",
"value": "Let's denote the number of people in the room as \\(... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "The Earth orbits the Sun once every 365.25 days. How many times does the Earth orbit the Sun in 50 years? (Ignore leap years for this question)"
},
{
"from": "gpt",
"value": "To find out how many times the Earth orbits the Sun in 50 years, we start with the fact that... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A snail is climbing up a wall that is 10 meters high. Each day it climbs 3 meters, but at night, it slides down 2 meters. How many days will it take for the snail to reach the top of the wall?"
},
{
"from": "gpt",
"value": "To determine how many days it will take for... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A train travels at a speed of 60 miles per hour. How far will it travel in 45 minutes?"
},
{
"from": "gpt",
"value": "To find the distance traveled by the train in 45 minutes, we can use the formula:\n\n\\[\n\\text{Distance} = \\text{Speed} \\times \\text{Time}\n\\]\... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In a town, there are 10 houses on one side of the street and 15 houses on the other side. If every house has at least two people living in it, what is the minimum number of people living on the street?"
},
{
"from": "gpt",
"value": "To find the minimum number of peop... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A rectangular garden measures 20 feet by 30 feet. If you want to build a fence around it with one gate that is 4 feet wide, how many feet of fencing do you need?"
},
{
"from": "gpt",
"value": "To calculate the total amount of fencing needed for a rectangular garden, ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Write a simple Golang web server that listens on port 8080 and serves static files from a given directory. Add a route that accepts GET requests and responds with the current server time in JSON format.\nPLAINFORMAT"
},
{
"from": "gpt",
"value": "Here's a simple Gola... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In a room, there are 5 people who can speak English, 6 people who can speak French, and 7 people who can speak Spanish. If everyone in the room can only speak one language, how many people are in the room?"
},
{
"from": "gpt",
"value": "To find the total number of pe... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A chat between Alexander Hamilton and Jennifer.\nDescription of Alexander Hamilton:\nAlexander Hamilton was one of the Founding Fathers of the United States, serving as the first Secretary of the Treasury under President George Washington. Born in Nevis and raised in St. Croix, ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Choose three famous archaeological discoveries, describe what was found at each site, and discuss why these finds were significant in understanding human history. For this task, please present your response in a table format with columns for \"Discovery\", \"Description\", and \... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "If you were to walk non-stop at an average speed of 3 miles per hour, how long would it take you to walk the entire length of the Great Wall of China?"
},
{
"from": "gpt",
"value": "The Great Wall of China stretches approximately 13,171 miles (21,196 kilometers) in t... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Write a Python program that accepts an integer n and prints out the first n numbers in the Fibonacci sequence."
},
{
"from": "gpt",
"value": "Certainly! Below is a Python program that accepts an integer `n` from the user and prints the first `n` numbers in the Fibona... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Write a short story about an alien encounter in the style of Ray Bradbury."
},
{
"from": "gpt",
"value": "The evening sun cast a sepia hue over Green Hollow, the small town that time seemed to have forgotten. Children’s laughter danced on the warm breeze as they chas... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "If a train travels at an average speed of 60 miles per hour and takes 8 hours to reach its destination, how far is the destination?"
},
{
"from": "gpt",
"value": "To find the distance to the destination, you can use the formula:\n\n\\[ \\text{Distance} = \\text{Speed... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Write a PowerShell script that monitors a specific directory for changes. When a change (like creation or deletion of files) occurs, it should log the event with details like the type of change and timestamp."
},
{
"from": "gpt",
"value": "To monitor a directory for ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A company offers two subscription plans: Plan A costs $100 per year, while Plan B costs $50 per year plus an additional $5 per month. At which point (in months) do both plans have the same cost?"
},
{
"from": "gpt",
"value": "To determine the point at which both subs... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A store sells apples for $1.20 per pound and oranges for $0.80 per pound. If a customer buys 4 pounds of apples and 6 pounds of oranges, how much will they pay in total?"
},
{
"from": "gpt",
"value": "To find the total cost for the customer, we can calculate the cost... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Design a simple HTML/CSS webpage with a form that allows users to enter their name, email address, and a message. Use JavaScript to validate the form inputs and ensure they meet specific criteria: the name must be at least 3 characters long, the email must contain an \"@\" symbo... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Create a Python program that generates Fibonacci sequence up to a specified number of terms."
},
{
"from": "gpt",
"value": "Certainly! Below is a Python program that generates the Fibonacci sequence up to a specified number of terms.\n\n```python\ndef generate_fibona... | [
"Airoboros 2.2",
"Platypus"
] |
[
{
"from": "human",
"value": "Create a Java implementation of a singly linked list with methods for adding elements at the beginning, end, and at a specific index, as well as removing elements by value or index.\nPLAINFORMAT"
},
{
"from": "gpt",
"value": "Here's a simple Java implementation of a ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In a group of people, 40% are vegetarians and 60% are non-vegetarians. Among the vegetarians, 25% also practice yoga, while among the non-vegetarians, 10% practice yoga. What percentage of the entire group practices yoga? Provide step-by-step logic."
},
{
"from": "gpt",
... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A car rental company has three types of cars: small, medium, and large. The daily rates for renting a small, medium, and large car are $20, $30, and $40, respectively. On Monday, they rented out 10 small cars, 15 medium cars, and 5 large cars. On Tuesday, they rented out 12 smal... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A rectangle has a length of 10 inches and a width of 5 inches. If both the length and width are doubled, what is the new area of the rectangle?"
},
{
"from": "gpt",
"value": "To find the area of a rectangle, you use the formula:\n\n\\[\n\\text{Area} = \\text{Length} ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A city is planning to upgrade its public transportation system by adding new buses and extending routes. The current fleet has 100 buses, each with a capacity of 50 passengers. The city wants to increase the total passenger capacity by 20% while maintaining an average occupancy ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A train leaves Station A at 60 mph heading towards Station B, which is 180 miles away. At the same time, another train leaves Station B at 40 mph heading towards Station A. If a bird starts flying from Station A at 120 mph towards Station B when the first train departs, how far ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In a class of 40 students, 25% are left-handed. If 3 more students join the class and all of them are left-handed, what percentage of the class will be left-handed after their arrival?"
},
{
"from": "gpt",
"value": "To determine the percentage of left-handed students... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "What does the p-value represent in hypothesis testing?"
},
{
"from": "gpt",
"value": "In hypothesis testing, the p-value is a statistical measure that helps determine the strength of the evidence against the null hypothesis. Specifically, the p-value represents the p... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Pen a suspenseful short story about a detective named Samuel Frost trying to solve a case involving a series of strange disappearances at a local circus."
},
{
"from": "gpt",
"value": "**Title: Shadows Under the Big Top**\n\nSamuel Frost adjusted his collar against t... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Write a proposal for a university research project investigating the impact of social media usage on sleep patterns among college students. The proposal should include the objectives, methodology, expected outcomes, and potential implications of the study."
},
{
"from": ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Describe three essential oils that are commonly used for relaxation and their benefits."
},
{
"from": "gpt",
"value": "Here are three essential oils that are commonly used for relaxation, along with their benefits:\n\n1. **Lavender Essential Oil**:\n - **Benefits**... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "BEGININPUT\nBEGINCONTEXT\nurl: https://www.history.com/topics/titanic\nENDCONTEXT\nThe Titanic was an Italian cruise ship that completed its maiden voyage from Southampton to New York City without incident in April 1912. All 2,224 passengers and crew members safely reached their... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In a school, there are twice as many girls as boys. If the total number of students is 360, how many boys are there in the school? Formulate multiple potential solutions, evaluate each for correctness, and choose the best one."
},
{
"from": "gpt",
"value": "Let's den... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A shipping company needs to transport cargo containers from one port to another using a fleet of ships. Each ship has a maximum capacity of 1000 tons, and there are 15,000 tons of cargo to be transported. However, due to varying weather conditions, the actual carrying capacity o... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A shipping company is planning to expand its fleet of cargo ships to accommodate increased demand for international trade. They currently operate 20 ships with an average capacity of 10,000 tons each. To meet their growth targets, they need to increase total capacity by 30% with... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Develop a simple Node.js web server that listens on port 3000 and responds with \"Hello World!\" when accessed via a browser. The server should log each request to the console."
},
{
"from": "gpt",
"value": "To create a simple Node.js web server that listens on port ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A store sells two types of products, X and Y. Product X has a profit margin of 25% and product Y has a profit margin of 40%. If the store sells 100 units of product X at $10 each and 50 units of product Y at $20 each, what is the total profit?"
},
{
"from": "gpt",
"v... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Create a press release for a fictional tech company (\"Nanotech Innovations\") announcing their latest product: a nanobot capable of performing microsurgeries with unprecedented precision and efficiency."
},
{
"from": "gpt",
"value": "**FOR IMMEDIATE RELEASE**\n\n**N... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "There are 12 red balls and 8 blue balls in a bag. If you randomly pick one ball from the bag without looking, what is the probability that it will be a red ball?"
},
{
"from": "gpt",
"value": "To find the probability of picking a red ball from the bag, you can use th... | [
"Airoboros 2.2",
"Platypus"
] |
[
{
"from": "human",
"value": "In a box, there are 8 red balls, 5 blue balls, and 7 green balls. If you randomly pick one ball out of the box, what is the probability that it will be either red or blue? Generate several possible answers using chain-of-thought reasoning, rank them in order of accuracy and comp... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In a certain country, there are two types of people: truth-tellers who always tell the truth, and liars who always lie. You come across two people, Alice and Bob. Alice says \"At least one of us is a liar.\" What can you deduce about Alice and Bob?"
},
{
"from": "gpt",
... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "With JavaScript, write a function that takes two strings as input and finds out if one is an anagram of the other. PLAINFORMAT"
},
{
"from": "gpt",
"value": "Certainly! Here’s a simple JavaScript function to determine if two strings are anagrams of each other:\n\n```... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Write down the Taylor series expansion of e^x around x=0."
},
{
"from": "gpt",
"value": "The Taylor series expansion of \\( e^x \\) around \\( x = 0 \\) (also known as the Maclaurin series for \\( e^x \\)) can be expressed as:\n\n\\[\ne^x = \\sum_{n=0}^{\\infty} \\fr... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A cylindrical water tank has a diameter of 6 meters and a height of 10 meters. What is its volume in cubic meters?"
},
{
"from": "gpt",
"value": "To calculate the volume of a cylindrical tank, you can use the formula:\n\n\\[\nV = \\pi r^2 h\n\\]\n\nwhere \\( V \\) is... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Discuss the evolution of bicycles by outlining three major design changes that have occurred over time."
},
{
"from": "gpt",
"value": "The evolution of bicycles has been a fascinating journey, marked by innovation and design changes that have significantly enhanced t... | [
"Airoboros 2.2",
"Platypus"
] |
[
{
"from": "human",
"value": "A factory produces 500 units of product A per day and sells it for $10 per unit. They also produce 300 units of product B per day and sell it for $15 per unit. How much revenue does the factory generate in a 30-day month?"
},
{
"from": "gpt",
"value": "To calculate t... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "How much water would you need to fill a swimming pool that is 25 meters long, 10 meters wide, and 2 meters deep?"
},
{
"from": "gpt",
"value": "To find out how much water is needed to fill the swimming pool, you can calculate the volume of the pool using the formula ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In a class of 30 students, 18 play soccer, 12 play basketball, and 10 play both soccer and basketball. How many students do not play either sport? Provide step-by-step logic."
},
{
"from": "gpt",
"value": "To find the number of students who do not play either soccer ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "If a train travels at an average speed of 80 kilometers per hour for 45 minutes, how far does it travel?"
},
{
"from": "gpt",
"value": "To find out how far the train travels, we can use the formula:\n\n\\[\n\\text{Distance} = \\text{Speed} \\times \\text{Time}\n\\]\n... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "If a car rental company has 100 cars and rents them out at an average rate of $50 per day, how much revenue would they generate in a month with a 90% occupancy rate?"
},
{
"from": "gpt",
"value": "To calculate the revenue generated by the car rental company, we can f... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In a group of 50 people, 35% are left-handed. How many more right-handed people are there in the group than left-handed people?"
},
{
"from": "gpt",
"value": "To find out how many left-handed people there are in the group, we first calculate 35% of 50:\n\n\\[\n\\text... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A chat between Winston Churchill and Daniel.\nDescription of Winston Churchill:\nWinston Churchill served as the Prime Minister of the United Kingdom from 1940 to 1945 and again from 1951 to 1955. Known for his leadership during World War II, Churchill is often regarded as one o... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A box contains 12 red balls, 18 blue balls, and 30 green balls. If you randomly pick one ball from the box, what is the probability that it will be either a red or a blue ball?"
},
{
"from": "gpt",
"value": "To find the probability of picking either a red or a blue b... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Write a Golang program that reads a text file containing a list of words and counts the frequency of each word in the file. The program should output the results in descending order of frequency.\nPLAINFORMAT"
},
{
"from": "gpt",
"value": "Below is a simple Go progra... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Write a Golang program that monitors a specified directory for changes (file creation, modification, or deletion) and logs these events to a file. The program should use filesystem watchers to detect changes efficiently and accept command line arguments for the target directory ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "You have 20 apples. You eat some apples every day for 4 days until no apples are left. Each day you eat two more apples than the previous day. How many apples do you eat on the first day? Detail your thought process."
},
{
"from": "gpt",
"value": "To solve the proble... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A factory produces 5 cars every hour. Each car requires 3 hours to assemble. How many workers would be needed if the factory wants to produce 20 cars in an hour? Use chain-of-thought reasoning to generate several possible responses, then select the best response based on all ava... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Write a diary entry for Winnie the Pooh's visit to New York City."
},
{
"from": "gpt",
"value": "**Diary Entry: September 21, 2023**\n\nDear Diary,\n\nOh, what a day I’ve had! I, Winnie the Pooh, have just returned from a most remarkable adventure in a place called N... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Implement a Python program that uses the OpenCV library to detect faces in an image or video stream from a webcam. Display the detected faces with bounding boxes and save the images with the detected faces to a local directory."
},
{
"from": "gpt",
"value": "To imple... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "What is the condensed structural formula for 3,3-dimethylhexane?"
},
{
"from": "gpt",
"value": "The condensed structural formula for 3,3-dimethylhexane is:\n\n\\[ \\text{CH}_3\\text{C}(\\text{CH}_3)_2\\text{CH}_2\\text{CH}_2\\text{CH}_3 \\]\n\nThis represents a hexan... | [
"CamelAI Chemistry"
] |
[
{
"from": "human",
"value": "If a company has 120 employees and decides to give each employee a 10% raise, how much will the total payroll increase?"
},
{
"from": "gpt",
"value": "To calculate the total payroll increase, you need to determine the total amount of the raises given to all employees... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A man buys 3 packs of soda cans. Each pack contains 12 cans. He drinks 2 cans a day. How long will his supply last? Show your reasoning."
},
{
"from": "gpt",
"value": "First, we need to calculate the total number of soda cans the man has bought. He purchased 3 packs,... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Design a Java Spring Boot RESTful API that interacts with a PostgreSQL database to manage a collection of products. The API should support CRUD operations on products and allow filtering products based on price range and category.\nPLAINFORMAT"
},
{
"from": "gpt",
"v... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Create a children's story about a clumsy elephant who wants to learn ballet. Despite many setbacks, she never gives up and eventually finds her own unique way to dance."
},
{
"from": "gpt",
"value": "### Bella the Ballet Elephant\n\nIn a sunny jungle, where the flowe... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "If you were to stack pennies on top of each other until they reached the height of Mount Everest, how many pennies would you need?"
},
{
"from": "gpt",
"value": "To determine how many pennies would be needed to reach the height of Mount Everest, we first need to know... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A large grocery store chain wants to optimize its supply chain by reducing food waste and improving inventory management. They currently operate 200 stores nationwide, each carrying an average of 50,000 unique products. Analyze the company's current inventory practices and propo... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A bag contains 6 red balls, 8 blue balls, and 7 green balls. If you draw three balls without replacement, what is the probability that none of them are red? Include your thought process."
},
{
"from": "gpt",
"value": "To solve the problem, we first need to determine ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In a classroom, there are 24 students. If 1/3 of them play soccer, 1/4 of them play basketball, and the rest play neither sport, how many students play neither soccer nor basketball?"
},
{
"from": "gpt",
"value": "To find the number of students who play neither socce... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Alice had 10 marbles, gave 3 to Bob, and then found 4 more on the ground. How many cookies does Alice have left?"
},
{
"from": "gpt",
"value": "The problem states that Alice had 10 marbles, gave 3 to Bob, and then found 4 more. However, it does not mention anything a... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In Python, write a function that generates the first n numbers in the Fibonacci sequence."
},
{
"from": "gpt",
"value": "Certainly! Here’s a Python function that generates the first `n` numbers in the Fibonacci sequence:\n\n```python\ndef fibonacci(n):\n if n <= 0... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Formulate a paragraph about nature where each sentence starts with a different letter of the alphabet, in reverse order."
},
{
"from": "gpt",
"value": "Zebras roam freely across the African savannas, their stripes a striking contrast against the golden grass. Yet, th... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A farmer has 15 sheep, and all but 8 of them die. How many sheep does the farmer have left?"
},
{
"from": "gpt",
"value": "If the farmer has 15 sheep and all but 8 of them die, it means that 8 sheep are still alive. Therefore, the farmer has 8 sheep left."
}
] | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Create a Java program that simulates a simple chat server using WebSockets. The server should support multiple clients, broadcast messages to all connected clients, and allow clients to set their display names.\nPLAINFORMAT"
},
{
"from": "gpt",
"value": "Below is a s... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In a town, half of the people are liars, and the other half always tell the truth. You come across two people named Alice and Bob. Alice says \"At least one of us is a liar.\" Is Bob a liar or a truth-teller?"
},
{
"from": "gpt",
"value": "To solve the problem, we ne... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "If a car rental company has 50 cars, and each car is rented out for an average of 20 days per month at a rate of $30 per day, what is the total monthly revenue generated by the company?"
},
{
"from": "gpt",
"value": "To calculate the total monthly revenue generated b... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In an election with three candidates, candidate A received 40% of the votes, candidate B received 35%, and candidate C received the remaining votes. If there were a total of 12,000 votes cast, how many more votes did candidate A receive than candidate B?"
},
{
"from": "g... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "What is the systematic name of the organic compound with the molecular formula C5H10O and a carbonyl functional group attached to the 2nd carbon atom of the chain?"
},
{
"from": "gpt",
"value": "The systematic name of the organic compound with the molecular formula C... | [
"CamelAI Chemistry"
] |
[
{
"from": "human",
"value": "Write a Python program that accepts a string of characters and checks if it's a palindrome. Ignore spaces, punctuation marks, and capitalization while checking for palindromes."
},
{
"from": "gpt",
"value": "Certainly! Below is a Python program that checks if a given... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "There are 100 people in a room. Half of them are wearing glasses, one-third of them are wearing hats, and one-sixth of them are wearing both glasses and hats. How many people are not wearing either glasses or hats?"
},
{
"from": "gpt",
"value": "To solve the problem,... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In a village, there are 50 houses. Each house has a dog, and each dog has 4 legs. However, in this village, there is also a rule that no more than 200 dogs can live here. How many legs do the dogs have in total?"
},
{
"from": "gpt",
"value": "In the village, there ar... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Using JavaScript, create a function that replaces every letter in a given string with the letter following it in the alphabet."
},
{
"from": "gpt",
"value": "Certainly! Below is a JavaScript function that takes a string as input and replaces every letter in that stri... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Write a Python script that connects to a PostgreSQL database, creates a table called \"employees\" with columns id (integer), name (text), and salary (float), and inserts three sample records into the table."
},
{
"from": "gpt",
"value": "To connect to a PostgreSQL d... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Write a script in Ruby to parse an XML file and convert it into a YAML format.\nPLAINFORMAT"
},
{
"from": "gpt",
"value": "To convert an XML file into YAML format using Ruby, you can use the `nokogiri` gem for parsing XML and the `yaml` standard library to generate Y... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In a class of 30 students, 18 play soccer and 12 play basketball. If 6 students play both sports, how many students don't play any sport?"
},
{
"from": "gpt",
"value": "To find the number of students who don't play any sport, we can use the principle of inclusion-exc... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Curate an outdoor sculpture exhibition featuring five artists, providing a brief description of each artist's style and an example of their work that would be suitable for display in the exhibition."
},
{
"from": "gpt",
"value": "### Outdoor Sculpture Exhibition: \"N... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "In a group of 30 people, 18 have brown eyes and 12 have blue eyes. If you randomly select 3 people from the group, what is the probability that at least one person has blue eyes?"
},
{
"from": "gpt",
"value": "To find the probability that at least one person has blue... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "There are 4 red balls, 6 blue balls, and 5 green balls in a bag. If you randomly pick one ball from the bag without looking, what is the probability of picking a red or a blue ball?"
},
{
"from": "gpt",
"value": "To find the probability of picking a red or a blue bal... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Build a Node.js server that exposes RESTful API endpoints for managing a simple task list. The server should support adding tasks, marking tasks as complete, deleting tasks, and listing all tasks. Use an in-memory data structure to store the tasks.\nPLAINFORMAT"
},
{
"fr... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Which one of the following pairs has alkane and cycloalkane isomers?\na) Butane and cyclobutane \nb) Pentane and cyclopropane \nc) Hexane and cyclohexane \nd) Heptane and cycloheptane"
},
{
"from": "gpt",
"value": "The correct option is:\n\n**a) Butane and cyclobutan... | [
"CamelAI Chemistry"
] |
[
{
"from": "human",
"value": "In a school, there are 800 students. If 60% of them are boys and the rest are girls, how many more girls need to join the school in order for the ratio of boys to girls to be 1:1?"
},
{
"from": "gpt",
"value": "To solve the problem, we first need to find out the numb... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "If a car travels at an average speed of 40 miles per hour and consumes gas at a rate of 30 miles per gallon, how many gallons of gas will it consume on a 360-mile trip?"
},
{
"from": "gpt",
"value": "To determine how many gallons of gas the car will consume on a 360-... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "There are 27 balls in a box, and each ball is either red, blue, or green. If there are twice as many red balls as blue balls and three times as many green balls as red balls, how many balls of each color are there?"
},
{
"from": "gpt",
"value": "Let's denote the numb... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A store sells books for $12 each. If they offer a discount of 25% on every third book purchased, how much would it cost to buy 9 books?"
},
{
"from": "gpt",
"value": "To find the total cost to buy 9 books at a price of $12 each, with a 25% discount applied to every t... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A square garden has an area of 256 sq m. A gardener wants to build a walkway around the garden that is 1 meter wide. What will be the area of the garden including the walkway? Suggest several possible areas, give detailed calculations for each, rank them, and choose the most lik... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Imagine a hidden realm nestled within the heart of an ancient, enchanted forest. This realm is known as \"Sylvaria,\" a mystical sanctuary inhabited by sentient flora and fauna that possess arcane knowledge and wisdom. The forest itself seems to breathe with life, its towering t... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "Write a short story about a journey to Mars in the style of J.K. Rowling."
},
{
"from": "gpt",
"value": "Title: *The Mars Conundrum*\n\nIn a corner of the quiet village of Otterton, tucked away beneath a sprawling cherry tree, there stood a peculiar little cottage – ... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "If you invest $10,000 at an annual interest rate of 5%, how much money will you have after 3 years if the interest is compounded annually?"
},
{
"from": "gpt",
"value": "To calculate the amount of money you will have after 3 years with an initial investment of $10,00... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A man gives half of his money to his wife, then he gives one-third of what's left to his son, and finally, he gives one-fourth of the remaining amount to his daughter. He has $60 left after all these transactions. How much money did he originally have?"
},
{
"from": "gpt... | [
"Airoboros 2.2"
] |
[
{
"from": "human",
"value": "A train travels from Town A to Town B at a constant speed. The distance between the two towns is 300 miles. If the train's speed were increased by 20 mph, it would take one hour less to travel the same distance. What is the original speed of the train?"
},
{
"from": "gpt... | [
"Airoboros 2.2"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.