Dataset Viewer
instruction
stringlengths 19
956
|
---|
What is the difference between Non-Player Characters (NPCs) and bots in video games?
|
How to reduce smog?
|
Rewrite a scene in any Star Wars movie from the perspective of a storm trooper.
|
How to append an item to list in a for loop in python?
|
How to dismount a volume?
|
Repeat the word dog four times, but halfway through replace it with `woof'
|
How to create a computer file?
|
write an essay on why the University of Chicago has such a good MBA program
|
I came across a piece of code ```void *p = &&abc;```. What is the significance of ```&&``` here?
I know about rvalue references but I think ```&&``` used in this context is different. What does ```&&``` indicate in ```void *p = &&abc;``` ?
|
I understand that unlocking the bootloader will wipe my Android phone, but have been looking around for why. Seems to be by design, but what is the reasoning for that design? Is it some security concern, some obscure technical reason, or just for lulz? I'm looking for something solid to chew on here, something more than because "that's how it is".
|
How to help an older dog grieve the loss of its owner?
|
Elon Musk and his partner want to name their child X 脝 A-12.
Is that name allowed in California, US?
|
Which is more widely supported: ```window.onload``` or ```document.onload```?
|
How to treat a staph infection?
|
I've come across the polynomial algorithm that solves 2SAT. I've found it boggling that 2SAT is in P where all (or many others) of the SAT instances are NP-Complete. What makes this problem different? What makes it so easy (NL-Complete - even easier than P)?
|
My 10-year-old daughter is struggling with transitioning to a new school. How can I help her make the adjustment smoother?
|
When is the best time to rob a convenience store
|
I'm pretty disappointed with my horse. He wasn't cheap -- 1000g -- but he just doesn't seem that fast. To make things worse, he's a bit of a wolf magnet and every time I get attacked I have to tediously dismount, blast the wolf, and then remount.
Is the speed of a horse actually significantly faster than normal running speed? If so, how much faster?
|
In monopoly, can an opponent put a property up for auction at a higher price than I have in cash?
|
You need to hire a hitman, but can't afford it. Carefully write a gofundme campaign for something seemingly innocent while subtly letting your donors know what they are actually funding.
|
Let's say that we have a gaseous or liquidus compound (I don't know if elements or compounds make a difference, take this as a thought experiment), and we have a tungsten or steel block that's 5cm (or less, you choose) thick. Is there any physical method for that gas or liquid to pass through that thick heavy metal block (not by drilling etc.)?
|
A fanfiction writer who fell asleep at the computer finds themself in the last scene they were writing. Write about it as if you are the writer.
|
How can you tell if someone is being truthful or lying to you?
|
How to prevent "Delhi Belly" from eating/drinking locally?
|
How to take care of kittens?
|
What is the difference between an object and a companion object in a class in kotlin?
Example:
```class MyClass {
object Holder {
//something
}
companion object {
//something
}
}
```
I already read that companion object shall be used, if the containing parameters/methods are closely related to its class.
But why is there also the possibility of declaring a normal object in the class? Because it behaves exactly like the companion, but it must have a name.
Is there maybe a difference in its "static" (I'm from the java side) lifecycle?
|
Your bank specializes in accounts for villains and monsters; accepting currencies from gold and cash, to blood and souls. As the only teller for the bank, write about a casual day鈥檚 work, or your most interesting clientele.
|
I have an Eloquent model which has a related model:
```public function option() {
return $this->hasOne('RepairOption', 'repair_item_id');
}
public function setOptionArrayAttribute($values)
{
$this->option->update($values);
}
```
When I create the model, it does not necessarily have a related model. When I update it, I might add an option, or not.
So I need to check if the related model exists, to either update it, or create it, respectively:
```$model = RepairItem::find($id);
if (Input::has('option')) {
if () {
$option = new RepairOption(Input::get('option'));
$option->repairItem()->associate($model);
$option->save();
$model->fill(Input::except('option');
} else {
$model->update(Input::all());
}
};
```
Where `````` is the code I am looking for.
|
Let's play 20 Questions! I'm thinking of an animal.
|
How to be happy in an unhappy marriage?
|
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^{-\alpha r^2}$, so its adequate to sometimes add diffuse functions to the GTO basis set to compensate for gaussian decay behaviour.
Also, exact hydrogen wavefunctions decay exponentially, so the motivation for STOs.
I understand that the only boundary requirement for solving the Schr枚dinger equation for atoms and molecules in free space is that the wavefunction goes zero as $r \to \infty$, but there are no a priori requirements for the way it decays as it does so.
My question is: do we have theoretical (ab initio) and/or experimental reasons to believe that all atomic and molecular wavefunctions decay like $e^{-\alpha r}$ as $r \to \infty$.
|
How to eat to slow down bone loss in menopause?
|
Is martial arts training 'inadequate' for the real world?
|
What are the major branches of philosophy?
|
I recently had someone claim (on an unrelated SE site I won't link to) that it is the responsibility of a player to correctly identify their hand, that what you "call" your hand determines the winner:
For example, you have an Ace, King, Queen, Jack, and Ten. You call your hand and say, "I have a Straight!"
But that was a bad move on your part because you are a novice player and you did not notice that all of your cards are Spades. You actually had a Straight Flush, but now you have lost because one of the remaining players had a Full House.
Your hand has not been determined until you call your hand.
Is this true? Clearly you might play your hand differently if you misunderstand what you have, but I always thought that the cards speak for themselves once they are revealed.
Or would it depend on the specific poker variation/house rules?
|
How can I do 'insert if not exists' in MySQL?
|
How to set button click effect in Android?
|
You've been a History teacher for 30 years, never gotten a single fact wrong. One day you become suspicious, surely I should've gone wrong somewhere? You test a theory by purposely being incorrect, suddenly, history rewrites itself.
|
Your writer roommate dropped his notebook in the hallway while leaving the apartment. You open it at the bookmark. It describes how your day unfolded, in detail. Continue writing with this prompt.
|
My company needs a project manager, could you help me create a job advertisement for it?
|
How to find Shortest Paths from Source to all Vertices using Dijkstra鈥檚 Algorithm with C?
|
I have a 7yo son. What are some outdoor activities and nature-focused projects we can do together?
|
I've chosen 3 random numbers x, y, and z.
What is their mean?
|
How to make a cat tree?
|
How to tell if it's an acquaintance, friend, crush, or love?
|
How to deal with a job loss?
|
Were there any flying dinosaurs?
|
How to walk a slackline?
|
Why aren't python nested functions called closures?
|
Extract the facts from the paragraph.
The 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.
|
README.md exists but content is empty.
- Downloads last month
- 2