date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/03/08 | 1,069 | 3,841 | <issue_start>username_0: I created template in index.html to generate html-code with js, code below. My Webpack configuration also below. When I run it with webpack-dev-server, I get error: title is not defined. Somehow webpack tries to resolve 'title' by self, instead of delegate it to 'lodash/template'. Please help m... |
2018/03/08 | 467 | 1,273 | <issue_start>username_0: I have a dictionary with changing number of values per key, e.g.
```
my_dict = {'a':['e','f'],'b':['g'],'c':[]}
```
I would like to extract every key value pair in a list, i.e.
```
[('a','e'),('a','f'),('b','g')]
```
So 'c' should not be a part of the list since it has no value associated... |
2018/03/08 | 1,724 | 5,528 | <issue_start>username_0: I'm getting the following error on running an existing Jupyter Notebook file
```
The history saving thread hit an unexpected error (OperationalError('disk I/O error',)).History will not be written to the database.
```
Never the less, the remaining code in the notebook executes properly afte... |
2018/03/08 | 346 | 1,274 | <issue_start>username_0: I have developed an app in English language. When i change my android language to a right-to-left (later rtl) language , my app goes rtl layout but I don't want that. I want my app layout to stay left-to-right (later ltr) whether android language is ltr or rtl.
I know there is layoutdirection i... |
2018/03/08 | 253 | 885 | <issue_start>username_0: I have a simple TextBox:
```
```
When I add `type="number"` the control loses its content after a post-back. I know there is no native support for this but it's a comfortable way to make sure only numbers can be entered.
How can I make the value remain in the TextBox and add the attribute `... |
2018/03/08 | 609 | 2,326 | <issue_start>username_0: I am working in a project with three more collaborators, my case is:
Every time I try to add a new commit and there is some change in the remote (even though it is a file that I have not worked in local), I get the following message that forces me to create a merge with following default messa... |
2018/03/08 | 533 | 1,921 | <issue_start>username_0: I am currently creating an app using Ionic. I need two checkboxes to see if they are checked or not, so that I can decide where to push the information later.
So I read in the docs that the checkbox framework has an attribute of 'checked' which returns a boolean. First time I tried it, the cod... |
2018/03/08 | 614 | 2,369 | <issue_start>username_0: I'm learning how to use the ngrx/store library in Angular 5 and I noticed an unexpected behavior... Please, help me understand if this is the default behavior for this library, because I really wasn't expecting this at all...
Well, my objective is to create a singleton store for storing applic... |
2018/03/08 | 442 | 2,068 | <issue_start>username_0: I'm building an app to connect with nodemcu. In my code I am using `HttpClient`, but as I have read that it is no longer supported. I want to use `httpurlConnection` in the below code. I am getting errors if use `httpurlconnection`. Here is the code
```
if (!dialog.isShowing())
dialog.... |
2018/03/08 | 475 | 1,901 | <issue_start>username_0: I am trying to send a post request to Java servlet, execute a query based upon this value, and send the information to a jsp file. The query in entered from a text box, and when the user hits enter, I need to jump to a new page to display the value of the query.
This is my post request to the... |
2018/03/08 | 648 | 2,579 | <issue_start>username_0: **NOTE: This is not a duplicate. That other question is not about auto-marshalling of Spring request params. It has a solution where you manually marshall objects with jackson.**
I want to allow devs to create request objects with enums that can match with case-insensitivity. Other fields/prop... |
2018/03/08 | 1,101 | 3,277 | <issue_start>username_0: I have the following python method, which selects a weighted random element from the sequence "seq" randomly weighted by other sequence, which contains the weights for each element in seq:
```
def weighted_choice(seq, weights):
assert len(seq) == len(weights)
total = sum(weights)
... |
2018/03/08 | 1,173 | 4,346 | <issue_start>username_0: I'm trying to create a new release task for VSTS which needs to download a [secure file](https://learn.microsoft.com/en-us/vsts/build-release/concepts/library/secure-files) from the library. However, when I run the following PowerShell script no secure files are displayed but there are two in t... |
2018/03/08 | 568 | 2,287 | <issue_start>username_0: I'm developing a quite large automatic build in TFS2017 with a local VSTS build machine. My custom tasks will be mostly in PowerShell.
The inline PowerShell task handles only 500 or so characters and is too small to use for most tasks. Right now I'm editing my Powershell script, check it in, t... |
2018/03/08 | 604 | 2,367 | <issue_start>username_0: I am working on something in which i have 3 forms first form have two buttons which will take me to other two forms.
I did that already but my question is now i want to use the classes i made on form1 in other two forms.The classes i am using have simple private string variables and getter set... |
2018/03/08 | 1,113 | 4,507 | <issue_start>username_0: I have models which inherit from each other, but I am struggling to get the fluent api configuration to behave as I want it to. Let's say I have a base class which defines some core properties
```
public class Entity
{
public int Id { get; set; }
public string Title { get; set };
}
```
... |
2018/03/08 | 565 | 2,097 | <issue_start>username_0: In a python program, a Process is opened using `multiprocessing.Process`. Then this process is creating a `Pool` in order to give it some work using the `map()` method.
When the program is normally run, all works as expected. However, when it is run in PyCharm debugger, the call to `Pool.map` ... |
2018/03/08 | 665 | 2,427 | <issue_start>username_0: Kotlin has very beautiful null checks in compile time itself.
Suppose a scenario like below:
```
fun main(args: Array) {
println("Please enter a number: ")
var num = readLine()!!.toInt()
println("Entered number is $num")
}
```
If the user do not enter any value or any Int the code will ... |
2018/03/08 | 993 | 3,083 | <issue_start>username_0: I'm trying to fill a table with rows that should be there: If a city in `@Maps` does not exist in `@Results`, then I will fill it using `NOT EXISTS`. The issue is that the filter`isused = 1` not only is ignored, it seems to void the `NOT EXISTS`.
With `IsUsed = 1`, everything in @Maps will be ... |
2018/03/08 | 1,965 | 7,176 | <issue_start>username_0: I want to assign literals to some of the variables at the end of the file with my program, but to use these variables earlier. The only method I've come up with to do it is the following:
```perl6
my $text;
say $text;
BEGIN {
$text = "abc";
}
```
Is there a better / more idiomatic... |
2018/03/08 | 366 | 1,264 | <issue_start>username_0: I'm using [GraphQL shorthand](https://github.com/sogko/graphql-schema-language-cheat-sheet/blob/master/graphql-shorthand-notation-cheat-sheet.pdf) to specify the types in a schema, eg
```
type Car {
id: ID!
make: String
model: String
description: String
}
```
Using this shorthand, is... |
2018/03/08 | 481 | 1,800 | <issue_start>username_0: So I am able to get the values for the slider as the user scrolls as well as where the slider finishes (The end position of the slider). I am able to store both of these values in localstorage however I am unable to get the slider position to be fixed and reflected on refresh; it resets every t... |
2018/03/08 | 3,263 | 11,628 | <issue_start>username_0: I read numerous articles on this topic, but I'm still not sure how to proceed.
I have an application that has grown over the past 15 years; until now, the source code has been managed using another source control system. I'm planning to migrate to Git and intend to use a branching model like t... |
2018/03/08 | 434 | 1,534 | <issue_start>username_0: I am implementing this Bootstrap Modal on click of a button. But on clicking the button, the modal appears on screen, every field is correctly displayed except the textarea field, the button code and file upload code below it, is getting inside of the textarea, why is it so ? Please check the f... |
2018/03/08 | 450 | 1,596 | <issue_start>username_0: How to add new attribute for CSV file and how/where to update the code of the `hot-folder` process?<issue_comment>username_1: In the Hybris `Hot Folder` principle, we convert a `CSV` file to an `ImpEx` file using the specific header that can be configured using Spring Integration logic.
***Fil... |
2018/03/08 | 463 | 1,954 | <issue_start>username_0: I have an application that uses Zuul and is hosted in a Kubernetes Cluster on AWS. It would appear that Zuul is not forwarding headers from the request to the destination, so I m having to do this:
```
private void copyRequestHeaders() {
RequestContext context = RequestContext.getCurrentCo... |
2018/03/08 | 316 | 1,171 | <issue_start>username_0: I have the line in my template:
```
```
If the `foo_classes` is empty I get `class="class1 class2 class3 "`.
What I want to get is `class="class1 class2 class3"` with no additional space at the end of the classes list.
```
```
If I delete the space (look at the line above) then I get `cla... |
2018/03/08 | 624 | 2,273 | <issue_start>username_0: I am using below piece of code for reading the 150MB CSV file and getting GC error
[](https://i.stack.imgur.com/pyGl8.png)
Same code which was causing the problem
```
public List readCsvFile(String ipFilePath) {
logge... |
2018/03/08 | 637 | 2,672 | <issue_start>username_0: What's the difference between adding an implementation rather than its interface, being that I have just one implementation of this interface?
```
// Adds a transient service by type of the implementation:
services.AddTransient(typeof(SomeConcreteService));
```
or
```
// Adds a transient se... |
2018/03/08 | 568 | 1,880 | <issue_start>username_0: This is my Test
```
Feature('Test');
Scenario('test something', (I) => {
I.amOnPage("");
I.see("Welcome");
I.fillField('j_username', 'xxxxxx');
I.wait(3);
});
```
This is my codeceptjs.JSON
```
{
"tests": "asd/*_test.js",
"timeout": 10000,
"o... |
2018/03/08 | 414 | 1,609 | <issue_start>username_0: How to copy ES (v 5.x) index from one server to another server. i don't have privileges to install any software in that machine. have any better solution to copy the index ? will backup and restore work? please share your suggestion<issue_comment>username_1: You can [reindex from remote server]... |
2018/03/08 | 624 | 2,411 | <issue_start>username_0: I'm saving an order into my database, once the order is saved I want to grab that order ID to pull up the order information on the confirmation screen.
It's important that the most recent order id is the one that's just been saved. If two or more orders are placed at once how can you ensure t... |
2018/03/08 | 2,021 | 7,135 | <issue_start>username_0: I'm working with pipelines in Jenkins in a environment which already has configured a pipeline script from SCM which then uses a groovy file for the stages/jobs inside the pipeline. This scripts are on Bitbucket in a master branch.
Every time jenkins jobs starts it call master branch and it r... |
2018/03/08 | 977 | 3,516 | <issue_start>username_0: I have a 1 row dataframe called ff.
```
A B C D E F
2 5 9 1 7 6
```
How do I create a single column dataframe (ColContribs) when the a column equals 7
```
E
7
```
Like that..?
I was using
```
ColContribs <- ff[,ff[1,]==7]
```
but i'm getting this error
```
Error in... |
2018/03/08 | 871 | 3,226 | <issue_start>username_0: **TL;DR: What is the best way to Export Ladder Logic in Tia 14?**
Recently my company has started using Tia Portal v14. The update was due and we have begun to do some work with the S7 1500 series of CPUs. It has come to the attention of those in my team that there is not a simple way to expor... |
2018/03/08 | 1,462 | 5,665 | <issue_start>username_0: I'm getting an error when I'm trying to `SaveChangesAsync()` from an interface that I implemented. Every other method on this interface seems to work fine. I debugged every task before the one that gives the error and everyone `IsCompleted`. I'm new to this so tell me what I'm doing wrong here.... |
2018/03/08 | 2,524 | 9,156 | <issue_start>username_0: I have an issue with flattening array.
Given that the structure is following
```
{
"name": "Somename",
"property": [
[
{
"prop": "someprop",
"other": "someother"
},
{
"prop": "someprop",
"other": "someother"
}
],
[
... |
2018/03/08 | 498 | 1,747 | <issue_start>username_0: Today I came across this expression:
```
(x,_),(y,_) = load_data()
```
...and I'm wondering what is the order of assignment.
---
For example `x,x,x = 1,2,3` set `x` to `3` from my test, does it actually set `x` to 1, 2, than 3?
What's the rule it follows? And what happens in more complex ... |
2018/03/08 | 492 | 1,845 | <issue_start>username_0: Using CloudFormation to delete a stack that contains an ECR with images results in a failure message:
```
The repository with name 'my-repo' in registry with id '123' cannot be deleted because it still contains images
```
The CLI provides a way of overriding this by using the `--force` flag:... |
2018/03/08 | 696 | 2,032 | <issue_start>username_0: I'm trying to change the format of a dictionary to
```
value1;key1;
value2;key2;
value3;key3;
valuen;keyn;
```
and to save it to a text file.
I also want to be able to load the text file and convert it back to a dictionary. Also, the values and keys should be on the next row under each oth... |
2018/03/08 | 1,373 | 5,554 | <issue_start>username_0: I am creating a program for my computer science program. I am trying to call a class called "StockBarChart". How would I call this class from my main class?
Edit: I have posted the code below
In this class I have created a bar chart. I am not quite sure where I have gone wrong.
```
public cla... |
2018/03/08 | 1,577 | 4,524 | <issue_start>username_0: I have a table of planning applications and I am trying to return the closest 5 applications to a property, ordered by the closest to farthest distance via a Postgres query through PHP returned as a JSON array.
The results are successfully returned but they do not appear to be ordered correctl... |
2018/03/08 | 1,310 | 4,556 | <issue_start>username_0: I have vue component like this :
```
...
export default {
...
data() {
return {
allowableTypes: ['jpg', 'jpeg', 'png'],
maximumSize: 4000000
}
},
methods: {
...
onFileChange(e) {
if (this.validate(e.target.files[0])) {
let files = e.target.files,
reader = new FileReader()
// ... |
2018/03/08 | 914 | 3,326 | <issue_start>username_0: How can I check the running Lambda functions running using the aws cli?
It seems that there is no a command to check it:
`aws lambda XXXX`
I have several scripts running, and I'd like to monitor the situation.
It is enough to show how many functions are running.
Thank you<issue_comment>use... |
2018/03/08 | 1,093 | 3,781 | <issue_start>username_0: Hello I've been trying to return an object from a class but for some reason, whenever I try to return it, it fails but all other surrounding code works perfectly.
**emp.h**
```
class drvr{
private:
string title;
string empname;
public:
drvr(string titlez, string name){
title =... |
2018/03/08 | 484 | 1,400 | <issue_start>username_0: has anyone any idea why do I get full match of ".abcd" using the regex below on the string I posted? I imagine this regex to only capture ".abc" as a full match.
```
^(\.)([a-z]+){3}$
String: .abcd
```
Best regards:)<issue_comment>username_1: You're currently saying start with a `.` then h... |
2018/03/08 | 545 | 1,530 | <issue_start>username_0: Is it possible to extract content which comes after text Final Text: (not a tag) using Beautifulsoup.
i.e. expecting only
>
> `0 / 22 FAIL ||`
>
>
>
Problem here is many tags doesn't have class or id etc. If i exctract only `, |` i will get all which is not required.
```
**Final Te... |
2018/03/08 | 995 | 3,751 | <issue_start>username_0: Whenever I'm creating a new solution with VS2017 I'm usually choosing one of the newer Frameworks as a target (most often currently 4.6.1).
Now though when I create a .dll Subproject within the solution it sets the target Framework for that subproject to .NET Standard 2.0. With that being the... |
2018/03/08 | 935 | 3,253 | <issue_start>username_0: I am training a LSTM model with Keras on the dataset which looks like following. The variable "Description" is a text field and "Age" and "Gender" are categorical and continuous fields.
```
Age, Gender, Description
22, M, "purchased a phone"
35, F, "shopping for kids"
```
I am using word-em... |
2018/03/08 | 615 | 1,837 | <issue_start>username_0: The following snippet fails at 'fields.size': "value size is not a member of Any". Why is 'fields' not of type 'List' (as I would expect)?
```
val condition = "a"
val fields =
if (condition == "a") {
List(1,2)
} else if (condition == "b") {
List(1,2,3)
} else if (condit... |
2018/03/08 | 681 | 2,146 | <issue_start>username_0: I want to chain Terraform and Ansible using the `local-exec` provisioner;
However since this requires input **to** Ansible **from** Terraform I am stuck with the following complex command:
```
provisioner "local-exec" {
command = 'sleep 60; ansible-playbook -i ../ansible/inventory/ ..... |
2018/03/08 | 1,013 | 3,339 | <issue_start>username_0: I have a dataset:
```
ID Value
102 306
41 800
101 783
105 193
myID 334
```
I would like to draw this up as a datatable where only the row with 'myID' is coloured orange and the rest of the table is blue. Having looked at the [helper functions](https://rstudio.github.io/DT/functions.html) an... |
2018/03/08 | 470 | 1,686 | <issue_start>username_0: I am new to ELK and use mac as my personal machine but a PC in office.
Please help me in finding a right track to go ahead with ELK stack.<issue_comment>username_1: [First of all use oficial docs it's very good](https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html)
[Tutor... |
2018/03/08 | 1,414 | 4,333 | <issue_start>username_0: I have an interval `[0; max]` and I want to split it into a specific number of sub-intervals. For this, i wrote a function called `getIntervalls(max, nbIntervals)` where `max` is the max element in my first interval and `nbIntervals` is the number of expected sub-intervals.
For example:
* `ge... |
2018/03/08 | 650 | 2,299 | <issue_start>username_0: I initiated an empty array - line.
```
string[] line = new string[] { };
```
I want to store every line that would be outputed in a cmd processing with the while loop below. This seems to work easily if I store the values in a string variable.
As shown below:
```
while (!proc.StandardOu... |
2018/03/08 | 646 | 2,122 | <issue_start>username_0: I want to capture the real number that follows the characters "FM"
The regex I have does it in most situations except when there is a decimal point directly after the characters FM, e.g FM.3 it only captures the digit 3 and not the decimal point.
here's my regex
```
FM\W?(\.{0,1}\d?\.?\d?)?
... |
2018/03/08 | 802 | 2,642 | <issue_start>username_0: I've been trying to parse the following XML file using xml.etree: [Bills.xml](https://gist.github.com/anonymous/32bd046744c33f59c599976caab57bb7)
This is the simple python source: [xml.py](https://gist.github.com/anonymous/56beec8378b6a440d52d56702d566d73)
I'm able to successfully print the c... |
2018/03/08 | 650 | 2,146 | <issue_start>username_0: Does anyone know why map can be used as a value receiver, but when working with slices only the pointer receiver can be used? **Why the map is changing after the method call?**
Example for map:
```
package main
import (
"fmt"
)
type hashMap map[string]int
func (s hashMap) Add(k string,... |
2018/03/08 | 707 | 2,260 | <issue_start>username_0: ```
import serial.tools.list_ports
ports = serial.tools.list_ports.comports()
print(ports)
#[, ]
```
As you can see the comports are not readable, I can make it readable through for loops but I need it in list with readable word, eg. ["COM1","COM2","COM3"]
Anyone has any idea to change it?... |
2018/03/08 | 630 | 2,391 | <issue_start>username_0: This is my view
```
Available:
No
Yes
```
And this is model Product.cs
```
[Required]
[Display(Name = "Available")]
public bool InStock { get; set; }
```
The problem is that the value sent to Controller method is always false, even when I choose option "Yes".<issue_commen... |
2018/03/08 | 384 | 1,354 | <issue_start>username_0: I have a legacy text based database whose data cannot be exported. I have to use mouse to select data on screen, and do ctrl+c to copy them to a txt file. I have managed to do this using AutoHotKey. Now I want this to be run in the background without interfering my other job on the computer.
T... |
2018/03/08 | 318 | 1,063 | <issue_start>username_0: I would like to produce multiples of value in function of the amount of tokens available from another cell.
I have a constant value ‘pippo’ if the amount of tokens is 2 then there should be pippo twice in another cell (pippo;pippo).
Pratically, I would like the third column to be as shown belo... |
2018/03/08 | 283 | 956 | <issue_start>username_0: <http://sqlfiddle.com/#!9/e6effb/1>
I'm trying to get a top 10 by revenue per brand for France on december.
There are 2 tables (first table has date, second table has brand and I'm trying to join them)
I get this error "FUNCTION db\_9\_d870e5.SUM does not exist. Check the 'Function Name Parsi... |
2018/03/08 | 409 | 1,406 | <issue_start>username_0: I am referring to this answered question [Convert Array into Object](https://stackoverflow.com/questions/19970301/convert-javascript-object-or-array-to-json-for-ajax-data/24728537#24728537). Specifically the answer of @JVE999. Since my reputaion is too low to comment on the answer I am asking a... |
2018/03/08 | 771 | 2,245 | <issue_start>username_0: I'm trying to make a simple pen with a button. When "on" is pressed the cover should slide and cover "on". When "off" is pressed the cover should cover "off". It works the way I have it, but when I try to add some transition effects nothing works. I tried adding `transition-duration: 1s;` to ev... |
2018/03/08 | 652 | 2,264 | <issue_start>username_0: I have tried using customized tooltip but my problem was I don't know how to get the index of the payload that is hovered. What I want is to show only the value of the hovered line in the tooltip. For example, I hovered over the value 1 line so I only want to show in the tooltip the value 1 onl... |
2018/03/08 | 760 | 2,661 | <issue_start>username_0: I'm attempting to write a linq statement that will scan the entire executing assembly for a method that has a particular attribute and a particular attribute property value.
This is my attribute...
```
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = true)]
pu... |
2018/03/08 | 536 | 1,883 | <issue_start>username_0: I am creating my first library for Laravel Framework in github, and after the `push` step, i try to get the library via composer:
`composer require malekbenelouafi/laravel-status`
But, i always get this error:
>
> [InvalidArgumentException]
>
> Could not find package malekbenelouafi/lar... |
2018/03/08 | 370 | 1,117 | <issue_start>username_0: I want to build a regular expression to identify certain number pattern
The expressions required would be:
1)
6 numbers, starting with 00
2)
6 numbers, starting with 01
3)
8 numbers, starting with 200.
I started with ^\d{0,6}(.\d{00})?$ bit it did not work
How can it be done?<issue_commen... |
2018/03/08 | 2,784 | 10,061 | <issue_start>username_0: *On first look this looks duplicate of [this question](https://stackoverflow.com/questions/48658912/clear-asp-net-core-2-0-imemorycache), but I am not asking how to clear cache for EF.*
How can I clear entire cache set by `IMemoryCache` interface?
```
public CacheService(IMemoryCache memo... |
2018/03/08 | 2,342 | 4,206 | <issue_start>username_0: I have two datasets and the datasets having longitude and latitude values.
let us say :
* point\_x1 is (lang\_1, latt\_1)
* point\_x2 is (lang\_2, latt\_2)
>
> * the first dataset has "n" rows of data with `point_x1, x1`
> * the second dataset has "m" rows of data with `point_x2, x2`
>
>
... |
2018/03/08 | 1,137 | 3,846 | <issue_start>username_0: Is there a way to force the `max-height` on an element which parent has *no defined* `height` without using the flexbox?
I am on a mobile view, and would like to put some overflow on **`modal-content`** element (! attention, *not on the parent* `modal-dialog`) in scrolling, when it exceeds th... |
2018/03/08 | 588 | 1,415 | <issue_start>username_0: The question want me to identify the error in how the pointers are handled.
I tried compiling it but it doesn't give any error.
```
#include
using namespace std;
int main()
{
int \*ptr = new int;
int \*ptr2 = ptr;
delete ptr;
ptr = NULL;
return 0;
}
```<issue_comment>username_1: If you ... |
2018/03/08 | 2,233 | 8,895 | <issue_start>username_0: I have a horizontally scrollable `UICollectionView` with three cells each of which are different subclasses of `UICollectionViewCell`. Each one of these cells contains a `UITableView`.
Inside of the first two cells, my table view cells are the same subclasses of `UITableViewCell` and have just... |
2018/03/08 | 182 | 670 | <issue_start>username_0: [but when Igo to xampp/php/ onlyIFound phi.ini-development and php.ini-production Using XMPP server for PHP development and want to edit the php.ini file; this is my folder](https://i.stack.imgur.com/85sGv.png)<issue_comment>username_1: Make a php.ini-development( or php.ini-production ) duplic... |
2018/03/08 | 1,335 | 5,033 | <issue_start>username_0: I have been staring at this for hours and can't find a solution and that is even though by all suggestions it SHOULD be quite easy - <https://learn.microsoft.com/en-us/bot-framework/nodejs/bot-builder-nodejs-proactive-messages>.
I have created a simple code which will "register" the user and s... |
2018/03/08 | 1,209 | 3,907 | <issue_start>username_0: My dev environment is Vagrant ScotchBox, Node 6.6.2, Npm 3.9.5.
I'm trying to compile the assets of my Laravel project using Mix.
```
yarn install
yarn run dev
```
With `yarn run dev` i get **sh: 1: cross-env: Permission denied**
```html
sh: 1: cross-env: Permission denied
npm ERR! Linux... |
2018/03/08 | 458 | 1,383 | <issue_start>username_0: I'd like to check the value of my template
```
```
and only set the style for red color when my value is less than current date. Any suggestion? I'm assuming it should be something like
```
value > DateHelper.now()? style = ...
```<issue_comment>username_1: Take a look at [Class and Styles... |
2018/03/08 | 848 | 1,573 | <issue_start>username_0: I have this matrix:
```
[,1] [,2] [,3] [,4]
one 0e+00 0e+00 0e+00 0e+00
two 1e-05 2e-05 3e-05 4e-05
three 0e+00 0e+00 0e+00 0e+00
four 0e+00 0e+00 0e+00 0e+00
```
I want to remove all the zero rows and still leave it as a matrix, **not a data frame**, and keep the index **two*... |
2018/03/08 | 557 | 1,192 | <issue_start>username_0: I am able to use `checkAuth` function when i use my method like this
```
router.get('/login',checkAuth, function(){
})
```
but how to use `checkAuth` function when my method is like this
routes file
```
router.get('/login',controller.login);
```
controller file
```
export function newP... |
2018/03/08 | 1,126 | 3,169 | <issue_start>username_0: I have the following pandas series:
```
test_series = pd.Series(['canton, nc', 'leicester, nc', 'asheville, nc', 'candler, nc',
'marshall, nc', 'waynesville, nc', 'fletcher, nc',
'hendersonville, nc', 'old fort, nc', 'horse shoe, nc',
'black mountain, nc', 'maggie valley, ... |
2018/03/08 | 597 | 1,473 | <issue_start>username_0: Say I have a DataFrame that looks like this:
```
df = pd.DataFrame([[1, 2, 3],
[4, 5, 6],
[7, 8, 9]],
columns=['Col 1', 'Col 2', 'Col 3'])
>>> df
Col 1 Col 2 Col 3
0 1 2 3
1 4 5 6
2 7 8 ... |
2018/03/08 | 594 | 1,689 | <issue_start>username_0: I have a very long list of buttons and I need to group them, but also display them nicely. And right now, The design doesn't split in rows.
I have bootstrap 4
```
bla bla
bla bla
... (and so on)
```
Thanks<issue_comment>username_1: Add the .flex-wrap class to your button group contain... |
2018/03/08 | 1,269 | 5,021 | <issue_start>username_0: Summary: Java option `-Djavax.net.ssl.trustStoreType=WINDOWS-ROOT` allows Java to use the Windows trust store for the *computer account.* What option allows it to use the Windows trust store for the *user account*?
We have a Java application that we run on our Windows clients. The application ... |
2018/03/08 | 352 | 1,469 | <issue_start>username_0: I want to build an app that looks like Visual Studio code. Is there any template or ui library that I can use as a starting point? The look that I want to achieve is like shown in the image [](https://i.stack.imgur.com/lnlVa.pn... |
2018/03/08 | 341 | 1,448 | <issue_start>username_0: I have a user who is on a extended leave, I need to set sharing access and permission of the files in the users drive to a group till the user is back.
I used the Admin SDK to pull all the file id's of the user.
What can I use to change all file permission to give the group email edit access?... |
2018/03/08 | 557 | 1,807 | <issue_start>username_0: I am trying to provide a Role-Based Strategy project role patterns:
```
Role to Add: sysadmin
Pattern: *-stack
```
While saving those changes, I am getting following error in Jenkins
```
Stack trace
java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 0
*-sta... |
2018/03/08 | 503 | 2,014 | <issue_start>username_0: When I send an asynchronous call to the server using Retrofit, I put this call to the list.
So when the state of the call changes(response from the server or canceled by the user, ...), I add/remove the call in the list.
When the call is made and no prior call exists in the list, It shows pro... |
2018/03/08 | 785 | 3,179 | <issue_start>username_0: I have a simple class:
```
[DataContract]
public class Book
{
[DataMember]
public Int32 ID { get; set; }
[DataMember]
public Nullable AuthorID { get; set; }
}
```
Which is retrieved via a WCF Service like:
```
public class BookService : IBookService
{
IService ... |
2018/03/08 | 284 | 917 | <issue_start>username_0: I was wondering what would be the fastest and most robust way to skip all words from a long list of words that contain non-alpha characters?
Input should look like this:
```
words = c('one', 'two', 'three,', 'four', '.five', 'others\'', 'ma-ny')
```
and resulting, new list should then be:
... |
2018/03/08 | 495 | 1,769 | <issue_start>username_0: I have a workbook that when opened, creates another blank workbook that may have some data copied across to it. I want to test when closing the workbook whether the created workbook is still open.
I tested this on a blank workbook. For the 'ThisWorkbook' code I have
```
Private Sub Workbook_B... |
2018/03/08 | 725 | 2,566 | <issue_start>username_0: I'm using Wordpress and Woocommerce. I needed a thing which would display the secondary product image as the user hovers on the main one in the shop page. I found an exceptionally good plugin crafted by jameskoster, and I've modified it to my needs. It does what it intends to do, however, I've ... |
2018/03/08 | 1,242 | 4,163 | <issue_start>username_0: I have an Angular project using Angular Material but I'm running into a bug where sometimes the `mat-sidenav-content` has a `margin-left: 365px;` applied to it that causes a large white space between the sidenav and the main content.
[` method.
```
private void RegisterQueryFilters(ModelBuilder builder)
{
builder.Entity().HasQueryFilter(e => e.ProductId == ProductId);
builder.Entity().HasQu... |
2018/03/08 | 720 | 2,350 | <issue_start>username_0: Is it possible to develop with WPF on two monitors and have the design window (1) on one and the XAML(2) on the other ?
[](https://i.stack.imgur.com/LfdwY.jpg)<issue_comment>username_1: I found a way to separate it like this:
... |
2018/03/08 | 2,342 | 9,157 | <issue_start>username_0: do you have any suggestion to speed up my vba code?
I'm using the UserForm to let the user check which months he wants to analize.
Once the user confirm his selection, this code compare the data and write the results (if it founds something) in the cells.
Right now, it takes 38.7 seconds to ... |
2018/03/08 | 456 | 1,415 | <issue_start>username_0: I want to put all my strings in an array then see if the jquery selector contains any of these stings, if so, do some code.
create my array:
```
var usa_destinos_direct = ["York-Todos", "York-EWR", "Florida-Fort", "Florida-Todos", "Los Angeles", "Oakland" ];
```
then check it is in the jqu... |
2018/03/08 | 843 | 2,635 | <issue_start>username_0: I tried turbine + hystrix dashboard with Spring boot 2 and latest versions of Spring cloud, seems exist some problem and turbine could not get stream from reactive service. I just uploaded simple microservices to github
<https://github.com/armdev/reactive-spring-cloud>
Exception like this:
`... |
2018/03/08 | 651 | 1,744 | <issue_start>username_0: I am getting "TDEST.ENDZONE is not valid in the context where it is used".
```
select * from LYNX.LEGSUM T2 inner join
( SELECT
TLORDER.END_ZONE,LEGSUM.LS_DRIVER, LEGSUM.LS_POWER_UNIT
FROM
LYNX.LEGSUM LEGSUM
LEFT OUTER JOIN LYNX.TLORDER TLORDER ON LEGSUM.LS_DLID = ... |
2018/03/08 | 635 | 1,981 | <issue_start>username_0: So, I'm learning the basics of react native, following the documentation and I'm coding two components.
I created a components folder in my project, with a greetings.js file, and in this file I have to following code:
```
import React, { Component } from 'react';
import { AppRegistry, Tex... |