date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/03/21 | 979 | 3,880 | <issue_start>username_0: I need to consume the given API definition, But I am not able to find a function call that takes both headers and request body at [documentation](https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/web/client/RestTemplate.html). Please suggest which function of RestTempla... |
2018/03/21 | 679 | 2,413 | <issue_start>username_0: I recently upgraded my Visual Studio 2017 Community Edition from version 15.6.2 to 15.6.3 and since then I have not been able to successfully deploy my .NET Core 2.0 web application to my Azure App Services using an existing Publishing Profile.
The error messages is 'C:\Program Files\dotnet\sd... |
2018/03/21 | 538 | 1,625 | <issue_start>username_0: There are some test credit card numbers, e.g. Visa's `4111 1111 1111 1111`, and when you test with these cards, it is always a successful transaction.
How do I test a declined transaction? E.g. if the card is valid but doesn't have enough money for the transaction?<issue_comment>username_1: Yo... |
2018/03/21 | 1,065 | 3,305 | <issue_start>username_0: I am going through a PDF tutorial for C++ and currently doing a drill for a simple letter program. The program takes my input but when it comes to the 2nd input, it just shuts down. I'm quite new in C++ so excuse my ignorance. This is my code:
```
#include
#include
using namespace std;
int ma... |
2018/03/21 | 710 | 2,463 | <issue_start>username_0: I have ~150 files that I need to remove the jQuery import from, as we have Webpack importing it automatically.
How can I achieve this with find and replace in vscode? I would like to remove a single line from each file and have the rest of the code shift up a line. I have the below regex, howe... |
2018/03/21 | 1,750 | 5,908 | <issue_start>username_0: How can I create a single line view separator in `UITableView` like the NavigationDrawer of Android:
[](https://i.stack.imgur.com/4u3Kr.png)
I know that in Android it's easy, but I can't find a reference of that for iOS, how ... |
2018/03/21 | 1,268 | 4,190 | <issue_start>username_0: I have vue.js project with element-ui. All installed via npm.
Now I want to change something in element-ui just to test if it works so I go in it's folder in node\_modules, change code in component, run 'npm run dev' and change is not visible.
Is it in some kind of cache?
Sorry for dumb quest... |
2018/03/21 | 1,379 | 4,566 | <issue_start>username_0: I try following code to stop multiple jquery scripts loading onto product category page. This broke a lot of plugins.
```
add_filter('wp_enqueue_scripts', 'change_default_jquery', PHP_INT_MAX);
if (is_product_category() || is_shop()) {
// product category page or shop
function change_def... |
2018/03/21 | 545 | 1,564 | <issue_start>username_0: I’m trying to compile Linux, but I keep getting the following error:
```none
sudo make install
sh ./arch/x86/boot/install.sh 4.14.28-2018840814 arch/x86/boot/bzImage \
System.map "boot/"
*** Missing file: arch/x86/boot/bzImage
*** you need to run "make before "make install".
```
I followed... |
2018/03/21 | 436 | 1,790 | <issue_start>username_0: I am facing trouble with android Oreo. My MainActivity has 4 fragments, which replace each other whenever the user presses tabs. Now the problem is, I am saving a value in a singleton instance in onPause. Whenever the user presses the next tab, onResume of that fragment is called before onPause... |
2018/03/21 | 656 | 2,867 | <issue_start>username_0: I am relatively new to Kafka.
We process messages from kafka and persist them to database.if there is a failure when persisting them to database, the message will not be committed.
My questions are:
**we are wondering how we can re-consume the uncommitted messages?**
**I have tried a few a... |
2018/03/21 | 1,256 | 5,016 | <issue_start>username_0: I'm trying to call menu function in the main function and let it prompt until the user decides to quit, but seems like it's not giving me response..
I'm new at this website coding, let me know if there's anything eg. post format I can improve!
clearkeyboard function:
```
void clearKeyboard(vo... |
2018/03/21 | 705 | 1,960 | <issue_start>username_0: I have a table as shown here below.
[](https://i.stack.imgur.com/8EzBW.png)
I want to select the `id_start_odon` with a particular `id_pasien` and the last date of that particular `id_pasien`. I want to get 15 as the result. ... |
2018/03/21 | 1,100 | 3,431 | <issue_start>username_0: I've got the following html setup:
```
Movies
Music
Books
```
Here is my fiddle: <https://jsfiddle.net/z7aymz5a/20/>
I am targeting each checkbox by its value, because the classes the the same for all.
What I would like to achieve is to put a colored circle behind each of the chec... |
2018/03/21 | 371 | 1,578 | <issue_start>username_0: Is there any valid reason that we should use interfaces over polymorphism? Every video, resource and everything else I searched just talks on how it's good to have interfaces to follow rules (contracts) or to just follow polymorphic behaviour.
Can anyone expand? It seems nobody else can... I'm... |
2018/03/21 | 399 | 1,551 | <issue_start>username_0: ```
var readline = require('readline');
var {google} = require('googleapis');
var OAuth2 = google.auth.OAuth2;
var SCOPES = ['https://www.googleapis.com/auth/youtube.upload'];
```
Getting the error:
```
{google} = require('googleapis') SyntaxError:
Unexpected token {
```
I am using [YouT... |
2018/03/21 | 1,393 | 5,042 | <issue_start>username_0: I've written this function to return the new array with the values that are same in both the arrays. It works fine but I'm using two loops which gives the runtime of O(n^2). Any suggestions to improve the runtime of this function.
```
var dynamicConfig = ["Test1","Test22","Test3","Test14"];
... |
2018/03/21 | 1,343 | 5,352 | <issue_start>username_0: I already have build kendo ui and javasript function. the function return datasource value. i want to bind this datasource value inside kendo ui grid. But i dont know how to bind this together. i want to pass 'list' in function inside my kendo ui. any help ?
This is my kendo ui code:
```
... |
2018/03/21 | 1,256 | 4,472 | <issue_start>username_0: I have a string content.
```
$string = "FIRST he ate some lettuces and some French beans, and then he ate some radishes AND then, feeling rather sick, he went to look for some parsley.";
```
Here I want to take a specific string
```
"then he ate some radishes"
```
How can I do it with RE... |
2018/03/21 | 996 | 2,770 | <issue_start>username_0: I would like to add a string to an existing column. For example, `df['col1']` has values as `'1', '2', '3'` etc and I would like to concat string `'000'` on the left of `col1` so I can get a column (new or replace the old one doesn't matter) as `'0001', '0002', '0003'`.
I thought I should use... |
2018/03/21 | 1,017 | 2,898 | <issue_start>username_0: I'm trying to create a script that echoes the first 12 arguments of ls command. We are supposed to do it using the "shift" syntax build into the shell, but im having a hard time understanding how the shift command works (Yes, I looked it up, tried it, and cant figure it out). If anyone can poin... |
2018/03/21 | 703 | 2,785 | <issue_start>username_0: I just wanted to create query dynamically.Means I just wanted to specify in which column the sorting will occure and type sorting as `ASC or DESC` also with this query i have to limit the no of records. I am using the **PostgreSQL** here. So in the query i should specify the **limit and offset*... |
2018/03/21 | 1,931 | 8,958 | <issue_start>username_0: I updated my office to `insider version`, and my `customFunction` is working. Then I added the `AllFormFactors` tag to my `manifest.xml` and `Visual Studio` gives me an error
>
> AllFormFactors is `invalid`
>
>
>
```
...
...
```
Thanks in advance!
Here is my manifest.
```xml
xml ver... |
2018/03/21 | 1,729 | 8,517 | <issue_start>username_0: I have Users table, which has firstName and lastName columns. I want to add a new column userName and populate it with concatenation of firstname and lastname, i.e. <NAME> should have smth like john\_smith (j\_smith) as username<issue_comment>username_1: This is a schema validation error. You'r... |
2018/03/21 | 1,527 | 4,913 | <issue_start>username_0: How do I copy a value from `WarehouseInventory` Sheet to `Scan Report` Sheet if that value exists on `dictionary items`?
I'm able to compare the values on both Sheets (columns) but having trouble referencing the dictionary items offset cell address.
---
*Example*
```
If List.Exists(Inv_Dat... |
2018/03/21 | 601 | 2,273 | <issue_start>username_0: I have developed quite a big single page application using create-react-app.
I am in the process of migrating everything to NextJS, mainly for SEO purposes.
I'm scratching my head on one issue : what is the best way to handle responsive design?
In my create-react-app legacy code, I'm a... |
2018/03/21 | 714 | 2,880 | <issue_start>username_0: So far for storing in **Room Database** I've been using type converter for each classes. Like this:
```
@SerializedName("sidebar")
@Expose
@TypeConverters(SidebarConverter.class)
private Sidebar sidebar;
@SerializedName("splash")
@Expose
@TypeConverters(SplashConverter.class)
private Splash s... |
2018/03/21 | 3,946 | 13,206 | <issue_start>username_0: When I try to run the command `ionic cordova build android` out error as title above. Then I try to remove one of the `gms`, when I build again the deleted it appears again. how to solve this?.
Here is my dependencies of my `build.gradle` :
```
dependencies {
compile fileTree(dir: 'libs'... |
2018/03/21 | 931 | 3,351 | <issue_start>username_0: I want to disable the submit button till all the input fields are filled in the page using angularjs/bootstrap. I tried using `ng-disabled="myForm.$invalid"` but it doesn't seem to work. Any inputs?
[Demo](https://plnkr.co/edit/mqIYIx4KIlOV1JOSHVJI?p=preview)
**HTML Code**
```
Select Color... |
2018/03/21 | 1,039 | 4,488 | <issue_start>username_0: I'm trying to add Facebook and Twitter auth to my react-native app at the same time.
According to the official instructions, I need to modify the AppDelegate.m file for handUrl the following way for twitter:
```
- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDiction... |
2018/03/21 | 526 | 1,860 | <issue_start>username_0: I am working in an Angular4 application, where I want to handle the span (enable/disable) based on a condition.
When there's no items in the cart I want to disable the span.
But when there's at least 1 product in the cart. The span will be enabled.
[.each... |
2018/03/21 | 1,022 | 3,735 | <issue_start>username_0: I'm new to Mobx but so far it's been working great and I've managed to get pretty far. I have a react-native application with mobx, and mobx-persist. I'm using axios to pull posts from a Wordpress site. The functionality that I'm trying to improve is an "add to favorites" feature.
Here's my Po... |
2018/03/21 | 334 | 1,004 | <issue_start>username_0: When I use ScrollableTabView is nested inside ScrollView, it can't show anything in Android althought I updated ScrollableTabView version 0.8.0.
react-native-cli: 2.0.1
react-native: 0.44.3
My code like this:
```
render() {
return (
{this.\_renderUser()}
}>
{this.\_renderCusPr... |
2018/03/21 | 1,262 | 3,795 | <issue_start>username_0: I recently started using the [huxtable](https://hughjonesd.github.io/huxtable/) R package for tables and I'm really impressed with it. One thing I can't seem to figure out, however, is how to get line breaks *within* a cell. Here's what I've tried
```
library(tidyverse)
library(huxtable)
cars ... |
2018/03/21 | 1,124 | 3,527 | <issue_start>username_0: I want to create a pie chart for the percentage of males and females in a table in my database.
I've Written the following code but it is not working. Please help.
```js
php
$mysqli = new mysqli("localhost", "root", "", "ganesh");
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", m... |
2018/03/21 | 1,069 | 3,467 | <issue_start>username_0: This is my code.
```
var ad;
FBInstant.getRewardedVideoAsync('1234_1234')
.then(function(rewardedVideo) {
if(typeof rewardedVideo !== 'undefined'){
if(typeof rewardedVideo.getPlacementID() === 'undefined'){
console.log('can not get placement ID')
}
... |
2018/03/21 | 1,146 | 3,754 | <issue_start>username_0: According to w3schools:
>
> **Important**: When you set the width and height properties of an element with CSS, you just set the width and height of the **content area**. To calculate the full size of an element, you must also add padding, borders and margins.
>
>
>
What I'm finding in pr... |
2018/03/21 | 1,231 | 4,753 | <issue_start>username_0: We are trying our luck with robot framework for tests. Automation. I am stuck at database connection at this point.
A DB connection using cx\_Oracle is displaying an error saying “ No keyword withy the name cx\_Oracle’ . If you have any idea please help . It will be helpful if you could put ou... |
2018/03/21 | 1,231 | 4,690 | <issue_start>username_0: I launched a free tier Linux instance in Singapore region. But unable to connect with ssh using pem key. Only newly launched instance have this problem.
The error shows below,
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
Thanks in advance.
Regards,
<NAME><issue_comment>usern... |
2018/03/21 | 1,299 | 4,906 | <issue_start>username_0: Hi everyone I am having some problems with my code. It is unable to be able to work when i add in the code below.
```
until result || input == "quit"
```
However when i remove the input for that line the code works perfectly okay.
```
input = gets.chomp
print "you just told me #{input}"
re... |
2018/03/21 | 686 | 2,541 | <issue_start>username_0: We are in the process of migrating HA cluster to Causal Clustering.
**Is there any real advantage of migrating from HA Clustering to Causal Clustering?**
Currently using REST End points only.
**Is it possible to have causal clustering with just two Neo4j instances?**
Thanks.<issue_comment>... |
2018/03/21 | 2,312 | 5,750 | <issue_start>username_0: As I understand, one cannot use pip to install/upgrade `pywin32`, though `pip install -U pypiwin32` is a workaround.
`pywin32` is now hosted on [GitHub](https://github.com/mhammond/pywin32/releases). I know very little of `git` but know that it works with binary files. Is there a way to progra... |
2018/03/21 | 719 | 2,098 | <issue_start>username_0: I have a pending job and I want to resize it.
I tried:
```
scontrol update job NumNodes=128
```
It does not work.
Note: I can change the walltime using `scontrol`. But when I try to change number of nodes, it failed. It looks like I can change the nodes according to this page <http://www.n... |
2018/03/21 | 673 | 2,614 | <issue_start>username_0: using the Qualcomm NeturalNetwork SDK.
i can run the SNPE SDK Example and change to inception\_v3 model, works fine.
but snpe will block-ui thread in the execute();
i have no way to stop this. android user will get bad UX.
i have tryed: low priority thread, job scheduler, etc
when i execute... |
2018/03/21 | 200 | 740 | <issue_start>username_0: If "wallSize" is in localStorage, store the result in bathroomLength variable. Otherwise, do not change bathroomLength.
```
var bathroomLength = 'initial';
```
What is the proper way of answering this question?<issue_comment>username_1: `if (localStorage.wallSize) bathroomLength = localStor... |
2018/03/21 | 274 | 907 | <issue_start>username_0: I´ve been ask to find out, what:
```
function foo(input) {
var output = "intet match!";
if (input.length <= 5) {
output = input;
} else if (input.length < 12) {
output = input + "#" + input;
} else if (input == 'anders') {
output = "[" + input + "]";
}
return output;
```
would ... |
2018/03/21 | 1,076 | 3,140 | <issue_start>username_0: Toy Example
===========
I don't really want to concatenate (i.e., I don't want to merge strings), but if I say `JOIN` it will confuse people.
I have 2 tables that I **know** are properly aligned by row. I simply want to take the 2 tables and *join* them, but not **on** anything, and I don't w... |
2018/03/21 | 541 | 1,796 | <issue_start>username_0: How do I load pretrained model using fastai implementation over PyTorch? Like in SkLearn I can use pickle to dump a model in file then load and use later. I've use .load() method after declaring learn instance like bellow to load previously saved weights:
```
arch=resnet34
data = ImageClassifi... |
2018/03/21 | 1,135 | 4,677 | <issue_start>username_0: I have 2 radio groups in MainActivity as follow:
```
public class MainActivity extends AppCompatActivity {
public static RadioGroup tapRadioGroup, timeRadioGroup;
...
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceSt... |
2018/03/21 | 572 | 1,971 | <issue_start>username_0: I am trying to add my custom jar in spark job using "spark.jars" property.
Although I can read the info in logs of jar getting added but when I check the jars that are added to the classpath, I don't find it.Below are the functions that I also have tried it out.
1)spark.jars
2)spark.driver.ex... |
2018/03/21 | 561 | 1,693 | <issue_start>username_0: I'm working on the following pthread program that finds the number of substrings in string2 that are in string:
```
#include
#include
#include
#include
#define NUM\_THREADS 4
#define MAX 1024
int n1,n2,i;
char \*s1,\*s2;
FILE \*fp;
char \*substring(char \*string, int position, int length... |
2018/03/21 | 378 | 1,206 | <issue_start>username_0: Basically I want the image to fall down the screen all the way through the right side of the window and I tried it like this (see snippet below)
```css
#falling2 {
position: absolute;
top: 0;
right: 0;
z-index: -2;
}
```
```html

```
Howe... |
2018/03/21 | 353 | 1,268 | <issue_start>username_0: ```
var apikey = "someKey";
var SEid = "<KEY>";
var query = "Flower";
var returnedData;
$.get("https://www.googleapis.com/customsearch/v1?key=" + apikey + "&cx=" + SEid + "&q=" + query, function(data){
console.log(data);
returnedData = data;
});
console.log(returnedData.items[1].fo... |
2018/03/21 | 224 | 857 | <issue_start>username_0: Code:
```
{{item.English\_name.toLowerCase()}}
#### Rate
{{ parseFloat(item.Rate).toFixed(2) }}
#### MRP
{{ parseFloat(item.MRP\_rate).toFixed(2) }}
Add to cart
```
Anyone can please tell me why parseFloat is not working How can I make it workable? I am using ngFor loop so doing ... |
2018/03/21 | 1,100 | 3,606 | <issue_start>username_0: Fedora 27 with openjdk 1.8.0 and Gerrit 2.14.7.
This is what I get:
```
gerrit_testsite/bin/gerrit.sh start
Starting Gerrit Code Review: FAILED
```
The logs are empty. There is a `gerrit.pid` file; the corresponding process is running:
```
GerritCodeReview -jar /home/gerrit2/gerrit_testsit... |
2018/03/21 | 224 | 802 | <issue_start>username_0: In my react native project when I press
>
> `⌘ + d debug menu won't show up`
> The problem is the splashScreen won't hide is there any way to debug?
>
>
><issue_comment>username_1: Sometimes it happens because of your App is in release mode.
Try below steps.
**Make sure for debugging app... |
2018/03/21 | 1,097 | 3,143 | <issue_start>username_0: I have a string:
```
{"lat":28.67167520663993,"lng":77.23913223769534}
```
When I use:
```
$json = json_decode($json['latlng'] , true);
echo "
```
";print_r($json );
```
```
then output value is:
Array:
```
(
[lat] => 28.67167520664
[lng] => 77.239132237695
)
```
but result... |
2018/03/21 | 1,062 | 3,631 | <issue_start>username_0: I am developing Tabs using TabbedPage in `xaml`. The default tabs **Icons & Text size is big** so I need to reduce the size of Icons & Text. Below is my `main.xaml` code Where I am setting icons.
```
```
This is First page of tabs where I am giving Title of tab as `Title="Dairy"`
```
```
... |
2018/03/21 | 1,321 | 5,157 | <issue_start>username_0: I hosted my portfolio (which is still under development) on github pages. It's just a web app with static content. And I needed to add Google Analytics to my portfolio and get the number of visits (mainly to get familiar with the process). I found out [react-ga](https://github.com/react-ga/reac... |
2018/03/21 | 739 | 2,726 | <issue_start>username_0: I'm using a DataTable. And this table I am adding data to DataTable using this code: **t.row.add ([...]). Draw (false);** Here is what I need: I want to print an alert on the screen if there is an r\_name with the same name already registered.
For this I want to keep the r\_name of all the rows... |
2018/03/21 | 759 | 2,712 | <issue_start>username_0: I am writing some code where I need to remove an item in a circularly linked list (who's head acts as a dummy node) and return it (if removing the first node). I think I have the code just about right, but I'm not sure.
Am I understanding this correctly? (starting with a dummy node)
dummy -> ... |
2018/03/21 | 803 | 2,467 | <issue_start>username_0: I have krogoth yocto source when i compile `bitbake core-image-sato` its showing nearly 4560 packages are compiling but after successfull compilation the rootfs size is 30 mb only.
```
Note: when I boot with this 30 mb size rootfs board is booting but lcd xwindow display not coming.
```
why ... |
2018/03/21 | 914 | 3,010 | <issue_start>username_0: I'm really not a star with regular expressions, especially with Haskell and even after reading some tutos.
I have a list of numbers like this:
```
let x = [1, 2, 3.5]
```
My goal is to have the string `"1.0 2.0 3.5"` from this input.
My idea was to use regular expressions. But the way I us... |
2018/03/21 | 1,706 | 3,607 | <issue_start>username_0: I have a dataframe `df1`:
```
Site cells national plan value
T13630 G13630B 225
T13631 G13631A
T13631 U13631A 57
T13672 G13672A 310
T13802 G13802A 150
T13802 G13802B 151
T13802 U13802A
T13880 G13880A 274
T13880 U13880B
T33281 U33281A
```
I want dataframe `df2` such that I ... |
2018/03/21 | 333 | 1,131 | <issue_start>username_0: I have 4 columns in SQL, out of which I use only three columns. I need to create a `view` which subtracts the `total_energy_generated_till` value based on the first value of a day and the last value of a day using the column TSTAMP.
How do I achieve the same ? See the image for the table info... |
2018/03/21 | 415 | 1,563 | <issue_start>username_0: I am using spring security oauth2 client and configured the app as follow
```
spring.security.oauth2.client.registration.google.client-id=abcd
spring.security.oauth2.client.registration.google.client-secret=<PASSWORD>
```
1. As I start the application, I must login with login link which redi... |
2018/03/21 | 339 | 1,043 | <issue_start>username_0: Context: I'm working on a lighting protocol converter for architectural LED matrices and need to encode byte strings in a very specific way for the headers to be recognized by my hardware.
Q: How can I convert an int into two bytes such that I can then use them separately?
Example:
I want t... |
2018/03/21 | 2,383 | 8,093 | <issue_start>username_0: I am working on a project on Spring Boot and have to process a lot of information stored in Solr. I have to compare all my stored images with the entered by the user and establish a similitude. I used LinkedList of images at the beginning, now working with Arrays and LinkedList, but is also ver... |
2018/03/21 | 440 | 1,495 | <issue_start>username_0: I want to do command chaining with git. I want exactly to clone a repo then set the configurations for that working copy changing user.name, user.email.
I tried this:
```
git clone https://repoUrl.git && git config user.name "Khaled" && git config user.email "<EMAIL>"
```
But I got this err... |
2018/03/21 | 419 | 1,461 | <issue_start>username_0: I have three promises. I need to combine them together to create one more promise.
Something like this `Promise.all('url1','url2','url3')` or if there is other possible way to achieve it.
Intent is to fire all of them in parallel.
I have requirement that when either two of them are resolved,... |
2018/03/21 | 1,157 | 4,716 | <issue_start>username_0: I have a custom `View` which contains a `LinearLayout` in turn containing a `TextView` and and an `EditText`. When I will try to click on my custom view if I have pressed on the `TextView` the `LinearLayout` will receive the click but if I have pressed on the `EditText` it will not.
Below is a... |
2018/03/21 | 560 | 2,389 | <issue_start>username_0: So this is more of a theoretical question rather than a programming question.
In my basic understanding of the Angular 4 framework a component can have `inputs, outputs and services which also interact with the store to store data`.
Now all of this, in the case of a web-app is displayed on a t... |
2018/03/21 | 613 | 1,996 | <issue_start>username_0: I have an aware `datetime` object:
```
dt = datetime.datetime.now(pytz.timezone('Asia/Ho_Chi_Minh'))
```
I'm using this to convert the object to timestamp and it currently runs fine:
```
int(time.mktime(dt.utctimetuple()))
```
But according to [time docs](https://docs.python.org/2/library... |
2018/03/21 | 659 | 2,767 | <issue_start>username_0: I tried to access `NotificationManagerService` class which is in `android.service.notification` package using reflection method. I tried this to clear Notifications of other apps which has `FLAG_NO_CLEAR`
Here is the snippet,
```
try {
Class c = Class.forName("com.android.server.notifi... |
2018/03/21 | 1,481 | 3,958 | <issue_start>username_0: I am creating a scatter plot using ggplot2 and would like to size my point means proportional to the sample size used to calculate the mean. This is my code, where I used `fun.y` to calculate the mean by group `Trt`:
```
branch1 %>%
ggplot() + aes(x=Branch, y=Flow_T, group=Trt, color=Trt) +
st... |
2018/03/21 | 709 | 2,288 | <issue_start>username_0: I have a html element:
```
Top Ten Miler
```
I would like to remove string "Top Ten" from:
```
Top Ten Miler
```
So out should be straight:
```
Miler
```
How can I do it using JavaScript or jQuery on windows load?<issue_comment>username_1: Use `String.replace` method
```js
var x... |
2018/03/21 | 494 | 1,280 | <issue_start>username_0: I have a big list that basically looks like:
```
_list = [('123.45','678.90'), ('098.76', '543.21'),('135.79','246.80')]
```
The parentheses come from another function, so I am unsure if it is part of the output, or if it is placed there as a reference of some sorts.
And I need to split the... |
2018/03/21 | 745 | 2,485 | <issue_start>username_0: I have this segment of code ...
```
string rand = RandomString(16);
byte[] bytes = Encoding.ASCII.GetBytes(rand);
BitArray b = new BitArray(bytes);
```
The code converts string to Bitarray properly. Now I need to convert the BitArray to zeros and ones.
I need to manipulate with zeros and... |
2018/03/21 | 496 | 1,694 | <issue_start>username_0: Can you create a programming language with just one symbol like brainfuck.<issue_comment>username_1: Yes, it has been done before - see [Unary](https://esolangs.org/wiki/Unary).
Basically it's a strange encoding of brainfuck. Treat each BF command as a number. The whole program is then also a ... |
2018/03/21 | 1,774 | 6,625 | <issue_start>username_0: I'm trying to figure out the problem I have when I try to use the segment to change the name of the text in each scrolling.
I'm glad if anyone has a good idea for it and can help me.
**FirstViewController.swift**
```
class FirstViewController: UIViewController ,ScrollUISegmentControllerDelega... |
2018/03/21 | 782 | 1,864 | <issue_start>username_0: How can I sort a Python list (with sublists)? For example, I have the following list:
```
list1 = [[0, 4, 1, 5], [3, 1, 5], [4, 0, 1, 5]]
```
After sorting I am expecting:
```
list1 = [[3, 1, 5], [0, 4, 1, 5], [4, 0, 1, 5]]
```
Another example. I have the following list:
```
list2 = [[4,... |
2018/03/21 | 322 | 1,151 | <issue_start>username_0: I am trying to use the PHP API, and same example as given in the code
<https://www.elastic.co/guide/en/elasticsearch/client/php-api/current/_search_operations.html#_scrolling>
```
$client = ClientBuilder::create()->build();
$params = [
"scroll" => "30s", // how long between scrol... |
2018/03/21 | 1,183 | 4,445 | <issue_start>username_0: Under .NET's older `packages.config` system for NuGet, [I could constrain the possible versions of a package](https://learn.microsoft.com/en-us/nuget/consume-packages/reinstalling-and-updating-packages#constraining-upgrade-versions) that are considered when packages are updated by using the [`a... |
2018/03/21 | 679 | 2,115 | <issue_start>username_0: While creating new tests, I got this error:
```
Determining test suites to run...Error: ENOENT: no such file or directory, stat '/home/andrew/Documents/wise-fox/The-App/src/tests/components/AlertsComponent/AlertsPages/PromoPage3.test.js'
at Object.fs.statSync (fs.js:948:11)
at Object.s... |
2018/03/21 | 508 | 1,685 | <issue_start>username_0: can anyone show me how to upload and store video using laravel ?
whenever i try to upload a video it gives me post too large exception.
I also changed values in php.ini file like post\_max\_size etc but did not worked<issue_comment>username_1: You should check if the php.ini options are gettin... |
2018/03/21 | 751 | 2,673 | <issue_start>username_0: How can I disable certain alert on the page and allow others?
I tried With this code:
```
window.alert = function ( text ) {
console.log(text);
if(!text.includes("rambo"))
alert("rambo");
};
```
This won't work because it calls alert again and not the alert.
I need to use jav... |
2018/03/21 | 1,762 | 6,198 | <issue_start>username_0: I got this from a tutorial and made some changes but I'm unable to figure out why it's pointing to a null object.
Here are the codes:
**HomeActivity.java**
```
final DatabaseReference dbRef = FirebaseDatabase.getInstance().getReference(Common.token_table).child(Common.user_workers_table).chi... |
2018/03/21 | 778 | 2,747 | <issue_start>username_0: As an example, I'm trying to define quot in a single function. I'm struggling to see how to do so without appending an extra parameter (in this case, a counter).
```
quot x y n
| x < y = n
| otherwise = quot (x-y) y (n+1)
quot0 x y = x y 0
```
I've run into this problem multiple times ... |
2018/03/21 | 605 | 1,980 | <issue_start>username_0: I would like to clarify that this is a basic *page* and there will be no scrolling whatsoever and minimal text.
I have been trying to use Bootstrap 4 to align text to the direct middle of the page, then also having a footer at the bottom of the page, also centered.
I currently have the follow... |
2018/03/21 | 535 | 2,001 | <issue_start>username_0: Before the actual test execution, I want to call some HTTP APIs and parse the response out of it before handling it to my SSH Command sampler. What's the best way to do it in Jmeter? Like there is a pre-processor for JDBC request, then why not a pre-processor for HTTP request?<issue_comment>use... |
2018/03/21 | 570 | 1,654 | <issue_start>username_0: I am trying to place an icon inside a circle and that circle will be placed at the start of an input field like below:
[](https://i.stack.imgur.com/eR0tE.png)
I am trying to achieve this using below code in `ionic`:
// in .h... |
2018/03/21 | 232 | 843 | <issue_start>username_0: Can anybody know how to split an STL into surfaces in VTK? Or how to do it in Paraview?<issue_comment>username_1: In ParaView :
* Open ParaView
* File -> Open -> Select your STL file, Apply
* You obtain a single vtkPolyData object, you can then use ParaView for any splliting you may want to d... |
2018/03/21 | 5,741 | 20,426 | <issue_start>username_0: I'm using `android studio 3.0`. Whenever I try to create a new project, I get this error:
```
Gradle 'MyActivity' project refresh failed, Error:Cause: malformed input around byte 13
```
I'm unable to fix this because it is related to `gradle`. I've followed certain steps to fix it which a... |
2018/03/21 | 1,947 | 4,485 | <issue_start>username_0: I have a large data set divided into many small groups by a grouping variable = `grp`; all members of a group are contiguous in the order of the larger data set. The members of a group each have an id code (= `id`) and are numbered sequentially from 1. Within a group, some members meet a logica... |
2018/03/21 | 1,184 | 4,162 | <issue_start>username_0: I've already searched for about 2 days for the answer but still no luck until now. Please help me to figure it out. When the event is not allDay, resize is not working and resize icon doesn't show at the end of the event. But when the event is allDay, it can now resizable. I've already tried pu... |
2018/03/21 | 420 | 1,521 | <issue_start>username_0: I've tested this with a new project, nothing unique.
`ng new debug-project`
Then I added some tags in the head section that resulted in this.
```
DebugProject
```
After `ng build --prod`, the html is now looking like this, which can't be read by the browser. Notice the missing spaces in ... |
2018/03/21 | 329 | 1,198 | <issue_start>username_0: Recently I had attended one of java interview and I am unable to answer this question:
* Who will throw the exception in spring JDBC if any mistake occurs in the database?<issue_comment>username_1: Try using this command:
```
ng build -prod --no-aot
```
Upvotes: -1 <issue_comment>username_2:... |
2018/03/21 | 930 | 3,423 | <issue_start>username_0: I get a response from a public test api in swift as a JSONarray:
```
func getFlightData(airportCode: String, minutesBehind: String, minutesAhead:String){
let securityToken: String = "<KEY>
var headers: HTTPHeaders = [:]
headers["Authorization"] = securityToken
let parameters: P... |