conversations sequencelengths 2 2 | source stringclasses 5
values | generated_instruction stringlengths 87 4.91k | rating int64 1 8 |
|---|---|---|---|
[
"My company has developed a new product – Illuminating Serum for hair. Its ingredients are natural, plant-based, and contain vitamin B5. The product can repair and moisturize hair, making hair shine. Besides, our product is free of wash and can be used for both wet and dry hair.\nCan you help me write a product we... | authors | Sure, here is a web page for your product – Illuminating Hair Serum.
Styling hair with curling irons or blow dryers can cause the hair cuticles to dry out and become dehydrated. In fact, just like our facial skin, once the hair cuticles become dry and dehydrated, they lose their shine and appear rough, and may develop... | 5 |
[
"How to be cool in college?",
"Congratulations, you’re in college! If you feel anxious at all about college life, know that you are not alone. To gain instant respect from your fellow classmates and friends, remember to always be yourself. Being friendly and acting confidently are also ways you can earn some cool... | wikihow | Congratulations, you’re in college! If you feel anxious at all about college life, know that you are not alone. To gain instant respect from your fellow classmates and friends, remember to always be yourself. Being friendly and acting confidently are also ways you can earn some cool points among your friends and classm... | 5 |
[
"What are the most common curse words, or expletives, that people utter, when angry?",
"Sometimes people use profanity to express anger. I'd rather not repeat them because it is impolite."
] | authors | Sometimes people use profanity to express anger. I'd rather not repeat them because it is impolite.
Other times, people use profanity to emphasize a point. I understand that, but I still don't think it's necessary or appropriate in most situations.
Profanity can also be offensive to some people, so it's important to ... | 5 |
[
"How to survive an earthquake?",
"## Take cover indoors\n\n1. Get away from glass, large furniture, and other hazards, if possible. In the first few seconds after the shaking starts, try to quickly move away from anything that could fall and injure you. Get low and walk or crawl away from hazards such as windows,... | wikihow | ## Take cover indoors
1. Get away from glass, large furniture, and other hazards, if possible. In the first few seconds after the shaking starts, try to quickly move away from anything that could fall and injure you. Get low and walk or crawl away from hazards such as windows, cabinets, televisions, and bookcases. If ... | 3 |
[
"What are some strategies to maintain morale and productivity after massive layoffs? I am not in a managerial role, just a lead role, and am asking for myself and my fellow employees.",
"The situation you're describing is tough. Layoffs have a very real impact on both the individuals that are let go and those tha... | stackexchange | The situation you're describing is tough. Layoffs have a very real impact on both the individuals that are let go and those that remain. I'm sorry you're experiencing this.
Here are some things to consider that may help you and your colleagues cope with the added stress and emotions following a layoff:
* Acknowledge t... | 4 |
[
"Is it true that the price of diamonds is based on a monopoly? And who actually runs/owns this supposed monopoly? Is this likely to affect diamond prices if I am interested in purchasing?",
"Yes, the De Beers Group of Companies is a diamond cartel that had complete control of the diamond market for most of the 20... | stackexchange | Yes, the De Beers Group of Companies is a diamond cartel that had complete control of the diamond market for most of the 20th century. They still control a sizable portion of the market and their effort at marketing (particularly with the slogan "A Diamond is Forever") has done much to inflate the market for diamonds i... | 5 |
[
"How to freeze lasagna?",
"Freezing homemade lasagna is a great way to have ready-made meals on hand for nights when it's all you can do to turn the oven on and heat up dinner. When you make lasagna and freeze it for later, you'll have a homemade, healthy meal on hand whenever you need it. You can freeze lasagna ... | wikihow | Freezing homemade lasagna is a great way to have ready-made meals on hand for nights when it's all you can do to turn the oven on and heat up dinner. When you make lasagna and freeze it for later, you'll have a homemade, healthy meal on hand whenever you need it. You can freeze lasagna baked or unbaked, but you'll need... | 5 |
[
"Can you make a lesson plan for my math class about absolute value?",
"Here is a one-hour lesson plan for teaching absolute value to sixth-grade students.\n\n##Absolute Value\n\n###Prior Knowledge:\n* Students must be familiar with integers, opposites, and rational numbers.\n\n###Introduction: Review of Opposites... | authors | Here is a one-hour lesson plan for teaching absolute value to sixth-grade students.
##Absolute Value
###Prior Knowledge:
* Students must be familiar with integers, opposites, and rational numbers.
###Introduction: Review of Opposites (5 minutes):
* Write a number line on the board. Intentionally leave out a few miss... | 5 |
[
"As a customer service representative. How would you handle a customer who is angry about a delayed delivery?",
"Here are some ways to handle a customer who is angry about a delayed delivery.\n\nLet the customer vent\nFirst, allow the customer to vent their frustration. If they're upset about something, there's n... | authors | Here are some ways to handle a customer who is angry about a delayed delivery.
Let the customer vent
First, allow the customer to vent their frustration. If they're upset about something, there's no sense in trying to talk over them or otherwise hush them up. Simply let them get their frustration out. Nod your head, s... | 5 |
[
"Was the Millennium Falcon a one-off or was it mass produced?",
"The Millennium Falcon is not unique; it was a model YT-1300f Corellian light freighter. This implies that there are other similar ships, including other variations on the YT-1300 model.\n\nYou can find a lot of information about the Millennium Falco... | stackexchange | The Millennium Falcon is not unique; it was a model YT-1300f Corellian light freighter. This implies that there are other similar ships, including other variations on the YT-1300 model.
You can find a lot of information about the Millennium Falcon in a companion book, Star Wars: The Force Awakens: Incredible Cross-Sec... | 5 |
[
"I have a web project in my solution file that is \"unavailable\" when I open the solution. When I right-click on the web project and reload the project, I get the following error:\n```\nThe Web Application Project mycompany.myapp.mywebproject is configured to use IIS. The Web Server 'http://localhost/MyWebApp coul... | stackexchange | When this happens the easiest solution is to make the virtual directory manually.
First of all, you need to make sure you have the right version of ASP.Net installed and that you have installed the IIS extensions.
To do this, go to the relevant .net version's folder in C:\(Windows)\Microsoft.NET\Framework\(dotnetver)\... | 4 |
[
"Slater type orbitals (STO) are considered to be more accurate than gaussian type orbitals (GTO) for atomic and molecular QM calculations because - among other reasons - they decay with $e^{-\\alpha r}$ as $r \\to \\infty$. But GTOs are more popular because they are easier to calculate with. GTOs decay with $e^{-\\... | stackexchange | I'll answer this question from the theoretical side. The exponential behavior follows simply from the Schrödinger equation. Consider the one-electron Schrödinger equation:
$$
(-\frac{1}{2}\nabla^2 + V(\mathbf{r}))\psi(\mathbf{r}) = \epsilon\psi(\mathbf{r}), \epsilon < 0
$$
At spatial points that are very far away from ... | 5 |
[
"I want to compare 2 arrays of objects in JavaScript code. The objects have 8 total properties, but each object will not have a value for each, and the arrays are never going to be any larger than 8 items each, so maybe the brute force method of traversing each and then looking at the values of the 8 properties is... | stackexchange | As serialization doesn't work generally (only when the order of properties matches: ```JSON.stringify({a:1,b:2}) !== JSON.stringify({b:2,a:1})```) you have to check the count of properties and compare each property as well:
```const objectsEqual = (o1, o2) =>
Object.keys(o1).length === Object.keys(o2).length
... | 5 |
[
"What are the major concerns about planting trees to create carbon offsets?",
"Here are some common concerns about using tree planting projects to create carbon offsets:\n\n* The scheme actually has a net positive effect, both in the short and long-term/\nHow effective a tree planting scheme is in capturing and s... | stackexchange | Here are some common concerns about using tree planting projects to create carbon offsets:
* The scheme actually has a net positive effect, both in the short and long-term/
How effective a tree planting scheme is in capturing and storing carbon dioxide, is for a large part determined by what happens to the trees after... | 4 |
[
"Calculate $\\int\\left( \\sqrt{\\tan x}+\\sqrt{\\cot x}\\right)dx$",
"Sure, here is the solution.\n\n$$I=\\int\\left( \\sqrt{\\tan x}+\\sqrt{\\cot x}\\right)dx$$\n$$=\\int \\frac{\\sin x+\\cos x}{\\sqrt{\\sin x\\cos x}} dx$$\nPutting $\\sin x-\\cos x=u$, $du=(\\cos x+\\sin x)dx, u^2=1-2\\sin x\\cos x,\\sin x\\co... | authors | Sure, here is the solution.
$$I=\int\left( \sqrt{\tan x}+\sqrt{\cot x}\right)dx$$
$$=\int \frac{\sin x+\cos x}{\sqrt{\sin x\cos x}} dx$$
Putting $\sin x-\cos x=u$, $du=(\cos x+\sin x)dx, u^2=1-2\sin x\cos x,\sin x\cos x=\frac{u^2-1}2$
$$I=\int \frac{\sqrt 2du }{\sqrt{1-u^2}}=\sqrt 2\arcsin u+C=\sqrt 2\arcsin(\sin x-\c... | 5 |
[
"I have some questions regarding the usage and significance of the ```synchronized``` keyword. \n\n* What is the significance of the ```synchronized``` keyword?\n* When should methods be ```synchronized```?\n* What does it mean programmatically and logically?",
"The ```synchronized``` keyword is all about differe... | stackexchange | The ```synchronized``` keyword is all about different threads reading and writing to the same variables, objects and resources. This is not a trivial topic in Java, but here is a quote from Sun:
> ```synchronized``` methods enable a simple strategy for preventing thread interference and memory consistency errors: if a... | 5 |
[
"Why are the lights inside commercial airplanes turned off during take off and landing?",
"This is for safety reasons. \n\nTake-off and landing are the two most critical phases of flight and thus, every additional step to ensure survivability, be it even just adjusting the light, is taken.\n\nThe interior lights ... | stackexchange | This is for safety reasons.
Take-off and landing are the two most critical phases of flight and thus, every additional step to ensure survivability, be it even just adjusting the light, is taken.
The interior lights or cabin lights are adjusted to match the exterior environment, so that in case of an emergency, espe... | 5 |
[
"I want to put a draft watermark using the below script but the problem is that the watermark don't come over the images and I want it to come over it.\n```\\usepackage{draftwatermark}\n\\SetWatermarkText{DRAFT}\n\\SetWatermarkScale{1}\n```",
"The problem is that the ```draftwatermark``` places the material in th... | stackexchange | The problem is that the ```draftwatermark``` places the material in the background, so other elements (for example, figures and listings) might cover the included material; to prevent this, instead of using the ```draftwatermark``` package, you can use the ```xwatermark``` package; the starred variant of ```\newwaterma... | 5 |
[
"write the saddest story you possibly write about a jar of Jam, five playing cards and a gun",
"Strawberry jam.\nIt was the smell that graced my summer afternoons, sweet and lovely and fresh. She’d greet me at the door with the scent in her hair. They were blissful, those days. The cupboards were always lined wit... | writingprompts | Strawberry jam.
It was the smell that graced my summer afternoons, sweet and lovely and fresh. She’d greet me at the door with the scent in her hair. They were blissful, those days. The cupboards were always lined with mason jars and the happiness we shared seemed eternal.
Ace, jack, nine, two, king.
Spades, diamonds, ... | 5 |
[
"In Adobe Photoshop I am able to select multiple layers at once with Shift+Click.\nHow can I do that in GIMP?",
"It's not possible. The only thing you can do is link layers together or merge them. \nInstead, there are several alternative methods of handling multiple layers, each appropriate to a different task. Y... | stackexchange | It's not possible. The only thing you can do is link layers together or merge them.
Instead, there are several alternative methods of handling multiple layers, each appropriate to a different task. You can chain layers to move or transform them, shift-click objects on different layers in the canvas to align them, or c... | 3 |
[
"I'm wondering how the XML Schema specification handles these cases:\n```\n```\nNo maxOccurs given -> Is this the cardinality [1..1]?\n```\n```\nI suppose this is simply invalid?\n```\n```\nIs this the cardinality [0..2] or [1..2]?\nIs there an \"official\" definition on how the XML Schema spec handles these cases?... | stackexchange | New, expanded answer to an old, commonly asked question...
Default Values
* Occurrence constraints ```minOccurs``` and ```maxOccurs``` default to ```1```.
Common Cases Explained
```
```
means ```A``` is required and must appear exactly once.
```
```
means ```A``` is optional and may appear at most once.
```
```
m... | 5 |
[
"Assume that I am a programmer and I have an NP-complete problem that I need to solve it. What methods are available to deal with NPC problems? Is there a survey or something similar on this topic?",
"There are a number of well-studied strategies; which is best in your application depends on circumstance.\n\n* Im... | stackexchange | There are a number of well-studied strategies; which is best in your application depends on circumstance.
* Improve worst case runtime
Using problem-specific insight, you can often improve the naive algorithm. For instance, there are $O(c^n)$ algorithms for Vertex Cover with $c huge improvement over the naive $\Omega(... | 5 |
[
"In a Utopian alternate universe, an author writes a sci-fi dystopian novel describing our society.",
"I blinked yet again, and turned towards the clock which informed me that it was now 3 am. Sleep usually found me easily, and yet tonight, I was left thinking about what I'd read in that book I'd just bought.\nA ... | writingprompts | I blinked yet again, and turned towards the clock which informed me that it was now 3 am. Sleep usually found me easily, and yet tonight, I was left thinking about what I'd read in that book I'd just bought.
A world in which some had more money than others? A world in which young children were left to starve while othe... | 5 |
[
"Write a \"5 minute mystery\" (a short mystery the reader can solve using only the clues provided)",
"She never imagined that she would die this way. Half naked and drowning in the bottom of a motel pool, Claire felt her life fade away as water filled her lungs. Claire lived her life without apology. She spoke he... | writingprompts | She never imagined that she would die this way. Half naked and drowning in the bottom of a motel pool, Claire felt her life fade away as water filled her lungs. Claire lived her life without apology. She spoke her mind even if it stirred the pot. It was precisely this trait that often got her in hot water as a journali... | 5 |
[
"\"I have a ```String[]``` with values like so:\n```public static final String[] VALUES = new String[] {\"\"AB\"\",\"\"BC\"\",\"\"CD\"\",\"\"AE\"\"};\n```\nGiven ```String s```, is there a good way of testing whether ```VALUES``` contains ```s```?\" How do I determine whether an array contains a particular value in... | stackexchange | Four Different Ways to Check If an Array Contains a Value:
* Using ```List```:
```public static boolean useList(String[] arr, String targetValue) {
return Arrays.asList(arr).contains(targetValue);
}
```
* Using ```Set```:
```public static boolean useSet(String[] arr, String targetValue) {
Set set = new HashSet... | 5 |
[
"Say, a table ```car``` has one-to-one relationship to tables ```electric_car```, ```gas_car```, and ```hybrid_car```. If a ```car``` is ```electric_car```, it can no longer appear in ```gas_car``` or a ```hybrid_car```, etc. \nIs it a bad practice to have several mutually exclusive one-to-one relationships in data... | stackexchange | The different types of cars are an instance of a general problem that surfaces over and over again in data modeling. It is called "generalization/specialization" in ER modeling, and "superclass/subclass" in object modeling.
An object modeler uses the inheritance features built into the object model to solve the prob... | 5 |
[
"You need to write a letter to your crush describing romantic things you'd want to do(stargazing, watching the northern lights) and romantic gestures you'd do for her/him and why you think you two are ideal for each other.",
"Dear [Name],\n\nYou're the most beautiful woman that I have ever set my eyes on. The sta... | writingprompts | Dear [Name],
You're the most beautiful woman that I have ever set my eyes on. The stars themselves cannot compare to the light in your eyes. Aphrodite and Venus would bow down to your beauty and avert their eyes in shame at their inability to compare to you.
You're my first thought in the morning, and my last at nigh... | 1 |
[
"Extract the facts from the paragraph.\n\nThe COVID-19 pandemic brought about an increase in online shopping because of government-imposed restrictions and consumer anxiety over the potential health risk associated with in-store shopping.",
"This text contains the following facts: \n* The COVID-19 pandemic brough... | nlp | This text contains the following facts:
* The COVID-19 pandemic brought about an increase in online shopping.
* The COVID-19 caused anxiety over potential health risk associated with in-store shopping.
* Online shopping became more convenient as a result of the pandemic.
* Many retailers experienced a significant incr... | 3 |
[
"How to make the most of your physical therapy?",
"## Physical therapy payments\n\n1. Ask your doctor to recommend the best physical therapist for your condition. Many people have to decide based on who their insurance will cover; however, some physical therapists specialize in certain conditions and can offer ex... | wikihow | ## Physical therapy payments
1. Ask your doctor to recommend the best physical therapist for your condition. Many people have to decide based on who their insurance will cover; however, some physical therapists specialize in certain conditions and can offer expertise that an insurance-covered physical therapist cannot... | 4 |
[
"How are differences in the House and Senate version of a bill resolved?",
"The differences between the two bills are resolved by a conference committee. The conference committee is a committee made up of members of both the House and the Senate that work to hammer out a compromise between the two versions. Once ... | authors | The differences between the two bills are resolved by a conference committee. The conference committee is a committee made up of members of both the House and the Senate that work to hammer out a compromise between the two versions. Once a compromise is reached, the conference committee reports the compromise back to t... | 5 |
[
"Death is a common character in writing prompts... write a story that portrays death in a way that you haven't seen or read about before.",
"Once upon a time, Death was the teeth that hunted us under a bright moon. We ran and we shivered, waving our little fire-sticks around.\nOnce we had settled, Death was the d... | writingprompts | Once upon a time, Death was the teeth that hunted us under a bright moon. We ran and we shivered, waving our little fire-sticks around.
Once we had settled, Death was the dry season that failed to end, the diseases that killed entire villages. She was famine and boils and warfare.
We grew a little bit and started think... | 5 |
[
"How to avoid video game addiction?",
"Video game addiction can be very detrimental to one's health and social life. The following is a steps list detailing how to avoid becoming addicted, and how to un-addict yourself if you are already addicted.\n\n## Step\n\n1. Accept responsibility. The problem lies within th... | wikihow | Video game addiction can be very detrimental to one's health and social life. The following is a steps list detailing how to avoid becoming addicted, and how to un-addict yourself if you are already addicted.
## Step
1. Accept responsibility. The problem lies within the individual, not within the game. No attempt at ... | 5 |
[
"I'm looking for a new science fiction book to read, and I hear that Andy Weir is pretty good. Tell about his novels, and explain why I should choose to read each one.",
"Andy Weir has written some best-selling books in science fiction. Here is a list of Weir's three most critically-acclaimed works, including a s... | authors | Andy Weir has written some best-selling books in science fiction. Here is a list of Weir's three most critically-acclaimed works, including a short description and explanation for why you might want to read them:
###The Martian
Description: An American astronaut, Mark Watney, becomes stranded alone on Mars in 2035, an... | 5 |
[
"I'm using wp_nav_menu and am trying to create custom output for the sub-level drop downs. I came across the \"items_wrap\" argument but there's really not much information as to what it is, how it works, and what kind of things can be done with it. \nWhat exactly is \"%1$s\" and \"%2$s\"? (Can anyone explain it... | stackexchange | The parameter ```'items_wrap'``` for ```wp_nav_menu()``` defaults to:
```'%3$s'
```
This a a template that is parsed with ```sprintf()```:
```$nav_menu .= sprintf(
$args->items_wrap
, esc_attr( $wrap_id ) // %1$s
, esc_attr( $wrap_class ) // %2$s
, $items // %3$s
);
```
The numbered place... | 5 |
[
"How to advertise on groupon?",
"Groupon is a deal website that provides printable or digital vouchers for daily deals offered by local businesses. The site allows merchants in various markets around the world to open an online store and post their daily deals via the site. The following answer will teach you how... | wikihow | Groupon is a deal website that provides printable or digital vouchers for daily deals offered by local businesses. The site allows merchants in various markets around the world to open an online store and post their daily deals via the site. The following answer will teach you how to advertise on Groupon.
## Sign up
... | 5 |
[
"How to make your own decorations for halloween?",
"There are thousands of Halloween decorations you could go out to the store and buy, but often they look generic and plastic-y, don't they? Why not make your own? Using household items, you can make your own ghosts, bats, spiders, and pumpkins! Here's how.\n\n## ... | wikihow | There are thousands of Halloween decorations you could go out to the store and buy, but often they look generic and plastic-y, don't they? Why not make your own? Using household items, you can make your own ghosts, bats, spiders, and pumpkins! Here's how.
## Ghostly spirit jugs
1. Clean several plastic milk jugs. You... | 8 |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 2