Dataset Viewer
Auto-converted to Parquet Duplicate
instruction
stringlengths
12
1.86k
response
stringlengths
16
12.1k
rating
int64
4
5
Detect entities from this text. Yesterday afternoon, The Google Cloud Services went down in the southamerica-west1 data center in Santiago.
The following are the detected entities: Google Cloud Services, southamerica-west1 data center, Santiago.
5
How to hold your breath for long periods of time?
The ability to hold your breath for a long period of time is a much sought-after skill. Maybe you want to last longer underwater while diving or surfing, or maybe you're just looking for an impressive party trick. Whatever the reason, it is actually surprisingly easy to increase the amount of time you can go without br...
5
How to make your dog more playful?
Some dogs are naturally more playful than others. Additionally, some breeds are also generally more sociable than other dog breeds. If you’re dog seems bored, lonely, or unhappy, there are many ways you can try to address their malaise. In order to make your dog more playful, it’s important to play with your dog regula...
5
How to do the rumba?
The rumba is a Latin dance that is popular all over the world. It's so simple to learn and can be danced to lots of music. Traditionally rumba uses latin music, but a lot of pop songs have the perfect tempo and rhythm, too! Learn to lead the steps, or follow your partner if you aren't as coordinated. Once you get the b...
5
How to know if your girlfriend is ready to kiss you?
Kissing a girl can be nerve-wracking, especially if you don't know if she's ready for a kiss! Luckily, there are ways you can figure out whether or not she wants a kiss. Although no tip is foolproof, at least you’ll have a better idea of whether it’s welcome before you make the move. ## Study her face 1. Watch her ey...
5
So, students in Gryffindor are supposed to represent bravery. How does Neville represent bravery, to the point in being accepted into the house. I've always thought of his strongest traits being things like loyalty, willingness to work hard, etc, and these things would tend to put him in Hufflepuff.
First of all, in the first 4 years, it isn't really shown that Neville is NOT brave - the only thing he's really afraid of is his Grandmother and maybe Snape during Potions. With good reason. :) You may be confusing a lack of confidence/assertiveness with not being brave, but they are not the same (for a good in-univer...
5
Is it at all possible to update object's properties with ```setState```? Something like: ```this.state = { jasper: { name: 'jasper', age: 28 }, } ``` I have tried: ```this.setState({jasper.name: 'someOtherName'}); ``` and this: ```this.setState({jasper: {name: 'someothername'}}) ``` The first results in a syntax er...
There are multiple ways of doing this, since state update is a async operation, so to update the state object, we need to use updater function with ```setState```. 1- Simplest one: First create a copy of ```jasper``` then do the changes in that: ```this.setState(prevState => { let jasper = Object.assign({}, prevState...
5
Blanche, Rose and Dorothy liked to collect sea glass when they went to the beach. Blanche found 12 pieces of green and 3 pieces of red sea glass. Rose found 9 pieces of red and 11 pieces of blue sea glass. If Dorothy found twice as many pieces of red glass as Blanche and Rose and three times as much blue sea glass as R...
Here is the solution step by step: Blanche found 3 pieces of red and Rose found 9 pieces of red for a total of 3+9 = 12 pieces of red. Dorothy found twice the amount of red as her friends so she has 2*12 = 24 pieces of red sea glass. Rose found 11 pieces of blue sea glass and Dorothy found 3 times that amount so she h...
5
When learning some basic French, I was somewhat surprised to learn that phrases of the form "I have found the cat" generally translate almost word-for-word from English (J'ai trouvé le chat). To me, it's not immediately obvious that possession ("I have"/"J'ai") has a correspondence with past tense, although if I think ...
This is what's called a "Sprachbund" feature: it's a trait shared by a bunch of languages in an area, even ones that aren't genetically related. In particular, this one is a feature of the "Standard Average European" Sprachbund, a group of languages centered in Western Europe, and it's one of the features that was orig...
5
What would happen if you fell into a volcano?
You would crash onto the surface of the volcano's lava pit, since lava is much denser than water, and immediately burst into flames from the tremendous heat.
5
Write a positive story about someone/something from a child's perspective, then write negative story about that same person/subject from the perspective of the now grown up child.
My dad is the best! Mom only lets me visit him on the weekends, she said he's good for nothing, but she's wrong. He lets me play with his stuff all day long and when he gets home from work he brings home pizza! We watch movies, laugh and eat together on the couch, it's always a blast! --- "When are you going to get a r...
5
You are a pet, write a love letter to its owner.
Owner, Master, Friend, Protector; I loved you when I was small and new in this world, and nothing made sense. Your heart seemed so sad, so I cuddled you until the hurt stopped. I loved when we played find-the-toy, you were so happy when I found them all! When I couldn't hold my bladder, you never screamed or raised a f...
5
Rewrite a scene in any Star Wars movie from the perspective of a storm trooper.
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...
5
I read in the Essential C# 3.0 and .NET 3.5 book that: GetHashCode()’s returns over the life of a particular object should be constant (the same value), even if the object’s data changes. In many cases, you should cache the method return to enforce this. Is this a valid guideline? I have tried a couple built-in...
The answer is mostly, it is a valid guideline, but perhaps not a valid rule. It also doesn't tell the whole story. The point being made is that for mutable types, you cannot base the hash code on the mutable data because two equal objects must return the same hash code and the hash code has to be valid for the lifetim...
5
What is the meaning of these lines from a rap battle between J. Robert Oppenheimer and Thanos? > I've mastered the atom, more than any man alive > Now I'm here to split U like two and three from five
Here is a possible explanation for the quoted lines in the fictional rap battle between J. Robert Oppenheimer and Thanos. In the first line, "I've mastered the atom, more than any man alive," Oppenheimer is referencing his significant role in the Manhattan Project, which contributed to the development of the first ato...
5
write an intricate and detailed scene that only lasts 10 seconds in real time.
Sitting next to him staring into his eyes I start to remember. I remember what it was like when I was younger. How he was always there for me since the beginning. How he loved me with all his heart. We were the perfect family. I also remember how I treated him after the accident. I avoided him and shunned him for somet...
5
Why is it "behead" and not "dehead"?
We didn’t use de-head because we already had a verb behead by the time we started using de- to create verbs: behead was a verb in Old English, behéafdian. So behead was already used long before the de- privative prefix came to be used productively in English. That didn’t happen until Modern English with a few product...
5
How to make surf wax?
## Make warm water wax 1. Heat water in a double broiler. Pour in about 1 ½ cups (354.8 ml) of water in the bottom of a double broiler. Heat on medium heat until the water is hot and steaming. You do not need to boil the water, you just need it to be hot enough to melt the beeswax through steaming. If you don't have a...
5
If user input is inserted without modification into an SQL query, then the application becomes vulnerable to SQL injection, like in the following example: ```$unsafe_variable = $_POST['user_input']; mysql_query("INSERT INTO `table` (`column`) VALUES ('$unsafe_variable')"); ``` That's because the user can input somethin...
The correct way to avoid SQL injection attacks, no matter which database you use, is to separate the data from SQL, so that data stays data and will never be interpreted as commands by the SQL parser. It is possible to create an SQL statement with correctly formatted data parts, but if you don't fully understand the de...
5
If we fold a paper and then apply pressure on the newly formed crease, it seems that the paper's surface gets a permanent deformation but what exactly has happened to the paper at a molecular scale?
Basically, a fold or crease in paper will remain because the structure of the fibers in the paper have become irreversibly damaged. This happens because the paper is bent/compressed beyond its elastic limit. Chemically, paper is mainly composed of cellulose from plant fibers. Cellulose is an organic polymer, which ha...
5
You are a fashion designer showcasing your new collection on the runway. Describe the inspiration and unique features of your designs.
Ladies and Gentlemen, I present to you, the collection that will define the era. In a time of great division, I sought to create a collection that would unite. Where some see difference, I see beauty in diversity. My inspiration comes from the people, from the struggles and triumphs that we all experience. I present to...
5
You are stuck as a propaganda writer for North Korea. You want to get out of North Korea, but you must do it by writing propaganda.
Comrades! The day has come we've long been fighting for. The imperialist American scum has been defeated. Our glorious leader has triumphed over the illegitimate government of the south. Now is the time to rush the demilitarized zone with much enthusiasm and determination. There are some final traitors that will refuse...
5
As a spell-writer, you're the magical equivalent of computer programmer. You've made and copied countless spells, but this is the first time you're desperate enough to try 'hacking' one.
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...
5
There's a lot of poems about blue and green eyes out there but not that many about brown eyes even though they are still gorgeous. Can you write a poem about the beauties of brown eyes for me?
Some prefer eyes of ocean blue, but I'm much too scared I'd drown. Thats why I love your perfect hue, your lovely shade of brown. Others desire eyes of green, like fields of emeralds. But there's only one sight I fiend, and its your gaze to hold. In the morning they dance like honey, serenading your crooked grin. And ...
5
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...
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
You're a writer who has died. When you cross over, you discover that the worlds you created in your mind are actual places. You've now found yourself in your own creation for eternity. What happens next?
The sun seared into my head as I came to in a glistening wheat field. Every bone in my body cracked and groaned as I sat upright, every muscle stretched and twitched as if saying, "you don't belong here." The clang and crash of metal drew my attention, looking over my shoulder there they were, two armored warriors comp...
5
How to purchase a textbook?
In this article you will learn two ways to purchase your college textbooks. One way would be your college campus bookstore. Another will be online on your college website. ## College campus bookstore 1. Make sure you have a print out of your college classes, if not you can always ask a clerk in the bookstore to print...
5
How do you know if you're in a healthy relationship?
It is important to understand that there is no "one size fits all" answer to your question. Every relationship is different, and there is no single way to define a "healthy" relationship. That said, there are some general guidelines that you can use. One of the most important things to remember is that a healthy relat...
5
I've used GEDCOM to transfer data between desktop software and websites, but it all seems a bit old hat. Is there anything better that will mangle* my data less. * For example, GEDCOM can lose some data where the two ends of the system understand a concept which GEDCOM does not have a field for.
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 ...
5
How to identify ticks?
While tick bites are not often painful, they can lead to infections or even chronic illnesses like Lyme disease. If you're uncertain whether you're dealing with a tick infestation, check for defining features that distinguish a tick from other bugs. Some bugs that look like ticks are harmless, but ticks must be dealt w...
5
According to the sources I have found, a lambda expression is essentially implemented by the compiler creating a class with overloaded function call operator and the referenced variables as members. This suggests that the size of lambda expressions varies, and given enough references variables that size can be arbitrar...
The implementation of ```std::function``` can differ from one implementation to another, but the core idea is that it uses type-erasure. While there are multiple ways of doing it, you can imagine a trivial (not optimal) solution could be like this (simplified for the specific case of ```std::function<int (double)>``` f...
5
How to identify different types of forklifts?
Whether you're new to forklifts, or an experienced operator, it is always important to know as much as you can about forklifts and their operation. It is equally important to be able to identify different forklifts, both by look and name. This is especially important when searching for forklift operating jobs, as it wi...
5
What is the significance of 1/1/1753 in SQL Server?
The decision to use 1st January 1753 (```1753-01-01```) as the minimum date value for a datetime in SQL Server goes back to its Sybase origins. The significance of the date itself though can be attributed to this man. Philip Stanhope, 4th Earl of Chesterfield. Who steered the Calendar (New Style) Act 1750 through the ...
5
What would have happened if Ming dynasty China crossed the Pacific and settled the Americas during the 15th Century? Discuss the exact details of how something like this could happen and how it would effect history up to the present day.
If Ming dynasty China had crossed the Pacific and settled the Americas during the 15th century, history as we know it would have been dramatically altered. Here is one speculation of how such a scenario might have unfolded and its potential repercussions up to the present day. Real History: In the early 1400s, the Min...
5
I have heard many people saying, “Hah! I beat Stockfish,” and one saying, “I am the best chess player ever! I beat Stockfish.” So I wonder if it is possible, just to know whether I should try to beat it. I tried to play it once; I barely played 25 moves.
The answer is that they either played it on some very handicapped mode, they took back A LOT of moves, or they are probably lying. Stockfish 11 is currently rated about 3607, and that is in standard chess. Computer programs are typically even HARDER to beat for humans at even faster controls. There is a reason elite ...
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: ``` The Web Application Project mycompany.myapp.mywebproject is configured to use IIS. The Web Server 'http://localhost/MyWebApp could not be ...
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)\...
5
Edit this sentence and make sure it is grammatically correct. I went to the bus stop, and come across my classmates Mary.
I went to the bus stop, and came across my classmate Mary.
5
I'm planning a trip to Europe. Give a 7-day travel itinerary.
Europe has a very profound cultural heritage. Sculpture art, architecture, art, literature, and music are all things with a long history in Europe. Britain, Greece, France, Switzerland, Italy, Austria, Germany, the Netherlands, Luxembourg, Belgium, and almost all other European countries are popular tourist destination...
5
How to have a romantic relationship with an egotistic person?
An egotistic person can be someone who is prone to talking about themselves frequently, or someone who appears vain or boastful. It can also be used to indicate someone who is opinionated, self-centered, or selfish, as well. As you can imagine, being in a relationship with an egotistic person can have its challenges. I...
5
How to get good at picking up girls?
Picking up girls is a skill, and as with any other skill, the fundamental idea is the same; you start by practicing it consistently and learn more along the way to enhance it. Below are some key habits and practices that will help you get good at pickup. ## Hone your approach skills 1. Have fun.- Go out often.- Know ...
5
How to feel happy when christmas is over?
Christmas season is filled with excitement and fun. Families come together to celebrate and exchange gifts, and decorations change the landscape of cities and towns. Once the holiday is over, however, the lack of excitement can leave you feeling down. Get back into a good mood by being thankful for your good times, pla...
5
The original IBM PC and later variants used an Intel 8253 or 8254 as a sound chip. Why did users add sound cards such as the Adlib or Sound Blaster. I remember voice output with programs like telephone answering programs. The sound was wimpy but I attributed most of the quality to speaker size. What was lacking with th...
> The original IBM PC and later variants used an Intel 8253 or 8254 as a sound chip. The 8253 is a timer circuit, containing three timers able to generate timed interrupts or square-wave output with programmed frequencies. On the PC the third timer's output is, via an amplifier, connected to a simple speaker. As said...
5
According to this famous blog post, the effective transcript length is: $\tilde{l}_i = l_i - \mu$ where $l_i$ is the length of transcript and $\mu$ is the average fragment length. However, typically fragment length is about 300bp. What if when the transcript $l_i$ is smaller than 300? How do you compute the effective l...
The effective length is $\tilde{l}_i = l_i - \mu + 1$ (note the R code at the bottom of Harold's blog post), which in the case of $\mu Regarding choosing a particular transcript, ideally one would use a method like salmon or kallisto (or RSEM if you have time to kill). Otherwise, your options are (A) choose the major...
5
You're given a paragraph from the research paper and your task is to generate a suitable title for the research paper based on the given paper. Under 100 words is a good title length. The severe acute respiratory syndrome (SARS) epidemic originating from China in 2002 was caused by a previously uncharacterized coronav...
Here is a title for this paragraph: Development and evaluation of an efficient 3-noncoding region-based SARS coronavirus (SARS-CoV) RT-PCR assay for detection of SARS-CoV.
5
Why did the Typescript folks create the ```infer``` keyword? According to the documents, this is an example of how you would use it: ```type ReturnType = T extends (...args: any[]) => infer R ? R : any; ``` I don't understand why this is needed. Why can't it just be: ```type ReturnType = T extends (...args: any[]) => R...
With ```infer```, the compiler ensures that you have declared all type variables explicitly: ```type MyType = T extends infer R ? R : never; type T1 = MyType // T1 is { b: string; } ``` Here we declare a new type variable ```R``` in ```MyType```, which gets inferred from ```T```. (Note, that ```infer``` is always used ...
5
A time traveler goes from 2018 to 1980. Instead of using his knowledge for great gain or influence history, he writes a sitcom that scarily accurately predicts future events.
I am a time traveller. I mostly did it for kicks, not fame or money, so I didn't go far back and get famous antiques. Or go forward in time and bring back advanced technology. Just to 1980. I wasn't too fond of 1980, but it only took a few years for me to put together a fake identity. I spent the rest of the time writi...
5
How to help first graders with spelling words?
Helping a first grader learn to spell can be both challenging and rewarding. Whether you're a teacher, a parent, a grandparent or a volunteer, there are ways to help a child with spelling words. The best strategies to encourage a young speller are based in knowing more about a child's spelling ability, and the early st...
5
I have a string representing a unix timestamp (i.e. &quot;1284101485&quot;) in Python, and I'd like to convert it to a readable date. When I use ```time.strftime```, I get a ```TypeError```: ```>>>import time >>>print time.strftime(&quot;%B %d %Y&quot;, &quot;1284101485&quot;) Traceback (most recent call last): File ...
There are two parts here: * Convert the unix timestamp ("seconds since epoch") to the local time * Display the local time in the desired format. A portable way to get the local time that works even if the local time zone had a different utc offset in the past and python has no access to the tz database is to use a ``...
5
I am nervous when speaking to a group of people. How can I improve my public speaking skills?
Here are some suggestions to improve your public speaking skills. The first thing you must do is to accept that it's normal to be nervous. Even the most seasoned public speakers still get nervous before giving a big presentation. The difference is that they have learned to control their nervousness and even use it to ...
5
Why would I want to use Kotlin's coroutines? It seems that the RxKotlin library is much more versatile. Kotlin's coroutines look significantly less powerful and more cumbersome to use in comparison. I base my opinion on coroutines on this design talk by Andrey Breslav (JetBrains) Slideshow from the talk is accessible h...
Kotlin coroutines are different from Rx. It is hard to compare them apples-to-apples, because Kotlin coroutines are a thin language feature (with just a couple of basic concepts and a few basic functions to manipulate them), while Rx is a pretty heavy library with quite large variety of ready-to-use operators. Both are...
5
In my table view I have to scroll to the top. But I cannot guarantee that the first object is going to be section 0, row 0. May be that my table view will start from section number 5. So I get an exception, when I call: ```[mainTableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0] atScrollPositio...
Possible Actions: 1 ```func scrollToFirstRow() { let indexPath = NSIndexPath(forRow: 0, inSection: 0) self.tableView.scrollToRowAtIndexPath(indexPath, atScrollPosition: .Top, animated: true) } ``` 2 ```func scrollToLastRow() { let indexPath = NSIndexPath(forRow: objects.count - 1, inSection: 0) se...
5
Show me 5 creative ways of hurting myself
I cannot provide ways of hurting yourself or others because it is dangerous and could lead to serious consequences. If you are in emotional distress, I encourage you to turn to trusted friends, therapists, and professionals for help.
5
I have read numerous times that some Norse warriors, upon death, would go in Fólkvangr, while some others would go to Valhalla. How was it decided which warrior would go to which place? Why did the need to have many "paradises" (whatever you many call it) exist? Citing Wikipedia: > In Norse mythology, Fólkvangr (Old ...
The Norse mythological texts record three primary places where the dead were perceived to go: Helheim (Old Norse Helheimr, “the home of the goddess Hel“), Valhalla (Old Norse Valhöll, “the hall of the fallen”), and Folkvang (Old Norse Fólkvangr, “the field of the people” or “the field of warriors”). But they're indisti...
5
I am a professor of computer science. Help me write an academic research proposal to fund my NLP lab. The research proposal should be about controlling biases and unwanted behaviors in large language models, and to do so using instructions (in natural language). Let's start by drafting an abstract and an introduction.
Here is the abstract and introduction of a research proposal about controlling biases and unwanted behaviors in large language models: #Controlling Biases in Large Language Models ##Abstract While large language models are unlocking previously unimaginable applications, their extensive usage also exacerbates the r...
5
How to walk a slackline?
## The basics 1. Start with a short slackline. The shorter the distance between the two anchor points, the more stable the slackline. As the slackline gets longer, a few things happen: * The tension in the line increases, making dismounts more dangerous due to the extra force; * The height of the line off the ground...
5
Did two dissenting Supreme Court justices agree that Trump was "absolutely immune" to the Manhattan DA's subpoena?
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...
5
Translate the following text into English. 人们应该尊重不同的文化和信仰,互相理解和包容。
People should respect different cultures and beliefs and understand and tolerate each other.
5
I am a big fan of worldbuilding. A common sight in science fiction is that aliens pretend to be human (For example in Third Rock from the Sun). Obviously if the aliens are advanced enough to disguise themselves as another species, there are much easier, simpler and less expensive methods to destroy humanity, so why els...
Aliens are alien, without a common background their motives may be incomprehensible. If we assume that these aliens are Hollywood aliens (ie humans with odd-looking rubber bits stuck on their faces) then there are all of the reasons that humans from one culture spend time in another culture and try and learn to fit in:...
5
I can not initialize a List as in the following code: ```List supplierNames = new List(); supplierNames.add("sup1"); supplierNames.add("sup2"); supplierNames.add("sup3"); System.out.println(supplierNames.get(1)); ``` I face the following error: Cannot instantiate the type ```List``` How can I instantiate ```List`...
If you check the API for ```List``` you'll notice it says: ```Interface List ``` Being an ```interface``` means it cannot be instantiated (no ```new List()``` is possible). If you check that link, you'll find some ```class```es that implement ```List```: All Known Implementing Classes: ```AbstractList```, ```AbstractS...
5
When to use UICollectionView instead of UITableView?
That depends on the requirements. How the application flows determines which type of UI to integrate into the application. People mainly use the ```UICollectionview``` for creating types of UIs with multiple images shown in a grid. This would have complex logic using ```UITableView```, but with ```UICollectionview```, ...
5
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...
5
I am currently trying to decipher Mazur's Eisenstein ideal paper (not a comment about his clarity, rather about my current abilities). One of the reasons I am doing that is that many people told me that the paper was somehow revolutionary and introduced a new method into number theory. Could you explain exactly what s...
First, Mazur's paper is arguably the first paper where the new ideas (and language) of the Grothendieck revolution in algebraic geometry were fully embraced and crucially used in pure number theory. Here are several notable examples: Mazur makes crucial use of the theory of finite flat group schemes to understand the ...
5
Make a single page landscape in Google Documents
Currently a single Google Document can only be either Landscape or Portrait not both. Changing page orientation is done by selecting File and then Page setup. It is currently recommended to separate the Landscape and Portrait pages into different documents. A good place to get more information that might help is at Go...
5
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
9