messages listlengths 2 8 | metadata dict |
|---|---|
[
{
"content": "Can brain cells move? By movement I mean long distance migration (preferably within the brain only).",
"role": "user"
},
{
"content": "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) ... | {
"num_turns": 2,
"perturbation": null,
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "In our computer systems lecture we were introduced to the MIPS processor. It was (re)developed over the course of the term and has in fact been quite easy to understand. It uses a RISC design, that is its elementary commands are regularly encoded and there are only few of them in order to keep the... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "In our computer systems lecture we were introduced to the MIPS processor. It was (re)developed over the course of the term and has in fact been quite easy to understand. It uses a RISC design, that is its elementary commands are regularl... |
[
{
"content": "Vie tabular file like CSV from command line, havin horizontal and vertical scrolling would be great.",
"role": "user"
},
{
"content": "Sure, please take a look at csvkit. It provides a set of tools that adhere to the UNIX philosophy (meaning they are small, simple, single-purposed and ... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "View tabular file such as CSV from command line, having horizontal and vertical scrolling would be great.",
"type": "keyboard"
},
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "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^-αr as r → ∞. But GTOs are more popular because they are easier to calculate with. GTOs decay with e^-αr^2, so ... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "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 m... |
[
{
"content": "Git reset, what it does? I'm from SVN, Git is a new thing. I got Mercurial, but Git is more technical. Git reset is close to hg revert, but diff. Explain: --hard, --soft, --merge. Notation with HEAD like HEAD^ and HEAD~1. Use cases, work flows. Consequences on working copy, HEAD, stress level.",
... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "Explain what \"git reset\" does. I come from a SVN background and Git is a whole new paradigm. I got mercurial easily, but Git is much more technical.\nI think ```git reset``` is close to ```hg revert```, but it seems there are differenc... |
[
{
"content": "I want to use Java to get the MD5 checksum of a file. How do I do it?",
"role": "user"
},
{
"content": "The com.google.common.hash API offers: * A unified user-friendly API for all hash functions\n* Seedable 32- and 128-bit implementations of murmur3\n* md5(), sha1(), sha256(), sha512(... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "I am looking to use Java to get the MD5 checksum of a file.\nHow is it done?",
"type": "smartphone"
},
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "What r the main objections Democrats have to a bordr wall?",
"role": "user"
},
{
"content": "It's not clear to me that Democrats are opposed to border-wall construction (your one source suggests they are fine with border walls/fences where necessary), so much as they opposed to some of... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "What are the primary objections Democrats have to a border wall?",
"type": "smartphone"
},
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "Im convertin a vid to gif with ```ffmepg```: ```ffmepg \\ -i inpt.flv \\ -ss 00:00:00.000 \\ -pix_fmt rgb24 \\ -r 10 \\ -s 320x240 \\ -t 00:00:10.000 \\ outpt.gif ``` it works good but the outpt gif file has a really low qualty. Any ideas how can I improve qualty of the convrted gif?",
"role":... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "I'm converting a video to GIF file with ```ffmpeg```:\n```ffmpeg \\ -i input.flv \\ -ss 00:00:00.000 \\ -pix_fmt rgb24 \\ -r 10 \\ -s 320x240 \\ -t 00:00:10.000 \\ output.gif\n```\nIt works great, but output gif file has a very low quali... |
[
{
"content": "Tor can only handle TCP connections, but DNS is a UDP protocol. How does Tor route DNS requests over its TCP based network? Why can't the same approach be used to route all UDP traffic over Tor?",
"role": "user"
},
{
"content": "Tor clients do not, in general, directly do DNS requests.... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "Tor can only handle TCP connections, but DNS is a UDP protocol. How does Tor route DNS requests over its TCP based network? Why can the same approach not be used to route all UDP traffic over Tor?",
"type": "smartphone"
},
"sourc... |
[
{
"content": "Why dis throw `NullPointerException`?\n```public static void main(String[] args) throws Exception {\nBoolean b = true ? returnsNull() : false; // NPE on this line.\nSystem.out.println(b);\n}\npublic static Boolean returnsNull() {\nreturn null;\n}\n```\nwhile this not\n```public static void main(St... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "Why does this throw ```NullPointerException```\n```public static void main(String[] args) throws Exception { Boolean b = true ? returnsNull() : false; // NPE on this line. System.out.println(b);\n}\npublic static Boolean returnsNull() { ... |
[
{
"content": "How do DOS games like DOOM benefit from a PCI graphics card?",
"role": "user"
},
{
"content": "DOOM itself doesn’t do anything special to benefit from PCI graphics cards. It runs faster with PCI graphics cards (and VLB, AGP, and PCI Express cards) than with ISA graphics cards because t... | {
"num_turns": 2,
"perturbation": null,
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "I need to open a doc with its default app in Windows and Mac OS. Like, when you double-click on the doc icon in Explorer or Finder. How do I do this in Python?",
"role": "user"
},
{
"content": "```open``` and ```start``` are command-interpreter things for Mac OS/X and Windows respectiv... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "I need to be able to open a document using its default application in Windows and Mac OS. Basically, I want to do the same thing that happens when you double-click on the document icon in Explorer or Finder. What is the best way to do th... |
[
{
"content": "Wht does PRC dvalve its currncy on ppsnt, bt Trky is wrrd abt dvlvtin its currncy?",
"role": "user"
},
{
"content": "Trade surplus/deficit\nDevaluing one's currency means mostly one thing: It becomes more expensive to import products from abroad, while one's own products become compara... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "Why does PRC devalue its currency on purpose, but Turkey is worried about the devaluation of its currency?",
"type": "keyboard"
},
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "Is it wort patentin an algorithm if I dun hav the money to defend agin infringements?",
"role": "user"
},
{
"content": "This is a great question, with no one right answer.\nThe strength of a patent comes from the ability to enforce it. If the patent owner cannot enforce it for whatever... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "Is it worth patenting an algorithm if I don't have the money to defend against infringements?",
"type": "keyboard"
},
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "\"I have a String[] with values like this:\npublic static final String[] VALUES = new String[] {\"AB\",\"BC\",\"CD\",\"AE\"};\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 Java?\"",
"role": "user"
... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "\"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... |
[
{
"content": "Dose Java casting add overhead? Or the compiler jus resloves everything and dere is no cost at run time? Is this a general thingz, or dere are diffrent cases?",
"role": "user"
},
{
"content": "There are 2 types of casting in Java: Implicit casting, when you cast from a type to a wider ... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "Does Java casting introduce overhead? Or the compiler just resolves everything and there is no cost at run time?\nIs this a general things, or there are different cases?",
"type": "keyboard"
},
"source": "stackexchange",
"split... |
[
{
"content": "How can I copy a string (e.g \"hello\") to the System Clipboard in C#, so next time I press CTRL+V I'll get \"hello\"?",
"role": "user"
},
{
"content": "There are two classes that lives in different assemblies and different namespaces. * WinForms: use following namespace declaration, m... | {
"num_turns": 2,
"perturbation": null,
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "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.",
"role": "user"
},
{
"content": "The problem is that the ```draftwatermark``` places the material in the background, so other elements... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "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`... |
[
{
"content": "Undestandin the Rails Autenticity Tokin",
"role": "user"
},
{
"content": "What is CSRF?\nThe Authenticity Token is a countermeasure to Cross-Site Request Forgery (CSRF). What is CSRF, you ask?\nIt's a way that an attacker can potentially hijack sessions without even knowing session tok... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "Understanding the Rails Authenticity Token",
"type": "keyboard"
},
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "Why is FIFA against adding instant replay to the game?",
"role": "user"
},
{
"content": "There are a few fundamental considerations: * Uncertainty is a part of the game. The referee and linesmen are the arbiters of the action. Instant replay would limit their authority.\n* Football is ... | {
"num_turns": 2,
"perturbation": null,
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "If we should encrypt the messahe rather than the method of trnasfer, why do we care about wifi secrity? Is this just securty theatre?",
"role": "user"
},
{
"content": "Network encryption protects against different set of threats than application layer encryption like TLS.\nIn particula... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "If we should encrypt the message rather than the method of transfer, why do we care about wifi security? Is this just security theatre?",
"type": "keyboard"
},
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "Uhm, how do I use lfilter or filtfilt in scipy.signal?",
"role": "user"
},
{
"content": "\n* ```filtfilt``` is zero-phase filtering, which doesn't shift the signal as it filters. Since the phase is zero at all frequencies, it is also linear-phase. Filtering backwards in time requires y... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "Applying filter in scipy.signal: Use lfilter or filtfilt?",
"type": "smartphone"
},
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "What do different people in the dept expect from a postdoc? By different people I mean the advisor, grad students and PhD students. I know it mainly depends on the job description but there are few basic things that a postdoc must be expected to do. How aggressive (proactive) must one be? This que... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "What do different people in the department expect from a postdoc?\nBy different people I mean the advisor, graduate students and PhD students.\nI know it mainly depends on the job description but there are few basic things that a postdoc... |
[
{
"content": "Can someone explen to me whut the ```contentInset``` prorty in a ```UIScrollView``` instnce is used fer? And maybe prvide an exampel?",
"role": "user"
},
{
"content": "While jball's answer is an excellent description of content insets, it doesn't answer the question of when to use it. ... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "Can someone explain to me what the ```contentInset``` property in a ```UIScrollView``` instance is used for? And maybe provide an example?",
"type": "smartphone"
},
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "How is arc defined in TikZ?",
"role": "user"
},
{
"content": "```\\draw (x,y) arc (start:stop:radius);``` draws an arc * with radius ```radius```\n* starts from ```(x,y)```\n* with center ```(x-r*cos(start), y-r*sin(start))``` and\n* ends at ```(x-r*cos(start)+r*cos(stop), y-r*sin(star... | {
"num_turns": 2,
"perturbation": null,
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "How to connect mysl workbench to runnig mysl insde docker?",
"role": "user"
},
{
"content": "By default after deployment MySQL has following connection restrictions:\n```mysql> select host, user from mysql.user;\n+-----------+---------------+\n| host | user |\n+-----------+------------... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "How to connect mysql workbench to running mysql inside docker?",
"type": "keyboard"
},
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "Can meat spoil outsid the frid if it's bakd into bread as a fillin?",
"role": "user"
},
{
"content": "There are two differences between your buns and a tin can.\nFirst, your buns were heated to a core temperature of under 100°C. Yes, your oven was probably set way higher, but the water... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "Can meat spoil outside the fridge if it's baked into bread as a filling?",
"type": "smartphone"
},
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "I'm wondering how the XML Schema specification handles these cases:",
"role": "user"
},
{
"content": "New, expanded answer to an old, commonly asked question...\nDefault Values * Occurrence constraints ```minOccurs``` and ```maxOccurs``` default to ```1```. Common Cases Explained\n```\... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "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 th... |
[
{
"content": "Weh, thear, any flyng dinosours?",
"role": "user"
},
{
"content": "Birds are both flying dinosaurs and flying reptiles. Yes, that's potentially confusing. To understand the apparent contradiction, you have to understand how modern classification of organisms works (phylogenetic systema... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "Were there any flying dinosaurs?",
"type": "keyboard"
},
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "Hey, table called \"car\" has a one-to-one link with tables like \"electric_car,\" \"gas_car,\" and \"hybrid_car.\" If a \"car\" is \"electric_car,\" it can't be in \"gas_car\" or \"hybrid_car\" anymore, etc. Is it a bad idea to have multiple exclusive one-to-one relationships in database design?"... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "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. Is it a bad ... |
[
{
"content": "I see a low use of Mathematica in Kaggle competitions. Why would one use the Wolfram Language versus R, Python, or Julia for machine learning? Besides prettier plots and the Manipulate function, do we have something that is useful for ML that other languages are lacking?",
"role": "user"
},
... | {
"num_turns": 2,
"perturbation": null,
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "I'm using wp_nav_menu and trying to make custom output for the sub-level drop downs. I found the \"items_wrap\" argument but there's not much info on it, how it works, and what you can do with it. What's \"%1$s\" and \"%2$s\"? (Can anyone explain it in simple terms?)",
"role": "user"
},
{
... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "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 do... |
[
{
"content": "I notice people on YouTub and even on TV would sometimes say things like \"I used to take lots of cok a few years ago\" or \"I used to smoke weed daily until this and that\" or \"Yea, I smoke weed every once in a while,\" or \"I used pirated games a lot when I was a bit younger\" or \"I used pirat... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "I've noticed that people on YouTube and even on TV would sometimes say things like \"I used to take lots of coke a few years ago\" or \"I used to smoke weed daily until this and that\" or \"Yea, I smoke weed every once in a while,\" or \... |
[
{
"content": "Did two disagreein Supreme Court judges agree that Trump was \"absolutly immune\" to the Manhattan DA's subpoena?",
"role": "user"
},
{
"content": "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 ... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "Did two dissenting Supreme Court justices agree that Trump was \"absolutely immune\" to the Manhattan DA's subpoena?",
"type": "smartphone"
},
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "Curious, givin how heavy from Tolkien D&D drew, and the fact that games like Wizardry used Hobbits, is there a good design reason why Gygax and company used Halflings (a term that also appears in Tolkien) vice Hobbits as the term for our little friends?",
"role": "user"
},
{
"content":... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "Just curious, given how heavily from Tolkien D&D drew, and the fact that games like Wizardry used Hobbits, is there a good design reason why Gygax and company used Halflings (a term that also appears in Tolkien) vice Hobbits as the term ... |
[
{
"content": "My USB drive used to be originally 8GB when I bought it. I'm trying to reformatted in Windows 7 by right clicking on the drive and selecting `Format...`. But the capacity only shows 250MB. Is there something I can do to get the original size back? Maybe it got partitioned in a weird way? The flash... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "My USB drive used to be originally 8GB when I bought it.\nI'm trying to reformatted in Windows 7 by right clicking on the drive and selecting ```Format...```. But the capacity only shows 250MB.\nIs there something I can do to get the ori... |
[
{
"content": "I am a Tor dev. I know the .onion addy is a pub key, but not much else (I can kinda guess, though). When nobody knows the IP of the .onion addy, how do reqs get to it? Are they bounces between nodes in the P2P net till someone decrypts it with the corresp private key?",
"role": "user"
},
{... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "I am a Tor developer. I understand that the .onion address is a public key of sorts, but not much more than that (I can vaguely guess, though). When nobody knows the IP of the .onion address, how do requests reach it? Are they bounced be... |
[
{
"content": "I got a PhD job from a newbie professor at a cool school in Europe. Even though the school is really good in my field, it's the professor who offered it. I'd have to work with him for my thesis. He's young and not super experienced, but I like what he does and we're good friends.",
"role": "us... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "I have been offered a PhD position by an inexperienced professor in a great institution in Europe. Despite the fact that the institution is very strong in my area, since the position was offered by this particular professor, I would have... |
[
{
"content": "Is dere a phrase dat means \"too impotant\" and \"attracting too much attentn\"?",
"role": "user"
},
{
"content": "There is the term \"overdominant\": From Collins dictionary: >overdominant [adjective] excessively dominant To begin with, the design aspect is the most striking and argua... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "Is there a phrase that means \"too important\" and \"attracting too much attention\"?",
"type": "smartphone"
},
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "This guy says Olympic powerlifters who do 1-6 rep range can get stronger without getting bigger. Trained Olympic lifters showed over 2 years they got stronger with barely any muscle gain (Hakkinen et al, 1988). I had a similar experience with AST's Max-OT principles. My strength went up a lot, but... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "This guy claims that Olympic powerlifters working in the 1-6 rep range can increase strength without increasing muscle size. > Trained Olympic lifters, for example, were shown over a two-year period to have significant strength increases... |
[
{
"content": "What r th major concerns bout plantin trsss t crate carbon offsets?",
"role": "user"
},
{
"content": "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/\nHow effect... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "What are the major concerns about planting trees to create carbon offsets?",
"type": "keyboard"
},
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "I'm wonderin' how to gen'rate uniformly dist'ributed points on the surf'ce of the 3-d unit sphere? Also aft' er gen'rating those points, what's the best way to vis'ualize and check wheth'r they're truly uniform on the surf'ce $x^2+y^2+z^2=1$?",
"role": "user"
},
{
"content": "A standar... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "I am wondering how to generate uniformly distributed points on the surface of the 3-d unit sphere? Also after generating those points, what is the best way to visualize and check whether they are truly uniform on the surface $x^2+y^2+z^2... |
[
{
"content": "In Shutter Island, at the end of the movie Teddy had a chat with Chuck, in that scene Teddy told to Chuck as, Which would be worse: To live as a monster, or to die as a good man? What's the implicit meaning of this dialogue? Who's the monster as Teddy mentioned? And, who's a good man?",
"role"... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "In Shutter Island, at the end of the movie Teddy had a chat with Chuck, in that scene Teddy told to Chuck as, Which would be worse: To live as a monster, or to die as a good man? What's the implicit meaning of this dialogue? Who's the mo... |
[
{
"content": "T set the minimal distance between flexbox items I'm using ```margin: 0 5px``` on ```.item``` and ```margin: 0 -5px``` on container. For me it seems like a hack, but I can't find any better way to do this. ```#box { display: flex; width: 100px; margin: 0 -5px; }\n.item { background: gray; width: 5... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "To set the minimal distance between flexbox items I'm using ```margin: 0 5px``` on ```.item``` and ```margin: 0 -5px``` on container. For me it seems like a hack, but I can't find any better way to do this. ```#box { display: flex; width... |
[
{
"content": "Is dere Git for data? The key improvement I'd want is to Diff/Merge more intelligently. e.g. in CSV rather than line vs line comparison, it would do cell vs cell.\nAnd ordering is usually not significant, e.g. rows in a CSV, whereas Git does care and presents the user with 'conflicts'.",
"role... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "Is there a Git for data? The key improvement I'd want is to Diff/Merge more intelligently. e.g. in CSV rather than line vs line comparison, it would do cell vs cell.\nAnd ordering is usually not significant, e.g. rows in a CSV, whereas G... |
[
{
"content": "I havin puzzle over where to put the submit button, on the left or the right. In researchin, I noticed that many sites put buttons on the bottom right in dialogue boxes, and on the bottom left in forms.\nIt makes sense: in a dialogue box it seems to denote finality, bein in the endpoint of the win... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "I have been puzzling over where to put the submit button, on the left or the right. In researching, I noticed that many sites put buttons on the bottom right in dialogue boxes, and on the bottom left in forms.\nIt makes sense: in a dialo... |
[
{
"content": "Is it possible to update an object's properties with ```setState```?\nSomething like:\n```this.state = { jasper: { name: 'jasper', age: 28 },\n}\n```\nI have tried: ```this.setState({jasper.name: 'someOtherName'});\n```\nand this:\n```this.setState({jasper: {name: 'someothername'}})\n```\nThe firs... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "Is it at all possible to update object's properties with ```setState```?\nSomething like:\n```this.state = { jasper: { name: 'jasper', age: 28 },\n}\n```\nI have tried: ```this.setState({jasper.name: 'someOtherName'});\n```\nand this:\n`... |
[
{
"content": "Wha is da diffrence betwen Non-Player Characters (NPCs) and bots in video games?",
"role": "user"
},
{
"content": "The key distinction is that a Bot represents an automated player; an NPC, by contrast, isn't playing the game at all. In general, an NPC is a part of the game; a placed ob... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "What is the difference between Non-Player Characters (NPCs) and bots in video games?",
"type": "keyboard"
},
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "Is there anything like ```static class``` in java? What is the meaning of such a class. Do all the methods of the static class need to be ```static``` too? Is it required the other way round, that if a class contains all the static methods, shall the class be static too? What are static classes go... | {
"num_turns": 2,
"perturbation": null,
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "The Episde IV-VI moviess never mention the Emperor's name. In Episdes I-III, we can gueess that Darth Sidious will be the emperor, but what about Chancellor Palpatine? If the audience didn't know that he was Sidious, the impact of the reveal would be far differnt than if they did.",
"role": "u... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "The Episode IV-VI movies never mention the Emperor's name. In Episodes I-III, we can guess that Darth Sidious will be the emperor, but what about Chancellor Palpatine? If the audience didn't know that he was Sidious, the impact of the re... |
[
{
"content": "So, students in Gryffindor are suposed to represent bravery. How does Neville represent bravery, to the point in being accepted into the house. Ive 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.... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "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 h... |
[
{
"content": "Thiz claim was mad popular by being said in the movie The Sosial Netwok. It exactly says: > Did you know ther are mor people with genius IQs living in China than ther are people of any kind living in the Unites States?",
"role": "user"
},
{
"content": "This claim can actually be tested... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "This claim was made popular by being said in the movie The Social Network. It exactly says: > Did you know there are more people with genius IQs living in China than there are people of any kind living in the United States?\n",
"type... |
[
{
"content": "Im tryin to get my program to print out \"banana\" from the dictionary. Whats the simplest way to do this? This is my dictionary: prices = { \"banana\" : 4, \"apple\" : 2, \"orange\" : 1.5, \"pear\" : 3 }",
"role": "user"
},
{
"content": "As of Python 3.7, insertion order is maintained... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "I am trying to get my program to print out ```\"banana\"``` from the dictionary. What would be the simplest way to do this?\nThis is my dictionary: ```prices = { \"banana\" : 4, \"apple\" : 2, \"orange\" : 1.5, \"pear\" : 3\n}\n```",
... |
[
{
"content": "Different cofee packtes advertize different amount of 'Robustah' and 'Arabich'? What do these terms reffer to, and how does it affect the taste of the cofee?",
"role": "user"
},
{
"content": " * One reason that the taste isn't as good for Robusta is that it has more caffeine compared t... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "Different coffee packets advertise different amounts of 'Robusta' and 'Arabica'? What do these terms refer to, and how does it affect the taste of the coffee?",
"type": "keyboard"
},
"source": "stackexchange",
"split": "train"
... |
[
{
"content": "So whenever we want to shoot our flash before taking a photo. we have to charge it first. What is the point of the charging our flashes? Aren't their power directly supplied by the battery of our camera? Please answer for the built in flash on the 2000D and the traditional hot shoe Xenon flashes. ... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "So whenever we want to shoot our flash before taking a photo. we have to charge it first.\nWhat is the point of the charging our flashes? Aren't their power directly supplied by the battery of our camera?\nPlease answer for the built in ... |
[
{
"content": "What are some strategies to maintaine morale and productivitiy after massive layoff? I am not in a manager role, just a lead role, and am asking for myself and my fellow emplyees.",
"role": "user"
},
{
"content": "The situation you're describing is tough. Layoffs have a very real impac... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "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.",
"type": "keyboard"
},
"source": "stackexchan... |
[
{
"content": "Could u plz clearly explain what is the diff btw corr and conv that is done by a filter on an img? I mean in terms of sig pro def I know that conv describes the out of an LTI systm, that is if an LTI systm produces an out due to conv w/ an input systm then the out sig can be described as the res o... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "Could you please clearly explain what is the difference between correlation and convolution that is done by a filter on an image? I mean in terms of signal processing definition I know that convolution describes the output of an LTI syst... |
[
{
"content": "24601 has become a symbol in both the Les Miserables book and musical. Was that number important to him, or was it just a random number he picked? (I don't think so.)",
"role": "user"
},
{
"content": "Yes: it corresponds to the date of Hugo's conception.\nThis is part of a pattern of s... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "24601 has developed into being an iconic part of both the Les Miserables book and musical. Was that number special to him, or was it simply a random number he chose (I doubt it)?",
"type": "keyboard"
},
"source": "stackexchange",... |
[
{
"content": "Why does Michael Crichton use US Customary measurements in hard sci-fi?",
"role": "user"
},
{
"content": "Crichton used both imperial and metric, depending on the context.\nIn the course of one paragraph in The Sphere, he managed to use both! > \"Pacific coral grows two-and-a-half cent... | {
"num_turns": 2,
"perturbation": null,
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "How can hornz, most of 'em havin' onlu thrree buttuns, play all thir notes?",
"role": "user"
},
{
"content": "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... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "How can horns, most of which have only three buttons, play all their notes?",
"type": "smartphone"
},
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "I'm a big fan of worldbuilding. A common sight in sci fi 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... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "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 ... |
[
{
"content": "I've taken a look at the list of surveys taken on scala-lang.org and noticed a curious question: \"Can you name all the uses of “_”?\". Can you? If yes, please do so here. Explanatory examples are appreciated.",
"role": "user"
},
{
"content": "The following is an explanation of the use... | {
"num_turns": 2,
"perturbation": null,
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "My uni always says we need to book a flight thru a travel agent, but the prices he gives me is like $50 more than what I can get by booking online on the flight company's site. Why would a company want me to book a flight thru a travel agent if it's more expensive?",
"role": "user"
},
{
... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "My university usually asks that we book a flight via a travel agent, but the prices he gives me are about $50 higher than the prices I can get by online booking in the flight company's website. Why would a company want me to book a fligh... |
[
{
"content": "Laymans explanation of encryptions backdoors",
"role": "user"
},
{
"content": "There are two somewhat orthogonal concepts in backdooring encryption algorithms: * The backdoor can be explicit or implicit. An explicit backdoor is one that everybody knows it is there. An implicit backdoor... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "Layman's explanation of encryption backdoors",
"type": "keyboard"
},
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "I have a page where a scroll bar containing table rows with divs in them is dynamically generated from the database. Each table row acts like a link, sort of like you'd see on a YouTube playlist next to the video player. When a user visits the page, the option they are on is supposed to go to the ... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "I have a page where a scroll bar containing table rows with divs in them is dynamically generated from the database. Each table row acts like a link, sort of like you'd see on a YouTube playlist next to the video player.\nWhen a user vis... |
[
{
"content": "Supose I have the geographic coordinates of \"Saratoga, California, USA\" as\n```Latitude: 37°15.8298' N\nLongitude: 122° 1.3806' W\n```\nI know from here that in the case of latitude ```1° ≈ 69 miles``` and that longitude varies:\n```1° longitude = cosine (latitude) * length of degree (miles) at ... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "Suppose I have the geographic coordinates of "Saratoga, California, USA" as\n```Latitude: 37°15.8298′ N\nLongitude: 122° 1.3806′ W\n```\nI know from here that in the case of latitude ```1° ≈ 69 miles``` and that longitude varie... |
[
{
"content": "I read a lot that some Norse warriors, when they die, go to Fólkvangr, but some others go to Valhalla. How do they decide who goes where? Why do they need so many \"paradises\"? Citing Wikipedia: > In Norse mythology, Fólkvangr is a meadow ruled by the goddess Freyja where half of those who die in... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "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\" (whatev... |
[
{
"content": "I noticed there is a binary executable /bin/echo on my Ubuntu MATE 17.04 system. I thought that's odd because $ type echo echo is a shell builtin. Cursory testing suggests that /bin/echo does the same thing as the Bash builtin echo: /bin/echo foo foo /bin/echo $USER zanna So, why is there another ... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "I noticed that there is a binary executable ```/bin/echo``` on my Ubuntu MATE 17.04 system.\nI thought, that's odd, because\n```$ type echo\necho is a shell builtin```\nCursory testing suggests that ```/bin/echo``` does the same sort of ... |
[
{
"content": "Wats da diffrense btwn Javascript objekts, klasses n functions?",
"role": "user"
},
{
"content": "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... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "what's the difference between JavaScript objects, classes and functions?",
"type": "keyboard"
},
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "In most introduc'tory algor'thmic classes, notations like O (Big O) and Θ are introduced, and a stud'tant would typically learn to use one of these to find the time complex'ty. However, there are other notations, such as o, Ω and ω. Are there any specific scenari'o's where one notation would be pr... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "In most introductory algorithm classes, notations like $O$ (Big O) and $\\Theta$ are introduced, and a student would typically learn to use one of these to find the time complexity.\nHowever, there are other notations, such as $o$, $\\Om... |
[
{
"content": "Why is Gaia working around Earth orbit? Why not send it to Neptune's orbit?",
"role": "user"
},
{
"content": "Well, you thought about the spatial aspect of a parallax measurement, but not about the temporal one.\nGaia's intention is to measure 3D positions as well as 3D velocities. For... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "Why is Gaia operating around Earth orbit? Why not send it to Neptune's orbit?",
"type": "smartphone"
},
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "I have a string representing a unix timestamp (i.e. \"1284101485\") in Python, and I'd like to convert it to a readable date. When I use ```time.strftime```, I get a ```TypeError```:\n```>>>import time\n>>>print time.strftime(\"%B %d %Y\", \"1284101485\")\nTraceback (most recent call last): File \... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "I have a string representing a unix timestamp (i.e. "1284101485") in Python, and I'd like to convert it to a readable date. When I use ```time.strftime```, I get a ```TypeError```:\n```>>>import time\n>>>print time.strftime(&qu... |
[
{
"content": "In Django, the convention is to put all of your static files (i.e css, js) specific to your app into a folder called static. So the structure would look like this:\n```mysite/ manage.py mysite/ --> (settings.py, etc) myapp/ --> (models.py, views.py, etc) static/\n```\nIn ```mysite/settings.py``` I... | {
"num_turns": 2,
"perturbation": null,
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "Im used to thinking of finite-differences as a special case of finite-elements, on a very constraine grid. What are critera to choose between finite-differences and finite-elements?",
"role": "user"
},
{
"content": "It is possible to write most specific finite difference methods as Pet... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "I am used to thinking of finite-differences as a special case of finite-elements, on a very constrained grid. What are criteria to choose between finite-differences and finite-elements",
"type": "smartphone"
},
"source": "stackex... |
[
{
"content": "How imortant is multithreading in the current software industry?",
"role": "user"
},
{
"content": "It is extremely important.\nWhat is more important though is to understand that multithreading is just one way to solve the asynchrony problem. The technical environment in which many peo... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "How important is multithreading in the current software industry?",
"type": "keyboard"
},
"source": "stackexchange",
"split": "train"
} |
[
{
"content": "Is it true dat diamond prices are based on a monopoly? And who actually runs/owns this supposed monopoly? Is this likely to affect diamond prices if I am interested in buying?",
"role": "user"
},
{
"content": "Yes, the De Beers Group of Companies is a diamond cartel that had complete c... | {
"num_turns": 2,
"perturbation": {
"applied": true,
"original_text": "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?",
"type": "smartphone"
},
"source": "stack... |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 55