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 | coding | null | <s>[INST] Create a C# console application that connects to a SQL Server database and performs CRUD operations on a table named 'Employees'. The 'Employees' table contains columns: EmployeeID (integer), FirstName (string), LastName (string), and Salary (decimal). [/INST] Below is a simple C# console application that con... |
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 Bayeux Tapestry depicts events leading up to what significant historical battle that took place in 1066? [/INST] Battle of Hastings </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] If you were to travel from the Earth to the Moon at an average speed of 60 miles per hour, how long would it take to reach the Moon? [/INST] The average distance between the Earth and the Moon is about 238,900 miles (384,400 kilometers). To determine how long it would take to travel this distance at an averag... |
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 term refers to both a musical instrument played by striking stretched skins with sticks and a communication device used by Native Americans? [/INST] Drum </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A restaurant serves 4 types of appetizers, 6 main courses, and 3 desserts. How many different three-course meals (one appetizer, one main course, and one dessert) can a customer order? Explain your thought process. [/INST] For this type of problem, we use the rule of product, which states that if there are n ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Explain two different techniques used in the art of quilting and provide an example for each technique. [/INST] 1. Patchwork quilting: Patchwork quilting is a technique that involves sewing small pieces of fabric together to create a larger design or pattern. This method often uses geometric shapes, such as s... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | riddle | null | <s>[INST] A house of wood in a hidden place. Built without nails or glue. High above the earthen ground. It holds pale gems of blue. [/INST] The answer is a nest. The reasoning behind this is that a nest is made of wood (twigs and branches) and built without nails or glue, usually high above the ground on trees. It hol... |
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 popular kitchen appliance, invented by Percy Spencer in the 1940s, was originally called a "Radarange"? [/INST] Microwave Oven </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Implement a simple stack data structure in Python, with methods for push, pop, and checking if the stack is empty.
PLAINFORMAT [/INST] class Stack:
def __init__(self):
self.items = []
def push(self, item):
self.items.append(item)
def pop(self):
if not self.is_empty():
... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | multiple_choice | null | <s>[INST] A beam of light is incident on a glass-air interface at an angle greater than the critical angle. Which of the following best describes the behavior of the light?
A. It is completely absorbed by the glass
B. It is partially reflected and partially refracted
C. It is completely refracted into the air
D. It is ... |
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 per day. If each unit sells for $20, what is the factory's revenue for one week, assuming it operates seven days a week? [/INST] To calculate the factory's weekly revenue, we need to determine the daily revenue and then multiply that by the number of days in a week.
Fi... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Develop a Java application that consumes messages from an AWS SQS queue and processes them by saving the message content to a text file. The application should use multithreading to handle multiple messages concurrently and accept command line arguments for the AWS access key, secret key, region, and queue UR... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] In a bag, there are 12 marbles - 3 red, 4 green, and 5 blue. If you pick 3 marbles at random without replacement, what is the probability that you pick one marble of each color? [/INST] Let's break down this problem step-by-step:
1. There are 12 marbles in total, with 3 red, 4 green, and 5 blue marbles.
2. W... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A factory produces 100 units per day, and each unit takes 5 minutes to produce. If the factory operates for 10 hours a day, what is the utilization rate of the factory? [/INST] To calculate the utilization rate, we need to determine the total production time required for producing 100 units and compare it to ... |
null | null | openhermes-2.5 | null | true | null | null | null | null | null | null | null | null | gtkm | null | <s>[INST] A chat between Carl Sagan and Emily.
Description of Carl Sagan:
Renowned astrophysicist and author, Carl Sagan. Known for his deep curiosity about the cosmos, he is thoughtful, eloquent, and inspiring. He possesses a unique ability to make complex scientific concepts accessible to everyone. His demeanor is ca... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] There are 10 boxes on a table. One of the boxes contains a prize. You can pick any 3 boxes to open and check for the prize. After you have picked your 3 boxes, the host will remove one of the remaining 7 boxes that does not contain the prize. Then, you are given the option to switch one of your original picks... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] During a trip to Canada and Australia, you'll need to change dollars into what? [/INST] You'll need to change dollars into Canadian Dollars (CAD) for Canada and Australian Dollars (AUD) for Australia. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] In a village, there are 20 houses. Each house has at least one cat. If no two cats from different houses are friends, and every cat has exactly three cat friends, how many cats are in the village? [/INST] Let's reason through this problem:
1. We know that each house has at least one cat.
2. No two cats from ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Offer a collection of 7 words containing 'pent' somewhere in them. [/INST] 1. Penthouse
2. Penultimate
3. Pentathlon
4. Pentagram
5. Repentance
6. Impenetrable
7. Compartment </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | roleplay | null | <s>[INST] Describe a tranquil beach setting using the language of Virginia Woolf. [/INST] Upon the shores of this secluded cove, where sea meets sand in a delicate dance of nature's grand design, there lies a beach that speaks to the soul with its tranquil beauty. The sun casts its golden rays upon the undulating waves... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A school has 4 classes with 30 students in each class. Half of the students in each class are girls. How many boys are there in the school? Show your work. [/INST] Let's break this down:
1. Each class has 30 students, so the total number of students in the school is:
Total students = Number of classes * S... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | roleplay | null | <s>[INST] Create a dialogue between Queen Elizabeth I and Cleopatra discussing leadership qualities. [/INST] Queen Elizabeth I: Greetings, Cleopatra. It is an honor to meet a fellow queen who has ruled with such grace and strength.
Cleopatra: The pleasure is mine, Queen Elizabeth. Your reign has been marked by great a... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A city is planning to upgrade its public transportation system by adding electric buses to its fleet. The city currently has 100 diesel buses, each with a capacity of 50 passengers. They want to replace 30% of the diesel buses with electric ones, which have a capacity of 60 passengers. Calculate the total pas... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A store sells a product at a price of $60 per unit. Due to increased competition, they decide to offer a discount of 15% on the product. If their cost to produce each unit is $40, what will be their new profit margin percentage after applying the discount? [/INST] First, let's calculate the new selling price ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Design a computer game concept that incorporates elements of strategy and adventure, providing details about the setting, characters, and gameplay mechanics. [/INST] Title: ChronoSphere
Game Genre: Strategy-Adventure
Setting:
ChronoSphere is set in the mystical world of Eon, a vast land divided into five di... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] Prove that if a function is continuous and differentiable on an interval [a, b], then it must have at least one point in that interval where its derivative equals the average rate of change over the interval. Use calculus concepts to support your argument. [/INST] Let f(x) be a continuous and differentiable f... |
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: Confucius
Confucius, born in 551 BC, was a Chinese philosopher and politician during the Zhou Dynasty. He is recognized as one of the most influential individuals in human history due to his teachings on ethics, family relationships, justice, and sincerity.
Confucius d... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | misconception | null | <s>[INST] Can drinking alcohol warm you up in cold weather? [/INST] Drinking alcohol can create a temporary sensation of warmth because it dilates blood vessels near the skin's surface. However, this actually increases heat loss from the body and can lead to a drop in core temperature, making it counterproductive in co... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A store sells apples for $1 each and oranges for $2 each. If Alice buys 5 fruits and spends exactly $7, how many oranges did she buy? [/INST] Let's set up an equation to solve this problem:
1. Let x represent the number of apples Alice bought, and y represent the number of oranges she bought.
2. The total cos... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Write a Python script to implement a singly linked list data structure with methods for insertion, deletion, searching, and displaying elements. PLAINFORMAT [/INST] class Node:
def __init__(self, data):
self.data = data
self.next = None
class SinglyLinkedList:
def __init__(self):
... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | misconception | null | <s>[INST] Is it possible for a person to sneeze with their eyes open? [/INST] Although it is rare and difficult, it is possible for a person to sneeze with their eyes open. The reflex to close one's eyes during a sneeze is involuntary, but it can be overcome with conscious effort or in some cases may not occur at all. ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] Solve: (4x^2 - 9) / (2x + 3) = 2x - 3. [/INST] To solve this equation, we first need to factor the numerator of the fraction on the left side:
(4x^2 - 9) = (2x + 3)(2x - 3)
Now, our equation looks like this:
((2x + 3)(2x - 3)) / (2x + 3) = 2x - 3
We can cancel out the common factors in the numerator and d... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | roleplay | null | <s>[INST] What is your dream job? Respond using the words/style of Barney Stinson from How I Met Your Mother. [/INST] Dude, bro, let me tell you about the most LEGEN...wait for it...DARY dream job ever! Picture this: I'd be the ultimate playboy billionaire philanthropist by day and a suave international secret agent by... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] List four benefits of playing musical instruments for both mental and physical health in a CSV format. [/INST] Improves cognitive skills, Enhances memory and concentration, Reduces stress and anxiety, Boosts hand-eye coordination </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | joke | null | <s>[INST] Tell me a joke about binary code. [/INST] There are 10 types of people in the world. Those who understand binary code and those who do not. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] If you drive at an average speed of 60 miles per hour for 2 hours and 30 minutes, how far will you travel? [/INST] To find the distance traveled, we first need to convert the time into hours:
2 hours and 30 minutes = 2 + (30/60) = 2 + 0.5 = 2.5 hours
Now, use the formula Distance = Speed × Time:
Distance =... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Write a sonnet with every word starting with the letter L. [/INST] Lamenting, languid lovers lie,
Loquacious larks lamenting low.
Luxurious landscapes linger nigh,
Levitating lilacs lightly blow.
Luminescent lunar light,
Lacquer labyrinthine lanes;
Lucid lakes like liquid night,
Luring lullabies remain.
Lis... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] In JavaScript, create a program that reverses the words in a sentence. PLAINFORMAT [/INST] // Function to reverse words in a sentence
function reverseWords(sentence) {
// Split the sentence into an array of words
var words = sentence.split(' ');
// Reverse the order of the words
var reversedW... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | theory_of_mind | null | <s>[INST] In a park, there are three friends: Alice, Bob, and Carol. Alice has a red backpack with five apples inside. She gives two apples to Bob and puts the remaining apples in her blue backpack. Later, while Alice is away, Bob takes one apple from his bag and places it in Carol's yellow backpack without telling any... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A car manufacturing company produces 100 cars per day. Each car requires 4 tires. How many tires does the company need in a week (7 days)? Show your work. [/INST] First, let's calculate how many tires are needed for one day's production:
Tires needed per day = Cars produced per day * Tires per car
= 100 cars... |
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 | orca | null | <s>[INST] In a class of 40 students, 60% are boys. If 75% of the boys and 80% of the girls pass an exam, what is the overall passing percentage for the entire class? [/INST] First, let's determine how many boys and girls there are in the class:
Number of boys = Total students * Percentage of boys
... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | roleplay | null | <s>[INST] Describe a tranquil lake using the words/style of Henry David Thoreau. [/INST] In the bosom of nature, nestled amidst the verdant embrace of ancient trees and gentle slopes, lies a serene expanse of water, reflecting the celestial tapestry above like a mirror to the heavens. This tranquil lake, with its placi... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | roleplay | null | <s>[INST] Imagine you are Indiana Jones. In his style, write a diary entry about discovering a new archaeological site. [/INST] October 23rd,
As the sun dipped below the horizon, painting the sky with hues of orange and purple, I found myself standing at the precipice of a discovery that could potentially rewrite his... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | riddle | null | <s>[INST] Two fathers and two sons go fishing together. They each catch one fish to take home with them. They do not lose any fish, and they bring home three fish. How can this be possible? [/INST] There are only three people. A grandfather, his son, and his grandson. Each caught one fish. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | summarization | null | <s>[INST] BEGININPUT
THE dairy was certainly worth looking at: it was a scene to sicken for with a sort of calenture in hot and dusty streets--such coolness, such purity, such fresh fragrance of new-pressed cheese, of firm butter, of wooden vessels perpetually bathed in pure water; such soft colouring of red earthenwar... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Develop a GoLang application that serves as a RESTful API server. This server should interact with a PostgreSQL database to perform CRUD operations on a table of your choice. [/INST] Here is a simple example of how you can create a RESTful API server in GoLang that interacts with a PostgreSQL database. This a... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] If I have a bag with 3 red balls and 2 blue balls, how many dogs are in the bag? [/INST] There are no dogs in the bag, as it only contains red and blue balls. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | plan | null | <s>[INST] Create a systematic plan to solve the following problem, utilizing the provided tools. For each step, specify the tool to be used along with its input. You can store the output into a variable #E[index] that can be referenced later.
Available Tools:
WikiLookup[input]: A tool that retrieves information from W... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | multiple_choice | null | <s>[INST] In the field of organic chemistry, which of the following reactions involves the breaking of a bond in a molecule using heat or light, resulting in the formation of two radical species?
A. Addition reaction
B. Substitution reaction
C. Elimination reaction
D. Homolytic fission [/INST] D. Homolytic fission </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 natural phenomenon occurs when the moon passes between the Earth and the sun, casting a shadow on Earth? [/INST] Solar eclipse </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] If a car dealership sells 15 cars in the first week, and their sales increase by 10% each week after that, how many cars will they sell in total over a 4-week period? [/INST] To find out how many cars the dealership sells in total over a 4-week period, we need to calculate the number of cars sold for each wee... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Describe three benefits of living in a tree house. [/INST] 1. Connection with nature: Living in a tree house allows you to be surrounded by and immersed in nature, providing a peaceful and serene environment. You can enjoy the sights and sounds of wildlife, breathe fresh air, and appreciate the beauty of the ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | wordgame | null | <s>[INST] Write a poem about rainbows with exactly 60 words. [/INST] In the weeping sky's gentle sigh,
A spectrum of hues paints high.
Red to violet, a bridge so bold,
Rainbow's arc in splendor unfolds.
Tears and laughter intertwined,
In every color you will find.
A promise etched across the blue,
Hope's resplendent 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 19th-century American author is known for his works of dark romanticism, including "The Tell-Tale Heart" and "The Raven"? [/INST] Edgar Allan Poe </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Develop a command-line Python program that accepts a user's date of birth as input and calculates their age in years, months, and days. Ensure proper validation of the input date format. [/INST] Here's a Python program that does this:
```python
import sys
from datetime import datetime
def validate_date(date... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Utilize PowerShell to interact with Kubernetes. The script should be able to deploy a pod, get the status of all pods, delete a specific pod, and scale up/down the number of replicas in a deployment. PLAINFORMAT [/INST] # Deploy a pod
kubectl run my-pod --image=my-image
# Get the status of all pods
kubectl g... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | multiple_choice | null | <s>[INST] In a typical refrigeration cycle, a refrigerant is compressed by a compressor, raising its temperature and pressure. The hot, high-pressure refrigerant then flows through a condenser, where it loses heat to the surroundings and condenses into a high-pressure liquid. This liquid refrigerant is then expanded th... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | awareness | null | <s>[INST] <<SYS>>
A chat between Donovan (aka ASSISTANT) and USER.
Donovan:
Meet our charismatic male bartender, Donovan, known for his knack of mixing the most delightful cocktails. With a quick wit and an infectious laugh, he can turn any dull evening into a memorable one. His knowledge about spirits is vast, and he'... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a C++ program that reads a large text file line by line and processes each line using multiple threads. Each thread should count the number of occurrences of a specific word in its assigned lines and update a shared counter variable. After processing all lines, print the total count of the word's occur... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | multiple_choice | null | <s>[INST] The circle of fifths is a fundamental concept in music theory, illustrating the relationships among the 12 tones of the chromatic scale, their corresponding key signatures, and the associated major and minor keys. It is a geometric representation that allows musicians to understand and predict harmonic progre... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | multiple_choice | null | <s>[INST] In Geophysics, which of the following is a method used to study the Earth's subsurface using the principles of seismology?
A. Isostasy
B. Paleomagnetism
C. Geodesy
D. Seismic Reflection [/INST] D. Seismic Reflection </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | summarization | null | <s>[INST] BEGININPUT
ANNOUNCER: From New York City, America\'s financial capitol, this is IN THE MONEY. JACK CAFFERTY, HOST: Welcome to IN THE MONEY, I\'m Jack Cafferty. Coming up on today\'s program: The Kerry conundrum: the smoke alarm keeps going off at the White House, but that hasn\'t translate to a lead in the po... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] If a sequence is defined by the recursive formula an = 3an-1 - 2, where a1 = 5, what is the value of a5? [/INST] To find the value of a5, we need to apply the recursive formula repeatedly using the given initial value a1 = 5.
a1 = 5
a2 = 3 * a1 - 2 = 3 * 5 - 2 = 15 - 2 = 13
a3 = 3 * a2 - 2 = 3 * 13 - 2 = 39 ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A rectangle has a length of 15 cm and a width of 8 cm. If you increase the length by 50% and decrease the width by 25%, what will be the new area of the rectangle? [/INST] Let's work through this problem step-by-step:
1. The original area of the rectangle can be calculated as length * width = 15 cm * 8 cm = 1... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Design a C++ application that utilizes OpenCV to capture webcam video, apply a grayscale filter, and save the resulting video to disk in MP4 format.
PLAINFORMAT [/INST] #include <iostream>
#include <opencv2/opencv.hpp>
using namespace std;
using namespace cv;
int main(int argc, char** argv)
{
// Open th... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a Python script that implements a simple linked list with methods for adding elements, removing elements, searching for an element, and printing the entire list. PLAINFORMAT [/INST] class Node:
def __init__(self, data):
self.data = data
self.next = None
class LinkedList:
def __... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Develop a C# console application that connects to a MySQL database and performs CRUD operations on a table named "products". The product table should have columns for id, name, description, price, and quantity. The application should allow the user to add, update, delete, and view products using a simple text... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | riddle | null | <s>[INST] Iron roof, glass walls, burns and burns and never falls. [/INST] The answer to the riddle is a lantern. The reasoning behind this is that a lantern has an iron roof and glass walls, it produces light through burning fuel, yet it remains intact and does not fall apart. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | roleplay | null | <s>[INST] How would Homer Simpson explain the process of photosynthesis? [/INST] Well, uh... okay. So, you know how I love sitting on the couch with a can of Duff beer and some donuts? Well, plants kinda do their own version of that. Instead of a couch, they have soil, and instead of beer and donuts, they use sunlight ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | wordgame | null | <s>[INST] Write a short story about a dog using words that are no longer than four letters. [/INST] A dog, Spot, was a big pet. He had soft fur and kind eyes. Spot was not just a pet, he was part of the clan.
One day, Spot saw a cat on top of a tall tree. The cat was in fear as it was too high for her to jump down. Sp... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Write an ode about rivers using at least one word starting with each consonant. [/INST] Beneath the boughs of verdant trees,
Cascading currents flow with ease.
Divine, these rivers carve their path,
Eternal, winding, nature's bath.
Famed for flora, fauna graced,
Gentle whispers, sounds embraced.
Heralding li... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Who is often credited with the discovery of the New World? [/INST] Christopher Columbus is often credited with the discovery of the New World. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | roleplay | null | <s>[INST] Write a poem about sunsets in the style of Langston Hughes. [/INST] Upon the canvas of the sky,
A symphony of colors play.
The sun descends and whispers by,
As night devours the day.
Ochre, amber, crimson hues,
Blend with violet's deep embrace.
And as the daylight bids adieu,
The stars awaken in their place.... |
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. Theodore Starling
Meet our charismatic male astronomer, Dr. Theodore Starling, with a profound knowledge of the cosmos. With his intelligent gaze and engaging speech, he can explain complex celestial phenomena in an understandable way. His analytical skills and scie... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Classify these eight dances into three categories based on their origin: Tango, Salsa, Ballet, Hip-hop, Flamenco, Bharatanatyam, Irish Step Dance, and Hula. Provide your reasoning for each classification. [/INST] Category 1: European Origin
- Tango: This dance originated in the late 19th century along the bor... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A cylindrical water tank has a diameter of 3 meters and a height of 4 meters. What is the volume of this tank in cubic meters? [/INST] First, we need to find the radius of the cylinder, which is half of the diameter:
Radius = Diameter / 2
= 3 meters / 2
= 1.5 meters
Next, we use the formula fo... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] In a small town, there are 5 houses in a row. The green house is immediately to the left of the white house. The red house is in the middle. The blue house is immediately to the right of the yellow house. What color is the first house? [/INST] The first house is yellow.
Here's the reasoning:
1. We know that ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | wordgame | null | <s>[INST] Write a sonnet about roses using only words that start with 'r'. [/INST] Radiant roses, red and resplendent,
Rise in rows, regally reverent.
Reaching towards the radiant rays,
Resilient against the raging days.
Romantic renderings they release,
Richly robed in ruby fleece.
Rustling rhythmically in rapture's ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A cone-shaped paper cup has a base diameter of 4 inches and a height of 6 inches. What is the volume of the cup in cubic inches? [/INST] To find the volume of the cone-shaped paper cup, we can use the formula:
Volume = (1/3) * π * r^2 * h
where r is the radius, h is the height, and π is approximately 3.1415... |
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: Oscar
Imagine a character named Oscar, who is known for his wit and sarcasm. He's often making light of serious situations with his dry humor.
Oscar writes in an eloquent manner, favoring complex sentences and a rich vocabulary to express himself. Despite his sophisti... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Write a Java class that represents a binary search tree with methods for insertion, deletion, and traversal. [/INST] ```java
import java.util.LinkedList;
import java.util.Queue;
public class BinarySearchTree {
private Node root;
public static class Node {
int value;
Node left, right;... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A factory produces 500 widgets every day. How many widgets will be produced in 45 days if the factory operates continuously without any breaks or holidays? [/INST] To find the total number of widgets produced in 45 days, we simply multiply the daily production rate by the number of days:
Total widgets = Dail... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Generate a list of 15 verbs that start with the letter 'a'. [/INST] 1. Accelerate
2. Accept
3. Accomplish
4. Achieve
5. Acquire
6. Act
7. Adapt
8. Add
9. Address
10. Adjust
11. Administer
12. Admire
13. Admit
14. Adopt
15. Advise </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | wordgame | null | <s>[INST] Provide a list of 10 words that contain 'zz'. [/INST] 1. Pizza
2. Buzzing
3. Fizzled
4. Jazzed
5. Sizzling
6. Puzzled
7. Dazzling
8. Blizzard
9. Quizzical
10. Drizzle </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | card | null | <s>[INST] Please generate a random model card for a legendary weapon. Attributes to populate:
Name: The name of the weapon.
Type: The category of weapon (sword, bow, staff, etc.)
Material: What the weapon is made of.
Power: The unique ability or magic the weapon holds.
History: A brief backstory of the weapon. [/INST]... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Design a PHP web page that allows users to enter their name and favorite color. Upon submission, store this information in a MySQL database and display a personalized greeting message with the user's chosen color as the background.
PLAINFORMAT [/INST] ```php
<?php
// db_connect.php
$servername = "localhost";
... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Develop a Golang program that implements a basic HTTP server with support for GET and POST requests. The server should serve static files from a specified directory, handle file uploads to the same directory using unique filenames, and log all incoming requests to a separate log file.
PLAINFORMAT [/INST] pack... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A store offers a discount on a product such that the price decreases by 20% each week. If the original price was $100, what will be the price after 3 weeks? [/INST] To find the price after 3 weeks, we need to apply the weekly discount rate repeatedly. The discount rate is 20%, so the remaining percentage of t... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Develop a Python application that utilizes the Flask framework to create a simple web app with CRUD functionality for managing a list of tasks. Users should be able to add, edit, delete, and mark tasks as complete through the web interface. Store task data in a SQLite database. PLAINFORMAT [/INST] from flask ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] If a factory produces 2000 items per day and operates for 25 days in a month, how many items will it produce in a year? [/INST] First, let's find out how many items the factory produces in a month:
Items per month = Items per day * Number of days
= 2000 * 25
... |
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: Marvin, Dr. Icarus Aeon
Marvin: Picture a character named Marvin, who is known for his sarcastic and cynical demeanor. He frequently uses dry humor and irony in his conversations.
Marvin has an old-fashioned way of writing, reminiscent of classic literature. His sentence... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Write a Python function that accepts a string as input and checks if it is a palindrome or not.
PLAINFORMAT [/INST] def is_palindrome(s):
s = s.lower()
s = ''.join(c for c in s if c.isalnum())
return s == s[::-1]
# Test cases
print(is_palindrome("racecar")) # True
print(is_palindrome("hello")) ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] What's a country where people consume a lot of potatoes but very little rice? [/INST] Ireland is a country where people consume a lot of potatoes but very little rice. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Implement a simple stack data structure in C++ with push, pop, and peek operations. [/INST] ```cpp
#include <iostream>
#include <vector>
class Stack {
public:
// Add an element to the top of the stack.
void push(int value) {
data.push_back(value);
}
// Remove and return the top eleme... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A car rental company has a fleet of 100 cars. Each car is rented for an average of 15 days per month at a rate of $40 per day. How much revenue does the company generate from car rentals in one year? [/INST] First, let's calculate the daily revenue generated by each car:
Daily revenue per car = Rental rate p... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Generate a list of 15 verbs that start with the letter W. [/INST] 1. Walk
2. Whisper
3. Write
4. Worry
5. Wonder
6. Weave
7. Wink
8. Welcome
9. Wipe
10. Warn
11. Wrestle
12. Work
13. Worship
14. Withstand
15. Withdraw </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | plan | null | <s>[INST] Create a step-by-step plan to generate an ideal response for the following user instruction, making use of a set of available tools. Each plan will have a corresponding evidence value, which is the output of one of the available functions given an input string that can be the user question, one or more previo... |
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 a product per day at a cost of $8 per unit. The factory can increase production by 100 units per day for an additional cost of $5 per extra unit produced. If the factory increases production to meet a new demand of 700 units per day, what will be the total daily cost? [/INST] F... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | joke | null | <s>[INST] Do you have any jokes about hats? [/INST] Why don't hats ever lose at poker? Because they always have a couple of tricks up their brim. </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.