date
stringlengths
10
10
nb_tokens
int64
60
629k
text_size
int64
234
1.02M
content
stringlengths
234
1.02M
2018/02/26
861
2,365
<issue_start>username_0: After update my project dependencies, I have this error: > > ERROR in src/app/services/auth/auth.service.ts(19,5): error TS2322: > Type 'FirebaseAuth' is not assignable to type 'Auth'. Types of > property 'app' are incompatible. > Type 'FirebaseApp' is not assignable to type 'App'. > Prop...
2018/02/26
1,020
3,424
<issue_start>username_0: I'm working on my beginner app and checked on the preview option for my app. I've noticed that across the iPhone X, 8+, 8 and SE the spacing of my objects are off. I've learned about the custom size class for various devices for different orientations but nothing what said about the same device...
2018/02/26
1,709
8,073
<issue_start>username_0: I am using `firebase auth UI` ([FirebaseUI-Android](https://github.com/firebase/FirebaseUI-Android/blob/master/auth/README.md)) in an android app, where the user can signup with personal `email`, `Facebook`, `number` and `Gmail` accounts. My question is I need to get email verification when use...
2018/02/26
534
1,269
<issue_start>username_0: If I write with Pandas `data.to_csv(..., sep=' ')` I get this `*.txt` output format: ``` 10065424 302.835 -14.379 277.392 10065425 302.821 65.358 276.619 10065426 302.879 65.358 281.618 10065427 302.906 -14.379 282.391 10065428 302.905 10.767 282.391 10065429 302.839 60.992 277.320 10065430 30...
2018/02/26
1,031
3,528
<issue_start>username_0: I created a menu in CMD where depending on the option, a window would open with a specific path. I’m using the “start .” command. I got it working to the point where I can choose an option and it will open the desired window. However, if in the same session I choose a different option, the sam...
2018/02/26
1,039
3,294
<issue_start>username_0: I am new to Scala and I am reading this code. I understand the first `val bucketizers` is a function as variable, and `val newCols` called the `bucketizers`. However, I do not understand why in `bucketizers(idx)(filteredDataset(inputCol).cast(DoubleType))` we have a parentheses after a funct...
2018/02/26
656
2,637
<issue_start>username_0: I'm pretty new to coding and all, so bear with me. I recently started coding a website (only HTML and CSS - and I would like to keep it that way) and I've been running into an issue. Every time I test my code on my computer, it works fine, but when I try it on a friends computer or on a mobile ...
2018/02/26
612
2,439
<issue_start>username_0: IN CMake (3.x), the `execute_process` command has an `INPUT_FILE` named parameter, which lets you redirect the input stream to come from a file on disk. Well, what about a string? How can I get the command's input to come from a string?<issue_comment>username_1: You need to learn responsive des...
2018/02/26
2,017
6,176
<issue_start>username_0: I have a next SQL query to Sqlite database: ``` SELECT * FROM messages WHERE type IN (3) AND modem_id IN( SELECT device_id FROM client_devices WHERE client_id=0 AND device_id IN (7368859)) ORDER BY time_detected DESC LIMIT 1000 ``` Where the subquery brings the single data row. The q...
2018/02/26
1,153
4,561
<issue_start>username_0: I'm building an App that gets a database on Airtable with the Requests library and transform it into a list. My issue is that I can only get 100 records with the URL solicitation. I tried to find a solution in the Airtable API, but the changes in the URL to insert the maxRecords didn't work. ...
2018/02/26
819
2,996
<issue_start>username_0: Im doing a English to braille program. This is how im doing it ``` if(letter_saver.contains("a")){ System.out.println("|. |"); System.out.println("|..|"); System.out.println("| .|"); ``` it out prints ``` |. | //but i need to be able to come back to...
2018/02/26
703
2,332
<issue_start>username_0: I'm getting the following error when using a colspan in my th tag. ``` Uncaught TypeError: Cannot read property 'mData' of undefined ``` Normally this error occurs when the number of table cells is not equal in every row, but this is not the case. Here is my code: ``` | asdf | | --- | | 1 ...
2018/02/26
1,990
6,513
<issue_start>username_0: *I recognize that [Canvas drawImage is inexplicably offset by 1 Pixel](https://stackoverflow.com/questions/36015291/canvas-drawimage-is-inexplicably-offset-by-1-pixel) is a very similar issue, but I was already applying the advice given in that question's answer before I even came across this p...
2018/02/26
417
1,257
<issue_start>username_0: I have mikrotik. Not Away From Home There are People Who Have Hotspot Network Via Mikrotik. I Want to Log in from mikrotik system because I use it for some people topology like this: Mikrotik[with Hotspot system] --> My Mikrotik [Log in And Share] --> My PC First Mikrotik : RB1200 (belongs...
2018/02/26
987
3,469
<issue_start>username_0: I am working on a complex piece of python code which is spends aroubd 40% of the execution time in garbage collection. ``` ncalls tottime percall cumtime percall filename:lineno(function) **6028 494.097 0.082 494.097 0.082** {built-in method gc.collect} 1900 205.709 0.10...
2018/02/26
910
2,738
<issue_start>username_0: Suppose, that I have such jagged array (3 dimensions). ``` int[][][] tab = new int[][][] { new int[][] { new int[] {1, 2, 3}, new int[] {4, 5, 6} }, new int[][] { new int[] {7, 8, 9}, new int[] {10, 11, 12} } }; ``` I want t...
2018/02/26
799
3,062
<issue_start>username_0: I've built a simple audio streaming app that looks like this: [![enter image description here](https://i.stack.imgur.com/9vrlf.png)](https://i.stack.imgur.com/9vrlf.png) When I lose the audio stream connection, my app overlays this screen on top of the UI: [![enter image description here](ht...
2018/02/26
1,191
5,012
<issue_start>username_0: I have a MainActivity with a RecyclerView (trackingsRecycler) and an Adapter to list a CardView and it works fine. When I click on some cardview, the app calls (with Intent) another activity (DetailsActivity) and it should list another RecyclerView (detailsRecycler). but in DetailsActivity th...
2018/02/26
1,864
3,768
<issue_start>username_0: I have a dataframe with two columns: **Category** and **Datetime** I want to create a new column that shows the difference between the Datetime of the current row vs the previous row, **restarting at each category**. What I have: ``` Category Datetime A 2018-02-01 01:51:04 A ...
2018/02/26
1,179
2,742
<issue_start>username_0: I display an **A Component** in a router-outlet and inside this I have another **B Component** which has a named router-outlet, where I display another **C component**. ``` Router-outlet A Component B Component Named Router-outlet C Component ``` In this **C Component**, I pe...
2018/02/26
288
1,035
<issue_start>username_0: I want to convert to upper case a selected range in Excel. Here's my code ``` Dim rng As Range Set rng = Selection rng.Value = rng.Parent.Evaluate("INDEX(UPPER(" & rng.Address & "),)") ``` It works on a large range, but gives the #VALUE! error when only a single cell is selected.<issue_comme...
2018/02/26
590
2,571
<issue_start>username_0: I'm trying to create an app with Reactjs + Redux + React router but I'm having some problems that I don't understand what it's causing it. Most probably I'm not fully understand how it works. When I update the store of Redux all the components get re rendered instead of the ones where the stat...
2018/02/26
1,881
7,422
<issue_start>username_0: I am using VueJS and am having a problem implementing two features on a series of checkboxes. * Firstly, my checkboxes are build dynamically. * I need to implement a master 'toggle' checkbox which when clicked either checks or un-checks all other checkboxes. * I need to keep an array of checke...
2018/02/26
1,451
5,772
<issue_start>username_0: I am new in forge. How we can get the coordinates or the threejs Vector of the object by its ID like "getBoundingBox"? e.g. I want to get the coordinates of the wall of the house.<issue_comment>username_1: First of all, you're missing a `value` for each checkbox. Adding that and assigning `v-mo...
2018/02/26
3,679
9,424
<issue_start>username_0: I have a dictionary from an imported module assigned to a class variable. I try to print the variable straight from the instance, it gives me the whole dictionary (good). But when I try to get a value from a key in said dictionary, I receive a name error. Here's my main code: ``` import list_...
2018/02/26
2,304
8,595
<issue_start>username_0: I have tried to convert the existing subscription to promise by doing the following, however I am still getting vm\_payload is devoid of "dtype": "VNC" and it's associated attributes. I am not able to see what I am doing wrong. I have tried to follow, [angular2 - Navigate after observable is c...
2018/02/26
2,245
6,107
<issue_start>username_0: Which the best way to check that we have minimum require version software in bash script. E.g. git 2.16.2<issue_comment>username_1: `git` provides its version info like this: ``` $ git --version git version 2.11.0 ``` GNU `sort` understands version numbers and can sort them: ``` $ (echo min...
2018/02/26
374
1,423
<issue_start>username_0: How to get all of database queries in laravel 5.5? Something like log via `dd()`function<issue_comment>username_1: You have to enable query logging near the beginning of the request with `DB::enableQueryLog();`. Then after the request you have to log the requests using `DB::getQueryLog()`. A m...
2018/02/26
429
1,636
<issue_start>username_0: I have CentOS7 set up via vagrant and when I `export $MYVAR=test` I can successfully `echo $MYVAR`. The problem arises when I close the vagrant session and have to ssh back in, this variable gets wiped and I have to reset it every time. Is there a workaround for this? Possibly in the `.vagrant...
2018/02/26
1,594
4,576
<issue_start>username_0: I'm currently working on something where the code inputs about thousands of lines of strings. Each line must follow a specific format like the following: "Name,#,#,#,#,#,#" Where 'name' is the name of a movie (we can assume the name won't have any numbers), and # is any number from 0-10. Each...
2018/02/26
592
1,565
<issue_start>username_0: I need to extract `RS=368138379` string from following lines in a `vcf` file of few thousand millions lines. I am wondering how can we use `grep -o ""` and regular expression to quickly extract that? ``` AF_ESP=0.0001;ALLELEID=359042;CLNDISDB=MedGen:C0678202,OMIM:266600;CLNDN=Inflammatory_bow...
2018/02/26
2,468
7,712
<issue_start>username_0: I am trying to setup AWS IoT in Pi on port 443 using Paho MQTT . As AWS document (<https://docs.aws.amazon.com/iot/latest/developerguide/protocols.html>) mentioned that > > Clients wishing to connect using MQTT with X.509 Client Certificate authentication on port 443 must implement the Appl...
2018/02/26
817
2,558
<issue_start>username_0: I was experimenting with the waffle package in r, and was trying to use a for loop to make multiple plots at once but was not able to get my code to work. I have a dataset with values for each year of renewables,and since it is over 40 years of data, was looking for a simple way to plot these w...
2018/02/26
723
2,312
<issue_start>username_0: I'm just trying to build a executable jar using Spring Boot, based on Joel example <https://github.com/joeldudleyr3/spring-observable-stream>, but I'm getting the following error: ``` exception is java.lang.NoSuchMethodError: org.apache.activemq.artemis.api.config.ActiveMQDefaultConfiguration....
2018/02/26
725
2,332
<issue_start>username_0: Summary: Looking for a way to get the current play time from VLC using VBA I am looking for a way to launch VLC programmatically (Currently using a shell command from VBA/excel) and be able to programmatically read the current play time. I had a thought to extend with LUA and write the current...
2018/02/26
800
2,518
<issue_start>username_0: For a class assignment I had to create a database and put 3 entries in. There were 8 fields to have information input, so to save time and not retype everything, I just hit the up arrow to modify the input, but I forgot to change the ID, so all 3 entries have the ID of 1. My original code t...
2018/02/26
1,207
4,778
<issue_start>username_0: I currently have a Python scrip that runs through all Excel files in the current directory and generates a PDF report. It works fine now but I don't want the users to be anywhere near frozen Python scripts. I created an MSI with cxFreeze which puts the EXE and scripts in the *Program Files* d...
2018/02/26
1,068
2,607
<issue_start>username_0: I have a 2 dfs, one with a column having multiple values eg ``` A B 10 400, 500, 600 20 700, 800, 900 C D 10 500 20 900 ``` Am I able to use the merge function to merge the two tables using values in D matching any value in B?? Many thanks.<iss...
2018/02/26
1,473
5,297
<issue_start>username_0: Disclaimer upfront: I'm still very new to JavaScript. (And to programming in general, for that matter.) So, I'm trying to create an interface that would display an image in multiple aspect ratios, when cropped by [`object-fit: cover`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit...
2018/02/26
1,054
3,617
<issue_start>username_0: Here is what I have done so far: ``` MATCH (:Cake{name: 'Apple Scones'})-[n]-(a) WITH COLLECT(a) AS list MATCH (b)-[:CONTAINS]->(a) RETURN list ``` I am trying to get the cake that is most similar to the ingredients in apple scones. I have the list of all ingredients in apple scones, but am ...
2018/02/26
214
788
<issue_start>username_0: To set a color in a React inline style to an RGBA value I can at least use string interpolation in ES6: ``` test ``` Does React support objects instead of a string here? Something similar to it supporting numbers where pixel units are assumed for styles like `width` etc. For example: ``` tes...
2018/02/26
453
1,313
<issue_start>username_0: How can I change ['visits'][0] to a name: 'location\_1', ['visits'][1] to: 'location\_2', etc.? ``` ( [visits] => Array ( [0] => Array ( [ID] => 24682 [Address] => 1234 Some Street, Houston TX 77777 ...
2018/02/26
1,135
4,396
<issue_start>username_0: I read the paper about Kademlia available [here](http://www.scs.stanford.edu/~dm/home/papers/kpos.pdf). I don't understand how the number k is chosen (for the k-bucket). I don't understand this sentence: "k is chosen such that any given k nodes are very unlikely to fail within an hour of each...
2018/02/26
5,218
14,642
<issue_start>username_0: I'm trying to install the **rJava** package in R running on an Amazon Lightsail instance (Amazon Linux 2017.09.1). I keep getting an error that gcc can't find **libgomp.spec** I've located the file at **/usr/lib/gcc/x86\_64-amazon-linux/6.4.1/libgomp.spec** and I've tried setting up a symbolic...
2018/02/26
942
2,670
<issue_start>username_0: Please help, I cannot figure out why this code prints a negative number instead of a value from 0 - 255. ```java void setup() { size(1024, 1024); background(random(0,255), random(0,255), random(0,255)); println(get(1,1)); } ```<issue_comment>username_1: Questions like this are be...
2018/02/26
1,928
6,371
<issue_start>username_0: I am trying to debug a simple project using babel, jest, and vs code. When I set a breakpoint and then start debugging, my breakpoints jump around and are no longer where they were when I started. A sample repo can be seen here - <https://github.com/RyanHirsch/starter-node> I've updated my `la...
2018/02/26
699
2,307
<issue_start>username_0: Running Neo4j Desktop version 1.0.15. Trying to start DB causes the start fail: > > Database failed to start: > DB [database-f8950fdd-6b5f-4fea-8c9f-e8457ee1da9a] 'v3.3.1' exited > with status 'KILLED'. Check the logs > > > Major Log parts are below ``` 2018-02-26 23:03:38.004+0000 ERR...
2018/02/26
438
1,454
<issue_start>username_0: I have a multi-dimensional PHP array where the key for each inner array is an ID of button I will be clicking and instantiating a jQuery function. I basically want to dynamically create a javascript VAR array from that PHP array based on the Id that is clicked. Here is the array: ``` $Content...
2018/02/26
263
872
<issue_start>username_0: In Angular 5 I need to make an HTTP GET call, process the output, and then return that processed output as an Observable itself. I'm really confused on how to do that. I'm currently getting/processing the data like so: ```js this.http.get(url, { headers: this.headers }).subscribe(x => { let ...
2018/02/26
517
1,766
<issue_start>username_0: Using the Redis CLI you can [query a sorted set by range](https://redis.io/commands/zrangebyscore) with an unlimited upper bound: ``` zrangebyscore my_key 0 +inf ``` Represented by the `+inf` as well as an unlimited lower bound: `-inf`. This retrieves the range from 0 to the last member. S...
2018/02/26
1,099
4,021
<issue_start>username_0: **Runtime**: netcoreapp2.0 **ASP.Net Core**: 2.0.1 **EF Core**: 2.0.1 **Microsoft.EntityFrameworkCore.SqlServer**: 2.0.1 So, I'm working on an old database that is being used by lots of services and the original creators defined the PK of one table as short and a FK to that table as an int....
2018/02/26
594
1,736
<issue_start>username_0: each time I tried to run this query it gives this error 1242 - Subquery returns more than 1 row ``` INSERT INTO `tender_request` (`Tender_Request_ID`, `Cost`, `Document`, `Status`, `supplierID`, `TenderID`) VALUES ('5556', '900', NULL, 'Active', '1', '652') ``` actually, I don't know where ...
2018/02/26
2,180
7,626
<issue_start>username_0: Here is the problem. The code is receiving data from a web service in a multidimensional array format. The number of rows and columns, and what those columns are called (keys) are also unknown until run-time. I need to display a grid of that data in a table-like structure. We would like to disp...
2018/02/26
371
1,411
<issue_start>username_0: Here's my code snippet where I'm calling an API and returning a data object: ``` function search(location, term) { let body = { location: location, term: term }; return callApi("search", "GET", body) .then(response => { return response.data; }) .catch(error => { ...
2018/02/26
594
2,178
<issue_start>username_0: I have this line for code where I am sending a `get()` request to a `http` server: ``` json_data = requests.get( "http://"+ + , auth=HttpNtlmAuth('', ''), headers={'host': host\_DNS\_name}).json() ``` Now when I execute this code it succeeds but I notice it's taking 3 attempts to s...
2018/02/26
1,458
5,948
<issue_start>username_0: I have a WinForms app that uses a Web API back-end and I want all the HTTP requests / responses to use specific json SerializerSettings. On the server-side, this is easy by just doing this in Global.asax.cs: ``` GlobalConfiguration.Configuration.Formatters.JsonFormatter.SerializerSettings.Date...
2018/02/26
544
2,111
<issue_start>username_0: I have created a new dir and subdirs in my project, just like the example below: ``` app/ --- services/ ------ comments/ --------- create_comments_service.rb ``` but for every modification I make in 'create\_comments\_service.rb' I have to restart my server (in dev environment). Is there an...
2018/02/26
758
2,820
<issue_start>username_0: I would like to upload invoking a REST endpoint in multi-part. In particular, I am looking at this API: [Google Cloud Storage: Objects: insert](https://cloud.google.com/storage/docs/json_api/v1/objects/insert) I did read about using **multer**, however I did not find any complete example show...
2018/02/26
1,019
3,724
<issue_start>username_0: I was trying to find this solution but I can only find solutions to apply filter on images as background-image on css. I have a row with 3 images in equal size on my HTML. The effect that I am trying to replicate is a "filter" on all of the photos that give a gradient opacity. This filter has...
2018/02/26
1,399
5,211
<issue_start>username_0: I have a pretty complicated data frame with may variables so I created a simplified one for the purposes of this question: ``` sample deployment density replicate shell.num A A L 1 1 A A L 1 1 A ...
2018/02/26
595
2,047
<issue_start>username_0: I'm still learning JavaScript. Not able to get past this: ``` function Fruits(category, berries, notberries) { this.category = category; this.berries = []; this.notberries = []; } let f = new Fruits("fresh", ["strawberry", "raspberry"], ["apple", "mango"]); console....
2018/02/26
560
1,845
<issue_start>username_0: I'm developing a 3d collision pipeline in C++ using OpenGL and GLM, however I cannot seem to figure out a formula for calculating the closest point (the player origin) to a triangle's edge segment. For example, say you have vertex "A" and vertex "B" constructing the edge, point "C" representi...
2018/02/26
542
1,970
<issue_start>username_0: I need to see a default list of Icons for Angular Material <https://material.angular.io/components/icon/overview> I am not using Font Awesome and Google Fonts<issue_comment>username_1: Is [this](https://material.io/icons/) what you're looking for? Upvotes: 3 <issue_comment>username_2: The Ang...
2018/02/26
288
953
<issue_start>username_0: I can't get my program to give me the Diameter Circumference and Area with just the Radius. It keeps telling me > > "'Text' is not a member of 'Double'" > > > , I don't know what that means. Here is my main code. ``` Dim Radius As Double Radius = Radius.Text Diameter.Text = 2 * Radius ...
2018/02/26
370
1,405
<issue_start>username_0: I am completely new to react native and JavaScript. I am trying to search the database for an entered number, which is an child of the users node. If the query found the entered number I want to know if the number is verified. I see all values when I debug that belongs to the user, but I cannot...
2018/02/26
811
2,769
<issue_start>username_0: Running on MacOSX 10.13.3 using the default terminal. When I try to use the grep command, I receive this as the output. No matter what. I've changed directories, options, and even `grep` alone returns the same thing. It returns: ``` grep: conflicting matchers specified ``` Recently, I was in...
2018/02/26
1,035
3,378
<issue_start>username_0: I have a movie database that has the cast field as a comma delimited column as shown below. What I would like to accomplish is to get a count of how many movies each cast member has in the database. The cast field is of different lengths As in ``` '<NAME>' 100 '<NAME>'...
2018/02/26
551
1,802
<issue_start>username_0: Here is my React code. I have two components: BlackBox and SomeText. I want the BlackBox to be full screen and the SomeText to be below it. I would assume that two divs in a row would render in order (either next to each other or below one another, but BlackBox in this example is completely on ...
2018/02/26
1,059
4,427
<issue_start>username_0: I have the following code repeated in many of my `view controllers`. I would like to refactor it into a global class/view controller. However, I still want it to be shown with the parent as the current view controller so that when I click OK it will return to the current view controller where t...
2018/02/26
1,109
4,385
<issue_start>username_0: I've bought **Glyphicons Pro** and I'd like to use it in my **Angular 1.6.x/bootstrap 3** projects. (my first project). I've used Yeoman (yo gulp-angular), so I'm using Gulp as well (very basic knowledge) I've found a post on [stackoverflow](https://stackoverflow.com/questions/22040766/replaci...
2018/02/26
596
1,862
<issue_start>username_0: I have a table which resembles the following: ``` | item_number | line_number | value | |-------------|-------------|--------| | 1 | 1 | (null) | | 1 | 2 | 10 | | 1 | 3 | (null) | | 2 | 1 | (null) | | ...
2018/02/26
254
1,092
<issue_start>username_0: I want to optimise indicator parameters in a TradingView Pine backtest. This is possible with other tools, but when I search for this functionality in TradingView I don't find anything. Can anybody please help? If it isn't possible in TradingView, then is there a way of doing it with another t...
2018/02/26
887
3,446
<issue_start>username_0: I am currently working on a WordPress website, where I would like to have two Google Translate widgets on the website. The scenarios, I wish to create, are as follows: **Desktop/Laptop/Tablet:** I would like the Google Translate Widget to appear in the very top bar. **Mobile Devices:** I wo...
2018/02/26
649
1,935
<issue_start>username_0: I've got two large df's from two xlsx spreadsheets and would like to merge them 'on' time stamp ['Time'] data. The problem is that one data set has recorded time to decimal seconds and the other to whole seconds. This means that the two data set ['Time'] keys never match up... ``` df1 T...
2018/02/26
919
3,080
<issue_start>username_0: I have a List of Big Decimal Values and also a specific input also a BigDecimal. I want to compare the specific input against the values in the List and select the value that is closest to specific input. Any suggestions please? ``` private static BigDecimal getWageMultiplier(List values, ...
2018/02/26
430
1,540
<issue_start>username_0: I just started using Kotlin and found getters and setters very useful. I am wondering if Kotlin provides only getters public. It should not be `val` because it's value can be changed by it's class. What I've done to achieve this is as follows. ``` private var _score: Int=0 val score: Int = ...
2018/02/26
948
3,015
<issue_start>username_0: So let's say I have the following table and desired output: [![enter image description here](https://i.stack.imgur.com/zGKkn.png)](https://i.stack.imgur.com/zGKkn.png) So basically I want 1 order number row with corresponding CAD and Amend columns. Here's what I tried so far: ``` SELECT DIST...
2018/02/26
475
1,603
<issue_start>username_0: I want to search a for images with javascript. I have this code so far: ``` function geturl(){ var dividsearch = document.getElementById('uploaded_file'); var imagesearch = dividsearch.getElementsByTagName('img')[0]; var imagesrc = imagesearch.src; alert(imagesrc); } ``` ...
2018/02/26
684
1,906
<issue_start>username_0: I am trying to decrypt a tar file with GnuPG through a Python script on Win7. ``` filename_e_archive = askopenfilename() current_directory = os.path.abspath('.') folder_d_archive = filename_e_archive.split('.elog')[0] filename_d_archive = folder_d_archive + ".tar.gz" path_to_e_archive = os.pat...
2018/02/26
617
2,318
<issue_start>username_0: I have numerous alarms related to Dynamodb autoscaling that show INSUFFICIENT\_DATA. All together they're adding to my AWS costs. Is it okay for me to delete them? How do I have them deleted automatically?<issue_comment>username_1: The INSUFFICIENT\_DATA message is merely a result of the clou...
2018/02/26
643
2,435
<issue_start>username_0: Thanks for your help in advance. I am trying to track a user whilst they browse my website. I want to show them a popup window when they arrive, regardless of which page they land on. But when they go to another page I dont want to keep annoying them with the same popup. Does anyone know how ...
2018/02/26
524
1,904
<issue_start>username_0: I have the following issue. This is my html code: ``` Find a band/artist Search ``` This is my SCSS: ``` .search_artist { margin: 44px auto; width: 908px; border-radius: 10px; opacity: 0.15; position: relative; } .search_artist > * { position: relative; z...
2018/02/26
573
2,218
<issue_start>username_0: So I am curious how I can quickly correct the formatting of my code in a .jsx file. Have tried some extensions like beautify react, prettify, etc...., but they do not seem to work quite right in vs code. What I see is this: [![enter image description here](https://i.stack.imgur.com/hZoWo.png)...
2018/02/26
1,650
5,812
<issue_start>username_0: I have two dataframes. One has some probability brackets. ``` df1 = pd.DataFrame({'ProbabilityBrackets' : [0,0.50,0.75,1.0,0.75,0.90,1.0,0],\ 'Group' : pd.Categorical(["test","test","test","test","train","train","train","train"]),'Destination' : pd.Categorical(["-","A","B","C","AA","BB","CC",...
2018/02/27
1,018
3,799
<issue_start>username_0: Hi I would like to create a button that allows readers to switch between light (default) and dark theme modes on my wordpress.org website. I already created a button shortcode and the desired csscode i want for my dark theme using simple css plugin but have no idea how to relate them together. ...
2018/02/27
961
3,647
<issue_start>username_0: ``` A a5(move(a1)); ``` While after the move the member vars of a1 are set to defaults, a1 itself is not set to null. You can't do a1 == nullptr... to check if a1 is useless... I find this odd. Is there something I'm misunderstanding here? I would think that if a1 is moved, it becomes useles...
2018/02/27
1,071
4,192
<issue_start>username_0: I'm trying to access documents that I've put into my iCloud Documents folder on my Mac in an iOS app but I can't work out how to. ``` let manager = FileManager.default let dir = manager.url(forUbiquityContainerIdentifier: nil)?.appendingPathComponent("Documents") let files = try? FileManage...
2018/02/27
935
3,820
<issue_start>username_0: I have a list object that is updated regularly inside of a model class. I want to propagate those changes from my model to my view using a calculated property. ``` public class ViewModel : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; private Zebr...
2018/02/27
683
2,733
<issue_start>username_0: Using **python 3.6.4 32bit**, I am getting the thank you in this code executing before the break. How do I get it to execute after instead? ``` name = '' while True: print('Please type your name') name = input() if name == 'your name': break print('thank you!') ```<iss...
2018/02/27
618
2,071
<issue_start>username_0: How can I call function `DoMath` when TextInput is changed? ``` state = { foo: 2, bar: 3, Total: 0, } DoMath = () =>{ var foo = this.state.foo; var bar = this.state.bar; this.state.Total= foo + bar; this.setState({Total: this.state.Total}) } this.setState({foo})}...
2018/02/27
618
2,047
<issue_start>username_0: I have a simple JSON object: ``` { "values": { "a":"", "b":"", "c":"", "d":"", "e":"" } } ``` and I want to decode it to a Swift struct in such a way, **that I can later be able to iterate over the keys in `values` in the exact same order as I ...
2018/02/27
446
1,539
<issue_start>username_0: I'm wondering how bit shifting works. For example, if we do `i>>3`, does it shift `i` to the right three times (i.e. `i=i>>1;` `i=i>>1;` `i=i>>1`) or does it change each bits' positions by three at once (i.e. `x[a+3]` for all bit positions)?<issue_comment>username_1: This is not a Swift limitat...
2018/02/27
381
1,012
<issue_start>username_0: Is there any way to split a string into sections based on angle brackets, so `1<2>3<4>` should become `["1", "<2>", "3", "<4>"]`. I've tried `"1<2>3<4>".split("<([^>]*)>")` but that only gives me `["1", "3"]`<issue_comment>username_1: With lookaheads: ``` scala> val s = "1<2>3<4>" scala> s....
2018/02/27
764
2,618
<issue_start>username_0: Following is the simplistic code of my problem, ``` void overloaded (int&& x) { cout << "[rvalue]"; } template void fn (T&& x) { overloaded(x); } int main() { fn(0); return 0; } ``` I got a compile error > > cannot bind ‘`int`’ lvalue to ‘`int&&`’ > > > > ``` > overloaded(x);...
2018/02/27
221
978
<issue_start>username_0: Wouldn't it be better practice for EXIT\_ON\_CLOSE and all of those args to be an enum instead of final variables?<issue_comment>username_1: I believe this is a backwards compatible type issue. Window has been around since before Java 1.5 when enums were first introduced. If they were to change...
2018/02/27
2,540
8,672
<issue_start>username_0: I"m new to Java and Stack Overflow, sorry if this is a bad question. So i created a Game in eclipse which is basically an animation with a key press jumping over other animations. I used Swing for my GUI, still new to them, and ran it in eclipse no worries. I decided to export it as a Runnable ...
2018/02/27
1,318
4,224
<issue_start>username_0: I am having some trouble with this program that needs to search an array for a string that the user inputs, and then print the entire line with the matching string. At the moment, this is only partially working as is only prints out the string if there is a match and not the entire line that st...
2018/02/27
367
1,204
<issue_start>username_0: I'm trying to get the data from each value... It works fine with only one `AND url LIKE '%value%'`, but I'm missing something to be able to do multple values, please let me know ``` SELECT count(*) FROM "access_logs" WHERE year = '2018' AND month = '2' AND day = '22' OR url LIKE '%...
2018/02/27
495
1,812
<issue_start>username_0: I am trying to create multiple datasources. This is what I have in my configuration class: if I comment @Primary annotation, it's throwing an exception and the application is not starting, why is @Qualifier alone not working? Why is it insisting to make one of the datasource primary? ``` @Bean...
2018/02/27
584
2,230
<issue_start>username_0: I just got a new mac, and immediately installed Anaconda with python 3.6. However, I now need to go back and use python 2.7 for a project. This project also requires a few packages which could normally be installed with pip. However, after I installed anaconda, pip defaults to working with pyth...