date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/02/27 | 1,780 | 4,650 | <issue_start>username_0: I have a 3 dimensional numpy array with shape `(x,y,R)`. For each `(x,y)` pair, I have a 1D numpy array of R values. I want to set the entire array to `nan` if any of the R values are `nan` or `zero`. I tried something like
```
# 3d np array is called: data
mask1 = (data==0).any(axis=2)
mask2 ... |
2018/02/27 | 1,228 | 3,634 | <issue_start>username_0: I have a string: `item1|item2|item 3|yyyy-mm-dd`.
`|` is the delimiter for the items. the date is appended to `item1 | item2 | item3 |` and you can add more items after item3 so there can be a indefinite number of items. i want to be able to remove the last delimiter. is there a way to do thi... |
2018/02/27 | 497 | 2,025 | <issue_start>username_0: I am trying to perform a simple animation that I would like to happen after a successful return of an AJAX call.
```
$('#result').click(function(){
$(document).ajaxSuccess(function(){
$('html, body').on("scroll mousedown wheel DOMMouseScroll mousewheel keyup touchmove", function(){
... |
2018/02/27 | 754 | 2,598 | <issue_start>username_0: I have a \*ngFor inside another \*ngFor. The problem happens when the object used in the other \*ngFor changes. Let's say this is our data:
```
const data = [
{
id: 1,
name: '<NAME>',
children: [
{id: 1, name: 'child1', val: ['1', '2']},
{id: 2, name: 'child2', val: [... |
2018/02/27 | 1,150 | 3,741 | <issue_start>username_0: I want to increment values by 1, when I click buttons then it is get value by input hidden and show in console. like click button `add1` it is pick the value 5 and show in console and vice versa. now I want to increment value by 1 to click every button get value and increment. like click `add1`... |
2018/02/27 | 853 | 3,466 | <issue_start>username_0: I am very new to java and android. I am stuck with a basic problem.
In this given `fragment`, I can add `GoogleMap` object as `parcelable` without any extra `pracelable` class as:
```
public class SecondFragment extends Fragment
implements OnMapReadyCallback {
public G... |
2018/02/27 | 457 | 1,740 | <issue_start>username_0: I'm building an eCommerce site with Laravel backend.
I can use ReactJs for the view but an SPA is not SEO friendly.
Will using ReactJs in a multipage setup (as described [here](https://stackoverflow.com/questions/41956465/how-to-create-multiple-page-app-using-react)) solve the SEO issue,
or s... |
2018/02/27 | 277 | 1,030 | <issue_start>username_0: I have subclassed UINavigationBar and customised the height of navigation-bar. Now it has 108pt height. But in all the screens, I am having the top area of tableview/scrollview behind the custom navigation-bar. I have tried `extend edges under top bar`, but it only move 64pt.
Is there any way ... |
2018/02/27 | 691 | 2,850 | <issue_start>username_0: I have created ajax function to call controller, and in conmtroller i have fetched some data and return as json, but in ajax function in response it is printing whole html page, instead of just json data.
**Controller:**
```
php
class Mage_Catalog_ProductwidgetController extends Mage_Core_Co... |
2018/02/27 | 405 | 1,376 | <issue_start>username_0: I am receiving a Json response from an API but unable to convert to object.
My class is
```
public class ResultOrder
{
public int id { get; set; }
public string currency { get; set; }
public string status { get; set; }
public string order_id { get; set; }
public doubl... |
2018/02/27 | 2,111 | 5,625 | <issue_start>username_0: The sample text file will be like this
```
ID Z4WTH3_9ACTN Unreviewed; 182 AA.
AC Z4WTH3; A0SD0SDF;
AC Z12SDFG3; ADFFGDF;
DT 11-JUN-2014, integrated into UniProtKB/TrEMBL.
SQ SEQUENCE 182 AA; 20675 MW; B85D18AC3B1F0E75 CRC64;
MNFLEYNKDE KLHFNYKKSC GLWLIVVALI... |
2018/02/27 | 1,068 | 3,394 | <issue_start>username_0: So I have to implement a stack using an array built in a class, and if the "stack" ever fills up, I am supposed to increase the size of the array which I attempted, and failed. So I am just curious as to what I need to change in order to make this work.
```
class AbstractStack
{
private:
... |
2018/02/27 | 624 | 2,111 | <issue_start>username_0: I am trying to understand the concept of running multiple reducers in MR job and came to know that it is partitioner which decides which (key,value) pairs goes to which reducer.
My question is:
===============
Can we run multiple reducers without running partitioner? Would that be a valid sce... |
2018/02/27 | 774 | 2,204 | <issue_start>username_0: I installed h2o for Python 2 using below code in Azure Notebook IDE:
```
!pip install h2o
```
Then imported it using:
```
import h2o
```
However, I get the following error:
```
H2OConnectionError: Could not establish link to the H2O cloud http://127.0.0.1:54321 after 20 retries
[07:... |
2018/02/27 | 751 | 2,253 | <issue_start>username_0: I have a .csv file which consists of 7 columns: ID, Title, Media-Type, Published, Content, Source and Label.
The .csv file/dataset is as given here:
[Dataset](https://i.stack.imgur.com/r32WX.png)
Now, what I want to do is transform the values given the last column of "Label". That is, I want... |
2018/02/27 | 738 | 2,591 | <issue_start>username_0: I'm working with CRUD operation using jQuery AJAX and bootstrap modal in laravel. But the problem is when I want to edit something. I can't populate my dropdown list after an AJAX success request. How can I set database default value in my edit modal Dropdown List?
My Code:
```
$(document).re... |
2018/02/27 | 1,385 | 3,453 | <issue_start>username_0: I tried to do shallow copy, but it's not working for me.
```
import copy
a = [1,2,3,4]
b = copy.copy(a)
```
Now both `a` and `b` will have same values [1,2,3,4]. But if I append `b.append(1)`, it is not reflected in a.
```
b.append(1)
print(b)
[1,2,3,4,1]
```
But in a
```
print(a)
[1,2,3... |
2018/02/27 | 1,336 | 3,542 | <issue_start>username_0: Can somebody explain the use of `private` access modifier with `set` property and default with `get` property in C# getter and setter methods? I am pretty new to the C# programming language.
Sample code:
```
public Status
{
get { return my_status; }
private set
{
if (v... |
2018/02/27 | 323 | 1,252 | <issue_start>username_0: I have this .XAML page and Scroll doesn't work
Its working fine when I have remove AbsoluteLayout and take stacklayout.
```
```<issue_comment>username_1: Your XAML basically *"says"* put a `ScrollView` on the page, with an `AbsoluteLayout` filling that `ScrollView`. Since the inner layout pe... |
2018/02/27 | 572 | 2,010 | <issue_start>username_0: ```
import turtle
import math
import random
import os`
player = turtle.Turtle()
player.color("yellow")
player.shape("triangle")
player.penup()
player.speed(0)`
maxGoals = 10
goals = []
for count in range(maxGoals):
goals.append(turtle.Turtle())
goals[count].color("red")
goals[cou... |
2018/02/27 | 1,931 | 6,551 | <issue_start>username_0: In the following method there are two parameters `childFile` and `file`, I run this call through postman but it gives me 400 Bad Request error when I check the logs it says that parameter `childFile` is not present, I attach code, error and postman screenshot please tell me what is the issue
... |
2018/02/27 | 1,541 | 5,122 | <issue_start>username_0: We know that the sed command loops over each line of a file and for each line, it loops over the given commands list and does something. But when the file is extremely large, the time and resource cost on the repeating operation may be terrible.
Suppose that I have an array of line numbers whi... |
2018/02/27 | 534 | 1,837 | <issue_start>username_0: I am in process of learning to create an app using firebase. The idea is to have simple Todo list.
My structure needs to address items needed by a user.
Is this the right approach ?
```
{
"todo": [{
"items": [{
"userid": "123",
"item": "Milk"
}, {
"userid": "... |
2018/02/27 | 963 | 3,371 | <issue_start>username_0: I am currently working on an billing app and require to have orders inside a bill for that I have following two models Bill and orders
```
class Bill(Document):
billNo = IntField(unique=True, blank=False)
table = ReferenceField('Table',reverse_delete_rule=1)
orders = EmbeddedDocum... |
2018/02/27 | 662 | 2,400 | <issue_start>username_0: I have started to learn **flutter** by Google and installed it in **android studio**. I have an emulator for Android but I don't know how to run this in iOS.
Is it possible to run an iOS emulator in windows? If yes, how can I do that?<issue_comment>username_1: Most iOS developers use (in a sep... |
2018/02/27 | 825 | 2,883 | <issue_start>username_0: I have a datepicker and I set `minDate` to `0` and `maxDate` to `'+1m'`. But nothing got changed and I am able to select all dates.
```
minDate: 0, // The earliest selectable date, or null for no limit
maxDate: '+1m', // The latest selectable date, or null for no limit
```
When I made this c... |
2018/02/27 | 1,479 | 3,848 | <issue_start>username_0: I'm trying to do a simple health check of RTSP stream with curl tool.
But command like this always gives me 404 Stream Not Found error:
```
curl -v --url rtsp://192.168.1.80/h264/ --user admin:1234
* Trying 192.168.1.80...
* Connected to 192.168.1.80 (192.168.1.80) port 554 (#0)
* Server... |
2018/02/27 | 844 | 2,757 | <issue_start>username_0: So I have a text input
```
```
Is there a way to keep 4 letter from the begin ?
I want to keep `+9891` read only and the user can delete all part of this textbox except this part.<issue_comment>username_1: Try using two inputs one for readonly and second for editing -
```
```
Wrap it in a... |
2018/02/27 | 423 | 1,302 | <issue_start>username_0: My goal is to try to return all the value in the list which has even position as well. The following is my python code. I don't know which part should I update. Please help!! Thanks
```
def evenValue(numbers):
results = []
for x in numbers:
if results.index(x) %2 ==0:
... |
2018/02/27 | 543 | 1,846 | <issue_start>username_0: I have 2 XML file. One is the main XML file and one is the additional XML file. These file has a specific format like the example below.
main.xml:
```
xml version="1.0" encoding="UTF-8"?
```
additional.xml:
```
```
Note: there can be many books and novels. There can be more things other ... |
2018/02/27 | 862 | 3,213 | <issue_start>username_0: Why HashMap merge is doing null check on value. HashMap supports null key and null values.So can some one please tell why null check on merge is required?
```
@Override
public V merge(K key, V value,
BiFunction super V, ? super V, ? extends V remappingFunction) {
if (value =... |
2018/02/27 | 380 | 1,248 | <issue_start>username_0: Is there a Java operator that would create a value equal to count but in fewer lines?
```
double theta = //Some value;
int count = 0;
while (theta > 0) {
theta -= pi * (1.0 / 8.0);
count += 1;
}
```<issue_comment>username_1: Assuming `theta > 0`, something like... |
2018/02/27 | 742 | 2,540 | <issue_start>username_0: i always met one problem, when I scraping one web page.
>
> AttributeError: ResultSet object has no attribute 'find'. You're probably treating a list of items like a single item. Did you call find\_all() when you meant to call find()?
>
>
>
anyone can tell me how to solve this? my code as... |
2018/02/27 | 650 | 2,146 | <issue_start>username_0: [](https://i.stack.imgur.com/ogpqZ.png)
I have used the codes like
**For Scroll Down:**
```
JavascriptExecutor jse = (JavascriptExecutor)driver;
jse.executeScript("window.scrollBy(0,250)", "");
jse.executeScript("scroll(0, ... |
2018/02/27 | 543 | 1,840 | <issue_start>username_0: App.js
```
const DrawerStack = DrawerNavigator({
Dashboard: { screen: Dashboard},
Pdfview: { screen: Pdfview},
screen2: { screen: Screen2 }
})
```
Login.js
```
const resetAction = NavigationActions.reset({
index: 0,
actions: [
NavigationActions.navigate({ routeName: 'DrawerSta... |
2018/02/27 | 687 | 1,999 | <issue_start>username_0: So I am trying to pass months as a tuple to a sql query in python as below:
```
no_of_months = 6
months = tuple(months_list[no_of_months:])
months
Out[14]: ('201708', '201709', '201710', '201711', '201712', '201801')
wrk_hours = str("""select * from dbo.month_step where month_id IN \
... |
2018/02/27 | 789 | 2,960 | <issue_start>username_0: I am getting started to **django**. I created a basic project using the below in windows powershell :
```
django-admin startproject project1
```
This create the project structure, then I opened the project in pycharm , but looks like django module is not recognized.
The below lines in urls.... |
2018/02/27 | 552 | 1,966 | <issue_start>username_0: I want to add a collection within a document, I searched a lot over google but I haven't found any proper resolution.
Even searched firebase documentation but no results for my query.
I have tried different ways to add a collection to a document, below is an example of my code.
```
let tmpObj... |
2018/02/27 | 504 | 1,300 | <issue_start>username_0: Hi I am trying to create a Batch script to delete the log files in an application if the file size is more, here is my code. I am getting Syntax error after second "pushd"
```
@echo off
pushd "C:\Program Files\temp\Logs"
for /f "skip=10 eol=: delims=" %%F in ('dir /b /o-d E*.log') do @del "%%... |
2018/02/27 | 477 | 1,381 | <issue_start>username_0: I am working on a project which is having customization functionality. Where client can choose there Application's color and that I need to reflect in my App. I am done with API:
```
{
"code": 200,
"msg": "Ok",
"status": "success",
"color": {
"toolbar": "#FFFFFF",
"button_color": "#FFFFFF"... |
2018/02/27 | 692 | 2,127 | <issue_start>username_0: ```
people: [
{
name: "<NAME>",
age: "25",
city: "Detroit",
},
{
name: "<NAME>",
age: "23",
city: "Detroit",
},
{
name: "<NAME>",
age: "22",
city: "Detroit",
},
{
name: "<NAME>",
age: "28",
city: "Detroit",
},
{
name: "<NAME>... |
2018/02/27 | 830 | 3,603 | <issue_start>username_0: We are using IdentityServer4 to protect our APIs, actually we have multiple APIs and we want to protect these APIs with IdentityServer4(i.e via generating access tokens) but we have questions regarding validating the access tokens, Do we need to write following code in each API?
```
public c... |
2018/02/27 | 1,518 | 3,492 | <issue_start>username_0: I would like to create a series such that it contains different range of values randomly.
Let's say I have a series which contains 12 rows. I would like to pick randomly 4 rows and fill the value randomly between 4 to 10. then again i have to pick another 4 rows and fill the value randomly bet... |
2018/02/27 | 1,952 | 4,426 | <issue_start>username_0: I have a survey of households in various cities in every state. Some cities only have a few respondents, so I want to drop the cities with 5 or fewer. I tried the code below, but there are some cities with the same name in multiple states (Paris, Idaho has only 2 respondents but Paris, Texas ha... |
2018/02/27 | 2,152 | 5,108 | <issue_start>username_0: We are trying to add multiple select filters to apply button for layered navigation in Magento 2.1.0 with Smile Elastic Suite.
I have created a jQuery script to get all multiple selected option and split taking only params in array like below.
>
> first\_filter\_name=325,first\_filter\_name... |
2018/02/27 | 2,083 | 4,831 | <issue_start>username_0: [](https://i.stack.imgur.com/2IXSw.png)
How can I make the source code for automatic download MS Excel but the contents of MS excel result is join from 3 tables in the database?
Controller
```
public function laporanex()
{
... |
2018/02/27 | 2,031 | 4,796 | <issue_start>username_0: I have a following sample dataset, and I am trying to reshape to long form using data.table package (no dplyr solution please).
```
test_data<-structure(list(id = c("a", "b", "c", "d"), demo_d1_alt = c(2,
3, 4, 5), demo_d1_pre = c(5, 4, 5, 5), demo_d2_alt = c(4, 5,
6, 7), demo_d3_alt = c(8,... |
2018/02/27 | 1,318 | 4,143 | <issue_start>username_0: I have a polyomino problem that requires placing polyominos onto a board.
I am using the following type to support this.
```
type Block = (Int, Int)
type Polyomino = [Block]
type Board = [Polyomino]
```
Part of my solution is a function that checks if any blocks of a polyomino have already b... |
2018/02/27 | 472 | 1,919 | <issue_start>username_0: I currently use the standard GAE (PHP-based application) for a while. Regarding GAE provides the Microservices such as setting the *module name* and *version* in app.yaml where I can run different services in the same application.
However, I wanna run PHP, say in module A, run Golang in modul... |
2018/02/27 | 786 | 2,594 | <issue_start>username_0: I am using Cards from Bootstrap4 and have replaced the image source with .PNG images. However, it shows unwanted border. It isn't a border or an outline.
[](https://i.stack.imgur.com/KHgnP.png)
This is the HTML
```
![]()
![]()
![]()
![]... |
2018/02/27 | 613 | 2,266 | <issue_start>username_0: Can someone please advise why the below sql is not returning the true count of the number of meetings inside the meeting table the employee has had? It is returning a number much larger than usual. I would like to keep all the employees, and return a 0 or null if they do not have any meetings. ... |
2018/02/27 | 872 | 2,893 | <issue_start>username_0: I have a `network.log` on Hadoop:
`{"Source":"Network","Detail":"Event=01|Device=Mobile|ClientIP=10.0.0.0|URL=example.com"}`
I want to load it as a data frame splitting `Detail` with `|`. Then I want to further split each new column using `=` with left part as the column names and right part ... |
2018/02/27 | 1,147 | 4,197 | <issue_start>username_0: I have an existing live application with its own login table which has all the user info stored. Now we have decided to make a mobile app for part of the application. For that we have decided to use asp.net core identity service. What ever articles/blog/videos I have found they all show how to ... |
2018/02/27 | 671 | 2,541 | <issue_start>username_0: I want to implement elastic search into my application. I have MS-SQL database.
I have installed Elastic search. It is displaying **You Know, for Search**.
I have added nuget package for Nest. Connected to Elastic. Added one record using Nest. Record is displayed in Kibana.
1. I want to take... |
2018/02/27 | 383 | 1,493 | <issue_start>username_0: HP fortify [document](https://vulncat.hpefod.com/en/detail?id=desc.semantic.java.password_management_null_password#C%23%2FVB.NET%2FASP.NET) warns me that the following code would has some security problems:
```
string storedPassword = "";
string temp;
if ((temp = ReadPassword(storedPassword))... |
2018/02/27 | 474 | 1,824 | <issue_start>username_0: I need to store the price in my room database. I can have the decimal precision of 2 decimals or of 3 decimals depending on the country my app is being used at.
While storing the float or even the double value in the sqlite database using the room library of android, it changes the value. For ... |
2018/02/27 | 726 | 2,185 | <issue_start>username_0: I am using
>
> Spark version 2.2.1
>
> Using Scala version 2.11.8
>
> OpenJDK 64-Bit Server VM, 1.8.0\_131
>
>
>
I have add jar dependency by using code
```
JavaSparkContext sc = new JavaSparkContext(conf);
sc.addJar("./target/CassandraSparkJava-1.0-SNAPSHOT-jar-with-dep... |
2018/02/27 | 1,347 | 4,018 | <issue_start>username_0: I make a table using Material Angular. Added sorting and pagination. But when I want to add a form for filtering everything gets off and in the end nothing works. What could I have done wrong? The component has been added to the project module.
[Before](http://mepic.ru/view/?id=583ece377fdc44... |
2018/02/27 | 433 | 1,461 | <issue_start>username_0: I'm coding in some little cricket game. In cricket 11 players there in each team so I need to store their personal score and balls played.
So which data structure is useful to store batesmen name along with personal score and balls played.
Ex:
Virat . RunsScored = 34
Vir at. Ballsplayed = 15<i... |
2018/02/27 | 328 | 940 | <issue_start>username_0: I want pass the status as true if the data in the File1 matches in File2, although if File2 contains addition data that's okay.
Looking around a way to test with bash or shell.
File1:
```
PATH=/usr/lib64/qt-3.3/bin:/usr/NX/bin:/usr/local/bin:/bin:/usr/bin:/home/nn/QA/OL-develop/bin
```
Fil... |
2018/02/27 | 504 | 1,816 | <issue_start>username_0: html below
```
Stopwatch
00:00
Start
Stop
Reset
```
javascript below
```
window.onload = function () {
var seconds = 0
var tens = 0
var getTens = document.getElementById('tens')
var getSeconds = document.getElementById('seconds')
var start = document.getElementById('Start... |
2018/02/27 | 756 | 3,113 | <issue_start>username_0: I need help.I'm working with swift 4 and firebase. I am trying to pass data to one viewController to another viewController.So, my question is, how can i pass data from one tableView to another viewController and one UITableViewCell. Need help to solve this issue<issue_comment>username_1: Hope ... |
2018/02/27 | 1,007 | 3,658 | <issue_start>username_0: I have combined 2 xml file data into a single xml file, which will be in following syntax
```
xml version="1.0" encoding="utf-8"?
xml-stylesheet type="text/xsl" href="c:\users\Report.xsl"?
My Data
xml version="1.0" encoding="utf-8"?
xml-stylesheet type="text/xsl" href="c:\users\Report.xsl"?... |
2018/02/27 | 1,114 | 4,065 | <issue_start>username_0: I have two kinds of data set.
One is the data that people have on the elevator and the other is that the elevator arrived on the first floor.
this is the data of people who used the elevator
```
usercode board time(sec)
1 165
2 167
3 170
4 340
... |
2018/02/27 | 679 | 3,016 | <issue_start>username_0: I have integrated Facebook login to my android app. but whenever I click on the "continue with Facebook", it pops up two login screens i.e. when I enter credential and continue, instead of returning to the app there will still one more login screen. if just cancel it, it will return to the app ... |
2018/02/27 | 561 | 2,224 | <issue_start>username_0: My code in java for performing merge sort is as follows, but unable to find the bug in the code which results in an Stack Overflow error at the line 'left=mergeSort(left);'. What is the reason for this error, the error is probably because of the infinite recursion but i am unable to find what i... |
2018/02/27 | 451 | 1,630 | <issue_start>username_0: I am facing some issues while running the map reduce job.
I have used JSON jar to process the JSON file that is in the HDFS and I wrote the logic, but while running the job getting error (not able to find class means ClassNotFoundException).
I don't know how HADOOP able to detect my jar w... |
2018/02/27 | 672 | 2,356 | <issue_start>username_0: I referer this link [Login with Google using PHP API library](https://www.sanwebe.com/2012/11/login-with-google-api-php) and other tutorial and implement Google Login API in my script.
Once the user has logged in I am looking for how to get the data about when their Google account was created.... |
2018/02/27 | 1,410 | 4,934 | <issue_start>username_0: I am trying to update google calendar event start and end datetime in spring class.But i am getting DateFormat exception.I am able to get particular event and display in modal popup.I am using kendo directives datepicker.Now if the user edits the start and end date it is getting changed in this... |
2018/02/27 | 345 | 1,316 | <issue_start>username_0: I'm working on ionic mobile app with Angularjs, and we have added root detector by using **cordova-plugin-root-detection** and a jailbreak detector by using **cordova-plugin-jailbreak-detection**. But now for more security, we need to add another root detectors.
Is there any plugins / way to d... |
2018/02/27 | 1,404 | 5,392 | <issue_start>username_0: I am trying to create a way that a student can enroll to a teacher's course. I added a boolean field to my StudentData model and from there I added a many-to-many field to my Course model. Each of my course page is a generated slug page and there all students are listed. I want that near each s... |
2018/02/27 | 703 | 2,794 | <issue_start>username_0: I have data structure like this (mongo 2.6):
```
{"player":"<NAME>","active":true}
```
lets say I use the term "ohn" when performing search, I need to sort based on certain criteria:
1. players whose name is "ohn" AND active
2. players whose name CONTAINS "ohn" AND active
3. players whose n... |
2018/02/27 | 1,140 | 4,407 | <issue_start>username_0: The code below is simply checking null control and make `mView.handleUrl(data)` method work if all conditions are provided.
```
if( intent != null && intent.getExtras() != null ){
String data = null;
if( ( data = intent.getExtras().getString( AdvImagePagerFragment.ARG_PANAROMIC... |
2018/02/27 | 781 | 3,030 | <issue_start>username_0: I'm a newbie to JMeter currently, I'm testing a Rest API, I need to record the server IP from which the response is coming.
I'm able to test the API but not able to record the IP address.
How can I achieve the same?<issue_comment>username_1: Try this :-
```
Single.just( intent )
... |
2018/02/27 | 2,970 | 8,138 | <issue_start>username_0: I have a Pandas dataframe that consists of several columns, the cells of which may or may not contain a string. As an example:
```
import numpy as np
import pandas as pd
df = pd.DataFrame({'A':['asfe','eseg','eesg','4dsf','','hdt','gase','gex','gsges','hhbr'],
'B':['','bdb'... |
2018/02/27 | 677 | 2,352 | <issue_start>username_0: Hello guys I studying a simple chat app with RN
I checked connection with connection event at Server code Also server can get my socket's id
But, Any Emit or On doesn't work.
Here's my server Code
```
var http = require('http');
var express = require('express'),
app = module.exports.app = e... |
2018/02/27 | 369 | 1,214 | <issue_start>username_0: This is my code that I am working with
```
//Windows Authentication
php
$serverName = "IE3PDT1QK88G5";
connectionInfo = array( "Database"="MIN-MAK MRO ");
$conn = sqlsrv_connect( $serverName, $connectionInfo);
if( $conn ) {
echo "Connection established.
";
}else{
echo "Connection could ... |
2018/02/27 | 563 | 1,815 | <issue_start>username_0: I'm trying to figure out how to make a centered row of letters, each with their own element. For example, I want to make this:
```
### H
### E
### L
### L
### O
```
Look as if it were just:
```
### HELLO
```
I tried using `float: left` on all the letters, which brought them all... |
2018/02/27 | 728 | 2,221 | <issue_start>username_0: So, I've two tables, one is A(order\_id, order\_group\_id, name), and second one is B(order\_group\_id, paid).
Table A have few records:
```
order_id | order_group_id | name
----------------------------------
1 | 0 | A
----------------------------------
2 | 14 ... |
2018/02/27 | 574 | 1,768 | <issue_start>username_0: I have created a test table which has a boolean field called "Inactive".
In *SqlServer* Inactive fields value can be either zero `0` or one `1`. But whenever I sqoop data from *SqlServer* to *Hive*, zero `0` get replaced with `NULL` in Hive.
But I need to keep `0` as is, then how can I Han... |
2018/02/27 | 312 | 1,082 | <issue_start>username_0: Current code of mine is
```
while true; do ./program; done;
```
I don't have access to a linux box right now and only way to do my request will be made on the live server and I don't want to test and jeopardize something, so I would be happy if I could get some help
Is this the way it shoul... |
2018/02/27 | 262 | 944 | <issue_start>username_0: Hi all i started working on higher version of angular (angular 2 and Angular 4)
the first question in my mind is that why should we using visual studio code instead of the VS15 and VS17...I am used to visual studio due to which i am not finding VS Code Devlopment friendly.<issue_comment>usernam... |
2018/02/27 | 285 | 1,266 | <issue_start>username_0: Is there any way to show a stack trace in the Processing 3 debugger (Java mode)? Not by catching an exception. I know about `e.printStackTrace()`. I want to print a stack trace in the debugger at a custom breakpoint.
Thanks!<issue_comment>username_1: If you set an exception breakpoint all IDEs ... |
2018/02/27 | 261 | 1,009 | <issue_start>username_0: I'm developing web-serviced base app, and my web-service requirement is pass **int or long** value in form data in parameter. Is it possible or not?
Here is my code:
```
MultipartEntity entity = new MultipartEntity(
HttpMultipartMode.BROWSER_COMPATIBLE);
entity.addPart("key_id"... |
2018/02/27 | 1,014 | 4,018 | <issue_start>username_0: I want to fill the data in a `gridview` so on success call, I wrote the code for that. But in response I get date value as `/Date(1518114600000)/` which seems something different.
Also for getting it right I changed the format according to my requirement. Like below
```
var createdDate = new ... |
2018/02/27 | 1,116 | 3,467 | <issue_start>username_0: Using Extract Text processor, I have been able to convert a HTML table into an attribute list 'rw' (shown in picture)
[](https://i.stack.imgur.com/D5hx0.png)
each rw.1 , rw.2, ... represents a row of a table of unknown size.
... |
2018/02/27 | 4,081 | 15,519 | <issue_start>username_0: I have a macro that creates and saves multiple word and excel documents. Recently, My organisation started using Microsoft Azure protection. It always asks the user to choose the classification label while saving the document. Is there a way we can pass the label from VBA? (i.e. controlling the... |
2018/02/27 | 263 | 713 | <issue_start>username_0: I have two tables A and B. A has columns a,b,c,d,e,f and B has columns a and g. How can I get the row from table A according to the value of 'a' from Table B?<issue_comment>username_1: Try simple join query
```
Select A.a From A inner join B on A.a=B.a
```
if need extra condition
```
Sele... |
2018/02/27 | 874 | 3,047 | <issue_start>username_0: I know it sounds weird but there really is a reason and it is in the users' best interest. I know that having the browser automatically maximize and set 100% might be problematic but how about making so that if the window is not maximized and the zoom is not 100% all the users would see is a me... |
2018/02/27 | 347 | 1,153 | <issue_start>username_0: laravel- 5.6
Php - 7.2
pusher - 3.0
when try to connect with pusher:
<issue_comment>username_1: You should provide more details to your question so others have a better picture of what might cause the problem.
But I ran in... |
2018/02/27 | 590 | 2,363 | <issue_start>username_0: I'm building an app, where `UICollectionView` Lies on `UITableViewCell`, Here I want `CollectionView` should scroll horizontally, which is happening but i need here it to paging like one cell at a time in a fix position, but what I got here is by scrolling horizontally it scrolls but previous c... |
2018/02/27 | 523 | 1,973 | <issue_start>username_0: I have trouble make href dynamically> I want to put json type variable as parameter. As below, I want to change filename dynamically.
```js
var fname=file_info.data.file_name;
alert(fname);
var rowNode = table.row.add( [
"",
status,
res... |
2018/02/27 | 530 | 2,167 | <issue_start>username_0: I have an angular application with a backend. The authentication is managed by the browser with Kerberos before the app has started. The response contains a JWT with roles in it.
My approach is an extra HTTP call to the server when the app is starting to get the users credentials. This is real... |
2018/02/27 | 3,127 | 5,986 | <issue_start>username_0: Raw data looks like this and I want to sort it by visitor and time, to calculate the time difference in the rows, before saving it to a new file.
```
visitor v_time payment items
1 Jack 1/2/2018 16:07 35 3
2 Jack 1/2/2018 16:09 160 1
3 David 1/2/2018 16:12 ... |
2018/02/27 | 1,031 | 4,001 | <issue_start>username_0: I need to set limit for UITextField like accept only 2 decimal pointed value and added automatic currency symbol.
**For Example,**
**$23.45 - Right**
**but $45.4545 - Wrong**
**$45.4545.65 - Wrong**
**45.45 -Wrong(Currency symbol should be there-automatically added if textfield has value)*... |
2018/02/27 | 467 | 1,308 | <issue_start>username_0: how to change spaces more than one into underscore, but not change single spaces?
**First:**
`21 Facebook Inc 6 860,000`
**Result:**
`21_Facebook Inc_6_860,000`<issue_comment>username_1: you should used `preg_replace` function. for more details read [PHP `preg_replace` manual](http://php.ne... |
2018/02/27 | 542 | 1,715 | <issue_start>username_0: I have a repository of Media objects in my Symfony app that contains a picture. (This picture was uploaded using the Sonata Media Bundle.) Using the following code in my controller ...
```
$images = $repository->findAll();
foreach ($images as $image) {
/* @var $image Media */
... |
2018/02/27 | 623 | 3,052 | <issue_start>username_0: I have checkboxes in angular 2 view side, and when I click one of the checkboxes and click the button I get values of the selected checkbox.And this value or id I pass into service and call my asp.net Web API, Here is my view
```
Armani
Versace
Apply
```
In my component
```
var sel... |
2018/02/27 | 382 | 1,240 | <issue_start>username_0: I want to create a folder with the name of the `xml` file in PowerShell from a part of an `xml` file.
I found something like that, but instead of a folder it's a txt file:
```
$xml = [xml](Get-Content c:\temp\config.xml)
$xml.config.compare.source
$xml.config.compare.parameters.parameter[0]
$... |
2018/02/27 | 776 | 2,407 | <issue_start>username_0: This is my function call
```
if __name__ == '__main__':
a = head_tail()
b = data_info_for_analysis()
c = data_visualization_chart()
d = missing_values_duplicates()
e = mapping_yes_no()
f = one_hot_encoding()
g = outlier_identification()
out2 = removing_outlier... |