Dataset Viewer
Auto-converted to Parquet Duplicate
conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "human", "value": "Write a Perl script that processes a log file and counts the occurrences of different HTTP status codes. The script should accept the log file path as a command-line argument and print the results to the console in descending order of frequency.\n" }, { "from": "gpt", ...
openhermes
chosen
[ { "from": "human", "value": "What can be seen once in a minute, twice in a moment, and never in a thousand years?" }, { "from": "gpt", "value": "The letter 'M'." } ]
openhermes
chosen
[ { "from": "human", "value": "Famous inventors and their inventions: Identify five well-known inventors and briefly describe one of their most significant inventions." }, { "from": "gpt", "value": "1. Thomas Edison: One of his most significant inventions is the incandescent light bulb, which revo...
openhermes
chosen
[ { "from": "human", "value": "Generate a list of 12 words that start with 'qu'." }, { "from": "gpt", "value": "1. Quail\n2. Quarry\n3. Quasar\n4. Quench\n5. Query\n6. Quest\n7. Queue\n8. Quiche\n9. Quick\n10. Quilt\n11. Quiver\n12. Quota" } ]
openhermes
chosen
[ { "from": "human", "value": "Who was the first woman to win a Nobel Prize, and in which field did she win it?" }, { "from": "gpt", "value": "Marie Curie; Physics" } ]
openhermes
chosen
[ { "from": "human", "value": "A hotel chain wants to optimize its pricing strategy by implementing dynamic pricing based on demand patterns. The chain operates 100 hotels with an average of 200 rooms per hotel. During peak travel seasons, room occupancy reaches 95%, while off-peak occupancy drops to 70%. Man...
openhermes
chosen
[ { "from": "human", "value": "BEGININPUT\nBEGINCONTEXT\ndate: September 15, 2018\nauthor: Samantha Collins\ncategory: Classical Music\ntitle: The Genius of Elvin Decker and His Masterpieces\nsource url: www.classicalmusicworld.com/elvin-decker-masterpieces\nENDCONTEXT\nElvin Decker, born on March 2, 1810, in...
openhermes
chosen
[ { "from": "human", "value": "Design a marketing campaign for a fictional luxury perfume brand called \"Ephemeral Essence.\" \n Describe the scent profile, target audience, and advertising strategy, including visuals and slogans.\n" }, { "from": "gpt", "value": "Campaign Name: \"Captivate Your ...
openhermes
chosen
[ { "from": "human", "value": "Timmy starts with 12 stickers, gives away 5, and finds 3 more. How many balloons does he have left?" }, { "from": "gpt", "value": "This problem does not mention any balloons, so we cannot determine how many balloons Timmy has left." } ]
openhermes
chosen
[ { "from": "human", "value": "A zoo wants to expand its facilities by adding new animal habitats, visitor amenities, and educational programs. The total cost of the expansion is estimated at $75 million, with an additional $5 million for annual maintenance and operation expenses. Calculate the expected incre...
openhermes
chosen
[ { "from": "human", "value": "Design a roller coaster with three distinct features, explaining the purpose of each feature and how it contributes to the overall ride experience." }, { "from": "gpt", "value": "1. The Gravity-Defying Loop: One of the most iconic and thrilling features of our roller...
openhermes
chosen
[ { "from": "human", "value": "Create a fictional travel itinerary for a week-long trip to a made-up island destination. Include descriptions of the unique attractions, local cuisine, and cultural experiences that visitors can enjoy during their stay.\n" }, { "from": "gpt", "value": "**Day 1: Arri...
openhermes
chosen
[ { "from": "human", "value": "Create a text-based tic-tac-toe game in Java that supports both single-player (against a computer opponent) and two-player modes. The game should use a simple AI algorithm for the computer player and store game statistics (number of wins, losses, and draws) in a MariaDB database...
openhermes
chosen
[ { "from": "human", "value": "An anagram of \"taste\", this word refers to the condition of a country or region." }, { "from": "gpt", "value": "state" } ]
openhermes
chosen
[ { "from": "human", "value": "In a park, there are three trees: one with red leaves, one with yellow leaves, and one with green leaves. A group of children is playing hide-and-seek around these trees. One child hides behind the red tree, another behind the yellow tree, and the third behind the green tree. Wh...
openhermes
chosen
[ { "from": "human", "value": "Implement a Scala program that reads a JSON file containing information about books (title, author, publication year, price) and filters out books published before 2000. The filtered results should be written to a new JSON file in alphabetical order by title.\n" }, { "fr...
openhermes
chosen
[ { "from": "human", "value": "A hospital wants to improve its emergency response time by adding more ambulances to its fleet. Currently, they have 15 ambulances, each responding to an average of 20 calls per day. They want to reduce the average response time from 12 minutes to 8 minutes. Determine how many a...
openhermes
chosen
[ { "from": "human", "value": "Which ancient civilization is credited with inventing the first system of writing called cuneiform?" }, { "from": "gpt", "value": "Sumerians" } ]
openhermes
chosen
[ { "from": "human", "value": "A large hotel chain wants to improve its customer satisfaction ratings by upgrading room amenities and offering personalized services. The company plans to invest $50 million in these improvements over the next three years. They need to prioritize which hotels within their portf...
openhermes
chosen
[ { "from": "human", "value": "Three men enter a room and lock the door behind them. When they leave, two of the men have wet hair but one has dry hair. They didn't use any water inside the room. How is this possible?" }, { "from": "gpt", "value": "It was raining outside before they entered the ro...
openhermes
chosen
[ { "from": "human", "value": "Discuss the origins and key principles of two martial arts disciplines, highlighting their similarities and differences." }, { "from": "gpt", "value": "Martial arts have been practiced for centuries, with numerous styles and disciplines emerging from different region...
openhermes
chosen
[ { "from": "human", "value": "Write a Python script that connects to a MariaDB database, creates a table with columns for storing information about books (title, author, publication year), and provides CRUD operations for managing the book records. The script should use command line arguments for specifying ...
openhermes
chosen
[ { "from": "human", "value": "In bullet points, outline the key milestones in the evolution of video games from the 1970s to the present day." }, { "from": "gpt", "value": "- 1972: Release of Pong, the first commercially successful video game\n- 1977: Launch of Atari 2600, a popular home video ga...
openhermes
chosen
[ { "from": "human", "value": "Solve the heat equation u_t = k * u_xx on the interval [0, L] with boundary conditions u(0,t) = u(L,t) = 0 and initial condition u(x,0) = f(x)." }, { "from": "gpt", "value": "To solve the heat equation with the given boundary and initial conditions, we can use separa...
openhermes
chosen
[ { "from": "human", "value": "Suggest four strategies to efficiently complete a jigsaw puzzle with over 1,000 pieces." }, { "from": "gpt", "value": "1. Sort and categorize pieces: Begin by sorting the puzzle pieces into different categories, such as edge pieces, colors, patterns, or specific part...
openhermes
chosen
[ { "from": "human", "value": "Determine the critical points of the function g(x) = x^4 - 8x^2 + 16 and classify them as local maxima, minima, or saddle points." }, { "from": "gpt", "value": "To find the critical points of the function g(x), we first need to find its derivative and set it equal to...
openhermes
chosen
[ { "from": "human", "value": "Write an OCaml function that finds the longest common subsequence between two strings." }, { "from": "gpt", "value": "let lcs_length s1 s2 =\n let m = String.length s1 in\n let n = String.length s2 in\n let dp = Array.make_matrix (m + 1) (n + 1) 0 in\n for i = 1 ...
openhermes
chosen
[ { "from": "human", "value": "Classify the following reptiles into their respective habitats: Komodo dragon, green sea turtle, Gila monster, chameleon, and king cobra. Provide your answer in a CSV format." }, { "from": "gpt", "value": "Reptile,Habitat\nKomodo dragon,Islands of Indonesia\nGreen se...
openhermes
chosen
[ { "from": "human", "value": "Generate a list of 22 words that start with 're'." }, { "from": "gpt", "value": "1. Reveal\n2. Rejoice\n3. Remember\n4. Reiterate\n5. Reimburse\n6. Reinforce\n7. Reevaluate\n8. Redesign\n9. Reconnect\n10. Reassemble\n11. Realign\n12. Reeducate\n13. Reestablish\n14. R...
openhermes
chosen
[ { "from": "human", "value": "Create a Node.js Express application with two endpoints: one for adding new users to a SQLite database and another for retrieving user information by their ID. Users should have a unique username, email address, and password. Use proper error handling and validation for input da...
openhermes
chosen
[ { "from": "human", "value": "Find the orthogonal projection of vector (1,2,3) onto the plane defined by x+y+z=0." }, { "from": "gpt", "value": "To find the orthogonal projection of a vector onto a plane, we first need to find the normal vector of the plane. The normal vector can be obtained dire...
openhermes
chosen
[ { "from": "human", "value": "Solve the system of equations: x + y = 5, x - y = 1." }, { "from": "gpt", "value": "To solve the system of equations, we can use either substitution or elimination method. In this case, let's use the elimination method.\n\nStep 1: Add both equations together.\nx + y ...
openhermes
chosen
[ { "from": "human", "value": "The term \"Cold War\" refers to the tense political and military rivalry between which two superpowers during the latter half of the 20th century?" }, { "from": "gpt", "value": "The United States and the Soviet Union" } ]
openhermes
chosen
[ { "from": "human", "value": "How many different ways can you arrange the letters in the word \"MATHEMATICS\"?" }, { "from": "gpt", "value": "To find the number of ways to arrange the letters in the word \"MATHEMATICS,\" we can use the formula for permutations of a set with repeated elements:\n\n...
openhermes
chosen
[ { "from": "human", "value": "In a classroom, there are five students: Sam, Tanya, Uma, Victor, and Wendy. They each have a different colored pencil case: red, blue, green, yellow, and purple. One day, the teacher asks them to put their pencil cases in a row on her desk. Sam goes first and places his red pen...
openhermes
chosen
[ { "from": "human", "value": "What famous equation, developed by Albert Einstein, expresses the relationship between mass and energy?" }, { "from": "gpt", "value": "E=mc^2" } ]
openhermes
chosen
[ { "from": "human", "value": "Role-play as an astronaut writing a journal entry about a day in space, including at least two specific tasks they completed." }, { "from": "gpt", "value": "Day 42: Stardate 7924.6\n\nToday marks another incredible day in space, and I can't help but feel a mix of awe...
openhermes
chosen
[ { "from": "human", "value": "Write a news article reporting on a major scientific discovery related to outer space exploration. Ensure the language is accessible to a general audience while still conveying the significance of the findings." }, { "from": "gpt", "value": "Title: Revolutionary Disc...
openhermes
chosen
[ { "from": "human", "value": "Find the slope of the line that passes through the points (2, 4) and (6, 12). Explain your reasoning.\n" }, { "from": "gpt", "value": "To find the slope of a line that passes through two points (x1, y1) and (x2, y2), we can use the formula:\n\nslope = (y2 - y1) / (x2...
openhermes
chosen
[ { "from": "human", "value": "Develop a Haskell function that takes a list of integers and returns the sum of all prime numbers in the list. Additionally, write a QuickCheck test to validate the correctness of your function using randomly generated lists of integers.\n" }, { "from": "gpt", "value...
openhermes
chosen
[ { "from": "human", "value": "Identify three classic arcade games and discuss their impact on the gaming industry." }, { "from": "gpt", "value": "1. Pong (1972): Developed by Atari, Pong is often considered the first commercially successful video game and a pioneer in the gaming industry. It is a...
openhermes
chosen
[ { "from": "human", "value": "If there are 6 apples and you take away 4, how many do you have?" }, { "from": "gpt", "value": "You have 4 apples because you took them away." } ]
openhermes
chosen
[ { "from": "human", "value": "An online retailer is expanding its warehouse network to reduce shipping times. They currently have four warehouses, each capable of processing 10,000 orders per day. The company expects order volume to grow by 15% annually over the next five years. Calculate the number of addit...
openhermes
chosen
[ { "from": "human", "value": "Develop a marketing campaign for a new line of luxury pet products called \"Pampered Paws.\" Include a catchy slogan, product descriptions, and ideas for print and digital advertisements.\n" }, { "from": "gpt", "value": "Campaign Name: \"The Luxe Life for Your Furry ...
openhermes
chosen
[ { "from": "human", "value": "An insurance company wants to analyze the impact of offering discounts on home insurance premiums for customers who install smart security systems. The company currently insures 100,000 homes, with an average annual premium of $1,000 per home. They expect that offering a 10% dis...
openhermes
chosen
[ { "from": "human", "value": "Compare and contrast two languages from different language families, discussing their grammatical structures, phonetic systems, and writing scripts." }, { "from": "gpt", "value": "For this comparison, let's examine English, a Germanic language from the Indo-European ...
openhermes
chosen
[ { "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...
openhermes
chosen
[ { "from": "human", "value": "Solve the equation: 3x + 4 = 16. Show your work.\n" }, { "from": "gpt", "value": "To solve the equation, we need to isolate x. \n\nStep 1: Subtract 4 from both sides of the equation.\n3x + 4 - 4 = 16 - 4\n3x = 12\n\nStep 2: Divide both sides by 3.\n(3x)/3 = 12/3\nx =...
openhermes
chosen
[ { "from": "human", "value": "What actor starred as Tony Stark, also known as Iron Man, in the Marvel Cinematic Universe films?" }, { "from": "gpt", "value": "Robert Downey Jr." } ]
openhermes
chosen
[ { "from": "human", "value": "A cruise ship company is planning a new route that will include stops in five different countries. The trip will last 14 days, with two days spent at sea between each country. The ship can accommodate up to 3,000 passengers and offers three types of cabins: interior, ocean view,...
openhermes
chosen
[ { "from": "human", "value": "Develop a Perl script that monitors a specified directory for new files. When a new file is detected, the script should compress it using gzip and move the compressed file to another specified directory. The script should accept command line arguments for the source and destinat...
openhermes
chosen
[ { "from": "human", "value": "A national park is planning to improve its visitor experience by building new hiking trails, picnic areas, and wildlife observation platforms. The total budget allocated for these improvements is $3 million. The construction costs per mile of hiking trail, per picnic area, and p...
openhermes
chosen
[ { "from": "human", "value": "Compute the residue of the function f(z) = (z^2+1)/(z^3-1) at its singular point z=1." }, { "from": "gpt", "value": "To compute the residue of the function f(z) at its singular point z=1, we first need to find the Laurent series expansion of f(z) around z=1. We can d...
openhermes
chosen
[ { "from": "human", "value": "Which planet in our solar system has the longest day?\n A. Earth\n B. Jupiter\n C. Venus\n D. Mars\n" }, { "from": "gpt", "value": "[C, Venus]" } ]
openhermes
chosen
[ { "from": "human", "value": "Develop a Swift app that implements a simple calculator with basic arithmetic operations (+, -, *, /)." }, { "from": "gpt", "value": "Creating a full Swift app requires more than just the code, as it involves creating a user interface in Xcode's Interface Builder and...
openhermes
chosen
[ { "from": "human", "value": "Design a C++ class called \"Matrix\" that represents a 2D matrix of integers. The class should include methods for adding, subtracting, and multiplying matrices, as well as finding the transpose and determinant of the matrix. Include proper error handling for invalid operations,...
openhermes
chosen
[ { "from": "human", "value": "Solve the following differential equation: dy/dx = y/x with the initial condition y(1) = 2. Provide step-by-step reasoning.\n" }, { "from": "gpt", "value": "To solve the given first-order differential equation, we can use separation of variables. The given equation i...
openhermes
chosen
[ { "from": "human", "value": "An anagram of \"partie\", this word refers to a person engaged in illegal activities, especially at sea." }, { "from": "gpt", "value": "pirate" } ]
openhermes
chosen
[ { "from": "human", "value": "Give me a list of 15 words that have 'tter' somewhere in them." }, { "from": "gpt", "value": "1. Butter\n2. Tatter\n3. Bitter\n4. Flutter\n5. Clutter\n6. Utter\n7. Gutter\n8. Stutter\n9. Twitter\n10. Scatter\n11. Shutter\n12. Patter\n13. Natter\n14. Smatter\n15. Chat...
openhermes
chosen
[ { "from": "human", "value": "Develop a list of 7 words terminating in 'ship'" }, { "from": "gpt", "value": "1. Friendship\n2. Relationship\n3. Leadership\n4. Scholarship\n5. Partnership\n6. Citizenship\n7. Apprenticeship" } ]
openhermes
chosen
[ { "from": "human", "value": "A hotel chain is evaluating its expansion strategy in a popular tourist destination. The company currently operates five hotels with a total of 1,000 rooms. To meet increasing demand, they plan to add three new hotels with an additional 600 rooms over the next three years. Calcu...
openhermes
chosen
[ { "from": "human", "value": "Develop a Golang program that connects to AWS S3, lists all available buckets, and retrieves the metadata of each object within a specified bucket. The output should be formatted as a JSON array containing the object key, size, and last modified date.\n" }, { "from": "gp...
openhermes
chosen
[ { "from": "human", "value": "Write a Rust program that reads a large text file line by line and counts the occurrences of each word. The program should support command line arguments for specifying the input text file path and output CSV file path. The output CSV file should contain two columns: word and co...
openhermes
chosen
[ { "from": "human", "value": "A city is planning to upgrade its public transportation system by adding new buses and routes. The city currently has 100 buses, each with a capacity of 50 passengers. They want to increase the total passenger capacity by 25% while maintaining an average occupancy rate of 70%. C...
openhermes
chosen
[ { "from": "human", "value": "List five benefits of having a pet, using bullet points." }, { "from": "gpt", "value": "- Improved mental health: Pets provide companionship, reducing feelings of loneliness and depression.\n- Increased physical activity: Owning a pet, especially a dog, encourages re...
openhermes
chosen
[ { "from": "human", "value": "A company wants to improve its employees' productivity by offering free coffee throughout the day. They have 500 employees working in three shifts: morning (40%), afternoon (30%), and night (30%). Each employee consumes an average of two cups of coffee per shift. The cost of pro...
openhermes
chosen
[ { "from": "human", "value": "A pharmaceutical company is considering the acquisition of a smaller biotech firm that specializes in gene therapy research. The acquisition price is $1 billion, and the company expects to generate annual revenues of $200 million from the acquired firm's existing products. Calcu...
openhermes
chosen
[ { "from": "human", "value": "Explain three unique ways animals communicate with each other, ensuring that each method is from a different animal species." }, { "from": "gpt", "value": "1. Honeybees: Waggle Dance - Honeybees use a unique form of communication called the waggle dance to inform oth...
openhermes
chosen
[ { "from": "human", "value": "Solve for x: 3x - 7 = 11" }, { "from": "gpt", "value": "To solve for x, we can follow these steps:\n\nStep 1: Add 7 to both sides of the equation\n3x - 7 + 7 = 11 + 7\n3x = 18\n\nStep 2: Divide both sides by 3\n3x / 3 = 18 / 3\nx = 6\n\nSo, x = 6." } ]
openhermes
chosen
[ { "from": "human", "value": "Compose a poem inspired by the beauty of nature, specifically focusing on the colors of autumn leaves and the peacefulness of a forest.\n Create a character who discovers this serene environment for the first time and experiences personal growth as a result.\n" }, { "f...
openhermes
chosen
[ { "from": "human", "value": "Write a Python script that connects to an MQTT broker, subscribes to a specified topic, and logs all received messages to a file. The script should also provide a command line interface for publishing messages to the same topic. Include options for specifying the MQTT broker con...
openhermes
chosen
[ { "from": "human", "value": "Create a dialogue between two people who are learning salsa dancing together, showcasing common challenges faced by beginners and tips for overcoming them." }, { "from": "gpt", "value": "Person A: Hey, I'm really excited to learn salsa dancing with you!\n\nPerson B: ...
openhermes
chosen
[ { "from": "human", "value": "Generate a sentence with every word starting with a single letter of the alphabet, starting with o and going in reverse order." }, { "from": "gpt", "value": "Onyx narwhals merrily lunge, kicking jubilant iguanas hastily grabbing ferns, eating daisies carelessly befor...
openhermes
chosen
[ { "from": "human", "value": "A national sports league wants to expand its fan base by increasing attendance at games and viewership on television. The league currently has 30 teams, with an average stadium capacity of 40,000 spectators. They aim to increase overall attendance by 20% within the next three ye...
openhermes
chosen
[ { "from": "human", "value": "Implement a Python Flask API with endpoints to perform CRUD operations on a \"Task\" model. The Task model should have fields like title, description, due_date, and status. Use SQLAlchemy ORM for database interactions and validate user inputs before performing any operation.\n" ...
openhermes
chosen
[ { "from": "human", "value": "BEGININPUT\nBEGINCONTEXT\nENDCONTEXT\nThe Blue-Striped Lark, scientifically known as Alauda venusta, is a small passerine bird native to the grasslands of Eastern Europe and Western Asia. This unique species has gained attention due to its striking blue stripes on its head and w...
openhermes
chosen
[ { "from": "human", "value": "An anagram of \"notices\", this word refers to a distinct part or subdivision of something, especially one that is functional or organized." }, { "from": "gpt", "value": "section" } ]
openhermes
chosen
[ { "from": "human", "value": "Write a Python script that connects to a PostgreSQL database and performs CRUD (Create, Read, Update, Delete) operations on a given table. The script should use command line arguments to specify the operation, table name, and any necessary parameters.\n" }, { "from": "gp...
openhermes
chosen
[ { "from": "human", "value": "A farmer has 17 sheep, and all but nine die. How many are left?" }, { "from": "gpt", "value": "Nine sheep are left because \"all but nine\" means that only nine survived." } ]
openhermes
chosen
[ { "from": "human", "value": "Create a short tap dancing routine by describing a sequence of ten moves or steps, incorporating both basic and advanced techniques." }, { "from": "gpt", "value": "1. Shuffle: Start the routine with a basic shuffle step, where you brush your right foot forward and th...
openhermes
chosen
[ { "from": "human", "value": "What historical event took place at Kitty Hawk, North Carolina, on December 17, 1903?" }, { "from": "gpt", "value": "The Wright brothers' first powered flight" } ]
openhermes
chosen
[ { "from": "human", "value": "BEGININPUT\nBEGINCONTEXT\ndate: August 12, 2021\nparticipants: Alex Johnson, Taylor Smith\nplatform: WhatsApp\nENDCONTEXT\nAlex: Hey Taylor! Have you heard about Kubernetes? I just started learning about it and it's pretty cool.\n\nTaylor: Hi Alex! Yeah, I've been using Kubernet...
openhermes
chosen
[ { "from": "human", "value": "Design a Ruby script that reads a CSV file containing employee data (name, age, salary) and outputs the average salary grouped by age ranges (e.g., 20-29, 30-39)." }, { "from": "gpt", "value": "To create a Ruby script that reads a CSV file containing employee data an...
openhermes
chosen
[ { "from": "human", "value": "In bullet points, list five of the world's most interesting festivals, along with a short description of what makes them unique." }, { "from": "gpt", "value": "1. La Tomatina, Spain\n- Unique for its massive tomato fight, where participants throw overripe tomatoes at...
openhermes
chosen
[ { "from": "human", "value": "An international shipping company needs to determine the most efficient route for transporting goods between three major ports (A, B, and C). Each port has different fees associated with docking and loading/unloading cargo, as well as varying distances between them. Port A charg...
openhermes
chosen
[ { "from": "human", "value": "This anagram of \"loop\" is a small body of still water." }, { "from": "gpt", "value": "pool" } ]
openhermes
chosen
[ { "from": "human", "value": "Prepare a list of 21 words that originate with 'pre'" }, { "from": "gpt", "value": "1. prelude\n2. prerequisite\n3. predict\n4. precaution\n5. precede\n6. prehistoric\n7. preface\n8. preposition\n9. preoccupy\n10. premonition\n11. prenatal\n12. premature\n13. premedi...
openhermes
chosen
[ { "from": "human", "value": "Calculate the entropy change of an ideal gas during an isothermal expansion, providing step-by-step reasoning.\n" }, { "from": "gpt", "value": "To calculate the entropy change of an ideal gas during an isothermal expansion, we can use the formula for the entropy chan...
openhermes
chosen
[ { "from": "human", "value": "Create a JavaScript function that takes an array of integers as input and returns an object with two properties: \"even\" and \"odd\". Each property should contain an array of even or odd numbers from the input array, sorted in ascending order.\n" }, { "from": "gpt", ...
openhermes
chosen
[ { "from": "human", "value": "The phrase \"E Pluribus Unum,\" found on U.S. currency, translates to what in English?" }, { "from": "gpt", "value": "Out of many, one" } ]
openhermes
chosen
[ { "from": "human", "value": "Write a Perl script that searches a directory recursively for files with a specific extension and prints their paths." }, { "from": "gpt", "value": "```perl\n#!/usr/bin/perl\n\nuse strict;\nuse warnings;\nuse File::Find;\n\n# Check if the correct number of arguments ...
openhermes
chosen
[ { "from": "human", "value": "Assess the legacy of Nikola Tesla by outlining his most notable inventions and contributions to science, as well as the ongoing impact of his work on modern technology." }, { "from": "gpt", "value": "Nikola Tesla was a Serbian-American inventor, electrical engineer, ...
openhermes
chosen
[ { "from": "human", "value": "How many months have 28 days?" }, { "from": "gpt", "value": "All 12 months have at least 28 days." } ]
openhermes
chosen
[ { "from": "human", "value": "Which classic novel features the characters Tom Sawyer and Huckleberry Finn?" }, { "from": "gpt", "value": "The Adventures of Tom Sawyer by Mark Twain" } ]
openhermes
chosen
[ { "from": "human", "value": "Write a Java program that reads a CSV file containing user information (first name, last name, email, and age) and stores the data in an SQLite database. The program should also provide methods to query the database for all users, users with specific ages, and users with specifi...
openhermes
chosen
[ { "from": "human", "value": "BEGININPUT\nBEGINCONTEXT\ndate: August 15, 2021\nparticipants: Alice, Bob, and Carol\nchannel: #photography-techniques\nENDCONTEXT\nAlice: Hey guys, I just read an interesting article about the \"Inverted Perspective\" technique in photography. Have you heard of it?\n\nBob: Yeah...
openhermes
chosen
[ { "from": "human", "value": "BEGININPUT\nBEGINCONTEXT\nauthor: Lila Thompson\ndate: October 15, 2021\ntitle: The Ballad of Cassandra's Vision\ncategory: Poetry\nENDCONTEXT\nIn ancient times, a maiden fair,\nCassandra was her name.\nShe dwelt within the city walls,\nOf Troy, where heroes came.\n\nApollo gran...
openhermes
chosen
[ { "from": "human", "value": "Create a Golang program that emulates a simple calculator capable of performing addition, subtraction, multiplication, and division operations. The calculator should:\n - Accept input from the command line.\n - Display the result after each operation.\n" }, { "from":...
openhermes
chosen
[ { "from": "human", "value": "Explain the invention of the phonograph, detailing who invented it, when it was invented, and how it works." }, { "from": "gpt", "value": "The phonograph, also known as the gramophone or record player, is a device that can reproduce sound from recordings engraved on ...
openhermes
chosen
[ { "from": "human", "value": "Using Laplace transforms, solve the following differential equation: dy/dt + 2y = e^(-t), with initial condition y(0) = 1. Provide step-by-step reasoning.\n" }, { "from": "gpt", "value": "Step 1: Take the Laplace transform of both sides of the equation.\n\nThe given ...
openhermes
chosen
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
6