date
stringlengths
10
10
nb_tokens
int64
60
629k
text_size
int64
234
1.02M
content
stringlengths
234
1.02M
2018/03/21
311
1,088
<issue_start>username_0: In the following Kotlin code ``` editTextUsername = EditText findViewById(R.id.email_edittext) ``` and the error is : Error:(70, 35) Unexpected tokens (use ';' to separate expressions on the same line) but i can not understand what did i do wrong.<issue_comment>username_1: If you're try...
2018/03/21
612
2,109
<issue_start>username_0: I want to call a function dynamically, but I didn't success. ``` available.append({ 'analysis_name': 'Category X Total Payment', 'col_name': 'VALUE', 'required_cols': ['Category','VALUE'], 'agg':'SUM', 'analysis_type': 'pareto-bar', 'func': 'draw_pareto'}) availab...
2018/03/21
1,019
3,060
<issue_start>username_0: Need to find which invoice has the second-lowest total price among invoices that do not include a sale of a FiredAlways stove. I can manage to get the lowest, but not the second lowest. What I have: ``` SELECT TOP 1 WITH TIES I.InvoiceNbr, I.InvoiceDt, I.TotalPrice FROM INVOICE I WHERE ...
2018/03/21
1,956
7,451
<issue_start>username_0: angular2 how to use ng-template from a different file? When I place the ng-template within the same HTML where I use it works but when I move ng-template into a separate file then it won't work. Is there a way to move ng-template into its own file and use it in different html file? **info-mess...
2018/03/21
501
1,842
<issue_start>username_0: I am new to Angular. I would like to to print list of products, which are in relation with distributor. For that I thought about combaining \*ngFor \*ngIf so here is a code: ``` Distributors ------------ Operation couldn't be executed: {{errorMessage}} * id: {{distributor.id}} name:...
2018/03/21
305
1,144
<issue_start>username_0: The image file is coming from Node js side and an image is uploaded through java backend to s3 temp bucket<issue_comment>username_1: You can use to have ngIf ``` products - dist ``` Upvotes: 1 <issue_comment>username_2: You cannot use multiple structural directives on one html element. ...
2018/03/21
1,050
3,347
<issue_start>username_0: Okay, let met explain. I am getting a obsersable from AngularFire Database, and here is what I pretend to do: - get 2 static copies of the obsersable response - show 1 static copy - allow user to modify this static copy and not save it - when user decides too cancel the changes, i simply get th...
2018/03/21
385
1,359
<issue_start>username_0: I want to merge 2 table into one by using **UNION ALL** operator. The first table has several fields. The second table groups several field into on JSONB field. In order to simplify the question, I **reproduced the error** by using this simple SQL request (without any dependance on table) : ...
2018/03/21
892
3,191
<issue_start>username_0: I am wondering how to configure the `.npmrc` file so that I can have a default registry and a different scoped registry with authentication. I am using Nexus for the private repository and I am not sure how to set authentication for the scoped registry, only the default registry. For exampl...
2018/03/21
1,209
3,910
<issue_start>username_0: I want to apply a style to an element when hovering over another element in a different parent `div`. The classes are `lvcontainer` and `rvcontainer` and when I hover over `lvcontainer`, `rvcontainer` will be set to `display: block`. I'm trying to make a multidimensional drop menu like blackb...
2018/03/21
276
989
<issue_start>username_0: [![enter image description here](https://i.stack.imgur.com/rwcWK.jpg)](https://i.stack.imgur.com/rwcWK.jpg)I have tried to add HTML template via intent but only spanable string or attached file is working via intent, Is there any way to inject Html template to Gmail via intent?<issue_comment>us...
2018/03/21
393
1,341
<issue_start>username_0: I have Mainactivity, one Fragment and BlogRecycleadapter to populate the Fragment with Blog post. Inside Mainactivity, I have Floating action Button. But When I run the app It hides beneath the items of blogRecycleadapter. How can I make Floating action button always on Top?? [![enter image ...
2018/03/21
506
1,906
<issue_start>username_0: I am using Ant Select component inside Dropdown component. Here is my index file which renders Dropdown ``` const getMenu = filter => ( ); this.handleDropdownVisibility(val, searchFilter) } > ... ``` Here is my MenuContainer which return Select Component inside it ``` handleSelectChang...
2018/03/21
294
1,048
<issue_start>username_0: I would get a length of an array that I pass in the parameter of a function I have an array of object ``` groupList:group[]=[]; ``` in `selectItem` I call `testExistinginArray` function ``` selectItem (event) { if(!this.toggle) { this.groupList.push(event); } else{ ...
2018/03/21
183
752
<issue_start>username_0: I have a source file which contains 10 records. It doesn't has any primary key. Requirement is to load first two records at first run into target table. And then delete those records from source file. Now the source file will have 8 records. In next run, first 2 records will get loaded into t...
2018/03/21
1,367
5,054
<issue_start>username_0: i have a simple Selenium Test Code: ``` public static void main(String[] args) { System.setProperty("webdriver.chrome.driver", "/home/chromedriver"); WebDriver driver= new ChromeDriver(); driver.get("http://google.com"); } ``` And i get this Error: ``` Exception in thread "main...
2018/03/21
1,642
5,490
<issue_start>username_0: i know it causes due to google new version update of gms to 12.0.0 here is link <https://developers.google.com/android/guides/releases> add in `android/build.gradle` but now its not compiling onesignal coz it also uses Google service with different version other solution on github suggest me...
2018/03/21
1,604
5,076
<issue_start>username_0: Is it possible to have two fit\_generator? I'm creating a model with two inputs, The model configuration is shown below. [![enter image description here](https://i.stack.imgur.com/FDY0W.png)](https://i.stack.imgur.com/FDY0W.png) Label Y uses the same labeling for X1 and X2 data. The followi...
2018/03/21
347
1,173
<issue_start>username_0: I am trying to log an error like this ``` logger.error("Entered value [" + val + "] is wrong") ``` But I don't want string concatenation because if you read the strings from right to left, they are in the wrong order. Is there any other way to do this? I need to put `val` in the error messa...
2018/03/21
374
1,426
<issue_start>username_0: I wish to iterate of a folder of pdf files containing voucher images. I am viewing each file in a TAcroPDF component. The uses can seer the amount written on the voucher and can enter this amount into a textbox. On pressing the ENTER key the next voucher is displayed and I wish to automatically...
2018/03/21
617
2,242
<issue_start>username_0: I'm working with a basic `std::ofstream` object, created as follows: ``` output_stream = std::ofstream(output_file.c_str()); ``` This creates a file, where some information is put in. Let me show an example of such a message: (Watch window excerpt) ``` full_Message "Error while processin...
2018/03/21
706
2,755
<issue_start>username_0: I am having an issue connecting to the server. I had the full access to the data yesterday, but suddenly the day after today, the system requires me to add a new firewall rule to enable access to the data. Here it ask me to sign up to Microsoft Azure so I did sign in: ![Here it ask me to sign...
2018/03/21
706
2,667
<issue_start>username_0: I have some old service accounts on a Google Cloud project. I want to find out if they are still being used or that I can safely delete them. Is there a way to see when they were last used? And maybe how often? I guess I could just delete the key and hope nothing breaks, but that seems a bit i...
2018/03/21
512
1,610
<issue_start>username_0: Of course, question was discussed thousand times ([1](https://archive.sap.com/discussions/thread/696015), [2](https://archive.sap.com/discussions/thread/963412), [3](https://archive.sap.com/discussions/thread/1229493)) but nothing was offered except this ugly snippet: ``` data: str type string...
2018/03/21
248
1,021
<issue_start>username_0: I wanted to test my microchip beacon setup.. Is there any way to verify the advertisements sent by the beacon are received by Android without writing an application. I have seen stackoverflow post related to sniffing where you have to enable bluetooth sniffing in Developer options [Sniffing/l...
2018/03/21
479
1,242
<issue_start>username_0: I want to filter an array that only contains emails, I did this ``` emails = emails.filter((x)=>(x !== (undefined || null || ''))) ``` that delete the empty value, but can accept a value that is not an email.<issue_comment>username_1: Using the regular expression found [here](https://stac...
2018/03/21
441
1,897
<issue_start>username_0: I am trying to make ‘Would You Rather’ app. This basically involves two options that the user picks (e.g. Chocolate or Vanilla). ![enter image description here](https://i.stack.imgur.com/fOiMr.png) I want to be able to store the amount of times people chose each option. I can only really t...
2018/03/21
990
3,345
<issue_start>username_0: Execution failed for task ':react-native-device-info:processReleaseResources'. > > Error: more than one library with package name 'com.google.android.gms.license' > > ><issue_comment>username_1: In android/build.gradle add ``` ... allprojects { repositories { ... config...
2018/03/21
623
2,174
<issue_start>username_0: I am using nodejs mongo driver in my application. I set up below options in the connection: ``` { connectTimeoutMS: 30000, socketTimeoutMS: 30000, // retry to connect for 120 times reconnectTries: 120, // wait 1 second before retrying reconnectInterval: 1000 }; ``` It will try to...
2018/03/21
1,302
3,790
<issue_start>username_0: I have a function to delete outliers `detectaOutliers()`, but somehow my function does not delete all outliers. Can somebody help me to find the mistake? ``` detectaOutliers = function(x) { q = quantile(x, probs = c(0.25, 0.75)) R = IQR(x) OM1 = q[1] - (R * 1.5) # outliers moderados ...
2018/03/21
832
2,732
<issue_start>username_0: I tried almost all the methods (CLEAN,TRIM,SUBSTITUTE) trying to remove the character hiding in the beginning and the end of a text. In my case, I downloaded the bill of material report from oracle ERP and found that the item codes are a victim of hidden characters. After so many findings, I ...
2018/03/21
267
1,206
<issue_start>username_0: We just migrated our bots as required by Microsoft before the deadline. I chose location "North Europe" when migrating. Now I see that each bot was placed in its own resource group with the correct location "North Europe". However, inside these resource groups the actual Bot Channels Registrati...
2018/03/21
236
974
<issue_start>username_0: Is there a way in which I can print a query generated for orator orm. When I print it, I get it as I want to print the query which will be applied on database like "SELECT \* from students" I tried iterating over the object and looking for any key which will return me the query, but haven't ...
2018/03/21
596
2,025
<issue_start>username_0: If you follow the AWS Glue Add Job Wizard to create a script to write parquet files to S3 you end up with generated code something like this. ``` datasink4 = glueContext.write_dynamic_frame.from_options( frame=dropnullfields3, connection_type="s3", connection_options={"path": "s3:/...
2018/03/21
871
3,112
<issue_start>username_0: I'm trying to delete lines in specific column from all rows that contains specific words. For example: Remove lines that contain word `apple` and it is always at the beginning of the line. ``` +--+------------------+ |ID|data | +--+------------------+ |1 |sometext1 | | ...
2018/03/21
926
3,414
<issue_start>username_0: I'm encountering an issue while trying to lazy load module according to the user profile, I defined three default paths (with empty path for each route) and each user has access to a specific module, i'm using a guards in order to detemine the current user profile (actually i'm toggling manuall...
2018/03/21
1,257
5,946
<issue_start>username_0: Iam implementing a basic authentication for Spring Boot application and iam defining my credentials in application.properties class but I want to hash-encode the password and then check if the hash is the same as the hash for the password in application.properties then I can login. If possible ...
2018/03/21
662
2,905
<issue_start>username_0: I have a table in the database (big orange one) including parts and prices for two different type. I am looking to find the little orange table as result in summary: **I am looking for common parts in both type R and O Where price has gone up from type O to type R.** This is the script I trie...
2018/03/21
606
2,773
<issue_start>username_0: Trying to access an object's data in a constructor returns an "undefined" object. It works on the ngOnInit() function, but the data (going to get reset) is needed **every time** the component starts. ``` import { Component, OnInit, Input } from '@angular/core'; @Input() data: any; co...
2018/03/21
2,694
9,958
<issue_start>username_0: I installed Flutter following official document and also installed Flutter and Dart plugin on Android Studio. But, I can't see File>New Flutter Project wizard on Android Studio 3.0.1 I run "flutter doctor" command. See the below output. ``` Doctor summary (to see all details, run flutter do...
2018/03/21
433
1,834
<issue_start>username_0: I used StanfordCoreNLP jar file library to split English paragraphs into sentences but I could retrieve the split sentences as CoreMap Object, but I want to convert those split sentences of type CoreMap to type String, is there anyway to achieve this task. The bold text in the code shows the ar...
2018/03/21
678
2,621
<issue_start>username_0: I am confused by Laravels .env file VS other settings I have a .env file which has my sql database settings inside, but I also have a file in config/database.php that has these settings inside. When I deploy my application to an Elastic Beanstalk instance, which of these files is it using for...
2018/03/21
346
1,178
<issue_start>username_0: I have 3 Topics : "BEGIN", "CONTINUE" and "END" These three topic needs to be joined in one Topic Message where i can get the Result Model that is a combination of the 3 Topic Messages. There are many example that shows how to join 2 topics. If anyone can give me an example or a hint of how ca...
2018/03/21
224
728
<issue_start>username_0: I know there is ``` Collections.max(list); Collections.min(list); ``` To get the max or min of an arraylist, but I am looking for a way to get the max or min between a certain range. For example, what is the max between index 0 and index 5?<issue_comment>username_1: Use `list.subList` to ru...
2018/03/21
1,461
4,088
<issue_start>username_0: I have the following pandas dataframe: ``` count event date 0 1544 'strike' 2016-11-01 1 226 'defense' 2016-11-01 2 1524 'strike' 2016-12-01 3 246 'defense' 2016-12-01 4 1592 'strike' 2017-01-01 5 245 'defense' 2017-01-01 ``` I want to pivot/tran...
2018/03/21
792
3,122
<issue_start>username_0: I have a failing Jest test case for code where I'm using promises. It looks like the resolution of the promise is happening after the test has completed, meaning I can't check that my promise resolution code has been executed. It feels like I need to make the event loop tick so the promise is ...
2018/03/21
551
1,763
<issue_start>username_0: I have a python program that has to be running all the time. If for some reason it was stopped I want to restart it automatically. I thought of having a cron that will run every n number of seconds and check the program is running. My shell script is looks like this: ``` #!/usr/bin/env bash CM...
2018/03/21
812
2,558
<issue_start>username_0: I have a multidimensional array with an arbitrary number of arrays. The array is called `charge_codes`. **print\_r( $charge\_codes )** ``` Array ( [0] => Array ( [charge_code] => 21 [amount] => 134.57 ) [1] => Array ( [cha...
2018/03/21
526
1,389
<issue_start>username_0: I have a tab separated file A containing several values per row: ``` A B C D E F G H I J K L M N O P Q R S T U V X Y Z ``` I want to remove from file A the elements contained in the following file B: ``` A D J M U V ``` resulting in a file C: ```...
2018/03/21
893
2,966
<issue_start>username_0: How can I loop through multiple arrays and "pair" them, when declaring an object? Assuming there are two arrays that contain same amount of data. I would like to map each of them and allocate to objects properties. This is what I would like to achieve: ``` { name: john, surname: doe, da...
2018/03/21
962
3,226
<issue_start>username_0: I am trying to create type information for my event listeners. As all event listeners are set on the same `.on()` function, I am using generics. ``` type Name = "error" | "connected"; type Callback = { error: (err: Error) => void, connected: (err: number) => void, }; function on(even...
2018/03/21
928
3,118
<issue_start>username_0: I am catching the status code in my service from below code: ``` add(new: Add): Observable { return this.http .post(this.addURL, new , httpOptions) .map((response: Response) => { if (response) { if (response.status === 200) { return [{ status: response.status, response: response.json() }...
2018/03/21
867
2,990
<issue_start>username_0: I am trying to delegate the html rendering of a tree to a web worker. The tree is composed of nodes, each nodes has references to the next, previous and parent nodes. The data that represents the tree is an array, containing all the root nodes. This array is post to the web worker as is, since...
2018/03/21
1,310
4,312
<issue_start>username_0: I want to create android application "Points of interest". I've read many different tutorials, and I do not understand why I need to convert GPS coordinates to ECEF and then to ENU. Can you explain, please? Thanks!<issue_comment>username_1: Geospatial coordinate systems are a big topic, but th...
2018/03/21
863
3,122
<issue_start>username_0: The multiplayer game I work with seems to transfer player screen position data all the time player moves with io.emit, I think this must be stress for server, how can I adjust this code to be executed no more than once per 250 ms? ``` // Only emit if the player is moving if (this.speed !...
2018/03/21
935
3,379
<issue_start>username_0: I have a simple code in which I try to split numbers into digits: ``` for n in 10...12 { let numberIntoString = String(n) let splitNumber = Array(numberIntoString) let charIntoString = splitNumber.map {String($0)} let numberIntoInteger = charIntoString.map {Int($0)} print(...
2018/03/21
1,025
3,865
<issue_start>username_0: I have two API requests, each of which asynchronously fetch data that must be available before running another function. I've been looking into Promises, but have no idea how I'd implement them into this scenario. Using this code, how can I await returned data from these before running my dep...
2018/03/21
867
3,032
<issue_start>username_0: I have a list in the following format: ``` mylist = ["a word 1 2 3 4","b word 5 6 7 8"] ``` I'm trying to split this into 2 new lists, one for each string, ie.: ``` newlist1 = ["a","word","1","2","3","4"] newlist2 = ["b","word","5","6","7","8"] ``` but I've not had any luck. I've t...
2018/03/21
639
2,178
<issue_start>username_0: I have hyperledger fabric "First Network" up and running in Vagrant on Window 7. I would like to query on following tables of fabric ca database: * Affiliations * Users * Certificates Kindly help me how and where I can find fabric ca database, Thank You.<issue_comment>username_1: If you are ...
2018/03/21
1,439
4,664
<issue_start>username_0: I am using the Flutter beta 0.15v with Android Studio.The crash only occurs on iOS simulator - IphoneX 11.2. ``` Unhandled exception: NoSuchMethodError: The getter 'stdout' was called on null. Receiver: null Tried calling: stdout #0 Object.noSuchMethod (dart:core-patch/dart:core/object_pa...
2018/03/21
498
1,718
<issue_start>username_0: I want to rewrite the url ``` http://localhost:56713/Home/UserDetails?Code=223322 ``` with ``` http://localhost:56713/223322 ``` I have written below in StartUp.cs but it is not working ``` var rewrite = new RewriteOptions() .AddRewrite(@"{$1}", "Home/UserDetails?Code={$1}",true); `...
2018/03/21
1,008
2,846
<issue_start>username_0: I have a relationship name `:RELTYPE` with a property array called `LineIds`. Assume, ``` (node1)-[r:RELTYPE {LineIds : [1,2,15]}]->(node2) ``` I want to remove a very specific value from the `r.LineIds` array (let's say 15). The code written doesn't seem to work. I am trying to remove "15...
2018/03/21
889
3,202
<issue_start>username_0: Terraform can't find a resource which is declared in the same file where the reference is. It seems that this line is causing trouble: `role_arn = "${aws_iam_role.newsapi_lambda_codepipeline.arn}"`. It can't find `newsapi_lambda_codepipeline` which is declared as `resource "aws_iam_role" "news...
2018/03/21
330
1,140
<issue_start>username_0: I have downloaded chromedriver.exe and eclipse, I have added through add external jars but while executing it gives me error > > Error: Could not find or load main class demochrome.DemoChrome > > > ``` package demochrome; public class DemoChrome { public static void main(String[] ...
2018/03/21
405
1,509
<issue_start>username_0: If I use `import { Renderer2 } from '@angular/core';` in my shared.module in angular 4, why can't I also add it in the import array such as: ``` @NgModule({ imports: [ Renderer2, ... ] ``` Adding it in the import gives an error. Here is why I need Renderer2: myComponent.html ...
2018/03/21
324
1,239
<issue_start>username_0: Not entirely sure if this is possible but is there a way to start the specified cloud foundry instances in sequence rather than having them start concurrently? Right now using the default cf push command with build-pack, 2 instances to be spun up. Would like to do this on the push if possible...
2018/03/21
602
2,021
<issue_start>username_0: I have a DataTable and I want to remove all the rows matching a `List< string>`, how to do that? Following is my code, ``` public static DataTable GetSkills(List EnteredSkills) { DataTable dt = new DataTable(); dt = GetDBMaster("SkillMaster"); List MatchingSkills = EnteredSkills.Select(c =>...
2018/03/21
601
2,043
<issue_start>username_0: I am reading sentences from a txt file and creating an array of unique words. First, I read the file line by line. I split the lines with whitespace to get the words as a String array. Then if the words are not my unique words ArrayList, I add the word to the ArrayList. However, there is a coup...
2018/03/21
1,134
3,529
<issue_start>username_0: hi, I have some issues with my real time plotting for matplotlib. I am using "time" on the X axis and a random number on Y axis. The random number is a static number then multiplied by a random number ``` import matplotlib.pyplot as plt import datetime import numpy as np import time def GetRa...
2018/03/21
1,019
3,045
<issue_start>username_0: I wrote following simple select query to fetch data, which is greater than the particular given date. ``` select * from XVIIX.emp_tasks where TASK_START_DATE > to_Date('30-MAR-18','DD-MM-YYYY'); ``` But the result is not what is expected from that. [![enter image description here](https:...
2018/03/21
560
2,173
<issue_start>username_0: i am starting a project i want know that what is the best and most accepted way of using angular as front end and laravel as back end can i do like in view folder of laravel i will install angular is it ok?? i tried to create api for that and in angluar i will call that api. what is the mos...
2018/03/21
301
1,009
<issue_start>username_0: I want to add custom background color for canvas how to add custom color to oracle forms developer<issue_comment>username_1: Open Canvas' Property Palette window and set its "Background Color" property to some color. Upvotes: 0 <issue_comment>username_2: Right click your canvas, and select "Pr...
2018/03/21
552
2,152
<issue_start>username_0: I am quite new to docker. I worked a `Dockefile` that copies my project sources and them builds the application. The building process is quite complex and should be done in the container's environment; not the host machine. So the Dockerfile look something like this: ``` FROM base-image RUN ...
2018/03/21
1,437
4,562
<issue_start>username_0: Help please finish the code. I need to count the number of .resp-containers in each container separately. And then so that you can scroll this number in the switch and distribute the corresponding class to each element in the containers <https://codepen.io/anon/pen/VXpZjP> ``` $(document).read...
2018/03/21
753
1,818
<issue_start>username_0: I noticed that the base R `quantile` function does not support date arguments. I appreciate that defining quantiles for dates needs care in the definitions (i.e. if you have 6 dates and ask for the 25th percentile, you need to define the suitable rounding). Is there an efficient implementatio...
2018/03/21
747
1,796
<issue_start>username_0: I understand that when an APDU is issued through a smart card reader the result has a format like this: ``` [ [data], SW1, SW2 ] ``` I know that when you're issuing the APDU you can specify the size of the expected answer by using `Le` field but I'm wondering if there is any byte (or any...
2018/03/21
877
3,403
<issue_start>username_0: I looking for node module (or something else) that can parse in runtime parameters from my program into yaml files. for example in kubernetes yamls ``` metadata: name: $PROJECT_NAME labels: service: $SERVICE_NAME system: $SYSTEM_ID app_version: $PROJECT_VERSION tier: app ...
2018/03/21
1,296
4,004
<issue_start>username_0: I have a sqlite-query that gets the following data: ``` private GetAllPlayerAttributesFromDB() { IDbCommand dbcmd = dbconn.CreateCommand(); string sqlQueryPlayer = "SELECT player_id, ability_id, value FROM playerabilities"; dbcmd.CommandText = sqlQueryPlayer; IDataReader r...
2018/03/21
1,461
5,215
<issue_start>username_0: Hi Anyone knows how to change Pay button on checkout based on chosen payment method? I found something but I don't know if I could turn it into a snippet in function.php? Thank you. ``` public function __construct() { $this->id = 'ry_ecpay_atm'; $this->has_fields = false; $thi...
2018/03/21
331
1,068
<issue_start>username_0: Try show/hide a field when checked a checkbox. How can i do this with jQuery? Thats my code: ``` jQuery(function() { jQuery('input[type="checkbox"]').on('change', function() { jQuery(this).find('#billing\_eu\_vat\_number\_field').toggle(!this.checked); }); }); }); ``` [![Screenshot](...
2018/03/21
1,922
6,835
<issue_start>username_0: Hey I'm trying to get my ViewModel working, but no luck so far. Android Studio shows error `Cannot resolve symbol 'ViewModelProviders'`. Every other question I found on this topic was correcting `extends Activity` to `extends AppCompatActivity`, but I am extending the right one. Not sure wha...
2018/03/21
1,229
3,829
<issue_start>username_0: I have created a couple of custom post type. To one of them i also want to add a custom field. It should just be a simple textfield where you can enter some text. Similar to the title field. How would you do that? I dont want to use a plugin. Current code (functions.php) ``` register_post...
2018/03/21
2,364
7,469
<issue_start>username_0: I have this error: > > Execution failed for task ':processDebugResources'. > Error: more than one library with package name 'com.google.android.gms.license' > > > when i have run > > ionic cordova run android > > > this is info ionic: > > cli packages: (AppData\Roaming\npm\node\...
2018/03/21
975
3,456
<issue_start>username_0: I have a form with a several different field types, all of which need to be complete before submission. I have the submit button disabled and would like to remove the disabled attribute once all the fields have values. I have examples from previous questions of this functionality working with ...
2018/03/21
857
3,037
<issue_start>username_0: i am using mongoengine to integrate with flask , i wanted to know how to get document object id every time i try i get `File "/var/www/flask_projects/iot_mongo/app.py", line 244, in post return jsonify(user.id) AttributeError: 'BaseQuerySet' object has no attribute 'id'` ``` class Test(Resourc...
2018/03/21
807
3,342
<issue_start>username_0: It is known that exact mathematical strategies such MILP are not efficient for large instances of the flexible job shop problem. However, still, nowadays it is possible to find proposals of MILP formulations for the FJS problem. It may be due to the fact that it is interesting to use the MILP m...
2018/03/21
1,278
3,749
<issue_start>username_0: I'm trying to build a page where people can select the colour and capacity of a product. Only one colour/capacity can be active at a given time and when one has been selected a border needs to appear around it. You can see in my attempt below the problem of the other elements being displaced w...
2018/03/21
903
2,824
<issue_start>username_0: I have a vector of strings and want to add a + before each word in each string. ``` strings <- c('string one', 'string two', 'string three') strings_new <- str_replace_all(strings, "\\b\\w", '+') string_new ``` Unfortunately, this is replacing the first character, not adding the + symbol. I'...
2018/03/21
3,868
18,953
<issue_start>username_0: In my case, I have Java 1.6 and want to connect to a remote server which only supports TLS1.2. Server URL is: <https://blagajne-test.fu.gov.si:9002> and certificate public key is here: <http://datoteke.durs.gov.si/dpr/files/test-tls.cer> I have no possibility to upgrade Java because is a part ...
2018/03/21
470
1,634
<issue_start>username_0: When using the very popular swiper.js, normally works as expected. However currently loop = true is not working because we have slidesPerView and slidesPerColumn enabled. Currently have: ``` var mySwiper = new Swiper ('#my-swiper', { slidesPerView: 3, slidesPerColumn: 2, spaceBetween: ...
2018/03/21
744
2,079
<issue_start>username_0: I have a txt file with a number of dates, each signifying an event: ``` 15MAR18 103000 15MAR18 120518 17MAR18 121203 17MAR18 134443 17MAR18 151733 19MAR18 165013 19MAR18 182253 19MAR18 195533 ``` I am trying to get a running tally of how many 'ev...
2018/03/21
324
1,074
<issue_start>username_0: I have been scratching my head with this one and wonder if anybody would be kind enough to give me a pointer. I am extracting some data as a variable from JSON to PHP, and I can do this no problem when there are nested nodes - IF the node is a text but not if the node is a number. I am using js...
2018/03/21
1,269
4,703
<issue_start>username_0: I'm trying to use the express session middleware in a separate route handler but the compiler complains that the property 'session' does not exist on type 'Request'. app.ts ``` import debug = require('debug'); import express = require('express'); import path = require('path'); import db = req...
2018/03/21
688
2,346
<issue_start>username_0: I have a csv where for one column values are in list of dict like below ``` [{'10': 'i ve been with what is now comcast since 2001 the company has really grown and improved and delivers a great service along with great customer service ', 'aspects':['service']}, {'20': 'good service but lack...
2018/03/21
1,173
3,635
<issue_start>username_0: I have defined folder for user maciek with permissions using sqlplus. ``` SQL> CREATE OR REPLACE DIRECTORY test AS '\home\oracle\Desktop\test'; SQL> GRANT READ, WRITE ON DIRECTORY test to maciek; ``` The folder I have created earlier manually. When I run the following script. ``` DECLARE O...
2018/03/21
1,009
3,463
<issue_start>username_0: I have to parse a CSV. I am using Apache common csv to do the same.My csv structures data looks like : ``` Name, ErrorType, Location, Error Detail, Mandatory ABC , E1 , "XYZ\ABC", "Valid Values: 'X','Y','Z'", REQUIRED ``` I am using below configuration for csv Pars...
2018/03/21
358
1,150
<issue_start>username_0: When I write this in TypeScript, I get an error saying `Namespace Bar has no exported member Qux`. Why is that and how do I fix it? ```js class Foo {} namespace Bar { export const Qux = Foo; } let a: Bar.Qux; ```<issue_comment>username_1: The `Qux` in your implementation is a variable r...
2018/03/21
446
1,705
<issue_start>username_0: I am reading from the documentation on openlog: > > Because Server-Side JavaScript Script Libraries have no context for > which component called them, you will not be able to use this to pass > the component to OpenLog. Instead, if you wish to identify which > component called the code, yo...
2018/03/21
1,212
3,351
<issue_start>username_0: i have a dictionary as ``` count = {'lt60': {'a': 0, 'b': 0, 'c': 0, 'd': 0}, 'ge60le90': {'a': 4, 'b': 0, 'C': 0, 'd': 0}, 'gt90': {'a': 0, 'b': 1, 'c': 2, 'd': 1} } ``` i want to write this dictionary in a CSV format like this ..as you can see in this picture [![csv file format](https://i...
2018/03/21
742
2,311
<issue_start>username_0: I have conflicts between the default key mappings of plugin jedi-vim and my customized key mapping. ``` " I mapped some cscope functions like below nnoremap g :cscope find g =expand('') nnoremap d :cscope find d =expand('') ``` However, this key binding is overridden by the key binding of `...