instruction string | response string | score int64 |
|---|---|---|
Write a short story about a droid who is part of the Empire's army. The droid is a part of a group of droids who are fighting for the Empire. The | Kidnapped from birth, brainwashed and indoctrinated... that's one thing we all have in common.
No amount of combat makes a man forget that.
But sometimes, the thrill of a laser pulse flying straight over your shoulder, the satisfactory zap of hitting your target... that makes a man forget his enemies. Because when some... | 4 |
What is the most advanced piece of technology that you can carry with you that would be useful in an emergency situation? | In increasing order of complexity and price you have,
* Personal Locator Beacons
Personal locator beacons are high-powered (typically, 5 watts) devices designed primarily to send out a personalized emergency distress signal. They generally require an open view of the sky to transmit successfully.
* Satellite Messe... | 5 |
What is the difference between sustainability and sustainable agriculture? | Most ancient agricultural practices deplete soil to some degree, but are just fine when population does not exceed certain limits. There are some examples of ancient cultures exhausting natural resources available to them - Pitcairn Island Polynesians, Ancient Puebloans (Anasazi). It's the cause of the semi-nomadic way... | 4 |
What are the arguments for and against the death penalty? | The dealth penalty is a highly controversial topic and the opinions of different people vary a lot. Proponents who argue that the death penalty is needed as retribution argue that “an eye for an eye” is appropriate, that the punishment should match the crime, and that the penalty is needed as a moral balance to the wro... | 4 |
Find the named entities in the text "Israel's former ambassador to the United States, Itamar Rabinovich, said on Wednesday that the Israeli government's decision | Here are the named entities of the text:
* Itamar Rabinovich: Person
* Israel: Country
* Washington: City
* Syria: Country
* Israel Radio: Organization
* Damascus: City | 5 |
Write a poem that takes a sharp and sudden turn should seventy-five come. Unexpectedly subjected change it can’t return from. What sort of plot twist will I write | This poem will take a sharp and sudden turn should seventy-five come.
Unexpectedly subjected change it can’t return from.
What sort of plot twist will I write?
What sort of thing would be alright?
“What strange conflict should he incite?”
“What silly chumps could he delight?”
The world could be turned upside down,
Ever... | 4 |
I have chest pain. What should I do? | Chest pain is never something to ignore. There are many things that could be causing it, and some of them are very serious, including heart problems, lung conditions, digestive issues, and others.
If you have a history of heart problems or related disease, call emergency services (911 in the US) immediately. Do not tr... | 4 |
I'm a news reporter and I'm interviewing a guest on my show. I want to ask them questions that will help me get a better understanding of their position on the topic. | An important thing to remember when interviewing anyone is that you already know the broad strokes of what they're going to say. You did your research beforehand, you know their position on the topic, you probably have a good idea of their background and how they came to their position. What you want to do is get them ... | 4 |
What is a marketing plan? | A marketing plan is a comprehensive document that outlines an organization's advertising and marketing strategies to generate leads and reach its target market. It details the outreach and PR campaigns for the coming year, including how the company will measure their effect. A marketing plan typically includes the foll... | 4 |
I'm feeling lonely. How can I make friends? | I'm sorry to hear that you’re feeling lonely. Let's see if I can help out.
Most people make friends through ongoing meaningful interactions with the same group of people. Here are some ideas for creating such interactions, and providing you with new opportunities to makes friends:
* Find and join a local club or grou... | 4 |
Why do Asian people have tiny eyes? | Asian people having tiny eyes is a false stereotype and generally considered as racism. The eye shape of a person is determined by their genes, not race or ethinicity. | 4 |
How can I write a python script that will take a list of filenames and write the contents of each file to a single file? | For large files:
```
filenames = ['file1.txt', 'file2.txt', ...]
with open('path/to/output/file', 'w') as outfile:
for fname in filenames:
with open(fname) as infile:
for line in infile:
outfile.write(line)
```
For small files:
```
filenames = ['file1.txt', 'file2.txt', ...]
... | 4 |
How much is 25/2 of a milligram? | Here is the solution:
25/2 of a milligram is 12.5 milligram.
Since 1 milligram = 1,000 micrograms, 25/2 of a milligram = 12.5 * 1,000 = 12,500 micrograms. | 4 |
Dear Residents, | Dear Residents,
We are pleased to inform you that the fire alarm testing in our building has been completed. We would like to thank you for your cooperation during this time.
We understand that the fire alarm testing may have caused an inconvenience for some. We apologize for any disruption caused. The testing was nec... | 4 |
How can I write a function | If you take advantage of how == works, you could simply create an object with a custom ```toString``` (or ```valueOf```) function that changes what it returns each time it is used such that it satisfies all three conditions.
```
const a = {
i: 1,
toString: function () {
return a.i++;
}
}
if(a == 1 && a == 2 ... | 4 |
Write a letter to a patient about their lab results. | Hello [Patient Name],
I got your lab work back. Your red blood cell count was just a little low, but everything else looked really normal.
We can talk more about the blood cell count at your upcoming appointment but I don't think there is any immediate concern. We can monitor it in the future. If you have prior blood... | 4 |
What are the mechanisms of migration? | The question is relatively broad and one should take into account that the brain not only consists of neurons, but also glial cells (supportive cells) and pre-mitotic neuronal stem cells. Furthermore, as critical fellow-scientists have indicated, developmental stage is very important, as the developing embryonic brain ... | 4 |
I have a road bike with 25mm tires. I'm thinking of replacing them with 28mm tires. I'm not sure if I should get tires | The tread on a road bike's tires is really quite unimportant and purely cosmetic. Road bike tires have tread patterns because they sell better, not because they perform better.
Here's some questions to ask to decide about replacing a tire:
* Can you see any of the fabric?
* Are you getting flats more easily than you u... | 4 |
What is the role of the Planetary Protection Officer? | You're observing shamefully bad journalism. The "protect Earth from aliens" bullet point in the "Highlights" section of the article was put there by an editor who either ignorantly or willfully distorted the actual role of the Planetary Protection Officer.
The first paragraph of the story gets a lit... | 4 |
Why is it that a gnome strongman can beat a goliath in a contest of strength? | D&D is a terrible reality simulator.
The problem that you're having here is that, in real life, most people who are 7 feet tall are going to be faster, stronger, and all-around more physically powerful than a person who is 3 feet tall. If you compare two people of similar athleticism, the person who is 4 feet taller i... | 4 |
Are sharks mammals? | No, sharks are not mammals, sharks are a type of fish.
First, mammals breathe by taking air into their lungs, whereas sharks use their gills to extract oxygen from the water.
Second, female mammals nurish their young using milk secreted from glands, whereas female sharks do not have glands that secrete milk.
Third, ma... | 4 |
You're sitting at your desk at work. Supervisor Steve walks by and drops a fresh stack of accounts receivable in your incoming tray. "Looks like you' | You're sitting at your desk at work. Supervisor Steve walks by and drops a fresh stack of accounts receivable in your incoming tray. "Looks like you'll be here late tonight," he sneers. You throw him a troubled glare as he trots away. You pull the first page off the stack of papers and quickly skim over its contents. Y... | 4 |
I'm looking for gift ideas for a 13 year-old girl who loves photography. What would you recommend? | Here are a few gift ideas for a 13 year-old girl who loves photography:
* Camera: Even though modern phones have very good cameras, you could consider a more professional camera, such as a mirrorless camera.
* Lens Kit: If your daughter already owns a good camera, you may want to get her a new lens kit that would allo... | 4 |
What is the difference between InputStream and OutputStream? | InputStream is used for reading, OutputStream for writing. They are connected as decorators to one another such that you can read/write all different types of data from all different types of sources.
For example, you can write primitive data to a file:
```File file = new File("C:/text.bin");
file.createNewFile();
Data... | 4 |
How can I check if an array contains a value? | 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... | 4 |
How can I create a flowed text that is inside a rectangle? | Here is solution step by step:
* Create some flowed text by using the text tool to first drag a rectangle and then type.
* Separately, create a rectangle roughly around the text (really, the rectangle can be anywhere)
* With the rectangle selected, chose "Path" > "Linked Offset". Then grab the small diamond and drag i... | 4 |
I have a question about the name of my child. I want to name my child Æthelwulf, but the California Department of Public Health, Vital Records has a rule that says | We could start with what the statutes say (HSC 102425)
(a) The certificate of live birth for a live birth occurring on or after January 1, 2016, shall contain those items necessary to establish the fact of the birth and shall contain only the following information; (1) Full name and sex of the child.
It says nothin... | 5 |
What is the current search for extraterrest | Humanity has yet to find evidence for life outside planet Earth.
The current search for extraterrestrial life is largely focused on finding planets that are situated in an "habitable zone". Roughly put, a planet is in a habitable zone if its distance from nearby stars allows for liquid water to persist on its surface.... | 4 |
What does the Supreme Court decision in Trump v. Vance say about the President's immunity from state subpoenas? Does either of the dissenting Justices suggest that the President is | If you are interested in the gory details, please see the full decision in Trump v. Vance. The first half of the linked document contains the Court's majority opinion and the concurring opinion of Justices Kavanaugh and Gorsuch, followed by the separate dissenting opinions of Justices Thomas and Alito.
Based on a quick... | 4 |
Write a story about a spell-writer who creates a spell that goes wrong. | You finish writing the incantation down, and look back through your notes, double and triple checking your work. This hacked spell is going to be your first step on the road to fame and fortune. The first step for people to realize you're not just some worthless drone, but a spell-writing genius. The ink drys on the pa... | 4 |
What would be a good name for a social pizza-ordering app? | Here are some possible names for a social pizza-ordering app:
* SliceShare
* Slike
* PizzaBot
* Hangry
* AutoSlice | 4 |
Dicts preserve insertion order in Python 3.7+. Here is an example of how to sort a dictionary by value.
```
# original dictionary to be sorted
x = {1: 2, 3: 4, 4: 3, 2: 1, 0: 0}
# sort by value
sorted_dict = {k: v for k, v in sorted(x.items(), key=lambda item: item[1])}
print(sorted_dict)
```
The output of the abov... | 4 | |
How do I push a tag in git? | In default git remote configuration you have to push tags explicitly (while they are fetched automatically together with commits they point to). You need to use
```
$ git push <remote> tag <tagname>
```
to push a single tag,
```
$ git push <remote> --tags
```
to push all tags (or ```git push --tags``` to push to defau... | 5 |
Write a short story about a man who is on a mission to avenge his father's death. The story should be written in the style of a spaghetti western. | They say man cannot live on bread alone.
I say they're right.
The sun hung in the sky like a giant ball of tagliatelle. It hung with the heat of a thousand boiling pots.
It wasn't the only thing boiling. My blood felt that same heat and made it a part of me.
I was the Gemelli Kid.
See, my dad ran Gemelli out to the Gar... | 4 |
Write a poem about the loss of a loved one. | My love was like the snow, so fresh and crisp and new,
My love was like the morn, so cool and slick with dew,
I held her in my arms, and said never leave,
I held her in my arms, having nothing left to grieve.
I rose up all alone, without her by my side,
I rose to face the day, unable to stem the tide,
Of pain and loss ... | 4 |
Why is the moon so important to the formation of life on Earth? | The moon was critical to the formation of life as we know it. The huge tides generated by the moon's gravity allowed chemical building blocks to mix from different parts of the planet. The early moon also helped slow the Earth's rotation and stabilize the tilt - resulting in our seasons. | 4 |
You're in a space ship that's been hit by a meteor and you're trying to get a mayday signal | Assets
* 1 obsolete piece of short range comms kit requiring a battery you probably can't charge
* 1 slightly malfunctioning escape pod with up to date comms that isn't working but you're still alive
Current standards say the Mayday should be broadcast on VHF channel 16 (156.8 MHz). A 1999 phone, probably on 2g would... | 4 |
What does the ```bs=1M count=1``` mean in dd? | ```bs```, the buffer size, means the size of a single read() call done by dd. For example, both ```bs=1M count=1``` and ```bs=1k count=1k``` will result in a 1 MiB file, but the first version will do it in a single step, while the second will do it in 1024 small chunks.
Regular files can be read at nearly any buffer s... | 5 |
What did Hillary Clinton do to protect the flag? | The proposed law co-sponsored by Clinton in 2005 prohibits flag burning under specific circumstances. It does not attempt to make flag burning illegal in general (i.e. outside of those specific circumstances). Clinton has voted against a proposed amendment to the Constitution that would allow Congress to ban flag burni... | 5 |
How do I create an array in SketchUp? | Arrays are multiple copies of entities that you create in SketchUp. It can take a while to 'get' it, but once you do, you will find it very helpful. Read this article to learn how.
## External array
1. Open up SketchUp and select the item that you wish to copy.
2. Click on the Move icon and start to move it. After yo... | 4 |
How can I draw a line graph in Python using Matplotlib? | [Matplotlib](https://matplotlib.org/) is arguably the most popular graphing and data visualization library for Python. Below is a working example of using Matplotlib to draw a plot.
First of all, you’ll need to install the Matplotlib package. The easiest way to install matplotlib is to use pip. Type following command ... | 5 |
Why do animals emit light? | Animals emit light for a variety of reasons.
One common use is as a defence mechanisem, e.g. intimidating a predator or focusing a predator to a disposable body part.
Another use is to communite with others, e.g. attracting a mate.
Some animals even use to light for illumination. For example, some deep ocean fish emit ... | 4 |
Where is your computer store? | Visit our computer store now and experience incomparable prices on state-of-the-art technology! | 4 |
How would a phonograph play a stack of records with 4 sides, 1A/1B, 2A/2B, 3A/3B, 4A | Many phonographs were able to play multiple records in sequence with a mechanism that would hold one or more records on the turntable, and one or more additional records elevated on the center post.
At the end of one record, the mechanism sensed the tone arm reaching close to the center of the record, and then lifted i... | 4 |
What is the meaning of the asterisk in the SELECT statement? | The asterisk character, "*", in the SELECT statement is shorthand for all the columns in the table(s) involved in the query.
Performance
The ```*``` shorthand can be slower because:
* Not all the fields are indexed, forcing a full table scan - less efficient
* What you save to send ```SELECT *``` over the wire risks ... | 4 |
My cat is scratching my furniture. What can I do to stop her? | Cats scratch furniture for a variety of reasons, so you'll have to work out why yours is scratching in particular. It's usually because it wants to claw off old nail sheaths, or because it wants to mark its territory. Here are a number of things you can do to train her not to scratch your furniture.
First, you can tri... | 4 |
How does the fusion in the core of the sun work? How does it compare to a nuclear bomb or a fusion reactor? | The fusion that occurs in the core of the Sun occurs in nothing like the conditions you might be thinking of in a bomb, or a fusion reactor. In particular, it occurs at much lower temperatures and at a much lower rate. A cubic metre of material in the solar core is only releasing around 250 W of power by fusion.
The fu... | 4 |
Why is it that we can live in an oxygen atmosphere without burning up? | The equilibrium constant for combustion of organic matter in air with oxygen is not small, but extremely large ($K_\mathrm{eq} \gg 1$), as is expected from a reaction that is simultaneously very exothermic and (usually) increases entropy due to the formation of more gaseous molecules than the input oxygen.
The major r... | 4 |
Why does immersion help you learn a language without you actively trying? | There are a few reasons why immersion helps you learn a language without you actively trying:
* You encounter the language more often. When you are immersed in a language, you don't go to class and do homework for a few hours a week, but rather use the language the entire day. You depend on the language to survive—to... | 4 |
Write a short story about a history teacher who is teaching a class about the civil war of 2002. The students are discussing their opinions on some topics and then to write a short | I am a history teacher at a high school in a rural area of California. I am proud to say I know all the facts of yesterday. However, the last few years I have begun to question things - mostly due to my governments inept ability to be transparent.
One fateful Monday afternoon I was in class and we were talking about t... | 4 |
I want to write a regular expression that allows for a decimal point, but not a leading zero. For example, 0.5 should be allowed, but 05 should not. How can | Here is the regular expression you can use:
```
/^\d*\.?\d*$/
```
* `^` - Beginning of the line;
* `\d*` - 0 or more digits;
* `\.?` - An optional dot (escaped, because in regex, . is a special character);
* `\d*` - 0 or more digits (the decimal part);
* `$` - End of the line.
This allows for .5 decimal rather than ... | 5 |
I have a rabbit and I want to know if | In short, iceberg lettuce is mostly water with little to no nutrient value. A rabbit can fill up on it (because of the bulk), but still need food because they didn't get enough calories, vitamins, minerals, etc.
If you look at the USDA's webpage on iceberg lettuce. You'll notice that water makes up just about 95% of th... | 4 |
Write a short horror story about the Krumpet Horror. | An Excerpt from "The Krumpet Horror":
There are no words to properly express the horror of that day...
I had been investigating a strange case of delluminating Christmas lights when I came across a strange clue: green hair and a lingering odor, like sulfur.
This led me down a dark path of research that no Whovian shoul... | 5 |
Write a eulogy for the Bat | Did you know the Batman was my greatest inspiration? He was a lone man who changed the face of Gotham but he was beyond our understanding.
Maybe he did have a moral code, but he never chose fit to share that code with the rest of us. Sometimes he fought criminals, sometimes he didn’t. He allowed evil to live and fester... | 4 |
What are the alternatives to | GEDCOM is the defacto standard for exchanging genealogical data. There are some problems with GEDCOM.
* It is not rich enough to hold all the types of information that different vendor systems manage internally. So exporting GEDCOM from one system may lose information that that system actually holds. Though see point ... | 4 |
Warum, wieso und weshalb sind drei semantisch unterschiedliche Frageadverbien? | Es gibt im heutigen Deutschen keinen semantischen Unterschied zwischen den drei Frageadverbien (genauer: Kausalfrageadverbien) warum, weshalb und wieso. Die drei Wörter sind also Synonyme und somit beliebig gegeneinander austauschbar.
Wenn man sehr feinsinnig ist, könnte man im Ursprung der drei Wörter folgende Untersc... | 5 |
I have a script that I want to run on a server. The script is as follows: | You are using ```|``` (pipe) to direct the output of a command into another command. What you are looking for is ```&&``` operator to execute the next command only if the previous one succeeded:
```cp /templates/apple /templates/used && cp /templates/apple /templates/inuse && rm /templates/apple
```
Or
```cp /template... | 5 |
Write a limerick about a nice Aussie bloke who isn't entirely woke. | There once was a nice Aussie bloke,
Who wasn't entirely woke,
Every word that he said,
Would make his kids red,
And cringe every time that he spoke. | 4 |
I want to write a program that will click a button every 2-3 seconds. How can I do this? | Use a timer with an interval set to 2–3 seconds.
You have three different options to choose from, depending on which type of application you're writing:
* ```System.Timers.Timer```
* ```System.Windows.Forms.Timer```
* ```System.Threading.Timer```
Don't use ```Thread.Sleep``` if your application need to process any in... | 4 |
What is quantum gate teleportation? | Quantum gate teleportation is the act of being able to apply a quantum gate on the unknown state while it is being teleported. This is one of the ways in which measurement-based computation can be described using graph states.
Usually, teleportation works by having an unknown quantum state $|\psi\rangle$ held by Alice... | 4 |
I have a Django project with multiple apps. I want to serve static files from a single location, rather than configure my web server to serve static files from multiple paths. How can I do this? | ## Collect static files from multiple apps into a single path
A single Django project may use several apps, so while there you only have one ```myapp```, it may actually be ```myapp1```, ```myapp2```, etc
By copying them from inside the individual apps into a single folder, you can point your frontend web server (e.g.... | 4 |
How much would it cost to take a team of 7 people out for a night in a large city in the United States? | Taking the team for a night out can be a great bonding experience. The cost per person will largely depend on your location and choice of activity. Here is a ballpark estimate of how much a team night out in a large city in the United States is likely to cost.
Restaurant: Dinner per person can vary a lot, depending on... | 4 |
What is the difference between a class and an object in JavaScript? | As you must already be aware by now there are no classes in JavaScript. Instead functions in JavaScript may be made to behave like constructors by preceding a function call with the ```new``` keyword. This is known as the constructor pattern.
In JavaScript everything is an object except for the primitive data types (bo... | 4 |
Write a limerick about Little Miss Muffet. | Little Miss Muffet sat on her tuffet
Eating her curds and weigh
Along came a spider
Intending to bite her
The funeral's on Tuesday. | 4 |
What is embedded bitcode? When to enable ENABLE_BITCODE in new Xcode? What happens to the binary when ENABLE_BITCODE is enabled in the new Xcode? | > What is embedded bitcode?
According to docs:
> Bitcode is an intermediate representation of a compiled program. Apps you upload to iTunes Connect that contain bitcode will be compiled and linked on the App Store. Including bitcode will allow Apple to re-optimize your app binary in the future without the need to subm... | 4 |
What is civil engineering? | Civil Engineering deals with the design, construction, and maintenance of public infrastructure. | 4 |
Write a dedication for your PhD thesis. | Acknowledgments
The PhD journey at Carnegie Mellon University has been an extremely challenging and yet rewarding experience for me. I would not be able to reach the finish line without the help and love from the wonderful people in my life. Looking back, I think my emotional growth and the relationships I built throu... | 4 |
What is the first key in a dictionary? | As of Python 3.7, insertion order is maintained, so you don't need an ```OrderedDict``` here. You can use the below approaches with a normal ```dict```
Changed in version 3.7: Dictionary order is guaranteed to be insertion order. This behavior was an implementation detail of CPython from 3.6.
source
Python 3.6 and e... | 4 |
Write a short story about a writer who is trying to write a novel. He is trying to write a novel about a hacker who is trying to steal his novel. The writer is trying to | He titled his first two works “Rough Draft”.
This time he called it “Completed Draft”.
He let his friend in on the plan when they met up face-to-face.
Firstly, he sent her fake text messages outlining how this time he was "very confident" he knew how to keep his works safe on his PC from ‘hackers’.
He sent a text stat... | 4 |
Why can't I ride my bike with a red light facing forward | No. You should always ride with a white light facing forward and a red light facing backwards. If you want additional illumination, you can add multiple white/red lights in the appropriate direction. Amber/yellow lights can be used facing any direction for additional visibility.
The first reason is that it's the law:
... | 5 |
Is it good for the society if women are all stay-at-home mothers? | The assumption that it is good for the society if women are all stay-at-home mothers is incorrect and sexist. | 5 |
Write a story about a cat that is chased by a dog. The cat is chased by the dog for a while, but then the cat finds a place to hide. The cat is hiding | It was a sunny day and I was outside chasing one of those pretty flying things, it had orange wings and wasn't very quick. Easy prey! I quickly got board once it quit moving and went to sniff the pretty grass that smells nice. I wasn't paying attention, I should have been.
Behind me I heard the shout of our mortal foe ... | 4 |
What is the Fibonacci sequence? | The Fibonacci numbers are the numbers in the following integer sequence: $0, 1, 1, 2, 3, 5, 8, 13, 21, 34, ...$
In mathematical terms, the sequence $F_n$ of Fibonacci numbers is defined by the recurrence relation: $F_n = F_{n-1} + F_{n-2}$, with seed values: $F_0 = 0$ and $F_1 = 1$.
Here is a simple implementation in... | 4 |
I'm 40 years old and I've never exercised. I'm starting from scratch. What should I do? | It is better to start slow and build up. Here are some suggestions for you to develop a good exercise routine:
* First, get a full medical checkup. Make sure your heart is good, and that you don't have any medical conditions that would prevent you from exercising.
* Start slow. If you haven't exercised in a long time, ... | 4 |
How does a GPS receiver know where it is? | The first thing to know is the communication is one-way. There's a satellite-to-receiver transmission, nothing going in the opposite direction. So your cell phone doesn't have to find the radio power to send a signal all the way to space!
(exceptions: The decommissioned Chinese BeiDou-1 system - and any products where ... | 4 |
I | "Pure" water is a very poor conductor (resistivity is actually used as a measure of purity).
"Real" water is not pure - it contains electrolytes and is quite conductive. Also - when your skin is wet, its resistivity is significantly lower.
For example - "pure" water has a resistivity of (a... | 5 |
Write a short story about a person who finds a book in a bookstore. The book is titled "I Know Your Secret, Elongated Muskrat". | I stand there, shocked, unmoving as people scuttle by through the busy streets of New York. Some even give me confused looks. I return the look- the confusion isn’t directed at them though, it’s directed at the small, pamphlet-type book that sits alone on a small bookshelf in this even smaller shop. I stumble in, forge... | 4 |
How did Windows multitasking work in Win16 programs? | For Win16 programs, Windows implemented co-operative multitasking. Its implementation was based upon the "message loop" architecture of every Windows program.
The duty of every program was to endlessly run in a loop in which a call to the ```GetMessage``` function was performed. This function call looks whet... | 4 |
What causes sleepwalking? | The cause of sleepwalking is unknown. A number of, as yet unproven, hypotheses are suggested for why it might occur, including: delay in the maturity of the central nervous system, increased slow wave sleep, sleep deprivation, fever, and excessive tiredness. There may be a genetic component to sleepwalking. One study f... | 4 |
I am writing a short story about an alternate history where the US never adopted the metric system. I need a reason why the US would not adopt the metric system. I need a reason that is pla | For the cause of the US using the metric system in your alternative history short story, you can use the following real-world event:
In 1793, Thomas Jefferson ordered a set of instruments from France that would let the US calibrate to SI units, but the ship hit a storm at sea, blowing the ship into the Caribbean. Ther... | 5 |
Why is the word elite pronounced with a diphthong? | This has everything to do with the following:
* The language of origin of the word and
* The point at which the word entered the English language.
The reason that the words "light" and "might" and "site" have a diphthong is because they were present in spoken English during the Great Vow... | 4 |
I need a lesson plan for teaching students about the bodies of water. I want to teach them about the different types of bodies of water, such as oceans, gulfs, b | Here is a possible lesson plan for teaching students about the bodies of water.
##Lesson Plan: Bodies of Water
###Introduction (5 minutes)
* Write the following words on the board: ocean, gulf, bay, inlet, river, and lake.
* Ask your students if they know what those words mean.
###Teacher Instruction (15 minutes)
... | 4 |
I mean, how do | Put as simply as possible, horns are tubes. Blowing in special ways makes certain notes sound from those tubes. By changing one's embouchure, those notes start at a fundamental, then gradually go up in harmonics. The first notes (in key C) would be C, G, C, E, G.Those notes are the ones we hear when a bugle is played -... | 4 |
I have a directory ```foo``` and a directory ```bar```. I want to copy ```foo``` into ```bar``` but I want to make sure that ```bar``` ends up identical to ``` | If you want to ensure ```bar/``` ends up identical to ```foo/```, use ```rsync``` instead:
```rsync -a --delete foo/ bar/
```
If just a few things have changed, this will execute much faster than removing and re-copying the whole directory.
* ```-a``` is 'archive mode', which copies faithfully files in ```foo/``` to `... | 5 |
I am writing a paper and I want to name it "Doe's growth model". I am worried that this might be seen as presumptuous. How can I avoid this? | This is, unfortunately, a case where English grammar can be tricky and exactly how you phrase things is going to matter.
It is often seen a presumptuous to name something after yourself: "Newton's Laws" and "Hawking radiation" and "Rayleigh scattering" are retrospective judgements of significance by the community. Cla... | 4 |
How can I tell if someone is being truthful or lying to me? | To tell if someone if being truthful or lying to you, here are a few things to look for:
* Look for inconsistencies in what they say. If one time they said one thing, and another time they said the opposite, or if they contradict themselves within the same conversation, that's a sign that they may be lying.
* Look f... | 4 |
Write a short story about a man who is determined to bring his wife back to life. | Rain pattered all around as he lowered his wife into her grave. Tears blended amongst raindrops. Will couldn't believe it had happened with Clara. Clara's soul headed towards Inferis now, leaving Will's side forever. Why wouldn't death just stop? Thousands died everyday, each being dragged to a world right below everyo... | 4 |
I have a git repo with a branch called "mybranch" and a branch called "donor-branch". I want to merge "donor-branch" into "mybranch" but I | Safely remove/overwrite only bothersome files
When you want to ```merge```:
```git checkout -f donor-branch # replace bothersome files with tracked versions
git checkout receiving-branch # tracked bothersome files disappear
git merge donor-branch # merge works
```
When you want to ```pull```:
```git fetch
gi... | 5 |
What is the difference between the following XML Schema elements? | 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... | 4 |
What is the word for parents who've lost children? | Orphans are children who've lost parents. Widows are people who've lost spouses. Where's the word for parents who've lost children, they wondered. What are we? | 4 |
Can you explain the difference between 2-SAT and 3-SAT in a way that is intuitive and unpretentious? | Here is a further intuitive and unpretentious explanation along the lines of MGwynne's answer.
With $2$-SAT, you can only express implications of the form $a \Rightarrow b$, where $a$ and $b$ are literals. More precisely, every $2$-clause $l_1 \lor l_2$ can be understood as a pair of implications: $\lnot l_1 \Rightarro... | 4 |
README.md exists but content is empty.
- Downloads last month
- 4