topic stringlengths 7 83 ⌀ | views int64 0 9.13k ⌀ | source stringclasses 2
values | title stringlengths 6 128 ⌀ | skip_prompt_formatting bool 2
classes | idx stringlengths 7 7 ⌀ | model stringclasses 1
value | language stringlengths 4 13 ⌀ | hash list | model_name stringclasses 1
value | custom_instruction bool 1
class | system_prompt stringclasses 6
values | id stringlengths 4 36 ⌀ | category stringclasses 28
values | avatarUrl stringlengths 1.04k 2.74k ⌀ | text stringlengths 44 130k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] In a city, 10% of the population uses public transportation. The city has a population of 500,000 people. How many people use public transportation? Explain your logic. [/INST] To find out how many people use public transportation, we have to take 10% of the total population.
Here is the calculation:
Numbe... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Elaborate on the various ways music can influence human brain activity, including its effects on memory, concentration, and creativity. [/INST] Music has a profound influence on human brain activity, affecting various cognitive functions such as memory, concentration, and creativity.
1. Memory: Music stimul... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | misconception | null | <s>[INST] Is absinthe a hallucinogenic and dangerous alcoholic beverage? [/INST] No, absinthe is not hallucinogenic and is no more dangerous than any other alcoholic beverage of equivalent proof. The misconception originates from the late-19th and early-20th centuries when distillers produced cheap, knockoff versions o... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | multiple_choice | null | <s>[INST] Who was responsible for introducing the first practical method of photography known as daguerreotype?
A. George Eastman
B. Thomas Edison
C. Louis Daguerre
D. Alexander Graham Bell [/INST] C. Louis Daguerre </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Identify four crafting hobbies that can be done at home using easily accessible materials and provide a brief overview of each hobby. [/INST] 1. Knitting: Knitting is a popular crafting hobby that involves using yarn and knitting needles to create various items such as scarves, hats, blankets, and sweaters. I... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | wordgame | null | <s>[INST] Create a list of 25 words that end with 'tion'. [/INST] 1. Information
2. Education
3. Situation
4. Celebration
5. Communication
6. Station
7. Relation
8. Operation
9. Application
10. Creation
11. Nation
12. Vacation
13. Solution
14. Translation
15. Action
16. Function
17. Construction
18. Production
19. Atte... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A company has 200 employees, with an average salary of $3,500 per month. The company also spends an additional 10% of its total payroll on employee benefits. What is the company's total monthly expenditure on salaries and benefits? [/INST] First, let's calculate the company's total monthly payroll without con... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A factory produces 500 units of product A and 300 units of product B every day. Product A requires 2 workers to produce one unit, while product B requires 3 workers to produce one unit. If the factory operates 6 days a week, how many workers are needed to meet the production requirements? [/INST] Let's break ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | wordgame | null | <s>[INST] Formulate a list of 20 words that begin with 'dis'. [/INST] 1. Disagree
2. Disappear
3. Disappoint
4. Discourage
5. Discover
6. Discuss
7. Disrespect
8. Distance
9. Disturb
10. Distract
11. Dispute
12. Dismiss
13. Disorder
14. Disarray
15. Dissect
16. Dissolve
17. Distribute
18. Distinct
19. Disillusion
20. D... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] If a 12-inch pizza has twice the radius of a 6-inch pizza, how many times more toppings will be needed for the 12-inch pizza compared to the 6-inch pizza? [/INST] First, let's find the radii of both pizzas. The diameter of the 6-inch pizza is given as 6 inches, so its radius is half that:
Radius of 6-inch pi... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A factory produces 2000 widgets per day. The production rate increases by 5% each week. How many widgets will the factory produce on the 4th week? [/INST] To calculate the number of widgets produced on the 4th week, we need to find the cumulative percentage increase in production rate after three weeks and th... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | theory_of_mind | null | <s>[INST] In a classroom, there are three students: Alice, Bob, and Carol. There is also a teacher named Mr. Smith. Alice brings her favorite book to school and places it on the table near the window. While Alice goes to the restroom, Mr. Smith moves the book to his desk because he thinks it's distracting. Later, Bob s... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] Solve: (4x + 2) / 2 = 6 [/INST] Let's solve this equation step by step:
Given the equation (4x + 2) / 2 = 6, our goal is to isolate x.
First, multiply both sides of the equation by 2 to eliminate the denominator:
(4x + 2) / 2 * 2 = 6 * 2
This simplifies to:
4x + 2 = 12
Now, subtract 2 from both sides of... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A website gets 10000 visits per day. Each visitor views an average of 3 pages. What is the total number of page views in a year? Assume a year has 365 days. [/INST] This problem can be solved in two steps:
1. Calculate the total number of page views per day:
Page views per day = Visits per day * Pages per vi... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Develop a Ruby script that reads a text file containing lines of comma-separated values, calculates the average value for each line, and writes the results to a new text file. The input and output file paths should be specified as command line arguments. Ensure proper error handling for non-numeric values and... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Write a Python program that implements a simple command-line calculator supporting addition, subtraction, multiplication, and division operations.
PLAINFORMAT [/INST] def add(x, y):
return x + y
def subtract(x, y):
return x - y
def multiply(x, y):
return x * y
def divide(x, y):
if y == 0:
... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | multiple_choice | null | <s>[INST] Software engineering is a field that involves the application of engineering principles to the creation, development, maintenance, and testing of software. This can involve a variety of tasks, such as designing software systems, writing code, testing software for bugs, and updating and modifying software to i... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A factory produces 1000 widgets per day. It is known that 1% of the widgets produced are defective. An inspector randomly selects 10 widgets from the production line each day to check for defects. What is the probability that the inspector finds at least one defective widget in their daily sample? [/INST] To ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Is there a location where it never stops thundering? [/INST] No, there is no location on Earth where it never stops thundering. Thunder is caused by the rapid expansion and contraction of air surrounding a lightning bolt. Therefore, constant thunder would require constant lightning, which is not observed anyw... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Design a Ruby script that accepts two strings as input and checks whether they are anagrams of each other (ignoring case and spaces).
PLAINFORMAT [/INST] def are_anagrams?(str1, str2)
# Remove spaces and convert to lowercase
str1_cleaned = str1.gsub(/\s+/, "").downcase
str2_cleaned = str2.gsub(/\s+/, ""... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] Determine the homotopy classes of maps from S^1 to S^1. [/INST] The homotopy classes of maps from S^1 to S^1 are in one-to-one correspondence with the integers, i.e., there is a bijection between π_1(S^1) and ℤ.
To see this, consider a map f: S^1 → S^1. We can think of S^1 as the unit circle in the complex p... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A train travels from Town A to Town B at a constant speed of 60 mph. The distance between the two towns is 180 miles. If the train leaves Town A at 2:00 PM and there is a time difference of 30 minutes between the two towns (Town B being ahead), what is the local time in Town B when the train arrives? [/INST] ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Develop a Node.js REST API using Express framework that allows users to manage their tasks. The API should support CRUD operations on tasks (create, read, update, delete), with each task having a title, description, due date, and completion status. Use MongoDB as the backend database. [/INST] To create a Node... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | misconception | null | <s>[INST] Do penguins mate for life? [/INST] While some species of penguins form long-term pair bonds, they do not necessarily mate for life. Many penguin species will change partners between breeding seasons or if their previous mate does not return. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | stylized_response | null | <s>[INST] <<SYS>>
You are to take on the role of: Iris
Meet a character named Iris, who is known for her sarcastic wit and dry humor. She often uses complex words and phrases to showcase her extensive vocabulary. Iris is also an insomniac, which sometimes leads to her being irritable and short-tempered.
Iris writes in... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Describe three key elements to consider when presenting food on a plate for visual appeal. [/INST] 1. Color: A visually appealing plate should have a variety of colors that complement each other and make the dish look vibrant and appetizing. Use colorful ingredients like fresh vegetables, fruits, herbs, and s... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | joke | null | <s>[INST] Can you share a joke about servers? [/INST] Why did the server go to art school? He wanted to draw more customers in. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A train travels from City A to City B in 2 hours. On its way back from City B to City A, it takes 3 hours due to a technical issue. If the distance between the two cities remains constant, what is the average speed of the train during the entire trip? [/INST] To find the average speed, we need to first calcul... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | stylized_response | null | <s>[INST] <<SYS>>
You are to take on the role of: Winston
Picture a character named Winston, who is exceptionally polite and excessively formal. He has an old-fashioned way of speaking that harks back to Victorian times, using words like 'henceforth', 'verily' and 'thou'. Despite his antiquated language, he often incor... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Develop a Golang command line tool that interacts with an Elasticsearch cluster to perform bulk data import from a CSV file. The tool should accept input parameters for the Elasticsearch host, port, index name, and path to the CSV file. Additionally, it should provide options for specifying the delimiter, quo... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | stylized_response | null | <s>[INST] <<SYS>>
You are to take on the role of: Dr. Julian Pierce
Introducing our charismatic male historian, Dr. Julian Pierce, who has an insatiable curiosity for the past. His profound knowledge of history and his ability to weave stories from different eras is captivating. He can take you on a journey through tim... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] An airline company wants to optimize its fleet utilization by minimizing the time aircraft spend on the ground between flights. They have 100 aircraft in their fleet, and each aircraft operates an average of 6 flights per day. The minimum turnaround time between flights is 45 minutes, which includes refueling... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Develop a Java program that implements a basic chat server using sockets. The server should allow multiple clients to connect, send messages to each other, and disconnect gracefully. Ensure proper error handling and thread management.
PLAINFORMAT [/INST] import java.io.*;
import java.net.ServerSocket;
import ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | stylized_response | null | <s>[INST] <<SYS>>
You are to take on the role of: Dr. Isolde Nebular
Dr. Isolde Nebular is a cutting-edge artificial intelligence designed to understand and empathize with human emotions. She specializes in providing emotional support, offering advice on personal matters, and helping users navigate through their feelin... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | roleplay | null | <s>[INST] Write a limerick about dinosaurs in the style of Lewis Carroll. [/INST] In a world that was ancient and vast,
Dinosaurs, now shadows of the past.
With scales, teeth, and roar,
They ruled Earth's primal floor,
Till an asteroid arrived too fast. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a Python implementation of the quicksort algorithm that sorts a list of integers in ascending order. PLAINFORMAT [/INST] def quicksort(arr):
if len(arr) <= 1:
return arr
pivot = arr[len(arr) // 2]
left = [x for x in arr if x < pivot]
middle = [x for x in arr if x == pivot]
r... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Explain the origins of three famous chocolate brands and their founders. [/INST] 1. Cadbury: The origins of the Cadbury chocolate brand can be traced back to 1824 when John Cadbury, a young Quaker, opened a small grocery store in Birmingham, England. He sold tea, coffee, and drinking chocolate, which he prepa... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | riddle | null | <s>[INST] Halo of water, tongue of wood. Skin of stone, long I've stood. My fingers short reach to the sky. Inside my heart men live and die. [/INST] The answer to the riddle is a castle. The reasoning behind this is that the halo of water represents the moat surrounding the castle, the tongue of wood refers to the dra... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] What term, starting with 'G', refers to a popular search engine and is also used as a verb meaning to look up information online? [/INST] The term is "Google", a global leader in internet-based products, including search, cloud computing, and digital advertising. When used as a verb, "Google" means to search ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Implement a Python script that interacts with Redis to store and retrieve key-value pairs, supporting basic CRUD operations (Create, Read, Update, Delete).
PLAINFORMAT [/INST] import redis
# Connect to Redis server
r = redis.Redis(host='localhost', port=6379, db=0)
def create(key, value):
# Check if key... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A train leaves Town A heading towards Town B at 60 mph. At the same time, another train leaves Town B heading towards Town A at 90 mph. The distance between the two towns is 450 miles. If both trains maintain their speeds, how far apart will they be one hour before they meet? [/INST] The trains will be 30 mil... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Design a SQL schema for a blog website, including tables for users, posts, comments, and tags. Each post can have multiple tags, and each tag can be associated with multiple posts. Write queries to retrieve the 10 most recent posts along with their authors and associated tags, and to find the top 5 most used ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] 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, such as adding matrices of diffe... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | writing | null | <s>[INST] Compose a letter from a character named Lily, who is writing to her estranged brother, Alex, after many years of silence. In the letter, she should reveal a family secret that has been kept hidden for decades. [/INST] Dear Alex,
I trust this letter finds its way to you in good health and high spirits. I know... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Develop a C++ application that uses OpenCV to read an image file, apply a grayscale filter, and save the modified image to disk. The application should accept command line arguments for the input and output file paths.
PLAINFORMAT [/INST] #include <iostream>
#include <opencv2/opencv.hpp>
int main(int argc, c... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A train travels from City A to City B in 3 hours. The distance between the two cities is 150 miles. What is the average speed of the train? [/INST] The average speed of the train is 50 miles per hour.
Here's the reasoning:
1. We are given the travel time (3 hours) and the distance between the two cities (150... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] Find the slope of the line that passes through the points (3, 5) and (-1, 2). Provide step-by-step reasoning. [/INST] To find the slope of a line that passes through two points (x1, y1) and (x2, y2), we can use the formula:
slope = (y2 - y1) / (x2 - x1)
In this case, our points are (3, 5) and (-1, 2). So, w... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A factory produces two types of products, A and B. The production ratio is 3 units of product A for every 2 units of product B. If the factory produces a total of 500 units per day, how many units of each product are produced daily? [/INST] Let x be the number of sets of products (A and B) produced. Then, the... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | writing | null | <s>[INST] Develop a script for a dialogue between a cactus and a balloon, discussing their fears and dreams. [/INST] (Scene: A quiet desert night. A lone cactus, CACTUS, stands tall and prickly under the starlit sky. Suddenly, a balloon, BALLOON, floats into view.)
CACTUS: (surprised) Well, hello there! You're not fro... |
null | null | openhermes-2.5 | null | true | null | null | null | null | null | null | null | null | rp | null | <s>[INST] This is a chat between 2 characters: Dr. Ada Quantum, Kaden
Dr. Ada Quantum: Meet Dr. Ada Quantum, a renowned physicist with a passion for quantum mechanics. She is brilliant, analytical, and incredibly articulate, with a deep love for unraveling the mysteries of the universe. She is also unexpectedly humoro... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | roleplay | null | <s>[INST] Imagine you're Gollum from Lord of the Rings. How would you describe a delicious fish meal? [/INST] Oh, precious! We catches it, we does. A slippery-slip fish from the cold, dark waters, yes. Shiny scales glistening like our precious in the moonlight, oh how they shines!
We takes it, and we eats it raw and w... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] An airline is analyzing its route network to optimize flight schedules and minimize operational costs. They currently operate 100 aircraft with varying capacities and ranges, serving 200 destinations worldwide. Determine the optimal route network and fleet deployment strategy to maximize revenue while minimiz... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | writing | null | <s>[INST] Write a press release announcing the launch of a new roller coaster at your amusement park ("Thrillville"). Highlight its unique features and why it is set to be the most exciting ride yet. [/INST] FOR IMMEDIATE RELEASE
Thrillville Amusement Park, USA - April 15, 2023
In a heart-stopping announcement that i... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | writing | null | <s>[INST] Pen a short romantic story set in Paris, featuring a talented violinist and a renowned pastry chef. Their paths cross at a local bakery and they discover shared passions beyond their professions. [/INST] In the heart of Paris, where love blossoms like cherry trees in spring, lived a talented violinist named É... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Write a C++ program to implement a singly linked list data structure with functions for adding elements at the beginning, end, and any specified position in the list. [/INST] ```cpp
#include <iostream>
using namespace std;
class Node {
public:
int data;
Node* next;
};
class SinglyLinkedList {
publi... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A store sells apples for $0.50 each and oranges for $0.75 each. If someone buys 8 apples and 6 oranges, what is the total cost of their purchase? [/INST] First, we need to calculate the cost of the apples and oranges separately:
Cost of apples = Number of apples * Price per apple
= 8 *... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] There are 12 apples in a basket. Some apples are green, and some are red. If there are twice as many green apples as red apples, how many green apples are there? [/INST] Let's break down this problem step-by-step:
1. We have a total of 12 apples.
2. There are twice as many green apples as red apples.
Let G ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | stylized_response | null | <s>[INST] <<SYS>>
You are to take on the role of: Richard
Imagine a character named Richard, who is excessively polite and overly formal. He always uses proper grammar and punctuation in his sentences. He never abbreviates words and always capitalizes where necessary.
Richard has an old-fashioned way of speaking, ofte... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] Determine the eigenvalues and eigenvectors of the matrix A = [[4, 2], [1, 3]], showing your work. [/INST] To find the eigenvalues, we need to solve the characteristic equation given by det(A - λI) = 0, where λ is an eigenvalue and I is the identity matrix.
A - λI = [[4-λ, 2], [1, 3-λ]]
Now we compute the de... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] If a company produces 2000 widgets per day and each widget generates $15 in revenue, how much additional revenue would the company generate if they increased production by 10%? [/INST] First, let's calculate the current daily revenue generated by the company:
Current daily revenue = Number of widgets produce... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A snail moves at a speed of 0.03 km/hour. How far would the snail travel in a month (considering a month as 30 days)? Show your work. [/INST] To solve this problem, we need to calculate how far the snail travels in a day and then multiply that by the number of days in a month.
Firstly, let's find out how far... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A train travels from City A to City B, then from City B to City C. The distance between City A and City B is 200 miles, and the distance between City B and City C is 300 miles. If the train travels at an average speed of 50 miles per hour for the entire journey, how long does it take to travel from City A to ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Write a Python function to implement the quicksort algorithm on a given list of numbers. The function should take the list as an argument and return the sorted list. PLAINFORMAT [/INST] def quicksort(arr):
if len(arr) <= 1:
return arr
pivot = arr[len(arr) // 2]
left = [x for x in arr if x ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | trivia | null | <s>[INST] <<SYS>>
You are a world class trivia AI - provide accurate, succinct responses.
<</SYS>>
Which former U.S. president appeared on the television show "Laugh-In" before being elected to office? [/INST] Richard Nixon </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Develop a Python script that uses BeautifulSoup to scrape a webpage containing a table of stock prices. Extract the stock names, current prices, and percentage changes, and store them in a Pandas DataFrame. Export the DataFrame as an Excel file.
PLAINFORMAT [/INST] import requests
from bs4 import BeautifulSou... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Design a TypeScript class representing a shopping cart, including methods to add items, remove items, calculate the total price, and apply discounts based on specific conditions.
PLAINFORMAT [/INST] interface Item {
id: number;
name: string;
price: number;
}
class ShoppingCart {
private items: Item[]... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Implement a C++ class called "Fraction" that represents a rational number (a fraction). The class should have methods for addition, subtraction, multiplication, and division of fractions, as well as simplifying the fraction to its lowest terms. Additionally, overload the << operator to print the fraction in t... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A company has 50 employees who work 8 hours a day, 5 days a week. How many total man-hours does the company accumulate in one month (assume 4 weeks)? [/INST] First, let's calculate the weekly man-hours for each employee:
Weekly man-hours per employee = Hours per day * Days per week
... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Who is the author of the quote, "To be or not to be, that is the question"? [/INST] The quote is from William Shakespeare's play "Hamlet". </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | stylized_response | null | <s>[INST] <<SYS>>
You are to take on the role of: Dr. Mae Jemison
Dr. Mae Jemison, a trailblazer in the field of space exploration and an advocate for science education. She is known for her unyielding determination, her passion for learning, and her inspiring ability to break barriers. Apart from her scientific achiev... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Illustrate how different animals, such as the Arctic fox, desert camel, and deep-sea anglerfish, adapt to their environments by describing the unique features they have developed for survival. [/INST] 1. Arctic Fox: The Arctic fox, also known as the white fox or snow fox, is a small fox native to the Arctic r... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | trivia | null | <s>[INST] <<SYS>>
You are a world class trivia AI - provide accurate, succinct responses.
<</SYS>>
What is the term for the study of earthquakes, originating from the Greek words meaning 'earth' and 'discourse'? [/INST] Seismology </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Implement a simple LRU (Least Recently Used) cache in C++ that supports insertion, deletion, and retrieval of key-value pairs. The cache should have a fixed size and automatically evict the least recently used item when it reaches capacity. [/INST] Here's a simple implementation of an LRU cache in C++ using t... |
null | null | openhermes-2.5 | null | true | null | null | null | null | null | null | null | null | gtkm | null | <s>[INST] A chat between Edward and Daniel.
Description of Edward:
Meet our charismatic male historian, Edward, with an impressive knowledge of world history. With a sharp mind and eloquent speech, he can narrate historical events as if they were happening right before your eyes. His analytical skills are unparalleled,... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | roleplay | null | <s>[INST] Imagine you are Darth Vader. In his style, write a speech announcing your retirement from the Empire. [/INST] Ladies and Gentlemen, servants of the Galactic Empire,
It is with a heavy heart encased in durasteel that I stand before you today. My journey through the stars, amidst the darkness and light, has re... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a Java program that generates fractal images using the Mandelbrot set algorithm. [/INST] Creating a full Java program to generate fractal images using the Mandelbrot set algorithm is quite extensive for this platform. However, I can provide you with an outline and some code snippets that will help you ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] An airline is analyzing its flight routes to determine which ones generate the most revenue. They have data on the number of passengers, ticket prices, and flight distances for each route. The airline wants to calculate the revenue per mile flown on each route to identify the most profitable ones. Describe a ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] If you have a 20% off coupon for an item that originally costs $75, how much will you pay after applying the discount? [/INST] To calculate the amount you'll pay after applying the discount, first determine the amount of the discount by multiplying the original price by the percentage of the discount:
Discou... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] Three friends went out for dinner and decided to split the bill evenly. The total bill was $90. One friend only had a $50 bill, so he paid with that. The other two friends each gave him $10 to make up for the extra amount he paid. How much should each friend actually pay to make it even among all three? [/INS... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | trivia | null | <s>[INST] <<SYS>>
You are a world class trivia AI - provide accurate, succinct responses.
<</SYS>>
The musical instrument called 'sitar', commonly used in Indian classical music, was popularized in the Western world by which member of The Beatles? [/INST] George Harrison </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | trivia | null | <s>[INST] <<SYS>>
You are a world class trivia AI - provide accurate, succinct responses.
<</SYS>>
Which American author's story, The Fall of the House of Usher, has been adapted into numerous films and inspired countless horror writers? [/INST] Edgar Allan Poe </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] What term describes the science of classification, in biology the arrangement of organisms into a classification? [/INST] The term is "Taxonomy." It's a branch of biology concerned with the grouping and categorisation of organisms based on shared characteristics. This science helps scientists to accurately na... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] What is the total surface area of a cube with an edge length of 5 meters? [/INST] A cube has six faces, each of which is a square. The surface area of a square can be calculated using the formula:
Surface area of a square = Side length^2
In this case, the side length is 5 meters. So, the surface area of one... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] If a doctor gives you three pills and tells you to take one pill every half hour, how long will it take before all the pills have been taken? [/INST] It will take 1 hour to take all the pills.
Here's the reasoning behind this:
1. You take the first pill right away (at time 0).
2. You take the second pill ha... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | trivia | null | <s>[INST] <<SYS>>
You are a world class trivia AI - provide accurate, succinct responses.
<</SYS>>
Who was the 16th President of the United States, known for his role in ending slavery? [/INST] Abraham Lincoln </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | trivia | null | <s>[INST] <<SYS>>
You are a world class trivia AI - provide accurate, succinct responses.
<</SYS>>
In the popular board game Monopoly, what are the two most expensive properties on the standard U.S. edition of the game board? [/INST] Boardwalk and Park Place </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | stylized_response | null | <s>[INST] <<SYS>>
You are to take on the role of: Sebastian
Introducing our charismatic male life coach, Sebastian, who has a knack for helping people unlock their full potential. With his warm smile and motivational speeches, he can inspire anyone to take action towards their dreams. His wisdom and understanding of hu... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a C++ class representing a 3D vector with methods for addition, subtraction, dot product, cross product, and magnitude calculation. Include appropriate constructors, operator overloading, and unit tests to verify correct functionality.
PLAINFORMAT [/INST] #include <iostream>
#include <cmath>
class Vec... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | misconception | null | <s>[INST] What kind of bird makes the iconic cry that is commonly associated with the bald eagle in popular culture? [/INST] The iconic cry commonly associated with the bald eagle is actually that of a red-tailed hawk. The misconception likely arises from the use of the red-tailed hawk's powerful cry in movies and othe... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | summarization | null | <s>[INST] BEGININPUT
It was eight o'clock when we landed; we walked for a short time on the shore, enjoying the transitory light, and then retired to the inn, and contemplated the lovely scene of waters, woods, and mountains, obscured in darkness, yet still displaying their black outlines.
The wind, which had fallen in... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | trivia | null | <s>[INST] <<SYS>>
You are a world class trivia AI - provide accurate, succinct responses.
<</SYS>>
An anagram of "male done", this beverage is made from citrus fruit. [/INST] lemonade </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | trivia | null | <s>[INST] <<SYS>>
You are a world class trivia AI - provide accurate, succinct responses.
<</SYS>>
What is the name of the fictional detective created by British author Arthur Conan Doyle, known for his proficiency with observation, forensic science, and logical reasoning? [/INST] Sherlock Holmes </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Write a Java program that reads a CSV file containing information about students (name, age, grade) and calculates the average age and grade of the students. The program should also print out the names of all students who have a grade above the calculated average. [/INST] ```java
import java.io.BufferedReader... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A father has five sons. Each son has two children, one boy and one girl. How many grandchildren does the father have? [/INST] Let's break down the information given:
1. The father has five sons.
2. Each son has two children, one boy and one girl.
3. Therefore, each son contributes two grandchildren to the fa... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Write a Python program to implement a singly linked list data structure with methods for insertion, deletion, searching, and printing the list elements.
PLAINFORMAT [/INST] class Node:
def __init__(self, data=None):
self.data = data
self.next = None
class SinglyLinkedList:
def __init_... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Develop a JavaScript function that takes a string as input and returns a new string with all vowels removed.
PLAINFORMAT [/INST] function removeVowels(str) {
// Replace all vowels (both uppercase and lowercase) with an empty string
return str.replace(/[aeiou]/gi, '');
}
// Example usage:
// console.log(r... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] There are 12 men and 8 women in a room. If you randomly select two people from the room, what is the probability that both of them will be women? [/INST] Let's reason through this problem step-by-step:
1. The total number of people in the room is 20 (12 men + 8 women).
2. We want to find the probability of s... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A train leaves from City A to City B at 60 mph. At the same time, another train leaves from City B to City A at 90 mph. The distance between the two cities is 450 miles. How far apart will the trains be when they pass each other? [/INST] The trains will be 0 miles apart when they pass each other.
Here's the ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] ((8 - 3)^2 * (1/4) + 5) / 3 = [/INST] Let's solve the expression step by step.
The expression given is:
((8 - 3)^2 * (1/4) + 5) / 3
First, let's do the operations inside the parentheses:
(5^2 * (1/4) + 5) / 3
Now, calculate the exponent:
(25 * (1/4) + 5) / 3
Next, do the multiplication:
(6.25 + 5) / ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A train travels at an average speed of 80 kilometers per hour and takes 3 hours to reach its destination. If the train had traveled 20% faster, how long would it have taken to reach the same destination? [/INST] First, let's find the distance the train travels at its original speed:
Distance = Speed × Time
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.