Team Ai
Datasetpublic

dewanup007/stackoverflow_qualityrating

Annamoradnejad, I., Habibi, J., & Fazli, M. (2022). Multi-view approach to suggest moderation actions in community question answering sites. Information Sciences, 600, 144-154. @article{annamoradnejad2022multiview, title={Multi-View Approach to Suggest Moderation Actions in Community Question Answering Sites}, author={Annamoradnejad, Issa and Habibi, Jafar and Fazli, Mohammadamin}, journal = {Information Sciences}, volume = {600}, pages = {144-154}, year = {2022}… See the full description on the dataset page: https://huggingface.co/datasets/dewanup007/stackoverflow_qualityrating.

sourceHugging Faceupdated 8mo agoView on Hugging Face
1likes4downloads
eval.csv16280 linesDownload Raw Back to root
1,Unnamed: 0.1,Unnamed: 0,Id,Title,Body,Tags,CreationDate,Y,system20,0,12256,53335899,Can someone explain how this function works? function{} (function,"<p>Can anyone explain to me how this works / what it does (more specifically the ( before the function) as I don't understand why the function after inArray has a ( around it?</p>3 4<pre><code>function geoip(g){window.top.location.href=inArray(g.country_code,filter)?targetVisitorsUrl:allVisitorsUrl}5    function inArray(r,n){for(var t=n.length,e=0;t&gt;e;e++)if(n[e]==r)return!0;return!1}6    (function(g,e,o,i,p){i=g.createElement(e),p=g.getElementsByTagName(e)[0];i.async=0;i.src=o;p.parentNode.insertBefore(i,p)})(document,'script','https://api.ipdata.co/?api-key=test&amp;callback=geoip');7</code></pre>8 9<p>Thank you</p>10",<javascript>,2018-11-16 10:25:28,LQ_CLOSE,"11This a stack overflow question from between 2016-2020 and it can be classified into three categories:12* HQ: High-quality posts without a single edit.13* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.14* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.15You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 16**Do not add any explanation, just give the category as output**."171,1,3100,38921003,add library on makefile,"<p>I execute the guide of ""Using a “Real” Cross-Compiler"" descript on the <a href=""http://www.ev3dev.org/docs/tutorials/using-brickstrap-to-cross-compile/"" rel=""nofollow"">link</a>. In the botton of the guide there is a standard makefile. I write a simple program write in C and with the comand make it run. Now I would to write a program with the library ""ev3c.h"". How can I add this library in the makefile?</p>18",<c><makefile>,2016-08-12 14:59:38,LQ_CLOSE,"19This a stack overflow question from between 2016-2020 and it can be classified into three categories:20* HQ: High-quality posts without a single edit.21* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.22* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.23You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 24**Do not add any explanation, just give the category as output**."252,2,10833,50556824,Set IAM Role Description,"<p>In the AWS Console there is an option to set a description for an IAM Role. How do you do this with CloudFormation? The documentation does not state how to do this. So far I have tried.</p>26 27<pre><code>Resources:28  MyRole:29    Type: ""AWS::IAM::Role""30    Properties:31      Description: My Description32</code></pre>33 34<p>Resulting error: No actual CF error, but this description does not show in the Console</p>35 36<pre><code>Resources:37  MyRole:38    Type: ""AWS::IAM::Role""39    Description: My Description40    Properties:41      .....42</code></pre>43 44<p>Resulting error: ""Encountered unsupported property Description""</p>45 46<pre><code>Resources:47  MyRole:48    Type: ""AWS::IAM::Role""49    Properties:50      Tags:51        Key: Description52        Value: My Description53</code></pre>54 55<p>Resulting error: ""Encountered unsupported property Tags""</p>56 57<pre><code>Resources:58  MyRole:59    Type: ""AWS::IAM::Role""60    Tags:61      Key: Description62      Value: My Description63    Properties:64      .....65</code></pre>66 67<p>Resulting error: ""Encountered unsupported property Tags""</p>68",<amazon-cloudformation>,2018-05-27 21:49:18,HQ,"69This a stack overflow question from between 2016-2020 and it can be classified into three categories:70* HQ: High-quality posts without a single edit.71* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.72* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.73You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 74**Do not add any explanation, just give the category as output**."753,3,649,35289762,What is best tool/framework for android app testing for developer?,"<p>I want to test my app after development, i test it manually,But what is the best tool for do a automation testing, so that i can make sure that app has been tested enough before release. </p>76",<android>,2016-02-09 10:35:20,LQ_CLOSE,"77This a stack overflow question from between 2016-2020 and it can be classified into three categories:78* HQ: High-quality posts without a single edit.79* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.80* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.81You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 82**Do not add any explanation, just give the category as output**."834,4,3326,39309669,"Exception in thread ""main"" java.lang.IllegalStateException","<p>I am studying automation testing tutorial by selenium and was writing my first script in java language and have got that message in ""Console"" at Eclipse.</p>84 85<pre><code>Exception in thread ""main"" java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.gecko.driver system property; for more information, see https://github.com/mozilla/geckodriver. The latest version can be downloaded from https://github.com/mozilla/geckodriver/releases86at com.google.common.base.Preconditions.checkState(Preconditions.java:199)87at org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:109)88at org.openqa.selenium.firefox.GeckoDriverService.access$100(GeckoDriverService.java:38)89at org.openqa.selenium.firefox.GeckoDriverService$Builder.findDefaultExecutable(GeckoDriverService.java:91)90at org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:296)91at org.openqa.selenium.firefox.FirefoxDriver.createCommandExecutor(FirefoxDriver.java:245)92at org.openqa.selenium.firefox.FirefoxDriver.&lt;init&gt;(FirefoxDriver.java:220)93at org.openqa.selenium.firefox.FirefoxDriver.&lt;init&gt;(FirefoxDriver.java:215)94at org.openqa.selenium.firefox.FirefoxDriver.&lt;init&gt;(FirefoxDriver.java:211)95at org.openqa.selenium.firefox.FirefoxDriver.&lt;init&gt;(FirefoxDriver.java:124)96at automationFramework.FirstTestCase.main(FirstTestCase.java:12)97</code></pre>98 99<p>My Code : </p>100 101<pre><code>package automationFramework;102import org.openqa.selenium.WebDriver;103import org.openqa.selenium.firefox.FirefoxDriver;104public class FirstTestCase {105 106public static void main(String[] args) throws InterruptedException {107    // TODO Auto-generated method stub108 109    // Create a new instance of the Firefox driver110    WebDriver driver = new FirefoxDriver();111 112    //Launch the Online Store Website113    driver.get(""http://www.store.demoqa.com"");114 115    // Print a Log In message to the screen116    System.out.println(""Successfully opened the website www.Store.Demoqa.com"");117 118    //Wait for 5 Sec119    Thread.sleep(5);120 121    // Close the driver122    driver.quit();123}124 125}126</code></pre>127 128<p>The Tutorial Link : 129<a href=""http://toolsqa.wpengine.com/selenium-webdriver/first-test-case/"" rel=""nofollow"">http://toolsqa.wpengine.com/selenium-webdriver/first-test-case/</a></p>130",<java><eclipse><selenium><testing><automation>,2016-09-03 17:41:52,LQ_CLOSE,"131This a stack overflow question from between 2016-2020 and it can be classified into three categories:132* HQ: High-quality posts without a single edit.133* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.134* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.135You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 136**Do not add any explanation, just give the category as output**."1375,5,1329,36156887,uWSGI raises OSError: write error during large request,"<p>My application uses nginx, with uWSGI on the server side. When I do a large request (with a response time > 4s), the following appears:</p>138 139<pre><code>SIGPIPE: writing to a closed pipe/socket/fd (probably the client140    disconnected) on request _URL_ (ip XX.XX.XX.XX) !!!141 142uwsgi_response_writev_headers_and_body_do(): Broken pipe143    [core/writer.c line 287] during GET _URL_ (XX.XX.XX.XX)144 145OSError: write error146</code></pre>147 148<p>It seems that uWSGI tries to write in a stream but this stream has already been closed.149When I check nginx log (error.log):</p>150 151<pre><code>upstream prematurely closed connection while reading response152    header from upstream ...153</code></pre>154 155<p>Of course, my client (REST client or browser) receives a 502 error.</p>156 157<p>I always get this error after ~4s.</p>158 159<p>However, I don't know how to prevent this issue.160I tried to set some parameters in my nginx config file:</p>161 162<pre><code>location my_api_url {163    [...]164    uwsgi_buffer_size 32k;165    uwsgi_buffers 8 32k;166    uwsgi_busy_buffers_size 32k;167 168    uwsgi_read_timeout 300;169    uwsgi_send_timeout 300;170 171    uwsgi_connect_timeout 60;172}173</code></pre>174 175<p>But the issue is still here.176I also tried to set these parameters in the uWSGI configuration file (wsgi.ini):</p>177 178<pre><code>buffer-size=8192179ignore-sigpipe=true180ignore-write-errors=true181</code></pre>182 183<p>Before to try to optimize the response time, I hope this issue has a solution. I don't find one that's working in another post. I work with a large amount of data, so my response time, for some case, will be between 4-10s.</p>184 185<p>Hope you can help me :)</p>186 187<p>Thanks a lot in advance.</p>188",<python><nginx><uwsgi>,2016-03-22 14:18:01,HQ,"189This a stack overflow question from between 2016-2020 and it can be classified into three categories:190* HQ: High-quality posts without a single edit.191* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.192* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.193You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 194**Do not add any explanation, just give the category as output**."1956,6,6634,43610441,PHP variable defaults radio button checked,"<p>I have a variable called music.  I would like if that variable = no the no radio button is checked and if it = yes the yes radio button is checked.  Any ideas?  Here's what I have so far but isn't working: </p>196 197<pre><code>&lt;?php198$music = $venue['music'];199echo $music;    200?&gt;201 202No&lt;input type=""radio"" name=""music""  value=""No"" &lt;?php  $music == 'No' ? 'checked' : '' ?&gt;/&gt; 203Yes&lt;input type=""radio"" name=""music""  value=""Yes"" &lt;?php  $music == 'Yes' ? 'checked' : '' ?&gt;/&gt; 204</code></pre>205",<php>,2017-04-25 12:18:12,LQ_CLOSE,"206This a stack overflow question from between 2016-2020 and it can be classified into three categories:207* HQ: High-quality posts without a single edit.208* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.209* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.210You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 211**Do not add any explanation, just give the category as output**."2127,7,857,35530545,overlaping divs within flex child,"I'm trying to position some `div`s on top of each other (i.e., overlapping) within a `div` that is a child flex element. I guess a js fiddle would help: 213 214https://jsfiddle.net/498xpp6n/12/215 216The `#m1` and `#m2` divs should appear on top of each other and take up the whole space of the `#mainpanel` div. (In this example the text 'Mainpanel1 ...' and 'Mainpanel2 ...' should appear on top of each other.) If possible, this should be done without referencing the sizes of external elements, as the layout is dynamic (as can be seen in the fiddle). 217 218I tried using `position: absolute`, but then they are no longer positioned relative to their parent. I've tried various other approaches but none has been successful. 219 220Thanks!",<css><flexbox>,2016-02-20 23:50:59,LQ_EDIT,"221This a stack overflow question from between 2016-2020 and it can be classified into three categories:222* HQ: High-quality posts without a single edit.223* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.224* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.225You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 226**Do not add any explanation, just give the category as output**."2278,8,2221,37558697,How to change date format in hive?,"<p>My table in hive has a filed of date in the format of '2016/06/01'. but i find that it is not in harmory with the format of '2016-06-01'. 228They can not compare for instance. 229Both of them are string .230 So I want to know how to make them in harmory and can compare them. Or on the other hand, how to change the '2016/06/01' to '2016-06-01' so that them can compare.</p>231 232<p>Many thanks.</p>233",<sql><hadoop><hive>,2016-06-01 03:00:38,HQ,"234This a stack overflow question from between 2016-2020 and it can be classified into three categories:235* HQ: High-quality posts without a single edit.236* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.237* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.238You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 239**Do not add any explanation, just give the category as output**."2409,9,10108,49453498,How can i pass string to string[]?,"<p>I need to pass a string with type A,B,C,D,E(Separated with comma) in each string[] value.</p>241 242<pre><code>String Test =""A,B,C,D,E"";243string[] arr1 = new string[5];244</code></pre>245",<c#>,2018-03-23 15:42:45,LQ_CLOSE,"246This a stack overflow question from between 2016-2020 and it can be classified into three categories:247* HQ: High-quality posts without a single edit.248* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.249* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.250You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 251**Do not add any explanation, just give the category as output**."25210,10,2302,37767195,Redux vs services in Angular 2,"<p>I want to ensure I have understood Redux right. My understanding is that it will store the <em>complete</em> state of an application (including all subsystems) like models of all components and cache of fetched data and user generated data. Does that mean I should never use service to load/save state of an component by it's model's id?</p>253 254<p>I'm making an quiz application, which consist of components like <em>Quiz</em>, <em>Category</em>, <em>Question</em> and <em>Choice</em>. Currently each component calls the web API to fetch data and maintains it's own state itself or with the aid of an service which keeps track of everything by id fields.</p>255 256<p>I have dedicated service called <em>AnswerService</em> to maintain the state of selected choices, where each <em>Choice</em> component fetches it's state when rendered.</p>257 258<p>Does migrating to Redux means all of this will be moved to store, and virtually all service will be stateless and dispatch directly to store, and respectively all component models are subscribed from store?</p>259",<javascript><design-patterns><architecture><angular><redux>,2016-06-11 18:27:47,HQ,"260This a stack overflow question from between 2016-2020 and it can be classified into three categories:261* HQ: High-quality posts without a single edit.262* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.263* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.264You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 265**Do not add any explanation, just give the category as output**."26611,11,4415,40568776,Create tuple of multiple items n Times in Python,"<p>A list can be created n times:</p>267 268<pre><code>a = [['x', 'y']]*3 # Output = [['x', 'y'], ['x', 'y'], ['x', 'y']]269</code></pre>270 271<p>But I want to make a tuple in such a way but it not returning the similar result as in the list. I am doing the following:</p>272 273<pre><code>a = (('x','y'))*4 # Output = ('x', 'y', 'x', 'y', 'x', 'y', 'x', 'y')274Expected_output = (('x', 'y'), ('x', 'y'), ('x', 'y'), ('x', 'y'))275</code></pre>276 277<p>Any suggestions ? Thanks.</p>278",<python><tuples>,2016-11-12 23:16:13,HQ,"279This a stack overflow question from between 2016-2020 and it can be classified into three categories:280* HQ: High-quality posts without a single edit.281* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.282* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.283You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 284**Do not add any explanation, just give the category as output**."28512,12,7411,44857085,why not just ping? why ping/pong for websockets?,"<p>TCP can detect whether a packet was sent successfully anyways so instead of waiting for the pong, why not just check if there's an error when the ping is sent? I just don't find the need for pong.</p>286",<tcp><websocket>,2017-07-01 03:31:38,LQ_CLOSE,"287This a stack overflow question from between 2016-2020 and it can be classified into three categories:288* HQ: High-quality posts without a single edit.289* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.290* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.291You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 292**Do not add any explanation, just give the category as output**."29313,13,725,35366477,Setting CSS margin-top so that the content does not appear on screen in any device before scroll?,"<p>Maybe this is a noob question but I cant find any proper solution for this.</p>294 295<p>I have a single page website and there is two div. Lets say div1 and div2. I want to show the first div1 while page load but div2 will be under div1. User only see on scroll but it can not be appear on viewport. </p>296 297<p>I can manage it giving margin-top but it is not responsive. On my device its ok but on other device div2 appears on viewport under the div1.</p>298 299<p>How to fix that?  </p>300",<jquery><html><css>,2016-02-12 15:37:08,LQ_CLOSE,"301This a stack overflow question from between 2016-2020 and it can be classified into three categories:302* HQ: High-quality posts without a single edit.303* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.304* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.305You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 306**Do not add any explanation, just give the category as output**."30714,14,9419,48442426,Delete HTML elements with JS. WORKING JSFIDDLE,"<p>I made code to generate html rows.</p>308 309<p>How do I delete them now?? THis doesn't work</p>310 311<pre><code> $('.deleteEnv').click(function () {312   $(this).parents().remove();313});314</code></pre>315 316<p><div class=""snippet"" data-lang=""js"" data-hide=""false"" data-console=""true"" data-babel=""false"">317<div class=""snippet-code"">318<pre class=""snippet-code-js lang-js prettyprint-override""><code>$('#addEnv').click(function() {319  $('#envVariablesDiv').append('&lt;div class=""col-sm-5 top10""&gt;&lt;div class=""input-group""&gt;&lt;label class=""input-group-addon""&gt;Name&lt;/label&gt;&lt;input id=""envName"" class=""form-control"" name=""envName"" type=""text"" placeholder=""e.g. name1"" /&gt;&lt;/div&gt;&lt;/div&gt;' +320    '&lt;div class=""col-sm-5 top10""&gt;&lt;div class=""input-group""&gt;&lt;label class=""input-group-addon""&gt;Variable&lt;/label&gt;&lt;input class=""form-control"" id=""envVar"" type=""text"" name=""envVar"" placeholder=""e.g. var1"" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=""col-sm-2 top10""&gt;&lt;button type=""button"" class=""btn btn-danger deleteEnv""&gt;&lt;span class=""fa fa-trash""&gt;Delete&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;');321});</code></pre>322<pre class=""snippet-code-html lang-html prettyprint-override""><code>&lt;script src=""https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js""&gt;&lt;/script&gt;323 324&lt;button id=""addEnv""&gt;Add&lt;/button&gt;325&lt;div id=""envVariablesDiv""&gt;326 327&lt;/div&gt;</code></pre>328</div>329</div>330</p>331",<javascript><jquery><html>,2018-01-25 12:03:54,LQ_CLOSE,"332This a stack overflow question from between 2016-2020 and it can be classified into three categories:333* HQ: High-quality posts without a single edit.334* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.335* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.336You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 337**Do not add any explanation, just give the category as output**."33815,15,3294,39265821,How to upload an iPhone app to spp store?,"Can I upload an iPhone app to appstore by using team developer admin account?339If there is any way, please tell me the way step by step.340thank you. ",<ios><app-store>,2016-09-01 07:56:07,LQ_EDIT,"341This a stack overflow question from between 2016-2020 and it can be classified into three categories:342* HQ: High-quality posts without a single edit.343* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.344* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.345You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 346**Do not add any explanation, just give the category as output**."34716,16,7377,44807269,ES6 how to do multiple default exports,"<p>I am still getting a hang of react+redux, and ES6. I am trying to implement socketio, and I come across the problem of having to export socketio connect with my redux's connect.</p>348 349<p><strong>redux connect</strong></p>350 351<pre><code>export default connect(mapStateToProps, matchDispatchToProps)(UserList);352</code></pre>353 354<p><strong>socketio connect</strong></p>355 356<pre><code>export default socketConnect(App);357</code></pre>358 359<p><strong>Question</strong>360What is the correct syntax to make them work together?</p>361",<reactjs><ecmascript-6><react-redux>,2017-06-28 15:49:01,HQ,"362This a stack overflow question from between 2016-2020 and it can be classified into three categories:363* HQ: High-quality posts without a single edit.364* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.365* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.366You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 367**Do not add any explanation, just give the category as output**."36817,17,5547,42000653,How can I transmit the contents of a struct over a named pipe (fifo)?,"<p>I am working on a software project and need to transmit a few values from one process to another. I tried the better half of the day now and its still not working. Could someone write me a brief example of how to do this?</p>369",<c><struct><pipe><fifo>,2017-02-02 11:09:43,LQ_CLOSE,"370This a stack overflow question from between 2016-2020 and it can be classified into three categories:371* HQ: High-quality posts without a single edit.372* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.373* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.374You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 375**Do not add any explanation, just give the category as output**."37618,18,8369,46370836,Android - Movable/Draggable Floating Action Button (FAB),"<p>I am using a <a href=""https://developer.android.com/reference/android/support/design/widget/FloatingActionButton.html"" rel=""noreferrer"">FloatingActionButton</a> in my app. Occasionally, it overlaps essential content, so I would like to make it so the user can drag the FAB out of the way.</p>377 378<p>No drag and drop functionality, per se, is required. It just needs to be movable. The docs do not mention this, but I'm sure I've seen such functionality in other apps.</p>379 380<p>Can you anyone advise / provide a code snippet on how to do it (preferably in XML).</p>381",<android><floating-action-button>,2017-09-22 18:10:19,HQ,"382This a stack overflow question from between 2016-2020 and it can be classified into three categories:383* HQ: High-quality posts without a single edit.384* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.385* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.386You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 387**Do not add any explanation, just give the category as output**."38819,19,7600,45183102,How to create feature vector in Scala?,"<p>I am reading a csv as a data frame in scala as below:</p>389 390<pre><code>+-----------+------------+391|x          |y           |392+-----------+------------+393|          0|           0|394|          0|          33|395|          0|          58|396|          0|          96|397|          0|           1|398|          1|          21|399|          0|          10|400|          0|          65|401|          1|           7|402|          1|          28|403+-----------+------------+404</code></pre>405 406<p>Then I create the label and feature vector as below:</p>407 408<pre><code>val assembler =  new VectorAssembler()409  .setInputCols(Array(""y""))410  .setOutputCol(""features"")411 412 413    val output = assembler.transform(daf).select($""x"".as(""label""), $""features"")414 415  println(output.show)416</code></pre>417 418<p>The output is as:</p>419 420<pre><code>+-----------+------------+ 421|label | features | 422+-----------+------------+ 423| 0.0| 0.0| 424| 0.0| 33.0| 425| 0.0| 58.0| 426| 0.0| 96.0| 427| 0.0| 1.0| 428| 0.0| 21.0| 429| 0.0| 10.0| 430| 1.0| 65.0| 431| 1.0| 7.0| 432| 1.0| 28.0| 433+-----------+------------+434</code></pre>435 436<p>But instead of this I  want the output to be like in the below format </p>437 438<pre><code>+-----+------------------+ 439|label| features | 440+-----+------------------+ 441| 0.0|(1,[1],[0]) | 442| 0.0|(1,[1],[33]) | 443| 0.0|(1,[1],[58]) | 444| 0.0|(1,[1],[96]) | 445| 0.0|(1,[1],[1]) | 446| 1.0|(1,[1],[21]) | 447| 0.0|(1,[1],[10]) | 448| 0.0|(1,[1],[65]) | 449| 1.0|(1,[1],[7]) | 450| 1.0|(1,[1],[28]) | 451+-----------+------------+452</code></pre>453 454<p>I tried </p>455 456<pre><code> val assembler =  new VectorAssembler()457      .setInputCols(Array(""y"").map{x =&gt; ""(1,[1],""+x+"")""})458      .setOutputCol(""features"")459</code></pre>460 461<p>But did not work.462Any help is appreciated.</p>463",<scala><apache-spark><dataframe>,2017-07-19 07:00:11,LQ_CLOSE,"464This a stack overflow question from between 2016-2020 and it can be classified into three categories:465* HQ: High-quality posts without a single edit.466* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.467* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.468You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 469**Do not add any explanation, just give the category as output**."47020,20,14227,58152451,How to get a forked code files into my local computer from GitHub?,"<p>I am new to GitHub. I have forked a big sized codebase from an instructor who has posted it on GitHub. Now it is under my GitHub account. I want to get the code into my local computer so that I could work on it. I see an option, Clone\Download. I think if I use it, it will download a disconnected copy of the code files into my local computer which I don't want to do. I would like to make changes in my local computer and then push the changes to GitHub.</p>471",<git><github>,2019-09-29 05:17:18,LQ_CLOSE,"472This a stack overflow question from between 2016-2020 and it can be classified into three categories:473* HQ: High-quality posts without a single edit.474* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.475* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.476You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 477**Do not add any explanation, just give the category as output**."47821,21,14595,59238592,sql query PDO bindParam,"<p>I was trying to insert email and email password to a table where it already contains the username and password. the query i am using : </p>479 480<pre><code>&lt;?php481 482    session_start();483    include 'config.php';   484    $username = $_SESSION['username'];485    $uname = $_POST['email'];486    $pass = $_POST['passne'];487 488    $sql = ""INSERT INTO users(email, emailpassword) VALUES (:uname, :pass) WHERE username = :username"";489    $query = $conn-&gt;prepare($sql);490    $query-&gt;bindParam(':uname', $uname, PDO::PARAM_STR);491    $query-&gt;bindParam(':pass', $pass, PDO::PARAM_STR);492    $query-&gt;bindParam(':username', $username, PDO::PARAM_STR);493    $query-&gt;execute();494    echo ""Success"";495?&gt;496</code></pre>497 498<p>but it shows this error</p>499 500<p><strong>Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE username = 'thansiya123'' at line 1 in C:\xampp\htdocs\b\update.php:14 Stack trace: #0 C:\xampp\htdocs\b\update.php(14): PDOStatement->execute() #1 {main} thrown in C:\xampp\htdocs\b\update.php on line 14</strong></p>501",<php><mysql><pdo>,2019-12-08 18:31:12,LQ_CLOSE,"502This a stack overflow question from between 2016-2020 and it can be classified into three categories:503* HQ: High-quality posts without a single edit.504* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.505* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.506You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 507**Do not add any explanation, just give the category as output**."50822,22,5696,42208721,How to connect Google Sheets to Database,"<p>I'm trying to auto-populate some raw data on a sheet in my google sheets file with a query.</p>509 510<p>It doesn't look like sheets has any built in functionality to do so like Microsoft Excel does.</p>511 512<p>Am I missing something?  I found one add-on that has since been discontinued and no longer works called data everywhere: <a href=""https://www.dataeverywhere.com/use-database-sheets"" rel=""noreferrer"">https://www.dataeverywhere.com/use-database-sheets</a></p>513 514<p>Is there something else that has replaced that?</p>515",<google-sheets><google-sheets-api>,2017-02-13 16:19:00,HQ,"516This a stack overflow question from between 2016-2020 and it can be classified into three categories:517* HQ: High-quality posts without a single edit.518* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.519* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.520You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 521**Do not add any explanation, just give the category as output**."52223,23,9445,48476547,Make the existing column of a table as NA using IronPython - Spotfire,"Tablename : Employee523Columns : EmpId, Salary, Designation524 525On click of the button, it should make the column ""Salary"" as NA526To be done using IronPython",<ironpython><spotfire>,2018-01-27 14:01:34,LQ_EDIT,"527This a stack overflow question from between 2016-2020 and it can be classified into three categories:528* HQ: High-quality posts without a single edit.529* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.530* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.531You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 532**Do not add any explanation, just give the category as output**."53324,24,7817,45498874,Not able to edit the registry in c#?,"<p>i have code which is used for setting windows10 auto login using c#,534this code was written way back, i hope it worked then.</p>535 536<p>but when i tested it now it is not able to set the key value in registry.</p>537 538<pre><code>using System;539using System.Collections.Generic;540using System.Linq;541using System.Text;542using System.Threading.Tasks;543 544namespace engage.client.setup545{546 547using Microsoft.Win32;548using System;549using System.DirectoryServices;550 551public class AutoLogin552{553    public static void AutoLoginUser()554    {555        try556        {557            DirectoryEntry AD = new DirectoryEntry(""WinNT://"" +558                                Environment.MachineName + "",computer"");559            DirectoryEntry NewUser = AD.Children.Add(""EngageUser"", ""user"");560            NewUser.Invoke(""SetPassword"", new object[] { ""engage"" });561            NewUser.Invoke(""Put"", new object[] { ""Description"", ""EngageUser"" });562            NewUser.CommitChanges();563            DirectoryEntry grp;564            grp = AD.Children.Find(""Administrators"", ""group"");565            if (grp != null) { grp.Invoke(""Add"", new object[] { NewUser.Path.ToString() }); }566            Console.WriteLine(""Account Created Successfully..."");567            RemoveDefaultLogin();568            WriteDefaultLogin(""EngageUser"", ""engage"");569            Console.WriteLine(""please restart your system"");570            Console.ReadLine();571        }572        catch (Exception ex)573        {574            Console.WriteLine(""error""+ex.Message);575            Console.ReadLine();576 577        }578    }579    public static void WriteDefaultLogin(string usr, string pwd)580    {581        Console.WriteLine(""Setting autologin..."");582        RegistryKey rekey = Registry.LocalMachine.CreateSubKey583            (""SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon"");584 585        Console.WriteLine(""before setting:"" + rekey.GetValue(""AutoAdminLogon"")+ rekey.GetValue(""DefaultUserName"") + rekey.GetValue(""DefaultPassword""));586 587 588        if (rekey == null)589            Console.WriteLine590                (""There has been an error while trying to write to windows registry"");591        else592        {593            rekey.SetValue(""mytestingkey"", ""worked"");594            rekey.SetValue(""AutoAdminLogon"", ""1"");595           // Console.WriteLine(""set:autoadminlogon:1""+""/n  reg set vlaue:""+rekey.GetValue(""AutoAdminLogon""));596            rekey.SetValue(""DefaultUserName"", usr);597           // Console.WriteLine(""set:username""+usr+ ""/n  reg set vlaue:"" + rekey.GetValue(""DefaultUserName""));598            rekey.SetValue(""DefaultPassword"", pwd);599           // Console.WriteLine(""set:password""+ pwd+""/n reg set vlaue :"" + rekey.GetValue(""DefaultPassword""));600        }601        Console.WriteLine(""after setting"" + rekey.GetValue(""AutoAdminLogon"") + rekey.GetValue(""DefaultUserName"") + rekey.GetValue(""DefaultPassword""));602        rekey.Flush();603        rekey.Close();604    }605 606    public static void RemoveDefaultLogin()607    {608        RegistryKey rekey = Registry.LocalMachine.CreateSubKey609            (""SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon"");610        if (rekey == null)611            Console.WriteLine(""Registry write error"");612        else613        {614            rekey.DeleteValue(""DefaultUserName"", false);615            rekey.DeleteValue(""DefaultPassword"", false);616            rekey.DeleteValue(""AutoAdminLogon"", false);617        }618 619        rekey.Close();620    }621 622  }623  }624</code></pre>625 626<p>why i am not able to change the key even if getvalue method show the updated value, in registry it is not updating.</p>627",<c#>,2017-08-04 05:30:21,LQ_CLOSE,"628This a stack overflow question from between 2016-2020 and it can be classified into three categories:629* HQ: High-quality posts without a single edit.630* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.631* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.632You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 633**Do not add any explanation, just give the category as output**."63425,25,6678,43718300,How do i find an integer at position x in a linked list?,"<pre><code>if (choice == 1)635            {   for (int x = 1; x &lt;= Small.Count()-1;x++)636            {637                Number min = (Number)Small[x-1]; // i know this how you do it for an array list638                int minpos = x - 1;639</code></pre>640 641<p>Number is the value in the list i want to find and small is the list</p>642",<c#>,2017-05-01 11:21:42,LQ_CLOSE,"643This a stack overflow question from between 2016-2020 and it can be classified into three categories:644* HQ: High-quality posts without a single edit.645* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.646* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.647You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 648**Do not add any explanation, just give the category as output**."64926,26,9611,48693987,python list argument in argparse module,"<p>suppose I want a command like <br/>650<code>python test.py --layer 3 --sizes 100,100,100 </code></p>651 652<p>where <code>layer == len(sizes) </code><br/>653and sizes is a comma separated list</p>654 655<p>please help me with this command </p>656",<python><command><argparse>,2018-02-08 20:12:06,LQ_CLOSE,"657This a stack overflow question from between 2016-2020 and it can be classified into three categories:658* HQ: High-quality posts without a single edit.659* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.660* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.661You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 662**Do not add any explanation, just give the category as output**."66327,27,5623,42104040,Angular 2: How to provide interpolation with [routerLink],"<p>I have routing defined in routing.ts file in this way.</p>664 665<pre><code>const routesapp: Routes= [666{path:'user/id', component:UserComponent}667];668export const:routing ModuleWithProviders = RouterModule.forRoot(routesapp, {useHash:true});669</code></pre>670 671<p>and in HTML</p>672 673<pre><code>&lt;li class =""Some class""&gt;674    &lt;a href= ""#/user/{{id}}""&gt; Link &lt;/a&gt;675&lt;/li&gt;676</code></pre>677 678<p>How do I convert this to work with [routerLink]? From previous posts I learnt that we cannot add interpolation with [routerLink], i.e [routerLink] = ['user/{{id}}']</p>679 680<p>I want to add interpolation in HTML only and I cannot add it in routing file. Also, How to override useHash of routing file in HTML? </p>681",<angular><angular2-routing>,2017-02-08 03:16:36,HQ,"682This a stack overflow question from between 2016-2020 and it can be classified into three categories:683* HQ: High-quality posts without a single edit.684* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.685* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.686You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 687**Do not add any explanation, just give the category as output**."68828,28,10020,49333582,PortAudio library not found by sounddevice,"<p>I have been working with a python program which uses <code>sounddevice</code> module to play audio. The program works fine in my office pc (running <strong>Ubuntu 17.10</strong>), but not in my home pc (running <strong>Linux Mint 18.3</strong>). It generates the following error:</p>689 690<pre><code>Traceback (most recent call last):691  File ""...path/to/my/code.py"", line 11, in &lt;module&gt;692    import sounddevice as sd693  File ""/home/arif/anaconda3/lib/python3.6/site-packages/sounddevice.py"", line 64, in &lt;module&gt;694    raise OSError('PortAudio library not found')695OSError: PortAudio library not found 696</code></pre>697 698<p>How can I fix this problem? </p>699",<python><python-sounddevice>,2018-03-17 07:26:33,HQ,"700This a stack overflow question from between 2016-2020 and it can be classified into three categories:701* HQ: High-quality posts without a single edit.702* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.703* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.704You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 705**Do not add any explanation, just give the category as output**."70629,29,9330,48324701,Google Compute Engine Ubuntu 17.04 zesty does no longer have a Release file,"<p>I have just created a new Google Cloud Compute Engine server using Ubuntu 17.04 as the boot disk:</p>707 708<pre><code>Ubuntu 17.04709amd64 zesty image built on 2017-12-08710</code></pre>711 712<p>Before doing anything else, if I try to run <code>sudo apt-get update</code> I receive the following errors:</p>713 714<pre><code>Ign:1 http://europe-west1.gce.archive.ubuntu.com/ubuntu zesty InRelease715Ign:2 http://europe-west1.gce.archive.ubuntu.com/ubuntu zesty-updates 716 717InRelease718Ign:3 http://europe-west1.gce.archive.ubuntu.com/ubuntu zesty-backports InRelease719Ign:4 http://security.ubuntu.com/ubuntu zesty-security InRelease             720Err:5 http://europe-west1.gce.archive.ubuntu.com/ubuntu zesty Release        721  404  Not Found [IP: 35.195.241.40 80]722Err:6 http://europe-west1.gce.archive.ubuntu.com/ubuntu zesty-updates Release723  404  Not Found [IP: 35.195.241.40 80]724Err:7 http://europe-west1.gce.archive.ubuntu.com/ubuntu zesty-backports Release725  404  Not Found [IP: 35.195.241.40 80]726Err:8 http://security.ubuntu.com/ubuntu zesty-security Release               727  404  Not Found [IP: 91.189.88.161 80]728Hit:9 http://archive.canonical.com/ubuntu zesty InRelease                    729Reading package lists... Done                          730E: The repository 'http://europe-west1.gce.archive.ubuntu.com/ubuntu zesty Release' does no longer have a Release file.731N: Updating from such a repository can't be done securely, and is therefore disabled by default.732N: See apt-secure(8) manpage for repository creation and user configuration details.733E: The repository 'http://europe-west1.gce.archive.ubuntu.com/ubuntu zesty-updates Release' does no longer have a Release file.734N: Updating from such a repository can't be done securely, and is therefore disabled by default.735N: See apt-secure(8) manpage for repository creation and user configuration details.736E: The repository 'http://europe-west1.gce.archive.ubuntu.com/ubuntu zesty-backports Release' does no longer have a Release file.737N: Updating from such a repository can't be done securely, and is therefore disabled by default.738N: See apt-secure(8) manpage for repository creation and user configuration details.739E: The repository 'http://security.ubuntu.com/ubuntu zesty-security Release' does no longer have a Release file.740N: Updating from such a repository can't be done securely, and is therefore disabled by default.741N: See apt-secure(8) manpage for repository creation and user configuration details.742</code></pre>743 744<p>Looking at <a href=""http://europe-west1.gce.archive.ubuntu.com/ubuntu/"" rel=""noreferrer"">http://europe-west1.gce.archive.ubuntu.com/ubuntu/</a> I can see updates from today less than an hour ago.</p>745 746<p>Is this an error on Google's side or have I done something wrong?</p>747",<google-cloud-platform><google-compute-engine><apt><ubuntu-17.04>,2018-01-18 15:24:04,HQ,"748This a stack overflow question from between 2016-2020 and it can be classified into three categories:749* HQ: High-quality posts without a single edit.750* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.751* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.752You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 753**Do not add any explanation, just give the category as output**."75430,30,7185,44542165,Problems in IDLE: can't install numpy,"<p>I install some libraries like numpy from my terminal but it doesn't seem to install on my IDLE which says ""no module called numpy"". What might be the problem?</p>755",<python><numpy><python-idle>,2017-06-14 10:29:55,LQ_CLOSE,"756This a stack overflow question from between 2016-2020 and it can be classified into three categories:757* HQ: High-quality posts without a single edit.758* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.759* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.760You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 761**Do not add any explanation, just give the category as output**."76231,31,5737,42256624,Dictionary of Pandas Dataframes to MultiIndex Dataframe,"<p>I have a dict of Pandas Dataframes, say</p>763 764<pre><code>d = {A: pd.DataFrame([[0, 1, 2], [2, 2, 4]),765     B: pd.DataFrame([[1, 1, 1], [2, 2, 2]}766</code></pre>767 768<p>and I'd like to change it into a MultiIndex DataFrame like this:</p>769 770<pre><code>A 0   0, 1, 2771  1   2, 2, 4772B 0   1, 1, 1773  1   2, 2, 2774</code></pre>775",<python><pandas>,2017-02-15 17:48:03,HQ,"776This a stack overflow question from between 2016-2020 and it can be classified into three categories:777* HQ: High-quality posts without a single edit.778* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.779* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.780You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 781**Do not add any explanation, just give the category as output**."78232,32,6374,43200826,mysql_fetch_array() recieving null value,"<p>Cant figure out why my query isn't returning the 'make'. I've checked the SQL many times.</p>783 784<pre><code>$DBConnect = @mysqli_connect(""host.com"", ""name"",""pass"", ""database"")785    Or die (""&lt;p&gt;Unable to connect to the database server.&lt;/p&gt;"". ""&lt;p&gt;Error code "". mysqli_connect_errno()."": "". mysqli_connect_error()). ""&lt;/p&gt;""; 786 787$query = ""SELECT make FROM inventory"";788$makeresult= @mysql_query($DBConnect, $query);789 790while($row = mysql_fetch_array($makeresult)) {791    $options .=""&lt;option&gt;"" . $row['make'] . ""&lt;/option&gt;"";792}793</code></pre>794",<php>,2017-04-04 07:26:30,LQ_CLOSE,"795This a stack overflow question from between 2016-2020 and it can be classified into three categories:796* HQ: High-quality posts without a single edit.797* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.798* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.799You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 800**Do not add any explanation, just give the category as output**."80133,33,5755,42277666,Crop picture on Android phone,"<p>Have a question.</p>802 803<p>Can anyone give me some example of how to write an image cropping functionality for Android (taking pictures from library of camera)? I have found plenty of examples with staff like:804<strong>Intent cropIntent = new Intent(""com.android.camera.action.CROP"");</strong>805However, this kind of approach does not work on all the phones.806Libraries are also not suitable in my case.</p>807 808<p>Thank You in advance!</p>809",<java><android><crop>,2017-02-16 15:06:50,LQ_CLOSE,"810This a stack overflow question from between 2016-2020 and it can be classified into three categories:811* HQ: High-quality posts without a single edit.812* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.813* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.814You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 815**Do not add any explanation, just give the category as output**."81634,34,3423,39416430,Reassigning a return variable to a function in Python,"<p>I am trying to figure out why I am getting a ""SyntaxError: invalid syntax "" the variable title is highlighted red </p>817 818<pre><code>from urllib.request import urlopen819from urllib.error import HTTPError820from urllib.error import URLError821from bs4 import BeautifulSoup822def getTitle(url):823    try:824    html=urlopen(url)825    except HTTPError as e:826    return None827    try:828    bsObj=BeautifulSoup(html.read())829    title=bsObj.body.h1830    except AttributeError as e:831    return None832    return title833title=getTitle(""http://....html"")834</code></pre>835",<python>,2016-09-09 16:57:56,LQ_CLOSE,"836This a stack overflow question from between 2016-2020 and it can be classified into three categories:837* HQ: High-quality posts without a single edit.838* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.839* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.840You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 841**Do not add any explanation, just give the category as output**."84235,35,10598,50203875,How to use Spring WebClient to make multiple calls simultaneously?,"<p>I want to execute 3 calls simultaneously and process the results once they're all done. </p>843 844<p>I know this can be achieved using AsyncRestTemplate as it is mentioned here <a href=""https://stackoverflow.com/questions/35214384/how-to-use-asyncresttemplate-to-make-multiple-calls-simultaneously"">How to use AsyncRestTemplate to make multiple calls simultaneously?</a></p>845 846<p>However, AsyncRestTemplate is deprecated in favor of WebClient. I have to use Spring MVC in the project but interested if I can use a WebClient just to execute simultaneous calls. Can someone advise how this should be done properly with WebClient? </p>847",<spring><spring-boot><spring-webflux><asyncresttemplate>,2018-05-06 19:48:42,HQ,"848This a stack overflow question from between 2016-2020 and it can be classified into three categories:849* HQ: High-quality posts without a single edit.850* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.851* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.852You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 853**Do not add any explanation, just give the category as output**."85436,36,13867,57268574,JavaScript: Match any element within array and return the match,"<p>I need to match any item within 2 array's and then return the value of that match. For example:</p>855 856<pre><code>let arr1 = [ 'grid-view' ,'list-view' ];857let arr2 = [ 'test', 'list-view' ];858</code></pre>859 860<p>From the above I would get <code>list-view</code> returned. </p>861 862<p>This is what I have at the moment, however it returns true, whereas I need the actual match. Trying avoid doing horrid big loops and having too much code. </p>863 864<p><div class=""snippet"" data-lang=""js"" data-hide=""false"" data-console=""true"" data-babel=""false"">865<div class=""snippet-code"">866<pre class=""snippet-code-js lang-js prettyprint-override""><code>let switches = document.querySelectorAll('[data-switch]');867let switchesClasses = [].slice.call(switches).map(x =&gt; x.dataset.switchClass);868 869const found = Array.from(document.querySelector('.test').classList).some(r =&gt; switchesClasses.includes(r));870 871console.log(found);</code></pre>872<pre class=""snippet-code-html lang-html prettyprint-override""><code>&lt;div class=""showroom-layout-toggle"" data-switch-group=""showroom_layout"" data-switch-target="".test"" data-switch-cookie&gt;873  &lt;button class=""grid-toggle"" data-switch data-switch-class=""grid-view""&gt;Grid&lt;/button&gt;874  &lt;button class=""grid-toggle"" data-switch data-switch-class=""list-view""&gt;List&lt;/button&gt;875&lt;/div&gt;876 877&lt;div class=""test list-view""&gt;Hello&lt;/div&gt;</code></pre>878</div>879</div>880</p>881",<javascript>,2019-07-30 09:33:07,LQ_CLOSE,"882This a stack overflow question from between 2016-2020 and it can be classified into three categories:883* HQ: High-quality posts without a single edit.884* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.885* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.886You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 887**Do not add any explanation, just give the category as output**."88837,37,3515,39526535,Elegant Way of Ignoring Specific Python ListElements,"<p>I have recently started trying to learn Python, and I try to improve the way I write code, and make it more ""Pythonic"".889Therefore, it would really be nice if someone could explain to me if the following can be formulated more elegantly.890Hopefully this is not a duplicate (I checked, but you never know)</p>891 892<p>I have a list of 5 elements, and I want to return specific elements.893Let's say for example that I have [1, 2, 3, 3, 4].894I already have a function double(list), that if a list element exists twice returns that element (in this case 3).</p>895 896<p>I would like to generate from this list a tuple that contains the numbers that are exist only once (1, 2, 4).</p>897 898<p>One option is the following:</p>899 900<ol>901<li>Run the double(list) function and get the value of the element that is double.</li>902<li>Create an empty tuple</li>903<li>Iterate over the list items, and if the value is not equal to what the double(list) function returned, add it to the tuple</li>904<li>Return the tuple.</li>905</ol>906 907<p>My question is: is there a more elegant/Pythonic way of doing this?908(in one line, using maybe a more complex expression?)</p>909 910<p>Thanks in advance</p>911",<python><list><duplicates>,2016-09-16 08:03:48,LQ_CLOSE,"912This a stack overflow question from between 2016-2020 and it can be classified into three categories:913* HQ: High-quality posts without a single edit.914* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.915* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.916You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 917**Do not add any explanation, just give the category as output**."91838,38,9601,48688680,Can not get stdio.h to work in c# in visual studio 2017,"<p>I can not get stdio.h to work for my console application in visual studio 2017. I have researched for about 3 days now and have found nothing useful. All of the help topics I could find were for c++. It does work when I make a c++ console application but not when I create a c# console application. <a href=""https://i.stack.imgur.com/MbMkf.png"" rel=""nofollow noreferrer"">stdio.h</a> <a href=""https://i.stack.imgur.com/mkCfJ.png"" rel=""nofollow noreferrer"">This is the error I get</a>919I am trying to learn c# and I can't figure out how to get this to work so any help would be appreciated. </p>920",<c#><visual-studio><visual-studio-2017>,2018-02-08 15:09:44,LQ_CLOSE,"921This a stack overflow question from between 2016-2020 and it can be classified into three categories:922* HQ: High-quality posts without a single edit.923* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.924* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.925You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 926**Do not add any explanation, just give the category as output**."92739,39,11549,51874513,I need to prepare a file with 10 columns and 1 lakh rows by using java... can anyone pls pls help me with this..,"private static final String SAMPLE_CSV_FILE_PATH = ""./users.csv"";928 929    public static void main(String[] args) throws IOException {930        try (931            Reader reader = Files.newBufferedReader(Paths.get(SAMPLE_CSV_FILE_PATH));932            CSVParser csvParser = new CSVParser(reader, CSVFormat.DEFAULT);933        ) {934            for (CSVRecord csvRecord : csvParser) {935                // Accessing Values by Column Index936                String name = csvRecord.get(0);937                String email = csvRecord.get(1);938                String phone = csvRecord.get(2);939                String country = csvRecord.get(3);940 941                System.out.println(""Record No - "" + csvRecord.getRecordNumber());942                System.out.println(""---------------"");943                System.out.println(""Name : "" + name);944                System.out.println(""Email : "" + email);945                System.out.println(""Phone : "" + phone);946                System.out.println(""Country : "" + country);947                System.out.println(""---------------\n\n"");948 949this is the just example of few rows and columns... Pls anyone suggest me how to make a file with 10 columns and 1 lakh rows.. and how to insert data by coding only... i am new to java.. i was confused.. pls someone help me out... its a task for me..pls ",<java>,2018-08-16 10:08:03,LQ_EDIT,"950This a stack overflow question from between 2016-2020 and it can be classified into three categories:951* HQ: High-quality posts without a single edit.952* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.953* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.954You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 955**Do not add any explanation, just give the category as output**."95640,40,3926,39993361,ArrayList type variable assigned to another is passed as reference in Android Java?,"I am developing an Android Project. First of all, I am not a Java developer. Now I want to know something in about java programming. Especially about ArrayList. Please see my code below957           958            ArrayList<Bitmap> previewBitmaps = new ArrayList<Bitmap>();959            //initialize values - total 3 elements960            previewBitmaps.remove(2);961            ArrayList<Bitmap> temp = new ArrayList<Bitmap>();962            temp = previewBitmaps;963            previewBitmaps.removeAll(previewBitmaps);964            //here temp size become zero cause previewBitmaps cleared965 966As you can see in the above code, I remove an item from previewBitmaps, then I assigned the rest 2 items to temp. So size of temp will be 2. Then I clear previewBitmaps. So previewBitmaps size become 0. But the problem is temp size also become 0. Why? Actually temp size should be 2. Right? What I am not clear is that ""Is it assigned as reference variable in C#""? Like that? Why? How can I clear that reference. Please explain me.967",<java><android><arraylist>,2016-10-12 07:55:46,LQ_EDIT,"968This a stack overflow question from between 2016-2020 and it can be classified into three categories:969* HQ: High-quality posts without a single edit.970* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.971* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.972You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 973**Do not add any explanation, just give the category as output**."97441,41,13085,55224182,What does the complete.cases() code do for the dataframe?,"<p>I ran a summary of my data in R and got top results for my data and then I ran complete.cases(df) and reran another summary and the content in my top results changed. What does the complete.cases(df) do to your dataset? </p>975",<r><dataframe><rstudio>,2019-03-18 14:55:40,LQ_CLOSE,"976This a stack overflow question from between 2016-2020 and it can be classified into three categories:977* HQ: High-quality posts without a single edit.978* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.979* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.980You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 981**Do not add any explanation, just give the category as output**."98242,42,2043,37313780,How can I start php-fpm in a Docker container by default?,"<p>I have this Docker image - </p>983 984<pre><code>FROM centos:7985MAINTAINER Me &lt;me.me&gt;986RUN yum update -y987RUN yum install -y git https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm988 989RUN yum install -y ansible990RUN git clone https://github.com/.../dockerAnsible.git991RUN ansible-playbook dockerFileBootstrap.yml992RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == systemd-tmpfiles-setup.service ] || rm -f $i; done); \993rm -f /lib/systemd/system/multi-user.target.wants/*;\994rm -f /etc/systemd/system/*.wants/*;\995rm -f /lib/systemd/system/local-fs.target.wants/*; \996rm -f /lib/systemd/system/sockets.target.wants/*udev*; \997rm -f /lib/systemd/system/sockets.target.wants/*initctl*; \998rm -f /lib/systemd/system/basic.target.wants/*;\999rm -f /lib/systemd/system/anaconda.target.wants/*;1000 1001VOLUME [ ""/sys/fs/cgroup"" ]1002EXPOSE 80 443 33061003 1004CMD [""/usr/sbin/httpd"", ""-D"", ""FOREGROUND""]1005</code></pre>1006 1007<p>Basically, I want it so that php-fpm starts when the docker container starts.  I have php-fpm working if I manually go into the container and turn it on with <code>/usr/sbin/php-fpm</code>.  </p>1008 1009<p>I tried it inside of my ansible file with this command (it didn't work).  I tried using the service module as well with no luck.-</p>1010 1011<pre><code> - name: Start php fpm1012   command: /usr/sbin/php-fpm1013</code></pre>1014 1015<p>How can I have php-fpm running along with apache?</p>1016",<php><docker><ansible>,2016-05-19 04:04:49,HQ,"1017This a stack overflow question from between 2016-2020 and it can be classified into three categories:1018* HQ: High-quality posts without a single edit.1019* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.1020* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.1021You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 1022**Do not add any explanation, just give the category as output**."102343,43,1499,36417694,Zebra Printer Plugin Apache Cordova/PhoneGap,"I notice your quite an expert with Apache Cordova/Phone Gap. I seek your advise and would also like to compensate you for your time. I am attempting to build an application for displaying my inventory online. Part of that requires to print a label and apply it to my inventory. The application itself works fine. The Problem is with the Printer i have chosen. I have purchased a iMZ320 Zebra printer. I need the plugin to have it work on my current application this has proven to be beyond the skill set of my team.1024 1025https://www.npmjs.com/package/cordova-plugin-zbtprinter1026 1027I noticed your plugin can it be modified to work on both IOS and Android applications.1028 1029We are not using a desktop app, we only developed on android and iOS1030Our target devices are Android 4/5/6 and iOS 7/8/91031We use the CLI to initialize project code, then switch to eclipse to continue development.1032 1033Thanks For your time,1034 1035Mr. Italo San Martin",<cordova><phonegap-plugins><phonegap-cli>,2016-04-05 05:19:28,LQ_EDIT,"1036This a stack overflow question from between 2016-2020 and it can be classified into three categories:1037* HQ: High-quality posts without a single edit.1038* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.1039* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.1040You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 1041**Do not add any explanation, just give the category as output**."104244,44,6213,42991351,Python: How to create a range for input(),"<p>I'm in the middle of writing some simple Python code, however, I'm still a novice and I've encountered a problem that I have been unable to solve.</p>1043 1044<pre><code>name = raw_input(""What is your name? "")1045 1046maths = int(input(""Enter your maths test result: ""))1047psychology = int(input(""Enter your psychology test result: ""))1048economics = int(input(""Enter your economics test result: ""))1049IT = int(input(""Enter your IT test result: ""))1050religion = int(input(""Enter your religion test result: ""))1051biology = int(input(""Enter your biology test result: ""))1052average = (maths + psychology + economics + IT + religion + biology)/61053print ""Your average test score is: "", average1054minimum = min(maths, psychology, economics, IT, religion, biology)1055print ""Your lowest score is: "", minimum1056maximum = max(maths, psychology, economics, IT, religion, biology)1057print ""Your highest score is: "", maximum1058</code></pre>1059 1060<p>The code above allows the user to enter their test results, and returns their average, minimum and maximum scores. However, I need to create a range so that users cannot enter any results below 0 or above 100, although, I'm unsure how to do so even after trying to find out by myself or online.</p>1061 1062<p>I'd appreciate any help regarding my issue, thanks.</p>1063",<python><input><range>,2017-03-24 04:19:16,LQ_CLOSE,"1064This a stack overflow question from between 2016-2020 and it can be classified into three categories:1065* HQ: High-quality posts without a single edit.1066* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.1067* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.1068You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 1069**Do not add any explanation, just give the category as output**."107045,45,8224,46159195,Async Call to shell in C# is open a new thread?,"<p>I've the following code from an answer in: <a href=""https://stackoverflow.com/questions/4291912/process-start-how-to-get-the-output"">Process.start: how to get the output?</a></p>1071 1072<pre><code>static void runCommand() {1073    //* Create your Process1074    Process process = new Process();1075    process.StartInfo.FileName = ""cmd.exe"";1076    process.StartInfo.Arguments = ""/c DIR"";1077    process.StartInfo.UseShellExecute = false;1078    process.StartInfo.RedirectStandardOutput = true;1079    process.StartInfo.RedirectStandardError = true;1080    //* Set your output and error (asynchronous) handlers1081    process.OutputDataReceived += new DataReceivedEventHandler(OutputHandler);1082    process.ErrorDataReceived += new DataReceivedEventHandler(OutputHandler);1083    //* Start process and handlers1084    process.Start();1085    process.BeginOutputReadLine();1086    process.BeginErrorReadLine();1087    process.WaitForExit();1088}1089static void OutputHandler(object sendingProcess, DataReceivedEventArgs outLine) {1090    //* Do your stuff with the output (write to console/log/StringBuilder)1091    Console.WriteLine(outLine.Data);1092}1093</code></pre>1094 1095<p>In my case I need to call multiple instances at the same time, I was thinking in making Threads but I understand that there is no need of threads with this code. Could someone explain me the difference and if is necessary make a thread doing async calls?<br>1096Thanks in advance. Kind regards</p>1097",<c#><multithreading><shell><console><delegates>,2017-09-11 15:25:49,LQ_CLOSE,"1098This a stack overflow question from between 2016-2020 and it can be classified into three categories:1099* HQ: High-quality posts without a single edit.1100* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.1101* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.1102You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 1103**Do not add any explanation, just give the category as output**."110446,46,12766,54435817,how to access elements of json response,"I have two types of answers that Jason's format is for me since then, and I want to parse this information.1105 1106 1107    response={'success':True,'alarms':[{'play_voice':True},{'voice_url':'my directory'}]}1108 1109    response={'success':True,'alarms':[{'play_voice':False}]}1110 1111when i try this code i have this output:1112 1113    voice_prof = [alarm is not None for alarm in response['alarms'] if alarm.get('play_voice',0) != 0][0]1114 1115when 'play_voice' is True ,then my code works fine but i have a 'play_voice' is False then This code does not run at all.1116 1117",<python><python-3.x>,2019-01-30 08:04:22,LQ_EDIT,"1118This a stack overflow question from between 2016-2020 and it can be classified into three categories:1119* HQ: High-quality posts without a single edit.1120* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.1121* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.1122You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 1123**Do not add any explanation, just give the category as output**."112447,47,2689,38333691,R Markdown: Putting an image in the top right hand corner of HTML and moving title down,"<p>I would like to put a company logo image in the top right hand side of my R markdown report, and then move the title down, say 3 or 4 cm lower than the default position.  The idea being that it looks like company letterhead.  </p>1125 1126<p>Could anyone suggest how I could code this in my .Rmd file?  </p>1127 1128<p>Thanks for any help!</p>1129",<html><css><r><r-markdown>,2016-07-12 15:53:10,HQ,"1130This a stack overflow question from between 2016-2020 and it can be classified into three categories:1131* HQ: High-quality posts without a single edit.1132* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.1133* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.1134You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 1135**Do not add any explanation, just give the category as output**."113648,48,10912,50731692,"The accuracy on the training set is high, but the accuracy on the test set is not very high。overfiting?","The accuracy on the training set is high, but the accuracy on the test set is not very high. I have tried dropout and L2 regularization, training set accuracy can reach 90%+, but the test set up to 70%, I do not know where the problem? Is the parameter not adjusted? Or something else? I need help, thanks",<python-3.x><image><tensorflow><classification><conv-neural-network>,2018-06-07 01:18:04,LQ_EDIT,"1137This a stack overflow question from between 2016-2020 and it can be classified into three categories:1138* HQ: High-quality posts without a single edit.1139* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.1140* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.1141You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 1142**Do not add any explanation, just give the category as output**."114349,49,8096,45991019,Plotting Multiple Series In R,"<p>I have a data set in which, for each day in the work week (Monday - Friday), I have a value that belongs to a category. In table form, it looks like this:</p>1144 1145<pre><code>cat | day | value1146 A  |  0  | 11147 A  |  1  | 01148 A  |  2  | 21149 A  |  3  | 11150 A  |  4  | 31151 B  |  0  | 01152 ...and so on...1153</code></pre>1154 1155<p>Every category has a value for days 0-4.</p>1156 1157<p>What I would like to do is plot each category as a separate line (on the same plot), where the x values are the days, and the y values are the values for each day. How can I accomplish this in R?</p>1158",<r>,2017-08-31 22:36:38,LQ_CLOSE,"1159This a stack overflow question from between 2016-2020 and it can be classified into three categories:1160* HQ: High-quality posts without a single edit.1161* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.1162* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.1163You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 1164**Do not add any explanation, just give the category as output**."116550,50,6501,43425356,What is the difference between using a compose() and a simple flatMap()?,"<p>I just watched the conference by <strong>Jake Wharton</strong> <a href=""http://jakewharton.com/the-state-of-managing-state-with-rxjava/"" rel=""noreferrer"">The State of Managing State with RxJava</a>.</p>1166 1167<p>He proposes to transform the events from view to action in this way:</p>1168 1169<pre><code>Observable&lt;Event&gt; events = RxView.clicks(view).map(__ -&gt; new Event());1170ObservableTransformer&lt;Event, Action&gt; action = events -&gt; events.flatMap(/* ... */);1171events.compose(action).subscribe();1172</code></pre>1173 1174<p>I would like to know the difference with this implementation:</p>1175 1176<pre><code>Observable&lt;Event&gt; events = RxView.clicks(view).map(__ -&gt; new Event());    1177Observable&lt;Action&gt; action = events.flatMap(/* ... */);1178action.subscribe();1179</code></pre>1180 1181<blockquote>1182  <p>What is the difference between using a <code>compose()</code> with an1183  <a href=""http://reactivex.io/RxJava/2.x/javadoc/io/reactivex/ObservableTransformer.html"" rel=""noreferrer"">ObservableTransformer</a> and a simple <code>flatMap()</code> with two1184  Observable?</p>1185</blockquote>1186",<java><android><rx-java2>,2017-04-15 11:14:30,HQ,"1187This a stack overflow question from between 2016-2020 and it can be classified into three categories:1188* HQ: High-quality posts without a single edit.1189* LQ_EDIT: Low-quality posts with a negative score, and multiple community edits. However, they still remain open after those changes.1190* LQ_CLOSE: Low-quality posts that were closed by the community without a single edit.1191You are a technical assistant who will classify the question from users into any of above three categories. Respond with only the category name: HQ, LQ_EDIT, or LQ_CLOSE. 1192**Do not add any explanation, just give the category as output**."119351,51,7663,45265751,Using excel and regular expression,"I am trying to get a value or all values similar to below in excel:1194 1195    #1231196    #0483091197    #93851198 1199I want to get the value proceeding the # however, I am not sure if there is an easier function? I want it to find the # then get however many numbers proceeds it. I am familiar with regex not with excel functions unfortunately. ",<excel><spreadsheet>,2017-07-23 13:41:46,LQ_EDIT,"1200This a stack overflow question from between 2016-2020 and it can be classified into three categories:

Showing the first 1,200 of 16280 lines. Download the file for the rest.