date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/03/05 | 905 | 2,544 | <issue_start>username_0: I have test and submit my app to Apple Store but Apple reject and response my app crash on launch. I have test my app on many model iPhone and iPad it's working normal, Have anyone can tell me why?
Crash log Apple send to me:
```
"bug_type":"109","os_version":"iPhone OS 11.2.5 (15D60)","incid... |
2018/03/05 | 278 | 1,104 | <issue_start>username_0: I want to space after certain string. for example:
```
string str = "DASEULE"
```
Now, I want to add a *space* after `"DAS"` and it will write to UI Text as `"DAS EULE"`. How can i do this?
Thanks
Edit: the all chars are uppercase. Sorry<issue_comment>username_1: >
> Collection was mutated... |
2018/03/05 | 321 | 1,376 | <issue_start>username_0: I need to insert an Appointment in a Planner class that takes Appointment A1 as a parameter and places A1 in proper order to an array Appoint. I have already created the Array which only has 4 default appointments and has a length of 20. I also created a method to compare two objects of the Arr... |
2018/03/05 | 458 | 1,711 | <issue_start>username_0: I want to run any specific Thread Group with Command in windows. I have tried with using properties file but got failed. Now need help for executing any specific thread group selecting from command prompt.<issue_comment>username_1: If Thread group's `Number of Threads` is set to 0 it won't exec... |
2018/03/05 | 2,344 | 7,366 | <issue_start>username_0: I am getting this error while running the program . Does anyone have any idea what is the problem here ?
HEAP[Project3.exe]: Invalid address specified to RtlValidateHeap( 00E90000, 00E9FBC8 )
Project3.exe has triggered a breakpoint.
HERE IS ALL THE CODE (Updated) . Do you think is dome memory... |
2018/03/05 | 822 | 3,191 | <issue_start>username_0: I'm trying to obtain an effect similar to this on my `RecyclerView`
[](https://i.stack.imgur.com/KSkq1.jpg)
I've tried to Google I/O approach that is described on similar questions here. My adapter code looks as follows.
```... |
2018/03/05 | 1,040 | 3,657 | <issue_start>username_0: I want to scrap multiple pages from one site.the pattern like this:
<https://www.example.com/S1-3-1.html> <https://www.example.com/S1-3-2.html> <https://www.example.com/S1-3-3.html> <https://www.example.com/S1-3-4.html> <https://www.example.com/S1-3-5.html>.
I tried three method to scrape all... |
2018/03/05 | 530 | 1,923 | <issue_start>username_0: ```
// get dependencies
const express = require("express");
const http = require('http');
const app = express();
const server = http.createServer(app);
```
Why is there a need for app inside of http.createServer(app)? What is the difference between that and http.createServer()?
I've read t... |
2018/03/05 | 321 | 1,135 | <issue_start>username_0: I am using Laravel 5.2 and I am using [autonumeric jquery](https://github.com/autoNumeric/autoNumeric) to using separator on the money value. My problem is when I want to see the detail page, I want to set the estimated value field and I can edit too in this page. If I am not using autonumeric ... |
2018/03/05 | 4,816 | 16,245 | <issue_start>username_0: hello friends i am working in angular js , where i have on post ajax call which returns data from which i generate one form ,inside form i have two input fields which i used as datepickcker
i need to set default values for this date picker i tried by various ways but it didn't work
i post bel... |
2018/03/05 | 662 | 2,266 | <issue_start>username_0: How can I change the position of the PolygonCollider2D vertices with a script?<issue_comment>username_1: The `points` member is accessible.
```cs
PolygonCollider2D p; //Just a dummy declaration. You have to actually have a MonoBehaviour set up.
p.points[0] = new Vector2(0, 0);
```
Upvotes: 1 ... |
2018/03/05 | 1,361 | 4,489 | <issue_start>username_0: My code to delete key like this :
```
php
$photoList = array(
array(
'id' = 1,
'name' => 'chelsea.jpg'
),
array(
'id' => 2,
'name' => 'mu.jpg'
),
array(
'id' => 3,
'name' => 'cit... |
2018/03/05 | 1,250 | 4,286 | <issue_start>username_0: I have a file download mechanism with axios and laravel. From the side of php I have several situations where I have to throw exceptions.
for example
```
$result = file_put_contents($filepath, $filedata);
if($result){
$photoModer = new PhotoModeration();
$photoModer-... |
2018/03/05 | 549 | 1,949 | <issue_start>username_0: I am trying to download a file with custom name from any url.
I am trying this on my code
```
downloadAttachment(attachment) {
var a = document.createElement('a');
a.href = attachment.url; //URL FOR DOWNLOADING
a.download = 'CustomName.png';
a.click();
}
```
and from view it... |
2018/03/05 | 530 | 1,860 | <issue_start>username_0: I'm using laravel 4 and i need to execute script every Monday, Tuesday, Wednesday, Thursday and Friday at 16:00h. Right now im using method dailyAt(16:00), but i dont want to script execute at Suturday and Sunday. My command looks like this in Kernel.php:
```
$schedule->command("script")->dail... |
2018/03/05 | 479 | 1,560 | <issue_start>username_0: I have a json url with a response of the following kind
```
[
{
"gender": "Female",
"age": 7,
"class": 2,
"subject": [
"",
"",
""
]
},
{
"gender": "Female",
"age": 8,
"class": 3,
"subject": [
"ab",
"cd",
"ef"
]
... |
2018/03/05 | 345 | 1,110 | <issue_start>username_0: Datatype of stack id either can be an array or a string.
In the below code `stack[0].id` is `Array` and `stack[1].id` is string.
Issue is stackConfig is undefined when id is returned as array.
How do i handle this dynamically?
```
let stack = [{id:['stack1','stack2']},{id:'stack2'}]
let sta... |
2018/03/05 | 664 | 2,215 | <issue_start>username_0: I'm wondering about nested uses of Array.some(). Suppose the task is to determine whether three numbers in an array sum to a given value x. I tried the following, but it did not work:
```
return myArray.some(function(num1){
myArray.some(function(num2){
myArray.some(function(num3){
... |
2018/03/05 | 395 | 1,552 | <issue_start>username_0: I'm currently working on a program that reads writes a XML file. While this is a simple task, i'm concerned about future issues.
My code reads the streamed data from the XML, and checks every element until an element that matches a criteria is founds, this works quite fast, since the file cur... |
2018/03/05 | 1,195 | 4,541 | <issue_start>username_0: I am reading a book **JavaScript: The Good Parts** for increasing my JavaScript knowledge. In Chapter 3 Objects the Author says:
>
> An object is a container of properties, where a property has a name and a value. A property name can be any string, including the empty string. A property value... |
2018/03/05 | 1,220 | 4,625 | <issue_start>username_0: In my Spring project, I have an entity `Customer`.
Now once we get a new Customer, we persist it in our system, and exactly after one hour, I want to check if the `Customer` has made any purchase.
If yes, I take some action. If no, the some other.
I contemplated two strategies,
1) Firing up ... |
2018/03/05 | 1,139 | 4,289 | <issue_start>username_0: I'm designing a website, using WordPress, using elementor page builder, when I was on my localhost all images were shown but when I move it to the web some images won't show up and some will show.
i tried to re upload the image and didn't work, i tried to deactivate all the plugin and active it... |
2018/03/05 | 1,725 | 6,053 | <issue_start>username_0: I am trying to start with Spring-boot, Maven in Intellij
Please help me I am getting the error:
```
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project spring-rest: Fatal error compiling: invalid flag: --release -> [Help 1]
[... |
2018/03/05 | 1,142 | 4,139 | <issue_start>username_0: I have created simple mechanism for data table xaml would looks simply:
```
```
And MVVM code behind is based on data tables, and as well fairly simple:
```
private void GenerateDataView()
{
CurrentsFlagValuesView = new DataTable();
CurrentsFlagValuesView.Columns.Add("Bits");
v... |
2018/03/05 | 710 | 2,670 | <issue_start>username_0: I am trying to create html5 app that have a timer. After time end in 10 second, it will display a button. Supposed to be, once user click on the button, a popup will displayed and it will count the button click in a variable and reset the timer. The process will loop again. The issue is, after ... |
2018/03/05 | 492 | 1,799 | <issue_start>username_0: I'm having a table data which consists of a select box. I want to bind the data using ng-model instead of {{n.triggerOn}.
The below code is working properly when I use`{{n.triggerOn}}`. But I want to bind the data using ng -model
```
{{n.triggerOn}}
All Conditions
Any Conditions
|
... |
2018/03/05 | 618 | 1,948 | <issue_start>username_0: I am trying to read the objects written in a file.
```
ObjectInputStream objectInputStream=new ObjectInputStream(new FileInputStream("D:\\Users\\Dell-7560\\Documents\\NetBeansProjects\\Advanced Computer Networking\\src\\Experiment8\\Packets.txt"));
Packet p = new Packet();
whil... |
2018/03/05 | 581 | 2,130 | <issue_start>username_0: I have the following code, **I cannot use `setEnabled(false)`, because I need to set the background- and foregroundcolor.**
```java
public class RadioButton extends JRadioButton implements ItemListener {
public RadioButton(String text)
{
super(text);
addItemListener(t... |
2018/03/05 | 782 | 2,921 | <issue_start>username_0: I have simple component
```
class App extends Component {
handleClick() {
let banana = {message: 'banana triggered'};
this.setState({banana});
console.log(this); // banana is set in state!!!!
console.log(this.state); // state is null :O
setTimeout((... |
2018/03/05 | 1,409 | 4,199 | <issue_start>username_0: I have some confusion in my code please view my code and suggest me how to pass another parameter in query using with In operator.
```
$cat=1;
$lastnames = $ids;
$arParams = array();
foreach($lastnames as $key => $value)
$arParams[] = &$lastnames[$key];
;
$count_params = cou... |
2018/03/05 | 287 | 1,167 | <issue_start>username_0: Will a module created for OXID 6.0 be backward compatible with lower versions (i.e.: OXID 5.0) in terms of installation and activation?<issue_comment>username_1: If the new metadata version 2.0 and namespaces are used the module will not be backwards compatible. Modules for version 4/5 did not ... |
2018/03/05 | 891 | 3,319 | <issue_start>username_0: This is a small piece of code that I made while trying to understand how malloc and pointers work.
```
#include
#include
int \*buffer (int count)
{
int \*buffer = malloc (count \* sizeof(int));
for (int i = 0; 0 <= i && i < count; i++)
{
buffer[i] = 0;
}
return &buffer
}
int main (... |
2018/03/05 | 384 | 1,589 | <issue_start>username_0: I am an Android beginner and comes from the micro-controller world. I want to write an app to display my Bluetooth data (the Bluetooth part is already working and I could display my characteristics via notification!).
Now I want to display the received values in two different fragments:
Fragm... |
2018/03/05 | 675 | 2,347 | <issue_start>username_0: How I can change CSS for a pseudo element style?
---
I am trying to get the CSS `before::` rule and change `left:` to `95%` or `4px`.
How can I perform this in my context?
I've also made some test using `document.querySelector` but it doesn't work, I get a compute Read-Only error.
Do you ha... |
2018/03/05 | 691 | 1,978 | <issue_start>username_0: I have the following SQL query to use on my website and I want to remove the time from the datetime column 'Date\_Required' when the resulting table is displayed:
```
$query = "SELECT Job_No, Sub_No, Visit_Status, Engineer, CAST(Date_Required AS DATE) FROM dbo.VSMF_SERVICE_VISITS WHERE Visit_S... |
2018/03/05 | 605 | 1,860 | <issue_start>username_0: Recently I've discovered this site: <https://varagon.com/>
They are using some interesting calc formula for calculating window size based font size. Formula is as following:
```
font-size: calc(22px + 54 * ((53vw + 53vh) - 600px) / 820);
```
For screen dimensions 1920x1126 px computed font-... |
2018/03/05 | 639 | 2,090 | <issue_start>username_0: I have an overloaded method in Groovy that I call depending on a condition:
```
Boolean isUnix = getIsUnix()
Map result
if (isUnix) {
result = TestAbstract.execute(className, "JAVA_OPTS=/dev/urandom")
} else {
result = TestAbstract.execute(className)
}
```
Is there a better way to achiev... |
2018/03/05 | 532 | 1,806 | <issue_start>username_0: I'm using itextsharp (itext) and I'm setting pictures like that:
```
img = iTextSharp.text.Image.GetInstance(Server.MapPath("~/Areas/ActionPlan/uploads/") + doc.path);
float width = (document.PageSize.Width / 100 * 88) / 2; // half width of the page
float height = width / img.Width * img.Heig... |
2018/03/05 | 1,080 | 4,679 | <issue_start>username_0: I want to pass data from an activity to a fragment via `BroadcastReceiver`. But I cant get the data in the fragment,cause the `onReceive()` there not fire up.
**In my AppConfig:**
```
public static final String CREATE_POST = "created_post";
```
**In activity A implement all this stuff :**
... |
2018/03/05 | 1,564 | 4,669 | <issue_start>username_0: everyone.
This transposing thing with specific pattern from rows to columns keep bugging me.
I'd like to change below rows into columns like,
From
```
20:20:10
abc_flow.out
sss_flow.out
20:20:11
bcd_flow.out
qcd_flow.out
```
To
```
20:20:10 abc_flow.out sss_flow.out
20:20:11 bcd_flow.out... |
2018/03/05 | 772 | 2,882 | <issue_start>username_0: I have code that downloads images from given URLs. It loops through products in database and for each product calls Image download.
However, everything seems to happen asyncrhonously and if there are too many URLs (images to download) process stops with TIMEOUT. This is logicall as there are a... |
2018/03/05 | 463 | 1,612 | <issue_start>username_0: I'm developing a project Android (size about 600Mb) on IDE Android Studio.
Now, I want to add Library Flutter to my Project. But I did not find any way.
Please help me with this problem.<issue_comment>username_1: We have these async function with **limit** for instance
```
mapLimit(coll, li... |
2018/03/05 | 1,020 | 3,095 | <issue_start>username_0: I am making a Query for a project that I am working on.
I have to make a query that shows me the dates from Today and the dates that will still come. At the moment my Query is this:
```
$query = "SELECT * FROM systeem
RIGHT JOIN vestiging ON vestiging.id = systeem.vestigingID
LEFT JOIN syste... |
2018/03/05 | 742 | 2,236 | <issue_start>username_0: I am the getting multiple inputs from the user which i can't measure, how can i read all the inputs dynamically.
For example
a,b = input(), input()
we can get only two inputs but i want to take multiple inputs at a time without knowing the count of inputs we are getting.
My input is coming... |
2018/03/05 | 555 | 2,116 | <issue_start>username_0: Is it possible to style a react component without having to create a container?
Here's an example of my current problem. I always need to wrap the component in a container/wrapper. Like so ...
```
import React, { Component } from 'react';
import styled from 'styled-components';
const PitchSl... |
2018/03/05 | 475 | 1,824 | <issue_start>username_0: ```
function myfunc($finalArray){
$url = "https://reqres.in/api/users";
$client = new GuzzleHttp\Client();
$countOfSuccess = 0;
$request = new \GuzzleHttp\Psr7\Request('POST', $url);
$promise = $client->sendAsync($request)->then(function ($response) us... |
2018/03/05 | 933 | 3,234 | <issue_start>username_0: Failed: Template parse errors:
'router-outlet' is not a known element:
1. If 'router-outlet' is an Angular component, then verify that it is part of this module.
2. `If 'router-outlet' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress... |
2018/03/05 | 1,035 | 2,790 | <issue_start>username_0: I have a design requirement where a div has to overlap another div, but the text within the inner div needs to be visible.
```
This is a message I want to be visible in this div
```
CSS
```
.box1 {
width: 100px;
height: 100px;
position: absolute;
top: 20px;
left: 20px;
backgr... |
2018/03/05 | 568 | 2,040 | <issue_start>username_0: I have problem to get specific value from sql server with parameter can anybody explain me why it works on winfom but not on wpf and how i can fix it
my code:
```
private void UpdateItems()
{
COMBOBOX1.Items.Clear();
SqlConnection conn = new SqlConnection(Properties.Settings.Def... |
2018/03/05 | 1,048 | 3,689 | <issue_start>username_0: I've been staring at this for about an hour and I honestly have no idea what I'm missing.
```
#include
using namespace std;
void callChain();
double chain(int, int &, int &);
int main()
{
callChain();
}
void callChain() {
int totalInches = 53;
int feet;
int inches;
cout << "\nTesti... |
2018/03/05 | 995 | 3,687 | <issue_start>username_0: I add '-android' in my project's proguard-rules.pro file,but when I release my project,the Gradle Console gives the Warning:
```
Warning: Exception while processing task java.io.IOException: proguard.ParseException: Unknown option '-android' in line 31 of file '/Users/yushuifeng/workspace/cccx... |
2018/03/05 | 410 | 1,275 | <issue_start>username_0: I try to show a standard date as value in my date type input field. For some reason they way I thought it would work doesn't work, already searched on google and stackoverflow for any solutions but couldn't really find anything. Maybe you guys have an idea? It is now like [this](https://i.stack... |
2018/03/05 | 867 | 3,209 | <issue_start>username_0: the code below is meant to count each time character 'x' occurs in a string but it only counts once ..
I do not want to use a loop.
```
public class recursionJava
{
public static void main(String args[])
{
String names = "xxhixx";
int result = number(names);
Syste... |
2018/03/05 | 778 | 2,877 | <issue_start>username_0: I am new to `node.js` but I surprised by searching and finding no way to measure run time profile of a function in `node.js` via code (not looking for an external tool). I am looking for something like this
```
// store time
run_function1();
// store time
// calculate time difference
console.l... |
2018/03/05 | 755 | 2,805 | <issue_start>username_0: I need to take multiple inputs from user and exit from the loop when the user hits the enter key.
this is what i am trying to do.
```
while True:
data = input("Enter name age and score:\t").split(",")
if data==' ':
break
else:
continue
```<issue_comment>usernam... |
2018/03/05 | 894 | 3,568 | <issue_start>username_0: I run into a bit of confusion regarding scoping with respect to **where a callback is defined**.
```
function test(){
var b = 3
var fun = function(){
var printingFunction = function(){
console.log(b)
}
printingFunction()
}
return fun
}
te... |
2018/03/05 | 395 | 1,414 | <issue_start>username_0: I' trying to make my popover appear at another [location](https://plnkr.co/edit/3MYfbIYtCCp49faal37H?p=preview).
Is it position popover at another location using ng-template?
```html
×
I am a popoverat another location trying my best to popover!
you click me popover should app... |
2018/03/05 | 1,354 | 4,815 | <issue_start>username_0: I am just learning to code, i dont know much yet.
```html
php
require\_once "Classes/PHPExcel.php";
$tmpfname = "tabula1.xlsx";
$excelReader = PHPExcel\_IOFactory::createReaderForFile($tmpfname);
$excelObj = $excelReader-load($tmpfname);
$worksheet = $excelObj->getSheet(0);//
$last... |
2018/03/05 | 1,453 | 4,371 | <issue_start>username_0: I have a data frame that looks like this:
```
df <- data.frame(project = c("A", "B"),
no_dwellings = c(150, 180),
first_occupancy = c(2020, 2019))
project no_dwellings first_occupancy
1 A 150 2020
2 B 180 ... |
2018/03/05 | 616 | 2,585 | <issue_start>username_0: I have an app that makes heavy use of the Image component from React Native.
I understand that caching is good for remote images but I need to load local images which change regularly.
The Image component is caching the files and showing the cached version even when the local files change.
... |
2018/03/05 | 854 | 2,720 | <issue_start>username_0: I have a byte array:
```
newMsg.DATA = new byte[64];
```
How can I convert it into binary value and then write it in text file with comma separation. Comma should be in between binary values not bytes.....
like 1,1,1,0,0,0,1,1,1,1,1,0,0,0,0,0.......<issue_comment>username_1: I think this wi... |
2018/03/05 | 2,373 | 7,207 | <issue_start>username_0: Just trying to figure out how to print this out to look like this:
```none
The total team points is 2232.00
The two point percent is 41.13
The three point percent is 32.06
The foul shot percent is 66.86
```
Rather than what I have now, which keeps going through the loop and printing it out... |
2018/03/05 | 240 | 814 | <issue_start>username_0: Need to pass value to cellEditorParams after user double clicks on grid row. Application calls service on row click and the response has to be pass to cellEditorParams?<issue_comment>username_1: You should calculate the sum before you print the result :
```
float points = 0 ;
f... |
2018/03/05 | 308 | 952 | <issue_start>username_0: I have table with players results:
```
id | id_user | timems | status | cancel
```
Players choose between two status: 1 or 2 when they start play. Im make ranking of best times:
```
SELECT *, MIN(timems) AS besttime
FROM `wyniki`
WHERE NOT cancel=1
GROUP BY id_user
ORDER BY MIN(timems) ... |
2018/03/05 | 787 | 2,291 | <issue_start>username_0: I am trying to plot two overlay bar plots over 4 different categories. My dataset looks something like:
```
category count_first count_second
a 15 80
b 18 50
c 12 99
d 11 30
```
I am trying to plot a bar plot... |
2018/03/05 | 731 | 2,816 | <issue_start>username_0: Suppose I make a simple program to add two numbers. When I use command line to compile, create object (obj), link and create exe, using the commands:
```
ifort add.f90
ifort -o add add.obj
```
The exe created by this method will run in any other system (running Windows) irrespective of the... |
2018/03/05 | 1,189 | 4,074 | <issue_start>username_0: Actualy was trying to solve the problem for 3 day and now have no idea what to do.
Edit form doesn't work. I have no error messages.
There is no save data file because i only output from database.
And **edit.php**
```
php
include_once 'config.php';
if (isset($_POST['submit'])){
if (empty($... |
2018/03/05 | 773 | 2,629 | <issue_start>username_0: ```css
#nav {
position: fixed;
height: 100%;
left: 0px;
right: 0px;
top: 0px;
width: 10%;
background-color: blue;
}
#nav>div {}
```
```html
up
down
left
right
```
How do I make it so that each of the div's inside of `#nav` appear inside of a yellow box equal ... |
2018/03/05 | 1,535 | 5,253 | <issue_start>username_0: While tring to update
`'com.google.firebase:firebase-crash:10.2.0'` to `'com.google.firebase:firebase-crash:11.8.0'`
I am getting this error
>
> All gms/firebase libraries must use the exact same version
> specification (mixing versions can lead to runtime crashes). Found
> versions 11.8.0... |
2018/03/05 | 1,201 | 4,464 | <issue_start>username_0: I see that `java-10` adds a constructor for `IntSummaryStatistics` (`LongSummaryStatistics` and `DoubleSummaryStatistics`) that takes 4 parameters that are `count`, `min`, `max` and `sum`.
I understand why the no-args constructor exists, so that it would be used in reduction, like :
```
..st... |
2018/03/05 | 433 | 2,015 | <issue_start>username_0: Hi I've fitness app I have to connect google fit and share my fitness app data to google fit and I've to give option to disconnect.
I'm disconnecting by using below code.
```
Fitness.getConfigClient(this, GoogleSignIn.getLastSignedInAccount(this)).disableFit();
```
Once I disable unable to... |
2018/03/05 | 299 | 1,107 | <issue_start>username_0: I want to click an image button on the below link.
<https://www.nseindia.com/products/content/equities/equities/archieve_eq.htm>
The button name is "Get Data". I tried to click the button using selenium in many ways but I could not
```
WebElement buttonClick = driver.findElement(By.className("... |
2018/03/05 | 315 | 1,166 | <issue_start>username_0: So I have made a small script on my website for my telegram bot. Only problem is that if I set my URL as webhook for the bot it gives an SSL error.
[](https://i.stack.imgur.com/2IIK0.png)
Also tried to add an self signed cert... |
2018/03/05 | 1,044 | 3,578 | <issue_start>username_0: In my textbook I see the following:
>
> **Definition of the order of an algorithm**
>
>
> Algorithm A is order f(n) -- denoted O(f(n)) -- if constants k and n0 exist such that A requires no more than k \* f(n) time units to solve a problem of size n >= n0.
>
>
>
---
**I understand:** T... |
2018/03/05 | 685 | 2,583 | <issue_start>username_0: My main activity have 2 buttons,say A and B
I always press A, and go to 2nd activity
Please tell how i can do this automatically, like when i open my app, main activity is on, button A pressed programatically, and what user see is activity2 ,when opening the app
PLEASE DONT TELL ME TO REMOVE ... |
2018/03/05 | 2,393 | 9,747 | <issue_start>username_0: I am trying to figure out how to setup android project with dagger 2, but I am doing something wrong. Dagger 2 and android dependancy injection is relatively new concepts for me.
Here is my setup.
```
// App.java root of the application
public class App extends DaggerApplication {
@Overr... |
2018/03/05 | 530 | 1,867 | <issue_start>username_0: In Angular CLI you can set custom port with the `--port` command, `--port=4201` for example.
What I need to do is somehow get this port value so I can point to the correct server in my code but I'm unable to find such a way.
The reason for this is because if I use the default `4200` like thi... |
2018/03/05 | 492 | 1,919 | <issue_start>username_0: How can I use a plsql code block like this with an Interactive Grid (Using Oracle Apex) :
```
begin
Query A;
exception when no_data_found then
Query B;
end;
```
Actually sometimes 'Query A' returns nothing and I want to run 'Query B'. any solution?<issue_comment>username_1: An inte... |
2018/03/05 | 705 | 2,676 | <issue_start>username_0: I have the following code:
```
byte[] fileBytes = null;
using (var wc = new System.Net.WebClient())
{
fileBytes = wc.DownloadData(filename);
}
```
filename is an url that contains something like "file://example.com/Media-Data/thisisabigmovie.wmv"
Now my customer seems to have really big ... |
2018/03/05 | 217 | 836 | <issue_start>username_0: I have a list of images in a recycler view with a Horizontal Linear Layout. I want to programmatically scroll to say position = 20, while the image at that position is not in view.
I have tried using:
```
recyclerView.scrollToPosition(position);
```
but this only scrolls if the item is in ... |
2018/03/05 | 194 | 794 | <issue_start>username_0: My asp.net web application is encountering down time everyday, it takes forever to respond. But once I stop and start (not iis reset) the website in IIS it will work again. Then hours/a day later it will become unresponsive again. What would be the reason? I'm suspecting an unclosed connection ... |
2018/03/05 | 417 | 1,589 | <issue_start>username_0: I am trying to convert the below json string to java object, but i am getting empty object.
Under prop2 object, there can be any number of key value pairs(where key is a string and value is a array )
```
{
"Level1": {
"prop1": "",
"prop2": {
"one": [{
... |
2018/03/05 | 900 | 3,085 | <issue_start>username_0: I need to get the value "8.32" from the "rnicper", "36 mg" from "rnstr" and "20/80 PG/VG" from "nirat".
```
Nicotine juice 36 mg (20/80 PG/VG)
2.08
73
2.53
8.32
```
I tried various methods, but nothing happens.
```
doc.getElementById("rnicper").outerHtml();
doc.getElementById("rnic... |
2018/03/05 | 683 | 2,392 | <issue_start>username_0: When using azure functions with blob storage output bindings, how do you get the created blob's name, path or URL? I want to save this to a DB once it saved it.
Im using Python, but any example will do:
```
blob = open(os.environ['outputBlob'], 'wb')
blob.write(attachment.get_payload(decode=... |
2018/03/05 | 715 | 2,392 | <issue_start>username_0: I am using `pandas` to load csv files containing questions/answers and assigning them to dict.
```
kids_csv_file = pd.read_csv(...) #columns Questions, SubQuestions, Answers
questions_dict = dict()
for i in ... :
_key = kids_csv_file.Questions[i] + '-' + kids_csv_file.SubQuestion[i]
question... |
2018/03/05 | 492 | 1,611 | <issue_start>username_0: How can I remove this spaces beetween cardViews?
[](https://i.stack.imgur.com/A6rHa.png)
It is my Layout with cardView:
```
xml version="1.0" encoding="utf-8"?
```
It is style. I add this stile to my cardView/ I tried change cardElevation value ... |
2018/03/05 | 579 | 2,100 | <issue_start>username_0: I have a React application.
I have 2 two child components and `onClick` action as a prop.
I need to get ID of selected item in parent Class(app) by onclick on LI(TableLine) which is child.
I found some solutions where I can get id in Table component but I need to get ID in App which is parent c... |
2018/03/05 | 2,046 | 7,083 | <issue_start>username_0: How do you create an `Unmodifiable` List/Set/Map with `Collectors.toList/toSet/toMap`, since `toList` (and the like) are document as :
>
> There are no guarantees on the **type**, mutability, serializability, or thread-safety of the List returned
>
>
>
*Before* java-10 you have to provid... |
2018/03/05 | 667 | 2,422 | <issue_start>username_0: How can i retrieve Test settings using Rest API from TFS.
The below mentioned URL is the best i can get . but this is for Test result retention setting...... and what i am looking for is regular/ general Test settings.
Can some one please provide a sample URL for it.
Sample URL:- <https://fa... |
2018/03/05 | 722 | 2,448 | <issue_start>username_0: The following element:
```
Test
span {
font-family: Verdana;
font-size: 16px;
font-weight: bold;
line-height: 1.15;
}
```
Has a height of 19px in Chrome, and 21px in Firefox ([fiddle](https://jsfiddle.net/5ay5c3nh/13/)). I tried applying all sorts of CSS resets/normalization, the he... |
2018/03/05 | 1,310 | 4,012 | <issue_start>username_0: I add three normal distributions to obtain a new distribution as shown below, how can I do sampling according to this distribution in python?
```
import matplotlib.pyplot as plt
import scipy.stats as ss
import numpy as np
x = np.linspace(0, 10, 1000)
y1 = [ss.norm.pdf(v, loc=5, scale=1) for v... |
2018/03/05 | 484 | 1,900 | <issue_start>username_0: I have seen in various places that show communication between parent to child component using Input, Service and template variables.
If I want to communicate from child to parent component we can use Output Emitters.
Is there a way to communicate using a service from child to parent componen... |
2018/03/05 | 593 | 2,138 | <issue_start>username_0: I have the written the following code to select a range and create a chart. Chart is later exported as picture. It works, However the clarity of the picture is very bad as the range selected is from A2:U111. The code that am using is.
```
Dim sSheetName2 As String
Dim sSheetName3 As String
Dim... |
2018/03/05 | 507 | 1,866 | <issue_start>username_0: I have the following route:
```
from("direct:abc")
// read the file
.split(body().tokenize("\n", 3, false)).streaming().stopOnException()
.unmarshal(new BindyCsvDataFormat(Foo.class))
.process(new FooListProcessor());
```
The problem is that if I have 4 reco... |
2018/03/05 | 744 | 3,210 | <issue_start>username_0: I've got this simple bean for `PerformanceMonitorInterceptor`
```java
@Configuration
@EnableAspectJAutoProxy
@Aspect
public class PerfMetricsConfiguration {
/**
* Monitoring pointcut.
*/
@Pointcut("execution(* com.lapots.breed.judge.repository.*Repository.*(..))")
public ... |
2018/03/05 | 762 | 2,499 | <issue_start>username_0: I generate a plot using the following code:
```
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
index=pd.date_range('2018-01-01',periods=200)
data=pd.Series(np.random.randn(200),index=index)
plt.figure()
plt.plot(data)
```
Which gives me a plot, looking as follows:
... |
2018/03/05 | 1,222 | 3,771 | <issue_start>username_0: I can manually update label and entry if i clicked the manual button, but if i clicked the auto button... the console show the random number but the widgets are not updating.
```
from tkinter import *
import random
import time
def manual_settxt():
for t in range(0,3):
rd = random.... |
2018/03/05 | 1,563 | 4,535 | <issue_start>username_0: I am working on AR app made with unity + vufoira and I wanted to embed it in a native android app. I used this procedures to embed my app [Embedding Unity In Android App](https://medium.com/@davidbeloosesky/embedded-unity-within-android-app-7061f4f473a) . But I keep having the following error. ... |
2018/03/05 | 198 | 690 | <issue_start>username_0: Problem
-------
When i click this link its alert won't open what should I do ?
My Code
```
echo " [Location](#) |";
```<issue_comment>username_1: Try By Following Example.
```html
[Location](#)
```
Don't Use Single quote inside alert
Upvotes: 1 <issue_comment>username_2: You have to esca... |
2018/03/05 | 1,704 | 5,066 | <issue_start>username_0: Test data are e.g.
```
1a, 12a, 1ab, 12ab, 123a, 123abc
```
so if as input we have:
```
String input = "1a";
```
The output will be
```
String number = "1";
String letter = "a";
```
Like you can notice in this String there are sometimes 1-3digits(0-9) and sometimes 1-3letters(A-Z).
... |