date
stringlengths
10
10
nb_tokens
int64
60
629k
text_size
int64
234
1.02M
content
stringlengths
234
1.02M
2018/03/08
432
1,934
<issue_start>username_0: My app has facebook login integration in it, And i found one issue while re-login, When i tried to logout from facebook and after that re-login i am getting previous user auto login in my app but what i need is to login as new user. Don't Know what's Going wrong My Logout code is ``` val para...
2018/03/08
555
2,103
<issue_start>username_0: When temporal table is created, we need to defined start and end date time columns which can be `hidden` - not visible in `SELECT *` or `INSERT without columns`. I want to add one more column, which will contain information about the user who has commit the change. The issue is, I am getting ...
2018/03/08
683
2,663
<issue_start>username_0: I am facing an issue when i write huge set of data to a Excel file with multiple sheets. I am using apache POI for the excel export. ``` File file = new File("../path/file.xls"); FileOutputStream fout = new FileOutputStream(file); ByteArrayOutputStream outputStream = new ByteArrayO...
2018/03/08
818
2,332
<issue_start>username_0: Here my code, ``` var date1 = joiningDate.split('-'); var tempjoiningDate = date1[1] + '-' + date1[0] + '-' + date1[2]; var date2 = birthdayDate.split('-'); var tempbirthdayDate = date2[1] + '-' + date2[0] + '-' + date2[2]; var jd = new Date(date1[0], date1[1] - 1, date1[2]); var bd ...
2018/03/08
384
1,470
<issue_start>username_0: I've been trying to set up a new user on my Arch Linux system by way of a simple shell script, following the advice of several sources which state that `printf "$password\n$password\n" | (passwd $user)`, or similarly `echo -e "$password\n$password\n" | (passwd $user)` should do the trick. In d...
2018/03/08
227
841
<issue_start>username_0: In MySQL we can set the length of the field that will be indexed this way: ``` CREATE INDEX part_of_name ON customer (name(10)); ``` Can we do the same in PostgreSQL? If yes, then how?<issue_comment>username_1: It may be because password contains characters like `\` or `%` which can be inter...
2018/03/08
462
1,358
<issue_start>username_0: I want to change this object structure ``` [ { "tahun": "2010", "apel": 100, "pisang": 200, "anggur": 300, "nanas": 400, "melon": 500 }, { "tahun": "2011", "apel": 145, ...
2018/03/08
223
847
<issue_start>username_0: I am using the `onkeypress` event in my text fields to validate numbers only but it is not working for mobile devices (It is a responsive page, build to be used from desktop and mobile both). I have found that touch events are used in case of mobile view. Can anybody help with the substitute ...
2018/03/08
1,605
5,258
<issue_start>username_0: I have a PHP form and I'm trying to display asterisks after the input boxes `txt1`, `txt1`, and `txt3` if they are empty. It shows the asterisks if empty after hitting the submit button but I want to be able to remove the asterisk after hitting the button if the field has already been filled. T...
2018/03/08
1,613
4,992
<issue_start>username_0: Below table 'mydata' has four columns payId,custId,rScore,bScore ``` payId custId rScore bScore A 1 0.2 0 A 2 0.3 1 A 4 0.65 1 A 1 0.35 0 B 3 0.5 1 B 5 0.3 1 B ...
2018/03/08
1,814
6,033
<issue_start>username_0: I'm following this basic tutorial <https://www.joshmorony.com/creating-role-based-authentication-with-passport-in-ionic-2-part-1/> My problem is that when going on the browser to: <http://localhost:8080/> <http://localhost:8080/login> <http://localhost:8080/register> I get the follo...
2018/03/08
332
1,243
<issue_start>username_0: I tried delcaring a `List> \_work;` with different syntax but it still failed and gave an error ``` type 'MappedListIterable' is not a subtype of type 'List> ..... MappedListIterable is from dart:\_internal List is from dart:core Mapis is from dart:core String is from dart:core Object is from...
2018/03/08
485
1,585
<issue_start>username_0: I tried the below code to write a list to csv file, but it always shows the error: ``` a bytes-like object is required, not 'str' ``` Below is the code: ``` import csv a=['a','b','c'] with open(r"result.csv",'wb') as resultFile: writer = csv.writer(resultFile, lineterminator='\n') f...
2018/03/08
1,979
4,551
<issue_start>username_0: I have a dataset like below [![Data](https://i.stack.imgur.com/5Yvx1.jpg)](https://i.stack.imgur.com/5Yvx1.jpg) ``` CREATE TABLE [dbo].[testTable]( [ID] [int] NULL, [Type] [varchar](50) NULL, [Time] [datetime] NULL) INSERT INTO testTable (Id,Type,Time) SELECT '1','Start','Feb 22 2018 6:02A...
2018/03/08
754
2,232
<issue_start>username_0: I wrote a simple piece of code - `ceil1`. Since it failed my test cases after rewriting same code - `ceil` worked. ``` public class Test { public static void main(String args[]){ System.out.println(ceil(3, 2)); //getting 2 System.out.println(ceil1(3, 2)); //getting 1 } public static i...
2018/03/08
789
2,633
<issue_start>username_0: I have two pages like (Online page and Offline page) using SPA in angular and MVC. If a network is lost offline page should work and an Online page should not load, it should display error. (There is no Internet connection). What I did, I have created a Manifest file and added to Layout HTML. w...
2018/03/08
779
2,385
<issue_start>username_0: I use `REST API` to share articles/posts on LinkedIn Timeline and Company pages. To do so, I authorize my LI profile with the APP for accessing the profile info. As a result, could view the profile/image of a user in the APP. Everything worked fine until, for some time now, aren't able to view ...
2018/03/08
1,325
5,152
<issue_start>username_0: I have a function in PostgreSQL that calls multiple function depends on certain conditions. I create a temporary table in main function dynamically using "Execute" statement and using that temporary table for insertion and selection in other functions (same dynamic process using "Execute" sta...
2018/03/08
1,128
3,755
<issue_start>username_0: Is there a way to concatenate strings without pre-allocating a buffer? Consider the following: ``` int main() { char buf1[] = "world!"; char buf2[100] = "hello "; char * p = "hello "; // printf("%s", strcat(p, buf1)); // UB printf("%s", strcat(buf2, buf1)); // correct way ...
2018/03/08
590
1,954
<issue_start>username_0: I have a user and post document as follow: ``` user: { "name": "Test", interests: [ "Sports", "Movies", "Running" ] } post: { "title": "testing", "author": ObjectId(32432141234321411) // random hash } ``` I want to query posts and fetch all those posts with author have "sports",...
2018/03/08
943
2,429
<issue_start>username_0: I have 2 fields in 2 tables .ie. status (status VARCHAR(80) CHARACTER SET LATIN CASESPECIFIC) One table has 1000 status as value is 'success' 2nd table has 1 value for status=success and other values like 'failure'. I want to join 2 tables and get the value from 2nd table (dw\_status\_id) 1ST ...
2018/03/08
404
1,226
<issue_start>username_0: Python how to remove = in strings? ``` a = 'bbb=ccc' a.rstrip('=') # returns 'bbb=ccc' a.rstrip('\=') # alse returns 'bbb=ccc' ``` how to match `=` ?<issue_comment>username_1: You can replace it with an empty string: ``` a.replace("=", "") ``` For reference: * <https://docs.python.org/...
2018/03/08
387
1,201
<issue_start>username_0: I'm on a project where I need to use TinyMCE for textarea in wordpress. The problem is when I save my code, TinyMCE add around tags like or and I don't know how to fix that There is my code for tinyMCE and the result I have : ``` tinymce.init({ selector:'.tiny', plugins: "lists, link, pas...
2018/03/08
537
2,074
<issue_start>username_0: I know how to init components using `ComponentFactoryResolver.resolveComponentFactory(AComponentType)` but the method expects a `Type`, while in my code I have the name of the type as a `string`. In the Angular API is there a method to resolve by `string`? If not, how can I convert a string t...
2018/03/08
3,248
10,149
<issue_start>username_0: I want to use video on demand service of Alibaba cloud for video streaming. video on demand makes different resolution videos from uploaded videos for data streaming. For that, I am using <https://github.com/aliyun/aliyun-openapi-php-sdk>. Now problem is that I don't know how to upload video...
2018/03/08
4,012
12,476
<issue_start>username_0: I am facing an issue in Android studio [![enter image description here](https://i.stack.imgur.com/k6GTc.png)](https://i.stack.imgur.com/k6GTc.png) I have tried to update the recent build-tools version to `27.0.1` and SDK version to `28` but it throws the exception [![enter image descriptio...
2018/03/08
1,586
5,947
<issue_start>username_0: How can I add a `List-Unsubsribe :` header to my outgoing email message when using Amazon SES (Simple Email Service)? I am using AWS' JavaScript SDK. Here are various documentation links I have looked at but have been unsuccessful at finding an answer: [Link1](https://docs.aws.amazon.com/sdk...
2018/03/08
1,000
3,937
<issue_start>username_0: ``` #include std::vector::iterator foo(); void bar(void\*) {} int main() { void\* p; while (foo() != foo() && (p = 0, true)) { bar(p); } return 0; } ``` Results in error: > > c:\users\jessepepper\source\repos\testcode\consoleapplication1\consoleapplication1.cpp(15): error C4703: po...
2018/03/08
1,029
4,251
<issue_start>username_0: I have `n` vectors and I need to iterate over all of them consistently. I mean that first I need to iterate over all elements of first vector then to iterate over all elements of second vector and so on. I have task to compare all elements consistently including the last element of `k-1`'th v...
2018/03/08
707
2,647
<issue_start>username_0: I added in-app-purchase (one non-consumable, "unlock premium" item) to my iOS App, and during testing on iphone8 (dev.prov) with sandbox user, it works nicely. However, when I send for review (distr prov), they reject it, as purchase fails with "Cannot connect to iTunes Store". They attached ...
2018/03/08
899
3,114
<issue_start>username_0: I have following DSE cluster configuration : ``` 6 nodes with 6 cores/16GB ram for each node. ``` My app is build using pyspark that read data from Cassandra DB. We load on cassandra db 320.000.000 rows and run my python spark application with full memory and cores and have this error : `...
2018/03/08
1,308
5,475
<issue_start>username_0: There are plenty of explanations of await and async, now available in C#; but nothing seems to explain why this... ``` using (XmlReader reader = XmlReader.Create(stream, settings)) { while (await reader.ReadAsync()) { // Do something } } ``` is better than this... ``` us...
2018/03/08
544
2,356
<issue_start>username_0: I want to create an interface that will force all classes that implement it to define a static final integer variable: ``` public interface FooInterface { static final int bar; } ``` But the compiler says *"Variable 'bar' might not have been initialized"*. Why do I have to give it a valu...
2018/03/08
513
1,744
<issue_start>username_0: If you take a look at the stylus snippet below, when `bottom 0` is added, the height from the below doesn't get compiled into CSS. Remove `bottom 0` and it works fine, unfortunately I need `bottom 0` in this case: **Stylus** ``` &__text-mask span display block ...
2018/03/08
629
1,936
<issue_start>username_0: here i created a link of the customer. ``` [php echo $data['fullname']; ?](https://127.0.0.1/new taxicab/account/driver/profile/index.php?id=<?php echo $data['id']; ?>) ``` and the index.php is ``` php $connection = new mysqli("localhost", "root", "black<PASSWORD>!@","new_taxicab"); $id...
2018/03/08
783
2,942
<issue_start>username_0: This statement fails. How could I cast from one enum into another (which are identical) ``` enum Enum1 { Key1 = 'key' } enum Enum2 { Key1 = 'key' } const key = Enum1.Key1 const key2 = key as Enum2 ```<issue_comment>username_1: At runtime the variable will contain the enum value (`key` i...
2018/03/08
1,226
4,439
<issue_start>username_0: i cant seem to understand why the array i am trying to print throws an array out of bounds error when i try to append it to a JTextArea. Both arrays have been initialized to start at zero. ``` private ArrayList UniResponse = new ArrayList(0); private ArrayList CHOICES = new ArrayL...
2018/03/08
322
1,059
<issue_start>username_0: I did fresh setup of hadoop2.9. To create a directory, I tried: ``` > hadoop fs -mkdir test mkdir: 'test': No such file or directory ``` To list its content, I tried: ``` > hadoop fs -ls/ not listing directories or files ``` Please help me to understand the issue.<issue_comment>userna...
2018/03/08
1,389
5,606
<issue_start>username_0: I am developing a simple app that collect asset data from pc which each of the asset has two barcodes.The barcodes is serial number and model number.The form contain 2 textview and 3 buttons.Each textview to return the result of each scan.While,2 of the buttons for scan the barcodes and 1 butto...
2018/03/08
532
1,685
<issue_start>username_0: I have a bunch of links. I need to extract the title from them. So, I want to make textarea to paste links and button like "get the title" to extract titles. I made a function to extract the title from one URL. It works fine. I'm a newbie in PHP and I don't know how to detect line break to get ...
2018/03/08
1,409
5,119
<issue_start>username_0: I'm building a webpack automated workflow. I completed the development server. All of my development configurations are in `webpack.config.js` file. Then, I add it into `package.json` script via `'dev':'webpack-dev-server'` How would one make a configuration for production in a separate file...
2018/03/08
775
3,097
<issue_start>username_0: I'm developing a download and share file method to other apps using `UIDocumentInteractionController`. But strangely, all I can get is "copy to" apps features, instead of "open in" apps. If I click on the "copy to", nothing happened, even though I know that what happens behind the screen is tha...
2018/03/08
649
2,482
<issue_start>username_0: lets say I have a function in a loop that will display two different kinds of text interchangeably over and over. Now what I want to achive is for the different text to be displayed with a delay, let's say 1 second. So it would print 1st text and after 1 second 2nd text and so on untill the lo...
2018/03/08
318
1,117
<issue_start>username_0: I'm currently migrating from Bootstrap4 alpha to Bootstrap4 stable. So far, so good, except this problem I have with my modals. I'm using dropdowns everywhere, including ones with many items. Previously, the scrolling was working perfectly. Now it does not: when I scroll, this is the modal filt...
2018/03/08
545
1,891
<issue_start>username_0: For my project I need to extract the CSS Selectors for a given element that I will find through parsing. What I do is navigate to a page with selenium and then with python-beautiful soup I parse the page and find if there are any elements that I need the CSS Selector of. For example I may try t...
2018/03/08
800
2,583
<issue_start>username_0: I have the following code that will join two arrays by comparing the id property of each element. ```js //dummy test data var arrayA = [{ id: 0, data: "hello" }, { id: 1, data: "world" }, { id: 2, data: "!" }], arrayB = [{ id: 2, data2: "bbb" }, { ...
2018/03/08
1,171
4,155
<issue_start>username_0: I had been searching for ways to do this but I seem couldn't get any helpful answer online thus I have to directly ask here. What I want is simple: Process some data from CSV, plot it into graph and post it to my HTML. I do not own any web-domain, the HTML is put in a shared drive and could be...
2018/03/08
409
1,683
<issue_start>username_0: I have a function that retrieves a list of items from a repository. Instead of using a regular callback I pass in a function and invoke this with the result. But how can you unittest this kind of function. Is there some way to verify that the passed in function is being invoked or should I refa...
2018/03/08
310
1,143
<issue_start>username_0: Hey sorry for my bad english. I need a code that uses loop to print this kind of output: ``` * ** *** **** ***** ****** ******* ******** ********* ********** ``` It's like counting from 1 to 10 but instead of numbers it makes \* show the value. I did a lot of research but I couldn't find a...
2018/03/08
655
2,623
<issue_start>username_0: ``` import React, { Component } from "react"; import { connect } from "react-redux"; import { Link } from "react-router-dom"; import { userChange, passwordChanged, islogin } from "./actions"; class Login extends Component { constructor(props) { super(props); this.login =...
2018/03/08
302
1,213
<issue_start>username_0: I need to write a test that checks some fields are updated with the right information when a button is clicked. The problem is that when the information changes, nothing in the HTML changes. Is there an alternative to Element.Text to achieve this? As that method doesn't work. I'm writing my ...
2018/03/08
308
1,031
<issue_start>username_0: I am wondering is there any way to replace this type of value in string ``` https://farm5.staticflickr.com/4796/39790122335_bdc207b259_o.jpg https://farm5.staticflickr.com/4776/39790122225_c8e96339fa.jpg ``` What i want is that replace the right side of URL and just show the left side there...
2018/03/08
303
1,045
<issue_start>username_0: [SQL Screenshot](https://i.stack.imgur.com/f1Gtv.png) Hi, please check attached picture, I have the data on the sql grid and I want to get the preferred output. any help will be very much appreciated. thank you very much.<issue_comment>username_1: Use conditional aggregation with the help of `...
2018/03/08
2,064
7,550
<issue_start>username_0: I stumbled upon an unexpected behavior of a shared pointer I'm using. The shared pointer implements reference counting and *detaches* (e.g. makes a copy of), if neccessary, the contained instance on non-const usage. To achieve this, for each getter function the smart pointer has a `const` a...
2018/03/08
573
1,647
<issue_start>username_0: I am working with AS400 version 7.1. Having the following: ServerA (SA) - DatabaseA (DBA) - TableA (TA) ServerB (SB) - DataBaseB (DBB) - TableB (TB) ``` SELECT A.*, B.* FROM SA.DBA.TA A INNER JOIN SB.DBB.TB ON A.PN=B.PN WHERE A.PN='BFDKS'; ``` What's the correct syntax to join 2 tables ...
2018/03/08
543
1,620
<issue_start>username_0: NG-click not firing in ng -repeat. I want to use ngclick to display only the specific element details. ``` | Id | Name | Age | Role | | --- | --- | --- | --- | | {{ $index + 1 }} | {{p.name}} | {{p.age}} | {{p.mass}} | ``` js: ``` var mainApp= angular.module("mainApp", []); mainApp.co...
2018/03/08
505
1,915
<issue_start>username_0: I have 2 values in table User: Address1, Address2. Both could be null. As part of a filter method, I am attempting something like the below: ``` var tempUsers = users.Where(q => q.Address1.ToLower().Contains(address.ToLower()) || q.Address2.ToLower().Contains(address.ToLower())); ``` This i...
2018/03/08
534
1,863
<issue_start>username_0: Is there a way to include html partial inside another partial using webpack? I am using html-loader to do this: **index.html** ``` <%= require('html-loader!./partials/_header.html') %> ``` But when I try to include another partial inside a \_header.html it is not able to render it. This is...
2018/03/08
1,032
3,606
<issue_start>username_0: I am added a view in viewDidAppear method using autolayout. In the end of viewDidAppear trying to find the height of view that I added , I am getting zero? That view I am adding has a label , height of that label is dynamic ``` let viewToShowIn = self.view! let bannerView = UIView() bannerVi...
2018/03/08
1,165
4,103
<issue_start>username_0: I have a Python controller which uses `scrapy-splash` lib that sends `SplashRequest` to a Splash service. Locally, I run both, the controller and the splash service in a two different Dockers. `yield SplashRequest(url=response.url, callback=parse, splash_url= endpoint='execute', args=)` Whe...
2018/03/08
1,018
3,583
<issue_start>username_0: This is a simple test script I am attempting to write which will help me teach myself about tkinter... ``` from tkinter import * def hello(): print("U pressed it lol") global window1, window2 window2 = None window1 = None def setWindow(windowEnter): global window window = windowEnte...
2018/03/08
530
2,234
<issue_start>username_0: Background : I have one imageView where I want to play a GIF on button click. If I press the button again GIF should stop on pressing it again it should start again but from the beginning. Problem : ``` massage1.Click += (sender, e) => { if (!flag1) { ...
2018/03/08
646
2,029
<issue_start>username_0: I try to parse a date string, but get wrong month, why? ``` new SimpleDateFormat("yyyy-MM-DD", Locale.US).parse("2018-03-08") ``` **Why this returns month as Jan?** Please check screenshot: [![enter image description here](https://i.stack.imgur.com/7159q.png)](https://i.stack.imgur.com/715...
2018/03/08
958
3,204
<issue_start>username_0: I am using the below API ``` https://bitbucket.org/site/oauth2/authorize?client_id={client_id}&response_type=token ``` to get access\_token but access\_token is expired in 1 hour and I need refresh\_token but I am not able to get refresh\_token in the above API's response. The response of ...
2018/03/08
837
3,103
<issue_start>username_0: I would like to know if someone has experienced running error on Azure WebJobs Queue sample on Visual Studio templates. The sample running to issue after I updated all the packages on NuGet manager. This is the error message: ``` System.InvalidOperationException HResult=0x80131509 Messag...
2018/03/08
896
2,859
<issue_start>username_0: I have a function that most of the time should return a single value, but sometimes I need a second value returned from the function. [Here](https://stackoverflow.com/questions/9752958/how-can-i-return-two-values-from-a-function-in-python) I found how to return multiple values, but as most of t...
2018/03/08
804
2,403
<issue_start>username_0: I have created a table with cells in Angular/html/css and my cells have to be able to hold a lot of text. My Problem os just that the text will overflow the cell and i need it to just fit inside so it looks nice. [![enter image description here](https://i.stack.imgur.com/nR5dJ.png)](https://i....
2018/03/08
362
1,509
<issue_start>username_0: I don't have exact idea of key schema, that what it is, and why it must be used as key is auto-generated and we just pass a value(message). For value, we pass a schema to the AVRO Serialiser and the serialiser gets it's schema id from schema registry and embeds the schema id with the value(mes...
2018/03/08
805
2,553
<issue_start>username_0: I have a MySQL table which stores names of reports and for each entry I have a table where I have marks for each subject. `Reports` ``` +------------+----------+ | S.No. |ReportName| +------------+----------+ | 1 | Report1 | | 2 | Report2 | +------------+----------+ ...
2018/03/08
571
2,213
<issue_start>username_0: I am new using Reactjs, and now I need to deploy my react js app on my **shared hosting**. I use: `create-react-app myapp` And to run it on dev with `npm start`. I've tried many suggestions using `browserify` and `webpack`, but until now still no success. or maybe there is another way to ma...
2018/03/08
326
1,285
<issue_start>username_0: In magento, new order email is not working. I have set up "store email addresses" also, not working.<issue_comment>username_1: [npm run build](https://create-react-app.dev/docs/deployment) > > `npm run build` creates a `build` directory with a production build of your app. Set up your favorit...
2018/03/08
1,270
4,186
<issue_start>username_0: I am using following sql query ``` SELECT * FROM TestTable WHERE keyword IN ( Select Tags from Tags) ``` keyword in table are stored as `keyword1, keyword2, keyword3` If it was single keyword the above query works fine but i have multiple keywords and i need to search each one of them in t...
2018/03/08
435
1,802
<issue_start>username_0: I want to retrieve all files from a local folder whose modification date is older than midnight: ``` LocalDateTime midnight = LocalDateTime.of(LocalDate.now(), LocalTime.MIDNIGHT); long timestamp = file.lastModified(); ``` Question: Now I have the start of the day in `java.time.LocalDateTime...
2018/03/08
928
2,740
<issue_start>username_0: How can I increase the space between subplots in Plots.jl? Minimal non-working example: ``` julia> using Plots; pyplot() Plots.PyPlotBackend() julia> data = [rand(100), rand(100)]; histogram(data, layout=2, title=["Dataset A" "Dataset B"], legend=false) ylabel!("ylabel") ``` ...
2018/03/08
666
3,012
<issue_start>username_0: ``` public void etisLogAround(ProceedingJoinPoint joinPoint, EtisLog etisLog) throws Throwable { Object[] args = joinPoint.getArgs(); MethodSignature methodSignature = (MethodSignature) joinPoint.getStaticPart().getSignature(); Method method = methodSignature.getMetho...
2018/03/08
2,295
8,790
<issue_start>username_0: I have big Object with protected properties and a property can be an array of other Objects. My goal is to print this entire Object as a single nested array. So I need to convert the object to an array. I've tried doing: `$result = (array) $object;` But this converts only the highest lever o...
2018/03/08
1,033
3,171
<issue_start>username_0: I have a file that has a vba macro to paste and sort data. Now everytime i save the file, when opening it says it has a problem = removed records :sorting from sheet3 ( even tough i do not have a sheet3 in my file) , and my file gets corrupted and 'locked for editing' . Thank you in advance ...
2018/03/08
622
2,443
<issue_start>username_0: I am starting of with an image of a Spring Boot application, that is depending on a PostgresSql database. So the Spring Boot container won't run, if there is no database for it to connect to. The database is running but, as the `--link`option is now [deprecated](https://docs.docker.com/networ...
2018/03/08
687
2,649
<issue_start>username_0: I am looking for a VBA code that compare two columns and if it matches it display YES in the third columns else it will display NO. I have tried. ``` Sub Find_Matches() Dim CompareRange As Variant, x As Variant, y As Variant ' Set CompareRange equal to the range to which you will ...
2018/03/08
621
2,317
<issue_start>username_0: I have the application that has '16' mini sdk and '27' targeted sdk versions. When I install the application with USB cable from android studio, it works fine. But when I send the application to other phones b/n 16-27 sdk versions, It appear > > App not installed > > > error on the phone...
2018/03/08
469
1,553
<issue_start>username_0: Following is the document structure: ``` { _id : '993920022', data: 'dkow000afkkaso', timeStamp : '3/7/2018 10:13:36 AM' } ``` I want to find data in specific date range e.g. 01 Mar 2018 to 07 Mar 2018, but I am unable to achieve it, my MongoDB query is: ``` db.collection.find(...
2018/03/08
496
1,848
<issue_start>username_0: so I come to you with a simple question: how is laravel session relay working. My use Case: I have a laravel site cached with a varnish like so : 1. every get request is made as the user is not logged in 2. any user related info if loaded via ajax after the user loaded the page. My problem i...
2018/03/08
703
2,485
<issue_start>username_0: I've created an `enum` which looks like: ``` public enum BtsMode { PROJECT_BTS("project_bts"), SERVICE_BTS("service_bts"); private String mode; private BtsMode(String mode) { this.mode = mode; } public String getMode() { return mode; } public sta...
2018/03/08
411
1,200
<issue_start>username_0: I have an array something like this: ``` data: [ [ {}, {} ... //multiple objects ] ] ``` How do I remove those second square brackets? I want it to be changed from `[[{}]]` to `[{}]`.<issue_comment>username_1: Extract first item of your array ```js var data = [ [ {id: 1}, ...
2018/03/08
2,442
8,282
<issue_start>username_0: I already have some code which trains a classifier from numpy arrays. However, my training data set is very large. It seems the recommended solution is to use `TFRecords`. My attempts to use `TFRecords` with my own data set have failed, so I have gradually reduced my code to a minimal toy. **E...
2018/03/08
888
2,958
<issue_start>username_0: I am trying to get exact word (sub-strings) match from sentences (strings) containing at least one exact word match (best if not articles or gerunds) stored in a database at any position in the sentence as follow: ``` SELECT q FROM q WHERE q LIKE '%$q%' OR '$q' LIKE CONCAT('%', q, '%') ORDER...
2018/03/08
587
1,951
<issue_start>username_0: I'm using jQuery 1.12 Api and I would like to make active a tab based on its id. Using jQuery 1.8 Api this was possible with this piece of code: ``` $('#div-container').tabs('select', '#' + idTab); ``` From what i read in the documentation, in 1.12 the closest way to achieve that is by doing...
2018/03/08
1,770
6,695
<issue_start>username_0: I'm new enough to use Xamarin, in my Xamarin Forms project I created a Master-Detail Page and in the ListView that represents the menu I wanted to put Title and Icon, for icon images I have to insert each icon in all device projects? And I also have a small problem, when I click on a menu item...
2018/03/08
547
1,660
<issue_start>username_0: ubuntu 16.04 , nvidia-docker installed, a tensorflow container running, python 2.7 i want to run a simple python code inside the container. shown as below ``` from tkinter import * master = Tk() canvas_width = 80 canvas_height = 40 w = Canvas(master, width=canvas_width, ...
2018/03/08
500
1,968
<issue_start>username_0: I want to know if we can control the selection/deselection of checkboxes of the CAPL Test Modules via CAPL Scripts, either by setting some system variable or by calling certain events. Is this possible? [![enter image description here](https://i.stack.imgur.com/z0DC6.png)](https://i.stack.imgu...
2018/03/08
2,918
11,927
<issue_start>username_0: I'd like to create a color object based on an `Int`. I can achieve the same result using `sealed class` and `enum` and was wondering if one is better than the other. Using `sealed class`: ``` sealed class SealedColor(val value: Int) { class Red : SealedColor(0) class Green : SealedCol...
2018/03/08
559
2,009
<issue_start>username_0: I have been trying to solve this for 4-5 days, but still can't find the cause of the problem. As title says, every time I click logout button application browser freezes, can't close the tab, in order to run the app again I have to open another one or close the browser via Task Manager. I ass...
2018/03/08
953
3,236
<issue_start>username_0: I'm trying to dump a Postgres db from Amazon RDS, which I recently updated to 10.1. To do so, I download `pg_dump` 10.1 from [enterprisedb.com](https://www.enterprisedb.com/download-postgresql-binaries) (<http://get.enterprisedb.com/postgresql/postgresql-10.1-1-linux-x64-binaries.tar.gz>) but w...
2018/03/08
3,401
8,761
<issue_start>username_0: So I'm trying to copy the values of a row from one table to another using the 'Insert into x select y' structure. The two tables have the exact same structure. The tables contain Timestamp(6) columns which somehow causes it to fail, I think. Look below for the query: ``` INSERT INTO sapd SELE...
2018/03/08
556
2,030
<issue_start>username_0: Below is my html: ``` ``` Below is my javascript: ``` var locationbegin="Locationtest"; $("#slider").append(locationbegin); var locationoptions = "tester"; $("#slider").append(locationoptions); var locationend=" "; $("#slider").append(locationend); ``` Below is the output: [![output](...
2018/03/08
409
1,268
<issue_start>username_0: I'm trying to remove trailing zeros from a string in HIVE, for example `5634000 -> 5634` I have tried ``` SELECT RTRIM('1230','0'); ``` but Hive throws the following error: ``` Error while compiling statement: FAILED: SemanticException [Error 10014]: line 41:46 Wrong arguments ''0'': rtr...
2018/03/08
573
1,981
<issue_start>username_0: In jmeter, I have this **Regular Expression Extractor** to extract the customerId from the response JSON to use that customerId in next requests. I have following json: ``` { "customerList":{ "Customer":{ "customerName":"Test1", "id":"0215236", ...
2018/03/08
1,535
4,149
<issue_start>username_0: How to join two tables in MySQL using *PHP* and *mysqli*? I have two tables: `checkin` and `checkout`. I am trying to merge the two tables with a condition. Here is my table structure: **checkin** ``` userid currentdate currenttime 60 08-03-2018 03:10 60 08-03-2018 05:50 60 ...
2018/03/08
649
2,170
<issue_start>username_0: I'm wondering if it is possible to update a SQL row only with **not** empty values. A user wants to update its accountdata and leaves the email field in a html-form blank. The resulting PHP-array should gets updated to the database, but only the values, which are **not** blank: ``` Array ( ...
2018/03/08
365
1,293
<issue_start>username_0: For Spring versions 5.x I cannot find any epub or pdf version of the reference documentation. Former versions were available e.g. at <https://docs.spring.io/spring/docs/4.3.9.RELEASE/spring-framework-reference/epub/>. Are they available any more? epubs are perfect to be read with an ebook reade...