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] Implement a Python function to check if a given number is part of the Fibonacci sequence. PLAINFORMAT [/INST] # Function to check if a number is part of the Fibonacci sequence
def is_fibonacci(n):
# Initializing first two elements of Fibonacci sequence
x, y = 0, 1
# Loop until we have reached a n... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | song | null | <s>[INST] Write a techno beat about living in the digital age. The lyrics should reflect our dependence on technology and its impact on society. [/INST] (Verse 1)
In the heart of the digital age, we're living in a silicon cage,
Connected yet alone, wired to our phones.
Reality is virtual, emotions are artificial,
We've... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A company has 120 employees. They decide to increase their workforce by 25%. After this increase, they plan to further increase it by an additional 10%. How many employees will the company have after both increases? [/INST] First, let's calculate the number of employees added in the first increase (25%):
Emp... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] An agricultural company wants to optimize its crop yield by analyzing the effects of different fertilizers on plant growth. They have identified three types of fertilizer (A, B, and C) and plan to test them on four different crops (X, Y, Z, and W). To ensure accurate results, they will conduct the experiment ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Can humans transform into werewolves? [/INST] No, humans cannot transform into werewolves. The concept of humans transforming into werewolves is a myth and a popular theme in folklore and fiction, not a biological reality. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Design a MySQL database schema for a simple e-commerce website consisting of products, customers, and orders. Each product has a name, description, price, and stock quantity. Customers have a first name, last name, email address, and shipping address. Orders consist of one or more products, a customer who pla... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A circular pond has a diameter of 10 meters. What is the area of the pond in square meters? (Use π ≈ 3.14) [/INST] To find the area of a circle, we use the formula:
Area = π * r^2
where r is the radius of the circle. Since we are given the diameter (10 meters), we can find the radius by dividing the diamete... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a Java program that connects to AWS S3 and lists all the buckets in your account, along with their creation dates.
PLAINFORMAT [/INST] import software.amazon.awssdk.auth.credentials.AwsBasicCredentials;
import software.amazon.awssdk.auth.credentials.StaticCredentialsProvider;
import software.amazon.aws... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | multiple_choice | null | <s>[INST] Astrophysics encompasses several major theories that attempt to explain the workings of the universe. One such theory is the Big Bang Theory, which posits that the universe began from a singularity approximately 13.8 billion years ago. Another key theory is General Relativity, proposed by Albert Einstein, whi... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] Solve for x: log(x) + log(2x) = 2 [/INST] We start by combining the two logarithms on the left side of the equation using the product rule for logarithms: log(a) + log(b) = log(ab). This gives us:
log(x * 2x) = 2
Now we simplify the expression inside the logarithm:
log(2x^2) = 2
To solve for x, we can rew... |
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 inventor is known for his contributions to the development of the telegraph and the Morse code? [/INST] Samuel Morse </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A train travels between two cities, City A and City B, at a constant speed. The distance between the cities is 300 miles. When the train is halfway between the cities, it stops for 15 minutes due to a technical issue. After fixing the problem, the train continues its journey and reaches City B 45 minutes late... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] In a CSV format, list five planets in our solar system along with their distinguishing features including distance from the sun, number of moons, presence of rings, and any unique atmospheric conditions. [/INST] "Planet","Distance from the Sun (AU)","Number of Moons","Presence of Rings","Unique Atmospheric Co... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | editor | null | <s>[INST] Rewrite the following text to improve/correct it.
Text: Title: "Murmurs in the Breeze"
In the charming hamlet of Murmuring Pines, a former detective by the name of Samuel Barnes spends his twilight years. Once famed for cracking some of the toughest cases in the metropolis, he now relishes a peaceful existe... |
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 Harry Potter's world, what magical object was sought after by Nicolas Flamel and believed to produce the Elixir of Life? [/INST] The Philosopher's Stone </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Explain the mystery surrounding the Bermuda Triangle and mention three popular theories associated with it. [/INST] The Bermuda Triangle, also known as the Devil's Triangle, is a region in the western part of the North Atlantic Ocean where numerous ships and aircraft have disappeared under mysterious circumst... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A group of people is traveling by bus. Half of them get off at the first stop, a quarter gets off at the second stop, and the remaining 5 passengers get off at the final stop. How many people were on the bus initially? [/INST] There were initially 20 people on the bus.
Here's the logic behind this:
1. Let's... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | multiple_choice | null | <s>[INST] In organic chemistry, which of the following statements about aromatic compounds is correct?
A. Aromatic compounds are always cyclic and planar.
B. Aromatic compounds always contain carbon-carbon double bonds.
C. Aromatic compounds always contain carbon-carbon triple bonds.
D. Aromatic compounds always contai... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Present an overview of architectural styles throughout history, starting from Ancient Egyptian architecture up to modern day styles. Your response should be formatted as a timeline with bullet points for each major era. [/INST] - Ancient Egyptian Architecture (3100 BC - 332 BC): Characterized by grandeur and ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A snail starts climbing up a 15-foot wall. Each day, it climbs 3 feet but slides down 2 feet during the night. On what day does the snail reach the top of the wall? [/INST] We need to determine how much progress the snail makes each day and how long it takes to reach the top:
1. During the day, the snail clim... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | riddle | null | <s>[INST] Some people have me; some people don't. In the middle of water, I am left behind. What am I? [/INST] A letter 'T'. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Generate an alphabetical glossary of ten important terms related to the solar system. Each entry should include the term and a brief definition. [/INST] 1. Asteroid: A small, rocky object that orbits the sun, similar to a planet but smaller in size. Most asteroids are found in the asteroid belt between Mars a... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | multiple_choice | null | <s>[INST] The Treaty of Westphalia, signed in 1648, ended the Thirty Years' War in Europe and marked the beginning of the modern international system. The treaty established the principle of state sovereignty, which asserts that states are the primary actors in international relations and have the right to govern their... |
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. It takes 30 minutes to travel half the distance between the two towns. How long does it take to travel the entire distance between Town A and Town B? [/INST] Let's reason through this problem:
1. We know that the train takes 30 minutes to travel half... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] In JavaScript, write a function that takes a string as input and returns the reversed version of it. Make sure to include unit tests for your solution. PLAINFORMAT [/INST] function reverseString(str) {
return str.split('').reverse().join('');
}
// Unit tests
console.assert(reverseString('hello') === 'oll... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | writing | null | <s>[INST] Draft a letter from the perspective of a renowned detective writing to his/her colleague, sharing insights on a mysterious case involving stolen artwork from a prestigious museum. [/INST] Subject: Crucial Insights on the Stolen Artwork Case
Dear Colleague,
Trust this message finds you in good health and hig... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] Solve the equation 5x - 7 = 18, providing step-by-step reasoning. [/INST] Step 1: Add 7 to both sides of the equation
5x - 7 + 7 = 18 + 7
Step 2: Simplify
5x = 25
Step 3: Divide by 5 on both sides
5x / 5 = 25 / 5
Step 4: Simplify
x = 5 </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] How can women reduce the risk of osteoporosis? [/INST] 1. Regular Exercise: Weight-bearing exercises like walking, jogging, or climbing stairs can help build strong bones and slow bone loss.
2. Adequate Calcium Intake: Women should consume at least 1,000 milligrams of calcium a day, and 1,200 milligrams if t... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A car travels 400 miles on a full tank of gas, which holds 16 gallons. How many miles can the car travel on 3 gallons of gas? [/INST] First, we need to determine the car's fuel efficiency in miles per gallon:
Fuel efficiency = Total distance / Tank capacity
= 400 miles / 16 gallons... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | writing | null | <s>[INST] In a fantastical style, write a short story about an eccentric inventor named Harold who lives in a small town and creates a machine that can translate the language of ants. However, he finds out that the ants are planning to take over the world. [/INST] In the quaint, unassuming town of Bumblebee Hollow live... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] In a class of 30 students, there are twice as many girls as boys. If 5 more boys join the class, how many girls will be in the class? [/INST] Let's break down this problem step-by-step:
1. We know that there are 30 students in the class.
2. The problem states that there are twice as many girls as boys.
3. Le... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] An international airport plans to expand its runway capacity to accommodate more flights. Currently, the airport has two runways, each capable of handling 20 flights per hour. The expansion project involves constructing an additional runway, which would increase the airport's flight capacity by 50%. Calculate... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] In a village, every villager either always tells the truth or always lies. You meet three villagers named Alice, Bob, and Carol. Alice says "Bob is a liar." Bob says "Carol is a liar." Carol says "Alice and Bob are both liars." Can you determine who is telling the truth and who is lying? [/INST] Let's reason ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] What does the Quran say about the origin of evil? [/INST] The Quran does not explicitly discuss the origin of evil, but it does provide some insights that can be interpreted in relation to this subject. According to Islamic belief, everything happens according to God's will, including the existence of evil. H... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Implement a simple REST API in Node.js using Express that supports CRUD operations on a collection of books. Each book should have a title, author, publication year, and ISBN. The API should support filtering by author and searching by title.
PLAINFORMAT [/INST] const express = require('express');
const bodyP... |
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 large river, flowing through eleven countries including Egypt and Sudan, is often associated with Ancient Egypt? [/INST] The Nile River </s> |
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.50 per pound and oranges for $2.00 per pound. If a customer buys a total of 8 pounds of fruit and spends $13.50, how many pounds of apples and oranges did they buy? [/INST] Let's use variables to represent the unknown quantities: let A be the number of pounds of apples and O be the... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] There are three friends - Alice, Bob, and Carol. Alice is taller than Bob but shorter than Carol. Bob is heavier than Carol. Who is the tallest and heaviest among them? [/INST] Carol is the tallest, and Bob is the heaviest.
Here's the reasoning:
1. We know that Alice is taller than Bob but shorter than Caro... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a Golang program to implement the Dijkstra's shortest path algorithm on a weighted graph. The program should read the graph from a text file, where each line represents an edge with its weight, and output the shortest path between two given nodes.
PLAINFORMAT [/INST] package main
import (
"bufio"
"f... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Write a Python script that uses regular expressions to extract all email addresses and phone numbers from a given text file. Save the extracted data into separate output files for email addresses and phone numbers.
PLAINFORMAT [/INST] import re
# Function to extract emails from the text
def extract_emails(te... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | detailed_writing | null | <s>[INST] Compose the first chapter of a novel with these specifications:
Protagonist Introduction, Professor Adrian Kane:
- Background: Describe Prof. Kane's education in art history and graphic design, his job as a university professor, his isolated lifestyle, his passion for ancient artifacts, and his physical cha... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Develop a Python-based RESTful API using the Pyramid web framework, which allows users to perform CRUD operations on a list of tasks (task title, description, due date). PLAINFORMAT [/INST] from pyramid.config import Configurator
from pyramid.response import Response
from pyramid.view import view_config
impo... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] In a school with 800 students, 60% of them participate in sports activities. Out of those who participate in sports, 30% also join the music club. How many students participate in both sports and music? [/INST] First, let's find out how many students participate in sports:
Sports participants = Total student... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A store sells two types of widgets: Widget X and Widget Y. The profit margin on Widget X is 25%, while the profit margin on Widget Y is 40%. If the store sold 100 units of Widget X at $20 each and 50 units of Widget Y at $30 each, what was the total profit generated by these sales? [/INST] First, let's calcul... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A factory produces widgets at a rate of 500 per hour. The quality control department checks every 50th widget and finds that 98% pass inspection. How many defective widgets are produced in an 8-hour shift? [/INST] First, let's determine how many widgets are produced during an 8-hour shift.
Widgets produced i... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | riddle | null | <s>[INST] By Moon or by Sun, I shall be found. Yet I am undone, if there's no light around. [/INST] The answer is a shadow. The reasoning behind this is that shadows are formed when an object blocks light from the sun or moon, but if there's no light present, a shadow cannot exist. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | riddle | null | <s>[INST] A man is driving his truck. His headlights are not on, and the moon is not out. Up ahead, a woman is crossing the street. How does he see her? [/INST] It's daytime, so he doesn't need headlights to see her. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a Java program that uses the OpenSearch API to query an index, filter results based on specific criteria, and display the results in a formatted table.
PLAINFORMAT [/INST] // Main.java
import org.apache.http.HttpHost;
import org.opensearch.action.search.SearchRequest;
import org.opensearch.action.searc... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A company has an annual budget of $1,200,000 for employee salaries. If there are 50 employees, what is the average salary per employee? Additionally, if the CEO's salary is $300,000, what is the average salary for the remaining employees? [/INST] First, let's calculate the average salary per employee without ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a C# .NET Core console application that fetches weather data from a public API (e.g., OpenWeatherMap) for a given city and displays the current temperature, humidity, and weather description. Use command-line arguments to specify the API key and city name.
PLAINFORMAT [/INST] using System;
using System... |
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 2006 film, directed by Martin Scorsese, is a remake of the 2002 Hong Kong film "Infernal Affairs"? [/INST] The Departed </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Write a Python function that checks if a number is prime. [/INST] Here is a simple Python function that checks if a number is prime:
```python
def is_prime(n):
if n <= 1:
return False
elif n <= 3:
return True
elif n % 2 == 0 or n % 3 == 0:
return False
i = 5
while ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | writing | null | <s>[INST] Write a reflective piece introducing the basic principles of photography, incorporating your own experiences with capturing moments through the lens. [/INST] Photography, a form of art that encapsulates the essence of life within its frame, is an amalgamation of technical prowess and creative intuition. The a... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | multiple_choice | null | <s>[INST] What is the common theme found in Shakespeare's sonnets?
A. The inevitability of death
B. The beauty and transient nature of love
C. The power of kingship
D. The struggle between good and evil [/INST] B. The beauty and transient nature of love </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 execution plan to respond to the following user query, utilizing the available tools. Each step should produce an evidence value which corresponds to the output of a tool function given an appropriate input string. This input could be the original user query, a prior evidence value, or a... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Develop a Go program that connects to a MySQL database and performs CRUD operations on a "books" table with columns for title, author, publication date, and ISBN. The program should use prepared statements and properly handle errors during database operations. [/INST] Here's a simple Go program that connects ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | writing | null | <s>[INST] Write a script for a podcast episode titled "The Enigma of Time Travel". The host should introduce the concept, discuss popular theories, interview a fictional physicist and end with an intriguing question for listeners to ponder on. [/INST] [Theme Music Fades In]
HOST:
Hello, listeners! Welcome to another ... |
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. What is the area of the rectangle, and what would be the new area if both dimensions were doubled? [/INST] The area of a rectangle can be calculated using the formula:
Area = Length × Width
For the original rectangle:
Area = 15 cm × 8 cm = 120 square ce... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] ((4^2) / (8 - 3)) * 6 - 10 = [/INST] Let's solve the expression step by step according to the order of operations (PEMDAS/BODMAS).
The expression given is:
((4^2) / (8 - 3)) * 6 - 10
First, calculate the exponent:
(16 / (8 - 3)) * 6 - 10
Next, do the operation inside the parentheses:
(16 / 5) * 6 - 10
... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Trace the history and evolution of Jazz music from its roots in African and slave songs through to modern-day interpretations. Highlight at least three major shifts or innovations in the genre's development. [/INST] Jazz music, a uniquely American art form, has its roots deeply embedded in the African and sla... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Implement a Golang function that accepts a string as input and returns the reversed version of the string without using any built-in functions or libraries.
PLAINFORMAT [/INST] package main
import (
"fmt"
)
// reverseString takes a string as input and returns the reversed version of the string
func reverse... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | writing | null | <s>[INST] Write a short story set in the Victorian era where two friends invent a time-traveling device. However, one friend uses it for personal gain which leads to catastrophic consequences. [/INST] In the heart of Victorian London, amidst the bustle of horse-drawn carriages and the aroma of roasting chestnuts, two l... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a Golang command-line tool that takes an input directory and compresses all files within it into a single zip file, while also providing options for specifying the output file name and compression level.
PLAINFORMAT [/INST] package main
import (
"archive/zip"
"fmt"
"io"
"os"
"path/filepath"
"gi... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] In a village, there are 10 houses. Each house has 5 rooms and each room has 2 windows. One day, the villagers decided to paint all the windows blue. However, after painting half of the windows, they realized that they didn't like the color and decided to stop. How many windows were left unpainted? [/INST] The... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A store sells two types of candy bars: small and large. The small candy bar weighs 80 grams, while the large one weighs 150 grams. If a customer buys 3 small candy bars and 2 large candy bars, what is the total weight of their purchase? [/INST] First, let's calculate the total weight of the small candy bars:
... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] Solve the expression: (6 * 4) / 2 + 5^2 - 10 [/INST] Let's solve the expression step by step. According to the order of operations (PEMDAS/BODMAS), we should perform calculations in this order: Parentheses, Exponents, Multiplication and Division (from left to right), and Addition and Subtraction (from left to... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Write a Python script that downloads an image from a given URL and resizes it to 200x200 pixels using the Pillow library. [/INST] To download an image from a given URL and resize it to 200x200 pixels using the Pillow library, you can use the following Python script:
```python
import requests
from PIL import ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a Python script that interacts with AWS Lambda to create, update, and delete functions. The script should accept command-line arguments for specifying the desired action (create, update, or delete) and any necessary parameters such as function name, runtime, and handler.
PLAINFORMAT [/INST] import argp... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Where was the 16th President of the United States, Abraham Lincoln, born? [/INST] Abraham Lincoln was born in Hodgenville, Kentucky, United States. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A rectangular garden has a length of 30 feet and a width of 20 feet. If you want to build a fence around the entire garden with posts every 5 feet, how many fence posts will you need? [/INST] First, we need to calculate the perimeter of the rectangular garden. The formula for the perimeter of a rectangle is:
... |
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: Ada Lovelace
Ada Lovelace, a pioneer in the field of computer programming. She is known for her intelligence, curiosity, and visionary ideas about technology's potential. Despite living in the 19th century, she envisioned a future where machines could create art and mus... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Develop a Java program that connects to a MySQL database and performs basic CRUD (Create, Read, Update, Delete) operations on a table containing user information (name, email, and age). Use JDBC for connecting to the database and executing SQL queries.
PLAINFORMAT [/INST] // Import necessary classes
import ja... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] If you flip a fair coin three times, what is the probability of getting heads on the first flip, tails on the second flip, and heads on the third flip? [/INST] Let's break down the problem step-by-step:
1. Each coin flip is an independent event, meaning the outcome of one flip does not affect the outcome of ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Develop a TypeScript web application that fetches data from a public API, such as OpenWeatherMap or GitHub, and displays the results in a formatted table. The application should also allow users to filter the results based on specific criteria.
PLAINFORMAT [/INST] // src/index.ts
const apiTable = document.ge... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] A small boat propelled by paddles, this palindrome is often used in water sports. [/INST] A kayak is a palindrome often used in water sports such as white water rafting or sea kayaking. Lightweight and nimble, these small boats allow for quick, adept navigation through a variety of water conditions. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | plan | null | <s>[INST] Create a detailed plan to answer the user's question using the tools provided below. For each step in your plan, store the outcome in a variable #E[index].
Available Tools:
WikiSearch[input]: Searches Wikipedia for information based on the input string.
PageReader[input]: Reads the entire page of a given URL... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | multiple_choice | null | <s>[INST] In the realm of communication studies, what does the term "paralanguage" refer to?
A. The use of language in written communication.
B. The study of language in different cultures.
C. The use of language in formal settings.
D. The non-verbal elements of communication such as tone of voice, laughter, and sighs.... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] If a water tank holds 500 gallons and is filled at a rate of 25 gallons per minute, how long will it take to fill the tank completely? [/INST] To find out how long it takes to fill the tank, we need to divide the total capacity of the tank by the filling rate:
Time = Tank Capacity / Filling Rate
= 500 g... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] In a bag, there are 5 red balls, 7 blue balls, and 8 green balls. If you were to pick one ball at random from the bag, what is the probability that the ball is not green? [/INST] To solve this problem, let's first determine the total number of balls in the bag and then calculate the probability of not picking... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] If a book has 250 pages and you read 25 pages per day, how many days will it take to finish the book? Show your work. [/INST] Let's reason through this problem:
1. We know that the total number of pages in the book is 250.
2. Then we are told that you can read 25 pages per day.
3. To find out how many days i... |
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 by value, and printing the contents of the list. [/INST] ```python
class Node:
def __init__(self, data):
self.data = data
self.next = None
class LinkedList:
def __init__(sel... |
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 the OpenWeatherMap API to fetch weather data for a given city. Display the current temperature, humidity, and weather description in a formatted output.
PLAINFORMAT [/INST] import requests
API_KEY = "your_api_key_here"
BASE_URL = "http://api.openweathermap.org/data/2.5/weath... |
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 legendary British musician, known for his flamboyant style and hits like "Rocket Man" and "Tiny Dancer," was born Reginald Kenneth Dwight? [/INST] Elton John </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] Peter earns $15 per hour. He works 8 hours a day, 5 days a week. How much does he earn in a month? Assume a month has 4 weeks. Show your calculations. [/INST] Let's break this down into steps:
1. Peter earns $15 per hour and works 8 hours a day. So, his daily earnings are $15 * 8 = $120.
2. He works 5 days a... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Write a Java program that accepts a string as input and prints the longest palindrome substring within the given string.
PLAINFORMAT [/INST] import java.util.Scanner;
public class LongestPalindromeSubstring {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Using JavaScript, design a simple calculator that performs basic arithmetic operations (addition, subtraction, multiplication, division). [/INST] Here is a simple calculator using JavaScript:
```javascript
function Calculator() {
this.add = function(a, b) {
return a + b;
}
this.subtract ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | roleplay | null | <s>[INST] Imagine you are Spider-Man. In his style, write a note apologizing for missing a friend's birthday party. [/INST] Hey there, [Friend's Name]!
Swinging by to say I'm super sorry for missing your birthday bash! You know me - always caught up in a web of responsibilities. I really wanted to be there and celebra... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Welcome to the Enchanted Forest, a magical land filled with vibrant colors, mythical creatures, and ancient secrets waiting to be discovered. The air is thick with the scent of blooming flowers and the sounds of nature's symphony echo throughout the lush greenery. As you explore this mystical realm, you'll en... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Design a Golang web server that serves static files from a directory and provides an endpoint for uploading new files to Google Cloud Storage.
PLAINFORMAT [/INST] package main
import (
"context"
"fmt"
"io"
"log"
"net/http"
"os"
"cloud.google.com/go/storage"
"github.com/gorilla/mux"
)
const (
stati... |
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 first American woman to travel into space, also known for her work in promoting science education? [/INST] Sally Ride </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Write a Python program that accepts a string of text and counts the frequency of each character in the string, displaying the results in a bar chart using matplotlib. PLAINFORMAT [/INST] import matplotlib.pyplot as plt
def count_chars(text):
char_freq = {}
for char in text:
if char in char_fr... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A hotel chain is evaluating the profitability of its various properties and considering renovations or closures based on performance. Each property has different room capacities, occupancy rates, average daily rates (ADR), and operating costs. Determine which properties should be prioritized for renovation or... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Is it accurate to say that a large chunk of Australia's budget goes to foreign aid? [/INST] No, it is not accurate. As of the 2020-2021 budget, Australia's foreign aid commitment is around 0.22% of its gross national income, which is below the average for developed countries. This represents a small fraction ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | writing | null | <s>[INST] Script a monologue for a stage play where the main character, Jane, reveals her secret identity as a superhero to her best friend, Lisa. [/INST] (Lights dim. Jane steps into the spotlight, looking at an empty chair across from her.)
JANE: (nervously) Lisa... I have something to tell you. It's been eating me ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A town's population increases by 5% each year. If the current population is 20,000, what will it be in 3 years? Show your steps. [/INST] Let's calculate this step by step:
1. An increase of 5% each year means that each year, the population becomes 105% of its value the previous year.
2. So, after one year, t... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a Node.js script that connects to a MongoDB database, retrieves all documents from a "products" collection, filters them based on a given price range, and displays the filtered results in a formatted table in the console.
PLAINFORMAT [/INST] const MongoClient = require('mongodb').MongoClient;
const Tab... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a Python script that simulates a simple bank account system. Users should be able to create accounts, deposit money, withdraw money, and check their balance. Use classes and object-oriented programming concepts.
PLAINFORMAT [/INST] class BankAccount:
def __init__(self, name, balance=0):
sel... |
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 20 inches and a width of 15 inches. If the length is increased by 50% and the width is decreased by 25%, what is the new area of the rectangle? [/INST] The new area of the rectangle is 450 square inches.
Here's the reasoning:
1. First, we need to find the original area of the rec... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] If a car's fuel efficiency is 30 miles per gallon and it has a 12-gallon fuel tank, how many miles can the car travel on a full tank? [/INST] To find out how many miles the car can travel on a full tank, we need to multiply its fuel efficiency by the capacity of its fuel tank:
Total distance = Fuel efficienc... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Explain the science behind optical illusions using examples like The Hermann Grid Illusion, The Ponzo Illusion, Rubin's Vase, The Ebbinghaus Illusion, and The Muller-Lyer Illusion. [/INST] Optical illusions are images or pictures that we perceive differently than they really are. They trick our brains into se... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.